Class: Google::Apis::SecuritycenterV1::EffectiveEventThreatDetectionCustomModule
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::EffectiveEventThreatDetectionCustomModule
- 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
-
#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. -
#name ⇒ String
Corresponds to the JSON property
name. -
#type ⇒ String
Corresponds to the JSON property
type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EffectiveEventThreatDetectionCustomModule
constructor
A new instance of EffectiveEventThreatDetectionCustomModule.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EffectiveEventThreatDetectionCustomModule
Returns a new instance of EffectiveEventThreatDetectionCustomModule.
2465 2466 2467 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2465 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cloud_provider ⇒ String
Corresponds to the JSON property cloudProvider
2433 2434 2435 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2433 def cloud_provider @cloud_provider end |
#config ⇒ Hash<String,Object>
Corresponds to the JSON property config
2438 2439 2440 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2438 def config @config end |
#description ⇒ String
Corresponds to the JSON property description
2443 2444 2445 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2443 def description @description end |
#display_name ⇒ String
Corresponds to the JSON property displayName
2448 2449 2450 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2448 def display_name @display_name end |
#enablement_state ⇒ String
Corresponds to the JSON property enablementState
2453 2454 2455 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2453 def enablement_state @enablement_state end |
#name ⇒ String
Corresponds to the JSON property name
2458 2459 2460 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2458 def name @name end |
#type ⇒ String
Corresponds to the JSON property type
2463 2464 2465 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2463 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2470 2471 2472 2473 2474 2475 2476 2477 2478 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2470 def update!(**args) @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) @name = args[:name] if args.key?(:name) @type = args[:type] if args.key?(:type) end |