Gemini Enterprise for Customer Experience v1 API - Class SessionConfig (1.0.0-beta01)

public sealed class SessionConfig : IMessage<SessionConfig>, IEquatable<SessionConfig>, IDeepCloneable<SessionConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class SessionConfig.

The configuration for the session.

Inheritance

object > SessionConfig

Namespace

Google.Cloud.Ces.V1

Assembly

Google.Cloud.Ces.V1.dll

Constructors

SessionConfig()

public SessionConfig()

SessionConfig(SessionConfig)

public SessionConfig(SessionConfig other)
Parameter
Name Description
other SessionConfig

Properties

Deployment

public string Deployment { get; set; }

Optional. The deployment of the app to use for the session. Format: projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}

Property Value
Type Description
string

EntryAgent

public string EntryAgent { get; set; }

Optional. The entry agent to handle the session. If not specified, the session will be handled by the [root agent][google.cloud.ces.v1.App.root_agent] of the app. Format: projects/{project}/locations/{location}/agents/{agent}

Property Value
Type Description
string

EntryAgentAsAgentName

public AgentName EntryAgentAsAgentName { get; set; }

AgentName-typed view over the EntryAgent resource name property.

Property Value
Type Description
AgentName

HistoricalContexts

public RepeatedField<Message> HistoricalContexts { get; }

Optional. The historical context of the session, including user inputs, agent responses, and other messages. Typically, CES agent would manage session automatically so client doesn't need to explicitly populate this field. However, client can optionally override the historical contexts to force the session start from certain state.

Property Value
Type Description
RepeatedFieldMessage

InputAudioConfig

public InputAudioConfig InputAudioConfig { get; set; }

Optional. Configuration for processing the input audio.

Property Value
Type Description
InputAudioConfig

OutputAudioConfig

public OutputAudioConfig OutputAudioConfig { get; set; }

Optional. Configuration for generating the output audio.

Property Value
Type Description
OutputAudioConfig

RemoteDialogflowQueryParameters

public SessionConfig.Types.RemoteDialogflowQueryParameters RemoteDialogflowQueryParameters { get; set; }

Optional. QueryParameters to send to the remote Dialogflow agent when the session control is transferred to the remote agent.

Property Value
Type Description
SessionConfigTypesRemoteDialogflowQueryParameters

Session

public string Session { get; set; }

Required. The unique identifier of the session. Format: projects/{project}/locations/{location}/apps/{app}/sessions/{session}

Property Value
Type Description
string

SessionAsSessionName

public SessionName SessionAsSessionName { get; set; }

SessionName-typed view over the Session resource name property.

Property Value
Type Description
SessionName

TimeZone

public string TimeZone { get; set; }

Optional. The time zone of the user. If provided, the agent will use the time zone for date and time related variables. Otherwise, the agent will use the time zone specified in the App.time_zone_settings.

The format is the IANA Time Zone Database time zone, e.g. "America/Los_Angeles".

Property Value
Type Description
string