Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule

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

Returns a new instance of GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule.



4275
4276
4277
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4275

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

Instance Attribute Details

#ancestor_moduleString

Corresponds to the JSON property ancestorModule

Returns:

  • (String)


4238
4239
4240
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4238

def ancestor_module
  @ancestor_module
end

#cloud_providerString

Corresponds to the JSON property cloudProvider

Returns:

  • (String)


4243
4244
4245
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4243

def cloud_provider
  @cloud_provider
end

#custom_configGoogle::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1CustomConfig

Corresponds to the JSON property customConfig



4248
4249
4250
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4248

def custom_config
  @custom_config
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


4253
4254
4255
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4253

def display_name
  @display_name
end

#enablement_stateString

Corresponds to the JSON property enablementState

Returns:

  • (String)


4258
4259
4260
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4258

def enablement_state
  @enablement_state
end

#last_editorString

Corresponds to the JSON property lastEditor

Returns:

  • (String)


4263
4264
4265
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4263

def last_editor
  @last_editor
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


4268
4269
4270
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4268

def name
  @name
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


4273
4274
4275
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4273

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4280

def update!(**args)
  @ancestor_module = args[:ancestor_module] if args.key?(:ancestor_module)
  @cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider)
  @custom_config = args[:custom_config] if args.key?(:custom_config)
  @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)
  @update_time = args[:update_time] if args.key?(:update_time)
end