Google Cloud OsConfig V1 Client - Class UpdatePatchDeploymentRequest (2.0.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
Name Description
data array

Optional. Data for populating the Message object.

↳ patch_deployment 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
PatchDeployment|null

hasPatchDeployment

clearPatchDeployment

setPatchDeployment

Required. The patch deployment to Update.

Parameter
Name Description
var 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 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
UpdatePatchDeploymentRequest