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

src.retail.v2.GetServingConfigArgs.scala Maven / Gradle / Ivy

package besom.api.googlenative.retail.v2

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

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

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy