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

com.pulumi.googlenative.container.v1.kotlin.outputs.PubSubResponse.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.container.v1.kotlin.outputs

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

/**
 * Pub/Sub specific notification config.
 * @property enabled Enable notifications for Pub/Sub.
 * @property filter Allows filtering to one or more specific event types. If no filter is specified, or if a filter is specified with no event types, all event types will be sent
 * @property topic The desired Pub/Sub topic to which notifications will be sent by GKE. Format is `projects/{project}/topics/{topic}`.
 */
public data class PubSubResponse(
    public val enabled: Boolean,
    public val filter: FilterResponse,
    public val topic: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.container.v1.outputs.PubSubResponse): PubSubResponse = PubSubResponse(
            enabled = javaType.enabled(),
            filter = javaType.filter().let({ args0 ->
                com.pulumi.googlenative.container.v1.kotlin.outputs.FilterResponse.Companion.toKotlin(args0)
            }),
            topic = javaType.topic(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy