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

src.clouddeploy.v1.GetTargetArgs.scala Maven / Gradle / Ivy

package besom.api.googlenative.clouddeploy.v1

final case class GetTargetArgs private(
  location: besom.types.Output[String],
  project: besom.types.Output[scala.Option[String]],
  targetId: besom.types.Output[String]
)

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

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy