Class: Google::Apis::HypercomputeclusterV1::GcsAutoclassConfig

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

Overview

Message describing Google Cloud Storage autoclass configuration

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GcsAutoclassConfig

Returns a new instance of GcsAutoclassConfig.



803
804
805
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 803

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

Instance Attribute Details

#enabledBoolean Also known as: enabled?

Required. Enables Auto-class feature. Corresponds to the JSON property enabled

Returns:

  • (Boolean)


795
796
797
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 795

def enabled
  @enabled
end

#terminal_storage_classString

Optional. Terminal storage class of the autoclass bucket Corresponds to the JSON property terminalStorageClass

Returns:

  • (String)


801
802
803
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 801

def terminal_storage_class
  @terminal_storage_class
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



808
809
810
811
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 808

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