Method: services.list

Lists all public cloud services.

HTTP request

GET https://cloudbilling.googleapis.com/v1/services

The URL uses Google API HTTP annotation syntax.

Query parameters

Parameters
pageSize

number

Requested page size. Defaults to 5000.

pageToken

string

A token identifying a page of results to return. This should be a nextPageToken value returned from a previous services.list call. If unspecified, the first page of results is returned.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

Response message for services.list.

JSON representation
{
  "services": [
    {
      object(Service)
    }
  ],
  "nextPageToken": string
}
Fields
services[]

object(Service)

A list of services.

nextPageToken

string

A token to retrieve the next page of results. To retrieve the next page, call services.list again with the pageToken field set to this value. This field is empty if there are no more results to retrieve.

Service

Encapsulates a single service in Google Cloud Platform.

JSON representation
{
  "name": string,
  "serviceId": string,
  "displayName": string
}
Fields
name

string

The resource name for the service. Example: "services/DA34-426B-A397"

serviceId

string

The identifier for the service. Example: "DA34-426B-A397"

displayName

string

A human readable display name for this service.