Method: providers.entitlements.approve

Approve 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

string

The resource name of the entitlement. Required.

Authorization requires the following Google IAM permission on the specified resource name:

  • commerceprocurement.providerEntitlements.approve

Request body

The request body contains data with the following structure:

JSON representation
{
  "properties": {
    string: string,
    ...
  }
}
Fields
properties
(deprecated)

map (key: string, value: string)

Set of properties that should be associated with the entitlement. Optional.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

Response body

If successful, the response body will be empty.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

Was this page helpful? Let us know how we did:

Send feedback about...

GCP Marketplace