Class ProjectsResource
The "projects" collection of methods.
Inherited Members
Namespace: Google.Apis.Datastore.v1beta1
Assembly: Google.Apis.Datastore.v1beta1.dll
Syntax
public class ProjectsResource
Constructors
ProjectsResource(IClientService)
Constructs a new resource.
Declaration
public ProjectsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Export(GoogleDatastoreAdminV1beta1ExportEntitiesRequest, string)
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.
Declaration
public virtual ProjectsResource.ExportRequest Export(GoogleDatastoreAdminV1beta1ExportEntitiesRequest body, string projectId)
Parameters
Type | Name | Description |
---|---|---|
GoogleDatastoreAdminV1beta1ExportEntitiesRequest | body | The body of the request. |
string | projectId | Project ID against which to make the request. |
Returns
Type | Description |
---|---|
ProjectsResource.ExportRequest |
Import(GoogleDatastoreAdminV1beta1ImportEntitiesRequest, string)
Imports entities into Google Cloud Datastore. Existing entities with the same key are overwritten. The import occurs in the background and its progress can be monitored and managed via the Operation resource that is created. If an ImportEntities operation is cancelled, it is possible that a subset of the data has already been imported to Cloud Datastore.
Declaration
public virtual ProjectsResource.ImportRequest Import(GoogleDatastoreAdminV1beta1ImportEntitiesRequest body, string projectId)
Parameters
Type | Name | Description |
---|---|---|
GoogleDatastoreAdminV1beta1ImportEntitiesRequest | body | The body of the request. |
string | projectId | Project ID against which to make the request. |
Returns
Type | Description |
---|---|
ProjectsResource.ImportRequest |