public static class ServiceCollectionExtensionsReference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class ServiceCollectionExtensions.
Static class to provide extension methods to configure API clients.
Namespace
Microsoft.Extensions.DependencyInjectionAssembly
Google.Cloud.Dialogflow.V2Beta1.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 |
|
AddAnswerRecordsClient(IServiceCollection, Action<AnswerRecordsClientBuilder>)
public static IServiceCollection AddAnswerRecordsClient(this IServiceCollection services, Action<AnswerRecordsClientBuilder> action = null)Adds a singleton AnswerRecordsClient 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 |
ActionAnswerRecordsClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddAnswerRecordsClient(IServiceCollection, Action<IServiceProvider, AnswerRecordsClientBuilder>)
public static IServiceCollection AddAnswerRecordsClient(this IServiceCollection services, Action<IServiceProvider, AnswerRecordsClientBuilder> action)Adds a singleton AnswerRecordsClient 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.IServiceProviderAnswerRecordsClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddContextsClient(IServiceCollection, Action<ContextsClientBuilder>)
public static IServiceCollection AddContextsClient(this IServiceCollection services, Action<ContextsClientBuilder> action = null)Adds a singleton ContextsClient 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 |
ActionContextsClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddContextsClient(IServiceCollection, Action<IServiceProvider, ContextsClientBuilder>)
public static IServiceCollection AddContextsClient(this IServiceCollection services, Action<IServiceProvider, ContextsClientBuilder> action)Adds a singleton ContextsClient 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.IServiceProviderContextsClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddConversationProfilesClient(IServiceCollection, Action<ConversationProfilesClientBuilder>)
public static IServiceCollection AddConversationProfilesClient(this IServiceCollection services, Action<ConversationProfilesClientBuilder> action = null)Adds a singleton ConversationProfilesClient 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 |
ActionConversationProfilesClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddConversationProfilesClient(IServiceCollection, Action<IServiceProvider, ConversationProfilesClientBuilder>)
public static IServiceCollection AddConversationProfilesClient(this IServiceCollection services, Action<IServiceProvider, ConversationProfilesClientBuilder> action)Adds a singleton ConversationProfilesClient 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.IServiceProviderConversationProfilesClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddConversationsClient(IServiceCollection, Action<ConversationsClientBuilder>)
public static IServiceCollection AddConversationsClient(this IServiceCollection services, Action<ConversationsClientBuilder> action = null)Adds a singleton ConversationsClient 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 |
ActionConversationsClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddConversationsClient(IServiceCollection, Action<IServiceProvider, ConversationsClientBuilder>)
public static IServiceCollection AddConversationsClient(this IServiceCollection services, Action<IServiceProvider, ConversationsClientBuilder> action)Adds a singleton ConversationsClient 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.IServiceProviderConversationsClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddDocumentsClient(IServiceCollection, Action<DocumentsClientBuilder>)
public static IServiceCollection AddDocumentsClient(this IServiceCollection services, Action<DocumentsClientBuilder> action = null)Adds a singleton DocumentsClient 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 |
ActionDocumentsClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddDocumentsClient(IServiceCollection, Action<IServiceProvider, DocumentsClientBuilder>)
public static IServiceCollection AddDocumentsClient(this IServiceCollection services, Action<IServiceProvider, DocumentsClientBuilder> action)Adds a singleton DocumentsClient 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.IServiceProviderDocumentsClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddEncryptionSpecServiceClient(IServiceCollection, Action<EncryptionSpecServiceClientBuilder>)
public static IServiceCollection AddEncryptionSpecServiceClient(this IServiceCollection services, Action<EncryptionSpecServiceClientBuilder> action = null)Adds a singleton EncryptionSpecServiceClient 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 |
ActionEncryptionSpecServiceClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddEncryptionSpecServiceClient(IServiceCollection, Action<IServiceProvider, EncryptionSpecServiceClientBuilder>)
public static IServiceCollection AddEncryptionSpecServiceClient(this IServiceCollection services, Action<IServiceProvider, EncryptionSpecServiceClientBuilder> action)Adds a singleton EncryptionSpecServiceClient 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.IServiceProviderEncryptionSpecServiceClientBuilderAn 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 |
|
AddFulfillmentsClient(IServiceCollection, Action<FulfillmentsClientBuilder>)
public static IServiceCollection AddFulfillmentsClient(this IServiceCollection services, Action<FulfillmentsClientBuilder> action = null)Adds a singleton FulfillmentsClient 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 |
ActionFulfillmentsClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddFulfillmentsClient(IServiceCollection, Action<IServiceProvider, FulfillmentsClientBuilder>)
public static IServiceCollection AddFulfillmentsClient(this IServiceCollection services, Action<IServiceProvider, FulfillmentsClientBuilder> action)Adds a singleton FulfillmentsClient 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.IServiceProviderFulfillmentsClientBuilderAn 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 |
|
AddKnowledgeBasesClient(IServiceCollection, Action<KnowledgeBasesClientBuilder>)
public static IServiceCollection AddKnowledgeBasesClient(this IServiceCollection services, Action<KnowledgeBasesClientBuilder> action = null)Adds a singleton KnowledgeBasesClient 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 |
ActionKnowledgeBasesClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddKnowledgeBasesClient(IServiceCollection, Action<IServiceProvider, KnowledgeBasesClientBuilder>)
public static IServiceCollection AddKnowledgeBasesClient(this IServiceCollection services, Action<IServiceProvider, KnowledgeBasesClientBuilder> action)Adds a singleton KnowledgeBasesClient 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.IServiceProviderKnowledgeBasesClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddParticipantsClient(IServiceCollection, Action<ParticipantsClientBuilder>)
public static IServiceCollection AddParticipantsClient(this IServiceCollection services, Action<ParticipantsClientBuilder> action = null)Adds a singleton ParticipantsClient 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 |
ActionParticipantsClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddParticipantsClient(IServiceCollection, Action<IServiceProvider, ParticipantsClientBuilder>)
public static IServiceCollection AddParticipantsClient(this IServiceCollection services, Action<IServiceProvider, ParticipantsClientBuilder> action)Adds a singleton ParticipantsClient 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.IServiceProviderParticipantsClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddPhoneNumbersClient(IServiceCollection, Action<PhoneNumbersClientBuilder>)
public static IServiceCollection AddPhoneNumbersClient(this IServiceCollection services, Action<PhoneNumbersClientBuilder> action = null)Adds a singleton PhoneNumbersClient 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 |
ActionPhoneNumbersClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddPhoneNumbersClient(IServiceCollection, Action<IServiceProvider, PhoneNumbersClientBuilder>)
public static IServiceCollection AddPhoneNumbersClient(this IServiceCollection services, Action<IServiceProvider, PhoneNumbersClientBuilder> action)Adds a singleton PhoneNumbersClient 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.IServiceProviderPhoneNumbersClientBuilderAn 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 |
|
AddSipTrunksClient(IServiceCollection, Action<SipTrunksClientBuilder>)
public static IServiceCollection AddSipTrunksClient(this IServiceCollection services, Action<SipTrunksClientBuilder> action = null)Adds a singleton SipTrunksClient 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 |
ActionSipTrunksClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddSipTrunksClient(IServiceCollection, Action<IServiceProvider, SipTrunksClientBuilder>)
public static IServiceCollection AddSipTrunksClient(this IServiceCollection services, Action<IServiceProvider, SipTrunksClientBuilder> action)Adds a singleton SipTrunksClient 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.IServiceProviderSipTrunksClientBuilderAn 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 |
|