Class: Google::Apis::CloudbillingV1beta::PredefinedMachineType

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

Constructor Details

#initialize(**args) ⇒ PredefinedMachineType

Returns a new instance of PredefinedMachineType.



2450
2451
2452
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2450

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#machine_typeString

The machine type. For example: "n1-standard1". Corresponds to the JSON property machineType

Returns:

  • (String)


2448
2449
2450
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2448

def machine_type
  @machine_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2455
2456
2457
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2455

def update!(**args)
  @machine_type = args[:machine_type] if args.key?(:machine_type)
end