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

src.translate.v3.GetGlossaryArgs.scala Maven / Gradle / Ivy

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

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

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

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy