Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions dataproc/google/cloud/dataproc_v1/gapic/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,23 @@
import enum


class ClusterOperationStatus(object):
class State(enum.IntEnum):
"""
The operation state.

Attributes:
UNKNOWN (int): Unused.
PENDING (int): The operation has been created.
RUNNING (int): The operation is running.
DONE (int): The operation is done; either cancelled or completed.
"""
UNKNOWN = 0
PENDING = 1
RUNNING = 2
DONE = 3


class ClusterStatus(object):
class State(enum.IntEnum):
"""
Expand Down
17 changes: 17 additions & 0 deletions dataproc/google/cloud/dataproc_v1beta2/gapic/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,23 @@ class JobStateMatcher(enum.IntEnum):
NON_ACTIVE = 2


class ClusterOperationStatus(object):
class State(enum.IntEnum):
"""
The operation state.

Attributes:
UNKNOWN (int): Unused.
PENDING (int): The operation has been created.
RUNNING (int): The operation is running.
DONE (int): The operation is done; either cancelled or completed.
"""
UNKNOWN = 0
PENDING = 1
RUNNING = 2
DONE = 3


class WorkflowMetadata(object):
class State(enum.IntEnum):
"""
Expand Down