AI Platform Data Labeling Service V1beta1 API - Class Google::Cloud::DataLabeling::V1beta1::LabelTextRequest (v0.10.0)

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
Returns

#basic_config=

def basic_config=(value) -> ::Google::Cloud::DataLabeling::V1beta1::HumanAnnotationConfig
Parameter
Returns

#feature

def feature() -> ::Google::Cloud::DataLabeling::V1beta1::LabelTextRequest::Feature
Returns

#feature=

def feature=(value) -> ::Google::Cloud::DataLabeling::V1beta1::LabelTextRequest::Feature
Parameter
Returns

#parent

def parent() -> ::String
Returns
  • (::String) — Required. Name of the data set to request labeling task, format: projects/{project_id}/datasets/{dataset_id}

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. Name of the data set to request labeling task, format: projects/{project_id}/datasets/{dataset_id}
Returns
  • (::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
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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.