Show / Hide Table of Contents

Class FoldersResource.RenameRequest

Renames a source folder to a destination folder. Only applicable to buckets with hierarchical namespace enabled.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleLongrunningOperation>
StorageBaseServiceRequest<GoogleLongrunningOperation>
FoldersResource.RenameRequest
Implements
IClientServiceRequest<GoogleLongrunningOperation>
IClientServiceRequest
Inherited Members
StorageBaseServiceRequest<GoogleLongrunningOperation>.Alt
StorageBaseServiceRequest<GoogleLongrunningOperation>.Fields
StorageBaseServiceRequest<GoogleLongrunningOperation>.Key
StorageBaseServiceRequest<GoogleLongrunningOperation>.OauthToken
StorageBaseServiceRequest<GoogleLongrunningOperation>.PrettyPrint
StorageBaseServiceRequest<GoogleLongrunningOperation>.QuotaUser
StorageBaseServiceRequest<GoogleLongrunningOperation>.UploadType
StorageBaseServiceRequest<GoogleLongrunningOperation>.UserIp
ClientServiceRequest<GoogleLongrunningOperation>.Execute()
ClientServiceRequest<GoogleLongrunningOperation>.ExecuteAsStream()
ClientServiceRequest<GoogleLongrunningOperation>.ExecuteAsync()
ClientServiceRequest<GoogleLongrunningOperation>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleLongrunningOperation>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleLongrunningOperation>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleLongrunningOperation>.CreateRequest(bool?)
ClientServiceRequest<GoogleLongrunningOperation>.GenerateRequestUri()
ClientServiceRequest<GoogleLongrunningOperation>.GetBody()
ClientServiceRequest<GoogleLongrunningOperation>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleLongrunningOperation>.ETagAction
ClientServiceRequest<GoogleLongrunningOperation>.ModifyRequest
ClientServiceRequest<GoogleLongrunningOperation>.ValidateParameters
ClientServiceRequest<GoogleLongrunningOperation>.ApiVersion
ClientServiceRequest<GoogleLongrunningOperation>.RequestParameters
ClientServiceRequest<GoogleLongrunningOperation>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Storage.v1
Assembly: Google.Apis.Storage.v1.dll
Syntax
public class FoldersResource.RenameRequest : StorageBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest

Constructors

RenameRequest(IClientService, string, string, string)

Constructs a new Rename request.

Declaration
public RenameRequest(IClientService service, string bucket, string sourceFolder, string destinationFolder)
Parameters
Type Name Description
IClientService service
string bucket
string sourceFolder
string destinationFolder

Properties

Bucket

Name of the bucket in which the folders are in.

Declaration
[RequestParameter("bucket", RequestParameterType.Path)]
public virtual string Bucket { get; }
Property Value
Type Description
string

DestinationFolder

Name of the destination folder.

Declaration
[RequestParameter("destinationFolder", RequestParameterType.Path)]
public virtual string DestinationFolder { get; }
Property Value
Type Description
string

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleLongrunningOperation>.HttpMethod

IfSourceMetagenerationMatch

Makes the operation conditional on whether the source object's current metageneration matches the given value.

Declaration
[RequestParameter("ifSourceMetagenerationMatch", RequestParameterType.Query)]
public virtual long? IfSourceMetagenerationMatch { get; set; }
Property Value
Type Description
long?

IfSourceMetagenerationNotMatch

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

Declaration
[RequestParameter("ifSourceMetagenerationNotMatch", RequestParameterType.Query)]
public virtual long? IfSourceMetagenerationNotMatch { get; set; }
Property Value
Type Description
long?

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleLongrunningOperation>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleLongrunningOperation>.RestPath

SourceFolder

Name of the source folder.

Declaration
[RequestParameter("sourceFolder", RequestParameterType.Path)]
public virtual string SourceFolder { get; }
Property Value
Type Description
string

Methods

InitParameters()

Initializes Rename parameter list.

Declaration
protected override void InitParameters()
Overrides
StorageBaseServiceRequest<GoogleLongrunningOperation>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX