All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.googlenative.deploymentmanager.v2.kotlin.outputs.AuditLogConfigResponse.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.deploymentmanager.v2.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * 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 [email protected] from DATA_READ logging.
 * @property exemptedMembers Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
 * @property logType The log type that this config enables.
 */
public data class AuditLogConfigResponse(
    public val exemptedMembers: List,
    public val logType: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.deploymentmanager.v2.outputs.AuditLogConfigResponse): AuditLogConfigResponse = AuditLogConfigResponse(
            exemptedMembers = javaType.exemptedMembers().map({ args0 -> args0 }),
            logType = javaType.logType(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy