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
@@ -10810,6 +10810,10 @@ class CreateAgentEngineSessionConfig(_common.BaseModel):
10810
10810
default=None,
10811
10811
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.""",
10812
10812
)
10813
+
session_id: Optional[str] = Field(
10814
+
default=None,
10815
+
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.""",
10816
+
)
10813
10817
10814
10818
10815
10819
class CreateAgentEngineSessionConfigDict(TypedDict, total=False):
@@ -10838,6 +10842,9 @@ class CreateAgentEngineSessionConfigDict(TypedDict, total=False):
10838
10842
labels: Optional[dict[str, str]]
10839
10843
"""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."""
10840
10844
10845
+
session_id: Optional[str]
10846
+
"""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."""
@@ -11287,6 +11294,10 @@ class UpdateAgentEngineSessionConfig(_common.BaseModel):
11287
11294
default=None,
11288
11295
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.""",
11289
11296
)
11297
+
session_id: Optional[str] = Field(
11298
+
default=None,
11299
+
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.""",
11300
+
)
11290
11301
update_mask: Optional[str] = Field(
11291
11302
default=None,
11292
11303
description="""The update mask to apply. For the `FieldMask` definition, see
@@ -11323,6 +11334,9 @@ class UpdateAgentEngineSessionConfigDict(TypedDict, total=False):
11323
11334
labels: Optional[dict[str, str]]
11324
11335
"""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."""
11325
11336
11337
+
session_id: Optional[str]
11338
+
"""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."""
11339
+
11326
11340
update_mask: Optional[str]
11327
11341
"""The update mask to apply. For the `FieldMask` definition, see
0 commit comments