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

Users who are configured to have a role in the space. These users can
join the space without knocking.

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

## Namespace

Google \\ Apps \\ Meet \\ V2beta

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Identifier. Resource name of the member. Format: spaces/{space}/members/{member} |
| `↳ email` | `string` Email for the member. This is required for creating the member. |
| `↳ role` | `int` The meeting role assigned to the member. |
| `↳ user` | `string` [Developer Preview](https://developers.google.com/workspace/preview): Unique name for the user. Interoperable with Admin SDK API and People API. This will be empty for non google users. Setting both user and email in request will result in error. Format: `users/{user}` |

### getName

Identifier. Resource name of the member.

Format: spaces/{space}/members/{member}

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

### setName

Identifier. Resource name of the member.

Format: spaces/{space}/members/{member}

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

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

### getEmail

Email for the member. This is required for creating the member.

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

### setEmail

Email for the member. This is required for creating the member.

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

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

### getRole

The meeting role assigned to the member.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [Role](https://docs.cloud.google.com/php/docs/reference/apps-meet/latest/V2beta.Member.Role). |

### setRole

The meeting role assigned to the member.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [Role](https://docs.cloud.google.com/php/docs/reference/apps-meet/latest/V2beta.Member.Role). |

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

### getUser

[Developer Preview](https://developers.google.com/workspace/preview):
Unique name for the user. Interoperable with Admin SDK API and People API.

This will be empty for non google users. Setting both user and email in
request will result in error. Format: `users/{user}`

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

### setUser

[Developer Preview](https://developers.google.com/workspace/preview):
Unique name for the user. Interoperable with Admin SDK API and People API.

This will be empty for non google users. Setting both user and email in
request will result in error. Format: `users/{user}`

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

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