Skip to content

Commit 8d71bbf

Browse files
feat: Add order_by to list_events (#6864)
* feat: add new fields `SUCCESSFULLY_DEPLOYED` and `FAILED_TO_DEPLOY` to `DeploymentStage` PiperOrigin-RevId: 827616855 Source-Link: googleapis/googleapis@3c56d78 Source-Link: googleapis/googleapis-gen@814c558 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFpcGxhdGZvcm0vLk93bEJvdC55YW1sIiwiaCI6IjgxNGM1NTg4YmNkYWYzNmM3Yjg2MGI4YzE4Y2ExNDAxZDA4YTVjZjIifQ== * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat: add new fields `SUCCESSFULLY_DEPLOYED` and `FAILED_TO_DEPLOY` to `DeploymentStage` PiperOrigin-RevId: 827616943 Source-Link: googleapis/googleapis@c8716fe Source-Link: googleapis/googleapis-gen@338df07 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFpcGxhdGZvcm0vLk93bEJvdC55YW1sIiwiaCI6IjMzOGRmMDc5ZWUxMzdiNDQzNWEyMTI5Mzg1MTc4NDM4ODRkOGEzNzMifQ== * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 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 Source-Link: googleapis/googleapis@faa7932 Source-Link: googleapis/googleapis-gen@cc55096 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFpcGxhdGZvcm0vLk93bEJvdC55YW1sIiwiaCI6ImNjNTUwOTYwMDI1ZTNmNTc5NDA3ZmVkOWZjYTM3ZTBhM2FhNzczNWYifQ== * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 44f08c6 commit 8d71bbf

File tree

10 files changed

+156
-11
lines changed

10 files changed

+156
-11
lines changed

packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/deployment_stage.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,10 @@ enum DeploymentStage {
5252

5353
// The deployment has terminated.
5454
DEPLOYMENT_TERMINATED = 10;
55+
56+
// The deployment has succeeded.
57+
SUCCESSFULLY_DEPLOYED = 11;
58+
59+
// The deployment has failed.
60+
FAILED_TO_DEPLOY = 12;
5561
}

packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/deployment_stage.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,10 @@ enum DeploymentStage {
5252

5353
// The deployment has terminated.
5454
DEPLOYMENT_TERMINATED = 10;
55+
56+
// The deployment has succeeded.
57+
SUCCESSFULLY_DEPLOYED = 11;
58+
59+
// The deployment has failed.
60+
FAILED_TO_DEPLOY = 12;
5561
}

packages/google-cloud-aiplatform/protos/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

packages/google-cloud-aiplatform/protos/protos.d.ts

Lines changed: 12 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)