Class: Google::Apis::HypercomputeclusterV1::GcsHierarchicalNamespaceConfig

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 hierarchical namespace configuration

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GcsHierarchicalNamespaceConfig

Returns a new instance of GcsHierarchicalNamespaceConfig.



824
825
826
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 824

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

Instance Attribute Details

#enabledBoolean Also known as: enabled?

Required. Enables hierarchical namespace setup for the bucket. Corresponds to the JSON property enabled

Returns:

  • (Boolean)


821
822
823
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 821

def enabled
  @enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



829
830
831
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 829

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