class Google::Apis::DnsV1::GoogleIamV1AuditLogConfig

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

exempted_members[RW]

Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. Corresponds to the JSON property `exemptedMembers` @return [Array<String>]

log_type[RW]

The log type that this config enables. Corresponds to the JSON property `logType` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dns_v1/classes.rb, line 457
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dns_v1/classes.rb, line 462
def update!(**args)
  @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
  @log_type = args[:log_type] if args.key?(:log_type)
end