ADK for TypeScript: API Reference
    Preparing search index...

    Interface VertexAiCreateSessionRequest

    这些参数用于…… VertexAiSessionService.createSession.

    “Extends the common” 的意思是“扩展了常见的功能/特性”。这里的 “common” 可以指某种普遍存在、被广泛使用的功能或标准。因此,整句话的意思是:该产品或技术通过新增功能,扩展了现有的、已被广泛接受的功能范围。 CreateSessionRequest Vertex AI Agent Engine Sessions 支持两种互斥的会话过期选项。详情请参见…… https://cloud.google.com/vertex-ai/generative-ai/docs/reference/rest/v1beta1/projects.locations.reasoningEngines.sessions

    interface VertexAiCreateSessionRequest {
        appName: string;
        expireTime?: string;
        sessionId?: string;
        state?: Record<string, unknown>;
        ttl?: string;
        userId: string;
    }

    层次结构(Hierarchy)查看摘要)

    appName: string

    应用程序的名称。

    expireTime?: string

    绝对的 RFC 3339 格式的时间戳(表示 UTC 时区的过期时间),例如: '2025-10-01T00:00:00Z'.

    sessionId?: string

    会话的 ID。如果未提供 ID,系统会自动生成一个新的 ID。

    state?: Record<string, unknown>

    会话的初始状态。

    ttl?: string

    自创建以来的存活时间(以秒为单位),例如: '7200s'.

    userId: string

    用户的 ID。