Class: Google::Apis::ComputeBeta::InstancesSetMachineResourcesRequest
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::InstancesSetMachineResourcesRequest
- Defined in:
- generated/google/apis/compute_beta/classes.rb,
generated/google/apis/compute_beta/representations.rb,
generated/google/apis/compute_beta/representations.rb
Instance Attribute Summary collapse
-
#guest_accelerators ⇒ Array<Google::Apis::ComputeBeta::AcceleratorConfig>
Corresponds to the JSON property
guestAccelerators.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InstancesSetMachineResourcesRequest
constructor
A new instance of InstancesSetMachineResourcesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ InstancesSetMachineResourcesRequest
Returns a new instance of InstancesSetMachineResourcesRequest
6709 6710 6711 |
# File 'generated/google/apis/compute_beta/classes.rb', line 6709 def initialize(**args) update!(**args) end |
Instance Attribute Details
#guest_accelerators ⇒ Array<Google::Apis::ComputeBeta::AcceleratorConfig>
Corresponds to the JSON property guestAccelerators
6707 6708 6709 |
# File 'generated/google/apis/compute_beta/classes.rb', line 6707 def guest_accelerators @guest_accelerators end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6714 6715 6716 |
# File 'generated/google/apis/compute_beta/classes.rb', line 6714 def update!(**args) @guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators) end |