GoogleApi.HealthCare.V1.Model.AttributeDefinition (google_api_health_care v0.38.2) View Source

A client-defined consent attribute.


  • allowedValues (type: list(String.t), default: nil) - Required. Possible values for the attribute. The number of allowed values must not exceed 100. An empty list is invalid. The list can only be expanded after creation.
  • category (type: String.t, default: nil) - Required. The category of the attribute. The value of this field cannot be changed after creation.
  • consentDefaultValues (type: list(String.t), default: nil) - Optional. Default values of the attribute in Consents. If no default values are specified, it defaults to an empty value.
  • dataMappingDefaultValue (type: String.t, default: nil) - Optional. Default value of the attribute in User data mappings. If no default value is specified, it defaults to an empty value. This field is only applicable to attributes of the category RESOURCE.
  • description (type: String.t, default: nil) - Optional. A description of the attribute.
  • name (type: String.t, default: nil) - Resource name of the Attribute definition, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/attributeDefinitions/{attribute_definition_id}. Cannot be changed after creation.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.HealthCare.V1.Model.AttributeDefinition{
  allowedValues: [String.t()] | nil,
  category: String.t() | nil,
  consentDefaultValues: [String.t()] | nil,
  dataMappingDefaultValue: String.t() | nil,
  description: String.t() | nil,
  name: String.t() | nil

Link to this section Functions


decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.