Class ExportEntitiesRequest (2.0.0)

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

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

Inheritance

Object > ExportEntitiesRequest

Namespace

Google.Cloud.Datastore.Admin.V1

Assembly

Google.Cloud.Datastore.Admin.V1.dll

Constructors

ExportEntitiesRequest()

public ExportEntitiesRequest()

ExportEntitiesRequest(ExportEntitiesRequest)

public ExportEntitiesRequest(ExportEntitiesRequest other)
Parameter
NameDescription
otherExportEntitiesRequest

Properties

EntityFilter

public EntityFilter EntityFilter { get; set; }

Description of what data from the project is included in the export.

Property Value
TypeDescription
EntityFilter

Labels

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

Client-assigned labels.

Property Value
TypeDescription
MapField<String, String>

OutputUrlPrefix

public string OutputUrlPrefix { get; set; }

Required. Location for the export metadata and data files.

The full resource URL of the external storage location. Currently, only Google Cloud Storage is supported. So output_url_prefix should be of the form: gs://BUCKET_NAME[/NAMESPACE_PATH], where BUCKET_NAME is the name of the Cloud Storage bucket and NAMESPACE_PATH is an optional Cloud Storage namespace path (this is not a Cloud Datastore namespace). For more information about Cloud Storage namespace paths, see Object name considerations.

The resulting files will be nested deeper than the specified URL prefix. The final output URL will be provided in the [google.datastore.admin.v1.ExportEntitiesResponse.output_url][google.datastore.admin.v1.ExportEntitiesResponse.output_url] field. That value should be used for subsequent ImportEntities operations.

By nesting the data files deeper, the same Cloud Storage bucket can be used in multiple ExportEntities operations without conflict.

Property Value
TypeDescription
String

ProjectId

public string ProjectId { get; set; }

Required. Project ID against which to make the request.

Property Value
TypeDescription
String