Creates a ConsumerEnforcementAction resource.
HTTP request
POST https://commerceproducer.googleapis.com/v1beta/{parent=projects/*/locations/*}/consumerEnforcementActions
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. The parent project and location resource name. Format: |
Query parameters
| Parameters | |
|---|---|
consumerEnforcementActionId |
Optional. The ID to use for the ConsumerEnforcementAction, which will become the final component of the resource's resource name. If provided, this value must contain 1-63 characters, start with a lowercase letter, contain only lowercase letters, numbers, and hyphens, and end with a lowercase letter or number (matching |
Request body
The request body contains an instance of ConsumerEnforcementAction.
Response body
If successful, the response body contains a newly created instance of Operation.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.