View Source GoogleApi.HealthCare.V1beta1.Model.AttributeDefinition (google_api_health_care v0.50.1)

A client-defined consent attribute.

Attributes

  • allowedValues (type: list(String.t), default: nil) - Required. Possible values for the attribute. The number of allowed values must not exceed 500. 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) - Identifier. 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.HealthCare.V1beta1.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
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.