You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dyn/container_v1.projects.locations.operations.html
+32-10Lines changed: 32 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -138,19 +138,30 @@ <h3>Method Details</h3>
138
138
An object of the form:
139
139
140
140
{ # This operation resource represents operations that may have happened or are happening on the cluster. All fields are output only.
141
-
"clusterConditions": [ # Which conditions caused the current cluster state.
141
+
"clusterConditions": [ # Which conditions caused the current cluster state. Deprecated. Use field error instead.
142
142
{ # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
143
-
"code": "A String", # Machine-friendly representation of the condition
143
+
"canonicalCode": "A String", # Canonical code of the condition.
144
+
"code": "A String", # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
144
145
"message": "A String", # Human-friendly representation of the condition
145
146
},
146
147
],
147
148
"detail": "A String", # Detailed operation progress, if available.
148
149
"endTime": "A String", # [Output only] The time the operation completed, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
150
+
"error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure.
151
+
"code": 42, # The status code, which should be an enum value of google.rpc.Code.
152
+
"details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
153
+
{
154
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
155
+
},
156
+
],
157
+
"message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
158
+
},
149
159
"location": "A String", # [Output only] The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) or [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which the cluster resides.
150
160
"name": "A String", # The server-assigned ID for the operation.
151
-
"nodepoolConditions": [ # Which conditions caused the current node pool state.
161
+
"nodepoolConditions": [ # Which conditions caused the current node pool state. Deprecated. Use field error instead.
152
162
{ # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
153
-
"code": "A String", # Machine-friendly representation of the condition
163
+
"canonicalCode": "A String", # Canonical code of the condition.
164
+
"code": "A String", # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
154
165
"message": "A String", # Human-friendly representation of the condition
155
166
},
156
167
],
@@ -173,7 +184,7 @@ <h3>Method Details</h3>
173
184
"selfLink": "A String", # Server-defined URL for the resource.
174
185
"startTime": "A String", # [Output only] The time the operation started, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
175
186
"status": "A String", # The current status of the operation.
176
-
"statusMessage": "A String", # Output only. If an error has occurred, a textual description of the error.
187
+
"statusMessage": "A String", # Output only. If an error has occurred, a textual description of the error. Deprecated. Use the field error instead.
177
188
"targetLink": "A String", # Server-defined URL for the target of the operation.
178
189
"zone": "A String", # The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation is taking place. This field is deprecated, use location instead.
179
190
}</pre>
@@ -201,19 +212,30 @@ <h3>Method Details</h3>
201
212
],
202
213
"operations": [ # A list of operations in the project in the specified zone.
203
214
{ # This operation resource represents operations that may have happened or are happening on the cluster. All fields are output only.
204
-
"clusterConditions": [ # Which conditions caused the current cluster state.
215
+
"clusterConditions": [ # Which conditions caused the current cluster state. Deprecated. Use field error instead.
205
216
{ # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
206
-
"code": "A String", # Machine-friendly representation of the condition
217
+
"canonicalCode": "A String", # Canonical code of the condition.
218
+
"code": "A String", # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
207
219
"message": "A String", # Human-friendly representation of the condition
208
220
},
209
221
],
210
222
"detail": "A String", # Detailed operation progress, if available.
211
223
"endTime": "A String", # [Output only] The time the operation completed, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
224
+
"error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure.
225
+
"code": 42, # The status code, which should be an enum value of google.rpc.Code.
226
+
"details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
227
+
{
228
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
229
+
},
230
+
],
231
+
"message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
232
+
},
212
233
"location": "A String", # [Output only] The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) or [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which the cluster resides.
213
234
"name": "A String", # The server-assigned ID for the operation.
214
-
"nodepoolConditions": [ # Which conditions caused the current node pool state.
235
+
"nodepoolConditions": [ # Which conditions caused the current node pool state. Deprecated. Use field error instead.
215
236
{ # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
216
-
"code": "A String", # Machine-friendly representation of the condition
237
+
"canonicalCode": "A String", # Canonical code of the condition.
238
+
"code": "A String", # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
217
239
"message": "A String", # Human-friendly representation of the condition
218
240
},
219
241
],
@@ -236,7 +258,7 @@ <h3>Method Details</h3>
236
258
"selfLink": "A String", # Server-defined URL for the resource.
237
259
"startTime": "A String", # [Output only] The time the operation started, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
238
260
"status": "A String", # The current status of the operation.
239
-
"statusMessage": "A String", # Output only. If an error has occurred, a textual description of the error.
261
+
"statusMessage": "A String", # Output only. If an error has occurred, a textual description of the error. Deprecated. Use the field error instead.
240
262
"targetLink": "A String", # Server-defined URL for the target of the operation.
241
263
"zone": "A String", # The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation is taking place. This field is deprecated, use location instead.
0 commit comments