Reference documentation and code samples for the Google Cloud Api Hub V1 Client class HttpOperation.
The HTTP Operation.
Generated from protobuf message google.cloud.apihub.v1.HttpOperation
Namespace
Google \ Cloud \ ApiHub \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ path |
Google\Cloud\ApiHub\V1\Path
Output only. The path details for the Operation. |
↳ method |
int
Output only. Operation method |
getPath
Output only. The path details for the Operation.
Returns | |
---|---|
Type | Description |
Google\Cloud\ApiHub\V1\Path|null |
hasPath
clearPath
setPath
Output only. The path details for the Operation.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\ApiHub\V1\Path
|
Returns | |
---|---|
Type | Description |
$this |
getMethod
Output only. Operation method
Returns | |
---|---|
Type | Description |
int |
setMethod
Output only. Operation method
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |