Class: Google::Apis::SecuritycenterV1::ValidateEventThreatDetectionCustomModuleRequest
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::ValidateEventThreatDetectionCustomModuleRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1/classes.rb,
lib/google/apis/securitycenter_v1/representations.rb,
lib/google/apis/securitycenter_v1/representations.rb
Overview
Request to validate an Event Threat Detection custom module.
Instance Attribute Summary collapse
-
#raw_text ⇒ String
Required.
-
#type ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ValidateEventThreatDetectionCustomModuleRequest
constructor
A new instance of ValidateEventThreatDetectionCustomModuleRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ValidateEventThreatDetectionCustomModuleRequest
Returns a new instance of ValidateEventThreatDetectionCustomModuleRequest.
6032 6033 6034 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 6032 def initialize(**args) update!(**args) end |
Instance Attribute Details
#raw_text ⇒ String
Required. The raw text of the module's contents. Used to generate error
messages.
Corresponds to the JSON property rawText
6025 6026 6027 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 6025 def raw_text @raw_text end |
#type ⇒ String
Required. The type of the module (e.g. CONFIGURABLE_BAD_IP).
Corresponds to the JSON property type
6030 6031 6032 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 6030 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6037 6038 6039 6040 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 6037 def update!(**args) @raw_text = args[:raw_text] if args.key?(:raw_text) @type = args[:type] if args.key?(:type) end |