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

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

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. Field mask is used to specify the fields to be overwritten in the CloudControl resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields present in the request will be overwritten. The fields that can be updated are: 1. Display_name 2. Description 3. Parameters 4. Rules 5. ParameterSpec.

↳ cloud_control CloudControl

Required. The resource being updated

getUpdateMask

Optional. Field mask is used to specify the fields to be overwritten in the CloudControl resource by the update.

The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields present in the request will be overwritten. The fields that can be updated are:

  1. Display_name
  2. Description
  3. Parameters
  4. Rules
  5. ParameterSpec.
Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. Field mask is used to specify the fields to be overwritten in the CloudControl resource by the update.

The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields present in the request will be overwritten. The fields that can be updated are:

  1. Display_name
  2. Description
  3. Parameters
  4. Rules
  5. ParameterSpec.
Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

getCloudControl

Required. The resource being updated

Returns
Type Description
CloudControl|null

hasCloudControl

clearCloudControl

setCloudControl

Required. The resource being updated

Parameter
Name Description
var CloudControl
Returns
Type Description
$this

static::build

Parameters
Name Description
cloudControl CloudControl

Required. The resource being updated

updateMask Google\Protobuf\FieldMask

Optional. Field mask is used to specify the fields to be overwritten in the CloudControl resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields present in the request will be overwritten. The fields that can be updated are:

  1. Display_name
  2. Description
  3. Parameters
  4. Rules
  5. ParameterSpec.
Returns
Type Description
UpdateCloudControlRequest