# Google Cloud Video Stitcher V1 Client - Class FetchOptions (1.2.0)

1.2.0 (latest) 1.1.2 1.0.4 0.9.1 0.8.4 0.7.3 0.6.2 0.5.1 0.3.4 Reference documentation and code samples for the Google Cloud Video Stitcher V1 Client class FetchOptions.

Options on how fetches should be made.

Generated from protobuf message `google.cloud.video.stitcher.v1.FetchOptions`

## Namespace

Google \\ Cloud \\ Video \\ Stitcher \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ headers` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` Custom headers to pass into fetch request. Headers must have a maximum of 3 key value pairs. Each key value pair must have a maximum of 256 characters per key and 256 characters per value. |

### getHeaders

Custom headers to pass into fetch request.

Headers must have a maximum of 3 key value pairs.
Each key value pair must have a maximum of 256 characters per key and 256
characters per value.

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

### setHeaders

Custom headers to pass into fetch request.

Headers must have a maximum of 3 key value pairs.
Each key value pair must have a maximum of 256 characters per key and 256
characters per value.

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

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