3.78.0 (latest) 3.77.0 3.76.0 3.75.0 3.74.0 3.73.0 3.72.0 3.71.0 3.70.0 3.69.0 3.68.0 3.67.0 3.66.0 3.65.0 3.64.0 3.63.0 3.62.0 3.61.0 3.60.0 3.59.0 3.58.0 3.57.0 3.56.0 3.55.0 3.54.0 3.53.0 3.52.0 3.51.0 3.50.0 3.49.0 3.48.0 3.47.0 3.46.0 3.45.0 3.44.0 3.43.0 3.42.0 3.41.0 3.40.0 3.39.0 3.38.0 3.37.0 3.36.0 3.35.0 3.34.0 3.33.0 3.32.0 3.31.0 3.30.0 3.29.0 3.28.0 3.27.0 3.26.0 3.25.0 3.24.0 3.23.0 3.22.0 3.21.0 3.20.0 3.19.0 3.18.0 3.17.0 3.16.0 3.15.0 3.14.0 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.28.0 2.27.0 2.26.0 2.25.0 2.24.0 2.23.0 2.22.0 2.21.0 2.20.0 2.19.0 2.18.0 2.17.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public static class ServiceCollectionExtensions

Reference documentation and code samples for the Vertex AI v1 API class ServiceCollectionExtensions.

Static class to provide extension methods to configure API clients.

## Inheritance

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

## 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.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Microsoft.Extensions.DependencyInjection](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Microsoft.Extensions.DependencyInjection.md.txt)

## Assembly

Google.Cloud.AIPlatform.V1.dll

## Methods

### AddAgentAnomalyDetectionServiceClient(IServiceCollection, Action\<AgentAnomalyDetectionServiceClientBuilder\>)

    public static IServiceCollection AddAgentAnomalyDetectionServiceClient(this IServiceCollection services, Action<AgentAnomalyDetectionServiceClientBuilder> action = null)

Adds a singleton [AgentAnomalyDetectionServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.AgentAnomalyDetectionServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionAgentAnomalyDetectionServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddAgentAnomalyDetectionServiceClient(IServiceCollection, Action\<IServiceProvider, AgentAnomalyDetectionServiceClientBuilder\>)

    public static IServiceCollection AddAgentAnomalyDetectionServiceClient(this IServiceCollection services, Action<IServiceProvider, AgentAnomalyDetectionServiceClientBuilder> action)

Adds a singleton [AgentAnomalyDetectionServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.AgentAnomalyDetectionServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionSystem.IServiceProviderAgentAnomalyDetectionServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddDataFoundryServiceClient(IServiceCollection, Action\<DataFoundryServiceClientBuilder\>)

    public static IServiceCollection AddDataFoundryServiceClient(this IServiceCollection services, Action<DataFoundryServiceClientBuilder> action = null)

Adds a singleton [DataFoundryServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.DataFoundryServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionDataFoundryServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddDataFoundryServiceClient(IServiceCollection, Action\<IServiceProvider, DataFoundryServiceClientBuilder\>)

    public static IServiceCollection AddDataFoundryServiceClient(this IServiceCollection services, Action<IServiceProvider, DataFoundryServiceClientBuilder> action)

Adds a singleton [DataFoundryServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.DataFoundryServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionSystem.IServiceProviderDataFoundryServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddDatasetServiceClient(IServiceCollection, Action\<DatasetServiceClientBuilder\>)

    public static IServiceCollection AddDatasetServiceClient(this IServiceCollection services, Action<DatasetServiceClientBuilder> action = null)

Adds a singleton [DatasetServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.DatasetServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionDatasetServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddDatasetServiceClient(IServiceCollection, Action\<IServiceProvider, DatasetServiceClientBuilder\>)

    public static IServiceCollection AddDatasetServiceClient(this IServiceCollection services, Action<IServiceProvider, DatasetServiceClientBuilder> action)

Adds a singleton [DatasetServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.DatasetServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionSystem.IServiceProviderDatasetServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddDeploymentResourcePoolServiceClient(IServiceCollection, Action\<DeploymentResourcePoolServiceClientBuilder\>)

    public static IServiceCollection AddDeploymentResourcePoolServiceClient(this IServiceCollection services, Action<DeploymentResourcePoolServiceClientBuilder> action = null)

Adds a singleton [DeploymentResourcePoolServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.DeploymentResourcePoolServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionDeploymentResourcePoolServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddDeploymentResourcePoolServiceClient(IServiceCollection, Action\<IServiceProvider, DeploymentResourcePoolServiceClientBuilder\>)

    public static IServiceCollection AddDeploymentResourcePoolServiceClient(this IServiceCollection services, Action<IServiceProvider, DeploymentResourcePoolServiceClientBuilder> action)

Adds a singleton [DeploymentResourcePoolServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.DeploymentResourcePoolServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionSystem.IServiceProviderDeploymentResourcePoolServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddEndpointServiceClient(IServiceCollection, Action\<EndpointServiceClientBuilder\>)

    public static IServiceCollection AddEndpointServiceClient(this IServiceCollection services, Action<EndpointServiceClientBuilder> action = null)

Adds a singleton [EndpointServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.EndpointServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionEndpointServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddEndpointServiceClient(IServiceCollection, Action\<IServiceProvider, EndpointServiceClientBuilder\>)

    public static IServiceCollection AddEndpointServiceClient(this IServiceCollection services, Action<IServiceProvider, EndpointServiceClientBuilder> action)

Adds a singleton [EndpointServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.EndpointServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionSystem.IServiceProviderEndpointServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddEvaluationServiceClient(IServiceCollection, Action\<EvaluationServiceClientBuilder\>)

    public static IServiceCollection AddEvaluationServiceClient(this IServiceCollection services, Action<EvaluationServiceClientBuilder> action = null)

Adds a singleton [EvaluationServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.EvaluationServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionEvaluationServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddEvaluationServiceClient(IServiceCollection, Action\<IServiceProvider, EvaluationServiceClientBuilder\>)

    public static IServiceCollection AddEvaluationServiceClient(this IServiceCollection services, Action<IServiceProvider, EvaluationServiceClientBuilder> action)

Adds a singleton [EvaluationServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.EvaluationServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionSystem.IServiceProviderEvaluationServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddFeatureOnlineStoreAdminServiceClient(IServiceCollection, Action\<FeatureOnlineStoreAdminServiceClientBuilder\>)

    public static IServiceCollection AddFeatureOnlineStoreAdminServiceClient(this IServiceCollection services, Action<FeatureOnlineStoreAdminServiceClientBuilder> action = null)

Adds a singleton [FeatureOnlineStoreAdminServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.FeatureOnlineStoreAdminServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionFeatureOnlineStoreAdminServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddFeatureOnlineStoreAdminServiceClient(IServiceCollection, Action\<IServiceProvider, FeatureOnlineStoreAdminServiceClientBuilder\>)

    public static IServiceCollection AddFeatureOnlineStoreAdminServiceClient(this IServiceCollection services, Action<IServiceProvider, FeatureOnlineStoreAdminServiceClientBuilder> action)

Adds a singleton [FeatureOnlineStoreAdminServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.FeatureOnlineStoreAdminServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionSystem.IServiceProviderFeatureOnlineStoreAdminServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddFeatureOnlineStoreServiceClient(IServiceCollection, Action\<FeatureOnlineStoreServiceClientBuilder\>)

    public static IServiceCollection AddFeatureOnlineStoreServiceClient(this IServiceCollection services, Action<FeatureOnlineStoreServiceClientBuilder> action = null)

Adds a singleton [FeatureOnlineStoreServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.FeatureOnlineStoreServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionFeatureOnlineStoreServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddFeatureOnlineStoreServiceClient(IServiceCollection, Action\<IServiceProvider, FeatureOnlineStoreServiceClientBuilder\>)

    public static IServiceCollection AddFeatureOnlineStoreServiceClient(this IServiceCollection services, Action<IServiceProvider, FeatureOnlineStoreServiceClientBuilder> action)

Adds a singleton [FeatureOnlineStoreServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.FeatureOnlineStoreServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionSystem.IServiceProviderFeatureOnlineStoreServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddFeatureRegistryServiceClient(IServiceCollection, Action\<FeatureRegistryServiceClientBuilder\>)

    public static IServiceCollection AddFeatureRegistryServiceClient(this IServiceCollection services, Action<FeatureRegistryServiceClientBuilder> action = null)

Adds a singleton [FeatureRegistryServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.FeatureRegistryServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionFeatureRegistryServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddFeatureRegistryServiceClient(IServiceCollection, Action\<IServiceProvider, FeatureRegistryServiceClientBuilder\>)

    public static IServiceCollection AddFeatureRegistryServiceClient(this IServiceCollection services, Action<IServiceProvider, FeatureRegistryServiceClientBuilder> action)

Adds a singleton [FeatureRegistryServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.FeatureRegistryServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionSystem.IServiceProviderFeatureRegistryServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddFeaturestoreOnlineServingServiceClient(IServiceCollection, Action\<FeaturestoreOnlineServingServiceClientBuilder\>)

    public static IServiceCollection AddFeaturestoreOnlineServingServiceClient(this IServiceCollection services, Action<FeaturestoreOnlineServingServiceClientBuilder> action = null)

Adds a singleton [FeaturestoreOnlineServingServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.FeaturestoreOnlineServingServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionFeaturestoreOnlineServingServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddFeaturestoreOnlineServingServiceClient(IServiceCollection, Action\<IServiceProvider, FeaturestoreOnlineServingServiceClientBuilder\>)

    public static IServiceCollection AddFeaturestoreOnlineServingServiceClient(this IServiceCollection services, Action<IServiceProvider, FeaturestoreOnlineServingServiceClientBuilder> action)

Adds a singleton [FeaturestoreOnlineServingServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.FeaturestoreOnlineServingServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionSystem.IServiceProviderFeaturestoreOnlineServingServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddFeaturestoreServiceClient(IServiceCollection, Action\<FeaturestoreServiceClientBuilder\>)

    public static IServiceCollection AddFeaturestoreServiceClient(this IServiceCollection services, Action<FeaturestoreServiceClientBuilder> action = null)

Adds a singleton [FeaturestoreServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.FeaturestoreServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionFeaturestoreServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddFeaturestoreServiceClient(IServiceCollection, Action\<IServiceProvider, FeaturestoreServiceClientBuilder\>)

    public static IServiceCollection AddFeaturestoreServiceClient(this IServiceCollection services, Action<IServiceProvider, FeaturestoreServiceClientBuilder> action)

Adds a singleton [FeaturestoreServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.FeaturestoreServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionSystem.IServiceProviderFeaturestoreServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddGenAiCacheServiceClient(IServiceCollection, Action\<GenAiCacheServiceClientBuilder\>)

    public static IServiceCollection AddGenAiCacheServiceClient(this IServiceCollection services, Action<GenAiCacheServiceClientBuilder> action = null)

Adds a singleton [GenAiCacheServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionGenAiCacheServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddGenAiCacheServiceClient(IServiceCollection, Action\<IServiceProvider, GenAiCacheServiceClientBuilder\>)

    public static IServiceCollection AddGenAiCacheServiceClient(this IServiceCollection services, Action<IServiceProvider, GenAiCacheServiceClientBuilder> action)

Adds a singleton [GenAiCacheServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionSystem.IServiceProviderGenAiCacheServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddGenAiTuningServiceClient(IServiceCollection, Action\<GenAiTuningServiceClientBuilder\>)

    public static IServiceCollection AddGenAiTuningServiceClient(this IServiceCollection services, Action<GenAiTuningServiceClientBuilder> action = null)

Adds a singleton [GenAiTuningServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiTuningServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionGenAiTuningServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddGenAiTuningServiceClient(IServiceCollection, Action\<IServiceProvider, GenAiTuningServiceClientBuilder\>)

    public static IServiceCollection AddGenAiTuningServiceClient(this IServiceCollection services, Action<IServiceProvider, GenAiTuningServiceClientBuilder> action)

Adds a singleton [GenAiTuningServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiTuningServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionSystem.IServiceProviderGenAiTuningServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddIndexEndpointServiceClient(IServiceCollection, Action\<IndexEndpointServiceClientBuilder\>)

    public static IServiceCollection AddIndexEndpointServiceClient(this IServiceCollection services, Action<IndexEndpointServiceClientBuilder> action = null)

Adds a singleton [IndexEndpointServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.IndexEndpointServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionIndexEndpointServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddIndexEndpointServiceClient(IServiceCollection, Action\<IServiceProvider, IndexEndpointServiceClientBuilder\>)

    public static IServiceCollection AddIndexEndpointServiceClient(this IServiceCollection services, Action<IServiceProvider, IndexEndpointServiceClientBuilder> action)

Adds a singleton [IndexEndpointServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.IndexEndpointServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionSystem.IServiceProviderIndexEndpointServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddIndexServiceClient(IServiceCollection, Action\<IndexServiceClientBuilder\>)

    public static IServiceCollection AddIndexServiceClient(this IServiceCollection services, Action<IndexServiceClientBuilder> action = null)

Adds a singleton [IndexServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.IndexServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionIndexServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddIndexServiceClient(IServiceCollection, Action\<IServiceProvider, IndexServiceClientBuilder\>)

    public static IServiceCollection AddIndexServiceClient(this IServiceCollection services, Action<IServiceProvider, IndexServiceClientBuilder> action)

Adds a singleton [IndexServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.IndexServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionSystem.IServiceProviderIndexServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddJobServiceClient(IServiceCollection, Action\<JobServiceClientBuilder\>)

    public static IServiceCollection AddJobServiceClient(this IServiceCollection services, Action<JobServiceClientBuilder> action = null)

Adds a singleton [JobServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.JobServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionJobServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddJobServiceClient(IServiceCollection, Action\<IServiceProvider, JobServiceClientBuilder\>)

    public static IServiceCollection AddJobServiceClient(this IServiceCollection services, Action<IServiceProvider, JobServiceClientBuilder> action)

Adds a singleton [JobServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.JobServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionSystem.IServiceProviderJobServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddLlmUtilityServiceClient(IServiceCollection, Action\<LlmUtilityServiceClientBuilder\>)

    public static IServiceCollection AddLlmUtilityServiceClient(this IServiceCollection services, Action<LlmUtilityServiceClientBuilder> action = null)

Adds a singleton [LlmUtilityServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.LlmUtilityServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionLlmUtilityServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddLlmUtilityServiceClient(IServiceCollection, Action\<IServiceProvider, LlmUtilityServiceClientBuilder\>)

    public static IServiceCollection AddLlmUtilityServiceClient(this IServiceCollection services, Action<IServiceProvider, LlmUtilityServiceClientBuilder> action)

Adds a singleton [LlmUtilityServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.LlmUtilityServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionSystem.IServiceProviderLlmUtilityServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddMatchServiceClient(IServiceCollection, Action\<MatchServiceClientBuilder\>)

    public static IServiceCollection AddMatchServiceClient(this IServiceCollection services, Action<MatchServiceClientBuilder> action = null)

Adds a singleton [MatchServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.MatchServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionMatchServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddMatchServiceClient(IServiceCollection, Action\<IServiceProvider, MatchServiceClientBuilder\>)

    public static IServiceCollection AddMatchServiceClient(this IServiceCollection services, Action<IServiceProvider, MatchServiceClientBuilder> action)

Adds a singleton [MatchServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.MatchServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionSystem.IServiceProviderMatchServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddMetadataServiceClient(IServiceCollection, Action\<MetadataServiceClientBuilder\>)

    public static IServiceCollection AddMetadataServiceClient(this IServiceCollection services, Action<MetadataServiceClientBuilder> action = null)

Adds a singleton [MetadataServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.MetadataServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionMetadataServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddMetadataServiceClient(IServiceCollection, Action\<IServiceProvider, MetadataServiceClientBuilder\>)

    public static IServiceCollection AddMetadataServiceClient(this IServiceCollection services, Action<IServiceProvider, MetadataServiceClientBuilder> action)

Adds a singleton [MetadataServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.MetadataServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionSystem.IServiceProviderMetadataServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddMigrationServiceClient(IServiceCollection, Action\<MigrationServiceClientBuilder\>)

    public static IServiceCollection AddMigrationServiceClient(this IServiceCollection services, Action<MigrationServiceClientBuilder> action = null)

Adds a singleton [MigrationServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.MigrationServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionMigrationServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddMigrationServiceClient(IServiceCollection, Action\<IServiceProvider, MigrationServiceClientBuilder\>)

    public static IServiceCollection AddMigrationServiceClient(this IServiceCollection services, Action<IServiceProvider, MigrationServiceClientBuilder> action)

Adds a singleton [MigrationServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.MigrationServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionSystem.IServiceProviderMigrationServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddModelGardenServiceClient(IServiceCollection, Action\<ModelGardenServiceClientBuilder\>)

    public static IServiceCollection AddModelGardenServiceClient(this IServiceCollection services, Action<ModelGardenServiceClientBuilder> action = null)

Adds a singleton [ModelGardenServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.ModelGardenServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionModelGardenServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddModelGardenServiceClient(IServiceCollection, Action\<IServiceProvider, ModelGardenServiceClientBuilder\>)

    public static IServiceCollection AddModelGardenServiceClient(this IServiceCollection services, Action<IServiceProvider, ModelGardenServiceClientBuilder> action)

Adds a singleton [ModelGardenServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.ModelGardenServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionSystem.IServiceProviderModelGardenServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddModelServiceClient(IServiceCollection, Action\<ModelServiceClientBuilder\>)

    public static IServiceCollection AddModelServiceClient(this IServiceCollection services, Action<ModelServiceClientBuilder> action = null)

Adds a singleton [ModelServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.ModelServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionModelServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddModelServiceClient(IServiceCollection, Action\<IServiceProvider, ModelServiceClientBuilder\>)

    public static IServiceCollection AddModelServiceClient(this IServiceCollection services, Action<IServiceProvider, ModelServiceClientBuilder> action)

Adds a singleton [ModelServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.ModelServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionSystem.IServiceProviderModelServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddNotebookServiceClient(IServiceCollection, Action\<NotebookServiceClientBuilder\>)

    public static IServiceCollection AddNotebookServiceClient(this IServiceCollection services, Action<NotebookServiceClientBuilder> action = null)

Adds a singleton [NotebookServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.NotebookServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionNotebookServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddNotebookServiceClient(IServiceCollection, Action\<IServiceProvider, NotebookServiceClientBuilder\>)

    public static IServiceCollection AddNotebookServiceClient(this IServiceCollection services, Action<IServiceProvider, NotebookServiceClientBuilder> action)

Adds a singleton [NotebookServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.NotebookServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionSystem.IServiceProviderNotebookServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddPersistentResourceServiceClient(IServiceCollection, Action\<PersistentResourceServiceClientBuilder\>)

    public static IServiceCollection AddPersistentResourceServiceClient(this IServiceCollection services, Action<PersistentResourceServiceClientBuilder> action = null)

Adds a singleton [PersistentResourceServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.PersistentResourceServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionPersistentResourceServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddPersistentResourceServiceClient(IServiceCollection, Action\<IServiceProvider, PersistentResourceServiceClientBuilder\>)

    public static IServiceCollection AddPersistentResourceServiceClient(this IServiceCollection services, Action<IServiceProvider, PersistentResourceServiceClientBuilder> action)

Adds a singleton [PersistentResourceServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.PersistentResourceServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionSystem.IServiceProviderPersistentResourceServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddPipelineServiceClient(IServiceCollection, Action\<PipelineServiceClientBuilder\>)

    public static IServiceCollection AddPipelineServiceClient(this IServiceCollection services, Action<PipelineServiceClientBuilder> action = null)

Adds a singleton [PipelineServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.PipelineServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionPipelineServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddPipelineServiceClient(IServiceCollection, Action\<IServiceProvider, PipelineServiceClientBuilder\>)

    public static IServiceCollection AddPipelineServiceClient(this IServiceCollection services, Action<IServiceProvider, PipelineServiceClientBuilder> action)

Adds a singleton [PipelineServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.PipelineServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionSystem.IServiceProviderPipelineServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddPredictionServiceClient(IServiceCollection, Action\<PredictionServiceClientBuilder\>)

    public static IServiceCollection AddPredictionServiceClient(this IServiceCollection services, Action<PredictionServiceClientBuilder> action = null)

Adds a singleton [PredictionServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.PredictionServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionPredictionServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddPredictionServiceClient(IServiceCollection, Action\<IServiceProvider, PredictionServiceClientBuilder\>)

    public static IServiceCollection AddPredictionServiceClient(this IServiceCollection services, Action<IServiceProvider, PredictionServiceClientBuilder> action)

Adds a singleton [PredictionServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.PredictionServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionSystem.IServiceProviderPredictionServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddReasoningEngineExecutionServiceClient(IServiceCollection, Action\<ReasoningEngineExecutionServiceClientBuilder\>)

    public static IServiceCollection AddReasoningEngineExecutionServiceClient(this IServiceCollection services, Action<ReasoningEngineExecutionServiceClientBuilder> action = null)

Adds a singleton [ReasoningEngineExecutionServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.ReasoningEngineExecutionServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionReasoningEngineExecutionServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddReasoningEngineExecutionServiceClient(IServiceCollection, Action\<IServiceProvider, ReasoningEngineExecutionServiceClientBuilder\>)

    public static IServiceCollection AddReasoningEngineExecutionServiceClient(this IServiceCollection services, Action<IServiceProvider, ReasoningEngineExecutionServiceClientBuilder> action)

Adds a singleton [ReasoningEngineExecutionServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.ReasoningEngineExecutionServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionSystem.IServiceProviderReasoningEngineExecutionServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddReasoningEngineServiceClient(IServiceCollection, Action\<ReasoningEngineServiceClientBuilder\>)

    public static IServiceCollection AddReasoningEngineServiceClient(this IServiceCollection services, Action<ReasoningEngineServiceClientBuilder> action = null)

Adds a singleton [ReasoningEngineServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.ReasoningEngineServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionReasoningEngineServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddReasoningEngineServiceClient(IServiceCollection, Action\<IServiceProvider, ReasoningEngineServiceClientBuilder\>)

    public static IServiceCollection AddReasoningEngineServiceClient(this IServiceCollection services, Action<IServiceProvider, ReasoningEngineServiceClientBuilder> action)

Adds a singleton [ReasoningEngineServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.ReasoningEngineServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionSystem.IServiceProviderReasoningEngineServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddScheduleServiceClient(IServiceCollection, Action\<ScheduleServiceClientBuilder\>)

    public static IServiceCollection AddScheduleServiceClient(this IServiceCollection services, Action<ScheduleServiceClientBuilder> action = null)

Adds a singleton [ScheduleServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.ScheduleServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionScheduleServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddScheduleServiceClient(IServiceCollection, Action\<IServiceProvider, ScheduleServiceClientBuilder\>)

    public static IServiceCollection AddScheduleServiceClient(this IServiceCollection services, Action<IServiceProvider, ScheduleServiceClientBuilder> action)

Adds a singleton [ScheduleServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.ScheduleServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionSystem.IServiceProviderScheduleServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddSessionServiceClient(IServiceCollection, Action\<SessionServiceClientBuilder\>)

    public static IServiceCollection AddSessionServiceClient(this IServiceCollection services, Action<SessionServiceClientBuilder> action = null)

Adds a singleton [SessionServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.SessionServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionSessionServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddSessionServiceClient(IServiceCollection, Action\<IServiceProvider, SessionServiceClientBuilder\>)

    public static IServiceCollection AddSessionServiceClient(this IServiceCollection services, Action<IServiceProvider, SessionServiceClientBuilder> action)

Adds a singleton [SessionServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.SessionServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionSystem.IServiceProviderSessionServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddSpecialistPoolServiceClient(IServiceCollection, Action\<SpecialistPoolServiceClientBuilder\>)

    public static IServiceCollection AddSpecialistPoolServiceClient(this IServiceCollection services, Action<SpecialistPoolServiceClientBuilder> action = null)

Adds a singleton [SpecialistPoolServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.SpecialistPoolServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionSpecialistPoolServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddSpecialistPoolServiceClient(IServiceCollection, Action\<IServiceProvider, SpecialistPoolServiceClientBuilder\>)

    public static IServiceCollection AddSpecialistPoolServiceClient(this IServiceCollection services, Action<IServiceProvider, SpecialistPoolServiceClientBuilder> action)

Adds a singleton [SpecialistPoolServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.SpecialistPoolServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionSystem.IServiceProviderSpecialistPoolServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddTensorboardServiceClient(IServiceCollection, Action\<TensorboardServiceClientBuilder\>)

    public static IServiceCollection AddTensorboardServiceClient(this IServiceCollection services, Action<TensorboardServiceClientBuilder> action = null)

Adds a singleton [TensorboardServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.TensorboardServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionTensorboardServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddTensorboardServiceClient(IServiceCollection, Action\<IServiceProvider, TensorboardServiceClientBuilder\>)

    public static IServiceCollection AddTensorboardServiceClient(this IServiceCollection services, Action<IServiceProvider, TensorboardServiceClientBuilder> action)

Adds a singleton [TensorboardServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.TensorboardServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionSystem.IServiceProviderTensorboardServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddVertexRagDataServiceClient(IServiceCollection, Action\<VertexRagDataServiceClientBuilder\>)

    public static IServiceCollection AddVertexRagDataServiceClient(this IServiceCollection services, Action<VertexRagDataServiceClientBuilder> action = null)

Adds a singleton [VertexRagDataServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.VertexRagDataServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionVertexRagDataServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddVertexRagDataServiceClient(IServiceCollection, Action\<IServiceProvider, VertexRagDataServiceClientBuilder\>)

    public static IServiceCollection AddVertexRagDataServiceClient(this IServiceCollection services, Action<IServiceProvider, VertexRagDataServiceClientBuilder> action)

Adds a singleton [VertexRagDataServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.VertexRagDataServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionSystem.IServiceProviderVertexRagDataServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddVertexRagServiceClient(IServiceCollection, Action\<VertexRagServiceClientBuilder\>)

    public static IServiceCollection AddVertexRagServiceClient(this IServiceCollection services, Action<VertexRagServiceClientBuilder> action = null)

Adds a singleton [VertexRagServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.VertexRagServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionVertexRagServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddVertexRagServiceClient(IServiceCollection, Action\<IServiceProvider, VertexRagServiceClientBuilder\>)

    public static IServiceCollection AddVertexRagServiceClient(this IServiceCollection services, Action<IServiceProvider, VertexRagServiceClientBuilder> action)

Adds a singleton [VertexRagServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.VertexRagServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionSystem.IServiceProviderVertexRagServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddVizierServiceClient(IServiceCollection, Action\<VizierServiceClientBuilder\>)

    public static IServiceCollection AddVizierServiceClient(this IServiceCollection services, Action<VizierServiceClientBuilder> action = null)

Adds a singleton [VizierServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.VizierServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionVizierServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |

### AddVizierServiceClient(IServiceCollection, Action\<IServiceProvider, VizierServiceClientBuilder\>)

    public static IServiceCollection AddVizierServiceClient(this IServiceCollection services, Action<IServiceProvider, VizierServiceClientBuilder> action)

Adds a singleton [VizierServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.VizierServiceClient.md.txt) to `services`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `services` | `IServiceCollection` The service collection to add the client to. The services are used to configure the client when requested. |
| `action` | `ActionSystem.IServiceProviderVizierServiceClientBuilder` An optional action to invoke on the client builder. This is invoked before services from `services` are used. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IServiceCollection` |   |