Skip to content

Commit

Permalink
feat: [google-cloud-batch] A new value CANCELLATION_IN_PROGRESS is …
Browse files Browse the repository at this point in the history
…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>
  • Loading branch information
3 people authored Sep 14, 2024
1 parent 2402404 commit 76267b2
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.17.27" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.17.27" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.17.27" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,14 @@ class State(proto.Enum):
The Job will be deleted, but has not been
deleted yet. Typically this is because resources
used by the Job are still being cleaned up.
CANCELLATION_IN_PROGRESS (7):
The Job cancellation is in progress, this is
because the resources used by the Job are still
being cleaned up.
CANCELLED (8):
The Job has been cancelled, the task
executions were stopped and the resources were
cleaned up.
"""
STATE_UNSPECIFIED = 0
QUEUED = 1
Expand All @@ -340,6 +348,8 @@ class State(proto.Enum):
SUCCEEDED = 4
FAILED = 5
DELETION_IN_PROGRESS = 6
CANCELLATION_IN_PROGRESS = 7
CANCELLED = 8

class InstanceStatus(proto.Message):
r"""VM instance status.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-batch",
"version": "0.17.27"
"version": "0.1.0"
},
"snippets": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-batch",
"version": "0.17.27"
"version": "0.1.0"
},
"snippets": [
{
Expand Down

0 comments on commit 76267b2

Please sign in to comment.