Class OperationsResource.AdvanceRelocateBucketRequest
Starts asynchronous advancement of the relocate bucket operation in the case of required write downtime, to allow it to lock the bucket at the source location, and proceed with the bucket location swap. The server makes a best effort to advance the relocate bucket operation, but success is not guaranteed.
Inheritance
OperationsResource.AdvanceRelocateBucketRequest
Inherited Members
Namespace: Google.Apis.Storage.v1
Assembly: Google.Apis.Storage.v1.dll
Syntax
public class OperationsResource.AdvanceRelocateBucketRequest : StorageBaseServiceRequest<string>, IClientServiceRequest<string>, IClientServiceRequest
Constructors
AdvanceRelocateBucketRequest(IClientService, AdvanceRelocateBucketOperationRequest, string, string)
Constructs a new AdvanceRelocateBucket request.
Declaration
public AdvanceRelocateBucketRequest(IClientService service, AdvanceRelocateBucketOperationRequest body, string bucket, string operationId)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| AdvanceRelocateBucketOperationRequest | body | |
| string | bucket | |
| string | operationId |
Properties
Bucket
Name of the bucket to advance the relocate for.
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
OperationId
ID of the operation resource.
Declaration
[RequestParameter("operationId", RequestParameterType.Path)]
public virtual string OperationId { get; }
Property Value
| Type | Description |
|---|---|
| string |
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 AdvanceRelocateBucket parameter list.
Declaration
protected override void InitParameters()