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.



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

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)


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

def enabled
  @enabled
end

#terminal_storage_classString

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

Returns:

  • (String)


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

def terminal_storage_class
  @terminal_storage_class
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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