public static class ServiceCollectionExtensionsReference documentation and code samples for the Dialogflow v3 API class ServiceCollectionExtensions.
Static class to provide extension methods to configure API clients.
Namespace
Microsoft.Extensions.DependencyInjectionAssembly
Google.Cloud.Dialogflow.Cx.V3.dll
Methods
AddAgentsClient(IServiceCollection, Action<AgentsClientBuilder>)
public static IServiceCollection AddAgentsClient(this IServiceCollection services, Action<AgentsClientBuilder> action = null)Adds a singleton AgentsClient 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 |
ActionAgentsClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddAgentsClient(IServiceCollection, Action<IServiceProvider, AgentsClientBuilder>)
public static IServiceCollection AddAgentsClient(this IServiceCollection services, Action<IServiceProvider, AgentsClientBuilder> action)Adds a singleton AgentsClient 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.IServiceProviderAgentsClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddChangelogsClient(IServiceCollection, Action<ChangelogsClientBuilder>)
public static IServiceCollection AddChangelogsClient(this IServiceCollection services, Action<ChangelogsClientBuilder> action = null)Adds a singleton ChangelogsClient 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 |
ActionChangelogsClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddChangelogsClient(IServiceCollection, Action<IServiceProvider, ChangelogsClientBuilder>)
public static IServiceCollection AddChangelogsClient(this IServiceCollection services, Action<IServiceProvider, ChangelogsClientBuilder> action)Adds a singleton ChangelogsClient 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.IServiceProviderChangelogsClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddDeploymentsClient(IServiceCollection, Action<DeploymentsClientBuilder>)
public static IServiceCollection AddDeploymentsClient(this IServiceCollection services, Action<DeploymentsClientBuilder> action = null)Adds a singleton DeploymentsClient 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 |
ActionDeploymentsClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddDeploymentsClient(IServiceCollection, Action<IServiceProvider, DeploymentsClientBuilder>)
public static IServiceCollection AddDeploymentsClient(this IServiceCollection services, Action<IServiceProvider, DeploymentsClientBuilder> action)Adds a singleton DeploymentsClient 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.IServiceProviderDeploymentsClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddEntityTypesClient(IServiceCollection, Action<EntityTypesClientBuilder>)
public static IServiceCollection AddEntityTypesClient(this IServiceCollection services, Action<EntityTypesClientBuilder> action = null)Adds a singleton EntityTypesClient 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 |
ActionEntityTypesClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddEntityTypesClient(IServiceCollection, Action<IServiceProvider, EntityTypesClientBuilder>)
public static IServiceCollection AddEntityTypesClient(this IServiceCollection services, Action<IServiceProvider, EntityTypesClientBuilder> action)Adds a singleton EntityTypesClient 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.IServiceProviderEntityTypesClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddEnvironmentsClient(IServiceCollection, Action<EnvironmentsClientBuilder>)
public static IServiceCollection AddEnvironmentsClient(this IServiceCollection services, Action<EnvironmentsClientBuilder> action = null)Adds a singleton EnvironmentsClient 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 |
ActionEnvironmentsClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddEnvironmentsClient(IServiceCollection, Action<IServiceProvider, EnvironmentsClientBuilder>)
public static IServiceCollection AddEnvironmentsClient(this IServiceCollection services, Action<IServiceProvider, EnvironmentsClientBuilder> action)Adds a singleton EnvironmentsClient 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.IServiceProviderEnvironmentsClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddExperimentsClient(IServiceCollection, Action<ExperimentsClientBuilder>)
public static IServiceCollection AddExperimentsClient(this IServiceCollection services, Action<ExperimentsClientBuilder> action = null)Adds a singleton ExperimentsClient 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 |
ActionExperimentsClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddExperimentsClient(IServiceCollection, Action<IServiceProvider, ExperimentsClientBuilder>)
public static IServiceCollection AddExperimentsClient(this IServiceCollection services, Action<IServiceProvider, ExperimentsClientBuilder> action)Adds a singleton ExperimentsClient 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.IServiceProviderExperimentsClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddFlowsClient(IServiceCollection, Action<FlowsClientBuilder>)
public static IServiceCollection AddFlowsClient(this IServiceCollection services, Action<FlowsClientBuilder> action = null)Adds a singleton FlowsClient 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 |
ActionFlowsClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddFlowsClient(IServiceCollection, Action<IServiceProvider, FlowsClientBuilder>)
public static IServiceCollection AddFlowsClient(this IServiceCollection services, Action<IServiceProvider, FlowsClientBuilder> action)Adds a singleton FlowsClient 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.IServiceProviderFlowsClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddGeneratorsClient(IServiceCollection, Action<GeneratorsClientBuilder>)
public static IServiceCollection AddGeneratorsClient(this IServiceCollection services, Action<GeneratorsClientBuilder> action = null)Adds a singleton GeneratorsClient 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 |
ActionGeneratorsClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddGeneratorsClient(IServiceCollection, Action<IServiceProvider, GeneratorsClientBuilder>)
public static IServiceCollection AddGeneratorsClient(this IServiceCollection services, Action<IServiceProvider, GeneratorsClientBuilder> action)Adds a singleton GeneratorsClient 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.IServiceProviderGeneratorsClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddIntentsClient(IServiceCollection, Action<IntentsClientBuilder>)
public static IServiceCollection AddIntentsClient(this IServiceCollection services, Action<IntentsClientBuilder> action = null)Adds a singleton IntentsClient 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 |
ActionIntentsClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddIntentsClient(IServiceCollection, Action<IServiceProvider, IntentsClientBuilder>)
public static IServiceCollection AddIntentsClient(this IServiceCollection services, Action<IServiceProvider, IntentsClientBuilder> action)Adds a singleton IntentsClient 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.IServiceProviderIntentsClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddPagesClient(IServiceCollection, Action<PagesClientBuilder>)
public static IServiceCollection AddPagesClient(this IServiceCollection services, Action<PagesClientBuilder> action = null)Adds a singleton PagesClient 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 |
ActionPagesClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddPagesClient(IServiceCollection, Action<IServiceProvider, PagesClientBuilder>)
public static IServiceCollection AddPagesClient(this IServiceCollection services, Action<IServiceProvider, PagesClientBuilder> action)Adds a singleton PagesClient 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.IServiceProviderPagesClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddSecuritySettingsServiceClient(IServiceCollection, Action<SecuritySettingsServiceClientBuilder>)
public static IServiceCollection AddSecuritySettingsServiceClient(this IServiceCollection services, Action<SecuritySettingsServiceClientBuilder> action = null)Adds a singleton SecuritySettingsServiceClient 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 |
ActionSecuritySettingsServiceClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddSecuritySettingsServiceClient(IServiceCollection, Action<IServiceProvider, SecuritySettingsServiceClientBuilder>)
public static IServiceCollection AddSecuritySettingsServiceClient(this IServiceCollection services, Action<IServiceProvider, SecuritySettingsServiceClientBuilder> action)Adds a singleton SecuritySettingsServiceClient 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.IServiceProviderSecuritySettingsServiceClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddSessionEntityTypesClient(IServiceCollection, Action<SessionEntityTypesClientBuilder>)
public static IServiceCollection AddSessionEntityTypesClient(this IServiceCollection services, Action<SessionEntityTypesClientBuilder> action = null)Adds a singleton SessionEntityTypesClient 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 |
ActionSessionEntityTypesClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddSessionEntityTypesClient(IServiceCollection, Action<IServiceProvider, SessionEntityTypesClientBuilder>)
public static IServiceCollection AddSessionEntityTypesClient(this IServiceCollection services, Action<IServiceProvider, SessionEntityTypesClientBuilder> action)Adds a singleton SessionEntityTypesClient 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.IServiceProviderSessionEntityTypesClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddSessionsClient(IServiceCollection, Action<SessionsClientBuilder>)
public static IServiceCollection AddSessionsClient(this IServiceCollection services, Action<SessionsClientBuilder> action = null)Adds a singleton SessionsClient 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 |
ActionSessionsClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddSessionsClient(IServiceCollection, Action<IServiceProvider, SessionsClientBuilder>)
public static IServiceCollection AddSessionsClient(this IServiceCollection services, Action<IServiceProvider, SessionsClientBuilder> action)Adds a singleton SessionsClient 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.IServiceProviderSessionsClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddTestCasesClient(IServiceCollection, Action<TestCasesClientBuilder>)
public static IServiceCollection AddTestCasesClient(this IServiceCollection services, Action<TestCasesClientBuilder> action = null)Adds a singleton TestCasesClient 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 |
ActionTestCasesClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddTestCasesClient(IServiceCollection, Action<IServiceProvider, TestCasesClientBuilder>)
public static IServiceCollection AddTestCasesClient(this IServiceCollection services, Action<IServiceProvider, TestCasesClientBuilder> action)Adds a singleton TestCasesClient 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.IServiceProviderTestCasesClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddTransitionRouteGroupsClient(IServiceCollection, Action<TransitionRouteGroupsClientBuilder>)
public static IServiceCollection AddTransitionRouteGroupsClient(this IServiceCollection services, Action<TransitionRouteGroupsClientBuilder> action = null)Adds a singleton TransitionRouteGroupsClient 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 |
ActionTransitionRouteGroupsClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddTransitionRouteGroupsClient(IServiceCollection, Action<IServiceProvider, TransitionRouteGroupsClientBuilder>)
public static IServiceCollection AddTransitionRouteGroupsClient(this IServiceCollection services, Action<IServiceProvider, TransitionRouteGroupsClientBuilder> action)Adds a singleton TransitionRouteGroupsClient 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.IServiceProviderTransitionRouteGroupsClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddVersionsClient(IServiceCollection, Action<VersionsClientBuilder>)
public static IServiceCollection AddVersionsClient(this IServiceCollection services, Action<VersionsClientBuilder> action = null)Adds a singleton VersionsClient 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 |
ActionVersionsClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddVersionsClient(IServiceCollection, Action<IServiceProvider, VersionsClientBuilder>)
public static IServiceCollection AddVersionsClient(this IServiceCollection services, Action<IServiceProvider, VersionsClientBuilder> action)Adds a singleton VersionsClient 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.IServiceProviderVersionsClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddWebhooksClient(IServiceCollection, Action<WebhooksClientBuilder>)
public static IServiceCollection AddWebhooksClient(this IServiceCollection services, Action<WebhooksClientBuilder> action = null)Adds a singleton WebhooksClient 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 |
ActionWebhooksClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddWebhooksClient(IServiceCollection, Action<IServiceProvider, WebhooksClientBuilder>)
public static IServiceCollection AddWebhooksClient(this IServiceCollection services, Action<IServiceProvider, WebhooksClientBuilder> action)Adds a singleton WebhooksClient 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.IServiceProviderWebhooksClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|