com.pulumi.googlenative.datalabeling.v1beta1.kotlin.outputs.GetAnnotationSpecSetResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.datalabeling.v1beta1.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property annotationSpecs The array of AnnotationSpecs that you define when you create the AnnotationSpecSet. These are the possible labels for the labeling task.
* @property blockingResources The names of any related resources that are blocking changes to the annotation spec set.
* @property description Optional. User-provided description of the annotation specification set. The description can be up to 10,000 characters long.
* @property displayName The display name for AnnotationSpecSet that you define when you create it. Maximum of 64 characters.
* @property name The AnnotationSpecSet resource name in the following format: "projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}"
*/
public data class GetAnnotationSpecSetResult(
public val annotationSpecs: List,
public val blockingResources: List,
public val description: String,
public val displayName: String,
public val name: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.datalabeling.v1beta1.outputs.GetAnnotationSpecSetResult): GetAnnotationSpecSetResult = GetAnnotationSpecSetResult(
annotationSpecs = javaType.annotationSpecs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.googlenative.datalabeling.v1beta1.kotlin.outputs.GoogleCloudDatalabelingV1beta1AnnotationSpecResponse.Companion.toKotlin(args0)
})
}),
blockingResources = javaType.blockingResources().map({ args0 -> args0 }),
description = javaType.description(),
displayName = javaType.displayName(),
name = javaType.name(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy