Skip to main content

@swamp/gcp/cloudbilling

v2026.04.23.1

Google Cloud cloudbilling infrastructure models

Repository

https://github.com/systeminit/swamp-extensions

Labels

gcpgoogle-cloudcloudbillingcloudinfrastructure

Contents

Quality score

Verified by Swamp

How well-documented and verifiable this extension is.

100%

Grade A

  • 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

Install

$ swamp extension pull @swamp/gcp/cloudbilling

@swamp/gcp/cloudbilling/billingaccountsv2026.04.23.1billingaccounts.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
currencyCode?stringOptional. The currency in which the billing account is billed and charged, represented as an ISO 4217 code such as `USD`. Billing account currency is determined at the time of billing account creation and cannot be updated subsequently, so this field should not be set on update requests. In addition, a subaccount always matches the currency of its parent billing account, so this field should not be set on subaccount creation requests. Clients can read this field to determine the currency of an e
displayName?stringThe display name given to the billing account, such as `My Billing Account`. This name is displayed in the Google Cloud Console.
masterBillingAccount?stringIf this account is a [subaccount](https://cloud.google.com/billing/docs/concepts), then this will be the resource name of the parent billing account that it is being resold through. Otherwise this will be empty.
createCreate a billingAccounts
getGet a billingAccounts
ArgumentTypeDescription
identifierstringThe name of the billingAccounts
updateUpdate billingAccounts attributes
syncSync billingAccounts state from GCP
movemove
ArgumentTypeDescription
destinationParent?any

Resources

state(infinite)— A billing account in the [Google Cloud Console](https://console.cloud.google....
@swamp/gcp/cloudbilling/projectsv2026.04.23.1projects.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
getGet a projects
ArgumentTypeDescription
identifierstringThe name of the projects
syncSync projects state from GCP

Resources

state(infinite)— Encapsulation of billing information for a Google Cloud Console project. A pr...
@swamp/gcp/cloudbilling/servicesv2026.04.23.1services.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
getGet a services
ArgumentTypeDescription
identifierstringThe name of the services
syncSync services state from GCP

Resources

state(infinite)— Encapsulates a single service in Google Cloud Platform.
@swamp/gcp/cloudbilling/services-skusv2026.04.23.1services_skus.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)
getGet a skus
ArgumentTypeDescription
identifierstringThe name of the skus
syncSync skus state from GCP

Resources

state(infinite)— Encapsulates a single SKU in Google Cloud
@swamp/gcp/cloudbilling/subaccountsv2026.04.23.1subaccounts.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
currencyCode?stringOptional. The currency in which the billing account is billed and charged, represented as an ISO 4217 code such as `USD`. Billing account currency is determined at the time of billing account creation and cannot be updated subsequently, so this field should not be set on update requests. In addition, a subaccount always matches the currency of its parent billing account, so this field should not be set on subaccount creation requests. Clients can read this field to determine the currency of an e
displayName?stringThe display name given to the billing account, such as `My Billing Account`. This name is displayed in the Google Cloud Console.
masterBillingAccount?stringIf this account is a [subaccount](https://cloud.google.com/billing/docs/concepts), then this will be the resource name of the parent billing account that it is being resold through. Otherwise this will be empty.
parent?stringOutput only. The billing account's parent resource identifier. Use the `MoveBillingAccount` method to update the account's parent resource if it is a organization. Format: - `organizations/{organization_id}`, for example, `organizations/12345678` - `billingAccounts/{billing_account_id}`, for example, `billingAccounts/012345-567890-ABCDEF`
createCreate a subAccounts
getGet a subAccounts
ArgumentTypeDescription
identifierstringThe name of the subAccounts
syncSync subAccounts state from GCP

Resources

state(infinite)— A billing account in the [Google Cloud Console](https://console.cloud.google....