com.pulumi.gcp.diagflow.kotlin.inputs.CxAgentGitIntegrationSettingsGithubSettingsArgs.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.diagflow.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.diagflow.inputs.CxAgentGitIntegrationSettingsGithubSettingsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property accessToken The access token used to authenticate the access to the GitHub repository.
* **Note**: This property is sensitive and will not be displayed in the plan.
* @property branches A list of branches configured to be used from Dialogflow.
* @property displayName The unique repository display name for the GitHub repository.
* @property repositoryUri The GitHub repository URI related to the agent.
* @property trackingBranch The branch of the GitHub repository tracked for this agent.
*/
public data class CxAgentGitIntegrationSettingsGithubSettingsArgs(
public val accessToken: Output? = null,
public val branches: Output>? = null,
public val displayName: Output? = null,
public val repositoryUri: Output? = null,
public val trackingBranch: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.diagflow.inputs.CxAgentGitIntegrationSettingsGithubSettingsArgs =
com.pulumi.gcp.diagflow.inputs.CxAgentGitIntegrationSettingsGithubSettingsArgs.builder()
.accessToken(accessToken?.applyValue({ args0 -> args0 }))
.branches(branches?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.displayName(displayName?.applyValue({ args0 -> args0 }))
.repositoryUri(repositoryUri?.applyValue({ args0 -> args0 }))
.trackingBranch(trackingBranch?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [CxAgentGitIntegrationSettingsGithubSettingsArgs].
*/
@PulumiTagMarker
public class CxAgentGitIntegrationSettingsGithubSettingsArgsBuilder internal constructor() {
private var accessToken: Output? = null
private var branches: Output>? = null
private var displayName: Output? = null
private var repositoryUri: Output? = null
private var trackingBranch: Output? = null
/**
* @param value The access token used to authenticate the access to the GitHub repository.
* **Note**: This property is sensitive and will not be displayed in the plan.
*/
@JvmName("gcyfarigfvsivexu")
public suspend fun accessToken(`value`: Output) {
this.accessToken = value
}
/**
* @param value A list of branches configured to be used from Dialogflow.
*/
@JvmName("teloivauqqnrawhn")
public suspend fun branches(`value`: Output>) {
this.branches = value
}
@JvmName("lssibthbqydkipib")
public suspend fun branches(vararg values: Output) {
this.branches = Output.all(values.asList())
}
/**
* @param values A list of branches configured to be used from Dialogflow.
*/
@JvmName("vymwgtloaegipiwk")
public suspend fun branches(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy