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

src.ml.v1.GetModelResult.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 GetModelResult private(
  defaultVersion: besom.api.googlenative.ml.v1.outputs.GoogleCloudMlV1VersionResponse,
  description: String,
  etag: String,
  labels: scala.Predef.Map[String, String],
  name: String,
  onlinePredictionConsoleLogging: Boolean,
  onlinePredictionLogging: Boolean,
  regions: scala.collection.immutable.List[String]
)
object GetModelResult :

  given decoder(using besom.types.Context): besom.types.Decoder[GetModelResult] =
    besom.internal.Decoder.derived[GetModelResult]



  given outputOps: {} with
    extension(output: besom.types.Output[GetModelResult])
      def defaultVersion : besom.types.Output[besom.api.googlenative.ml.v1.outputs.GoogleCloudMlV1VersionResponse] = output.map(_.defaultVersion)
      def description : besom.types.Output[String] = output.map(_.description)
      def etag : besom.types.Output[String] = output.map(_.etag)
      def labels : besom.types.Output[scala.Predef.Map[String, String]] = output.map(_.labels)
      def name : besom.types.Output[String] = output.map(_.name)
      def onlinePredictionConsoleLogging : besom.types.Output[Boolean] = output.map(_.onlinePredictionConsoleLogging)
      def onlinePredictionLogging : besom.types.Output[Boolean] = output.map(_.onlinePredictionLogging)
      def regions : besom.types.Output[scala.collection.immutable.List[String]] = output.map(_.regions)

  given optionOutputOps: {} with
    extension(output: besom.types.Output[scala.Option[GetModelResult]])
      def defaultVersion : besom.types.Output[scala.Option[besom.api.googlenative.ml.v1.outputs.GoogleCloudMlV1VersionResponse]] = output.map(_.map(_.defaultVersion))
      def description : besom.types.Output[scala.Option[String]] = output.map(_.map(_.description))
      def etag : besom.types.Output[scala.Option[String]] = output.map(_.map(_.etag))
      def labels : besom.types.Output[scala.Option[scala.Predef.Map[String, String]]] = output.map(_.map(_.labels))
      def name : besom.types.Output[scala.Option[String]] = output.map(_.map(_.name))
      def onlinePredictionConsoleLogging : besom.types.Output[scala.Option[Boolean]] = output.map(_.map(_.onlinePredictionConsoleLogging))
      def onlinePredictionLogging : besom.types.Output[scala.Option[Boolean]] = output.map(_.map(_.onlinePredictionLogging))
      def regions : besom.types.Output[scala.Option[scala.collection.immutable.List[String]]] = output.map(_.map(_.regions))





© 2015 - 2025 Weber Informatics LLC | Privacy Policy