@@ -19,6 +19,7 @@ package google.cloud.discoveryengine.v1;
1919import "google/api/field_behavior.proto" ;
2020import "google/api/resource.proto" ;
2121import "google/cloud/discoveryengine/v1/answer.proto" ;
22+ import "google/cloud/discoveryengine/v1/assist_answer.proto" ;
2223import "google/protobuf/timestamp.proto" ;
2324
2425option csharp_namespace = "Google.Cloud.DiscoveryEngine.V1" ;
@@ -67,6 +68,15 @@ message Session {
6768 // session.
6869 Answer detailed_answer = 7 [(google.api.field_behavior ) = OUTPUT_ONLY ];
6970
71+ // Output only. In
72+ // [ConversationalSearchService.GetSession][google.cloud.discoveryengine.v1.ConversationalSearchService.GetSession]
73+ // API, if
74+ // [GetSessionRequest.include_answer_details][google.cloud.discoveryengine.v1.GetSessionRequest.include_answer_details]
75+ // is set to true, this field will be populated when getting assistant
76+ // session.
77+ AssistAnswer detailed_assist_answer = 8
78+ [(google.api.field_behavior ) = OUTPUT_ONLY ];
79+
7080 // Optional. Represents metadata related to the query config, for example
7181 // LLM model and version used, model parameters (temperature, grounding
7282 // parameters, etc.). The prefix "google." is reserved for Google-developed
@@ -103,6 +113,10 @@ message Session {
103113 // Turns.
104114 repeated Turn turns = 4 ;
105115
116+ // Optional. The labels for the session.
117+ // Can be set as filter in ListSessionsRequest.
118+ repeated string labels = 9 [(google.api.field_behavior ) = OPTIONAL ];
119+
106120 // Output only. The time the session started.
107121 google.protobuf.Timestamp start_time = 5
108122 [(google.api.field_behavior ) = OUTPUT_ONLY ];
0 commit comments