Google Cloud Api Hub V1 Client - Class UpdateDependencyRequest (0.1.0)

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

The UpdateDependency method's request.

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

Namespace

Google \ Cloud \ ApiHub \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ dependency Google\Cloud\ApiHub\V1\Dependency

Required. The dependency resource to update. The dependency's name field is used to identify the dependency to update. Format: projects/{project}/locations/{location}/dependencies/{dependency}

↳ update_mask Google\Protobuf\FieldMask

Required. The list of fields to update.

getDependency

Required. The dependency resource to update.

The dependency's name field is used to identify the dependency to update. Format: projects/{project}/locations/{location}/dependencies/{dependency}

Returns
Type Description
Google\Cloud\ApiHub\V1\Dependency|null

hasDependency

clearDependency

setDependency

Required. The dependency resource to update.

The dependency's name field is used to identify the dependency to update. Format: projects/{project}/locations/{location}/dependencies/{dependency}

Parameter
Name Description
var Google\Cloud\ApiHub\V1\Dependency
Returns
Type Description
$this

getUpdateMask

Required. The list of fields to update.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. The list of fields to update.

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
dependency Google\Cloud\ApiHub\V1\Dependency

Required. The dependency resource to update.

The dependency's name field is used to identify the dependency to update. Format: projects/{project}/locations/{location}/dependencies/{dependency}

updateMask Google\Protobuf\FieldMask

Required. The list of fields to update.

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