com.pulumi.gcp.cloudbuild.kotlin.outputs.TriggerWebhookConfig.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.cloudbuild.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property secret Resource name for the secret required as a URL parameter.
* @property state (Output)
* Potential issues with the underlying Pub/Sub subscription configuration.
* Only populated on get requests.
*/
public data class TriggerWebhookConfig(
public val secret: String,
public val state: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.cloudbuild.outputs.TriggerWebhookConfig): TriggerWebhookConfig = TriggerWebhookConfig(
secret = javaType.secret(),
state = javaType.state().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy