Reference documentation and code samples for the AI Platform Data Labeling Service V1beta1 API class Google::Cloud::DataLabeling::V1beta1::LabelTextRequest.
Request message for LabelText.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#basic_config
def basic_config() -> ::Google::Cloud::DataLabeling::V1beta1::HumanAnnotationConfig
- (::Google::Cloud::DataLabeling::V1beta1::HumanAnnotationConfig) — Required. Basic human annotation config.
#basic_config=
def basic_config=(value) -> ::Google::Cloud::DataLabeling::V1beta1::HumanAnnotationConfig
- value (::Google::Cloud::DataLabeling::V1beta1::HumanAnnotationConfig) — Required. Basic human annotation config.
- (::Google::Cloud::DataLabeling::V1beta1::HumanAnnotationConfig) — Required. Basic human annotation config.
#feature
def feature() -> ::Google::Cloud::DataLabeling::V1beta1::LabelTextRequest::Feature
- (::Google::Cloud::DataLabeling::V1beta1::LabelTextRequest::Feature) — Required. The type of text labeling task.
#feature=
def feature=(value) -> ::Google::Cloud::DataLabeling::V1beta1::LabelTextRequest::Feature
- value (::Google::Cloud::DataLabeling::V1beta1::LabelTextRequest::Feature) — Required. The type of text labeling task.
- (::Google::Cloud::DataLabeling::V1beta1::LabelTextRequest::Feature) — Required. The type of text labeling task.
#parent
def parent() -> ::String
- (::String) — Required. Name of the data set to request labeling task, format: projects/{project_id}/datasets/{dataset_id}
#parent=
def parent=(value) -> ::String
- value (::String) — Required. Name of the data set to request labeling task, format: projects/{project_id}/datasets/{dataset_id}
- (::String) — Required. Name of the data set to request labeling task, format: projects/{project_id}/datasets/{dataset_id}
#text_classification_config
def text_classification_config() -> ::Google::Cloud::DataLabeling::V1beta1::TextClassificationConfig
-
(::Google::Cloud::DataLabeling::V1beta1::TextClassificationConfig) — Configuration for text classification task.
One of text_classification_config and text_entity_extraction_config
is required.
Note: The following fields are mutually exclusive:
text_classification_config
,text_entity_extraction_config
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#text_classification_config=
def text_classification_config=(value) -> ::Google::Cloud::DataLabeling::V1beta1::TextClassificationConfig
-
value (::Google::Cloud::DataLabeling::V1beta1::TextClassificationConfig) — Configuration for text classification task.
One of text_classification_config and text_entity_extraction_config
is required.
Note: The following fields are mutually exclusive:
text_classification_config
,text_entity_extraction_config
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::DataLabeling::V1beta1::TextClassificationConfig) — Configuration for text classification task.
One of text_classification_config and text_entity_extraction_config
is required.
Note: The following fields are mutually exclusive:
text_classification_config
,text_entity_extraction_config
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#text_entity_extraction_config
def text_entity_extraction_config() -> ::Google::Cloud::DataLabeling::V1beta1::TextEntityExtractionConfig
-
(::Google::Cloud::DataLabeling::V1beta1::TextEntityExtractionConfig) — Configuration for entity extraction task.
One of text_classification_config and text_entity_extraction_config
is required.
Note: The following fields are mutually exclusive:
text_entity_extraction_config
,text_classification_config
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#text_entity_extraction_config=
def text_entity_extraction_config=(value) -> ::Google::Cloud::DataLabeling::V1beta1::TextEntityExtractionConfig
-
value (::Google::Cloud::DataLabeling::V1beta1::TextEntityExtractionConfig) — Configuration for entity extraction task.
One of text_classification_config and text_entity_extraction_config
is required.
Note: The following fields are mutually exclusive:
text_entity_extraction_config
,text_classification_config
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::DataLabeling::V1beta1::TextEntityExtractionConfig) — Configuration for entity extraction task.
One of text_classification_config and text_entity_extraction_config
is required.
Note: The following fields are mutually exclusive:
text_entity_extraction_config
,text_classification_config
. If a field in that set is populated, all other fields in the set will automatically be cleared.