Skip to main content

Gcp/cloudchannel

@swamp/gcp/cloudchannelv2026.06.12.1· 1d agoMODELS
01README

Google Cloud cloudchannel infrastructure models

02Release Notes
  • Updated: accounts_channelpartnerlinks_customers, accounts_customers
03Models12
@swamp/gcp/cloudchannel/accounts-channelpartnerlinksv2026.06.08.1accounts_channelpartnerlinks.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.
channelPartnerCloudIdentityInfo?objectCloud Identity information for the Cloud Channel Customer.
linkState?enumRequired. State of the channel partner link.
resellerCloudIdentityId?stringRequired. Cloud Identity ID of the linked reseller.
channelPartnerLink?objectEntity representing a link between distributors and their indirect resellers in an n-tier resale channel.
updateMask?stringRequired. The update mask that applies to the resource. The only allowable value for an update mask is channel_partner_link.link_state.
parent?stringThe 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
ArgumentTypeDescription
identifierstringThe 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
ArgumentTypeDescription
pageSize?numberOptional. 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?stringOptional. The level of granularity the ChannelPartnerLink will display.
maxPages?numberMaximum 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

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.
repricingConfig?objectConfiguration for repricing a Google bill over a period of time.
parent?stringThe 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
ArgumentTypeDescription
identifierstringThe name of the channelPartnerRepricingConfigs
fn update()
Update channelPartnerRepricingConfigs attributes
fn delete(identifier: string)
Delete the channelPartnerRepricingConfigs
ArgumentTypeDescription
identifierstringThe name of the channelPartnerRepricingConfigs
fn sync()
Sync channelPartnerRepricingConfigs state from GCP
fn list(filter?: string, pageSize?: number, maxPages?: number)
List channelPartnerRepricingConfigs resources
ArgumentTypeDescription
filter?stringOptional. 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?numberOptional. 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?numberMaximum 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

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.
alternateEmail?stringSecondary 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?stringCloud Identity ID of the customer's channel partner. Populated only if a channel partner exists for this customer.
cloudIdentityInfo?objectCloud Identity information for the Cloud Channel Customer.
correlationId?stringOptional. External CRM ID for the customer. Populated only if a CRM ID exists for this customer.
customerAttestationState?enumOptional. 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?stringRequired. The customer's primary domain. Must match the primary contact email's domain.
languageCode?stringOptional. 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?stringRequired. Name of the organization that the customer entity represents.
orgPostalAddress?objectRepresents 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?objectContact information for a customer account.
parent?stringThe 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
ArgumentTypeDescription
identifierstringThe name of the customers
fn update()
Update customers attributes
fn delete(identifier: string)
Delete the customers
ArgumentTypeDescription
identifierstringThe name of the customers
fn sync()
Sync customers state from GCP
fn list(filter?: string, pageSize?: number, maxPages?: number)
List customers resources
ArgumentTypeDescription
filter?stringOptional. Filters applied to the [CloudChannelService.ListCustomers] results. See https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers for more information.
pageSize?numberOptional. 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?numberMaximum number of pages to fetch (default: 10)
fn import(authToken?: any, channelPartnerId?: any, cloudIdentityId?: any, customer?: any, domain?: any, overwriteIfExists?: any, primaryAdminEmail?: any)
import
ArgumentTypeDescription
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

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.
alternateEmail?stringSecondary 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?stringCloud Identity ID of the customer's channel partner. Populated only if a channel partner exists for this customer.
cloudIdentityInfo?objectCloud Identity information for the Cloud Channel Customer.
correlationId?stringOptional. External CRM ID for the customer. Populated only if a CRM ID exists for this customer.
customerAttestationState?enumOptional. 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?stringRequired. The customer's primary domain. Must match the primary contact email's domain.
languageCode?stringOptional. 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?stringRequired. Name of the organization that the customer entity represents.
orgPostalAddress?objectRepresents 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?objectContact information for a customer account.
parent?stringThe 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
ArgumentTypeDescription
identifierstringThe name of the customers
fn update()
Update customers attributes
fn delete(identifier: string)
Delete the customers
ArgumentTypeDescription
identifierstringThe name of the customers
fn sync()
Sync customers state from GCP
fn list(filter?: string, pageSize?: number, maxPages?: number)
List customers resources
ArgumentTypeDescription
filter?stringOptional. Filters applied to the [CloudChannelService.ListCustomers] results. See https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers for more information.
pageSize?numberOptional. 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?numberMaximum number of pages to fetch (default: 10)
fn import(authToken?: any, channelPartnerId?: any, cloudIdentityId?: any, customer?: any, domain?: any, overwriteIfExists?: any, primaryAdminEmail?: any)
import
ArgumentTypeDescription
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
ArgumentTypeDescription
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
ArgumentTypeDescription
authToken?any
entitlements?any
requestId?any
fn transfer_entitlements_to_google(entitlements?: any, requestId?: any)
transfer entitlements to google
ArgumentTypeDescription
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

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.
repricingConfig?objectConfiguration for repricing a Google bill over a period of time.
parent?stringThe 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
ArgumentTypeDescription
identifierstringThe name of the customerRepricingConfigs
fn update()
Update customerRepricingConfigs attributes
fn delete(identifier: string)
Delete the customerRepricingConfigs
ArgumentTypeDescription
identifierstringThe name of the customerRepricingConfigs
fn sync()
Sync customerRepricingConfigs state from GCP
fn list(filter?: string, pageSize?: number, maxPages?: number)
List customerRepricingConfigs resources
ArgumentTypeDescription
filter?stringOptional. 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?numberOptional. 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?numberMaximum 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

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.
entitlement?objectAn entitlement is a representation of a customer's ability to use a service.
requestId?stringOptional. 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?stringThe 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
ArgumentTypeDescription
identifierstringThe name of the entitlements
fn sync()
Sync entitlements state from GCP
fn list(pageSize?: number, maxPages?: number)
List entitlements resources
ArgumentTypeDescription
pageSize?numberOptional. 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?numberMaximum number of pages to fetch (default: 10)
fn activate(requestId?: any)
activate
ArgumentTypeDescription
requestId?any
fn cancel(requestId?: any)
cancel
ArgumentTypeDescription
requestId?any
fn change_offer(billingAccount?: any, offer?: any, parameters?: any, priceReferenceId?: any, purchaseOrderId?: any, requestId?: any)
change offer
ArgumentTypeDescription
billingAccount?any
offer?any
parameters?any
priceReferenceId?any
purchaseOrderId?any
requestId?any
fn change_parameters(parameters?: any, purchaseOrderId?: any, requestId?: any)
change parameters
ArgumentTypeDescription
parameters?any
purchaseOrderId?any
requestId?any
fn change_renewal_settings(renewalSettings?: any, requestId?: any)
change renewal settings
ArgumentTypeDescription
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
ArgumentTypeDescription
requestId?any
fn suspend(requestId?: any)
suspend
ArgumentTypeDescription
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

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.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
fn get(identifier: string)
Get a offers
ArgumentTypeDescription
identifierstringThe 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
ArgumentTypeDescription
filter?stringOptional. 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?stringOptional. 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?numberOptional. 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?booleanOptional. 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?numberMaximum 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

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.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
fn get(identifier: string)
Get a reports
ArgumentTypeDescription
identifierstringThe name of the reports
fn sync()
Sync reports state from GCP
fn list(languageCode?: string, pageSize?: number, maxPages?: number)
List reports resources
ArgumentTypeDescription
languageCode?stringOptional. 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?numberOptional. 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?numberMaximum number of pages to fetch (default: 10)
fn run(dateRange?: any, filter?: any, languageCode?: any)
run
ArgumentTypeDescription
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

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.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
fn get(identifier: string)
Get a skuGroups
ArgumentTypeDescription
identifierstringThe name of the skuGroups
fn sync()
Sync skuGroups state from GCP
fn list(pageSize?: number, maxPages?: number)
List skuGroups resources
ArgumentTypeDescription
pageSize?numberOptional. 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?numberMaximum 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

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.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
fn get(identifier: string)
Get a billableSkus
ArgumentTypeDescription
identifierstringThe name of the billableSkus
fn sync()
Sync billableSkus state from GCP
fn list(pageSize?: number, maxPages?: number)
List billableSkus resources
ArgumentTypeDescription
pageSize?numberOptional. 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?numberMaximum 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

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.
fn get(identifier: string)
Get a products
ArgumentTypeDescription
identifierstringThe name of the products
fn sync()
Sync products state from GCP
fn list(account?: string, languageCode?: string, pageSize?: number, maxPages?: number)
List products resources
ArgumentTypeDescription
account?stringRequired. The resource name of the reseller account. Format: accounts/{account_id}.
languageCode?stringOptional. 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?numberOptional. 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?numberMaximum 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

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.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
fn get(identifier: string)
Get a skus
ArgumentTypeDescription
identifierstringThe name of the skus
fn sync()
Sync skus state from GCP
fn list(account?: string, languageCode?: string, pageSize?: number, maxPages?: number)
List skus resources
ArgumentTypeDescription
account?stringRequired. Resource name of the reseller. Format: accounts/{account_id}.
languageCode?stringOptional. 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?numberOptional. 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?numberMaximum number of pages to fetch (default: 10)

Resources

state(infinite)— Represents a product's purchasable Stock Keeping Unit (SKU). SKUs represent t...
04Previous Versions14
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