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.



13007
13008
13009
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13007

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

Instance Attribute Details

#cloud_providerString

Corresponds to the JSON property cloudProvider

Returns:

  • (String)


12990
12991
12992
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12990

def cloud_provider
  @cloud_provider
end

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


12995
12996
12997
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12995

def create_time
  @create_time
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


13000
13001
13002
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13000

def name
  @name
end

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

Corresponds to the JSON property resourceValueConfigsMetadata



13005
13006
13007
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13005

def 
  @resource_value_configs_metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13012
13013
13014
13015
13016
13017
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13012

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