|
18 | 18 | import enum |
19 | 19 |
|
20 | 20 |
|
| 21 | +class NullValue(enum.IntEnum): |
| 22 | + """ |
| 23 | + ``NullValue`` is a singleton enumeration to represent the null value for |
| 24 | + the ``Value`` type union. |
| 25 | +
|
| 26 | + The JSON representation for ``NullValue`` is JSON ``null``. |
| 27 | +
|
| 28 | + Attributes: |
| 29 | + NULL_VALUE (int): Null value. |
| 30 | + """ |
| 31 | + NULL_VALUE = 0 |
| 32 | + |
| 33 | + |
21 | 34 | class TransferType(enum.IntEnum): |
22 | 35 | """ |
23 | 36 | DEPRECATED. Represents data transfer type. |
@@ -54,17 +67,21 @@ class TransferState(enum.IntEnum): |
54 | 67 | CANCELLED = 6 |
55 | 68 |
|
56 | 69 |
|
57 | | -class NullValue(enum.IntEnum): |
58 | | - """ |
59 | | - ``NullValue`` is a singleton enumeration to represent the null value for |
60 | | - the ``Value`` type union. |
61 | | -
|
62 | | - The JSON representation for ``NullValue`` is JSON ``null``. |
| 70 | +class TransferMessage(object): |
| 71 | + class MessageSeverity(enum.IntEnum): |
| 72 | + """ |
| 73 | + Represents data transfer user facing message severity. |
63 | 74 |
|
64 | | - Attributes: |
65 | | - NULL_VALUE (int): Null value. |
66 | | - """ |
67 | | - NULL_VALUE = 0 |
| 75 | + Attributes: |
| 76 | + MESSAGE_SEVERITY_UNSPECIFIED (int): No severity specified. |
| 77 | + INFO (int): Informational message. |
| 78 | + WARNING (int): Warning message. |
| 79 | + ERROR (int): Error message. |
| 80 | + """ |
| 81 | + MESSAGE_SEVERITY_UNSPECIFIED = 0 |
| 82 | + INFO = 1 |
| 83 | + WARNING = 2 |
| 84 | + ERROR = 3 |
68 | 85 |
|
69 | 86 |
|
70 | 87 | class DataSourceParameter(object): |
@@ -136,20 +153,3 @@ class RunAttempt(enum.IntEnum): |
136 | 153 | """ |
137 | 154 | RUN_ATTEMPT_UNSPECIFIED = 0 |
138 | 155 | LATEST = 1 |
139 | | - |
140 | | - |
141 | | -class TransferMessage(object): |
142 | | - class MessageSeverity(enum.IntEnum): |
143 | | - """ |
144 | | - Represents data transfer user facing message severity. |
145 | | -
|
146 | | - Attributes: |
147 | | - MESSAGE_SEVERITY_UNSPECIFIED (int): No severity specified. |
148 | | - INFO (int): Informational message. |
149 | | - WARNING (int): Warning message. |
150 | | - ERROR (int): Error message. |
151 | | - """ |
152 | | - MESSAGE_SEVERITY_UNSPECIFIED = 0 |
153 | | - INFO = 1 |
154 | | - WARNING = 2 |
155 | | - ERROR = 3 |
0 commit comments