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

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

package besom.api.googlenative.translate.v3

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

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

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy