Cloud Billing API . services

Instance Methods

skus()

Returns the skus Resource.

close()

Close httplib2 connections.

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

Lists all public cloud services.

list_next(previous_request, previous_response)

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
list(pageSize=None, pageToken=None, x__xgafv=None)
Lists all public cloud services.

Args:
  pageSize: integer, Requested page size. Defaults to 5000.
  pageToken: string, A token identifying a page of results to return. This should be a `next_page_token` value returned from a previous `ListServices` call. If unspecified, the first page of results 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 `ListServices`.
  "nextPageToken": "A String", # A token to retrieve the next page of results. To retrieve the next page, call `ListServices` again with the `page_token` field set to this value. This field is empty if there are no more results to retrieve.
  "services": [ # A list of services.
    { # Encapsulates a single service in Google Cloud Platform.
      "businessEntityName": "A String", # The business under which the service is offered. Ex. "businessEntities/GCP", "businessEntities/Maps"
      "displayName": "A String", # A human readable display name for this service.
      "name": "A String", # The resource name for the service. Example: "services/DA34-426B-A397"
      "serviceId": "A String", # The identifier for the service. Example: "DA34-426B-A397"
    },
  ],
}
list_next(previous_request, previous_response)
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.