Show / Hide Table of Contents

Class AppsDynamiteStorageCard

A card is a UI element that can contain UI widgets such as text and images. For more information, see Cards . For example, the following JSON creates a card that has a header with the name, position, icons, and link for a contact, followed by a section with contact information like email and phone number. { "header": { "title": "Heba Salam", "subtitle": "Software Engineer", "imageStyle": "ImageStyle.AVATAR", "imageUrl": "https://example.com/heba_salam.png", "imageAltText": "Avatar for Heba Salam" }, "sections" : [ { "header": "Contact Info", "widgets": [ { "decorated_text": { "icon": { "knownIcon": "EMAIL" }, "content": "heba.salam@example.com" } }, { "decoratedText": { "icon": { "knownIcon": "PERSON" }, "content": "Online" } }, { "decoratedText": { "icon": { "knownIcon": "PHONE" }, "content": "+1 (555) 555-1234" } }, { "buttons": [ { "textButton": { "text": "Share", }, "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "textButton": { "text": "Edit", }, "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ], "loadIndicator": "LoadIndicator.SPINNER" } } } ] } ], "collapsible": true, "uncollapsibleWidgetsCount": 3 } ], "cardActions": [ { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ], "name": "contact-card-K3wB6arF2H9L" }

Inheritance
object
AppsDynamiteStorageCard
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.CloudSearch.v1.Data
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class AppsDynamiteStorageCard : IDirectResponseSchema

Properties

CardActions

The actions of this card. They are added to a card's generated toolbar menu. For example, the following JSON constructs a card action menu with Settings and Send Feedback options: "card_actions": [ { "actionLabel": "Setting", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ]

Declaration
[JsonProperty("cardActions")]
public virtual IList<AppsDynamiteStorageCardCardAction> CardActions { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<T><AppsDynamiteStorageCardCardAction>

ETag

The ETag of the item.

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

Header

The header of the card. A header usually contains a title and an image.

Declaration
[JsonProperty("header")]
public virtual AppsDynamiteStorageCardCardHeader Header { get; set; }
Property Value
Type Description
AppsDynamiteStorageCardCardHeader

Name

Name of the card, which is used as a identifier for the card in card navigation.

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

Sections

Sections are separated by a line divider.

Declaration
[JsonProperty("sections")]
public virtual IList<AppsDynamiteStorageCardSection> Sections { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<T><AppsDynamiteStorageCardSection>

Implements

IDirectResponseSchema
In This Article
Back to top Generated by DocFX