Reference documentation and code samples for the Firestore in Datastore mode Admin V1 API class Google::Cloud::Datastore::Admin::V1::ImportEntitiesRequest.
The request for google.datastore.admin.v1.DatastoreAdmin.ImportEntities.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#entity_filter
def entity_filter() -> ::Google::Cloud::Datastore::Admin::V1::EntityFilter
- (::Google::Cloud::Datastore::Admin::V1::EntityFilter) — 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.
#entity_filter=
def entity_filter=(value) -> ::Google::Cloud::Datastore::Admin::V1::EntityFilter
- value (::Google::Cloud::Datastore::Admin::V1::EntityFilter) — 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.
- (::Google::Cloud::Datastore::Admin::V1::EntityFilter) — 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.
#input_url
def input_url() -> ::String
-
(::String) — 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
, whereBUCKET_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), andOVERALL_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.
#input_url=
def input_url=(value) -> ::String
-
value (::String) — 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
, whereBUCKET_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), andOVERALL_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.
-
(::String) — 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
, whereBUCKET_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), andOVERALL_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
def labels() -> ::Google::Protobuf::Map{::String => ::String}
- (::Google::Protobuf::Map{::String => ::String}) — Client-assigned labels.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
- value (::Google::Protobuf::Map{::String => ::String}) — Client-assigned labels.
- (::Google::Protobuf::Map{::String => ::String}) — Client-assigned labels.
#project_id
def project_id() -> ::String
- (::String) — Required. Project ID against which to make the request.
#project_id=
def project_id=(value) -> ::String
- value (::String) — Required. Project ID against which to make the request.
- (::String) — Required. Project ID against which to make the request.