Method: providers.entitlements.patch

Updates an existing Entitlement.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the entitlement to update.

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

  • commerceprocurement.providerEntitlements.update

Query parameters

Parameters
updateMask

string (FieldMask format)

The update mask that applies to the resource. See the FieldMask definition for more details.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of Entitlement.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.