Google Cloud Api Hub V1 Client - Class GetDefinitionRequest (0.2.0)

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

The GetDefinition method's request.

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

Namespace

Google \ Cloud \ ApiHub \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ namestring

Required. The name of the definition to retrieve. Format: projects/{project}/locations/{location}/apis/{api}/versions/{version}/definitions/{definition}

getName

Required. The name of the definition to retrieve.

Format: projects/{project}/locations/{location}/apis/{api}/versions/{version}/definitions/{definition}

Returns
TypeDescription
string

setName

Required. The name of the definition to retrieve.

Format: projects/{project}/locations/{location}/apis/{api}/versions/{version}/definitions/{definition}

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
namestring

Required. The name of the definition to retrieve. Format: projects/{project}/locations/{location}/apis/{api}/versions/{version}/definitions/{definition} Please see ApiHubClient::definitionName() for help formatting this field.

Returns
TypeDescription
GetDefinitionRequest