# Google Apps Meet V2beta 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

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Apps Meet V2beta Client class UpdateSpaceRequest.

Request to update a space.

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

## Namespace

Google \\ Apps \\ Meet \\ V2beta

## 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/V2beta.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/V2beta.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/V2beta.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/V2beta.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/V2beta.UpdateSpaceRequest` |   |