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

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

The UpdateDeployment method's request.

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

Namespace

Google \ Cloud \ ApiHub \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ deployment Google\Cloud\ApiHub\V1\Deployment

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

↳ update_mask Google\Protobuf\FieldMask

Required. The list of fields to update.

getDeployment

Required. The deployment resource to update.

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

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

hasDeployment

clearDeployment

setDeployment

Required. The deployment resource to update.

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

Parameter
Name Description
var Google\Cloud\ApiHub\V1\Deployment
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
deployment Google\Cloud\ApiHub\V1\Deployment

Required. The deployment resource to update.

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

updateMask Google\Protobuf\FieldMask

Required. The list of fields to update.

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