
src.datalabeling.v1beta1.EvaluationJob.scala Maven / Gradle / Ivy
package besom.api.googlenative.datalabeling.v1beta1
final case class EvaluationJob private(
urn: besom.types.Output[besom.types.URN],
id: besom.types.Output[besom.types.ResourceId],
annotationSpecSet: besom.types.Output[String],
attempts: besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.datalabeling.v1beta1.outputs.GoogleCloudDatalabelingV1beta1AttemptResponse]],
createTime: besom.types.Output[String],
description: besom.types.Output[String],
evaluationJobConfig: besom.types.Output[besom.api.googlenative.datalabeling.v1beta1.outputs.GoogleCloudDatalabelingV1beta1EvaluationJobConfigResponse],
labelMissingGroundTruth: besom.types.Output[Boolean],
modelVersion: besom.types.Output[String],
name: besom.types.Output[String],
project: besom.types.Output[String],
schedule: besom.types.Output[String],
state: besom.types.Output[String]
) extends besom.CustomResource
object EvaluationJob extends besom.ResourceCompanion[EvaluationJob]:
/** Resource constructor for EvaluationJob.
*
* @param name [[besom.util.NonEmptyString]] The unique (stack-wise) name of the resource in Pulumi state (not on provider's side).
* NonEmptyString is inferred automatically from non-empty string literals, even when interpolated. If you encounter any
* issues with this, please try using `: NonEmptyString` type annotation. If you need to convert a dynamically generated
* string to NonEmptyString, use `NonEmptyString.apply` method - `NonEmptyString(str): Option[NonEmptyString]`.
*
* @param args [[EvaluationJobArgs]] The configuration to use to create this resource.
*
* @param opts [[besom.CustomResourceOptions]] Resource options to use for this resource.
* Defaults to empty options. If you need to set some options, use [[besom.opts]] function to create them, for example:
*
* {{{
* val res = EvaluationJob(
* "my-resource",
* EvaluationJobArgs(...), // your args
* opts(provider = myProvider)
* )
* }}}
*/
def apply(using ctx: besom.types.Context)(
name: besom.util.NonEmptyString,
args: EvaluationJobArgs,
opts: besom.ResourceOptsVariant.Custom ?=> besom.CustomResourceOptions = besom.CustomResourceOptions()
): besom.types.Output[EvaluationJob] =
ctx.readOrRegisterResource[EvaluationJob, EvaluationJobArgs]("google-native:datalabeling/v1beta1:EvaluationJob", name, args, opts(using besom.ResourceOptsVariant.Custom))
private[besom] def typeToken: besom.types.ResourceType = "google-native:datalabeling/v1beta1:EvaluationJob"
given resourceDecoder(using besom.types.Context): besom.types.ResourceDecoder[EvaluationJob] =
besom.internal.ResourceDecoder.derived[EvaluationJob]
given decoder(using besom.types.Context): besom.types.Decoder[EvaluationJob] =
besom.internal.Decoder.customResourceDecoder[EvaluationJob]
given outputOps: {} with
extension(output: besom.types.Output[EvaluationJob])
def urn : besom.types.Output[besom.types.URN] = output.flatMap(_.urn)
def id : besom.types.Output[besom.types.ResourceId] = output.flatMap(_.id)
def annotationSpecSet : besom.types.Output[String] = output.flatMap(_.annotationSpecSet)
def attempts : besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.datalabeling.v1beta1.outputs.GoogleCloudDatalabelingV1beta1AttemptResponse]] = output.flatMap(_.attempts)
def createTime : besom.types.Output[String] = output.flatMap(_.createTime)
def description : besom.types.Output[String] = output.flatMap(_.description)
def evaluationJobConfig : besom.types.Output[besom.api.googlenative.datalabeling.v1beta1.outputs.GoogleCloudDatalabelingV1beta1EvaluationJobConfigResponse] = output.flatMap(_.evaluationJobConfig)
def labelMissingGroundTruth : besom.types.Output[Boolean] = output.flatMap(_.labelMissingGroundTruth)
def modelVersion : besom.types.Output[String] = output.flatMap(_.modelVersion)
def name : besom.types.Output[String] = output.flatMap(_.name)
def project : besom.types.Output[String] = output.flatMap(_.project)
def schedule : besom.types.Output[String] = output.flatMap(_.schedule)
def state : besom.types.Output[String] = output.flatMap(_.state)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy