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

src.retail.v2beta.GetModelArgs.scala Maven / Gradle / Ivy

The newest version!
package besom.api.googlenative.retail.v2beta

final case class GetModelArgs private(
  catalogId: besom.types.Output[String],
  location: besom.types.Output[String],
  modelId: besom.types.Output[String],
  project: besom.types.Output[scala.Option[String]]
)

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

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy