Class: Google::Apis::MigrationcenterV1::MachineSeries
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1::MachineSeries
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/migrationcenter_v1/classes.rb,
lib/google/apis/migrationcenter_v1/representations.rb,
lib/google/apis/migrationcenter_v1/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.
2896 2897 2898 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2896 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
2894 2895 2896 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2894 def code @code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2901 2902 2903 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2901 def update!(**args) @code = args[:code] if args.key?(:code) end |