GoogleApi.Datastore.V1.Model.GoogleDatastoreAdminV1ImportEntitiesRequest (google_api_datastore v0.18.1) View Source

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

Attributes

  • entityFilter (type: GoogleApi.Datastore.V1.Model.GoogleDatastoreAdminV1EntityFilter.t, default: nil) - 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.
  • inputUrl (type: String.t, default: nil) - 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.
  • labels (type: map(), default: nil) - Client-assigned labels.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() ::
  %GoogleApi.Datastore.V1.Model.GoogleDatastoreAdminV1ImportEntitiesRequest{
    entityFilter:
      GoogleApi.Datastore.V1.Model.GoogleDatastoreAdminV1EntityFilter.t() | nil,
    inputUrl: String.t() | nil,
    labels: map() | nil
  }

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.