GoogleApi.CloudRun.V1alpha1.Model.AuditLogConfig (google_api_cloud_run v0.42.0) View Source

Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.

Attributes

  • exemptedMembers (type: list(String.t), default: nil) - Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
  • logType (type: String.t, default: nil) - The log type that this config enables.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.CloudRun.V1alpha1.Model.AuditLogConfig{
  exemptedMembers: [String.t()],
  logType: String.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.