All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.cloudbuild.v1.GitLabConfigArgs.scala Maven / Gradle / Ivy

package besom.api.googlenative.cloudbuild.v1

final case class GitLabConfigArgs private(
  connectedRepositories: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.cloudbuild.v1.inputs.GitLabRepositoryIdArgs]]],
  enterpriseConfig: besom.types.Output[scala.Option[besom.api.googlenative.cloudbuild.v1.inputs.GitLabEnterpriseConfigArgs]],
  gitlabConfigId: besom.types.Output[scala.Option[String]],
  location: besom.types.Output[scala.Option[String]],
  name: besom.types.Output[scala.Option[String]],
  project: besom.types.Output[scala.Option[String]],
  secrets: besom.types.Output[besom.api.googlenative.cloudbuild.v1.inputs.GitLabSecretsArgs],
  username: besom.types.Output[scala.Option[String]]
)

object GitLabConfigArgs:
  def apply(
    connectedRepositories: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.googlenative.cloudbuild.v1.inputs.GitLabRepositoryIdArgs]]] = scala.None,
    enterpriseConfig: besom.types.Input.Optional[besom.api.googlenative.cloudbuild.v1.inputs.GitLabEnterpriseConfigArgs] = scala.None,
    gitlabConfigId: besom.types.Input.Optional[String] = scala.None,
    location: besom.types.Input.Optional[String] = scala.None,
    name: besom.types.Input.Optional[String] = scala.None,
    project: besom.types.Input.Optional[String] = scala.None,
    secrets: besom.types.Input[besom.api.googlenative.cloudbuild.v1.inputs.GitLabSecretsArgs],
    username: besom.types.Input.Optional[String] = scala.None
  )(using besom.types.Context): GitLabConfigArgs =
    new GitLabConfigArgs(
      connectedRepositories = connectedRepositories.asOptionOutput(isSecret = false),
      enterpriseConfig = enterpriseConfig.asOptionOutput(isSecret = false),
      gitlabConfigId = gitlabConfigId.asOptionOutput(isSecret = false),
      location = location.asOptionOutput(isSecret = false),
      name = name.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      secrets = secrets.asOutput(isSecret = false),
      username = username.asOptionOutput(isSecret = false)
    )

  given encoder(using besom.types.Context): besom.types.Encoder[GitLabConfigArgs] =
    besom.internal.Encoder.derived[GitLabConfigArgs]
  given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[GitLabConfigArgs] =
    besom.internal.ArgsEncoder.derived[GitLabConfigArgs]






© 2015 - 2025 Weber Informatics LLC | Privacy Policy