# Google Cloud Video Live Stream V1 Client - Class PreviewInputResponse (1.4.0)

1.4.0 (latest) 1.3.2 1.2.1 1.1.3 1.0.0 0.7.5 0.6.2 0.5.0 0.4.2 0.3.2 0.2.6 Reference documentation and code samples for the Google Cloud Video Live Stream V1 Client class PreviewInputResponse.

Response message for "LivestreamService.PreviewInput"

Generated from protobuf message `google.cloud.video.livestream.v1.PreviewInputResponse`

## Namespace

Google \\ Cloud \\ Video \\ LiveStream \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ uri` | `string` URI to display the preview content. |
| `↳ bearer_token` | `string` A bearer token used to authenticate connections that display the preview content. The token expires after one hour. For HTTP connections, this token should be included as a bearer token inside the Authorization header. |

### getUri

URI to display the preview content.

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

### setUri

URI to display the preview content.

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

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

### getBearerToken

A bearer token used to authenticate connections that display the preview
content. The token expires after one hour. For HTTP connections, this token
should be included as a bearer token inside the Authorization header.

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

### setBearerToken

A bearer token used to authenticate connections that display the preview
content. The token expires after one hour. For HTTP connections, this token
should be included as a bearer token inside the Authorization header.

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

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