Class BucketsResource.RelocateRequest
Initiates a long-running Relocate Bucket operation on the specified bucket.
Inheritance
BucketsResource.RelocateRequest
Inherited Members
Namespace: Google.Apis.Storage.v1
Assembly: Google.Apis.Storage.v1.dll
Syntax
public class BucketsResource.RelocateRequest : StorageBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
RelocateRequest(IClientService, RelocateBucketRequest, string)
Constructs a new Relocate request.
Declaration
public RelocateRequest(IClientService service, RelocateBucketRequest body, string bucket)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
RelocateBucketRequest | body | |
string | bucket |
Properties
Bucket
Name of the bucket to be moved.
Declaration
[RequestParameter("bucket", RequestParameterType.Path)]
public virtual string Bucket { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Relocate parameter list.
Declaration
protected override void InitParameters()