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
Instance Attribute Summary collapse
-
#cloud_provider ⇒ String
Corresponds to the JSON property
cloudProvider. -
#create_time ⇒ String
Corresponds to the JSON property
createTime. -
#name ⇒ String
Corresponds to the JSON property
name. -
#resource_value_configs_metadata ⇒ Array<Google::Apis::SecuritycenterV1::ResourceValueConfigMetadata>
Corresponds to the JSON property
resourceValueConfigsMetadata.
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.
13007 13008 13009 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13007 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cloud_provider ⇒ String
Corresponds to the JSON property cloudProvider
12990 12991 12992 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12990 def cloud_provider @cloud_provider end |
#create_time ⇒ String
Corresponds to the JSON property createTime
12995 12996 12997 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12995 def create_time @create_time end |
#name ⇒ String
Corresponds to the JSON property name
13000 13001 13002 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13000 def name @name end |
#resource_value_configs_metadata ⇒ Array<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 |