Skip to main content

Gcp/adsenseplatform

@swamp/gcp/adsenseplatformv2026.10.13.1· 1d agoBEHAVIORS
01README

Google Cloud adsenseplatform infrastructure models

02Release Notes
  • Updated: platforms_accounts, platforms_accounts_sites
03Behaviors2
@swamp/gcp/adsenseplatform/platforms-accountsv2026.10.13.1platforms_accounts.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials.
apiEndpoint?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
creationRequestId?stringRequired. An opaque token that uniquely identifies the account among all the platform's accounts. This string may contain at most 64 non-whitespace ASCII characters, but otherwise has no predefined structure. However, it is expected to be a platform-specific identifier for the user creating the account, so that only a single account can be created for any given user. This field must not contain any information that is recognizable as personally identifiable information. e.g. it should not be an
displayName?stringDisplay name of this account.
regionCode?stringRequired. Input only. CLDR region code of the country/region of the address. Set this to country code of the child account if known, otherwise to your own country code.
timeZone?objectRequired. The IANA TZ timezone code of this account. For more information, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. This field is used for reporting. It is recommended to set it to the same value for all child accounts.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
fn create()
Create a accounts
fn get(identifier: string)
Get a accounts
ArgumentTypeDescription
identifierstringThe name of the accounts
fn sync(identifier?: string)
Sync accounts state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific accounts by name (e.g. one discovered by list)
fn list(pageSize?: number, maxPages?: number)
List accounts resources
ArgumentTypeDescription
pageSize?numberOptional. The maximum number of accounts to include in the response, used for paging. If unspecified, at most 10000 accounts will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn close()
close
fn lookup(creationRequestId?: any)
lookup
ArgumentTypeDescription
creationRequestId?any

Resources

state(infinite)— Representation of an Account.
@swamp/gcp/adsenseplatform/platforms-accounts-sitesv2026.10.13.1platforms_accounts_sites.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials.
apiEndpoint?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
domain?stringDomain/sub-domain of the site. Must be a valid domain complying with [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt) and formatted as punycode [RFC 3492](https://www.ietf.org/rfc/rfc3492.txt) in case the domain contains unicode characters.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
fn create(waitForReady?: boolean)
Create a sites
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after creation (default: true)
fn get(identifier: string)
Get a sites
ArgumentTypeDescription
identifierstringThe name of the sites
fn delete(identifier: string)
Delete the sites
ArgumentTypeDescription
identifierstringThe name of the sites
fn sync(identifier?: string)
Sync sites state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific sites by name (e.g. one discovered by list)
fn list(pageSize?: number, maxPages?: number)
List sites resources
ArgumentTypeDescription
pageSize?numberThe maximum number of sites to include in the response, used for paging. If unspecified, at most 10000 sites will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn request_review()
request review

Resources

state(infinite)— Representation of a Site.
04Previous Versions19
2026.09.07.1
  • Updated: platforms_accounts
2026.08.12.2
  • Updated: platforms_accounts, platforms_accounts_sites
2026.07.29.3
  • Updated: platforms_accounts, platforms_accounts_sites
2026.07.29.2
  • Updated: platforms_accounts
2026.07.21.3
  • Updated: platforms_accounts, platforms_accounts_sites
2026.07.21.1
  • Updated: platforms_accounts, platforms_accounts_sites
2026.07.20.1
  • Updated: platforms_accounts, platforms_accounts_sites
2026.07.19.1
  • Updated: platforms_accounts, platforms_accounts_sites
2026.07.18.1
  • Updated: platforms_accounts, platforms_accounts_sites
2026.07.17.1
  • Updated: platforms_accounts, platforms_accounts_sites
2026.06.08.2
  • Updated: platforms_accounts, platforms_accounts_sites
2026.06.07.1
  • Updated: platforms_accounts, platforms_accounts_sites
2026.05.25.1
  • Updated: platforms_accounts, platforms_accounts_sites

Modified 2 behaviors

2026.05.24.1
  • Updated: platforms_accounts, platforms_accounts_sites
2026.05.21.2
  • Updated: platforms_accounts, platforms_accounts_sites
2026.05.21.1
2026.05.19.2
2026.05.19.1
2026.04.23.1
05Stats
A
93 / 100
Downloads
17
Archive size
27.8 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 types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License1/2partial

    no SPDX license declared

  • Verified public repository2/2earned
06Platforms
07Labels