Method: consentStores.patch

Full name: projects.locations.datasets.consentStores.patch

Updates the specified consent store.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Resource name of the consent store, of the form projects/{projectId}/locations/{locationId}/datasets/{datasetId}/consentStores/{consentStoreId}. Cannot be changed after creation.

Query parameters


string(FieldMask format)

Required. The update mask that applies to the resource. For the FieldMask definition, see Only the labels, defaultConsentTtl, and enableConsentCreateOnUpdate fields are allowed to be updated.

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 ConsentStore.

Response body

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

Authorization scopes

Requires one of the following OAuth scopes:


For more information, see the Authentication Overview.