You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: vertexai/_genai/types/common.py
+14Lines changed: 14 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10790,6 +10790,10 @@ class CreateAgentEngineSessionConfig(_common.BaseModel):
10790
10790
default=None,
10791
10791
description="""Optional. The labels with user-defined metadata to organize your Sessions. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.""",
10792
10792
)
10793
+
session_id: Optional[str] = Field(
10794
+
default=None,
10795
+
description="""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.""",
10796
+
)
10793
10797
10794
10798
10795
10799
class CreateAgentEngineSessionConfigDict(TypedDict, total=False):
@@ -10818,6 +10822,9 @@ class CreateAgentEngineSessionConfigDict(TypedDict, total=False):
10818
10822
labels: Optional[dict[str, str]]
10819
10823
"""Optional. The labels with user-defined metadata to organize your Sessions. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels."""
10820
10824
10825
+
session_id: Optional[str]
10826
+
"""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."""
@@ -11267,6 +11274,10 @@ class UpdateAgentEngineSessionConfig(_common.BaseModel):
11267
11274
default=None,
11268
11275
description="""Optional. The labels with user-defined metadata to organize your Sessions. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.""",
11269
11276
)
11277
+
session_id: Optional[str] = Field(
11278
+
default=None,
11279
+
description="""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.""",
11280
+
)
11270
11281
update_mask: Optional[str] = Field(
11271
11282
default=None,
11272
11283
description="""The update mask to apply. For the `FieldMask` definition, see
@@ -11303,6 +11314,9 @@ class UpdateAgentEngineSessionConfigDict(TypedDict, total=False):
11303
11314
labels: Optional[dict[str, str]]
11304
11315
"""Optional. The labels with user-defined metadata to organize your Sessions. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels."""
11305
11316
11317
+
session_id: Optional[str]
11318
+
"""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."""
11319
+
11306
11320
update_mask: Optional[str]
11307
11321
"""The update mask to apply. For the `FieldMask` definition, see
0 commit comments