Struct google_api_proto::google::cloud::audit::big_query_audit_metadata::job_config::TableCopy
source · pub struct TableCopy {
pub source_tables: Vec<String>,
pub source_tables_truncated: bool,
pub destination_table: String,
pub create_disposition: i32,
pub write_disposition: i32,
pub destination_table_encryption: Option<EncryptionInfo>,
pub operation_type: i32,
pub destination_expiration_time: Option<Timestamp>,
}
Expand description
Table copy job configuration.
Fields§
§source_tables: Vec<String>
Source tables. Entire list is truncated if exceeds 50K.
source_tables_truncated: bool
True if the source_tables field was truncated.
destination_table: String
Destination table.
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.
operation_type: i32
Supported operation types in the table copy job.
destination_expiration_time: Option<Timestamp>
Expiration time set on the destination table. Expired tables will be deleted and their storage reclaimed.
Implementations§
source§impl TableCopy
impl TableCopy
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.
sourcepub fn operation_type(&self) -> OperationType
pub fn operation_type(&self) -> OperationType
Returns the enum value of operation_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_operation_type(&mut self, value: OperationType)
pub fn set_operation_type(&mut self, value: OperationType)
Sets operation_type
to the provided enum value.
Trait Implementations§
source§impl Message for TableCopy
impl Message for TableCopy
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 TableCopy
impl PartialEq for TableCopy
impl StructuralPartialEq for TableCopy
Auto Trait Implementations§
impl Freeze for TableCopy
impl RefUnwindSafe for TableCopy
impl Send for TableCopy
impl Sync for TableCopy
impl Unpin for TableCopy
impl UnwindSafe for TableCopy
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