Google Cloud OsConfig V1 Client - Class UpdatePatchDeploymentRequest (2.0.0-RC1)

Reference documentation and code samples for the Google Cloud OsConfig V1 Client class UpdatePatchDeploymentRequest.

A request message for updating a patch deployment.

Generated from protobuf message google.cloud.osconfig.v1.UpdatePatchDeploymentRequest

Namespace

Google \ Cloud \ OsConfig \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ patch_deployment Google\Cloud\OsConfig\V1\PatchDeployment

Required. The patch deployment to Update.

↳ update_mask Google\Protobuf\FieldMask

Optional. Field mask that controls which fields of the patch deployment should be updated.

getPatchDeployment

Required. The patch deployment to Update.

Returns
Type Description
Google\Cloud\OsConfig\V1\PatchDeployment|null

hasPatchDeployment

clearPatchDeployment

setPatchDeployment

Required. The patch deployment to Update.

Parameter
Name Description
var Google\Cloud\OsConfig\V1\PatchDeployment
Returns
Type Description
$this

getUpdateMask

Optional. Field mask that controls which fields of the patch deployment should be updated.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. Field mask that controls which fields of the patch deployment should be updated.

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

static::build

Parameters
Name Description
patchDeployment Google\Cloud\OsConfig\V1\PatchDeployment

Required. The patch deployment to Update.

updateMask Google\Protobuf\FieldMask

Optional. Field mask that controls which fields of the patch deployment should be updated.

Returns
Type Description
Google\Cloud\OsConfig\V1\UpdatePatchDeploymentRequest