Class: Google::Apis::SecuritycenterV1::ValidateEventThreatDetectionCustomModuleRequest

Inherits:
Object
  • Object
show all
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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ValidateEventThreatDetectionCustomModuleRequest

Returns a new instance of ValidateEventThreatDetectionCustomModuleRequest.



13389
13390
13391
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13389

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#raw_textString

Corresponds to the JSON property rawText

Returns:

  • (String)


13382
13383
13384
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13382

def raw_text
  @raw_text
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


13387
13388
13389
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13387

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13394
13395
13396
13397
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13394

def update!(**args)
  @raw_text = args[:raw_text] if args.key?(:raw_text)
  @type = args[:type] if args.key?(:type)
end