Class: Google::Apis::SecuritycenterV1::EventThreatDetectionCustomModule

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

Corresponds to the JSON property ancestorModule

Returns:

  • (String)


2408
2409
2410
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2408

def ancestor_module
  @ancestor_module
end

#cloud_providerString

Corresponds to the JSON property cloudProvider

Returns:

  • (String)


2413
2414
2415
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2413

def cloud_provider
  @cloud_provider
end

#configHash<String,Object>

Corresponds to the JSON property config

Returns:



2418
2419
2420
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2418

def config
  @config
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


2423
2424
2425
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2423

def description
  @description
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


2428
2429
2430
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2428

def display_name
  @display_name
end

#enablement_stateString

Corresponds to the JSON property enablementState

Returns:

  • (String)


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

def enablement_state
  @enablement_state
end

#last_editorString

Corresponds to the JSON property lastEditor

Returns:

  • (String)


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

def last_editor
  @last_editor
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


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

def name
  @name
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


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

def type
  @type
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


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