1
2
3
4
5
6
7
8
9
10
11
use serde::{Deserialize, Serialize};

/// TestIamPermissionsResponse : Response message for `TestIamPermissions` method.

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