Class: Google::Apis::MigrationcenterV1::MachineSeries

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#codeString

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

Returns:

  • (String)


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