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

public sealed class RenameFolderRequest : IMessage<RenameFolderRequest>, IEquatable<RenameFolderRequest>, IDeepCloneable<RenameFolderRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Storage v2 API class RenameFolderRequest.

Request message for RenameFolder.

Inheritance

object > RenameFolderRequest

Namespace

Google.Cloud.Storage.Control.V2

Assembly

Google.Cloud.Storage.Control.V2.dll

Constructors

RenameFolderRequest()

public RenameFolderRequest()

RenameFolderRequest(RenameFolderRequest)

public RenameFolderRequest(RenameFolderRequest other)
Parameter
NameDescription
otherRenameFolderRequest

Properties

DestinationFolderId

public string DestinationFolderId { get; set; }

Required. The destination folder ID, e.g. foo/bar/.

Property Value
TypeDescription
string

FolderName

public FolderName FolderName { get; set; }

FolderName-typed view over the Name resource name property.

Property Value
TypeDescription
FolderName

HasIfMetagenerationMatch

public bool HasIfMetagenerationMatch { get; }

Gets whether the "if_metageneration_match" field is set

Property Value
TypeDescription
bool

HasIfMetagenerationNotMatch

public bool HasIfMetagenerationNotMatch { get; }

Gets whether the "if_metageneration_not_match" field is set

Property Value
TypeDescription
bool

IfMetagenerationMatch

public long IfMetagenerationMatch { get; set; }

Makes the operation only succeed conditional on whether the source folder's current metageneration matches the given value.

Property Value
TypeDescription
long

IfMetagenerationNotMatch

public long IfMetagenerationNotMatch { get; set; }

Makes the operation only succeed conditional on whether the source folder's current metageneration does not match the given value.

Property Value
TypeDescription
long

Name

public string Name { get; set; }

Required. Name of the source folder being renamed. Format: projects/{project}/buckets/{bucket}/folders/{folder}

Property Value
TypeDescription
string

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