Method: attributeDefinitions.create

Stay organized with collections Save and categorize content based on your preferences.

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

Creates a new Attribute definition in the parent consent store.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Required. The name of the consent store that this Attribute definition belongs to.

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

  • healthcare.attributeDefinitions.create

Query parameters



Required. The ID of the Attribute definition to create. The string must match the following regex: [_a-zA-Z][_a-zA-Z0-9]{0,255} and must not be a reserved keyword within the Common Expression Language as listed on

Request body

The request body contains an instance of AttributeDefinition.

Response body

If successful, the response body contains a newly created instance of AttributeDefinition.

Authorization Scopes

Requires one of the following OAuth scopes:


For more information, see the Authentication Overview.