Attribute
import type { Attribute } from "https://googleapis.deno.dev/v1/mybusinessbusinessinformation:v1.ts";
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.
interface Attribute {
name?: string;
repeatedEnumValue?: RepeatedEnumAttributeValue;
uriValues?: UriAttributeValue[];
values?: any[];
readonly valueType?:
} | "ATTRIBUTE_VALUE_TYPE_UNSPECIFIED"
| "BOOL"
| "ENUM"
| "URL"
| "REPEATED_ENUM";
§Properties
§
repeatedEnumValue?: RepeatedEnumAttributeValue
[src]When the attribute value type is REPEATED_ENUM, this contains the attribute value, and the other values fields must be empty.
§
uriValues?: UriAttributeValue[]
[src]When the attribute value type is URL, this field contains the value(s) for this attribute, and the other values fields must be empty.