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

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

package besom.api.googlenative.cloudbuild.v1

final case class GetGithubEnterpriseConfigArgs private(
  configId: besom.types.Output[scala.Option[String]],
  githubEnterpriseConfigId: besom.types.Output[String],
  location: besom.types.Output[String],
  project: besom.types.Output[scala.Option[String]],
  projectId: besom.types.Output[scala.Option[String]]
)

object GetGithubEnterpriseConfigArgs:
  def apply(
    configId: besom.types.Input.Optional[String] = scala.None,
    githubEnterpriseConfigId: besom.types.Input[String],
    location: besom.types.Input[String],
    project: besom.types.Input.Optional[String] = scala.None,
    projectId: besom.types.Input.Optional[String] = scala.None
  )(using besom.types.Context): GetGithubEnterpriseConfigArgs =
    new GetGithubEnterpriseConfigArgs(
      configId = configId.asOptionOutput(isSecret = false),
      githubEnterpriseConfigId = githubEnterpriseConfigId.asOutput(isSecret = false),
      location = location.asOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      projectId = projectId.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy