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

Metadata about a recording created during a conference.

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

## Namespace

Google \\ Apps \\ Meet \\ V2

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ drive_destination` | `https://docs.cloud.google.com/php/docs/reference/apps-meet/latest/V2.DriveDestination` Output only. Recording is saved to Google Drive as an MP4 file. The `drive_destination` includes the Drive `fileId` that can be used to download the file using the `files.get` method of the Drive API. |
| `↳ name` | `string` Output only. Resource name of the recording. Format: `conferenceRecords/{conference_record}/recordings/{recording}` where `{recording}` is a 1:1 mapping to each unique recording session during the conference. |
| `↳ state` | `int` Output only. Current state. |
| `↳ start_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. Timestamp when the recording started. |
| `↳ end_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. Timestamp when the recording ended. |

### getDriveDestination

Output only. Recording is saved to Google Drive as an MP4 file. The
`drive_destination` includes the Drive `fileId` that can be used to
download the file using the `files.get` method of the Drive API.

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

### hasDriveDestination

### setDriveDestination

Output only. Recording is saved to Google Drive as an MP4 file. The
`drive_destination` includes the Drive `fileId` that can be used to
download the file using the `files.get` method of the Drive API.

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

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

### getName

Output only. Resource name of the recording.

Format: `conferenceRecords/{conference_record}/recordings/{recording}`
where `{recording}` is a 1:1 mapping to each unique recording session
during the conference.

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

### setName

Output only. Resource name of the recording.

Format: `conferenceRecords/{conference_record}/recordings/{recording}`
where `{recording}` is a 1:1 mapping to each unique recording session
during the conference.

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

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

### getState

Output only. Current state.

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

### setState

Output only. Current state.

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

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

### getStartTime

Output only. Timestamp when the recording started.

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

### hasStartTime

### clearStartTime

### setStartTime

Output only. Timestamp when the recording started.

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

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

### getEndTime

Output only. Timestamp when the recording ended.

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

### hasEndTime

### clearEndTime

### setEndTime

Output only. Timestamp when the recording ended.

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

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

### getDestination

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