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

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

The request message for UpdateCloudControl.

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

Namespace

Google \ Cloud \ CloudSecurityCompliance \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ update_mask Google\Protobuf\FieldMask

Optional. Use a field mask to specify the fields to be overwritten in the cloud control during the update. The fields that you specify in the update_mask are relative to the cloud control, not the full request. A field is overwritten if it is in the mask. If you don't provide a mask, all fields in the request are updated. You can update the following fields: - Display name - Description - Parameters - Rules - Parameter specification

↳ cloud_control CloudControl

Required. The cloud control that you're updating.

getUpdateMask

Optional. Use a field mask to specify the fields to be overwritten in the cloud control during the update.

The fields that you specify in the update_mask are relative to the cloud control, not the full request. A field is overwritten if it is in the mask. If you don't provide a mask, all fields in the request are updated. You can update the following fields:

  • Display name
  • Description
  • Parameters
  • Rules
  • Parameter specification
Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. Use a field mask to specify the fields to be overwritten in the cloud control during the update.

The fields that you specify in the update_mask are relative to the cloud control, not the full request. A field is overwritten if it is in the mask. If you don't provide a mask, all fields in the request are updated. You can update the following fields:

  • Display name
  • Description
  • Parameters
  • Rules
  • Parameter specification
Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

getCloudControl

Required. The cloud control that you're updating.

Returns
Type Description
CloudControl|null

hasCloudControl

clearCloudControl

setCloudControl

Required. The cloud control that you're updating.

Parameter
Name Description
var CloudControl
Returns
Type Description
$this

static::build

Parameters
Name Description
cloudControl CloudControl

Required. The cloud control that you're updating.

updateMask Google\Protobuf\FieldMask

Optional. Use a field mask to specify the fields to be overwritten in the cloud control during the update. The fields that you specify in the update_mask are relative to the cloud control, not the full request. A field is overwritten if it is in the mask. If you don't provide a mask, all fields in the request are updated.

You can update the following fields:

  • Display name
  • Description
  • Parameters
  • Rules
  • Parameter specification
Returns
Type Description
UpdateCloudControlRequest