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

src.compute.alpha.GetImageArgs.scala Maven / Gradle / Ivy

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

final case class GetImageArgs private(
  image: besom.types.Output[String],
  project: besom.types.Output[scala.Option[String]]
)

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

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy