Gcp/adsenseplatform
@swamp/gcp/adsenseplatformv2026.10.13.1
01README
Google Cloud adsenseplatform infrastructure models
02Release Notes
- Updated: platforms_accounts, platforms_accounts_sites
03Behaviors
@swamp/gcp/adsenseplatform/platforms-accountsv2026.10.13.1platforms_accounts.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
| scopes? | string | Comma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes. |
| quotaProject? | string | GCP 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? | string | Custom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL. |
| creationRequestId? | string | Required. 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? | string | Display name of this account. |
| regionCode? | string | Required. 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? | object | Required. 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? | string | The 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
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the accounts |
fn sync(identifier?: string)
Sync accounts state from GCP
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific accounts by name (e.g. one discovered by list) |
fn list(pageSize?: number, maxPages?: number)
List accounts resources
| Argument | Type | Description |
|---|---|---|
| pageSize? | number | Optional. 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? | number | Maximum number of pages to fetch (default: 10) |
fn close()
close
fn lookup(creationRequestId?: any)
lookup
| Argument | Type | Description |
|---|---|---|
| creationRequestId? | any |
Resources
state(infinite)— Representation of an Account.
@swamp/gcp/adsenseplatform/platforms-accounts-sitesv2026.10.13.1platforms_accounts_sites.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
| scopes? | string | Comma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes. |
| quotaProject? | string | GCP 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? | string | Custom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL. |
| domain? | string | Domain/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? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
fn create(waitForReady?: boolean)
Create a sites
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after creation (default: true) |
fn get(identifier: string)
Get a sites
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the sites |
fn delete(identifier: string)
Delete the sites
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the sites |
fn sync(identifier?: string)
Sync sites state from GCP
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific sites by name (e.g. one discovered by list) |
fn list(pageSize?: number, maxPages?: number)
List sites resources
| Argument | Type | Description |
|---|---|---|
| pageSize? | number | The 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? | number | Maximum number of pages to fetch (default: 10) |
fn request_review()
request review
Resources
state(infinite)— Representation of a Site.
04Previous Versions
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