Cloud Billing API . billingAccounts . skuGroups

Instance Methods

skus()

Returns the skus Resource.

close()

Close httplib2 connections.

get(name, x__xgafv=None)

Gets a SKU group visible to a billing account.

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

Lists SKU groups visible to a billing account.

list_next()

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
get(name, x__xgafv=None)
Gets a SKU group visible to a billing account.

Args:
  name: string, Required. The name of the BillingAccountSkuGroup to retrieve. Format: billingAccounts/{billing_account}/skuGroups/{sku_group} (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 stock keeping (SKU) group visible to a billing account. A SKU group represents a collection of SKUs that are related to each other. For example, the `AI Platform APIs` SKU group includes SKUs from the Cloud Dialogflow API, the Cloud Text-to-Speech API, and additional related APIs.
  "displayName": "A String", # Description of the BillingAccountSkuGroup. Example: "A2 VMs (1 Year CUD)".
  "name": "A String", # Resource name for the BillingAccountSkuGroup. Example: "billingAccounts/012345-567890-ABCDEF/skuGroups/0e6403d1-4694-44d2-a696-7a78b1a69301".
}
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
Lists SKU groups visible to a billing account.

Args:
  parent: string, Required. The billing account to list billing account SKU groups from. Format: billingAccounts/{billing_account} (required)
  pageSize: integer, Maximum number of billing account SKU groups 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 ListBillingAccountSkuGroups 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 ListBillingAccountSkuGroups.
  "billingAccountSkuGroups": [ # The returned publicly listed billing account SKU groups.
    { # Encapsulates a stock keeping (SKU) group visible to a billing account. A SKU group represents a collection of SKUs that are related to each other. For example, the `AI Platform APIs` SKU group includes SKUs from the Cloud Dialogflow API, the Cloud Text-to-Speech API, and additional related APIs.
      "displayName": "A String", # Description of the BillingAccountSkuGroup. Example: "A2 VMs (1 Year CUD)".
      "name": "A String", # Resource name for the BillingAccountSkuGroup. Example: "billingAccounts/012345-567890-ABCDEF/skuGroups/0e6403d1-4694-44d2-a696-7a78b1a69301".
    },
  ],
  "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.