Reference documentation and code samples for the Google Cloud Api Hub V1 Client class HttpOperationDetails.
An HTTP-based API Operation, sometimes called a "REST" Operation.
Generated from protobuf message google.cloud.apihub.v1.HttpOperationDetails
Namespace
Google \ Cloud \ ApiHub \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ http_operation |
HttpOperation
Required. An HTTP Operation. |
↳ path_params |
array<HttpOperationDetails\PathParam>
Optional. Path params of HttpOperation |
↳ query_params |
array|Google\Protobuf\Internal\MapField
Optional. Query params of HttpOperation |
↳ request |
HttpOperationDetails\HttpRequest
Optional. Request metadata. |
↳ response |
HttpOperationDetails\HttpResponse
Optional. Response metadata. |
getHttpOperation
Required. An HTTP Operation.
| Returns | |
|---|---|
| Type | Description |
HttpOperation|null |
|
hasHttpOperation
clearHttpOperation
setHttpOperation
Required. An HTTP Operation.
| Parameter | |
|---|---|
| Name | Description |
var |
HttpOperation
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPathParams
Optional. Path params of HttpOperation
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setPathParams
Optional. Path params of HttpOperation
| Parameter | |
|---|---|
| Name | Description |
var |
array<HttpOperationDetails\PathParam>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getQueryParams
Optional. Query params of HttpOperation
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\MapField |
|
setQueryParams
Optional. Query params of HttpOperation
| Parameter | |
|---|---|
| Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRequest
Optional. Request metadata.
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails\HttpRequest|null |
|
hasRequest
clearRequest
setRequest
Optional. Request metadata.
| Parameter | |
|---|---|
| Name | Description |
var |
HttpOperationDetails\HttpRequest
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getResponse
Optional. Response metadata.
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails\HttpResponse|null |
|
hasResponse
clearResponse
setResponse
Optional. Response metadata.
| Parameter | |
|---|---|
| Name | Description |
var |
HttpOperationDetails\HttpResponse
|
| Returns | |
|---|---|
| Type | Description |
$this |
|