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

com.pulumi.gcp.logging.kotlin.outputs.ProjectSinkExclusion.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.logging.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property description A description of this exclusion.
 * @property disabled If set to True, then this exclusion is disabled and it does not exclude any log entries.
 * @property filter An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100% of the matching log entries. See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to
 * write a filter.
 * @property name A client-assigned identifier, such as `load-balancer-exclusion`. Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
 */
public data class ProjectSinkExclusion(
    public val description: String? = null,
    public val disabled: Boolean? = null,
    public val filter: String,
    public val name: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.logging.outputs.ProjectSinkExclusion): ProjectSinkExclusion = ProjectSinkExclusion(
            description = javaType.description().map({ args0 -> args0 }).orElse(null),
            disabled = javaType.disabled().map({ args0 -> args0 }).orElse(null),
            filter = javaType.filter(),
            name = javaType.name(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy