AI Platform Data Labeling Service V1beta1 API - Class Google::Cloud::DataLabeling::V1beta1::LabelTextRequest (v0.4.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

#text_classification_config=

def text_classification_config=(value) -> ::Google::Cloud::DataLabeling::V1beta1::TextClassificationConfig
Parameter
Returns

#text_entity_extraction_config

def text_entity_extraction_config() -> ::Google::Cloud::DataLabeling::V1beta1::TextEntityExtractionConfig
Returns

#text_entity_extraction_config=

def text_entity_extraction_config=(value) -> ::Google::Cloud::DataLabeling::V1beta1::TextEntityExtractionConfig
Parameter
Returns