Skip to content

Commit faa7932

Browse files
Google APIscopybara-github
authored andcommitted
feat: Add order_by to list_events
docs: A comment for field `filter` in message `.google.cloud.aiplatform.v1beta1.ListSessionsRequest` is changed PiperOrigin-RevId: 827666468
1 parent c8716fe commit faa7932

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

google/cloud/aiplatform/v1beta1/session_service.proto

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,9 @@ message ListSessionsRequest {
204204
// Optional. The standard list filter.
205205
// Supported fields:
206206
// * `display_name`
207+
// * `user_id`
207208
//
208-
// Example: `display_name=abc`.
209+
// Example: `display_name="abc"`, `user_id="123"`.
209210
string filter = 4 [(google.api.field_behavior) = OPTIONAL];
210211

211212
// Optional. A comma-separated list of fields to order by, sorted in ascending
@@ -290,6 +291,13 @@ message ListEventsRequest {
290291
//
291292
// More detail in [AIP-160](https://google.aip.dev/160).
292293
string filter = 4 [(google.api.field_behavior) = OPTIONAL];
294+
295+
// Optional. A comma-separated list of fields to order by, sorted in ascending
296+
// order. Use "desc" after a field name for descending. Supported fields:
297+
// * `timestamp`
298+
//
299+
// Example: `timestamp desc`.
300+
string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
293301
}
294302

295303
// Response message for

0 commit comments

Comments
 (0)