Cloud Run V2 API - Class Google::Cloud::Run::V2::NodeSelector (v0.20.0)

Reference documentation and code samples for the Cloud Run V2 API class Google::Cloud::Run::V2::NodeSelector.

Hardware constraints configuration.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#accelerator

def accelerator() -> ::String
Returns
  • (::String) — Required. GPU accelerator type to attach to an instance.

#accelerator=

def accelerator=(value) -> ::String
Parameter
  • value (::String) — Required. GPU accelerator type to attach to an instance.
Returns
  • (::String) — Required. GPU accelerator type to attach to an instance.