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

com.pulumi.gcp.cloudbuild.kotlin.outputs.TriggerPubsubConfig.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.cloudbuild.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property serviceAccountEmail Service account that will make the push request.
 * @property state (Output)
 * Potential issues with the underlying Pub/Sub subscription configuration.
 * Only populated on get requests.
 * @property subscription (Output)
 * Output only. Name of the subscription.
 * @property topic The name of the topic from which this subscription is receiving messages.
 */
public data class TriggerPubsubConfig(
    public val serviceAccountEmail: String? = null,
    public val state: String? = null,
    public val subscription: String? = null,
    public val topic: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.cloudbuild.outputs.TriggerPubsubConfig): TriggerPubsubConfig = TriggerPubsubConfig(
            serviceAccountEmail = javaType.serviceAccountEmail().map({ args0 -> args0 }).orElse(null),
            state = javaType.state().map({ args0 -> args0 }).orElse(null),
            subscription = javaType.subscription().map({ args0 -> args0 }).orElse(null),
            topic = javaType.topic(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy