Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::InstancesSetMachineResourcesRequest.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#guest_accelerators
def guest_accelerators() -> ::Array<::Google::Cloud::Compute::V1::AcceleratorConfig>
Returns
- (::Array<::Google::Cloud::Compute::V1::AcceleratorConfig>) — A list of the type and count of accelerator cards attached to the instance.
#guest_accelerators=
def guest_accelerators=(value) -> ::Array<::Google::Cloud::Compute::V1::AcceleratorConfig>
Parameter
- value (::Array<::Google::Cloud::Compute::V1::AcceleratorConfig>) — A list of the type and count of accelerator cards attached to the instance.
Returns
- (::Array<::Google::Cloud::Compute::V1::AcceleratorConfig>) — A list of the type and count of accelerator cards attached to the instance.