public static class ServiceCollectionExtensionsReference documentation and code samples for the Cloud Dataplex v1 API class ServiceCollectionExtensions.
Static class to provide extension methods to configure API clients.
Namespace
Microsoft.Extensions.DependencyInjectionAssembly
Google.Cloud.Dataplex.V1.dll
Methods
AddBusinessGlossaryServiceClient(IServiceCollection, Action<BusinessGlossaryServiceClientBuilder>)
public static IServiceCollection AddBusinessGlossaryServiceClient(this IServiceCollection services, Action<BusinessGlossaryServiceClientBuilder> action = null)Adds a singleton BusinessGlossaryServiceClient to services.
| Parameters | |
|---|---|
| Name | Description |
services |
IServiceCollectionThe service collection to add the client to. The services are used to configure the client when requested. |
action |
ActionBusinessGlossaryServiceClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddBusinessGlossaryServiceClient(IServiceCollection, Action<IServiceProvider, BusinessGlossaryServiceClientBuilder>)
public static IServiceCollection AddBusinessGlossaryServiceClient(this IServiceCollection services, Action<IServiceProvider, BusinessGlossaryServiceClientBuilder> action)Adds a singleton BusinessGlossaryServiceClient to services.
| Parameters | |
|---|---|
| Name | Description |
services |
IServiceCollectionThe service collection to add the client to. The services are used to configure the client when requested. |
action |
ActionSystem.IServiceProviderBusinessGlossaryServiceClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddCatalogServiceClient(IServiceCollection, Action<CatalogServiceClientBuilder>)
public static IServiceCollection AddCatalogServiceClient(this IServiceCollection services, Action<CatalogServiceClientBuilder> action = null)Adds a singleton CatalogServiceClient to services.
| Parameters | |
|---|---|
| Name | Description |
services |
IServiceCollectionThe service collection to add the client to. The services are used to configure the client when requested. |
action |
ActionCatalogServiceClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddCatalogServiceClient(IServiceCollection, Action<IServiceProvider, CatalogServiceClientBuilder>)
public static IServiceCollection AddCatalogServiceClient(this IServiceCollection services, Action<IServiceProvider, CatalogServiceClientBuilder> action)Adds a singleton CatalogServiceClient to services.
| Parameters | |
|---|---|
| Name | Description |
services |
IServiceCollectionThe service collection to add the client to. The services are used to configure the client when requested. |
action |
ActionSystem.IServiceProviderCatalogServiceClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddCmekServiceClient(IServiceCollection, Action<CmekServiceClientBuilder>)
public static IServiceCollection AddCmekServiceClient(this IServiceCollection services, Action<CmekServiceClientBuilder> action = null)Adds a singleton CmekServiceClient to services.
| Parameters | |
|---|---|
| Name | Description |
services |
IServiceCollectionThe service collection to add the client to. The services are used to configure the client when requested. |
action |
ActionCmekServiceClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddCmekServiceClient(IServiceCollection, Action<IServiceProvider, CmekServiceClientBuilder>)
public static IServiceCollection AddCmekServiceClient(this IServiceCollection services, Action<IServiceProvider, CmekServiceClientBuilder> action)Adds a singleton CmekServiceClient to services.
| Parameters | |
|---|---|
| Name | Description |
services |
IServiceCollectionThe service collection to add the client to. The services are used to configure the client when requested. |
action |
ActionSystem.IServiceProviderCmekServiceClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddContentServiceClient(IServiceCollection, Action<ContentServiceClientBuilder>)
public static IServiceCollection AddContentServiceClient(this IServiceCollection services, Action<ContentServiceClientBuilder> action = null)Adds a singleton ContentServiceClient to services.
| Parameters | |
|---|---|
| Name | Description |
services |
IServiceCollectionThe service collection to add the client to. The services are used to configure the client when requested. |
action |
ActionContentServiceClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddContentServiceClient(IServiceCollection, Action<IServiceProvider, ContentServiceClientBuilder>)
public static IServiceCollection AddContentServiceClient(this IServiceCollection services, Action<IServiceProvider, ContentServiceClientBuilder> action)Adds a singleton ContentServiceClient to services.
| Parameters | |
|---|---|
| Name | Description |
services |
IServiceCollectionThe service collection to add the client to. The services are used to configure the client when requested. |
action |
ActionSystem.IServiceProviderContentServiceClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddDataScanServiceClient(IServiceCollection, Action<DataScanServiceClientBuilder>)
public static IServiceCollection AddDataScanServiceClient(this IServiceCollection services, Action<DataScanServiceClientBuilder> action = null)Adds a singleton DataScanServiceClient to services.
| Parameters | |
|---|---|
| Name | Description |
services |
IServiceCollectionThe service collection to add the client to. The services are used to configure the client when requested. |
action |
ActionDataScanServiceClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddDataScanServiceClient(IServiceCollection, Action<IServiceProvider, DataScanServiceClientBuilder>)
public static IServiceCollection AddDataScanServiceClient(this IServiceCollection services, Action<IServiceProvider, DataScanServiceClientBuilder> action)Adds a singleton DataScanServiceClient to services.
| Parameters | |
|---|---|
| Name | Description |
services |
IServiceCollectionThe service collection to add the client to. The services are used to configure the client when requested. |
action |
ActionSystem.IServiceProviderDataScanServiceClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddDataTaxonomyServiceClient(IServiceCollection, Action<DataTaxonomyServiceClientBuilder>)
[Obsolete]
public static IServiceCollection AddDataTaxonomyServiceClient(this IServiceCollection services, Action<DataTaxonomyServiceClientBuilder> action = null)Adds a singleton DataTaxonomyServiceClient to services.
| Parameters | |
|---|---|
| Name | Description |
services |
IServiceCollectionThe service collection to add the client to. The services are used to configure the client when requested. |
action |
ActionDataTaxonomyServiceClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddDataTaxonomyServiceClient(IServiceCollection, Action<IServiceProvider, DataTaxonomyServiceClientBuilder>)
[Obsolete]
public static IServiceCollection AddDataTaxonomyServiceClient(this IServiceCollection services, Action<IServiceProvider, DataTaxonomyServiceClientBuilder> action)Adds a singleton DataTaxonomyServiceClient to services.
| Parameters | |
|---|---|
| Name | Description |
services |
IServiceCollectionThe service collection to add the client to. The services are used to configure the client when requested. |
action |
ActionSystem.IServiceProviderDataTaxonomyServiceClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddDataplexServiceClient(IServiceCollection, Action<DataplexServiceClientBuilder>)
public static IServiceCollection AddDataplexServiceClient(this IServiceCollection services, Action<DataplexServiceClientBuilder> action = null)Adds a singleton DataplexServiceClient to services.
| Parameters | |
|---|---|
| Name | Description |
services |
IServiceCollectionThe service collection to add the client to. The services are used to configure the client when requested. |
action |
ActionDataplexServiceClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddDataplexServiceClient(IServiceCollection, Action<IServiceProvider, DataplexServiceClientBuilder>)
public static IServiceCollection AddDataplexServiceClient(this IServiceCollection services, Action<IServiceProvider, DataplexServiceClientBuilder> action)Adds a singleton DataplexServiceClient to services.
| Parameters | |
|---|---|
| Name | Description |
services |
IServiceCollectionThe service collection to add the client to. The services are used to configure the client when requested. |
action |
ActionSystem.IServiceProviderDataplexServiceClientBuilderAn 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 |
IServiceCollectionThe service collection to add the client to. The services are used to configure the client when requested. |
action |
ActionMetadataServiceClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddMetadataServiceClient(IServiceCollection, Action<IServiceProvider, MetadataServiceClientBuilder>)
public static IServiceCollection AddMetadataServiceClient(this IServiceCollection services, Action<IServiceProvider, MetadataServiceClientBuilder> action)Adds a singleton MetadataServiceClient to services.
| Parameters | |
|---|---|
| Name | Description |
services |
IServiceCollectionThe service collection to add the client to. The services are used to configure the client when requested. |
action |
ActionSystem.IServiceProviderMetadataServiceClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|