Skip to content

Commit ed9b087

Browse files
feat: [AiPlatform] add max_concurrent_active_run_count field to Schedule message (#8914)
* feat: add max_concurrent_active_run_count field to Schedule message PiperOrigin-RevId: 868308825 Source-Link: googleapis/googleapis@ce85add Source-Link: googleapis/googleapis-gen@e5914b1 Copy-Tag: eyJwIjoiQWlQbGF0Zm9ybS8uT3dsQm90LnlhbWwiLCJoIjoiZTU5MTRiMWExZjRkMmZkM2VmMzc3NDQxMjVmNDYyN2NlMDUxYjgwMCJ9 * 🦉 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 d9c0b02 commit ed9b087

3 files changed

Lines changed: 58 additions & 0 deletions

File tree

46 Bytes
Binary file not shown.

AiPlatform/src/V1/Schedule.php

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

AiPlatform/tests/Unit/V1/Client/ScheduleServiceClientTest.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ public function createScheduleTest()
9999
$maxRunCount = 845001408;
100100
$startedRunCount = 479303651;
101101
$maxConcurrentRunCount = 1478623794;
102+
$maxConcurrentActiveRunCount = 2066355825;
102103
$allowQueueing = false;
103104
$catchUp = false;
104105
$expectedResponse = new Schedule();
@@ -108,6 +109,7 @@ public function createScheduleTest()
108109
$expectedResponse->setMaxRunCount($maxRunCount);
109110
$expectedResponse->setStartedRunCount($startedRunCount);
110111
$expectedResponse->setMaxConcurrentRunCount($maxConcurrentRunCount);
112+
$expectedResponse->setMaxConcurrentActiveRunCount($maxConcurrentActiveRunCount);
111113
$expectedResponse->setAllowQueueing($allowQueueing);
112114
$expectedResponse->setCatchUp($catchUp);
113115
$transport->addResponse($expectedResponse);
@@ -312,6 +314,7 @@ public function getScheduleTest()
312314
$maxRunCount = 845001408;
313315
$startedRunCount = 479303651;
314316
$maxConcurrentRunCount = 1478623794;
317+
$maxConcurrentActiveRunCount = 2066355825;
315318
$allowQueueing = false;
316319
$catchUp = false;
317320
$expectedResponse = new Schedule();
@@ -321,6 +324,7 @@ public function getScheduleTest()
321324
$expectedResponse->setMaxRunCount($maxRunCount);
322325
$expectedResponse->setStartedRunCount($startedRunCount);
323326
$expectedResponse->setMaxConcurrentRunCount($maxConcurrentRunCount);
327+
$expectedResponse->setMaxConcurrentActiveRunCount($maxConcurrentActiveRunCount);
324328
$expectedResponse->setAllowQueueing($allowQueueing);
325329
$expectedResponse->setCatchUp($catchUp);
326330
$transport->addResponse($expectedResponse);
@@ -586,6 +590,7 @@ public function updateScheduleTest()
586590
$maxRunCount = 845001408;
587591
$startedRunCount = 479303651;
588592
$maxConcurrentRunCount = 1478623794;
593+
$maxConcurrentActiveRunCount = 2066355825;
589594
$allowQueueing = false;
590595
$catchUp = false;
591596
$expectedResponse = new Schedule();
@@ -595,6 +600,7 @@ public function updateScheduleTest()
595600
$expectedResponse->setMaxRunCount($maxRunCount);
596601
$expectedResponse->setStartedRunCount($startedRunCount);
597602
$expectedResponse->setMaxConcurrentRunCount($maxConcurrentRunCount);
603+
$expectedResponse->setMaxConcurrentActiveRunCount($maxConcurrentActiveRunCount);
598604
$expectedResponse->setAllowQueueing($allowQueueing);
599605
$expectedResponse->setCatchUp($catchUp);
600606
$transport->addResponse($expectedResponse);
@@ -1010,6 +1016,7 @@ public function createScheduleAsyncTest()
10101016
$maxRunCount = 845001408;
10111017
$startedRunCount = 479303651;
10121018
$maxConcurrentRunCount = 1478623794;
1019+
$maxConcurrentActiveRunCount = 2066355825;
10131020
$allowQueueing = false;
10141021
$catchUp = false;
10151022
$expectedResponse = new Schedule();
@@ -1019,6 +1026,7 @@ public function createScheduleAsyncTest()
10191026
$expectedResponse->setMaxRunCount($maxRunCount);
10201027
$expectedResponse->setStartedRunCount($startedRunCount);
10211028
$expectedResponse->setMaxConcurrentRunCount($maxConcurrentRunCount);
1029+
$expectedResponse->setMaxConcurrentActiveRunCount($maxConcurrentActiveRunCount);
10221030
$expectedResponse->setAllowQueueing($allowQueueing);
10231031
$expectedResponse->setCatchUp($catchUp);
10241032
$transport->addResponse($expectedResponse);

0 commit comments

Comments
 (0)