Method: billingAccounts.services.list

Lists services visible to a billing account.

HTTP request

GET https://cloudbilling.googleapis.com/v1beta/{parent=billingAccounts/*}/services

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The billing account to list billing account service from. Format: billingAccounts/{billingAccount}

Query parameters

Parameters
pageSize

integer

Maximum number of billing account service 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 services.list call to retrieve the next page of results. If this field is empty, the first page 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
{
  "billingAccountServices": [
    {
      object (BillingAccountService)
    }
  ],
  "nextPageToken": string
}
Fields
billingAccountServices[]

object (BillingAccountService)

The returned billing account services.

nextPageToken

string

Token that can be sent as pageToken in the subsequent request to retrieve the next page. If this field is empty, there are no subsequent pages.

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.