Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::AllocationAggregateReservationReservedResourceInfoAccelerator (v2.8.0)

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#accelerator_count

def accelerator_count() -> ::Integer
Returns
  • (::Integer) — Number of accelerators of specified type.

#accelerator_count=

def accelerator_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Number of accelerators of specified type.
Returns
  • (::Integer) — Number of accelerators of specified type.

#accelerator_type

def accelerator_type() -> ::String
Returns
  • (::String) — Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l"

#accelerator_type=

def accelerator_type=(value) -> ::String
Parameter
  • value (::String) — Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l"
Returns
  • (::String) — Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l"