Cloud Storage v2 API - Class CreateFolderRequest (1.0.0-beta02)

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.

Inheritance

object > CreateFolderRequest

Namespace

Google.Cloud.Storage.Control.V2

Assembly

Google.Cloud.Storage.Control.V2.dll

Constructors

CreateFolderRequest()

public CreateFolderRequest()

CreateFolderRequest(CreateFolderRequest)

public CreateFolderRequest(CreateFolderRequest other)
Parameter
NameDescription
otherCreateFolderRequest

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
TypeDescription
Folder

FolderId

public string FolderId { get; set; }

Required. The absolute path of the folder, using a single / as delimiter.

Property Value
TypeDescription
string

Parent

public string Parent { get; set; }

Required. Name of the bucket in which the folder will reside.

Property Value
TypeDescription
string

ParentAsBucketName

public BucketName ParentAsBucketName { get; set; }

BucketName-typed view over the Parent resource name property.

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
string