View Source GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1Example (google_api_data_labeling v0.3.1)

An Example is a piece of data and its annotation. For example, an image with label "house".

Attributes

  • annotations (type: list(GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1Annotation.t), default: nil) - Output only. Annotations for the piece of data in Example. One piece of data can have multiple annotations.
  • imagePayload (type: GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1ImagePayload.t, default: nil) - The image payload, a container of the image bytes/uri.
  • name (type: String.t, default: nil) - Output only. Name of the example, in format of: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}/examples/{example_id}
  • textPayload (type: GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1TextPayload.t, default: nil) - The text payload, a container of the text content.
  • videoPayload (type: GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1VideoPayload.t, default: nil) - The video payload, a container of the video uri.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

Functions

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

Unwrap a decoded JSON object into its complex fields.