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
                                      */

/// BulkInsertDiskResource : A transient resource used in compute.disks.bulkInsert and compute.regionDisks.bulkInsert. It is only used to process requests and is not persisted.

#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct BulkInsertDiskResource {
    /// The URL of the DiskConsistencyGroupPolicy for the group of disks to clone. This may be a full or partial URL, such as: - https://www.googleapis.com/compute/v1/projects/project/regions/region /resourcePolicies/resourcePolicy - projects/project/regions/region/resourcePolicies/resourcePolicy - regions/region/resourcePolicies/resourcePolicy
    #[serde(
        rename = "sourceConsistencyGroupPolicy",
        skip_serializing_if = "Option::is_none"
    )]
    pub source_consistency_group_policy: Option<String>,
}

impl BulkInsertDiskResource {
    /// A transient resource used in compute.disks.bulkInsert and compute.regionDisks.bulkInsert. It is only used to process requests and is not persisted.
    pub fn new() -> BulkInsertDiskResource {
        BulkInsertDiskResource {
            source_consistency_group_policy: None,
        }
    }
}
