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

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
NameDescription
otherLabelTextRequest

Properties

BasicConfig

public HumanAnnotationConfig BasicConfig { get; set; }

Required. Basic human annotation config.

Property Value
TypeDescription
HumanAnnotationConfig

Feature

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

Required. The type of text labeling task.

Property Value
TypeDescription
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
TypeDescription
string

ParentAsDatasetName

public DatasetName ParentAsDatasetName { get; set; }

DatasetName-typed view over the Parent resource name property.

Property Value
TypeDescription
DatasetName

RequestConfigCase

public LabelTextRequest.RequestConfigOneofCase RequestConfigCase { get; }
Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
TextEntityExtractionConfig