Class ImportEntitiesRequest (1.2.0)

public sealed class ImportEntitiesRequest : IMessage<ImportEntitiesRequest>, IEquatable<ImportEntitiesRequest>, IDeepCloneable<ImportEntitiesRequest>, IBufferMessage, IMessage

The request for [google.datastore.admin.v1.DatastoreAdmin.ImportEntities][google.datastore.admin.v1.DatastoreAdmin.ImportEntities].

Inheritance

Object > ImportEntitiesRequest

Namespace

Google.Cloud.Datastore.Admin.V1

Assembly

Google.Cloud.Datastore.Admin.V1.dll

Constructors

ImportEntitiesRequest()

public ImportEntitiesRequest()

ImportEntitiesRequest(ImportEntitiesRequest)

public ImportEntitiesRequest(ImportEntitiesRequest other)
Parameter
NameDescription
otherImportEntitiesRequest

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
TypeDescription
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
TypeDescription
String

Labels

public MapField<string, string> Labels { get; }

Client-assigned labels.

Property Value
TypeDescription
MapField<String, String>

ProjectId

public string ProjectId { get; set; }

Required. Project ID against which to make the request.

Property Value
TypeDescription
String