Method: attributeDefinitions.patch

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

Updates the specified Attribute definition.

HTTP request

PATCH https://healthcare.googleapis.com/v1/{attributeDefinition.name=projects/*/locations/*/datasets/*/consentStores/*/attributeDefinitions/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
attributeDefinition.name

string

Identifier. Resource name of the Attribute definition, of the form projects/{projectId}/locations/{locationId}/datasets/{datasetId}/consentStores/{consentStoreId}/attributeDefinitions/{attributeDefinitionId}. Cannot be changed after creation.

Query parameters

Parameters
updateMask

string(FieldMask format)

Required. The update mask that applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask. Only the description, allowedValues, consentDefaultValues and dataMappingDefaultValue fields can be updated. The updated allowedValues must contain all values from the previous allowedValues.

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

Response body

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

Authorization scopes

Requires one of the following OAuth scopes:

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

For more information, see the Authentication Overview.