Class Google::Cloud::Compute::V1::Accelerators (v1.2.0)

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-k80'.

#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-k80'.
Returns
  • (::String) — The accelerator type resource name, not a full URL, e.g. 'nvidia-tesla-k80'.