Method: projects.locations.getBillingMetadata

Retrieve the billing metadata explicitly set on a specific Resource.

HTTP request

GET https://securitycentermanagement.googleapis.com/v1/{name=projects/*/locations/*/billingMetadata}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The resource to look up the billing tier for, in the format organizations/{organization}/locations/{location}/billingMetadata or projects/{project}/locations/{location}/billingMetadata.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of BillingMetadata.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • securitycentermanagement.billingMetadata.get

For more information, see the IAM documentation.