Class: Google::Apis::ContainerV1::ParallelstoreCsiDriverConfig

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

Overview

Configuration for the Cloud Storage Parallelstore CSI driver.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ParallelstoreCsiDriverConfig

Returns a new instance of ParallelstoreCsiDriverConfig.



5550
5551
5552
# File 'lib/google/apis/container_v1/classes.rb', line 5550

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

Instance Attribute Details

#enabledBoolean Also known as: enabled?

Whether the Cloud Storage Parallelstore CSI driver is enabled for this cluster. Corresponds to the JSON property enabled

Returns:

  • (Boolean)


5547
5548
5549
# File 'lib/google/apis/container_v1/classes.rb', line 5547

def enabled
  @enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5555
5556
5557
# File 'lib/google/apis/container_v1/classes.rb', line 5555

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