- 3.13.0 (latest)
- 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 Cloud AI Platform v1 API class ServiceCollectionExtensions.
Static class to provide extension methods to configure API clients.
Namespace
MicrosoftMicrosoft.ExtensionsDependencyInjectionAssembly
Google.Cloud.AIPlatform.V1.dll
Methods
AddDatasetServiceClient(IServiceCollection, Action<DatasetServiceClientBuilder>)
public static IServiceCollection AddDatasetServiceClient(this IServiceCollection services, Action<DatasetServiceClientBuilder> action = null)
Adds a singleton DatasetServiceClient 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
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddEndpointServiceClient(IServiceCollection, Action<EndpointServiceClientBuilder>)
public static IServiceCollection AddEndpointServiceClient(this IServiceCollection services, Action<EndpointServiceClientBuilder> action = null)
Adds a singleton EndpointServiceClient 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
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddFeaturestoreOnlineServingServiceClient(IServiceCollection, Action<FeaturestoreOnlineServingServiceClientBuilder>)
public static IServiceCollection AddFeaturestoreOnlineServingServiceClient(this IServiceCollection services, Action<FeaturestoreOnlineServingServiceClientBuilder> action = null)
Adds a singleton FeaturestoreOnlineServingServiceClient 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
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddFeaturestoreServiceClient(IServiceCollection, Action<FeaturestoreServiceClientBuilder>)
public static IServiceCollection AddFeaturestoreServiceClient(this IServiceCollection services, Action<FeaturestoreServiceClientBuilder> action = null)
Adds a singleton FeaturestoreServiceClient 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
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddIndexEndpointServiceClient(IServiceCollection, Action<IndexEndpointServiceClientBuilder>)
public static IServiceCollection AddIndexEndpointServiceClient(this IServiceCollection services, Action<IndexEndpointServiceClientBuilder> action = null)
Adds a singleton IndexEndpointServiceClient 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
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddIndexServiceClient(IServiceCollection, Action<IndexServiceClientBuilder>)
public static IServiceCollection AddIndexServiceClient(this IServiceCollection services, Action<IndexServiceClientBuilder> action = null)
Adds a singleton IndexServiceClient 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
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddJobServiceClient(IServiceCollection, Action<JobServiceClientBuilder>)
public static IServiceCollection AddJobServiceClient(this IServiceCollection services, Action<JobServiceClientBuilder> action = null)
Adds a singleton JobServiceClient 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
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddMetadataServiceClient(IServiceCollection, Action<MetadataServiceClientBuilder>)
public static IServiceCollection AddMetadataServiceClient(this IServiceCollection services, Action<MetadataServiceClientBuilder> action = null)
Adds a singleton MetadataServiceClient 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
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddMigrationServiceClient(IServiceCollection, Action<MigrationServiceClientBuilder>)
public static IServiceCollection AddMigrationServiceClient(this IServiceCollection services, Action<MigrationServiceClientBuilder> action = null)
Adds a singleton MigrationServiceClient 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
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddModelServiceClient(IServiceCollection, Action<ModelServiceClientBuilder>)
public static IServiceCollection AddModelServiceClient(this IServiceCollection services, Action<ModelServiceClientBuilder> action = null)
Adds a singleton ModelServiceClient 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
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddPipelineServiceClient(IServiceCollection, Action<PipelineServiceClientBuilder>)
public static IServiceCollection AddPipelineServiceClient(this IServiceCollection services, Action<PipelineServiceClientBuilder> action = null)
Adds a singleton PipelineServiceClient 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
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddPredictionServiceClient(IServiceCollection, Action<PredictionServiceClientBuilder>)
public static IServiceCollection AddPredictionServiceClient(this IServiceCollection services, Action<PredictionServiceClientBuilder> action = null)
Adds a singleton PredictionServiceClient 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
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddSpecialistPoolServiceClient(IServiceCollection, Action<SpecialistPoolServiceClientBuilder>)
public static IServiceCollection AddSpecialistPoolServiceClient(this IServiceCollection services, Action<SpecialistPoolServiceClientBuilder> action = null)
Adds a singleton SpecialistPoolServiceClient 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
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddTensorboardServiceClient(IServiceCollection, Action<TensorboardServiceClientBuilder>)
public static IServiceCollection AddTensorboardServiceClient(this IServiceCollection services, Action<TensorboardServiceClientBuilder> action = null)
Adds a singleton TensorboardServiceClient 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
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddVizierServiceClient(IServiceCollection, Action<VizierServiceClientBuilder>)
public static IServiceCollection AddVizierServiceClient(this IServiceCollection services, Action<VizierServiceClientBuilder> action = null)
Adds a singleton VizierServiceClient 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
|
Returns | |
---|---|
Type | Description |
IServiceCollection |