Struct google_api_proto::google::cloud::metastore::v1::ExportMetadataRequest
source · pub struct ExportMetadataRequest {
pub service: String,
pub request_id: String,
pub database_dump_type: i32,
pub destination: Option<Destination>,
}
Expand description
Request message for [DataprocMetastore.ExportMetadata][google.cloud.metastore.v1.DataprocMetastore.ExportMetadata].
Fields§
§service: String
Required. The relative resource name of the metastore service to run export, in the following form:
projects/{project_id}/locations/{location_id}/services/{service_id}
.
request_id: String
Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.
For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.
The request ID must be a valid UUID. A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
database_dump_type: i32
Optional. The type of the database dump. If unspecified, defaults to
MYSQL
.
destination: Option<Destination>
Required. Destination that metadata is exported to.
Implementations§
source§impl ExportMetadataRequest
impl ExportMetadataRequest
sourcepub fn database_dump_type(&self) -> Type
pub fn database_dump_type(&self) -> Type
Returns the enum value of database_dump_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_database_dump_type(&mut self, value: Type)
pub fn set_database_dump_type(&mut self, value: Type)
Sets database_dump_type
to the provided enum value.
Trait Implementations§
source§impl Clone for ExportMetadataRequest
impl Clone for ExportMetadataRequest
source§fn clone(&self) -> ExportMetadataRequest
fn clone(&self) -> ExportMetadataRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExportMetadataRequest
impl Debug for ExportMetadataRequest
source§impl Default for ExportMetadataRequest
impl Default for ExportMetadataRequest
source§impl Message for ExportMetadataRequest
impl Message for ExportMetadataRequest
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 ExportMetadataRequest
impl PartialEq for ExportMetadataRequest
source§fn eq(&self, other: &ExportMetadataRequest) -> bool
fn eq(&self, other: &ExportMetadataRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExportMetadataRequest
Auto Trait Implementations§
impl Freeze for ExportMetadataRequest
impl RefUnwindSafe for ExportMetadataRequest
impl Send for ExportMetadataRequest
impl Sync for ExportMetadataRequest
impl Unpin for ExportMetadataRequest
impl UnwindSafe for ExportMetadataRequest
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