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

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.

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/DA34-426B-A397"

serviceId

string

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

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"

이 페이지가 도움이 되었나요? 평가를 부탁드립니다.

다음에 대한 의견 보내기...

도움이 필요하시나요? 지원 페이지를 방문하세요.