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.
2573 2574 2575 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2573 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ancestor_module ⇒ String
Corresponds to the JSON property ancestorModule
2526 2527 2528 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2526 def ancestor_module @ancestor_module end |
#cloud_provider ⇒ String
Corresponds to the JSON property cloudProvider
2531 2532 2533 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2531 def cloud_provider @cloud_provider end |
#config ⇒ Hash<String,Object>
Corresponds to the JSON property config
2536 2537 2538 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2536 def config @config end |
#description ⇒ String
Corresponds to the JSON property description
2541 2542 2543 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2541 def description @description end |
#display_name ⇒ String
Corresponds to the JSON property displayName
2546 2547 2548 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2546 def display_name @display_name end |
#enablement_state ⇒ String
Corresponds to the JSON property enablementState
2551 2552 2553 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2551 def enablement_state @enablement_state end |
#last_editor ⇒ String
Corresponds to the JSON property lastEditor
2556 2557 2558 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2556 def last_editor @last_editor end |
#name ⇒ String
Corresponds to the JSON property name
2561 2562 2563 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2561 def name @name end |
#type ⇒ String
Corresponds to the JSON property type
2566 2567 2568 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2566 def type @type end |
#update_time ⇒ String
Corresponds to the JSON property updateTime
2571 2572 2573 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2571 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2578 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 |