Class ObjectsResource.BulkRestoreRequest
Initiates a long-running bulk restore operation on the specified bucket.
Inheritance
ObjectsResource.BulkRestoreRequest
Inherited Members
Namespace: Google.Apis.Storage.v1
Assembly: Google.Apis.Storage.v1.dll
Syntax
public class ObjectsResource.BulkRestoreRequest : StorageBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
BulkRestoreRequest(IClientService, BulkRestoreObjectsRequest, string)
Constructs a new BulkRestore request.
Declaration
public BulkRestoreRequest(IClientService service, BulkRestoreObjectsRequest body, string bucket)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
BulkRestoreObjectsRequest | body | |
string | bucket |
Properties
Bucket
Name of the bucket in which the object resides.
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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.GoogleLongrunningOperation>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.GoogleLongrunningOperation>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.GoogleLongrunningOperation>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.GoogleLongrunningOperation>.GetBody()
InitParameters()
Initializes BulkRestore parameter list.
Declaration
protected override void InitParameters()