Skip to main content

@swamp/gcp/cloudasset

v2026.04.23.1

Google Cloud cloudasset infrastructure models

Repository

https://github.com/systeminit/swamp-extensions

Labels

gcpgoogle-cloudcloudassetcloudinfrastructure

Contents

Quality score

Verified by Swamp

How well-documented and verifiable this extension is.

100%

Grade A

  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Has description1/1earned
  • At least one platform tag (or universal)1/1earned
  • Two or more platform tags (or universal)1/1earned
  • License declared1/1earned
  • Verified public repository2/2earned

Install

$ swamp extension pull @swamp/gcp/cloudasset

@swamp/gcp/cloudasset/assetsv2026.04.23.1assets.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
getGet a assets
ArgumentTypeDescription
identifierstringThe name of the assets
syncSync assets state from GCP

Resources

state(infinite)— An asset in Google Cloud. An asset can be any resource in the Google Cloud [r...
@swamp/gcp/cloudasset/feedsv2026.04.23.1feeds.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
feed?objectAn asset feed used to export asset updates to a destinations. An asset feed filter controls what updates are exported. The asset feed must be created within a project, organization, or folder. Supported destinations are: Pub/Sub topics.
feedId?stringRequired. This is the client-assigned asset feed identifier and it needs to be unique under a specific parent project/folder/organization.
updateMask?stringRequired. Only updates the `feed` fields indicated by this mask. The field mask must not be empty, and it must not contain fields that are immutable or only set by the server.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
createCreate a feeds
getGet a feeds
ArgumentTypeDescription
identifierstringThe name of the feeds
updateUpdate feeds attributes
deleteDelete the feeds
ArgumentTypeDescription
identifierstringThe name of the feeds
syncSync feeds state from GCP

Resources

state(infinite)— An asset feed used to export asset updates to a destinations. An asset feed f...
@swamp/gcp/cloudasset/savedqueriesv2026.04.23.1savedqueries.ts

Global Arguments

ArgumentTypeDescription
content?objectThe query content.
description?stringThe description of this saved query. This value should be fewer than 255 characters.
labels?recordLabels applied on the resource. This value should not contain more than 10 entries. The key and value of each entry must be non-empty and fewer than 64 characters.
name?stringThe resource name of the saved query. The format must be: * projects/project_number/savedQueries/saved_query_id * folders/folder_number/savedQueries/saved_query_id * organizations/organization_number/savedQueries/saved_query_id
savedQueryId?stringRequired. The ID to use for the saved query, which must be unique in the specified parent. It will become the final component of the saved query's resource name. This value should be 4-63 characters, and valid characters are `a-z-`. Notice that this field is required in the saved query creation, and the `name` field of the `saved_query` will be ignored.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
createCreate a savedQueries
getGet a savedQueries
ArgumentTypeDescription
identifierstringThe name of the savedQueries
updateUpdate savedQueries attributes
deleteDelete the savedQueries
ArgumentTypeDescription
identifierstringThe name of the savedQueries
syncSync savedQueries state from GCP

Resources

state(infinite)— A saved query which can be shared with others or used later.