0.5.3 (latest) 0.4.4 0.3.0 0.2.1 0.1.4 Reference documentation and code samples for the Google Cloud Api Hub V1 Client class HttpRequest.

An aggregation of HTTP requests.

Generated from protobuf message `google.cloud.apihub.v1.HttpOperationDetails.HttpRequest`

## Namespace

Google \\ Cloud \\ ApiHub \\ V1 \\ HttpOperationDetails

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ headers` | `array|Google\Protobuf\Internal\MapField` Optional. Unordered map from header name to header metadata |

### getHeaders

Optional. Unordered map from header name to header metadata

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Internal\MapField` |   |

### setHeaders

Optional. Unordered map from header name to header metadata

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array|Google\Protobuf\Internal\MapField` |

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