public sealed class CreateFolderRequest : IMessage<CreateFolderRequest>, IEquatable<CreateFolderRequest>, IDeepCloneable<CreateFolderRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Storage v2 API class CreateFolderRequest.
Request message for CreateFolder.
Implements
IMessageCreateFolderRequest, IEquatableCreateFolderRequest, IDeepCloneableCreateFolderRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Storage.Control.V2Assembly
Google.Cloud.Storage.Control.V2.dll
Constructors
CreateFolderRequest()
public CreateFolderRequest()
CreateFolderRequest(CreateFolderRequest)
public CreateFolderRequest(CreateFolderRequest other)
Parameter | |
---|---|
Name | Description |
other | CreateFolderRequest |
Properties
Folder
public Folder Folder { get; set; }
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.
Property Value | |
---|---|
Type | Description |
Folder |
FolderId
public string FolderId { get; set; }
Required. The absolute path of the folder, using a single /
as delimiter.
Property Value | |
---|---|
Type | Description |
string |
Parent
public string Parent { get; set; }
Required. Name of the bucket in which the folder will reside.
Property Value | |
---|---|
Type | Description |
string |
ParentAsBucketName
public BucketName ParentAsBucketName { get; set; }
BucketName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
BucketName |
Recursive
public bool Recursive { get; set; }
Optional. If true, parent folder doesn't have to be present and all missing ancestor folders will be created atomically.
Property Value | |
---|---|
Type | Description |
bool |
RequestId
public string RequestId { get; set; }
Optional. A unique identifier for this request. UUID is the recommended
format, but other formats are still accepted. This request is only
idempotent if a request_id
is provided.
Property Value | |
---|---|
Type | Description |
string |