Discovery Engine v1 API - Class ConversationalSearchServiceSettings (1.2.0)

public sealed class ConversationalSearchServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Discovery Engine v1 API class ConversationalSearchServiceSettings.

Settings for ConversationalSearchServiceClient instances.

Inheritance

object > ServiceSettingsBase > ConversationalSearchServiceSettings

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Constructors

ConversationalSearchServiceSettings()

public ConversationalSearchServiceSettings()

Constructs a new ConversationalSearchServiceSettings object with default settings.

Properties

AnswerQuerySettings

public CallSettings AnswerQuerySettings { get; set; }

CallSettings for synchronous and asynchronous calls to ConversationalSearchServiceClient.AnswerQuery and ConversationalSearchServiceClient.AnswerQueryAsync.

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

ConverseConversationSettings

public CallSettings ConverseConversationSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ConversationalSearchServiceClient.ConverseConversation and ConversationalSearchServiceClient.ConverseConversationAsync.

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

CreateConversationSettings

public CallSettings CreateConversationSettings { get; set; }

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

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

CreateSessionSettings

public CallSettings CreateSessionSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ConversationalSearchServiceClient.CreateSession and ConversationalSearchServiceClient.CreateSessionAsync.

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

DeleteConversationSettings

public CallSettings DeleteConversationSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ConversationalSearchServiceClient.DeleteConversation and ConversationalSearchServiceClient.DeleteConversationAsync.

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

DeleteSessionSettings

public CallSettings DeleteSessionSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ConversationalSearchServiceClient.DeleteSession and ConversationalSearchServiceClient.DeleteSessionAsync.

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

GetAnswerSettings

public CallSettings GetAnswerSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ConversationalSearchServiceClient.GetAnswer and ConversationalSearchServiceClient.GetAnswerAsync .

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

GetConversationSettings

public CallSettings GetConversationSettings { get; set; }

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

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

GetSessionSettings

public CallSettings GetSessionSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ConversationalSearchServiceClient.GetSession and ConversationalSearchServiceClient.GetSessionAsync .

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

ListConversationsSettings

public CallSettings ListConversationsSettings { get; set; }

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

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

ListSessionsSettings

public CallSettings ListSessionsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ConversationalSearchServiceClient.ListSessions and ConversationalSearchServiceClient.ListSessionsAsync.

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

LocationsSettings

public LocationsSettings LocationsSettings { get; set; }

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

Property Value
Type Description
LocationsSettings

UpdateConversationSettings

public CallSettings UpdateConversationSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ConversationalSearchServiceClient.UpdateConversation and ConversationalSearchServiceClient.UpdateConversationAsync.

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

UpdateSessionSettings

public CallSettings UpdateSessionSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ConversationalSearchServiceClient.UpdateSession and ConversationalSearchServiceClient.UpdateSessionAsync.

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

Methods

Clone()

public ConversationalSearchServiceSettings Clone()

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

Returns
Type Description
ConversationalSearchServiceSettings

A deep clone of this ConversationalSearchServiceSettings object.

GetDefault()

public static ConversationalSearchServiceSettings GetDefault()

Get a new instance of the default ConversationalSearchServiceSettings.

Returns
Type Description
ConversationalSearchServiceSettings

A new instance of the default ConversationalSearchServiceSettings.