Cloud Billing API . skuGroups

Instance Methods

skus()

Returns the skus Resource.

close()

Close httplib2 connections.

get(name, x__xgafv=None)

Gets a publicly listed SKU group.

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

Lists all publicly listed SKU groups.

list_next()

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
get(name, x__xgafv=None)
Gets a publicly listed SKU group.

Args:
  name: string, Required. The name of the SKU group to retrieve. Format: 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 publicly listed stock keeping unit (SKU) group. 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 SKU group. Example: "A2 VMs (1 Year CUD)".
  "name": "A String", # Resource name for the SKU group. Example: "skuGroups/0e6403d1-4694-44d2-a696-7a78b1a69301".
}
list(pageSize=None, pageToken=None, x__xgafv=None)
Lists all publicly listed SKU groups.

Args:
  pageSize: integer, Maximum number of 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 ListSkuGroups 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 ListSkuGroups.
  "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.
  "skuGroups": [ # The returned publicly listed SKU groups.
    { # Encapsulates a publicly listed stock keeping unit (SKU) group. 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 SKU group. Example: "A2 VMs (1 Year CUD)".
      "name": "A String", # Resource name for the SKU group. Example: "skuGroups/0e6403d1-4694-44d2-a696-7a78b1a69301".
    },
  ],
}
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.