REST Resource: projects.locations.reasoningEngines.sessions

Resource: Session

A session contains a set of actions between users and Vertex agents.

Fields
name string

Required. Identifier. The resource name of the session. Format: 'projects/{project}/locations/{location}/reasoningEngines/{reasoningEngine}/sessions/{session}'.

createTime string (Timestamp format)

Output only. timestamp when the session was created.

Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

updateTime string (Timestamp format)

Output only. timestamp when the session was updated.

Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

displayName string

Optional. The display name of the session.

sessionState object (Struct format)

Optional. Session specific memory which stores key conversation points.

userId string

Required. Immutable. String id provided by the user

JSON representation
{
  "name": string,
  "createTime": string,
  "updateTime": string,
  "displayName": string,
  "sessionState": {
    object
  },
  "userId": string
}

Methods

appendEvent

Appends an event to a given session.

create

Creates a new Session.

delete

Deletes details of the specific Session.

get

Gets details of the specific Session.

list

Lists Sessions in a given reasoning engine.

patch

Updates the specific Session.