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

src.ml.v1.GetVersionArgs.scala Maven / Gradle / Ivy

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

final case class GetVersionArgs private(
  modelId: besom.types.Output[String],
  project: besom.types.Output[scala.Option[String]],
  versionId: besom.types.Output[String]
)

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

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy