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

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

The path details derived from the spec.

Generated from protobuf message google.cloud.apihub.v1.Path

Namespace

Google \ Cloud \ ApiHub \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ path string

Optional. Complete path relative to server endpoint. Note: Even though this field is optional, it is required for CreateApiOperation API and we will fail the request if not provided.

↳ description string

Optional. A short description for the path applicable to all operations.

getPath

Optional. Complete path relative to server endpoint.

Note: Even though this field is optional, it is required for CreateApiOperation API and we will fail the request if not provided.

Returns
Type Description
string

setPath

Optional. Complete path relative to server endpoint.

Note: Even though this field is optional, it is required for CreateApiOperation API and we will fail the request if not provided.

Parameter
Name Description
var string
Returns
Type Description
$this

getDescription

Optional. A short description for the path applicable to all operations.

Returns
Type Description
string

setDescription

Optional. A short description for the path applicable to all operations.

Parameter
Name Description
var string
Returns
Type Description
$this