Google Cloud Security Compliance V1 Client - Class UpdateCmEnrollmentRequest (0.2.0)

Reference documentation and code samples for the Google Cloud Security Compliance V1 Client class UpdateCmEnrollmentRequest.

The request message for UpdateCmEnrollment.

Generated from protobuf message google.cloud.cloudsecuritycompliance.v1.UpdateCmEnrollmentRequest

Namespace

Google \ Cloud \ CloudSecurityCompliance \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ cm_enrollment CmEnrollment

Required. The Compliance Manager enrollment to update. The name field is used to identify the settings that you want to update.

↳ update_mask Google\Protobuf\FieldMask

Optional. The list of fields that you want to update.

getCmEnrollment

Required. The Compliance Manager enrollment to update.

The name field is used to identify the settings that you want to update.

Returns
Type Description
CmEnrollment|null

hasCmEnrollment

clearCmEnrollment

setCmEnrollment

Required. The Compliance Manager enrollment to update.

The name field is used to identify the settings that you want to update.

Parameter
Name Description
var CmEnrollment
Returns
Type Description
$this

getUpdateMask

Optional. The list of fields that you want to update.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. The list of fields that you want to update.

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

static::build

Parameters
Name Description
cmEnrollment CmEnrollment

Required. The Compliance Manager enrollment to update. The name field is used to identify the settings that you want to update.

updateMask Google\Protobuf\FieldMask

Optional. The list of fields that you want to update.

Returns
Type Description
UpdateCmEnrollmentRequest