Cloud AI Platform v1 API - Class ServiceCollectionExtensions (2.24.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.

Inheritance

object > ServiceCollectionExtensions

Namespace

Microsoft.Extensions.DependencyInjection

Assembly

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
NameDescription
servicesIServiceCollection

The service collection to add the client to. The services are used to configure the client when requested.

actionActionDatasetServiceClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
TypeDescription
IServiceCollection

AddDeploymentResourcePoolServiceClient(IServiceCollection, Action<DeploymentResourcePoolServiceClientBuilder>)

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

Adds a singleton DeploymentResourcePoolServiceClient to services.

Parameters
NameDescription
servicesIServiceCollection

The service collection to add the client to. The services are used to configure the client when requested.

actionActionDeploymentResourcePoolServiceClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
TypeDescription
IServiceCollection

AddEndpointServiceClient(IServiceCollection, Action<EndpointServiceClientBuilder>)

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

Adds a singleton EndpointServiceClient to services.

Parameters
NameDescription
servicesIServiceCollection

The service collection to add the client to. The services are used to configure the client when requested.

actionActionEndpointServiceClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
TypeDescription
IServiceCollection

AddFeatureOnlineStoreAdminServiceClient(IServiceCollection, Action<FeatureOnlineStoreAdminServiceClientBuilder>)

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

Adds a singleton FeatureOnlineStoreAdminServiceClient to services.

Parameters
NameDescription
servicesIServiceCollection

The service collection to add the client to. The services are used to configure the client when requested.

actionActionFeatureOnlineStoreAdminServiceClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
TypeDescription
IServiceCollection

AddFeatureOnlineStoreServiceClient(IServiceCollection, Action<FeatureOnlineStoreServiceClientBuilder>)

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

Adds a singleton FeatureOnlineStoreServiceClient to services.

Parameters
NameDescription
servicesIServiceCollection

The service collection to add the client to. The services are used to configure the client when requested.

actionActionFeatureOnlineStoreServiceClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
TypeDescription
IServiceCollection

AddFeatureRegistryServiceClient(IServiceCollection, Action<FeatureRegistryServiceClientBuilder>)

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

Adds a singleton FeatureRegistryServiceClient to services.

Parameters
NameDescription
servicesIServiceCollection

The service collection to add the client to. The services are used to configure the client when requested.

actionActionFeatureRegistryServiceClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
TypeDescription
IServiceCollection

AddFeaturestoreOnlineServingServiceClient(IServiceCollection, Action<FeaturestoreOnlineServingServiceClientBuilder>)

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

Adds a singleton FeaturestoreOnlineServingServiceClient to services.

Parameters
NameDescription
servicesIServiceCollection

The service collection to add the client to. The services are used to configure the client when requested.

actionActionFeaturestoreOnlineServingServiceClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
TypeDescription
IServiceCollection

AddFeaturestoreServiceClient(IServiceCollection, Action<FeaturestoreServiceClientBuilder>)

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

Adds a singleton FeaturestoreServiceClient to services.

Parameters
NameDescription
servicesIServiceCollection

The service collection to add the client to. The services are used to configure the client when requested.

actionActionFeaturestoreServiceClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
TypeDescription
IServiceCollection

AddIndexEndpointServiceClient(IServiceCollection, Action<IndexEndpointServiceClientBuilder>)

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

Adds a singleton IndexEndpointServiceClient to services.

Parameters
NameDescription
servicesIServiceCollection

The service collection to add the client to. The services are used to configure the client when requested.

actionActionIndexEndpointServiceClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
TypeDescription
IServiceCollection

AddIndexServiceClient(IServiceCollection, Action<IndexServiceClientBuilder>)

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

Adds a singleton IndexServiceClient to services.

Parameters
NameDescription
servicesIServiceCollection

The service collection to add the client to. The services are used to configure the client when requested.

actionActionIndexServiceClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
TypeDescription
IServiceCollection

AddJobServiceClient(IServiceCollection, Action<JobServiceClientBuilder>)

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

Adds a singleton JobServiceClient to services.

Parameters
NameDescription
servicesIServiceCollection

The service collection to add the client to. The services are used to configure the client when requested.

actionActionJobServiceClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
TypeDescription
IServiceCollection

AddLlmUtilityServiceClient(IServiceCollection, Action<LlmUtilityServiceClientBuilder>)

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

Adds a singleton LlmUtilityServiceClient to services.

Parameters
NameDescription
servicesIServiceCollection

The service collection to add the client to. The services are used to configure the client when requested.

actionActionLlmUtilityServiceClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
TypeDescription
IServiceCollection

AddMatchServiceClient(IServiceCollection, Action<MatchServiceClientBuilder>)

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

Adds a singleton MatchServiceClient to services.

Parameters
NameDescription
servicesIServiceCollection

The service collection to add the client to. The services are used to configure the client when requested.

actionActionMatchServiceClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
TypeDescription
IServiceCollection

AddMetadataServiceClient(IServiceCollection, Action<MetadataServiceClientBuilder>)

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

Adds a singleton MetadataServiceClient to services.

Parameters
NameDescription
servicesIServiceCollection

The service collection to add the client to. The services are used to configure the client when requested.

actionActionMetadataServiceClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
TypeDescription
IServiceCollection

AddMigrationServiceClient(IServiceCollection, Action<MigrationServiceClientBuilder>)

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

Adds a singleton MigrationServiceClient to services.

Parameters
NameDescription
servicesIServiceCollection

The service collection to add the client to. The services are used to configure the client when requested.

actionActionMigrationServiceClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
TypeDescription
IServiceCollection

AddModelGardenServiceClient(IServiceCollection, Action<ModelGardenServiceClientBuilder>)

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

Adds a singleton ModelGardenServiceClient to services.

Parameters
NameDescription
servicesIServiceCollection

The service collection to add the client to. The services are used to configure the client when requested.

actionActionModelGardenServiceClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
TypeDescription
IServiceCollection

AddModelServiceClient(IServiceCollection, Action<ModelServiceClientBuilder>)

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

Adds a singleton ModelServiceClient to services.

Parameters
NameDescription
servicesIServiceCollection

The service collection to add the client to. The services are used to configure the client when requested.

actionActionModelServiceClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
TypeDescription
IServiceCollection

AddPipelineServiceClient(IServiceCollection, Action<PipelineServiceClientBuilder>)

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

Adds a singleton PipelineServiceClient to services.

Parameters
NameDescription
servicesIServiceCollection

The service collection to add the client to. The services are used to configure the client when requested.

actionActionPipelineServiceClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
TypeDescription
IServiceCollection

AddPredictionServiceClient(IServiceCollection, Action<PredictionServiceClientBuilder>)

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

Adds a singleton PredictionServiceClient to services.

Parameters
NameDescription
servicesIServiceCollection

The service collection to add the client to. The services are used to configure the client when requested.

actionActionPredictionServiceClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
TypeDescription
IServiceCollection

AddScheduleServiceClient(IServiceCollection, Action<ScheduleServiceClientBuilder>)

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

Adds a singleton ScheduleServiceClient to services.

Parameters
NameDescription
servicesIServiceCollection

The service collection to add the client to. The services are used to configure the client when requested.

actionActionScheduleServiceClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
TypeDescription
IServiceCollection

AddSpecialistPoolServiceClient(IServiceCollection, Action<SpecialistPoolServiceClientBuilder>)

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

Adds a singleton SpecialistPoolServiceClient to services.

Parameters
NameDescription
servicesIServiceCollection

The service collection to add the client to. The services are used to configure the client when requested.

actionActionSpecialistPoolServiceClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
TypeDescription
IServiceCollection

AddTensorboardServiceClient(IServiceCollection, Action<TensorboardServiceClientBuilder>)

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

Adds a singleton TensorboardServiceClient to services.

Parameters
NameDescription
servicesIServiceCollection

The service collection to add the client to. The services are used to configure the client when requested.

actionActionTensorboardServiceClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
TypeDescription
IServiceCollection

AddVizierServiceClient(IServiceCollection, Action<VizierServiceClientBuilder>)

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

Adds a singleton VizierServiceClient to services.

Parameters
NameDescription
servicesIServiceCollection

The service collection to add the client to. The services are used to configure the client when requested.

actionActionVizierServiceClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
TypeDescription
IServiceCollection