com.pulumi.gcp.sourcerepo.kotlin.outputs.GetRepositoryPubsubConfig.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.sourcerepo.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property messageFormat The format of the Cloud Pub/Sub messages.
* - PROTOBUF: The message payload is a serialized protocol buffer of SourceRepoEvent.
* - JSON: The message payload is a JSON string of SourceRepoEvent. Possible values: ["PROTOBUF", "JSON"]
* @property serviceAccountEmail Email address of the service account used for publishing Cloud Pub/Sub messages.
* This service account needs to be in the same project as the PubsubConfig. When added,
* the caller needs to have iam.serviceAccounts.actAs permission on this service account.
* If unspecified, it defaults to the compute engine default service account.
* @property topic
*/
public data class GetRepositoryPubsubConfig(
public val messageFormat: String,
public val serviceAccountEmail: String,
public val topic: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.sourcerepo.outputs.GetRepositoryPubsubConfig): GetRepositoryPubsubConfig = GetRepositoryPubsubConfig(
messageFormat = javaType.messageFormat(),
serviceAccountEmail = javaType.serviceAccountEmail(),
topic = javaType.topic(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy