gcp_bigquery_client/model/
job_reference.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Default, Clone, Serialize, Deserialize)]
4#[serde(rename_all = "camelCase")]
5pub struct JobReference {
6    /// [Required] The ID of the job. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-). The maximum length is 1,024 characters.
7    #[serde(skip_serializing_if = "Option::is_none")]
8    pub job_id: Option<String>,
9    /// The geographic location of the job. See details at https://cloud.google.com/bigquery/docs/locations#specifying_your_location.
10    #[serde(skip_serializing_if = "Option::is_none")]
11    pub location: Option<String>,
12    /// [Required] The ID of the project containing this job.
13    #[serde(skip_serializing_if = "Option::is_none")]
14    pub project_id: Option<String>,
15}