public sealed class ImportEntitiesRequest : IMessage<ImportEntitiesRequest>, IEquatable<ImportEntitiesRequest>, IDeepCloneable<ImportEntitiesRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Datastore v1 API class ImportEntitiesRequest.
The request for [google.datastore.admin.v1.DatastoreAdmin.ImportEntities][google.datastore.admin.v1.DatastoreAdmin.ImportEntities].
Implements
IMessageImportEntitiesRequest, IEquatableImportEntitiesRequest, IDeepCloneableImportEntitiesRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Datastore.Admin.V1Assembly
Google.Cloud.Datastore.Admin.V1.dll
Constructors
ImportEntitiesRequest()
public ImportEntitiesRequest()
ImportEntitiesRequest(ImportEntitiesRequest)
public ImportEntitiesRequest(ImportEntitiesRequest other)
Parameter | |
---|---|
Name | Description |
other | ImportEntitiesRequest |
Properties
EntityFilter
public EntityFilter EntityFilter { get; set; }
Optionally specify which kinds/namespaces are to be imported. If provided, the list must be a subset of the EntityFilter used in creating the export, otherwise a FAILED_PRECONDITION error will be returned. If no filter is specified then all entities from the export are imported.
Property Value | |
---|---|
Type | Description |
EntityFilter |
InputUrl
public string InputUrl { get; set; }
Required. The full resource URL of the external storage location.
Currently, only Google Cloud Storage is supported. So input_url should be
of the form:
gs://BUCKET_NAME[/NAMESPACE_PATH]/OVERALL_EXPORT_METADATA_FILE
, where
BUCKET_NAME
is the name of the Cloud Storage bucket, NAMESPACE_PATH
is
an optional Cloud Storage namespace path (this is not a Cloud Datastore
namespace), and OVERALL_EXPORT_METADATA_FILE
is the metadata file written
by the ExportEntities operation. For more information about Cloud Storage
namespace paths, see
Object name
considerations.
For more information, see [google.datastore.admin.v1.ExportEntitiesResponse.output_url][google.datastore.admin.v1.ExportEntitiesResponse.output_url].
Property Value | |
---|---|
Type | Description |
string |
Labels
public MapField<string, string> Labels { get; }
Client-assigned labels.
Property Value | |
---|---|
Type | Description |
MapFieldstringstring |
ProjectId
public string ProjectId { get; set; }
Required. Project ID against which to make the request.
Property Value | |
---|---|
Type | Description |
string |