# Google Apps Meet V2beta Client - Class GetSpaceRequest (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 GetSpaceRequest.

Request to get a space.

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

## Namespace

Google \\ Apps \\ Meet \\ V2beta

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. Resource name of the space. Format: `spaces/{space}` or `spaces/{meetingCode}`. `{space}` is the resource identifier for the space. It's a unique, server-generated ID and is case sensitive. For example, `jQCFfuBOdN5z`. `{meetingCode}` is an alias for the space. It's a typeable, unique character string and is non-case sensitive. For example, `abc-mnop-xyz`. The maximum length is 128 characters. A `meetingCode` shouldn't be stored long term as it can become dissociated from a meeting space and can be reused for different meeting spaces in the future. Generally, a `meetingCode` expires 365 days after last use. For more information, see [Learn about meeting codes in Google Meet](https://support.google.com/meet/answer/10710509). For more information, see [How Meet identifies a meeting space](https://developers.google.com/meet/api/guides/meeting-spaces#identify-meeting-space). |

### getName

Required. Resource name of the space.

Format: `spaces/{space}` or `spaces/{meetingCode}`.
`{space}` is the resource identifier for the space. It's a unique,
server-generated ID and is case sensitive. For example, `jQCFfuBOdN5z`.
`{meetingCode}` is an alias for the space. It's a typeable, unique
character string and is non-case sensitive. For example, `abc-mnop-xyz`.
The maximum length is 128 characters.
A `meetingCode` shouldn't be stored long term as it can become
dissociated from a meeting space and can be reused for different meeting
spaces in the future. Generally, a `meetingCode` expires 365 days after
last use. For more information, see [Learn about meeting codes in Google
Meet](https://support.google.com/meet/answer/10710509).
For more information, see [How Meet identifies a meeting
space](https://developers.google.com/meet/api/guides/meeting-spaces#identify-meeting-space).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

Required. Resource name of the space.

Format: `spaces/{space}` or `spaces/{meetingCode}`.
`{space}` is the resource identifier for the space. It's a unique,
server-generated ID and is case sensitive. For example, `jQCFfuBOdN5z`.
`{meetingCode}` is an alias for the space. It's a typeable, unique
character string and is non-case sensitive. For example, `abc-mnop-xyz`.
The maximum length is 128 characters.
A `meetingCode` shouldn't be stored long term as it can become
dissociated from a meeting space and can be reused for different meeting
spaces in the future. Generally, a `meetingCode` expires 365 days after
last use. For more information, see [Learn about meeting codes in Google
Meet](https://support.google.com/meet/answer/10710509).
For more information, see [How Meet identifies a meeting
space](https://developers.google.com/meet/api/guides/meeting-spaces#identify-meeting-space).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Resource name of the space. Format: `spaces/{space}` or `spaces/{meetingCode}`. `{space}` is the resource identifier for the space. It's a unique, server-generated ID and is case sensitive. For example, `jQCFfuBOdN5z`. `{meetingCode}` is an alias for the space. It's a typeable, unique character string and is non-case sensitive. For example, `abc-mnop-xyz`. The maximum length is 128 characters. A `meetingCode` shouldn't be stored long term as it can become dissociated from a meeting space and can be reused for different meeting spaces in the future. Generally, a `meetingCode` expires 365 days after last use. For more information, see [Learn about meeting codes in Google Meet](https://support.google.com/meet/answer/10710509). For more information, see [How Meet identifies a meeting space](https://developers.google.com/meet/api/guides/meeting-spaces#identify-meeting-space). Please see SpacesServiceClient::spaceName() for help formatting this field. |

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