Class: Google::Apis::SecuritycenterV1::EffectiveEventThreatDetectionCustomModule

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) ⇒ 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_providerString

Corresponds to the JSON property cloudProvider

Returns:

  • (String)


2433
2434
2435
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2433

def cloud_provider
  @cloud_provider
end

#configHash<String,Object>

Corresponds to the JSON property config

Returns:



2438
2439
2440
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2438

def config
  @config
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


2443
2444
2445
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2443

def description
  @description
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


2448
2449
2450
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2448

def display_name
  @display_name
end

#enablement_stateString

Corresponds to the JSON property enablementState

Returns:

  • (String)


2453
2454
2455
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2453

def enablement_state
  @enablement_state
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


2458
2459
2460
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2458

def name
  @name
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


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