use serde::{Deserialize, Serialize}; /*
                                      * Compute Engine API
                                      *
                                      * Creates and runs virtual machines on Google Cloud Platform.
                                      *
                                      * The version of the OpenAPI document: v1
                                      *
                                      * Generated by: https://openapi-generator.tech
                                      */

/// LogConfig : This is deprecated and has no effect. Do not use.

#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct LogConfig {
    #[serde(rename = "cloudAudit", skip_serializing_if = "Option::is_none")]
    pub cloud_audit:
        Option<Box<crate::google_rest_apis::compute_v1::models::LogConfigCloudAuditOptions>>,
    #[serde(rename = "counter", skip_serializing_if = "Option::is_none")]
    pub counter: Option<Box<crate::google_rest_apis::compute_v1::models::LogConfigCounterOptions>>,
    #[serde(rename = "dataAccess", skip_serializing_if = "Option::is_none")]
    pub data_access:
        Option<Box<crate::google_rest_apis::compute_v1::models::LogConfigDataAccessOptions>>,
}

impl LogConfig {
    /// This is deprecated and has no effect. Do not use.
    pub fn new() -> LogConfig {
        LogConfig {
            cloud_audit: None,
            counter: None,
            data_access: None,
        }
    }
}
