pub struct GoogleDatastoreAdminV1ImportEntitiesRequest {
pub labels: Option<HashMap<String, String>>,
pub input_url: Option<String>,
pub entity_filter: Option<GoogleDatastoreAdminV1EntityFilter>,
}
Expand description
The request for google.datastore.admin.v1.DatastoreAdmin.ImportEntities.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- import projects (request)
Fields§
§labels: Option<HashMap<String, String>>
Client-assigned labels.
input_url: Option<String>
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.
entity_filter: Option<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.
Trait Implementations§
source§impl Clone for GoogleDatastoreAdminV1ImportEntitiesRequest
impl Clone for GoogleDatastoreAdminV1ImportEntitiesRequest
source§fn clone(&self) -> GoogleDatastoreAdminV1ImportEntitiesRequest
fn clone(&self) -> GoogleDatastoreAdminV1ImportEntitiesRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GoogleDatastoreAdminV1ImportEntitiesRequest
impl Default for GoogleDatastoreAdminV1ImportEntitiesRequest
source§fn default() -> GoogleDatastoreAdminV1ImportEntitiesRequest
fn default() -> GoogleDatastoreAdminV1ImportEntitiesRequest
source§impl<'de> Deserialize<'de> for GoogleDatastoreAdminV1ImportEntitiesRequest
impl<'de> Deserialize<'de> for GoogleDatastoreAdminV1ImportEntitiesRequest
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl RequestValue for GoogleDatastoreAdminV1ImportEntitiesRequest
Auto Trait Implementations§
impl Freeze for GoogleDatastoreAdminV1ImportEntitiesRequest
impl RefUnwindSafe for GoogleDatastoreAdminV1ImportEntitiesRequest
impl Send for GoogleDatastoreAdminV1ImportEntitiesRequest
impl Sync for GoogleDatastoreAdminV1ImportEntitiesRequest
impl Unpin for GoogleDatastoreAdminV1ImportEntitiesRequest
impl UnwindSafe for GoogleDatastoreAdminV1ImportEntitiesRequest
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more