Method: providers.entitlements.approvePlanChange

Approves an entitlement plan change that is in the EntitlementState.ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL state.

This method is invoked by the provider to approve the plan change on the entitlement resource.

HTTP request

POST https://cloudcommerceprocurement.googleapis.com/v1/{name=providers/*/entitlements/*}:approvePlanChange

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

The resource name of the entitlement. Required.

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

  • commerceprocurement.providerEntitlements.approve

Request body

The request body contains data with the following structure:

JSON representation
{
  "pendingPlanName": string
}
Fields
pendingPlanName

string

Name of the pending plan that is being approved. Required.

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.