Class: Google::Cloud::Storage::Control::V2::CreateFolderRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Storage::Control::V2::CreateFolderRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/storage/control/v2/storage_control.rb
Overview
Request message for CreateFolder. This operation is only applicable to a hierarchical namespace enabled bucket.
Instance Attribute Summary collapse
-
#folder ⇒ ::Google::Cloud::Storage::Control::V2::Folder
Required.
-
#folder_id ⇒ ::String
Required.
-
#parent ⇒ ::String
Required.
-
#recursive ⇒ ::Boolean
Optional.
-
#request_id ⇒ ::String
Optional.
Instance Attribute Details
#folder ⇒ ::Google::Cloud::Storage::Control::V2::Folder
Returns Required. Properties of the new folder being created.
The bucket and name of the folder are specified in the parent and folder_id
fields, respectively. Populating those fields in folder
will result in an
error.
112 113 114 115 |
# File 'proto_docs/google/storage/control/v2/storage_control.rb', line 112 class CreateFolderRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#folder_id ⇒ ::String
Returns Required. The full name of a folder, including all its parent folders. Folders use single '/' characters as a delimiter. The folder_id must end with a slash. For example, the folder_id of "books/biographies/" would create a new "biographies/" folder under the "books/" folder.
112 113 114 115 |
# File 'proto_docs/google/storage/control/v2/storage_control.rb', line 112 class CreateFolderRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#parent ⇒ ::String
Returns Required. Name of the bucket in which the folder will reside. The bucket must be a hierarchical namespace enabled bucket.
112 113 114 115 |
# File 'proto_docs/google/storage/control/v2/storage_control.rb', line 112 class CreateFolderRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#recursive ⇒ ::Boolean
Returns Optional. If true, parent folder doesn't have to be present and all missing ancestor folders will be created atomically.
112 113 114 115 |
# File 'proto_docs/google/storage/control/v2/storage_control.rb', line 112 class CreateFolderRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#request_id ⇒ ::String
Returns Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.
112 113 114 115 |
# File 'proto_docs/google/storage/control/v2/storage_control.rb', line 112 class CreateFolderRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |