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

#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct RegionInstanceGroupManagersSetTargetPoolsRequest {
    /// Fingerprint of the target pools information, which is a hash of the contents. This field is used for optimistic locking when you update the target pool entries. This field is optional.
    #[serde(rename = "fingerprint", skip_serializing_if = "Option::is_none")]
    pub fingerprint: Option<String>,
    /// The URL of all TargetPool resources to which instances in the instanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.
    #[serde(rename = "targetPools", skip_serializing_if = "Option::is_none")]
    pub target_pools: Option<Vec<String>>,
}

impl RegionInstanceGroupManagersSetTargetPoolsRequest {
    pub fn new() -> RegionInstanceGroupManagersSetTargetPoolsRequest {
        RegionInstanceGroupManagersSetTargetPoolsRequest {
            fingerprint: None,
            target_pools: None,
        }
    }
}
