Class: Google::Apis::CloudbillingV1beta::MachineType
- Inherits:
-
Object
- Object
- Google::Apis::CloudbillingV1beta::MachineType
- 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 machine series, memory, and number of vCPUs.
Instance Attribute Summary collapse
-
#custom_machine_type ⇒ Google::Apis::CloudbillingV1beta::CustomMachineType
Specification of a custom machine type.
-
#predefined_machine_type ⇒ Google::Apis::CloudbillingV1beta::PredefinedMachineType
Specification of a predefined machine type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MachineType
constructor
A new instance of MachineType.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MachineType
Returns a new instance of MachineType.
2335 2336 2337 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2335 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_machine_type ⇒ Google::Apis::CloudbillingV1beta::CustomMachineType
Specification of a custom machine type.
Corresponds to the JSON property customMachineType
2328 2329 2330 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2328 def custom_machine_type @custom_machine_type end |
#predefined_machine_type ⇒ Google::Apis::CloudbillingV1beta::PredefinedMachineType
Specification of a predefined machine type.
Corresponds to the JSON property predefinedMachineType
2333 2334 2335 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2333 def predefined_machine_type @predefined_machine_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2340 2341 2342 2343 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2340 def update!(**args) @custom_machine_type = args[:custom_machine_type] if args.key?(:custom_machine_type) @predefined_machine_type = args[:predefined_machine_type] if args.key?(:predefined_machine_type) end |