Class AttributeMetadata
Metadata for an attribute. Contains display information for the attribute, including a localized name and a heading for grouping related attributes together.
Implements
Inherited Members
Namespace: Google.Apis.MyBusinessBusinessInformation.v1.Data
Assembly: Google.Apis.MyBusinessBusinessInformation.v1.dll
Syntax
public class AttributeMetadata : IDirectResponseSchema
Properties
Deprecated
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.
Declaration
[JsonProperty("deprecated")]
public virtual bool? Deprecated { get; set; }
Property Value
Type | Description |
---|---|
bool? |
DisplayName
The localized display name for the attribute, if available; otherwise, the English display name.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
GroupDisplayName
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.
Declaration
[JsonProperty("groupDisplayName")]
public virtual string GroupDisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
The unique identifier for the attribute.
Declaration
[JsonProperty("parent")]
public virtual string Parent { get; set; }
Property Value
Type | Description |
---|---|
string |
Repeatable
If true, the attribute supports multiple values. If false, only a single value should be provided.
Declaration
[JsonProperty("repeatable")]
public virtual bool? Repeatable { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ValueMetadata
For some types of attributes (for example, enums), a list of supported values and corresponding display names for those values is provided.
Declaration
[JsonProperty("valueMetadata")]
public virtual IList<AttributeValueMetadata> ValueMetadata { get; set; }
Property Value
Type | Description |
---|---|
IList<AttributeValueMetadata> |
ValueType
The value type for the attribute. Values set and retrieved should be expected to be of this type.
Declaration
[JsonProperty("valueType")]
public virtual string ValueType { get; set; }
Property Value
Type | Description |
---|---|
string |