1.0.0-beta87 (latest) 1.0.0-beta86

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

Reference documentation and code samples for the Vertex AI v1beta1 API class TextExtractionPredictionInstance.

Prediction input format for Text Extraction.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> TextExtractionPredictionInstance

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[TextExtractionPredictionInstance](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Instance.TextExtractionPredictionInstance), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[TextExtractionPredictionInstance](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Instance.TextExtractionPredictionInstance), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[TextExtractionPredictionInstance](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Instance.TextExtractionPredictionInstance), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Instance](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Instance)

## Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

## Constructors

### TextExtractionPredictionInstance()

    public TextExtractionPredictionInstance()

### TextExtractionPredictionInstance(TextExtractionPredictionInstance)

    public TextExtractionPredictionInstance(TextExtractionPredictionInstance other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Instance.TextExtractionPredictionInstance` |

## Properties

### Content

    public string Content { get; set; }

The text snippet to make the predictions on.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.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** |
| `https://learn.microsoft.com/dotnet/api/system.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** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |