Class: Google::Cloud::Storage::Control::V2::StorageLayout
- Inherits:
-
Object
- Object
- Google::Cloud::Storage::Control::V2::StorageLayout
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/storage/control/v2/storage_control.rb
Overview
The storage layout configuration of a bucket.
Defined Under Namespace
Classes: CustomPlacementConfig, HierarchicalNamespace
Instance Attribute Summary collapse
-
#custom_placement_config ⇒ ::Google::Cloud::Storage::Control::V2::StorageLayout::CustomPlacementConfig
readonly
Output only.
-
#hierarchical_namespace ⇒ ::Google::Cloud::Storage::Control::V2::StorageLayout::HierarchicalNamespace
readonly
Output only.
-
#location ⇒ ::String
readonly
Output only.
-
#location_type ⇒ ::String
readonly
Output only.
-
#name ⇒ ::String
readonly
Output only.
Instance Attribute Details
#custom_placement_config ⇒ ::Google::Cloud::Storage::Control::V2::StorageLayout::CustomPlacementConfig (readonly)
Returns Output only. The data placement configuration for custom dual region. If there is no configuration, this is not a custom dual region bucket.
287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 |
# File 'proto_docs/google/storage/control/v2/storage_control.rb', line 287 class StorageLayout include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Configuration for Custom Dual Regions. It should specify precisely two # eligible regions within the same Multiregion. More information on regions # may be found [https://cloud.google.com/storage/docs/locations][here]. # @!attribute [rw] data_locations # @return [::Array<::String>] # List of locations to use for data placement. class CustomPlacementConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Configuration for a bucket's hierarchical namespace feature. # @!attribute [rw] enabled # @return [::Boolean] # Enables the hierarchical namespace feature. class HierarchicalNamespace include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#hierarchical_namespace ⇒ ::Google::Cloud::Storage::Control::V2::StorageLayout::HierarchicalNamespace (readonly)
Returns Output only. The bucket's hierarchical namespace configuration. If there is no configuration, the hierarchical namespace is disabled.
287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 |
# File 'proto_docs/google/storage/control/v2/storage_control.rb', line 287 class StorageLayout include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Configuration for Custom Dual Regions. It should specify precisely two # eligible regions within the same Multiregion. More information on regions # may be found [https://cloud.google.com/storage/docs/locations][here]. # @!attribute [rw] data_locations # @return [::Array<::String>] # List of locations to use for data placement. class CustomPlacementConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Configuration for a bucket's hierarchical namespace feature. # @!attribute [rw] enabled # @return [::Boolean] # Enables the hierarchical namespace feature. class HierarchicalNamespace include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#location ⇒ ::String (readonly)
Returns Output only. The location of the bucket.
287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 |
# File 'proto_docs/google/storage/control/v2/storage_control.rb', line 287 class StorageLayout include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Configuration for Custom Dual Regions. It should specify precisely two # eligible regions within the same Multiregion. More information on regions # may be found [https://cloud.google.com/storage/docs/locations][here]. # @!attribute [rw] data_locations # @return [::Array<::String>] # List of locations to use for data placement. class CustomPlacementConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Configuration for a bucket's hierarchical namespace feature. # @!attribute [rw] enabled # @return [::Boolean] # Enables the hierarchical namespace feature. class HierarchicalNamespace include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#location_type ⇒ ::String (readonly)
Returns Output only. The location type of the bucket (region, dual-region, multi-region, etc).
287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 |
# File 'proto_docs/google/storage/control/v2/storage_control.rb', line 287 class StorageLayout include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Configuration for Custom Dual Regions. It should specify precisely two # eligible regions within the same Multiregion. More information on regions # may be found [https://cloud.google.com/storage/docs/locations][here]. # @!attribute [rw] data_locations # @return [::Array<::String>] # List of locations to use for data placement. class CustomPlacementConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Configuration for a bucket's hierarchical namespace feature. # @!attribute [rw] enabled # @return [::Boolean] # Enables the hierarchical namespace feature. class HierarchicalNamespace include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#name ⇒ ::String (readonly)
Returns Output only. The name of the StorageLayout resource.
Format: projects/{project}/buckets/{bucket}/storageLayout
.
287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 |
# File 'proto_docs/google/storage/control/v2/storage_control.rb', line 287 class StorageLayout include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Configuration for Custom Dual Regions. It should specify precisely two # eligible regions within the same Multiregion. More information on regions # may be found [https://cloud.google.com/storage/docs/locations][here]. # @!attribute [rw] data_locations # @return [::Array<::String>] # List of locations to use for data placement. class CustomPlacementConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Configuration for a bucket's hierarchical namespace feature. # @!attribute [rw] enabled # @return [::Boolean] # Enables the hierarchical namespace feature. class HierarchicalNamespace include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |