KRM API billing.gdc.goog/v1

billing.gdc.goog/v1

Contains API Schema definitions for Billing Account related APIs.

Package v1 contains API Schema definitions for the billing.gdc.goog v1 API group

BillingAccount

Represents a Billing Account. The identifier of the BillingAccount will be the "namespaced name", . It will appear on the Invoices for this Billing Account, and be on the selectors for querying billing data in Dashboards.
Limited access: This field might not be available as it may not be accredited for use in your deployment. You can access it when it's approved.

Appears in: - BillingAccountList

Field Description
apiVersion string billing.gdc.goog/v1
kind string BillingAccount
metadata ObjectMeta Refer to Kubernetes API documentation for fields of metadata.
spec BillingAccountSpec

BillingAccountBinding

Represents the link between a Billing Account and a Project or the Organization. Limited access: This field might not be available as it may not be accredited for use in your deployment. You can access it when it's approved.

Appears in: - BillingAccountBindingList

Field Description
apiVersion string billing.gdc.goog/v1
kind string BillingAccountBinding
metadata ObjectMeta Refer to Kubernetes API documentation for fields of metadata.
spec BillingAccountBindingSpec
status BillingAccountBindingStatus

BillingAccountBindingList

Contains a list of BillingAccountBinding

Field Description
apiVersion string billing.gdc.goog/v1
kind string BillingAccountBindingList
metadata ListMeta Refer to Kubernetes API documentation for fields of metadata.
items BillingAccountBinding array

BillingAccountBindingSpec

Defines the spec of a BillingAccountBinding.

Appears in: - BillingAccountBinding

Field Description
billingAccountRef NamespacedName The Billing Account to use. Required.

BillingAccountBindingStatus

Shows the status of the BillingAccountBinding.

Appears in: - BillingAccountBinding

Field Description
conditions Condition array Conditions contains the latest time and state when Billing Platform processed the binding. If the Effective condition is true, the binding in the ObservedGeneration of the object is effective, otherwise, the previous binding, or no binding is effective.

BillingAccountList

Contains a list of BillingAccounts

Field Description
apiVersion string billing.gdc.goog/v1
kind string BillingAccountList
metadata ListMeta Refer to Kubernetes API documentation for fields of metadata.
items BillingAccount array

BillingAccountSpec

Defines the metadata of a Billing Account.

Appears in: - BillingAccount

Field Description
displayName string A human readable name or description of this Billing Account. This name will be a selector for querying billing data in dashboards.
paymentSystemConfig PaymentSystemConfig The link to an external payment account.

Money

Money represents an amount of money with its currency type.

Appears in: - Price

Field Description
currencyCode string
units integer Units is the whole units of the amount. For example if CurrencyCode is "USD", then 1 unit is one US dollar.
nanos integer Nanos is the number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If Units is positive, nanos must be positive or zero. If Units is zero, nanos can be positive, zero, or negative. If Units is negative, nanos must be negative or zero. For example $-1.75 is represented as Units=-1 and Nanos=-750,000,000.

PaymentSystemCloudBillingConfig

Stores the config for a Cloud Billing account.

Appears in: - PaymentSystemConfig

Field Description
accountID string The Cloud Billing account ID.

PaymentSystemConfig

Stores the link to an external payment account. Fields are one-of.

Appears in: - BillingAccountSpec

Field Description
customConfig object (keys:string, values:string) A link to a customized account defined by Infrastructure Operators (IO). To configure the customized account using CustomConfig:
  • It should include a key payment-config-type, with value defined by IO.
  • It should list the names of identifiers of the account in keys, and values in values.
Example:
"payment-config-type": "Example"
"account-id": "test-account-id-1"
cloudBillingConfig PaymentSystemCloudBillingConfig A link to a Cloud Billing account.

Price

Appears in: - SKUDescription

Field Description
unitPrice Money UnitPrice represents an amount of money with its currency type.
usageUnit string The unit of usage in which price is defined. Eg: "10 TiB month". If the unit has multiple dimensions, a space between dimensions is expected.
effectiveTime Time EffectiveTime represents the timestamp after which the Price becomes effective.

SKUCategory

Underlying type: string SKUCategory is the classification of a SKU into a category.

Appears in: - SKUDescription

SKUDescription

SKUDescription is the Schema for the skudescriptions API.

Appears in: - SKUDescriptionList

Field Description
apiVersion string billing.gdc.goog/v1
kind string SKUDescription
metadata ObjectMeta Refer to Kubernetes API documentation for fields of metadata.
skuID string SKUID is the unique ID for the SKU. Example: "AA95-CD31-42FE"
invoiceDescription string InvoiceDescription is a human readable description of what the SKU is.
description string Description is a a long human readable description of what the SKU is.
category SKUCategory Category is the classification of a SKU into a similar grouping of SKUs.
deprecationTime Time DeprecationTime represents the timestamp after which the SKU becomes deprecated.
pricingInfo Price array PricingInfo contains a list of Price object, which represents the pricing history.

SKUDescriptionList

SKUDescriptionList contains a list of SKUDescription.

Field Description
apiVersion string billing.gdc.goog/v1
kind string SKUDescriptionList
metadata ListMeta Refer to Kubernetes API documentation for fields of metadata.
items SKUDescription array