Class: Google::Apis::SecuritycenterV1::Simulation
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::Simulation
- 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
Overview
Attack path simulation
Instance Attribute Summary collapse
-
#cloud_provider ⇒ String
Indicates which cloud provider was used in this simulation.
-
#create_time ⇒ String
Output only.
-
#name ⇒ String
Full resource name of the Simulation: organizations/123/simulations/456 Corresponds to the JSON property
name
. -
#resource_value_configs_metadata ⇒ Array<Google::Apis::SecuritycenterV1::ResourceValueConfigMetadata>
Resource value configurations' metadata used in this simulation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Simulation
constructor
A new instance of Simulation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Simulation
Returns a new instance of Simulation.
10409 10410 10411 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10409 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cloud_provider ⇒ String
Indicates which cloud provider was used in this simulation.
Corresponds to the JSON property cloudProvider
10391 10392 10393 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10391 def cloud_provider @cloud_provider end |
#create_time ⇒ String
Output only. Time simulation was created
Corresponds to the JSON property createTime
10396 10397 10398 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10396 def create_time @create_time end |
#name ⇒ String
Full resource name of the Simulation: organizations/123/simulations/456
Corresponds to the JSON property name
10401 10402 10403 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10401 def name @name end |
#resource_value_configs_metadata ⇒ Array<Google::Apis::SecuritycenterV1::ResourceValueConfigMetadata>
Resource value configurations' metadata used in this simulation. Maximum of
100.
Corresponds to the JSON property resourceValueConfigsMetadata
10407 10408 10409 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10407 def @resource_value_configs_metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10414 10415 10416 10417 10418 10419 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10414 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 |