Skip to main content

Gcp/cloudasset

@swamp/gcp/cloudassetv2026.04.23.1· 8d agoMODELS
01README

Google Cloud cloudasset infrastructure models

02Models3
@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)
fn get(identifier: string)
Get a assets
ArgumentTypeDescription
identifierstringThe name of the assets
fn sync()
Sync 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)
fn create()
Create a feeds
fn get(identifier: string)
Get a feeds
ArgumentTypeDescription
identifierstringThe name of the feeds
fn update()
Update feeds attributes
fn delete(identifier: string)
Delete the feeds
ArgumentTypeDescription
identifierstringThe name of the feeds
fn sync()
Sync 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)
fn create()
Create a savedQueries
fn get(identifier: string)
Get a savedQueries
ArgumentTypeDescription
identifierstringThe name of the savedQueries
fn update()
Update savedQueries attributes
fn delete(identifier: string)
Delete the savedQueries
ArgumentTypeDescription
identifierstringThe name of the savedQueries
fn sync()
Sync savedQueries state from GCP

Resources

state(infinite)— A saved query which can be shared with others or used later.
03Previous Versions5
2026.04.04.1Apr 4, 2026
  • Updated: assets
2026.04.03.3Apr 3, 2026
  • Updated: assets, feeds, savedqueries
2026.04.03.1Apr 3, 2026
  • Updated: assets, feeds, savedqueries
2026.04.02.2Apr 2, 2026
2026.03.27.1Mar 27, 2026
  • Added: assets, feeds, savedqueries
04Stats
A
100 / 100
Downloads
0
Archive size
31.3 KB
Verified by Swamp
  • 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
05Platforms
06Labels