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.



13107
13108
13109
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13107

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

Instance Attribute Details

#cloud_providerString

Corresponds to the JSON property cloudProvider

Returns:

  • (String)


13090
13091
13092
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13090

def cloud_provider
  @cloud_provider
end

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


13095
13096
13097
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13095

def create_time
  @create_time
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


13100
13101
13102
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13100

def name
  @name
end

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

Corresponds to the JSON property resourceValueConfigsMetadata



13105
13106
13107
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13105

def 
  @resource_value_configs_metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13112
13113
13114
13115
13116
13117
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13112

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