Class ProjectsResource.ExportRequest
Exports a copy of all or a subset of entities from Google Cloud Datastore to another storage system, such as Google Cloud Storage. Recent updates to entities may not be reflected in the export. The export occurs in the background and its progress can be monitored and managed via the Operation resource that is created. The output of an export may only be used once the associated operation is done. If an export operation is cancelled before completion it may leave partial data behind in Google Cloud Storage.
Inheritance
ProjectsResource.ExportRequest
Inherited Members
Namespace: Google.Apis.Datastore.v1
Assembly: Google.Apis.Datastore.v1.dll
Syntax
public class ProjectsResource.ExportRequest : DatastoreBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
ExportRequest(IClientService, GoogleDatastoreAdminV1ExportEntitiesRequest, string)
Constructs a new Export request.
Declaration
public ExportRequest(IClientService service, GoogleDatastoreAdminV1ExportEntitiesRequest body, string projectId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleDatastoreAdminV1ExportEntitiesRequest | body | |
string | projectId |
Properties
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
ProjectId
Required. Project ID against which to make the request.
Declaration
[RequestParameter("projectId", RequestParameterType.Path)]
public virtual string ProjectId { 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 Export parameter list.
Declaration
protected override void InitParameters()