Get the consumer policy of a resource.
HTTP request
GET https://serviceusage.googleapis.com/v2beta/{name=*/*/consumerPolicies/*}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name |
Required. The name of the consumer policy to retrieve. Format: |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of ConsumerPolicy.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platform.read-onlyhttps://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.