E56F feat: [google-cloud-batch] A new value `CANCELLATION_IN_PROGRESS` is … · googleapis/google-cloud-python@76267b2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 76267b2

Browse files
feat: [google-cloud-batch] A new value CANCELLATION_IN_PROGRESS is added to enum State (#13074)
- [ ] Regenerate this pull request now. 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= --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Victor Chudnovsky <vchudnov@google.com>
1 parent 2402404 commit 76267b2

File tree

6 files changed

+15
-5
lines changed
10BC0

6 files changed

+15
-5
lines changed

packages/google-cloud-batch/google/cloud/batch/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "0.17.27" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-batch/google/cloud/batch_v1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "0.17.27" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-batch/google/cloud/batch_v1alpha/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "0.17.27" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-batch/google/cloud/batch_v1alpha/types/job.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,14 @@ class State(proto.Enum):
332332
The Job will be deleted, but has not been
333333
deleted yet. Typically this is because resources
334334
used by the Job are still being cleaned up.
335+
CANCELLATION_IN_PROGRESS (7):
336+
The Job cancellation is in progress, this is
337+
because the resources used by the Job are still
338+
being cleaned up.
339+
CANCELLED (8):
340+
The Job has been cancelled, the task
341+
executions were stopped and the resources were
342+
cleaned up.
335343
"""
336344
STATE_UNSPECIFIED = 0
337345
QUEUED = 1
@@ -340,6 +348,8 @@ class State(proto.Enum):
340348
SUCCEEDED = 4
341349
FAILED = 5
342350
DELETION_IN_PROGRESS = 6
351+
CANCELLATION_IN_PROGRESS = 7
352+
CANCELLED = 8
343353

344354
class InstanceStatus(proto.Message):
345355
r"""VM instance status.

packages/google-cloud-batch/samples/generated_samples/snippet_metadata_google.cloud.batch.v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-batch",
11-
"version": "0.17.27"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

packages/google-cloud-batch/samples/generated_samples/snippet_metadata_google.cloud.batch.v1alpha.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-batch",
11-
"version": "0.17.27"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

0 commit comments

Comments
 (0)
0