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

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

There is a newer version: 0.32.0-core.0.4
Show newest version
package besom.api.googlenative.cloudbuild.v1

final case class GithubEnterpriseConfigArgs private(
  appId: besom.types.Output[String],
  displayName: besom.types.Output[scala.Option[String]],
  gheConfigId: besom.types.Output[scala.Option[String]],
  hostUrl: besom.types.Output[scala.Option[String]],
  location: besom.types.Output[scala.Option[String]],
  name: besom.types.Output[scala.Option[String]],
  peeredNetwork: besom.types.Output[scala.Option[String]],
  project: besom.types.Output[scala.Option[String]],
  projectId: besom.types.Output[scala.Option[String]],
  secrets: besom.types.Output[scala.Option[besom.api.googlenative.cloudbuild.v1.inputs.GitHubEnterpriseSecretsArgs]],
  sslCa: besom.types.Output[scala.Option[String]],
  webhookKey: besom.types.Output[scala.Option[String]]
)

object GithubEnterpriseConfigArgs:
  def apply(
    appId: besom.types.Input[String],
    displayName: besom.types.Input.Optional[String] = scala.None,
    gheConfigId: besom.types.Input.Optional[String] = scala.None,
    hostUrl: besom.types.Input.Optional[String] = scala.None,
    location: besom.types.Input.Optional[String] = scala.None,
    name: besom.types.Input.Optional[String] = scala.None,
    peeredNetwork: besom.types.Input.Optional[String] = scala.None,
    project: besom.types.Input.Optional[String] = scala.None,
    projectId: besom.types.Input.Optional[String] = scala.None,
    secrets: besom.types.Input.Optional[besom.api.googlenative.cloudbuild.v1.inputs.GitHubEnterpriseSecretsArgs] = scala.None,
    sslCa: besom.types.Input.Optional[String] = scala.None,
    webhookKey: besom.types.Input.Optional[String] = scala.None
  )(using besom.types.Context): GithubEnterpriseConfigArgs =
    new GithubEnterpriseConfigArgs(
      appId = appId.asOutput(isSecret = false),
      displayName = displayName.asOptionOutput(isSecret = false),
      gheConfigId = gheConfigId.asOptionOutput(isSecret = false),
      hostUrl = hostUrl.asOptionOutput(isSecret = false),
      location = location.asOptionOutput(isSecret = false),
      name = name.asOptionOutput(isSecret = false),
      peeredNetwork = peeredNetwork.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      projectId = projectId.asOptionOutput(isSecret = false),
      secrets = secrets.asOptionOutput(isSecret = false),
      sslCa = sslCa.asOptionOutput(isSecret = false),
      webhookKey = webhookKey.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy