Cloud Billing API . billingAccounts . skuGroups . skus

Instance Methods

close()

Close httplib2 connections.

get(name, x__xgafv=None)

Gets a SKU that is part of a billing account SKU group.

list(parent, pageSize=None, pageToken=None, x__xgafv=None)

Lists SKUs that is part of billing account SKU groups.

list_next()

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
get(name, x__xgafv=None)
Gets a SKU that is part of a billing account SKU group.

Args:
  name: string, Required. The name of the billing account SKU group SKU to retrieve. Format: billingAccounts/{billing_account}/skuGroups/{sku_group}/skus/{sku} (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Encapsulates a SKU that is part of a billing account SKU group.
  "billingAccountService": "A String", # BillingAccountService that the BillingAccountSkuGroupSku belongs to.
  "displayName": "A String", # Description of the BillingAccountSkuGroupSku. Example: "A2 Instance Core running in Hong Kong".
  "geoTaxonomy": { # Encapsulates geographic metadata, such as regions and multi-regions like `us-east4` or `European Union`. # Geographic metadata that applies to the BillingAccountSkuGroupSku.
    "globalMetadata": { # Encapsulates a global geographic taxonomy. # Global geographic metadata with no regions.
    },
    "multiRegionalMetadata": { # Encapsulates a multi-regional geographic taxonomy. # Multi-regional geographic metadata with 2 or more regions.
      "regions": [ # Google Cloud regions associated with the multi-regional geographic taxonomy.
        { # Encapsulates a Google Cloud region.
          "region": "A String", # Description of a Google Cloud region. Example: "us-west2".
        },
      ],
    },
    "regionalMetadata": { # Encapsulates a regional geographic taxonomy. # Regional geographic metadata with 1 region.
      "region": { # Encapsulates a Google Cloud region. # Google Cloud region associated with the regional geographic taxonomy.
        "region": "A String", # Description of a Google Cloud region. Example: "us-west2".
      },
    },
    "type": "A String", # Type of geographic taxonomy associated with the billing account SKU group SKU.
  },
  "name": "A String", # Resource name for the BillingAccountSkuGroupSku. Example: "billingAccounts/012345-567890-ABCDEF/skuGroups/0e6403d1-4694-44d2-a696-7a78b1a69301/skus/AA95-CD31-42FE".
  "productTaxonomy": { # Encapsulates product categories, such as `Serverless`, `Cloud Run`, `TaskQueue`, and others. # List of product categories that apply to the BillingAccountSkuGroupSku.
    "taxonomyCategories": [ # All product categories that the billing account SKU group SKU belong to.
      { # Encapsulates a product category.
        "category": "A String", # Name of the product category.
      },
    ],
  },
  "skuId": "A String", # Unique identifier for the SKU. It is the string after the collection identifier "skus/" Example: "AA95-CD31-42FE".
}
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
Lists SKUs that is part of billing account SKU groups.

Args:
  parent: string, Required. The billing account SKU group to list billing account SKU group SKUs from. Format: billingAccounts/{billing_account}/skuGroups/{sku_group} (required)
  pageSize: integer, Maximum number of billing account SKU group SKUs to return. Results may return fewer than this value. Default value is 50 and maximum value is 5000.
  pageToken: string, Page token received from a previous ListBillingAccountSkuGroupSkus call to retrieve the next page of results. If this field is empty, the first page is returned.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response message for ListBillingAccountSkuGroupSkus.
  "billingAccountSkuGroupSkus": [ # The returned billing account SKU group SKUs.
    { # Encapsulates a SKU that is part of a billing account SKU group.
      "billingAccountService": "A String", # BillingAccountService that the BillingAccountSkuGroupSku belongs to.
      "displayName": "A String", # Description of the BillingAccountSkuGroupSku. Example: "A2 Instance Core running in Hong Kong".
      "geoTaxonomy": { # Encapsulates geographic metadata, such as regions and multi-regions like `us-east4` or `European Union`. # Geographic metadata that applies to the BillingAccountSkuGroupSku.
        "globalMetadata": { # Encapsulates a global geographic taxonomy. # Global geographic metadata with no regions.
        },
        "multiRegionalMetadata": { # Encapsulates a multi-regional geographic taxonomy. # Multi-regional geographic metadata with 2 or more regions.
          "regions": [ # Google Cloud regions associated with the multi-regional geographic taxonomy.
            { # Encapsulates a Google Cloud region.
              "region": "A String", # Description of a Google Cloud region. Example: "us-west2".
            },
          ],
        },
        "regionalMetadata": { # Encapsulates a regional geographic taxonomy. # Regional geographic metadata with 1 region.
          "region": { # Encapsulates a Google Cloud region. # Google Cloud region associated with the regional geographic taxonomy.
            "region": "A String", # Description of a Google Cloud region. Example: "us-west2".
          },
        },
        "type": "A String", # Type of geographic taxonomy associated with the billing account SKU group SKU.
      },
      "name": "A String", # Resource name for the BillingAccountSkuGroupSku. Example: "billingAccounts/012345-567890-ABCDEF/skuGroups/0e6403d1-4694-44d2-a696-7a78b1a69301/skus/AA95-CD31-42FE".
      "productTaxonomy": { # Encapsulates product categories, such as `Serverless`, `Cloud Run`, `TaskQueue`, and others. # List of product categories that apply to the BillingAccountSkuGroupSku.
        "taxonomyCategories": [ # All product categories that the billing account SKU group SKU belong to.
          { # Encapsulates a product category.
            "category": "A String", # Name of the product category.
          },
        ],
      },
      "skuId": "A String", # Unique identifier for the SKU. It is the string after the collection identifier "skus/" Example: "AA95-CD31-42FE".
    },
  ],
  "nextPageToken": "A String", # Token that can be sent as `page_token` in the subsequent request to retrieve the next page. If this field is empty, there are no subsequent pages.
}
list_next()
Retrieves the next page of results.

        Args:
          previous_request: The request for the previous page. (required)
          previous_response: The response from the request for the previous page. (required)

        Returns:
          A request object that you can call 'execute()' on to request the next
          page. Returns None if there are no more items in the collection.