REST Resource: projects.locations.collections.engines.sessions

Resource: Session

External session proto definition.

JSON representation
{
  "name": string,
  "state": enum (State),
  "userPseudoId": string,
  "turns": [
    {
      object (Turn)
    }
  ],
  "startTime": string,
  "endTime": string
}
Fields
name

string

Immutable. Fully qualified name projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*

state

enum (State)

The state of the session.

userPseudoId

string

A unique identifier for tracking users.

turns[]

object (Turn)

Turns.

startTime

string (Timestamp format)

Output only. The time the session started.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

endTime

string (Timestamp format)

Output only. The time the session finished.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

Methods

create

Creates a Session.

delete

Deletes a Session.

get

Gets a Session.

list

Lists all Sessions by their parent DataStore.

patch

Updates a Session.