Google Cloud Security Center Management V1 Client - Class UpdateEventThreatDetectionCustomModuleRequest (1.1.0)

Reference documentation and code samples for the Google Cloud Security Center Management V1 Client class UpdateEventThreatDetectionCustomModuleRequest.

Message for updating a EventThreatDetectionCustomModule

Generated from protobuf message google.cloud.securitycentermanagement.v1.UpdateEventThreatDetectionCustomModuleRequest

Namespace

Google \ Cloud \ SecurityCenterManagement \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ update_mask Google\Protobuf\FieldMask

Required. The fields to update. If omitted, then all fields are updated.

↳ event_threat_detection_custom_module Google\Cloud\SecurityCenterManagement\V1\EventThreatDetectionCustomModule

Required. The module being updated.

↳ validate_only bool

Optional. When set to true, the request will be validated (including IAM checks), but no module will be updated. An OK response indicates that the request is valid, while an error response indicates that the request is invalid. If the request is valid, a subsequent request to update the module could still fail for one of the following reasons: * The state of your cloud resources changed; for example, you lost a required IAM permission * An error occurred during creation of the module Defaults to false.

getUpdateMask

Required. The fields to update. If omitted, then all fields are updated.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. The fields to update. If omitted, then all fields are updated.

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

getEventThreatDetectionCustomModule

Required. The module being updated.

Returns
Type Description
Google\Cloud\SecurityCenterManagement\V1\EventThreatDetectionCustomModule|null

hasEventThreatDetectionCustomModule

clearEventThreatDetectionCustomModule

setEventThreatDetectionCustomModule

Required. The module being updated.

Parameter
Name Description
var Google\Cloud\SecurityCenterManagement\V1\EventThreatDetectionCustomModule
Returns
Type Description
$this

getValidateOnly

Optional. When set to true, the request will be validated (including IAM checks), but no module will be updated. An OK response indicates that the request is valid, while an error response indicates that the request is invalid.

If the request is valid, a subsequent request to update the module could still fail for one of the following reasons:

  • The state of your cloud resources changed; for example, you lost a required IAM permission
  • An error occurred during creation of the module Defaults to false.
Returns
Type Description
bool

setValidateOnly

Optional. When set to true, the request will be validated (including IAM checks), but no module will be updated. An OK response indicates that the request is valid, while an error response indicates that the request is invalid.

If the request is valid, a subsequent request to update the module could still fail for one of the following reasons:

  • The state of your cloud resources changed; for example, you lost a required IAM permission
  • An error occurred during creation of the module Defaults to false.
Parameter
Name Description
var bool
Returns
Type Description
$this

static::build

Parameters
Name Description
eventThreatDetectionCustomModule Google\Cloud\SecurityCenterManagement\V1\EventThreatDetectionCustomModule

Required. The module being updated.

updateMask Google\Protobuf\FieldMask

Required. The fields to update. If omitted, then all fields are updated.

Returns
Type Description
Google\Cloud\SecurityCenterManagement\V1\UpdateEventThreatDetectionCustomModuleRequest