Struct google_api_proto::google::cloud::bigquery::v2::JobConfiguration
source · pub struct JobConfiguration {
pub job_type: String,
pub query: Option<JobConfigurationQuery>,
pub load: Option<JobConfigurationLoad>,
pub copy: Option<JobConfigurationTableCopy>,
pub extract: Option<JobConfigurationExtract>,
pub dry_run: Option<bool>,
pub job_timeout_ms: Option<i64>,
pub labels: BTreeMap<String, String>,
}
Fields§
§job_type: String
Output only. The type of the job. Can be QUERY, LOAD, EXTRACT, COPY or UNKNOWN.
query: Option<JobConfigurationQuery>
[Pick one] Configures a query job.
load: Option<JobConfigurationLoad>
[Pick one] Configures a load job.
copy: Option<JobConfigurationTableCopy>
[Pick one] Copies a table.
extract: Option<JobConfigurationExtract>
[Pick one] Configures an extract job.
dry_run: Option<bool>
Optional. If set, don’t actually run this job. A valid query will return a mostly empty response with some processing statistics, while an invalid query will return the same error it would if it wasn’t a dry run. Behavior of non-query jobs is undefined.
job_timeout_ms: Option<i64>
Optional. Job timeout in milliseconds. If this time limit is exceeded, BigQuery will attempt to stop a longer job, but may not always succeed in canceling it before the job completes. For example, a job that takes more than 60 seconds to complete has a better chance of being stopped than a job that takes 10 seconds to complete.
labels: BTreeMap<String, String>
The labels associated with this job. You can use these to organize and group your jobs. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter and each label in the list must have a different key.
Trait Implementations§
source§impl Clone for JobConfiguration
impl Clone for JobConfiguration
source§fn clone(&self) -> JobConfiguration
fn clone(&self) -> JobConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for JobConfiguration
impl Debug for JobConfiguration
source§impl Default for JobConfiguration
impl Default for JobConfiguration
source§impl Message for JobConfiguration
impl Message for JobConfiguration
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 JobConfiguration
impl PartialEq for JobConfiguration
source§fn eq(&self, other: &JobConfiguration) -> bool
fn eq(&self, other: &JobConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for JobConfiguration
Auto Trait Implementations§
impl Freeze for JobConfiguration
impl RefUnwindSafe for JobConfiguration
impl Send for JobConfiguration
impl Sync for JobConfiguration
impl Unpin for JobConfiguration
impl UnwindSafe for JobConfiguration
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