1.0.0-beta87 (latest) 1.0.0-beta86

    public sealed class ExtensionExecutionServiceClientImpl : ExtensionExecutionServiceClient

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

ExtensionExecutionService client wrapper implementation, for convenient use.

## Inheritance

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

## Inherited Members

[ExtensionExecutionServiceClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ExtensionExecutionServiceClient#Google_Cloud_AIPlatform_V1Beta1_ExtensionExecutionServiceClient_DefaultEndpoint) [ExtensionExecutionServiceClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ExtensionExecutionServiceClient#Google_Cloud_AIPlatform_V1Beta1_ExtensionExecutionServiceClient_DefaultScopes) [ExtensionExecutionServiceClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ExtensionExecutionServiceClient#Google_Cloud_AIPlatform_V1Beta1_ExtensionExecutionServiceClient_ServiceMetadata) [ExtensionExecutionServiceClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ExtensionExecutionServiceClient#Google_Cloud_AIPlatform_V1Beta1_ExtensionExecutionServiceClient_CreateAsync_System_Threading_CancellationToken_) [ExtensionExecutionServiceClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ExtensionExecutionServiceClient#Google_Cloud_AIPlatform_V1Beta1_ExtensionExecutionServiceClient_Create) [ExtensionExecutionServiceClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ExtensionExecutionServiceClient#Google_Cloud_AIPlatform_V1Beta1_ExtensionExecutionServiceClient_ShutdownDefaultChannelsAsync) [ExtensionExecutionServiceClient.ExecuteExtensionAsync(ExecuteExtensionRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ExtensionExecutionServiceClient#Google_Cloud_AIPlatform_V1Beta1_ExtensionExecutionServiceClient_ExecuteExtensionAsync_Google_Cloud_AIPlatform_V1Beta1_ExecuteExtensionRequest_System_Threading_CancellationToken_) [ExtensionExecutionServiceClient.ExecuteExtension(string, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ExtensionExecutionServiceClient#Google_Cloud_AIPlatform_V1Beta1_ExtensionExecutionServiceClient_ExecuteExtension_System_String_System_String_Google_Api_Gax_Grpc_CallSettings_) [ExtensionExecutionServiceClient.ExecuteExtensionAsync(string, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ExtensionExecutionServiceClient#Google_Cloud_AIPlatform_V1Beta1_ExtensionExecutionServiceClient_ExecuteExtensionAsync_System_String_System_String_Google_Api_Gax_Grpc_CallSettings_) [ExtensionExecutionServiceClient.ExecuteExtensionAsync(string, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ExtensionExecutionServiceClient#Google_Cloud_AIPlatform_V1Beta1_ExtensionExecutionServiceClient_ExecuteExtensionAsync_System_String_System_String_System_Threading_CancellationToken_) [ExtensionExecutionServiceClient.ExecuteExtension(ExtensionName, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ExtensionExecutionServiceClient#Google_Cloud_AIPlatform_V1Beta1_ExtensionExecutionServiceClient_ExecuteExtension_Google_Cloud_AIPlatform_V1Beta1_ExtensionName_System_String_Google_Api_Gax_Grpc_CallSettings_) [ExtensionExecutionServiceClient.ExecuteExtensionAsync(ExtensionName, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ExtensionExecutionServiceClient#Google_Cloud_AIPlatform_V1Beta1_ExtensionExecutionServiceClient_ExecuteExtensionAsync_Google_Cloud_AIPlatform_V1Beta1_ExtensionName_System_String_Google_Api_Gax_Grpc_CallSettings_) [ExtensionExecutionServiceClient.ExecuteExtensionAsync(ExtensionName, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ExtensionExecutionServiceClient#Google_Cloud_AIPlatform_V1Beta1_ExtensionExecutionServiceClient_ExecuteExtensionAsync_Google_Cloud_AIPlatform_V1Beta1_ExtensionName_System_String_System_Threading_CancellationToken_) [ExtensionExecutionServiceClient.QueryExtensionAsync(QueryExtensionRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ExtensionExecutionServiceClient#Google_Cloud_AIPlatform_V1Beta1_ExtensionExecutionServiceClient_QueryExtensionAsync_Google_Cloud_AIPlatform_V1Beta1_QueryExtensionRequest_System_Threading_CancellationToken_) [ExtensionExecutionServiceClient.QueryExtension(string, IEnumerable\<Content\>, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ExtensionExecutionServiceClient#Google_Cloud_AIPlatform_V1Beta1_ExtensionExecutionServiceClient_QueryExtension_System_String_System_Collections_Generic_IEnumerable_Google_Cloud_AIPlatform_V1Beta1_Content__Google_Api_Gax_Grpc_CallSettings_) [ExtensionExecutionServiceClient.QueryExtensionAsync(string, IEnumerable\<Content\>, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ExtensionExecutionServiceClient#Google_Cloud_AIPlatform_V1Beta1_ExtensionExecutionServiceClient_QueryExtensionAsync_System_String_System_Collections_Generic_IEnumerable_Google_Cloud_AIPlatform_V1Beta1_Content__Google_Api_Gax_Grpc_CallSettings_) [ExtensionExecutionServiceClient.QueryExtensionAsync(string, IEnumerable\<Content\>, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ExtensionExecutionServiceClient#Google_Cloud_AIPlatform_V1Beta1_ExtensionExecutionServiceClient_QueryExtensionAsync_System_String_System_Collections_Generic_IEnumerable_Google_Cloud_AIPlatform_V1Beta1_Content__System_Threading_CancellationToken_) [ExtensionExecutionServiceClient.QueryExtension(ExtensionName, IEnumerable\<Content\>, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ExtensionExecutionServiceClient#Google_Cloud_AIPlatform_V1Beta1_ExtensionExecutionServiceClient_QueryExtension_Google_Cloud_AIPlatform_V1Beta1_ExtensionName_System_Collections_Generic_IEnumerable_Google_Cloud_AIPlatform_V1Beta1_Content__Google_Api_Gax_Grpc_CallSettings_) [ExtensionExecutionServiceClient.QueryExtensionAsync(ExtensionName, IEnumerable\<Content\>, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ExtensionExecutionServiceClient#Google_Cloud_AIPlatform_V1Beta1_ExtensionExecutionServiceClient_QueryExtensionAsync_Google_Cloud_AIPlatform_V1Beta1_ExtensionName_System_Collections_Generic_IEnumerable_Google_Cloud_AIPlatform_V1Beta1_Content__Google_Api_Gax_Grpc_CallSettings_) [ExtensionExecutionServiceClient.QueryExtensionAsync(ExtensionName, IEnumerable\<Content\>, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ExtensionExecutionServiceClient#Google_Cloud_AIPlatform_V1Beta1_ExtensionExecutionServiceClient_QueryExtensionAsync_Google_Cloud_AIPlatform_V1Beta1_ExtensionName_System_Collections_Generic_IEnumerable_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 Extension execution.

## Constructors

### ExtensionExecutionServiceClientImpl(ExtensionExecutionServiceClient, ExtensionExecutionServiceSettings, ILogger)

    public ExtensionExecutionServiceClientImpl(ExtensionExecutionService.ExtensionExecutionServiceClient grpcClient, ExtensionExecutionServiceSettings settings, ILogger logger)

Constructs a client wrapper for the ExtensionExecutionService 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.ExtensionExecutionServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ExtensionExecutionService.ExtensionExecutionServiceClient` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ExtensionExecutionServiceSettings` The base [ExtensionExecutionServiceSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ExtensionExecutionServiceSettings) 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 ExtensionExecutionService.ExtensionExecutionServiceClient GrpcClient { get; }

The underlying gRPC ExtensionExecutionService client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ExtensionExecutionServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ExtensionExecutionService.ExtensionExecutionServiceClient` |   |

**Overrides** [ExtensionExecutionServiceClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ExtensionExecutionServiceClient#Google_Cloud_AIPlatform_V1Beta1_ExtensionExecutionServiceClient_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** [ExtensionExecutionServiceClient.IAMPolicyClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ExtensionExecutionServiceClient#Google_Cloud_AIPlatform_V1Beta1_ExtensionExecutionServiceClient_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** [ExtensionExecutionServiceClient.LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ExtensionExecutionServiceClient#Google_Cloud_AIPlatform_V1Beta1_ExtensionExecutionServiceClient_LocationsClient)

## Methods

### ExecuteExtension(ExecuteExtensionRequest, CallSettings)

    public override ExecuteExtensionResponse ExecuteExtension(ExecuteExtensionRequest request, CallSettings callSettings = null)

Executes the request against a given extension.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ExecuteExtensionRequest` 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.ExecuteExtensionResponse` | The RPC response. |

**Overrides** [ExtensionExecutionServiceClient.ExecuteExtension(ExecuteExtensionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ExtensionExecutionServiceClient#Google_Cloud_AIPlatform_V1Beta1_ExtensionExecutionServiceClient_ExecuteExtension_Google_Cloud_AIPlatform_V1Beta1_ExecuteExtensionRequest_Google_Api_Gax_Grpc_CallSettings_)

### ExecuteExtensionAsync(ExecuteExtensionRequest, CallSettings)

    public override Task<ExecuteExtensionResponse> ExecuteExtensionAsync(ExecuteExtensionRequest request, CallSettings callSettings = null)

Executes the request against a given extension.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ExecuteExtensionRequest` 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.ExecuteExtensionResponse` | A Task containing the RPC response. |

**Overrides** [ExtensionExecutionServiceClient.ExecuteExtensionAsync(ExecuteExtensionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ExtensionExecutionServiceClient#Google_Cloud_AIPlatform_V1Beta1_ExtensionExecutionServiceClient_ExecuteExtensionAsync_Google_Cloud_AIPlatform_V1Beta1_ExecuteExtensionRequest_Google_Api_Gax_Grpc_CallSettings_)

### QueryExtension(QueryExtensionRequest, CallSettings)

    public override QueryExtensionResponse QueryExtension(QueryExtensionRequest request, CallSettings callSettings = null)

Queries an extension with a default controller.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.QueryExtensionRequest` 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.QueryExtensionResponse` | The RPC response. |

**Overrides** [ExtensionExecutionServiceClient.QueryExtension(QueryExtensionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ExtensionExecutionServiceClient#Google_Cloud_AIPlatform_V1Beta1_ExtensionExecutionServiceClient_QueryExtension_Google_Cloud_AIPlatform_V1Beta1_QueryExtensionRequest_Google_Api_Gax_Grpc_CallSettings_)

### QueryExtensionAsync(QueryExtensionRequest, CallSettings)

    public override Task<QueryExtensionResponse> QueryExtensionAsync(QueryExtensionRequest request, CallSettings callSettings = null)

Queries an extension with a default controller.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.QueryExtensionRequest` 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.QueryExtensionResponse` | A Task containing the RPC response. |

**Overrides** [ExtensionExecutionServiceClient.QueryExtensionAsync(QueryExtensionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ExtensionExecutionServiceClient#Google_Cloud_AIPlatform_V1Beta1_ExtensionExecutionServiceClient_QueryExtensionAsync_Google_Cloud_AIPlatform_V1Beta1_QueryExtensionRequest_Google_Api_Gax_Grpc_CallSettings_)