Class ProjectsResource.ImportRequest
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.
Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<GoogleLongrunningOperation>
ProjectsResource.ImportRequest
Implements
Google.Apis.Requests.IClientServiceRequest<GoogleLongrunningOperation>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datastore.v1.Data.GoogleLongrunningOperation>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datastore.v1.Data.GoogleLongrunningOperation>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datastore.v1.Data.GoogleLongrunningOperation>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datastore.v1.Data.GoogleLongrunningOperation>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datastore.v1.Data.GoogleLongrunningOperation>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datastore.v1.Data.GoogleLongrunningOperation>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datastore.v1.Data.GoogleLongrunningOperation>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datastore.v1.Data.GoogleLongrunningOperation>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datastore.v1.Data.GoogleLongrunningOperation>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datastore.v1.Data.GoogleLongrunningOperation>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datastore.v1.Data.GoogleLongrunningOperation>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datastore.v1.Data.GoogleLongrunningOperation>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datastore.v1.Data.GoogleLongrunningOperation>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Datastore.v1
Assembly: Google.Apis.Datastore.v1.dll
Syntax
public class ImportRequest : DatastoreBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
ImportRequest(IClientService, GoogleDatastoreAdminV1ImportEntitiesRequest, String)
Constructs a new Import request.
Declaration
public ImportRequest(IClientService service, GoogleDatastoreAdminV1ImportEntitiesRequest body, string projectId)
Parameters
| Type | Name | Description |
|---|---|---|
| Google.Apis.Services.IClientService | service | |
| GoogleDatastoreAdminV1ImportEntitiesRequest | body | |
| System.String | projectId |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datastore.v1.Data.GoogleLongrunningOperation>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datastore.v1.Data.GoogleLongrunningOperation>.MethodName
ProjectId
Required. Project ID against which to make the request.
Declaration
[RequestParameter("projectId", RequestParameterType.Path)]
public virtual string ProjectId { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datastore.v1.Data.GoogleLongrunningOperation>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datastore.v1.Data.GoogleLongrunningOperation>.GetBody()
InitParameters()
Initializes Import parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Datastore.v1.DatastoreBaseServiceRequest<Google.Apis.Datastore.v1.Data.GoogleLongrunningOperation>.InitParameters()
Implements
Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest