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

src.healthcare.v1beta1.AnnotationArgs.scala Maven / Gradle / Ivy

package besom.api.googlenative.healthcare.v1beta1

final case class AnnotationArgs private(
  annotationSource: besom.types.Output[scala.Option[besom.api.googlenative.healthcare.v1beta1.inputs.AnnotationSourceArgs]],
  annotationStoreId: besom.types.Output[String],
  customData: besom.types.Output[scala.Option[scala.Predef.Map[String, String]]],
  datasetId: besom.types.Output[String],
  imageAnnotation: besom.types.Output[scala.Option[besom.api.googlenative.healthcare.v1beta1.inputs.ImageAnnotationArgs]],
  location: besom.types.Output[scala.Option[String]],
  name: besom.types.Output[scala.Option[String]],
  project: besom.types.Output[scala.Option[String]],
  resourceAnnotation: besom.types.Output[scala.Option[besom.api.googlenative.healthcare.v1beta1.inputs.ResourceAnnotationArgs]],
  textAnnotation: besom.types.Output[scala.Option[besom.api.googlenative.healthcare.v1beta1.inputs.SensitiveTextAnnotationArgs]]
)

object AnnotationArgs:
  def apply(
    annotationSource: besom.types.Input.Optional[besom.api.googlenative.healthcare.v1beta1.inputs.AnnotationSourceArgs] = scala.None,
    annotationStoreId: besom.types.Input[String],
    customData: besom.types.Input.Optional[scala.Predef.Map[String, besom.types.Input[String]]] = scala.None,
    datasetId: besom.types.Input[String],
    imageAnnotation: besom.types.Input.Optional[besom.api.googlenative.healthcare.v1beta1.inputs.ImageAnnotationArgs] = scala.None,
    location: besom.types.Input.Optional[String] = scala.None,
    name: besom.types.Input.Optional[String] = scala.None,
    project: besom.types.Input.Optional[String] = scala.None,
    resourceAnnotation: besom.types.Input.Optional[besom.api.googlenative.healthcare.v1beta1.inputs.ResourceAnnotationArgs] = scala.None,
    textAnnotation: besom.types.Input.Optional[besom.api.googlenative.healthcare.v1beta1.inputs.SensitiveTextAnnotationArgs] = scala.None
  )(using besom.types.Context): AnnotationArgs =
    new AnnotationArgs(
      annotationSource = annotationSource.asOptionOutput(isSecret = false),
      annotationStoreId = annotationStoreId.asOutput(isSecret = false),
      customData = customData.asOptionOutput(isSecret = false),
      datasetId = datasetId.asOutput(isSecret = false),
      imageAnnotation = imageAnnotation.asOptionOutput(isSecret = false),
      location = location.asOptionOutput(isSecret = false),
      name = name.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      resourceAnnotation = resourceAnnotation.asOptionOutput(isSecret = false),
      textAnnotation = textAnnotation.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy