# Google Apps Meet V2 Client - Class UpdateSpaceRequest (0.5.4)

0.5.4 (latest) 0.5.3 0.4.1 0.3.0 0.2.6 0.1.0 Reference documentation and code samples for the Google Apps Meet V2 Client class UpdateSpaceRequest.

Request to update a space.

Generated from protobuf message `google.apps.meet.v2.UpdateSpaceRequest`

## Namespace

Google \\ Apps \\ Meet \\ V2

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ space` | `https://docs.cloud.google.com/php/docs/reference/apps-meet/latest/V2.Space` Required. Space to be updated. |
| `↳ update_mask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Optional. Field mask used to specify the fields to be updated in the space. If update_mask isn't provided(not set, set with empty paths, or only has "" as paths), it defaults to update all fields provided with values in the request. Using "\*" as update_mask will update all fields, including deleting fields not set in the request. |

### getSpace

Required. Space to be updated.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/apps-meet/latest/V2.Space|null` |   |

### hasSpace

### clearSpace

### setSpace

Required. Space to be updated.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/apps-meet/latest/V2.Space` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getUpdateMask

Optional. Field mask used to specify the fields to be updated in the space.

If update_mask isn't provided(not set, set with empty paths, or only has ""
as paths), it defaults to update all fields provided with values in the
request.
Using "\*" as update_mask will update all fields, including deleting fields
not set in the request.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask|null` |   |

### hasUpdateMask

### clearUpdateMask

### setUpdateMask

Optional. Field mask used to specify the fields to be updated in the space.

If update_mask isn't provided(not set, set with empty paths, or only has ""
as paths), it defaults to update all fields provided with values in the
request.
Using "\*" as update_mask will update all fields, including deleting fields
not set in the request.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `space` | `https://docs.cloud.google.com/php/docs/reference/apps-meet/latest/V2.Space` Required. Space to be updated. |
| `updateMask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Optional. Field mask used to specify the fields to be updated in the space. If update_mask isn't provided(not set, set with empty paths, or only has "" as paths), it defaults to update all fields provided with values in the request. Using "\*" as update_mask will update all fields, including deleting fields not set in the request. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/apps-meet/latest/V2.UpdateSpaceRequest` |   |