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

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

The GetDependency method's request.

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

Namespace

Google \ Cloud \ ApiHub \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ namestring

Required. The name of the dependency resource to retrieve. Format: projects/{project}/locations/{location}/dependencies/{dependency}

getName

Required. The name of the dependency resource to retrieve.

Format: projects/{project}/locations/{location}/dependencies/{dependency}

Returns
TypeDescription
string

setName

Required. The name of the dependency resource to retrieve.

Format: projects/{project}/locations/{location}/dependencies/{dependency}

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
namestring

Required. The name of the dependency resource to retrieve. Format: projects/{project}/locations/{location}/dependencies/{dependency} Please see ApiHubDependenciesClient::dependencyName() for help formatting this field.

Returns
TypeDescription
GetDependencyRequest