Google Cloud OsConfig V1 Client - Class UpdateOSPolicyAssignmentRequest (2.1.0)

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

A request message to update an OS policy assignment

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

Namespace

Google \ Cloud \ OsConfig \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ os_policy_assignment
OSPolicyAssignment

Required. The updated OS policy assignment.

↳ update_mask
Google\Protobuf\FieldMask

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

getOsPolicyAssignment

Required. The updated OS policy assignment.

Returns
Type
Description

hasOsPolicyAssignment

clearOsPolicyAssignment

setOsPolicyAssignment

Required. The updated OS policy assignment.

Parameter
Name
Description
Returns
Type
Description
$this

getUpdateMask

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

Returns
Type
Description

hasUpdateMask

clearUpdateMask

setUpdateMask

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

Parameter
Name
Description
Returns
Type
Description
$this

static::build

Parameters
Name
Description
osPolicyAssignment
OSPolicyAssignment

Required. The updated OS policy assignment.

updateMask
Google\Protobuf\FieldMask

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

Returns
Type
Description
Create a Mobile Website
View Site in Mobile | Classic
Share by: