1.0.0-beta87 (latest) 1.0.0-beta86

    public sealed class PredictionServiceClientImpl : PredictionServiceClient

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

PredictionService client wrapper implementation, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [PredictionServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient) \> PredictionServiceClientImpl

## Inherited Members

[PredictionServiceClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_DefaultEndpoint) [PredictionServiceClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_DefaultScopes) [PredictionServiceClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_ServiceMetadata) [PredictionServiceClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_CreateAsync_System_Threading_CancellationToken_) [PredictionServiceClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_Create) [PredictionServiceClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_ShutdownDefaultChannelsAsync) [PredictionServiceClient.PredictAsync(PredictRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_PredictAsync_Google_Cloud_AIPlatform_V1Beta1_PredictRequest_System_Threading_CancellationToken_) [PredictionServiceClient.Predict(string, IEnumerable\<Value\>, Value, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_Predict_System_String_System_Collections_Generic_IEnumerable_Google_Protobuf_WellKnownTypes_Value__Google_Protobuf_WellKnownTypes_Value_Google_Api_Gax_Grpc_CallSettings_) [PredictionServiceClient.PredictAsync(string, IEnumerable\<Value\>, Value, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_PredictAsync_System_String_System_Collections_Generic_IEnumerable_Google_Protobuf_WellKnownTypes_Value__Google_Protobuf_WellKnownTypes_Value_Google_Api_Gax_Grpc_CallSettings_) [PredictionServiceClient.PredictAsync(string, IEnumerable\<Value\>, Value, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_PredictAsync_System_String_System_Collections_Generic_IEnumerable_Google_Protobuf_WellKnownTypes_Value__Google_Protobuf_WellKnownTypes_Value_System_Threading_CancellationToken_) [PredictionServiceClient.Predict(EndpointName, IEnumerable\<Value\>, Value, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_Predict_Google_Cloud_AIPlatform_V1Beta1_EndpointName_System_Collections_Generic_IEnumerable_Google_Protobuf_WellKnownTypes_Value__Google_Protobuf_WellKnownTypes_Value_Google_Api_Gax_Grpc_CallSettings_) [PredictionServiceClient.PredictAsync(EndpointName, IEnumerable\<Value\>, Value, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_PredictAsync_Google_Cloud_AIPlatform_V1Beta1_EndpointName_System_Collections_Generic_IEnumerable_Google_Protobuf_WellKnownTypes_Value__Google_Protobuf_WellKnownTypes_Value_Google_Api_Gax_Grpc_CallSettings_) [PredictionServiceClient.PredictAsync(EndpointName, IEnumerable\<Value\>, Value, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_PredictAsync_Google_Cloud_AIPlatform_V1Beta1_EndpointName_System_Collections_Generic_IEnumerable_Google_Protobuf_WellKnownTypes_Value__Google_Protobuf_WellKnownTypes_Value_System_Threading_CancellationToken_) [PredictionServiceClient.RawPredictAsync(RawPredictRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_RawPredictAsync_Google_Cloud_AIPlatform_V1Beta1_RawPredictRequest_System_Threading_CancellationToken_) [PredictionServiceClient.RawPredict(string, HttpBody, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_RawPredict_System_String_Google_Api_HttpBody_Google_Api_Gax_Grpc_CallSettings_) [PredictionServiceClient.RawPredictAsync(string, HttpBody, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_RawPredictAsync_System_String_Google_Api_HttpBody_Google_Api_Gax_Grpc_CallSettings_) [PredictionServiceClient.RawPredictAsync(string, HttpBody, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_RawPredictAsync_System_String_Google_Api_HttpBody_System_Threading_CancellationToken_) [PredictionServiceClient.RawPredict(EndpointName, HttpBody, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_RawPredict_Google_Cloud_AIPlatform_V1Beta1_EndpointName_Google_Api_HttpBody_Google_Api_Gax_Grpc_CallSettings_) [PredictionServiceClient.RawPredictAsync(EndpointName, HttpBody, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_RawPredictAsync_Google_Cloud_AIPlatform_V1Beta1_EndpointName_Google_Api_HttpBody_Google_Api_Gax_Grpc_CallSettings_) [PredictionServiceClient.RawPredictAsync(EndpointName, HttpBody, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_RawPredictAsync_Google_Cloud_AIPlatform_V1Beta1_EndpointName_Google_Api_HttpBody_System_Threading_CancellationToken_) [PredictionServiceClient.StreamRawPredict(string, HttpBody, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_StreamRawPredict_System_String_Google_Api_HttpBody_Google_Api_Gax_Grpc_CallSettings_) [PredictionServiceClient.StreamRawPredict(EndpointName, HttpBody, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_StreamRawPredict_Google_Cloud_AIPlatform_V1Beta1_EndpointName_Google_Api_HttpBody_Google_Api_Gax_Grpc_CallSettings_) [PredictionServiceClient.DirectPredictAsync(DirectPredictRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_DirectPredictAsync_Google_Cloud_AIPlatform_V1Beta1_DirectPredictRequest_System_Threading_CancellationToken_) [PredictionServiceClient.DirectRawPredictAsync(DirectRawPredictRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_DirectRawPredictAsync_Google_Cloud_AIPlatform_V1Beta1_DirectRawPredictRequest_System_Threading_CancellationToken_) [PredictionServiceClient.ExplainAsync(ExplainRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_ExplainAsync_Google_Cloud_AIPlatform_V1Beta1_ExplainRequest_System_Threading_CancellationToken_) [PredictionServiceClient.Explain(string, IEnumerable\<Value\>, Value, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_Explain_System_String_System_Collections_Generic_IEnumerable_Google_Protobuf_WellKnownTypes_Value__Google_Protobuf_WellKnownTypes_Value_System_String_Google_Api_Gax_Grpc_CallSettings_) [PredictionServiceClient.ExplainAsync(string, IEnumerable\<Value\>, Value, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_ExplainAsync_System_String_System_Collections_Generic_IEnumerable_Google_Protobuf_WellKnownTypes_Value__Google_Protobuf_WellKnownTypes_Value_System_String_Google_Api_Gax_Grpc_CallSettings_) [PredictionServiceClient.ExplainAsync(string, IEnumerable\<Value\>, Value, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_ExplainAsync_System_String_System_Collections_Generic_IEnumerable_Google_Protobuf_WellKnownTypes_Value__Google_Protobuf_WellKnownTypes_Value_System_String_System_Threading_CancellationToken_) [PredictionServiceClient.Explain(EndpointName, IEnumerable\<Value\>, Value, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_Explain_Google_Cloud_AIPlatform_V1Beta1_EndpointName_System_Collections_Generic_IEnumerable_Google_Protobuf_WellKnownTypes_Value__Google_Protobuf_WellKnownTypes_Value_System_String_Google_Api_Gax_Grpc_CallSettings_) [PredictionServiceClient.ExplainAsync(EndpointName, IEnumerable\<Value\>, Value, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_ExplainAsync_Google_Cloud_AIPlatform_V1Beta1_EndpointName_System_Collections_Generic_IEnumerable_Google_Protobuf_WellKnownTypes_Value__Google_Protobuf_WellKnownTypes_Value_System_String_Google_Api_Gax_Grpc_CallSettings_) [PredictionServiceClient.ExplainAsync(EndpointName, IEnumerable\<Value\>, Value, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_ExplainAsync_Google_Cloud_AIPlatform_V1Beta1_EndpointName_System_Collections_Generic_IEnumerable_Google_Protobuf_WellKnownTypes_Value__Google_Protobuf_WellKnownTypes_Value_System_String_System_Threading_CancellationToken_) [PredictionServiceClient.CountTokensAsync(CountTokensRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_CountTokensAsync_Google_Cloud_AIPlatform_V1Beta1_CountTokensRequest_System_Threading_CancellationToken_) [PredictionServiceClient.CountTokens(string, IEnumerable\<Value\>, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_CountTokens_System_String_System_Collections_Generic_IEnumerable_Google_Protobuf_WellKnownTypes_Value__Google_Api_Gax_Grpc_CallSettings_) [PredictionServiceClient.CountTokensAsync(string, IEnumerable\<Value\>, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_CountTokensAsync_System_String_System_Collections_Generic_IEnumerable_Google_Protobuf_WellKnownTypes_Value__Google_Api_Gax_Grpc_CallSettings_) [PredictionServiceClient.CountTokensAsync(string, IEnumerable\<Value\>, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_CountTokensAsync_System_String_System_Collections_Generic_IEnumerable_Google_Protobuf_WellKnownTypes_Value__System_Threading_CancellationToken_) [PredictionServiceClient.CountTokens(EndpointName, IEnumerable\<Value\>, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_CountTokens_Google_Cloud_AIPlatform_V1Beta1_EndpointName_System_Collections_Generic_IEnumerable_Google_Protobuf_WellKnownTypes_Value__Google_Api_Gax_Grpc_CallSettings_) [PredictionServiceClient.CountTokensAsync(EndpointName, IEnumerable\<Value\>, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_CountTokensAsync_Google_Cloud_AIPlatform_V1Beta1_EndpointName_System_Collections_Generic_IEnumerable_Google_Protobuf_WellKnownTypes_Value__Google_Api_Gax_Grpc_CallSettings_) [PredictionServiceClient.CountTokensAsync(EndpointName, IEnumerable\<Value\>, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_CountTokensAsync_Google_Cloud_AIPlatform_V1Beta1_EndpointName_System_Collections_Generic_IEnumerable_Google_Protobuf_WellKnownTypes_Value__System_Threading_CancellationToken_) [PredictionServiceClient.GenerateContentAsync(GenerateContentRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_GenerateContentAsync_Google_Cloud_AIPlatform_V1Beta1_GenerateContentRequest_System_Threading_CancellationToken_) [PredictionServiceClient.GenerateContent(string, IEnumerable\<Content\>, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_GenerateContent_System_String_System_Collections_Generic_IEnumerable_Google_Cloud_AIPlatform_V1Beta1_Content__Google_Api_Gax_Grpc_CallSettings_) [PredictionServiceClient.GenerateContentAsync(string, IEnumerable\<Content\>, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_GenerateContentAsync_System_String_System_Collections_Generic_IEnumerable_Google_Cloud_AIPlatform_V1Beta1_Content__Google_Api_Gax_Grpc_CallSettings_) [PredictionServiceClient.GenerateContentAsync(string, IEnumerable\<Content\>, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_GenerateContentAsync_System_String_System_Collections_Generic_IEnumerable_Google_Cloud_AIPlatform_V1Beta1_Content__System_Threading_CancellationToken_) [PredictionServiceClient.StreamGenerateContent(string, IEnumerable\<Content\>, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_StreamGenerateContent_System_String_System_Collections_Generic_IEnumerable_Google_Cloud_AIPlatform_V1Beta1_Content__Google_Api_Gax_Grpc_CallSettings_) [PredictionServiceClient.ChatCompletions(string, HttpBody, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_ChatCompletions_System_String_Google_Api_HttpBody_Google_Api_Gax_Grpc_CallSettings_) [PredictionServiceClient.ChatCompletions(EndpointName, HttpBody, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_ChatCompletions_Google_Cloud_AIPlatform_V1Beta1_EndpointName_Google_Api_HttpBody_Google_Api_Gax_Grpc_CallSettings_) [PredictionServiceClient.EmbedContentAsync(EmbedContentRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_EmbedContentAsync_Google_Cloud_AIPlatform_V1Beta1_EmbedContentRequest_System_Threading_CancellationToken_) [PredictionServiceClient.EmbedContent(string, Content, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_EmbedContent_System_String_Google_Cloud_AIPlatform_V1Beta1_Content_Google_Api_Gax_Grpc_CallSettings_) [PredictionServiceClient.EmbedContentAsync(string, Content, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_EmbedContentAsync_System_String_Google_Cloud_AIPlatform_V1Beta1_Content_Google_Api_Gax_Grpc_CallSettings_) [PredictionServiceClient.EmbedContentAsync(string, Content, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_EmbedContentAsync_System_String_Google_Cloud_AIPlatform_V1Beta1_Content_System_Threading_CancellationToken_) [PredictionServiceClient.EmbedContent(EndpointName, Content, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_EmbedContent_Google_Cloud_AIPlatform_V1Beta1_EndpointName_Google_Cloud_AIPlatform_V1Beta1_Content_Google_Api_Gax_Grpc_CallSettings_) [PredictionServiceClient.EmbedContentAsync(EndpointName, Content, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_EmbedContentAsync_Google_Cloud_AIPlatform_V1Beta1_EndpointName_Google_Cloud_AIPlatform_V1Beta1_Content_Google_Api_Gax_Grpc_CallSettings_) [PredictionServiceClient.EmbedContentAsync(EndpointName, Content, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_EmbedContentAsync_Google_Cloud_AIPlatform_V1Beta1_EndpointName_Google_Cloud_AIPlatform_V1Beta1_Content_System_Threading_CancellationToken_) [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](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1)

## Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

## Remarks

A service for online predictions and explanations.

## Constructors

### PredictionServiceClientImpl(PredictionServiceClient, PredictionServiceSettings, ILogger)

    public PredictionServiceClientImpl(PredictionService.PredictionServiceClient grpcClient, PredictionServiceSettings settings, ILogger logger)

Constructs a client wrapper for the PredictionService service, with the specified gRPC client and settings.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `grpcClient` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionService.PredictionServiceClient` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceSettings` The base [PredictionServiceSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceSettings) used within this client. |
| `logger` | `https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger` Optional [ILogger](https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger) to use within this client. |

## Properties

### GrpcClient

    public override PredictionService.PredictionServiceClient GrpcClient { get; }

The underlying gRPC PredictionService client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionService.PredictionServiceClient` |   |

**Overrides** [PredictionServiceClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_GrpcClient)

### IAMPolicyClient

    public override IAMPolicyClient IAMPolicyClient { get; }

The [IAMPolicyClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V1/latest/Google.Cloud.Iam.V1.IAMPolicyClient.html) associated with this client.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V1/latest/Google.Cloud.Iam.V1.IAMPolicyClient.html` |   |

**Overrides** [PredictionServiceClient.IAMPolicyClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_IAMPolicyClient)

### LocationsClient

    public override LocationsClient LocationsClient { get; }

The [LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.html) associated with this client.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.html` |   |

**Overrides** [PredictionServiceClient.LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_LocationsClient)

## Methods

### ChatCompletions(ChatCompletionsRequest, CallSettings)

    public override PredictionServiceClient.ChatCompletionsStream ChatCompletions(ChatCompletionsRequest request, CallSettings callSettings = null)

Exposes an OpenAI-compatible endpoint for chat completions.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ChatCompletionsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClienthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient.ChatCompletionsStream` | The server stream. |

**Overrides** [PredictionServiceClient.ChatCompletions(ChatCompletionsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_ChatCompletions_Google_Cloud_AIPlatform_V1Beta1_ChatCompletionsRequest_Google_Api_Gax_Grpc_CallSettings_)

### CountTokens(CountTokensRequest, CallSettings)

    public override CountTokensResponse CountTokens(CountTokensRequest request, CallSettings callSettings = null)

Perform a token counting.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.CountTokensRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.CountTokensResponse` | The RPC response. |

**Overrides** [PredictionServiceClient.CountTokens(CountTokensRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_CountTokens_Google_Cloud_AIPlatform_V1Beta1_CountTokensRequest_Google_Api_Gax_Grpc_CallSettings_)

### CountTokensAsync(CountTokensRequest, CallSettings)

    public override Task<CountTokensResponse> CountTokensAsync(CountTokensRequest request, CallSettings callSettings = null)

Perform a token counting.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.CountTokensRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.CountTokensResponse` | A Task containing the RPC response. |

**Overrides** [PredictionServiceClient.CountTokensAsync(CountTokensRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_CountTokensAsync_Google_Cloud_AIPlatform_V1Beta1_CountTokensRequest_Google_Api_Gax_Grpc_CallSettings_)

### DirectPredict(DirectPredictRequest, CallSettings)

    public override DirectPredictResponse DirectPredict(DirectPredictRequest request, CallSettings callSettings = null)

Perform an unary online prediction request to a gRPC model server for
Vertex first-party products and frameworks.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.DirectPredictRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.DirectPredictResponse` | The RPC response. |

**Overrides** [PredictionServiceClient.DirectPredict(DirectPredictRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_DirectPredict_Google_Cloud_AIPlatform_V1Beta1_DirectPredictRequest_Google_Api_Gax_Grpc_CallSettings_)

### DirectPredictAsync(DirectPredictRequest, CallSettings)

    public override Task<DirectPredictResponse> DirectPredictAsync(DirectPredictRequest request, CallSettings callSettings = null)

Perform an unary online prediction request to a gRPC model server for
Vertex first-party products and frameworks.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.DirectPredictRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.DirectPredictResponse` | A Task containing the RPC response. |

**Overrides** [PredictionServiceClient.DirectPredictAsync(DirectPredictRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_DirectPredictAsync_Google_Cloud_AIPlatform_V1Beta1_DirectPredictRequest_Google_Api_Gax_Grpc_CallSettings_)

### DirectRawPredict(DirectRawPredictRequest, CallSettings)

    public override DirectRawPredictResponse DirectRawPredict(DirectRawPredictRequest request, CallSettings callSettings = null)

Perform an unary online prediction request to a gRPC model server for
custom containers.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.DirectRawPredictRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.DirectRawPredictResponse` | The RPC response. |

**Overrides** [PredictionServiceClient.DirectRawPredict(DirectRawPredictRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_DirectRawPredict_Google_Cloud_AIPlatform_V1Beta1_DirectRawPredictRequest_Google_Api_Gax_Grpc_CallSettings_)

### DirectRawPredictAsync(DirectRawPredictRequest, CallSettings)

    public override Task<DirectRawPredictResponse> DirectRawPredictAsync(DirectRawPredictRequest request, CallSettings callSettings = null)

Perform an unary online prediction request to a gRPC model server for
custom containers.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.DirectRawPredictRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.DirectRawPredictResponse` | A Task containing the RPC response. |

**Overrides** [PredictionServiceClient.DirectRawPredictAsync(DirectRawPredictRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_DirectRawPredictAsync_Google_Cloud_AIPlatform_V1Beta1_DirectRawPredictRequest_Google_Api_Gax_Grpc_CallSettings_)

### EmbedContent(EmbedContentRequest, CallSettings)

    public override EmbedContentResponse EmbedContent(EmbedContentRequest request, CallSettings callSettings = null)

Embed content with multimodal inputs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.EmbedContentRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.EmbedContentResponse` | The RPC response. |

**Overrides** [PredictionServiceClient.EmbedContent(EmbedContentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_EmbedContent_Google_Cloud_AIPlatform_V1Beta1_EmbedContentRequest_Google_Api_Gax_Grpc_CallSettings_)

### EmbedContentAsync(EmbedContentRequest, CallSettings)

    public override Task<EmbedContentResponse> EmbedContentAsync(EmbedContentRequest request, CallSettings callSettings = null)

Embed content with multimodal inputs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.EmbedContentRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.EmbedContentResponse` | A Task containing the RPC response. |

**Overrides** [PredictionServiceClient.EmbedContentAsync(EmbedContentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_EmbedContentAsync_Google_Cloud_AIPlatform_V1Beta1_EmbedContentRequest_Google_Api_Gax_Grpc_CallSettings_)

### Explain(ExplainRequest, CallSettings)

    public override ExplainResponse Explain(ExplainRequest request, CallSettings callSettings = null)

Perform an online explanation.

If
\[deployed_model_id\]\[google.cloud.aiplatform.v1beta1.ExplainRequest.deployed_model_id\]
is specified, the corresponding DeployModel must have
\[explanation_spec\]\[google.cloud.aiplatform.v1beta1.DeployedModel.explanation_spec\]
populated. If
\[deployed_model_id\]\[google.cloud.aiplatform.v1beta1.ExplainRequest.deployed_model_id\]
is not specified, all DeployedModels must have
\[explanation_spec\]\[google.cloud.aiplatform.v1beta1.DeployedModel.explanation_spec\]
populated.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ExplainRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ExplainResponse` | The RPC response. |

**Overrides** [PredictionServiceClient.Explain(ExplainRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_Explain_Google_Cloud_AIPlatform_V1Beta1_ExplainRequest_Google_Api_Gax_Grpc_CallSettings_)

### ExplainAsync(ExplainRequest, CallSettings)

    public override Task<ExplainResponse> ExplainAsync(ExplainRequest request, CallSettings callSettings = null)

Perform an online explanation.

If
\[deployed_model_id\]\[google.cloud.aiplatform.v1beta1.ExplainRequest.deployed_model_id\]
is specified, the corresponding DeployModel must have
\[explanation_spec\]\[google.cloud.aiplatform.v1beta1.DeployedModel.explanation_spec\]
populated. If
\[deployed_model_id\]\[google.cloud.aiplatform.v1beta1.ExplainRequest.deployed_model_id\]
is not specified, all DeployedModels must have
\[explanation_spec\]\[google.cloud.aiplatform.v1beta1.DeployedModel.explanation_spec\]
populated.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ExplainRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ExplainResponse` | A Task containing the RPC response. |

**Overrides** [PredictionServiceClient.ExplainAsync(ExplainRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_ExplainAsync_Google_Cloud_AIPlatform_V1Beta1_ExplainRequest_Google_Api_Gax_Grpc_CallSettings_)

### GenerateContent(GenerateContentRequest, CallSettings)

    public override GenerateContentResponse GenerateContent(GenerateContentRequest request, CallSettings callSettings = null)

Generate content with multimodal inputs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.GenerateContentRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.GenerateContentResponse` | The RPC response. |

**Overrides** [PredictionServiceClient.GenerateContent(GenerateContentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_GenerateContent_Google_Cloud_AIPlatform_V1Beta1_GenerateContentRequest_Google_Api_Gax_Grpc_CallSettings_)

### GenerateContentAsync(GenerateContentRequest, CallSettings)

    public override Task<GenerateContentResponse> GenerateContentAsync(GenerateContentRequest request, CallSettings callSettings = null)

Generate content with multimodal inputs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.GenerateContentRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.GenerateContentResponse` | A Task containing the RPC response. |

**Overrides** [PredictionServiceClient.GenerateContentAsync(GenerateContentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_GenerateContentAsync_Google_Cloud_AIPlatform_V1Beta1_GenerateContentRequest_Google_Api_Gax_Grpc_CallSettings_)

### Predict(PredictRequest, CallSettings)

    public override PredictResponse Predict(PredictRequest request, CallSettings callSettings = null)

Perform an online prediction.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictResponse` | The RPC response. |

**Overrides** [PredictionServiceClient.Predict(PredictRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_Predict_Google_Cloud_AIPlatform_V1Beta1_PredictRequest_Google_Api_Gax_Grpc_CallSettings_)

### PredictAsync(PredictRequest, CallSettings)

    public override Task<PredictResponse> PredictAsync(PredictRequest request, CallSettings callSettings = null)

Perform an online prediction.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictResponse` | A Task containing the RPC response. |

**Overrides** [PredictionServiceClient.PredictAsync(PredictRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_PredictAsync_Google_Cloud_AIPlatform_V1Beta1_PredictRequest_Google_Api_Gax_Grpc_CallSettings_)

### RawPredict(RawPredictRequest, CallSettings)

    public override HttpBody RawPredict(RawPredictRequest request, CallSettings callSettings = null)

Perform an online prediction with an arbitrary HTTP payload.

The response includes the following HTTP headers:

- `X-Vertex-AI-Endpoint-Id`: ID of the
  \[Endpoint\]\[google.cloud.aiplatform.v1beta1.Endpoint\] that served this
  prediction.

- `X-Vertex-AI-Deployed-Model-Id`: ID of the Endpoint's
  \[DeployedModel\]\[google.cloud.aiplatform.v1beta1.DeployedModel\] that served
  this prediction.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RawPredictRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.HttpBody.html` | The RPC response. |

**Overrides** [PredictionServiceClient.RawPredict(RawPredictRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_RawPredict_Google_Cloud_AIPlatform_V1Beta1_RawPredictRequest_Google_Api_Gax_Grpc_CallSettings_)

### RawPredictAsync(RawPredictRequest, CallSettings)

    public override Task<HttpBody> RawPredictAsync(RawPredictRequest request, CallSettings callSettings = null)

Perform an online prediction with an arbitrary HTTP payload.

The response includes the following HTTP headers:

- `X-Vertex-AI-Endpoint-Id`: ID of the
  \[Endpoint\]\[google.cloud.aiplatform.v1beta1.Endpoint\] that served this
  prediction.

- `X-Vertex-AI-Deployed-Model-Id`: ID of the Endpoint's
  \[DeployedModel\]\[google.cloud.aiplatform.v1beta1.DeployedModel\] that served
  this prediction.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RawPredictRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://cloud.google.com/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.HttpBody.html` | A Task containing the RPC response. |

**Overrides** [PredictionServiceClient.RawPredictAsync(RawPredictRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_RawPredictAsync_Google_Cloud_AIPlatform_V1Beta1_RawPredictRequest_Google_Api_Gax_Grpc_CallSettings_)

### ServerStreamingPredict(StreamingPredictRequest, CallSettings)

    public override PredictionServiceClient.ServerStreamingPredictStream ServerStreamingPredict(StreamingPredictRequest request, CallSettings callSettings = null)

Perform a server-side streaming online prediction request for Vertex
LLM streaming.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.StreamingPredictRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClienthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient.ServerStreamingPredictStream` | The server stream. |

**Overrides** [PredictionServiceClient.ServerStreamingPredict(StreamingPredictRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_ServerStreamingPredict_Google_Cloud_AIPlatform_V1Beta1_StreamingPredictRequest_Google_Api_Gax_Grpc_CallSettings_)

### StreamDirectPredict(CallSettings, BidirectionalStreamingSettings)

    public override PredictionServiceClient.StreamDirectPredictStream StreamDirectPredict(CallSettings callSettings = null, BidirectionalStreamingSettings streamingSettings = null)

Perform a streaming online prediction request to a gRPC model server for
Vertex first-party products and frameworks.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |
| `streamingSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.BidirectionalStreamingSettings.html` If not null, applies streaming overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClienthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient.StreamDirectPredictStream` | The client-server stream. |

**Overrides** [PredictionServiceClient.StreamDirectPredict(CallSettings, BidirectionalStreamingSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_StreamDirectPredict_Google_Api_Gax_Grpc_CallSettings_Google_Api_Gax_Grpc_BidirectionalStreamingSettings_)

### StreamDirectRawPredict(CallSettings, BidirectionalStreamingSettings)

    public override PredictionServiceClient.StreamDirectRawPredictStream StreamDirectRawPredict(CallSettings callSettings = null, BidirectionalStreamingSettings streamingSettings = null)

Perform a streaming online prediction request to a gRPC model server for
custom containers.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |
| `streamingSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.BidirectionalStreamingSettings.html` If not null, applies streaming overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClienthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient.StreamDirectRawPredictStream` | The client-server stream. |

**Overrides** [PredictionServiceClient.StreamDirectRawPredict(CallSettings, BidirectionalStreamingSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_StreamDirectRawPredict_Google_Api_Gax_Grpc_CallSettings_Google_Api_Gax_Grpc_BidirectionalStreamingSettings_)

### StreamGenerateContent(GenerateContentRequest, CallSettings)

    public override PredictionServiceClient.StreamGenerateContentStream StreamGenerateContent(GenerateContentRequest request, CallSettings callSettings = null)

Generate content with multimodal inputs with streaming support.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.GenerateContentRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClienthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient.StreamGenerateContentStream` | The server stream. |

**Overrides** [PredictionServiceClient.StreamGenerateContent(GenerateContentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_StreamGenerateContent_Google_Cloud_AIPlatform_V1Beta1_GenerateContentRequest_Google_Api_Gax_Grpc_CallSettings_)

### StreamRawPredict(StreamRawPredictRequest, CallSettings)

    public override PredictionServiceClient.StreamRawPredictStream StreamRawPredict(StreamRawPredictRequest request, CallSettings callSettings = null)

Perform a streaming online prediction with an arbitrary HTTP payload.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.StreamRawPredictRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClienthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient.StreamRawPredictStream` | The server stream. |

**Overrides** [PredictionServiceClient.StreamRawPredict(StreamRawPredictRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_StreamRawPredict_Google_Cloud_AIPlatform_V1Beta1_StreamRawPredictRequest_Google_Api_Gax_Grpc_CallSettings_)

### StreamingPredict(CallSettings, BidirectionalStreamingSettings)

    public override PredictionServiceClient.StreamingPredictStream StreamingPredict(CallSettings callSettings = null, BidirectionalStreamingSettings streamingSettings = null)

Perform a streaming online prediction request for Vertex first-party
products and frameworks.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |
| `streamingSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.BidirectionalStreamingSettings.html` If not null, applies streaming overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClienthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient.StreamingPredictStream` | The client-server stream. |

**Overrides** [PredictionServiceClient.StreamingPredict(CallSettings, BidirectionalStreamingSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_StreamingPredict_Google_Api_Gax_Grpc_CallSettings_Google_Api_Gax_Grpc_BidirectionalStreamingSettings_)

### StreamingRawPredict(CallSettings, BidirectionalStreamingSettings)

    public override PredictionServiceClient.StreamingRawPredictStream StreamingRawPredict(CallSettings callSettings = null, BidirectionalStreamingSettings streamingSettings = null)

Perform a streaming online prediction request through gRPC.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |
| `streamingSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.BidirectionalStreamingSettings.html` If not null, applies streaming overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClienthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient.StreamingRawPredictStream` | The client-server stream. |

**Overrides** [PredictionServiceClient.StreamingRawPredict(CallSettings, BidirectionalStreamingSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictionServiceClient#Google_Cloud_AIPlatform_V1Beta1_PredictionServiceClient_StreamingRawPredict_Google_Api_Gax_Grpc_CallSettings_Google_Api_Gax_Grpc_BidirectionalStreamingSettings_)