Class: Google::Apis::SecuritycenterV1::EventThreatDetectionCustomModule
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::EventThreatDetectionCustomModule
- 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
-
#ancestor_module ⇒ String
Corresponds to the JSON property
ancestorModule. -
#cloud_provider ⇒ String
Corresponds to the JSON property
cloudProvider. -
#config ⇒ Hash<String,Object>
Corresponds to the JSON property
config. -
#description ⇒ String
Corresponds to the JSON property
description. -
#display_name ⇒ String
Corresponds to the JSON property
displayName. -
#enablement_state ⇒ String
Corresponds to the JSON property
enablementState. -
#last_editor ⇒ String
Corresponds to the JSON property
lastEditor. -
#name ⇒ String
Corresponds to the JSON property
name. -
#type ⇒ String
Corresponds to the JSON property
type. -
#update_time ⇒ String
Corresponds to the JSON property
updateTime.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EventThreatDetectionCustomModule
constructor
A new instance of EventThreatDetectionCustomModule.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EventThreatDetectionCustomModule
Returns a new instance of EventThreatDetectionCustomModule.
2455 2456 2457 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2455 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ancestor_module ⇒ String
Corresponds to the JSON property ancestorModule
2408 2409 2410 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2408 def ancestor_module @ancestor_module end |
#cloud_provider ⇒ String
Corresponds to the JSON property cloudProvider
2413 2414 2415 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2413 def cloud_provider @cloud_provider end |
#config ⇒ Hash<String,Object>
Corresponds to the JSON property config
2418 2419 2420 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2418 def config @config end |
#description ⇒ String
Corresponds to the JSON property description
2423 2424 2425 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2423 def description @description end |
#display_name ⇒ String
Corresponds to the JSON property displayName
2428 2429 2430 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2428 def display_name @display_name end |
#enablement_state ⇒ String
Corresponds to the JSON property enablementState
2433 2434 2435 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2433 def enablement_state @enablement_state end |
#last_editor ⇒ String
Corresponds to the JSON property lastEditor
2438 2439 2440 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2438 def last_editor @last_editor end |
#name ⇒ String
Corresponds to the JSON property name
2443 2444 2445 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2443 def name @name end |
#type ⇒ String
Corresponds to the JSON property type
2448 2449 2450 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2448 def type @type end |
#update_time ⇒ String
Corresponds to the JSON property updateTime
2453 2454 2455 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2453 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2460 def update!(**args) @ancestor_module = args[:ancestor_module] if args.key?(:ancestor_module) @cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider) @config = args[:config] if args.key?(:config) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @enablement_state = args[:enablement_state] if args.key?(:enablement_state) @last_editor = args[:last_editor] if args.key?(:last_editor) @name = args[:name] if args.key?(:name) @type = args[:type] if args.key?(:type) @update_time = args[:update_time] if args.key?(:update_time) end |