Class CreateSessionRequest (1.144.0)

CreateSessionRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for SessionService.CreateSession.

Attributes

Name Description
parent str
Required. The resource name of the location to create the session in. Format: projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}
session google.cloud.aiplatform_v1.types.Session
Required. The session to create.
session_id str
Optional. The user defined ID to use for session, which will become the final component of the session resource name. If not provided, Vertex AI will generate a value for this ID. This value may be up to 63 characters, and valid characters are [a-z0-9-]. The first character must be a letter, and the last character must be a letter or number.

Methods

CreateSessionRequest

CreateSessionRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for SessionService.CreateSession.