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.
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".
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-27 UTC."],[[["\u003cp\u003eThis webpage documents how to update an existing Attribute Definition resource within a consent store using the \u003ccode\u003ePATCH\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eattributeDefinition.name\u003c/code\u003e path parameter, which is a unique identifier for the resource, is a required field for this operation and cannot be modified after creation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eupdateMask\u003c/code\u003e query parameter specifies which fields can be updated, limited to \u003ccode\u003edescription\u003c/code\u003e, \u003ccode\u003eallowedValues\u003c/code\u003e, \u003ccode\u003econsentDefaultValues\u003c/code\u003e, and \u003ccode\u003edataMappingDefaultValue\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must include an instance of the \u003ccode\u003eAttributeDefinition\u003c/code\u003e with the intended changes, and the response body will return the updated \u003ccode\u003eAttributeDefinition\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eTo use this method, one of two OAuth scopes are required, \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-healthcare\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Method: attributeDefinitions.patch\n\n**Full name**: projects.locations.datasets.consentStores.attributeDefinitions.patch\n\nUpdates the specified [Attribute definition](/healthcare-api/docs/reference/rest/v1beta1/projects.locations.datasets.consentStores.attributeDefinitions#AttributeDefinition).\n\n### HTTP request\n\n`PATCH https://healthcare.googleapis.com/v1beta1/{attributeDefinition.name=projects/*/locations/*/datasets/*/consentStores/*/attributeDefinitions/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body contains an instance of [AttributeDefinition](/healthcare-api/docs/reference/rest/v1beta1/projects.locations.datasets.consentStores.attributeDefinitions#AttributeDefinition).\n\n### Response body\n\nIf successful, the response body contains an instance of [AttributeDefinition](/healthcare-api/docs/reference/rest/v1beta1/projects.locations.datasets.consentStores.attributeDefinitions#AttributeDefinition).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloud-healthcare`\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]