Google Cloud Dialogflow v2 API - Class ConversationsSettings (4.25.0)

public sealed class ConversationsSettings : ServiceSettingsBase

Reference documentation and code samples for the Google Cloud Dialogflow v2 API class ConversationsSettings.

Settings for ConversationsClient instances.

Inheritance

object > ServiceSettingsBase > ConversationsSettings

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

ConversationsSettings()

public ConversationsSettings()

Constructs a new ConversationsSettings object with default settings.

Properties

CompleteConversationSettings

public CallSettings CompleteConversationSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ConversationsClient.CompleteConversation and ConversationsClient.CompleteConversationAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

CreateConversationSettings

public CallSettings CreateConversationSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ConversationsClient.CreateConversation and ConversationsClient.CreateConversationAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

GenerateStatelessSuggestionSettings

public CallSettings GenerateStatelessSuggestionSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ConversationsClient.GenerateStatelessSuggestion and ConversationsClient.GenerateStatelessSuggestionAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

GenerateStatelessSummarySettings

public CallSettings GenerateStatelessSummarySettings { get; set; }

CallSettings for synchronous and asynchronous calls to ConversationsClient.GenerateStatelessSummary and ConversationsClient.GenerateStatelessSummaryAsync .

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

GetConversationSettings

public CallSettings GetConversationSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ConversationsClient.GetConversation and ConversationsClient.GetConversationAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

ListConversationsSettings

public CallSettings ListConversationsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ConversationsClient.ListConversations and ConversationsClient.ListConversationsAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

ListMessagesSettings

public CallSettings ListMessagesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ConversationsClient.ListMessages and ConversationsClient.ListMessagesAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

LocationsSettings

public LocationsSettings LocationsSettings { get; set; }

The settings to use for the LocationsClient associated with the client.

Property Value
Type Description
LocationsSettings

SearchKnowledgeSettings

public CallSettings SearchKnowledgeSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ConversationsClient.SearchKnowledge and ConversationsClient.SearchKnowledgeAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

SuggestConversationSummarySettings

public CallSettings SuggestConversationSummarySettings { get; set; }

CallSettings for synchronous and asynchronous calls to ConversationsClient.SuggestConversationSummary and ConversationsClient.SuggestConversationSummaryAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

Methods

Clone()

public ConversationsSettings Clone()

Creates a deep clone of this object, with all the same property values.

Returns
Type Description
ConversationsSettings

A deep clone of this ConversationsSettings object.

GetDefault()

public static ConversationsSettings GetDefault()

Get a new instance of the default ConversationsSettings.

Returns
Type Description
ConversationsSettings

A new instance of the default ConversationsSettings.