com.pulumi.gcp.diagflow.kotlin.outputs.CxAgentGitIntegrationSettingsGithubSettings.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.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @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 CxAgentGitIntegrationSettingsGithubSettings(
public val accessToken: String? = null,
public val branches: List? = null,
public val displayName: String? = null,
public val repositoryUri: String? = null,
public val trackingBranch: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.diagflow.outputs.CxAgentGitIntegrationSettingsGithubSettings): CxAgentGitIntegrationSettingsGithubSettings = CxAgentGitIntegrationSettingsGithubSettings(
accessToken = javaType.accessToken().map({ args0 -> args0 }).orElse(null),
branches = javaType.branches().map({ args0 -> args0 }),
displayName = javaType.displayName().map({ args0 -> args0 }).orElse(null),
repositoryUri = javaType.repositoryUri().map({ args0 -> args0 }).orElse(null),
trackingBranch = javaType.trackingBranch().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy