Dialogflow v3 API - Class SessionsSettings (2.6.0)

public sealed class SessionsSettings : ServiceSettingsBase

Reference documentation and code samples for the Dialogflow v3 API class SessionsSettings.

Settings for SessionsClient instances.

Inheritance

object > ServiceSettingsBase > SessionsSettings

Namespace

GoogleCloudGoogle.Cloud.DialogflowGoogle.Cloud.Dialogflow.CxV3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Constructors

SessionsSettings()

public SessionsSettings()

Constructs a new SessionsSettings object with default settings.

Properties

DetectIntentSettings

public CallSettings DetectIntentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SessionsClient.DetectIntent and SessionsClient.DetectIntentAsync.

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: 220 seconds.

FulfillIntentSettings

public CallSettings FulfillIntentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SessionsClient.FulfillIntent and SessionsClient.FulfillIntentAsync.

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.

LocationsSettings

public LocationsSettings LocationsSettings { get; set; }

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

Property Value
TypeDescription
LocationsSettings

MatchIntentSettings

public CallSettings MatchIntentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SessionsClient.MatchIntent and SessionsClient.MatchIntentAsync.

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.

StreamingDetectIntentSettings

public CallSettings StreamingDetectIntentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SessionsClient.StreamingDetectIntent and SessionsClient.StreamingDetectIntentAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 220 seconds.

StreamingDetectIntentStreamingSettings

public BidirectionalStreamingSettings StreamingDetectIntentStreamingSettings { get; set; }

BidirectionalStreamingSettings for calls to SessionsClient.StreamingDetectIntent and SessionsClient.StreamingDetectIntentAsync.

Property Value
TypeDescription
BidirectionalStreamingSettings
Remarks

The default local send queue size is 100.

Methods

Clone()

public SessionsSettings Clone()

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

Returns
TypeDescription
SessionsSettings

A deep clone of this SessionsSettings object.

GetDefault()

public static SessionsSettings GetDefault()

Get a new instance of the default SessionsSettings.

Returns
TypeDescription
SessionsSettings

A new instance of the default SessionsSettings.