Cloud AI Platform v1 API - Class TextExtractionPredictionInstance (3.5.0)

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

Reference documentation and code samples for the Cloud AI Platform v1 API class TextExtractionPredictionInstance.

Prediction input format for Text Extraction.

Inheritance

object > TextExtractionPredictionInstance

Namespace

Google.Cloud.AIPlatform.V1.Schema.Predict.Instance

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

TextExtractionPredictionInstance()

public TextExtractionPredictionInstance()

TextExtractionPredictionInstance(TextExtractionPredictionInstance)

public TextExtractionPredictionInstance(TextExtractionPredictionInstance other)
Parameter
Name Description
other TextExtractionPredictionInstance

Properties

Content

public string Content { get; set; }

The text snippet to make the predictions on.

Property Value
Type Description
string

Key

public string Key { get; set; }

This field is only used for batch prediction. If a key is provided, the batch prediction result will by mapped to this key. If omitted, then the batch prediction result will contain the entire input instance. Vertex AI will not check if keys in the request are duplicates, so it is up to the caller to ensure the keys are unique.

Property Value
Type Description
string

MimeType

public string MimeType { get; set; }

The MIME type of the text snippet. The supported MIME types are listed below.

  • text/plain
Property Value
Type Description
string