LabelTextRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Request message for LabelText.
This message has oneof
_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes
Name | Description |
text_classification_config |
google.cloud.datalabeling_v1beta1.types.TextClassificationConfig
Configuration for text classification task. One of text_classification_config and text_entity_extraction_config is required. This field is a member of `oneof`_ ``request_config``. |
text_entity_extraction_config |
google.cloud.datalabeling_v1beta1.types.TextEntityExtractionConfig
Configuration for entity extraction task. One of text_classification_config and text_entity_extraction_config is required. This field is a member of `oneof`_ ``request_config``. |
parent |
str
Required. Name of the data set to request labeling task, format: projects/{project_id}/datasets/{dataset_id} |
basic_config |
google.cloud.datalabeling_v1beta1.types.HumanAnnotationConfig
Required. Basic human annotation config. |
feature |
google.cloud.datalabeling_v1beta1.types.LabelTextRequest.Feature
Required. The type of text labeling task. |
Inheritance
builtins.object > proto.message.Message > LabelTextRequestClasses
Feature
Feature(value)
Text labeling task feature.