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.



2347
2348
2349
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2347

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

Instance Attribute Details

#cloud_providerString

Corresponds to the JSON property cloudProvider

Returns:

  • (String)


2315
2316
2317
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2315

def cloud_provider
  @cloud_provider
end

#configHash<String,Object>

Corresponds to the JSON property config

Returns:



2320
2321
2322
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2320

def config
  @config
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


2325
2326
2327
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2325

def description
  @description
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


2330
2331
2332
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2330

def display_name
  @display_name
end

#enablement_stateString

Corresponds to the JSON property enablementState

Returns:

  • (String)


2335
2336
2337
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2335

def enablement_state
  @enablement_state
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


2340
2341
2342
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2340

def name
  @name
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


2345
2346
2347
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2345

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2352
2353
2354
2355
2356
2357
2358
2359
2360
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2352

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