#[non_exhaustive]pub struct ExportJobSpec {
pub scope: Option<ExportJobScope>,
pub output_path: String,
/* private fields */
}Expand description
Job specification for a metadata export job.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.scope: Option<ExportJobScope>Required. The scope of the export job.
output_path: StringRequired. The root path of the Cloud Storage bucket to export the
metadata to, in the format gs://{bucket}/. You can optionally specify a
custom prefix after the bucket name, in the format
gs://{bucket}/{prefix}/. The maximum length of the custom prefix is 128
characters. Dataplex Universal Catalog constructs the object path for the
exported files by using the bucket name and prefix that you provide,
followed by a system-generated path.
The bucket must be in the same VPC Service Controls perimeter as the job.
Implementations§
Source§impl ExportJobSpec
impl ExportJobSpec
pub fn new() -> Self
Sourcepub fn set_scope<T>(self, v: T) -> Selfwhere
T: Into<ExportJobScope>,
pub fn set_scope<T>(self, v: T) -> Selfwhere
T: Into<ExportJobScope>,
Sets the value of scope.
Sourcepub fn set_or_clear_scope<T>(self, v: Option<T>) -> Selfwhere
T: Into<ExportJobScope>,
pub fn set_or_clear_scope<T>(self, v: Option<T>) -> Selfwhere
T: Into<ExportJobScope>,
Sets or clears the value of scope.
Sourcepub fn set_output_path<T: Into<String>>(self, v: T) -> Self
pub fn set_output_path<T: Into<String>>(self, v: T) -> Self
Sets the value of output_path.
Trait Implementations§
Source§impl Clone for ExportJobSpec
impl Clone for ExportJobSpec
Source§fn clone(&self) -> ExportJobSpec
fn clone(&self) -> ExportJobSpec
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExportJobSpec
impl Debug for ExportJobSpec
Source§impl Default for ExportJobSpec
impl Default for ExportJobSpec
Source§fn default() -> ExportJobSpec
fn default() -> ExportJobSpec
Returns the “default value” for a type. Read more
Source§impl Message for ExportJobSpec
impl Message for ExportJobSpec
Source§impl PartialEq for ExportJobSpec
impl PartialEq for ExportJobSpec
impl StructuralPartialEq for ExportJobSpec
Auto Trait Implementations§
impl Freeze for ExportJobSpec
impl RefUnwindSafe for ExportJobSpec
impl Send for ExportJobSpec
impl Sync for ExportJobSpec
impl Unpin for ExportJobSpec
impl UnwindSafe for ExportJobSpec
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
Mutably borrows from an owned value. Read more