Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::Accelerators (v2.11.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::Accelerators.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#guest_accelerator_count

def guest_accelerator_count() -> ::Integer
Returns
  • (::Integer) — Number of accelerator cards exposed to the guest.

#guest_accelerator_count=

def guest_accelerator_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Number of accelerator cards exposed to the guest.
Returns
  • (::Integer) — Number of accelerator cards exposed to the guest.

#guest_accelerator_type

def guest_accelerator_type() -> ::String
Returns
  • (::String) — The accelerator type resource name, not a full URL, e.g. nvidia-tesla-t4.

#guest_accelerator_type=

def guest_accelerator_type=(value) -> ::String
Parameter
  • value (::String) — The accelerator type resource name, not a full URL, e.g. nvidia-tesla-t4.
Returns
  • (::String) — The accelerator type resource name, not a full URL, e.g. nvidia-tesla-t4.