Class: Google::Apis::SecuritycenterV1::Simulation

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

Returns a new instance of Simulation.



13417
13418
13419
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13417

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

Instance Attribute Details

#cloud_providerString

Corresponds to the JSON property cloudProvider

Returns:

  • (String)


13400
13401
13402
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13400

def cloud_provider
  @cloud_provider
end

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


13405
13406
13407
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13405

def create_time
  @create_time
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


13410
13411
13412
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13410

def name
  @name
end

#resource_value_configs_metadataArray<Google::Apis::SecuritycenterV1::ResourceValueConfigMetadata>

Corresponds to the JSON property resourceValueConfigsMetadata



13415
13416
13417
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13415

def 
  @resource_value_configs_metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13422
13423
13424
13425
13426
13427
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13422

def update!(**args)
  @cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider)
  @create_time = args[:create_time] if args.key?(:create_time)
  @name = args[:name] if args.key?(:name)
  @resource_value_configs_metadata = args[:resource_value_configs_metadata] if args.key?(:resource_value_configs_metadata)
end