Class: Google::Apis::MigrationcenterV1alpha1::MachineSeries
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::MachineSeries
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/migrationcenter_v1alpha1/classes.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb
Overview
A machine series, for a target product (e.g. Compute Engine, Google Cloud VMware Engine).
Instance Attribute Summary collapse
-
#code ⇒ String
Code to identify a machine series.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MachineSeries
constructor
A new instance of MachineSeries.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MachineSeries
Returns a new instance of MachineSeries.
4081 4082 4083 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4081 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code ⇒ String
Code to identify a machine series. Consult this for more details on the
available series for Compute Engine: https://cloud.google.com/compute/docs/
machine-resource#machine_type_comparison Consult this for more details on the
available series for Google Cloud VMware Engine: https://cloud.google.com/
vmware-engine/pricing
Corresponds to the JSON property code
4079 4080 4081 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4079 def code @code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4086 4087 4088 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4086 def update!(**args) @code = args[:code] if args.key?(:code) end |