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

Request message for LabelText.

Attributes

  • basicConfig (type: GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1HumanAnnotationConfig.t, default: nil) - Required. Basic human annotation config.
  • feature (type: String.t, default: nil) - Required. The type of text labeling task.
  • textClassificationConfig (type: GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1TextClassificationConfig.t, default: nil) - Configuration for text classification task. One of text_classification_config and text_entity_extraction_config is required.
  • textEntityExtractionConfig (type: GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig.t, default: nil) - Configuration for entity extraction task. One of text_classification_config and text_entity_extraction_config is required.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1LabelTextRequest{
    basicConfig:
      GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1HumanAnnotationConfig.t()
      | nil,
    feature: String.t() | nil,
    textClassificationConfig:
      GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1TextClassificationConfig.t()
      | nil,
    textEntityExtractionConfig:
      GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig.t()
      | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.