use serde::{Deserialize, Serialize}; /*
* BigQuery API
*
* A data platform for customers to create, manage, share and query data.
*
* The version of the OpenAPI document: v2
*
* Generated by: https://openapi-generator.tech
*/
use crate::google_rest_apis::bigquery_v2::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct Clustering {
/// [Repeated] One or more fields on which data should be clustered. Only top-level, non-repeated, simple-type fields are supported. When you cluster a table using multiple columns, the order of columns you specify is important. The order of the specified columns determines the sort order of the data.
#[serde(rename = "fields", skip_serializing_if = "Option::is_none")]
pub fields: Option<Vec<String>>,
}
impl Clustering {
pub fn new() -> Clustering {
Clustering { fields: None }
}
}