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.
2971 2972 2973 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2971 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
2969 2970 2971 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2969 def code @code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2976 2977 2978 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2976 def update!(**args) @code = args[:code] if args.key?(:code) end |