Struct google_api_proto::google::datastore::admin::v1::ExportEntitiesRequest
source · pub struct ExportEntitiesRequest {
pub project_id: String,
pub labels: BTreeMap<String, String>,
pub entity_filter: Option<EntityFilter>,
pub output_url_prefix: String,
}
Expand description
The request for [google.datastore.admin.v1.DatastoreAdmin.ExportEntities][google.datastore.admin.v1.DatastoreAdmin.ExportEntities].
Fields§
§project_id: String
Required. Project ID against which to make the request.
labels: BTreeMap<String, String>
Client-assigned labels.
entity_filter: Option<EntityFilter>
Description of what data from the project is included in the export.
output_url_prefix: String
Required. 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][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.
Trait Implementations§
source§impl Clone for ExportEntitiesRequest
impl Clone for ExportEntitiesRequest
source§fn clone(&self) -> ExportEntitiesRequest
fn clone(&self) -> ExportEntitiesRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExportEntitiesRequest
impl Debug for ExportEntitiesRequest
source§impl Default for ExportEntitiesRequest
impl Default for ExportEntitiesRequest
source§impl Message for ExportEntitiesRequest
impl Message for ExportEntitiesRequest
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for ExportEntitiesRequest
impl PartialEq for ExportEntitiesRequest
source§fn eq(&self, other: &ExportEntitiesRequest) -> bool
fn eq(&self, other: &ExportEntitiesRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExportEntitiesRequest
Auto Trait Implementations§
impl Freeze for ExportEntitiesRequest
impl RefUnwindSafe for ExportEntitiesRequest
impl Send for ExportEntitiesRequest
impl Sync for ExportEntitiesRequest
impl Unpin for ExportEntitiesRequest
impl UnwindSafe for ExportEntitiesRequest
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request