Approves an entitlement that is in the EntitlementState.ENTITLEMENT_ACTIVATION_REQUESTED
state.
This method is invoked by the provider to approve the creation of the entitlement resource.
HTTP request
POST https://cloudcommerceprocurement.googleapis.com/v1/{name=providers/*/entitlements/*}:approve
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The resource name of the entitlement, with the format Authorization requires the following IAM permission on the specified resource
|
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "properties": { string: string, ... }, "entitlementMigrated": string } |
Fields | |
---|---|
properties |
Set of properties that should be associated with the entitlement. Optional. An object containing a list of |
entitlementMigrated |
Optional. The resource name of the entitlement that was migrated, with the format |
Response body
If successful, the response body is empty.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.