Class GoogleChatV1WidgetMarkupKeyValue
A UI element contains a key (label) and a value (content). And this element may also contain some actions such as onclick button.
Inheritance
object
GoogleChatV1WidgetMarkupKeyValue
Implements
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudSearch.v1.Data
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class GoogleChatV1WidgetMarkupKeyValue : IDirectResponseSchema
Properties
BottomLabel
The text of the bottom label. Formatted text supported.
Declaration
[JsonProperty("bottomLabel")]
public virtual string BottomLabel { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Button
A button that can be clicked to trigger an action.
Declaration
[JsonProperty("button")]
public virtual GoogleChatV1WidgetMarkupButton Button { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleChatV1WidgetMarkupButton |
Content
The text of the content. Formatted text supported and always required.
Declaration
[JsonProperty("content")]
public virtual string Content { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ContentMultiline
If the content should be multiline.
Declaration
[JsonProperty("contentMultiline")]
public virtual bool? ContentMultiline { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Icon
An enum value that will be replaced by the Chat API with the corresponding icon image.
Declaration
[JsonProperty("icon")]
public virtual string Icon { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
IconUrl
The icon specified by a URL.
Declaration
[JsonProperty("iconUrl")]
public virtual string IconUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OnClick
The onclick action. Only the top label, bottom label and content region are clickable.
Declaration
[JsonProperty("onClick")]
public virtual GoogleChatV1WidgetMarkupOnClick OnClick { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleChatV1WidgetMarkupOnClick |
TopLabel
The text of the top label. Formatted text supported.
Declaration
[JsonProperty("topLabel")]
public virtual string TopLabel { get; set; }
Property Value
| Type | Description |
|---|---|
| string |