View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaAnnotationSpecColor (google_api_ai_platform v0.13.0)

An entry of mapping between color and AnnotationSpec. The mapping is used in segmentation mask.

Attributes

  • color (type: GoogleApi.AIPlatform.V1.Model.GoogleTypeColor.t, default: nil) - The color of the AnnotationSpec in a segmentation mask.
  • displayName (type: String.t, default: nil) - The display name of the AnnotationSpec represented by the color in the segmentation mask.
  • id (type: String.t, default: nil) - The ID of the AnnotationSpec represented by the color in the segmentation mask.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaAnnotationSpecColor{
    color: GoogleApi.AIPlatform.V1.Model.GoogleTypeColor.t() | nil,
    displayName: String.t() | nil,
    id: String.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.