pub struct GoogleFirestoreAdminV1ExportDocumentsRequest {
pub collection_ids: Option<Vec<String>>,
pub namespace_ids: Option<Vec<String>>,
pub output_uri_prefix: Option<String>,
pub snapshot_time: Option<DateTime<Utc>>,
}
Expand description
The request for FirestoreAdmin.ExportDocuments.
§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).
- databases export documents projects (request)
Fields§
§collection_ids: Option<Vec<String>>
Which collection ids to export. Unspecified means all collections. Each collection id in this list must be unique.
namespace_ids: Option<Vec<String>>
An empty list represents all namespaces. This is the preferred usage for databases that don’t use namespaces. An empty string element represents the default namespace. This should be used if the database has data in non-default namespaces, but doesn’t want to include them. Each namespace in this list must be unique.
output_uri_prefix: Option<String>
The output URI. Currently only supports Google Cloud Storage URIs of the form: gs://BUCKET_NAME[/NAMESPACE_PATH]
, where BUCKET_NAME
is the name of the Google Cloud Storage bucket and NAMESPACE_PATH
is an optional Google Cloud Storage namespace path. When choosing a name, be sure to consider Google Cloud Storage naming guidelines: https://cloud.google.com/storage/docs/naming. If the URI is a bucket (without a namespace path), a prefix will be generated based on the start time.
snapshot_time: Option<DateTime<Utc>>
The timestamp that corresponds to the version of the database to be exported. The timestamp must be in the past, rounded to the minute and not older than earliestVersionTime. If specified, then the exported documents will represent a consistent view of the database at the provided time. Otherwise, there are no guarantees about the consistency of the exported documents.
Trait Implementations§
Source§impl Clone for GoogleFirestoreAdminV1ExportDocumentsRequest
impl Clone for GoogleFirestoreAdminV1ExportDocumentsRequest
Source§fn clone(&self) -> GoogleFirestoreAdminV1ExportDocumentsRequest
fn clone(&self) -> GoogleFirestoreAdminV1ExportDocumentsRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for GoogleFirestoreAdminV1ExportDocumentsRequest
impl Default for GoogleFirestoreAdminV1ExportDocumentsRequest
Source§fn default() -> GoogleFirestoreAdminV1ExportDocumentsRequest
fn default() -> GoogleFirestoreAdminV1ExportDocumentsRequest
Source§impl<'de> Deserialize<'de> for GoogleFirestoreAdminV1ExportDocumentsRequest
impl<'de> Deserialize<'de> for GoogleFirestoreAdminV1ExportDocumentsRequest
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 GoogleFirestoreAdminV1ExportDocumentsRequest
Auto Trait Implementations§
impl Freeze for GoogleFirestoreAdminV1ExportDocumentsRequest
impl RefUnwindSafe for GoogleFirestoreAdminV1ExportDocumentsRequest
impl Send for GoogleFirestoreAdminV1ExportDocumentsRequest
impl Sync for GoogleFirestoreAdminV1ExportDocumentsRequest
impl Unpin for GoogleFirestoreAdminV1ExportDocumentsRequest
impl UnwindSafe for GoogleFirestoreAdminV1ExportDocumentsRequest
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