Skip to content

Commit ce99894

Browse files
feat: [batch] A new value CANCELLATION_IN_PROGRESS is added to enum State (#5670)
* feat: A new value `CANCELLATION_IN_PROGRESS` is added to enum `State` feat: A new value `CANCELLED` is added to enum `State` PiperOrigin-RevId: 673051518 Source-Link: googleapis/googleapis@2b46b75 Source-Link: googleapis/googleapis-gen@4083dff Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWJhdGNoLy5Pd2xCb3QueWFtbCIsImgiOiI0MDgzZGZmNWJkNGYwYzAxMzZhY2E5ZjIyNmFlODlmNThhNjY5MDY5In0= * 🦉 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 a53df0d commit ce99894

4 files changed

Lines changed: 38 additions & 2 deletions

File tree

packages/google-cloud-batch/protos/google/cloud/batch/v1alpha/job.proto

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,14 @@ message JobStatus {
235235
// The Job will be deleted, but has not been deleted yet. Typically this is
236236
// because resources used by the Job are still being cleaned up.
237237
DELETION_IN_PROGRESS = 6;
238+
239+
// The Job cancellation is in progress, this is because the resources used
240+
// by the Job are still being cleaned up.
241+
CANCELLATION_IN_PROGRESS = 7;
242+
243+
// The Job has been cancelled, the task executions were stopped and the
244+
// resources were cleaned up.
245+
CANCELLED = 8;
238246
}
239247

240248
// Job state

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

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-cloud-batch/protos/protos.js

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

packages/google-cloud-batch/protos/protos.json

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)