Method: services.list

Lists all public cloud services.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Query parameters

Parameters
pageSize

integer

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

Response message for services.list.

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

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.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/cloud-billing
  • https://www.googleapis.com/auth/cloud-billing.readonly

For more information, see the Authentication Overview.

Service

Encapsulates a single service in Google Cloud Platform.

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

string

The resource name for the service. Example: "services/6F81-5844-456A"

serviceId

string

The identifier for the service. Example: "6F81-5844-456A"

displayName

string

A human readable display name for this service.

businessEntityName

string

The business under which the service is offered. Ex. "businessEntities/GCP", "businessEntities/Maps"