Google Cloud Api Hub V1 Client - Class PathParam (0.3.0)

Reference documentation and code samples for the Google Cloud Api Hub V1 Client class PathParam.

HTTP Path parameter.

Generated from protobuf message google.cloud.apihub.v1.HttpOperationDetails.PathParam

Namespace

Google \ Cloud \ ApiHub \ V1 \ HttpOperationDetails

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ position int

Optional. Segment location in the path, 1-indexed

↳ data_type int

Optional. Data type of path param

getPosition

Optional. Segment location in the path, 1-indexed

Returns
Type Description
int

setPosition

Optional. Segment location in the path, 1-indexed

Parameter
Name Description
var int
Returns
Type Description
$this

getDataType

Optional. Data type of path param

Returns
Type Description
int Enum of type DataType.

setDataType

Optional. Data type of path param

Parameter
Name Description
var int

Enum of type DataType.

Returns
Type Description
$this