Class: Google::Apis::ContainerV1beta1::NodeKernelModuleLoading

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

Configuration for kernel module loading on nodes.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NodeKernelModuleLoading

Returns a new instance of NodeKernelModuleLoading.



7094
7095
7096
# File 'lib/google/apis/container_v1beta1/classes.rb', line 7094

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

Instance Attribute Details

#policyString

Set the node module loading policy for nodes in the node pool. Corresponds to the JSON property policy

Returns:

  • (String)


7092
7093
7094
# File 'lib/google/apis/container_v1beta1/classes.rb', line 7092

def policy
  @policy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7099
7100
7101
# File 'lib/google/apis/container_v1beta1/classes.rb', line 7099

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