Class: Google::Apis::CloudbillingV1beta::PredefinedMachineType
- Inherits:
-
Object
- Object
- Google::Apis::CloudbillingV1beta::PredefinedMachineType
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudbilling_v1beta/classes.rb,
lib/google/apis/cloudbilling_v1beta/representations.rb,
lib/google/apis/cloudbilling_v1beta/representations.rb
Overview
Specification of a predefined machine type.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ PredefinedMachineType
constructor
A new instance of PredefinedMachineType.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PredefinedMachineType
Returns a new instance of PredefinedMachineType.
2444 2445 2446 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2444 def initialize(**args) update!(**args) end |
Instance Attribute Details
#machine_type ⇒ String
The machine type. For
example: "n1-standard1".
Corresponds to the JSON property machineType
2442 2443 2444 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2442 def machine_type @machine_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2449 2450 2451 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2449 def update!(**args) @machine_type = args[:machine_type] if args.key?(:machine_type) end |