Struct google_api_proto::google::cloud::audit::big_query_audit_metadata::job_config::Load
source · pub struct Load {
pub source_uris: Vec<String>,
pub source_uris_truncated: bool,
pub schema_json: String,
pub schema_json_truncated: bool,
pub destination_table: String,
pub create_disposition: i32,
pub write_disposition: i32,
pub destination_table_encryption: Option<EncryptionInfo>,
}
Expand description
Load job configuration.
Fields§
§source_uris: Vec<String>
URIs for the data to be imported. Entire list is truncated if exceeds 40K.
source_uris_truncated: bool
True if the source_URIs field was truncated.
schema_json: String
The table schema in JSON format. Entire field is truncated if exceeds 40K.
schema_json_truncated: bool
True if the schema_json field was truncated.
destination_table: String
The destination table for the import.
create_disposition: i32
Destination table create disposition.
write_disposition: i32
Destination table write disposition.
destination_table_encryption: Option<EncryptionInfo>
Result table encryption information. Set when non-default encryption is used.
Implementations§
source§impl Load
impl Load
sourcepub fn create_disposition(&self) -> CreateDisposition
pub fn create_disposition(&self) -> CreateDisposition
Returns the enum value of create_disposition
, or the default if the field is set to an invalid enum value.
sourcepub fn set_create_disposition(&mut self, value: CreateDisposition)
pub fn set_create_disposition(&mut self, value: CreateDisposition)
Sets create_disposition
to the provided enum value.
sourcepub fn write_disposition(&self) -> WriteDisposition
pub fn write_disposition(&self) -> WriteDisposition
Returns the enum value of write_disposition
, or the default if the field is set to an invalid enum value.
sourcepub fn set_write_disposition(&mut self, value: WriteDisposition)
pub fn set_write_disposition(&mut self, value: WriteDisposition)
Sets write_disposition
to the provided enum value.
Trait Implementations§
source§impl Message for Load
impl Message for Load
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 Load
impl PartialEq for Load
impl StructuralPartialEq for Load
Auto Trait Implementations§
impl Freeze for Load
impl RefUnwindSafe for Load
impl Send for Load
impl Sync for Load
impl Unpin for Load
impl UnwindSafe for Load
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