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-07-23 UTC."],[[["\u003cp\u003eThis endpoint, \u003ccode\u003eprojects.locations.datasets.consentStores.attributeDefinitions.patch\u003c/code\u003e, is used to update an existing Attribute definition within the Google Cloud Healthcare API.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request method for this operation is \u003ccode\u003ePATCH\u003c/code\u003e, and the URL structure follows gRPC Transcoding syntax.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eattributeDefinition.name\u003c/code\u003e parameter in the URL path is a unique identifier for the Attribute definition and cannot be modified after creation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eupdateMask\u003c/code\u003e query parameter is required to specify which fields of the Attribute definition should be updated, and only certain fields are allowed for modification.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful requests will return the updated \u003ccode\u003eAttributeDefinition\u003c/code\u003e in the response body, and appropriate OAuth scopes are needed for authorization.\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/v1/projects.locations.datasets.consentStores.attributeDefinitions#AttributeDefinition).\n\n### HTTP request\n\n`PATCH https://healthcare.googleapis.com/v1/{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/v1/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/v1/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)."]]