File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
google/cloud/aiplatform/v1 Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,10 @@ message SessionEvent {
131131
132132 // Optional. Metadata relating to this event.
133133 EventMetadata event_metadata = 11 [(google.api.field_behavior ) = OPTIONAL ];
134+
135+ // Optional. Weakly typed raw event data in proto struct format.
136+ google.protobuf.Struct raw_event = 12
137+ [(google.api.field_behavior ) = OPTIONAL ];
134138}
135139
136140// Metadata relating to a LLM response event.
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ service SessionService {
4848 body : "session"
4949 };
5050 option (google.api.method_signature ) = "parent,session" ;
51+ option (google.api.method_signature ) = "parent,session,session_id" ;
5152 option (google.longrunning.operation_info ) = {
5253 response_type : "Session"
5354 metadata_type : "CreateSessionOperationMetadata"
@@ -127,6 +128,15 @@ message CreateSessionRequest {
127128
128129 // Required. The session to create.
129130 Session session = 2 [(google.api.field_behavior ) = REQUIRED ];
131+
132+ // Optional. The user defined ID to use for session, which will become the
133+ // final component of the session resource name. If not provided, Vertex AI
134+ // will generate a value for this ID.
135+ //
136+ // This value may be up to 63 characters, and valid characters are
137+ // `[a-z0-9-]`. The first character must be a letter, and the last character
138+ // must be a letter or number.
139+ string session_id = 3 [(google.api.field_behavior ) = OPTIONAL ];
130140}
131141
132142// Metadata associated with the
You can’t perform that action at this time.
0 commit comments