0.31.0 (latest) 0.30.0 0.29.0 0.28.0 0.27.0 0.23.0 0.20.0 0.19.0 0.18.0 0.17.1 0.16.1 0.15.0 0.14.0 0.13.1 0.12.1 0.11.2 0.10.0 0.9.0 0.8.1 0.7.2 0.6.1 0.5.0 0.4.0 0.3.0 0.2.0 0.1.4 Reference documentation and code samples for the Google Apps Chat V1 Client class DisplayStyle.

In Google Workspace add-ons,
determines how a card is displayed.

[Google Workspace
add-ons](https://developers.google.com/workspace/add-ons):

Protobuf type `google.apps.card.v1.Card.DisplayStyle`

## Namespace

Google \\ Apps \\ Card \\ V1 \\ Card

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### DISPLAY_STYLE_UNSPECIFIED

```php
Value: 0
```
Don't use. Unspecified.

Generated from protobuf enum `DISPLAY_STYLE_UNSPECIFIED = 0;`

### PEEK

```php
Value: 1
```
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.

Generated from protobuf enum `PEEK = 1;`

### REPLACE

```php
Value: 2
```
Default value. The card is shown by replacing the view of the top card in
the card stack.

Generated from protobuf enum `REPLACE = 2;`