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 RowLevelSecurityStatistics {
    /// [Output-only] [Preview] Whether any accessed data was protected by row access policies.
    #[serde(
        rename = "rowLevelSecurityApplied",
        skip_serializing_if = "Option::is_none"
    )]
    pub row_level_security_applied: Option<bool>,
}

impl RowLevelSecurityStatistics {
    pub fn new() -> RowLevelSecurityStatistics {
        RowLevelSecurityStatistics {
            row_level_security_applied: None,
        }
    }
}
