Struct gapi_grpc::google::cloud::metastore::v1::ExportMetadataRequest[][src]

pub struct ExportMetadataRequest {
    pub service: String,
    pub request_id: String,
    pub database_dump_type: i32,
    pub destination: Option<Destination>,
}

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

impl ExportMetadataRequest[src]

pub fn database_dump_type(&self) -> Type[src]

Returns the enum value of database_dump_type, or the default if the field is set to an invalid enum value.

pub fn set_database_dump_type(&mut self, value: Type)[src]

Sets database_dump_type to the provided enum value.

Trait Implementations

impl Clone for ExportMetadataRequest[src]

impl Debug for ExportMetadataRequest[src]

impl Default for ExportMetadataRequest[src]

impl Message for ExportMetadataRequest[src]

impl PartialEq<ExportMetadataRequest> for ExportMetadataRequest[src]

impl StructuralPartialEq for ExportMetadataRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for ExportMetadataRequest

impl Send for ExportMetadataRequest

impl Sync for ExportMetadataRequest

impl Unpin for ExportMetadataRequest

impl UnwindSafe for ExportMetadataRequest

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]