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 SpaceView.

A view that specifies which fields should be populated on the
[`Space`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces)
resource.

To ensure compatibility with future releases, we recommend that your code
account for additional values.

Protobuf type `google.chat.v1.SpaceView`

## Namespace

Google \\ Apps \\ Chat \\ V1

## Methods

### static::name

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

### static::value

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

## Constants

### SPACE_VIEW_UNSPECIFIED

```php
Value: 0
```
The default / unset value.

Generated from protobuf enum `SPACE_VIEW_UNSPECIFIED = 0;`

### SPACE_VIEW_RESOURCE_NAME_ONLY

```php
Value: 3
```
Populates only the Space resource name.

Generated from protobuf enum `SPACE_VIEW_RESOURCE_NAME_ONLY = 3;`

### SPACE_VIEW_EXPANDED

```php
Value: 4
```
Populates Space resource fields. Note: the `permissionSettings` field
will not be populated.

Requests that specify SPACE_VIEW_EXPANDED must include scopes that allow
reading space data, for example,
<https://www.googleapis.com/auth/chat.spaces> or
<https://www.googleapis.com/auth/chat.spaces.readonly>.

Generated from protobuf enum `SPACE_VIEW_EXPANDED = 4;`