public enum Card.DisplayStyle extends Enum<Card.DisplayStyle> implements ProtocolMessageEnum
In Google Workspace Add-ons, determines how a card is displayed.
Protobuf enum google.apps.card.v1.Card.DisplayStyle
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
DISPLAY_STYLE_UNSPECIFIED |
Don't use. Unspecified. |
DISPLAY_STYLE_UNSPECIFIED_VALUE |
Don't use. Unspecified. |
PEEK |
The header of the card appears at the bottom of the sidebar, partially covering the current top card of the stack. Clicking the header pops the card into the card stack. If the card has no header, a generated header is used instead. |
PEEK_VALUE |
The header of the card appears at the bottom of the sidebar, partially covering the current top card of the stack. Clicking the header pops the card into the card stack. If the card has no header, a generated header is used instead. |
REPLACE |
Default value. The card is shown by replacing the view of the top card in the card stack. |
REPLACE_VALUE |
Default value. The card is shown by replacing the view of the top card in the card stack. |
UNRECOGNIZED |
Static Methods |
|
---|---|
Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
Methods |
|
---|---|
Name | Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |