Class: Google::Apis::ContainerV1beta1::GpuDirectConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/container_v1beta1/classes.rb,
lib/google/apis/container_v1beta1/representations.rb,
lib/google/apis/container_v1beta1/representations.rb

Overview

GPUDirectConfig specifies the GPU direct strategy on the node pool.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GpuDirectConfig

Returns a new instance of GpuDirectConfig.



4061
4062
4063
# File 'lib/google/apis/container_v1beta1/classes.rb', line 4061

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#gpu_direct_strategyString

The type of GPU direct strategy to enable on the node pool. Corresponds to the JSON property gpuDirectStrategy

Returns:

  • (String)


4059
4060
4061
# File 'lib/google/apis/container_v1beta1/classes.rb', line 4059

def gpu_direct_strategy
  @gpu_direct_strategy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4066
4067
4068
# File 'lib/google/apis/container_v1beta1/classes.rb', line 4066

def update!(**args)
  @gpu_direct_strategy = args[:gpu_direct_strategy] if args.key?(:gpu_direct_strategy)
end