Show / Hide Table of Contents

Class Attribute

A 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.

Inheritance
object
Attribute
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.MyBusinessBusinessInformation.v1.Data
Assembly: Google.Apis.MyBusinessBusinessInformation.v1.dll
Syntax
public class Attribute : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Name

Required. The resource name for this attribute.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

RepeatedEnumValue

When the attribute value type is REPEATED_ENUM, this contains the attribute value, and the other values fields must be empty.

Declaration
[JsonProperty("repeatedEnumValue")]
public virtual RepeatedEnumAttributeValue RepeatedEnumValue { get; set; }
Property Value
Type Description
RepeatedEnumAttributeValue

UriValues

When the attribute value type is URL, this field contains the value(s) for this attribute, and the other values fields must be empty.

Declaration
[JsonProperty("uriValues")]
public virtual IList<UriAttributeValue> UriValues { get; set; }
Property Value
Type Description
IList<UriAttributeValue>

ValueType

Output only. The type of value that this attribute contains. This should be used to determine how to interpret the value.

Declaration
[JsonProperty("valueType")]
public virtual string ValueType { get; set; }
Property Value
Type Description
string

Values

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.

Declaration
[JsonProperty("values")]
public virtual IList<object> Values { get; set; }
Property Value
Type Description
IList<object>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX