Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AttributeMetadata

import type { AttributeMetadata } from "https://googleapis.deno.dev/v1/mybusinessbusinessinformation:v1.ts";

Metadata for an attribute. Contains display information for the attribute, including a localized name and a heading for grouping related attributes together.

interface AttributeMetadata {
deprecated?: boolean;
displayName?: string;
groupDisplayName?: string;
parent?: string;
repeatable?: boolean;
valueMetadata?: AttributeValueMetadata[];
valueType?:
| "ATTRIBUTE_VALUE_TYPE_UNSPECIFIED"
| "BOOL"
| "ENUM"
| "URL"
| "REPEATED_ENUM";
}

§Properties

§
deprecated?: boolean
[src]

If true, the attribute is deprecated and should no longer be used. If deprecated, updating this attribute will not result in an error, but updates will not be saved. At some point after being deprecated, the attribute will be removed entirely and it will become an error.

§
displayName?: string
[src]

The localized display name for the attribute, if available; otherwise, the English display name.

§
groupDisplayName?: string
[src]

The localized display name of the group that contains this attribute, if available; otherwise, the English group name. Related attributes are collected into a group and should be displayed together under the heading given here.

§
parent?: string
[src]

The unique identifier for the attribute.

§
repeatable?: boolean
[src]

If true, the attribute supports multiple values. If false, only a single value should be provided.

§
valueMetadata?: AttributeValueMetadata[]
[src]

For some types of attributes (for example, enums), a list of supported values and corresponding display names for those values is provided.

§
valueType?: "ATTRIBUTE_VALUE_TYPE_UNSPECIFIED" | "BOOL" | "ENUM" | "URL" | "REPEATED_ENUM"
[src]

The value type for the attribute. Values set and retrieved should be expected to be of this type.