Class ConversationsSettings (3.8.0)

public sealed class ConversationsSettings : ServiceSettingsBase

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ConversationsSettings

A deep clone of this ConversationsSettings object.

GetDefault()

public static ConversationsSettings GetDefault()

Get a new instance of the default ConversationsSettings.

Returns
TypeDescription
ConversationsSettings

A new instance of the default ConversationsSettings.