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.



2573
2574
2575
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2573

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#ancestor_moduleString

Corresponds to the JSON property ancestorModule

Returns:

  • (String)


2526
2527
2528
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2526

def ancestor_module
  @ancestor_module
end

#cloud_providerString

Corresponds to the JSON property cloudProvider

Returns:

  • (String)


2531
2532
2533
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2531

def cloud_provider
  @cloud_provider
end

#configHash<String,Object>

Corresponds to the JSON property config

Returns:



2536
2537
2538
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2536

def config
  @config
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


2541
2542
2543
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2541

def description
  @description
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


2546
2547
2548
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2546

def display_name
  @display_name
end

#enablement_stateString

Corresponds to the JSON property enablementState

Returns:

  • (String)


2551
2552
2553
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2551

def enablement_state
  @enablement_state
end

#last_editorString

Corresponds to the JSON property lastEditor

Returns:

  • (String)


2556
2557
2558
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2556

def last_editor
  @last_editor
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


2561
2562
2563
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2561

def name
  @name
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


2566
2567
2568
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2566

def type
  @type
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


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