Class: Google::Apis::ComputeAlpha::InstancesSetMachineResourcesRequest
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::InstancesSetMachineResourcesRequest
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
-
#guest_accelerators ⇒ Array<Google::Apis::ComputeAlpha::AcceleratorConfig>
A list of the type and count of accelerator cards attached to the instance.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InstancesSetMachineResourcesRequest
constructor
A new instance of InstancesSetMachineResourcesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InstancesSetMachineResourcesRequest
Returns a new instance of InstancesSetMachineResourcesRequest.
16709 16710 16711 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 16709 def initialize(**args) update!(**args) end |
Instance Attribute Details
#guest_accelerators ⇒ Array<Google::Apis::ComputeAlpha::AcceleratorConfig>
A list of the type and count of accelerator cards attached to the instance.
Corresponds to the JSON property guestAccelerators
16707 16708 16709 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 16707 def guest_accelerators @guest_accelerators end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16714 16715 16716 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 16714 def update!(**args) @guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators) end |