google_api_datastore v0.2.0 GoogleApi.Datastore.V1.Model.GoogleDatastoreAdminV1ImportEntitiesRequest View Source

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

Attributes

  • entityFilter (GoogleDatastoreAdminV1EntityFilter): 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. Defaults to: null.
  • inputUrl (String.t): 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. Defaults to: null.
  • labels (%{optional(String.t) => String.t}): Client-assigned labels. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields

Link to this section Types

Link to this type

t() View Source
t() ::
  %GoogleApi.Datastore.V1.Model.GoogleDatastoreAdminV1ImportEntitiesRequest{
    entityFilter:
      GoogleApi.Datastore.V1.Model.GoogleDatastoreAdminV1EntityFilter.t(),
    inputUrl: any(),
    labels: map()
  }

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.