Gcp/cloudchannel
@swamp/gcp/cloudchannelv2026.06.12.1
01README
Google Cloud cloudchannel infrastructure models
02Release Notes
- Updated: accounts_channelpartnerlinks_customers, accounts_customers
03Models
@swamp/gcp/cloudchannel/accounts-channelpartnerlinksv2026.06.08.1accounts_channelpartnerlinks.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. |
| channelPartnerCloudIdentityInfo? | object | Cloud Identity information for the Cloud Channel Customer. |
| linkState? | enum | Required. State of the channel partner link. |
| resellerCloudIdentityId? | string | Required. Cloud Identity ID of the linked reseller. |
| channelPartnerLink? | object | Entity representing a link between distributors and their indirect resellers in an n-tier resale channel. |
| updateMask? | string | Required. The update mask that applies to the resource. The only allowable value for an update mask is channel_partner_link.link_state. |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
fn create()
Create a channelPartnerLinks
fn get(identifier: string)
Get a channelPartnerLinks
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the channelPartnerLinks |
fn update()
Update channelPartnerLinks attributes
fn sync()
Sync channelPartnerLinks state from GCP
fn list(pageSize?: number, view?: string, maxPages?: number)
List channelPartnerLinks resources
| Argument | Type | Description |
|---|---|---|
| pageSize? | number | Optional. Requested page size. Server might return fewer results than requested. If unspecified, server will pick a default size (25). The maximum value is 200; the server will coerce values above 200. |
| view? | string | Optional. The level of granularity the ChannelPartnerLink will display. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— Entity representing a link between distributors and their indirect resellers ...
@swamp/gcp/cloudchannel/accounts-channelpartnerlinks-channelpartnerrepricingconfigsv2026.06.08.1accounts_channelpartnerlinks_channelpartnerrepricingconfigs.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. |
| repricingConfig? | object | Configuration for repricing a Google bill over a period of time. |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
fn create()
Create a channelPartnerRepricingConfigs
fn get(identifier: string)
Get a channelPartnerRepricingConfigs
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the channelPartnerRepricingConfigs |
fn update()
Update channelPartnerRepricingConfigs attributes
fn delete(identifier: string)
Delete the channelPartnerRepricingConfigs
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the channelPartnerRepricingConfigs |
fn sync()
Sync channelPartnerRepricingConfigs state from GCP
fn list(filter?: string, pageSize?: number, maxPages?: number)
List channelPartnerRepricingConfigs resources
| Argument | Type | Description |
|---|---|---|
| filter? | string | Optional. A filter for [CloudChannelService.ListChannelPartnerRepricingConfigs] results (channel_partner_link only). You can use this filter when you support a BatchGet-like query. To use the filter, you must set `parent=accounts/{account_id}/channelPartnerLinks/-`. Example: `channel_partner_link = accounts/account_id/channelPartnerLinks/c1` OR `channel_partner_link = accounts/account_id/channelPartnerLinks/c2`. |
| pageSize? | number | Optional. The maximum number of repricing configs to return. The service may return fewer than this value. If unspecified, returns a maximum of 50 rules. The maximum value is 100; values above 100 will be coerced to 100. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— Configuration for how a distributor will rebill a channel partner (also known...
@swamp/gcp/cloudchannel/accounts-channelpartnerlinks-customersv2026.06.12.1accounts_channelpartnerlinks_customers.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. |
| alternateEmail? | string | Secondary contact email. You need to provide an alternate email to create different domains if a primary contact email already exists. Users will receive a notification with credentials when you create an admin.google.com account. Secondary emails are also recovery email addresses. Alternate emails are optional when you create Team customers. |
| channelPartnerId? | string | Cloud Identity ID of the customer's channel partner. Populated only if a channel partner exists for this customer. |
| cloudIdentityInfo? | object | Cloud Identity information for the Cloud Channel Customer. |
| correlationId? | string | Optional. External CRM ID for the customer. Populated only if a CRM ID exists for this customer. |
| customerAttestationState? | enum | Optional. Indicate if a customer is attesting about the correctness of provided information. Only required if creating a GCP Entitlement. NOTE: This field will be mandatory for all new GCP customers starting Aug 31st, 2026 and this field will also be required for all existing customers purchasing new GCP Entitlements. |
| domain? | string | Required. The customer's primary domain. Must match the primary contact email's domain. |
| languageCode? | string | Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier. |
| orgDisplayName? | string | Required. Name of the organization that the customer entity represents. |
| orgPostalAddress? | object | Represents a postal address, such as for postal delivery or payments addresses. With a postal address, a postal service can deliver items to a premise, P.O. box, or similar. A postal address is not intended to model geographical locations like roads, towns, or mountains. In typical usage, an address would be created by user input or from importing existing data, depending on the type of process. Advice on address input or editing: - Use an internationalization-ready address widget such as https: |
| primaryContactInfo? | object | Contact information for a customer account. |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
fn create()
Create a customers
fn get(identifier: string)
Get a customers
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the customers |
fn update()
Update customers attributes
fn delete(identifier: string)
Delete the customers
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the customers |
fn sync()
Sync customers state from GCP
fn list(filter?: string, pageSize?: number, maxPages?: number)
List customers resources
| Argument | Type | Description |
|---|---|---|
| filter? | string | Optional. Filters applied to the [CloudChannelService.ListCustomers] results. See https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers for more information. |
| pageSize? | number | Optional. The maximum number of customers to return. The service may return fewer than this value. If unspecified, returns at most 10 customers. The maximum value is 50. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
fn import(authToken?: any, channelPartnerId?: any, cloudIdentityId?: any, customer?: any, domain?: any, overwriteIfExists?: any, primaryAdminEmail?: any)
import
| Argument | Type | Description |
|---|---|---|
| authToken? | any | |
| channelPartnerId? | any | |
| cloudIdentityId? | any | |
| customer? | any | |
| domain? | any | |
| overwriteIfExists? | any | |
| primaryAdminEmail? | any |
Resources
state(infinite)— Entity representing a customer of a reseller or distributor.
@swamp/gcp/cloudchannel/accounts-customersv2026.06.12.1accounts_customers.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. |
| alternateEmail? | string | Secondary contact email. You need to provide an alternate email to create different domains if a primary contact email already exists. Users will receive a notification with credentials when you create an admin.google.com account. Secondary emails are also recovery email addresses. Alternate emails are optional when you create Team customers. |
| channelPartnerId? | string | Cloud Identity ID of the customer's channel partner. Populated only if a channel partner exists for this customer. |
| cloudIdentityInfo? | object | Cloud Identity information for the Cloud Channel Customer. |
| correlationId? | string | Optional. External CRM ID for the customer. Populated only if a CRM ID exists for this customer. |
| customerAttestationState? | enum | Optional. Indicate if a customer is attesting about the correctness of provided information. Only required if creating a GCP Entitlement. NOTE: This field will be mandatory for all new GCP customers starting Aug 31st, 2026 and this field will also be required for all existing customers purchasing new GCP Entitlements. |
| domain? | string | Required. The customer's primary domain. Must match the primary contact email's domain. |
| languageCode? | string | Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier. |
| orgDisplayName? | string | Required. Name of the organization that the customer entity represents. |
| orgPostalAddress? | object | Represents a postal address, such as for postal delivery or payments addresses. With a postal address, a postal service can deliver items to a premise, P.O. box, or similar. A postal address is not intended to model geographical locations like roads, towns, or mountains. In typical usage, an address would be created by user input or from importing existing data, depending on the type of process. Advice on address input or editing: - Use an internationalization-ready address widget such as https: |
| primaryContactInfo? | object | Contact information for a customer account. |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
fn create()
Create a customers
fn get(identifier: string)
Get a customers
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the customers |
fn update()
Update customers attributes
fn delete(identifier: string)
Delete the customers
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the customers |
fn sync()
Sync customers state from GCP
fn list(filter?: string, pageSize?: number, maxPages?: number)
List customers resources
| Argument | Type | Description |
|---|---|---|
| filter? | string | Optional. Filters applied to the [CloudChannelService.ListCustomers] results. See https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers for more information. |
| pageSize? | number | Optional. The maximum number of customers to return. The service may return fewer than this value. If unspecified, returns at most 10 customers. The maximum value is 50. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
fn import(authToken?: any, channelPartnerId?: any, cloudIdentityId?: any, customer?: any, domain?: any, overwriteIfExists?: any, primaryAdminEmail?: any)
import
| Argument | Type | Description |
|---|---|---|
| authToken? | any | |
| channelPartnerId? | any | |
| cloudIdentityId? | any | |
| customer? | any | |
| domain? | any | |
| overwriteIfExists? | any | |
| primaryAdminEmail? | any |
fn list_purchasable_offers()
list purchasable offers
fn list_purchasable_skus()
list purchasable skus
fn provision_cloud_identity(cloudIdentityInfo?: any, user?: any, validateOnly?: any)
provision cloud identity
| Argument | Type | Description |
|---|---|---|
| cloudIdentityInfo? | any | |
| user? | any | |
| validateOnly? | any |
fn query_eligible_billing_accounts()
query eligible billing accounts
fn transfer_entitlements(authToken?: any, entitlements?: any, requestId?: any)
transfer entitlements
| Argument | Type | Description |
|---|---|---|
| authToken? | any | |
| entitlements? | any | |
| requestId? | any |
fn transfer_entitlements_to_google(entitlements?: any, requestId?: any)
transfer entitlements to google
| Argument | Type | Description |
|---|---|---|
| entitlements? | any | |
| requestId? | any |
Resources
state(infinite)— Entity representing a customer of a reseller or distributor.
@swamp/gcp/cloudchannel/accounts-customers-customerrepricingconfigsv2026.06.08.1accounts_customers_customerrepricingconfigs.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. |
| repricingConfig? | object | Configuration for repricing a Google bill over a period of time. |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
fn create()
Create a customerRepricingConfigs
fn get(identifier: string)
Get a customerRepricingConfigs
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the customerRepricingConfigs |
fn update()
Update customerRepricingConfigs attributes
fn delete(identifier: string)
Delete the customerRepricingConfigs
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the customerRepricingConfigs |
fn sync()
Sync customerRepricingConfigs state from GCP
fn list(filter?: string, pageSize?: number, maxPages?: number)
List customerRepricingConfigs resources
| Argument | Type | Description |
|---|---|---|
| filter? | string | Optional. A filter for [CloudChannelService.ListCustomerRepricingConfigs] results (customer only). You can use this filter when you support a BatchGet-like query. To use the filter, you must set `parent=accounts/{account_id}/customers/-`. Example: customer = accounts/account_id/customers/c1 OR customer = accounts/account_id/customers/c2. |
| pageSize? | number | Optional. The maximum number of repricing configs to return. The service may return fewer than this value. If unspecified, returns a maximum of 50 rules. The maximum value is 100; values above 100 will be coerced to 100. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— Configuration for how a reseller will reprice a Customer.
@swamp/gcp/cloudchannel/accounts-customers-entitlementsv2026.06.08.1accounts_customers_entitlements.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. |
| entitlement? | object | An entitlement is a representation of a customer's ability to use a service. |
| requestId? | string | Optional. You can specify an optional unique request ID, and if you need to retry your request, the server will know to ignore the request if it's complete. For example, you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if it received the original operation with the same request ID. If it did, it will ignore the second request. The request ID must be a valid [UUID](https://tools.ietf.org/html/rfc4122) with the exce |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
fn create()
Create a entitlements
fn get(identifier: string)
Get a entitlements
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the entitlements |
fn sync()
Sync entitlements state from GCP
fn list(pageSize?: number, maxPages?: number)
List entitlements resources
| Argument | Type | Description |
|---|---|---|
| pageSize? | number | Optional. Requested page size. Server might return fewer results than requested. If unspecified, return at most 50 entitlements. The maximum value is 100; the server will coerce values above 100. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
fn activate(requestId?: any)
activate
| Argument | Type | Description |
|---|---|---|
| requestId? | any |
fn cancel(requestId?: any)
cancel
| Argument | Type | Description |
|---|---|---|
| requestId? | any |
fn change_offer(billingAccount?: any, offer?: any, parameters?: any, priceReferenceId?: any, purchaseOrderId?: any, requestId?: any)
change offer
| Argument | Type | Description |
|---|---|---|
| billingAccount? | any | |
| offer? | any | |
| parameters? | any | |
| priceReferenceId? | any | |
| purchaseOrderId? | any | |
| requestId? | any |
fn change_parameters(parameters?: any, purchaseOrderId?: any, requestId?: any)
change parameters
| Argument | Type | Description |
|---|---|---|
| parameters? | any | |
| purchaseOrderId? | any | |
| requestId? | any |
fn change_renewal_settings(renewalSettings?: any, requestId?: any)
change renewal settings
| Argument | Type | Description |
|---|---|---|
| renewalSettings? | any | |
| requestId? | any |
fn list_entitlement_changes()
list entitlement changes
fn lookup_offer()
lookup offer
fn start_paid_service(requestId?: any)
start paid service
| Argument | Type | Description |
|---|---|---|
| requestId? | any |
fn suspend(requestId?: any)
suspend
| Argument | Type | Description |
|---|---|---|
| requestId? | any |
Resources
state(infinite)— An entitlement is a representation of a customer's ability to use a service.
@swamp/gcp/cloudchannel/accounts-offersv2026.06.08.1accounts_offers.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. |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
fn get(identifier: string)
Get a offers
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the offers |
fn sync()
Sync offers state from GCP
fn list(filter?: string, languageCode?: string, pageSize?: number, showFutureOffers?: boolean, maxPages?: number)
List offers resources
| Argument | Type | Description |
|---|---|---|
| filter? | string | Optional. The expression to filter results by name (name of the Offer), sku.name (name of the SKU), or sku.product.name (name of the Product). Example 1: sku.product.name=products/p1 AND sku.name!=products/p1/skus/s1 Example 2: name=accounts/a1/offers/o1 |
| languageCode? | string | Optional. The BCP-47 language code. For example, "en-US". The response will localize in the corresponding language code, if specified. The default value is "en-US". |
| pageSize? | number | Optional. Requested page size. Server might return fewer results than requested. If unspecified, returns at most 500 Offers. The maximum value is 1000; the server will coerce values above 1000. |
| showFutureOffers? | boolean | Optional. A boolean flag that determines if a response returns future offers 30 days from now. If the show_future_offers is true, the response will only contain offers that are scheduled to be available 30 days from now. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— Represents an offer made to resellers for purchase. An offer is associated wi...
@swamp/gcp/cloudchannel/accounts-reportsv2026.06.08.1accounts_reports.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. |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
fn get(identifier: string)
Get a reports
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the reports |
fn sync()
Sync reports state from GCP
fn list(languageCode?: string, pageSize?: number, maxPages?: number)
List reports resources
| Argument | Type | Description |
|---|---|---|
| languageCode? | string | Optional. The BCP-47 language code, such as "en-US". If specified, the response is localized to the corresponding language code if the original data sources support it. Default is "en-US". |
| pageSize? | number | Optional. Requested page size of the report. The server might return fewer results than requested. If unspecified, returns 20 reports. The maximum value is 100. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
fn run(dateRange?: any, filter?: any, languageCode?: any)
run
| Argument | Type | Description |
|---|---|---|
| dateRange? | any | |
| filter? | any | |
| languageCode? | any |
Resources
state(infinite)— The ID and description of a report that was used to generate report data. For...
@swamp/gcp/cloudchannel/accounts-skugroupsv2026.06.08.1accounts_skugroups.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. |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
fn get(identifier: string)
Get a skuGroups
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the skuGroups |
fn sync()
Sync skuGroups state from GCP
fn list(pageSize?: number, maxPages?: number)
List skuGroups resources
| Argument | Type | Description |
|---|---|---|
| pageSize? | number | Optional. The maximum number of SKU groups to return. The service may return fewer than this value. If unspecified, returns a maximum of 1000 SKU groups. The maximum value is 1000; values above 1000 will be coerced to 1000. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— Represents the SKU group information.
@swamp/gcp/cloudchannel/accounts-skugroups-billableskusv2026.06.08.1accounts_skugroups_billableskus.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. |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
fn get(identifier: string)
Get a billableSkus
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the billableSkus |
fn sync()
Sync billableSkus state from GCP
fn list(pageSize?: number, maxPages?: number)
List billableSkus resources
| Argument | Type | Description |
|---|---|---|
| pageSize? | number | Optional. The maximum number of SKUs to return. The service may return fewer than this value. If unspecified, returns a maximum of 100000 SKUs. The maximum value is 100000; values above 100000 will be coerced to 100000. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— Represents the Billable SKU information.
@swamp/gcp/cloudchannel/productsv2026.06.08.1products.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. |
fn get(identifier: string)
Get a products
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the products |
fn sync()
Sync products state from GCP
fn list(account?: string, languageCode?: string, pageSize?: number, maxPages?: number)
List products resources
| Argument | Type | Description |
|---|---|---|
| account? | string | Required. The resource name of the reseller account. Format: accounts/{account_id}. |
| languageCode? | string | Optional. The BCP-47 language code. For example, "en-US". The response will localize in the corresponding language code, if specified. The default value is "en-US". |
| pageSize? | number | Optional. Requested page size. Server might return fewer results than requested. If unspecified, returns at most 100 Products. The maximum value is 1000; the server will coerce values above 1000. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— A Product is the entity a customer uses when placing an order. For example, G...
@swamp/gcp/cloudchannel/products-skusv2026.06.08.1products_skus.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. |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
fn get(identifier: string)
Get a skus
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the skus |
fn sync()
Sync skus state from GCP
fn list(account?: string, languageCode?: string, pageSize?: number, maxPages?: number)
List skus resources
| Argument | Type | Description |
|---|---|---|
| account? | string | Required. Resource name of the reseller. Format: accounts/{account_id}. |
| languageCode? | string | Optional. The BCP-47 language code. For example, "en-US". The response will localize in the corresponding language code, if specified. The default value is "en-US". |
| pageSize? | number | Optional. Requested page size. Server might return fewer results than requested. If unspecified, returns at most 100 SKUs. The maximum value is 1000; the server will coerce values above 1000. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— Represents a product's purchasable Stock Keeping Unit (SKU). SKUs represent t...
04Previous Versions
2026.06.08.2Jun 8, 2026
- Updated: accounts_channelpartnerlinks, accounts_channelpartnerlinks_channelpartnerrepricingconfigs, accounts_channelpartnerlinks_customers, accounts_customers, accounts_customers_customerrepricingconfigs, accounts_customers_entitlements, accounts_offers, accounts_reports, accounts_skugroups, accounts_skugroups_billableskus, products, products_skus
2026.06.07.1Jun 7, 2026
- Updated: accounts_channelpartnerlinks, accounts_channelpartnerlinks_channelpartnerrepricingconfigs, accounts_channelpartnerlinks_customers, accounts_customers, accounts_customers_customerrepricingconfigs, accounts_customers_entitlements, accounts_offers, accounts_reports, accounts_skugroups, accounts_skugroups_billableskus, products, products_skus
2026.05.25.2May 25, 2026
- Updated: products
Modified 12 models
2026.05.24.1May 24, 2026
- Updated: accounts_channelpartnerlinks, accounts_channelpartnerlinks_channelpartnerrepricingconfigs, accounts_channelpartnerlinks_customers, accounts_customers, accounts_customers_customerrepricingconfigs, accounts_customers_entitlements, accounts_offers, accounts_reports, accounts_skugroups, accounts_skugroups_billableskus, products, products_skus
2026.05.21.2May 21, 2026
- Updated: accounts_channelpartnerlinks, accounts_channelpartnerlinks_channelpartnerrepricingconfigs, accounts_channelpartnerlinks_customers, accounts_customers, accounts_customers_customerrepricingconfigs, accounts_customers_entitlements, accounts_offers, accounts_reports, accounts_skugroups, accounts_skugroups_billableskus, products, products_skus
2026.05.21.1May 21, 2026
2026.05.19.2May 19, 2026
2026.05.19.1May 19, 2026
2026.04.23.1Apr 23, 2026
2026.04.04.1Apr 4, 2026
- Updated: accounts_channelpartnerlinks_channelpartnerrepricingconfigs, accounts_customers_customerrepricingconfigs, accounts_customers_entitlements, accounts_offers
2026.04.03.3Apr 3, 2026
- Updated: accounts_channelpartnerlinks, accounts_channelpartnerlinks_channelpartnerrepricingconfigs, accounts_channelpartnerlinks_customers, accounts_customers, accounts_customers_customerrepricingconfigs, accounts_customers_entitlements, accounts_offers, accounts_reports, accounts_skugroups, accounts_skugroups_billableskus, products, products_skus
2026.04.03.1Apr 3, 2026
- Updated: accounts_channelpartnerlinks, accounts_channelpartnerlinks_channelpartnerrepricingconfigs, accounts_channelpartnerlinks_customers, accounts_customers, accounts_customers_customerrepricingconfigs, accounts_customers_entitlements, accounts_offers, accounts_reports, accounts_skugroups, accounts_skugroups_billableskus, products, products_skus
2026.04.02.2Apr 2, 2026
2026.03.27.1Mar 27, 2026
- Added: accounts_channelpartnerlinks, accounts_channelpartnerlinks_channelpartnerrepricingconfigs, accounts_channelpartnerlinks_customers, accounts_customers, accounts_customers_customerrepricingconfigs, accounts_customers_entitlements, accounts_offers, accounts_reports, accounts_skugroups, accounts_skugroups_billableskus, products, products_skus
05Stats
A
100 / 100
Downloads
0
Archive size
146.9 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
- License declared1/1earned
- Verified public repository2/2earned
06Platforms
07Labels