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 \ HttpOperationDetailsMethods
__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 |
|