use serde::{Deserialize, Serialize}; /*
                                      * Cloud Resource Manager API
                                      *
                                      * Creates, reads, and updates metadata for Google Cloud Platform resource containers.
                                      *
                                      * The version of the OpenAPI document: v3
                                      *
                                      * Generated by: https://openapi-generator.tech
                                      */

use crate::google_rest_apis::cloudresourcemanager_v3::models;

/// TestIamPermissionsResponse : Response message for `TestIamPermissions` method.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct TestIamPermissionsResponse {
    /// A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
    #[serde(rename = "permissions", skip_serializing_if = "Option::is_none")]
    pub permissions: Option<Vec<String>>,
}

impl TestIamPermissionsResponse {
    /// Response message for `TestIamPermissions` method.
    pub fn new() -> TestIamPermissionsResponse {
        TestIamPermissionsResponse { permissions: None }
    }
}
