Google Cloud Api Hub V1 Client - Class GetApiRequest (0.1.1)

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

The GetApi method's request.

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

Namespace

Google \ Cloud \ ApiHub \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the API resource to retrieve. Format: projects/{project}/locations/{location}/apis/{api}

getName

Required. The name of the API resource to retrieve.

Format: projects/{project}/locations/{location}/apis/{api}

Returns
Type Description
string

setName

Required. The name of the API resource to retrieve.

Format: projects/{project}/locations/{location}/apis/{api}

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the API resource to retrieve. Format: projects/{project}/locations/{location}/apis/{api} Please see Google\Cloud\ApiHub\V1\ApiHubClient::apiName() for help formatting this field.

Returns
Type Description
Google\Cloud\ApiHub\V1\GetApiRequest