Class: Google::Apis::StorageV1::BucketStorageLayout::HierarchicalNamespace
- Inherits:
-
Object
- Object
- Google::Apis::StorageV1::BucketStorageLayout::HierarchicalNamespace
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/storage_v1/classes.rb,
lib/google/apis/storage_v1/representations.rb,
lib/google/apis/storage_v1/representations.rb
Overview
The bucket's hierarchical namespace configuration.
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean
(also: #enabled?)
When set to true, hierarchical namespace is enabled for this bucket.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HierarchicalNamespace
constructor
A new instance of HierarchicalNamespace.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ HierarchicalNamespace
Returns a new instance of HierarchicalNamespace.
1365 1366 1367 |
# File 'lib/google/apis/storage_v1/classes.rb', line 1365 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enabled ⇒ Boolean Also known as: enabled?
When set to true, hierarchical namespace is enabled for this bucket.
Corresponds to the JSON property enabled
1362 1363 1364 |
# File 'lib/google/apis/storage_v1/classes.rb', line 1362 def enabled @enabled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1370 1371 1372 |
# File 'lib/google/apis/storage_v1/classes.rb', line 1370 def update!(**args) @enabled = args[:enabled] if args.key?(:enabled) end |