Show / Hide Table of Contents

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
object
ClientServiceRequest
ClientServiceRequest<GoogleLongrunningOperation>
DatastoreBaseServiceRequest<GoogleLongrunningOperation>
ProjectsResource.ImportRequest
Implements
IClientServiceRequest<GoogleLongrunningOperation>
IClientServiceRequest
Inherited Members
DatastoreBaseServiceRequest<GoogleLongrunningOperation>.Xgafv
DatastoreBaseServiceRequest<GoogleLongrunningOperation>.AccessToken
DatastoreBaseServiceRequest<GoogleLongrunningOperation>.Alt
DatastoreBaseServiceRequest<GoogleLongrunningOperation>.Callback
DatastoreBaseServiceRequest<GoogleLongrunningOperation>.Fields
DatastoreBaseServiceRequest<GoogleLongrunningOperation>.Key
DatastoreBaseServiceRequest<GoogleLongrunningOperation>.OauthToken
DatastoreBaseServiceRequest<GoogleLongrunningOperation>.PrettyPrint
DatastoreBaseServiceRequest<GoogleLongrunningOperation>.QuotaUser
DatastoreBaseServiceRequest<GoogleLongrunningOperation>.UploadType
DatastoreBaseServiceRequest<GoogleLongrunningOperation>.UploadProtocol
ClientServiceRequest<GoogleLongrunningOperation>.Execute()
ClientServiceRequest<GoogleLongrunningOperation>.ExecuteAsStream()
ClientServiceRequest<GoogleLongrunningOperation>.ExecuteAsync()
ClientServiceRequest<GoogleLongrunningOperation>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleLongrunningOperation>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleLongrunningOperation>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleLongrunningOperation>.CreateRequest(bool?)
ClientServiceRequest<GoogleLongrunningOperation>.GenerateRequestUri()
ClientServiceRequest<GoogleLongrunningOperation>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleLongrunningOperation>.ETagAction
ClientServiceRequest<GoogleLongrunningOperation>.ModifyRequest
ClientServiceRequest<GoogleLongrunningOperation>.ValidateParameters
ClientServiceRequest<GoogleLongrunningOperation>.RequestParameters
ClientServiceRequest<GoogleLongrunningOperation>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Datastore.v1beta1
Assembly: Google.Apis.Datastore.v1beta1.dll
Syntax
public class ProjectsResource.ImportRequest : DatastoreBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest

Constructors

ImportRequest(IClientService, GoogleDatastoreAdminV1beta1ImportEntitiesRequest, string)

Constructs a new Import request.

Declaration
public ImportRequest(IClientService service, GoogleDatastoreAdminV1beta1ImportEntitiesRequest body, string projectId)
Parameters
Type Name Description
IClientService service
GoogleDatastoreAdminV1beta1ImportEntitiesRequest body
string projectId

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datastore.v1beta1.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.Datastore.v1beta1.Data.GoogleLongrunningOperation>.MethodName

ProjectId

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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datastore.v1beta1.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.Datastore.v1beta1.Data.GoogleLongrunningOperation>.GetBody()

InitParameters()

Initializes Import parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Datastore.v1beta1.DatastoreBaseServiceRequest<Google.Apis.Datastore.v1beta1.Data.GoogleLongrunningOperation>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top Generated by DocFX