Struct google_cloud_bigquery::http::job::JobConfiguration
source · pub struct JobConfiguration {
pub job_type: String,
pub job: JobType,
pub dry_run: Option<bool>,
pub job_timeout_ms: Option<i64>,
pub labels: Option<HashMap<String, String>>,
}Fields§
§job_type: StringOutput only. The type of the job. Can be QUERY, LOAD, EXTRACT, COPY or UNKNOWN.
job: JobType[Pick one] Configures a 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 might attempt to stop the job.
labels: Option<HashMap<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. An object containing a list of “key”: value pairs. Example: { “name”: “wrench”, “mass”: “1.3kg”, “count”: “3” }.
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§fn default() -> JobConfiguration
fn default() -> JobConfiguration
source§impl<'de> Deserialize<'de> for JobConfiguration
impl<'de> Deserialize<'de> for JobConfiguration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
source§impl PartialEq<JobConfiguration> for JobConfiguration
impl PartialEq<JobConfiguration> 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 ==.source§impl Serialize for JobConfiguration
impl Serialize for JobConfiguration
impl StructuralPartialEq for JobConfiguration
Auto Trait Implementations§
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§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