![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.gcp.securesourcemanager.kotlin.outputs.RepositoryInitialConfig.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.securesourcemanager.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property defaultBranch Default branch name of the repository.
* @property gitignores List of gitignore template names user can choose from.
* Valid values can be viewed at https://cloud.google.com/secure-source-manager/docs/reference/rest/v1/projects.locations.repositories#initialconfig.
* @property license License template name user can choose from.
* Valid values can be viewed at https://cloud.google.com/secure-source-manager/docs/reference/rest/v1/projects.locations.repositories#initialconfig.
* @property readme README template name.
* Valid values can be viewed at https://cloud.google.com/secure-source-manager/docs/reference/rest/v1/projects.locations.repositories#initialconfig.
*/
public data class RepositoryInitialConfig(
public val defaultBranch: String? = null,
public val gitignores: List? = null,
public val license: String? = null,
public val readme: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.securesourcemanager.outputs.RepositoryInitialConfig): RepositoryInitialConfig = RepositoryInitialConfig(
defaultBranch = javaType.defaultBranch().map({ args0 -> args0 }).orElse(null),
gitignores = javaType.gitignores().map({ args0 -> args0 }),
license = javaType.license().map({ args0 -> args0 }).orElse(null),
readme = javaType.readme().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy