Class: Google::Apis::ComputeBeta::SourceInstanceParams
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::SourceInstanceParams
- Defined in:
- generated/google/apis/compute_beta/classes.rb,
generated/google/apis/compute_beta/representations.rb,
generated/google/apis/compute_beta/representations.rb
Overview
A specification of the parameters to use when creating the instance template from a source instance.
Instance Attribute Summary collapse
-
#disk_configs ⇒ Array<Google::Apis::ComputeBeta::DiskInstantiationConfig>
Attached disks configuration.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SourceInstanceParams
constructor
A new instance of SourceInstanceParams.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ SourceInstanceParams
Returns a new instance of SourceInstanceParams
22035 22036 22037 |
# File 'generated/google/apis/compute_beta/classes.rb', line 22035 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disk_configs ⇒ Array<Google::Apis::ComputeBeta::DiskInstantiationConfig>
Attached disks configuration. If not provided, defaults are applied: For boot
disk and any other R/W disks, new custom images will be created from each disk.
For read-only disks, they will be attached in read-only mode. Local SSD disks
will be created as blank volumes.
Corresponds to the JSON property diskConfigs
22033 22034 22035 |
# File 'generated/google/apis/compute_beta/classes.rb', line 22033 def disk_configs @disk_configs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
22040 22041 22042 |
# File 'generated/google/apis/compute_beta/classes.rb', line 22040 def update!(**args) @disk_configs = args[:disk_configs] if args.key?(:disk_configs) end |