google_api_datastore v0.4.0 GoogleApi.Datastore.V1.Model.GoogleDatastoreAdminV1ExportEntitiesRequest View Source
The request for google.datastore.admin.v1.DatastoreAdmin.ExportEntities.
Attributes
- entityFilter (GoogleApi.Datastore.V1.Model.GoogleDatastoreAdminV1EntityFilter.t): Description of what data from the project is included in the export. Defaults to
nil
. - labels (map()): Client-assigned labels. Defaults to
nil
. - outputUrlPrefix (String.t): 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 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. Defaults to nil
.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
t()
View Source
t() ::
%GoogleApi.Datastore.V1.Model.GoogleDatastoreAdminV1ExportEntitiesRequest{
entityFilter:
GoogleApi.Datastore.V1.Model.GoogleDatastoreAdminV1EntityFilter.t(),
labels: map(),
outputUrlPrefix: String.t()
}
t() :: %GoogleApi.Datastore.V1.Model.GoogleDatastoreAdminV1ExportEntitiesRequest{ entityFilter: GoogleApi.Datastore.V1.Model.GoogleDatastoreAdminV1EntityFilter.t(), labels: map(), outputUrlPrefix: String.t() }
Link to this section Functions
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.