Google Cloud Security Center Management V1 Client - Class UpdateEventThreatDetectionCustomModuleRequest (0.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
NameDescription
data array

Optional. Data for populating the Message object.

↳ update_mask Google\Protobuf\FieldMask

Required. Field mask is used to specify the fields to be overwritten in the EventThreatDetectionCustomModule 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 will be overwritten.

↳ event_threat_detection_custom_module Google\Cloud\SecurityCenterManagement\V1\EventThreatDetectionCustomModule

Required. The module being updated

↳ validate_only bool

Optional. When set to true, only validations (including IAM checks) will done for the request (module will not be updated). An OK response indicates the request is valid while an error response indicates the request is invalid. Note that a subsequent request to actually update the module could still fail because 1. the state could have changed (e.g. IAM permission lost) or 2. A failure occurred while trying to update the module.

getUpdateMask

Required. Field mask is used to specify the fields to be overwritten in the EventThreatDetectionCustomModule 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 will be overwritten.

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. Field mask is used to specify the fields to be overwritten in the EventThreatDetectionCustomModule 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 will be overwritten.

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

getEventThreatDetectionCustomModule

Required. The module being updated

Returns
TypeDescription
Google\Cloud\SecurityCenterManagement\V1\EventThreatDetectionCustomModule|null

hasEventThreatDetectionCustomModule

clearEventThreatDetectionCustomModule

setEventThreatDetectionCustomModule

Required. The module being updated

Parameter
NameDescription
var Google\Cloud\SecurityCenterManagement\V1\EventThreatDetectionCustomModule
Returns
TypeDescription
$this

getValidateOnly

Optional. When set to true, only validations (including IAM checks) will done for the request (module will not be updated). An OK response indicates the request is valid while an error response indicates the request is invalid. Note that a subsequent request to actually update the module could still fail because 1. the state could have changed (e.g. IAM permission lost) or

  1. A failure occurred while trying to update the module.
Returns
TypeDescription
bool

setValidateOnly

Optional. When set to true, only validations (including IAM checks) will done for the request (module will not be updated). An OK response indicates the request is valid while an error response indicates the request is invalid. Note that a subsequent request to actually update the module could still fail because 1. the state could have changed (e.g. IAM permission lost) or

  1. A failure occurred while trying to update the module.
Parameter
NameDescription
var bool
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
eventThreatDetectionCustomModule Google\Cloud\SecurityCenterManagement\V1\EventThreatDetectionCustomModule

Required. The module being updated

updateMask Google\Protobuf\FieldMask

Required. Field mask is used to specify the fields to be overwritten in the EventThreatDetectionCustomModule 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 will be overwritten.

Returns
TypeDescription
Google\Cloud\SecurityCenterManagement\V1\UpdateEventThreatDetectionCustomModuleRequest