Struct google_cloudkms1_beta1::AuditLogConfig [] [src]

pub struct AuditLogConfig {
    pub exempted_members: Option<Vec<String>>,
    pub log_type: Option<String>,
}

Provides the configuration for logging a type of permissions. Example:

{
  "audit_log_configs": [
    {
      "log_type": "DATA_READ",
      "exempted_members": [
        "user:foo@gmail.com"
      ]
    },
    {
      "log_type": "DATA_WRITE",
    }
  ]
}

This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting foo@gmail.com from DATA_READ logging.

This type is not used in any activity, and only used as part of another schema.

Fields

Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.

The log type that this config enables.

Trait Implementations

impl Default for AuditLogConfig
[src]

[src]

Returns the "default value" for a type. Read more

impl Clone for AuditLogConfig
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for AuditLogConfig
[src]

[src]

Formats the value using the given formatter.

impl Part for AuditLogConfig
[src]