Google Cloud OsConfig V1 Client - Class UpdatePatchDeploymentRequest (1.2.2)

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
NameDescription
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
TypeDescription
Google\Cloud\OsConfig\V1\PatchDeployment|null

hasPatchDeployment

clearPatchDeployment

setPatchDeployment

Required. The patch deployment to Update.

Parameter
NameDescription
var Google\Cloud\OsConfig\V1\PatchDeployment
Returns
TypeDescription
$this

getUpdateMask

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

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

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

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
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
TypeDescription
Google\Cloud\OsConfig\V1\UpdatePatchDeploymentRequest