pub struct GoogleDatastoreAdminV1ImportEntitiesRequest {
pub entity_filter: Option<GoogleDatastoreAdminV1EntityFilter>,
pub input_url: Option<String>,
pub labels: Option<HashMap<String, String>>,
}
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§
§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.
input_url: Option<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
, 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: Option<HashMap<String, String>>
Client-assigned labels.
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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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