Method: projects.locations.consumerEnforcementActions.get

Gets a ConsumerEnforcementAction resource by name.

HTTP request

GET https://commerceproducer.googleapis.com/v1beta/{name=projects/*/locations/*/consumerEnforcementActions/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Name of the ConsumerEnforcementAction resource to retrieve. Format: projects/{project}/locations/{location}/consumerEnforcementActions/{consumerEnforcementAction}

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.