GoogleApi.MyBusinessBusinessInformation.V1.Model.Attribute (google_api_my_business_business_information v0.5.2)
View SourceA location attribute. Attributes provide additional information about a location. The attributes that can be set on a location may vary based on the properties of that location (for example, category). Available attributes are determined by Google and may be added and removed without API changes.
Attributes
-
name
(type:String.t
, default:nil
) - Required. The resource name for this attribute. -
repeatedEnumValue
(type:GoogleApi.MyBusinessBusinessInformation.V1.Model.RepeatedEnumAttributeValue.t
, default:nil
) - When the attribute value type is REPEATED_ENUM, this contains the attribute value, and the other values fields must be empty. -
uriValues
(type:list(GoogleApi.MyBusinessBusinessInformation.V1.Model.UriAttributeValue.t)
, default:nil
) - When the attribute value type is URL, this field contains the value(s) for this attribute, and the other values fields must be empty. -
valueType
(type:String.t
, default:nil
) - Output only. The type of value that this attribute contains. This should be used to determine how to interpret the value. -
values
(type:list(any())
, default:nil
) - The values for this attribute. The type of the values supplied must match that expected for that attribute. This is a repeated field where multiple attribute values may be provided. Attribute types only support one value.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.MyBusinessBusinessInformation.V1.Model.Attribute{ name: String.t() | nil, repeatedEnumValue: GoogleApi.MyBusinessBusinessInformation.V1.Model.RepeatedEnumAttributeValue.t() | nil, uriValues: [GoogleApi.MyBusinessBusinessInformation.V1.Model.UriAttributeValue.t()] | nil, valueType: String.t() | nil, values: [any()] | nil }