Google Cloud Api Hub V1 Client - Class HttpOperation (0.1.2)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ path 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
Path|null

hasPath

clearPath

setPath

Output only. The path details for the Operation.

Parameter
Name Description
var 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