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

src.vision.v1.GetReferenceImageArgs.scala Maven / Gradle / Ivy

The newest version!
package besom.api.googlenative.vision.v1

final case class GetReferenceImageArgs private(
  location: besom.types.Output[String],
  productId: besom.types.Output[String],
  project: besom.types.Output[scala.Option[String]],
  referenceImageId: besom.types.Output[String]
)

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

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy