RepositoryInitialConfig

data class RepositoryInitialConfig(val defaultBranch: String? = null, val gitignores: List<String>? = null, val license: String? = null, val readme: String? = null)

Constructors

Link copied to clipboard
constructor(defaultBranch: String? = null, gitignores: List<String>? = null, license: String? = null, readme: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val defaultBranch: String? = null

Default branch name of the repository.

Link copied to clipboard
val gitignores: List<String>? = null

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.

Link copied to clipboard
val license: String? = null

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.

Link copied to clipboard
val readme: String? = null

README template name. Valid values can be viewed at https://cloud.google.com/secure-source-manager/docs/reference/rest/v1/projects.locations.repositories#initialconfig.