@@ -163,12 +163,13 @@ message ListSessionsRequest {
163163 // A filter is a logical expression constraining the values of various fields
164164 // in each session resource. Filters are case sensitive, and may contain
165165 // multiple clauses combined with logical operators (AND, OR).
166- // Supported fields are `session_id`, `session_uuid`, `state`, and
167- // `create_time `.
166+ // Supported fields are `session_id`, `session_uuid`, `state`, `create_time`,
167+ // and `labels `.
168168 //
169169 // Example: `state = ACTIVE and create_time < "2023-01-01T00:00:00Z"`
170170 // is a filter for sessions in an ACTIVE state that were created before
171- // 2023-01-01.
171+ // 2023-01-01. `state = ACTIVE and labels.environment=production` is a filter
172+ // for sessions in an ACTIVE state that have a production environment label.
172173 //
173174 // See https://google.aip.dev/assets/misc/ebnf-filtering.txt for a detailed
174175 // description of the filter syntax and a list of supported comparators.
@@ -289,6 +290,10 @@ message Session {
289290 oneof session_config {
290291 // Optional. Jupyter session config.
291292 JupyterConfig jupyter_session = 4 [(google.api.field_behavior ) = OPTIONAL ];
293+
294+ // Optional. Spark Connect session config.
295+ SparkConnectConfig spark_connect_session = 17
296+ [(google.api.field_behavior ) = OPTIONAL ];
292297 }
293298
294299 // Output only. Runtime information about session execution.
@@ -369,3 +374,6 @@ message JupyterConfig {
369374 // Optional. Display name, shown in the Jupyter kernelspec card.
370375 string display_name = 2 [(google.api.field_behavior ) = OPTIONAL ];
371376}
377+
378+ // Spark Connect configuration for an interactive session.
379+ message SparkConnectConfig {}
0 commit comments