Data Labeling v1beta1 API - Class LabelTextRequest (2.0.0-beta04)

public sealed class LabelTextRequest : IMessage<LabelTextRequest>, IEquatable<LabelTextRequest>, IDeepCloneable<LabelTextRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Data Labeling v1beta1 API class LabelTextRequest.

Request message for LabelText.

Inheritance

object > LabelTextRequest

Namespace

Google.Cloud.DataLabeling.V1Beta1

Assembly

Google.Cloud.DataLabeling.V1Beta1.dll

Constructors

LabelTextRequest()

public LabelTextRequest()

LabelTextRequest(LabelTextRequest)

public LabelTextRequest(LabelTextRequest other)
Parameter
Name Description
other LabelTextRequest

Properties

BasicConfig

public HumanAnnotationConfig BasicConfig { get; set; }

Required. Basic human annotation config.

Property Value
Type Description
HumanAnnotationConfig

Feature

public LabelTextRequest.Types.Feature Feature { get; set; }

Required. The type of text labeling task.

Property Value
Type Description
LabelTextRequestTypesFeature

Parent

public string Parent { get; set; }

Required. Name of the data set to request labeling task, format: projects/{project_id}/datasets/{dataset_id}

Property Value
Type Description
string

ParentAsDatasetName

public DatasetName ParentAsDatasetName { get; set; }

DatasetName-typed view over the Parent resource name property.

Property Value
Type Description
DatasetName

RequestConfigCase

public LabelTextRequest.RequestConfigOneofCase RequestConfigCase { get; }
Property Value
Type Description
LabelTextRequestRequestConfigOneofCase

TextClassificationConfig

public TextClassificationConfig TextClassificationConfig { get; set; }

Configuration for text classification task. One of text_classification_config and text_entity_extraction_config is required.

Property Value
Type Description
TextClassificationConfig

TextEntityExtractionConfig

public TextEntityExtractionConfig TextEntityExtractionConfig { get; set; }

Configuration for entity extraction task. One of text_classification_config and text_entity_extraction_config is required.

Property Value
Type Description
TextEntityExtractionConfig