pub struct GoogleDatastoreAdminV1ExportEntitiesRequest {
pub output_url_prefix: Option<String>,
pub labels: Option<HashMap<String, String>>,
pub entity_filter: Option<GoogleDatastoreAdminV1EntityFilter>,
}
Expand description
The request for google.datastore.admin.v1.DatastoreAdmin.ExportEntities.
§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).
- export projects (request)
Fields§
§output_url_prefix: Option<String>
Location for the export metadata and data files.
The full resource URL of the external storage location. Currently, only
Google Cloud Storage is supported. So output_url_prefix should be of the
form: gs://BUCKET_NAME[/NAMESPACE_PATH]
, where BUCKET_NAME
is the
name of the Cloud Storage bucket and NAMESPACE_PATH
is an optional Cloud
Storage namespace path (this is not a Cloud Datastore namespace). For more
information about Cloud Storage namespace paths, see
Object name
considerations.
The resulting files will be nested deeper than the specified URL prefix. The final output URL will be provided in the google.datastore.admin.v1.ExportEntitiesResponse.output_url field. That value should be used for subsequent ImportEntities operations.
By nesting the data files deeper, the same Cloud Storage bucket can be used in multiple ExportEntities operations without conflict.
labels: Option<HashMap<String, String>>
Client-assigned labels.
entity_filter: Option<GoogleDatastoreAdminV1EntityFilter>
Description of what data from the project is included in the export.
Trait Implementations§
source§impl Clone for GoogleDatastoreAdminV1ExportEntitiesRequest
impl Clone for GoogleDatastoreAdminV1ExportEntitiesRequest
source§fn clone(&self) -> GoogleDatastoreAdminV1ExportEntitiesRequest
fn clone(&self) -> GoogleDatastoreAdminV1ExportEntitiesRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GoogleDatastoreAdminV1ExportEntitiesRequest
impl Default for GoogleDatastoreAdminV1ExportEntitiesRequest
source§fn default() -> GoogleDatastoreAdminV1ExportEntitiesRequest
fn default() -> GoogleDatastoreAdminV1ExportEntitiesRequest
source§impl<'de> Deserialize<'de> for GoogleDatastoreAdminV1ExportEntitiesRequest
impl<'de> Deserialize<'de> for GoogleDatastoreAdminV1ExportEntitiesRequest
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 GoogleDatastoreAdminV1ExportEntitiesRequest
Auto Trait Implementations§
impl Freeze for GoogleDatastoreAdminV1ExportEntitiesRequest
impl RefUnwindSafe for GoogleDatastoreAdminV1ExportEntitiesRequest
impl Send for GoogleDatastoreAdminV1ExportEntitiesRequest
impl Sync for GoogleDatastoreAdminV1ExportEntitiesRequest
impl Unpin for GoogleDatastoreAdminV1ExportEntitiesRequest
impl UnwindSafe for GoogleDatastoreAdminV1ExportEntitiesRequest
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