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

src.datalabeling.v1beta1.EvaluationJobArgs.scala Maven / Gradle / Ivy

package besom.api.googlenative.datalabeling.v1beta1

final case class EvaluationJobArgs private(
  annotationSpecSet: besom.types.Output[String],
  description: besom.types.Output[String],
  evaluationJobConfig: besom.types.Output[besom.api.googlenative.datalabeling.v1beta1.inputs.GoogleCloudDatalabelingV1beta1EvaluationJobConfigArgs],
  labelMissingGroundTruth: besom.types.Output[Boolean],
  modelVersion: besom.types.Output[String],
  project: besom.types.Output[scala.Option[String]],
  schedule: besom.types.Output[String]
)

object EvaluationJobArgs:
  def apply(
    annotationSpecSet: besom.types.Input[String],
    description: besom.types.Input[String],
    evaluationJobConfig: besom.types.Input[besom.api.googlenative.datalabeling.v1beta1.inputs.GoogleCloudDatalabelingV1beta1EvaluationJobConfigArgs],
    labelMissingGroundTruth: besom.types.Input[Boolean],
    modelVersion: besom.types.Input[String],
    project: besom.types.Input.Optional[String] = scala.None,
    schedule: besom.types.Input[String]
  )(using besom.types.Context): EvaluationJobArgs =
    new EvaluationJobArgs(
      annotationSpecSet = annotationSpecSet.asOutput(isSecret = false),
      description = description.asOutput(isSecret = false),
      evaluationJobConfig = evaluationJobConfig.asOutput(isSecret = false),
      labelMissingGroundTruth = labelMissingGroundTruth.asOutput(isSecret = false),
      modelVersion = modelVersion.asOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      schedule = schedule.asOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy