blob: 67d77750de20b658b678e17639224f968bc7988f [file] [log] [blame]
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="container_v1beta1.html">Kubernetes Engine API</a> . <a href="container_v1beta1.projects.html">projects</a> . <a href="container_v1beta1.projects.zones.html">zones</a> . <a href="container_v1beta1.projects.zones.operations.html">operations</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070078 <code><a href="#cancel">cancel(projectId, zone, operationId, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070079<p class="firstline">Cancels the specified operation.</p>
80<p class="toc_element">
81 <code><a href="#get">get(projectId, zone, operationId, name=None, x__xgafv=None)</a></code></p>
82<p class="firstline">Gets the specified operation.</p>
83<p class="toc_element">
84 <code><a href="#list">list(projectId, zone, parent=None, x__xgafv=None)</a></code></p>
85<p class="firstline">Lists all operations in a project in the specified zone or all zones.</p>
86<h3>Method Details</h3>
87<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -070088 <code class="details" id="cancel">cancel(projectId, zone, operationId, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070089 <pre>Cancels the specified operation.
90
91Args:
Dan O'Mearadd494642020-05-01 07:42:23 -070092 projectId: string, Required. Deprecated. The Google Developers Console [project ID or project
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070093number](https://support.google.com/cloud/answer/6158840).
94This field has been deprecated and replaced by the name field. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -070095 zone: string, Required. Deprecated. The name of the Google Compute Engine
96[zone](https://cloud.google.com/compute/docs/zones#available) in which the
97operation resides. This field has been deprecated and replaced by the name
98field. (required)
99 operationId: string, Required. Deprecated. The server-assigned `name` of the operation.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700100This field has been deprecated and replaced by the name field. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700101 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700102 The object takes the form of:
103
104{ # CancelOperationRequest cancels a single operation.
Bu Sun Kim65020912020-05-20 12:08:20 -0700105 &quot;zone&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the Google Compute Engine
Dan O'Mearadd494642020-05-01 07:42:23 -0700106 # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
107 # operation resides. This field has been deprecated and replaced by the name
108 # field.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700109 &quot;projectId&quot;: &quot;A String&quot;, # Required. Deprecated. The Google Developers Console [project ID or project
110 # number](https://support.google.com/cloud/answer/6158840).
111 # This field has been deprecated and replaced by the name field.
112 &quot;operationId&quot;: &quot;A String&quot;, # Required. Deprecated. The server-assigned `name` of the operation.
113 # This field has been deprecated and replaced by the name field.
114 &quot;name&quot;: &quot;A String&quot;, # The name (project, location, operation id) of the operation to cancel.
115 # Specified in the format `projects/*/locations/*/operations/*`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700116 }
117
118 x__xgafv: string, V1 error format.
119 Allowed values
120 1 - v1 error format
121 2 - v2 error format
122
123Returns:
124 An object of the form:
125
126 { # A generic empty message that you can re-use to avoid defining duplicated
127 # empty messages in your APIs. A typical example is to use it as the request
128 # or the response type of an API method. For instance:
129 #
130 # service Foo {
131 # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
132 # }
133 #
134 # The JSON representation for `Empty` is empty JSON object `{}`.
135 }</pre>
136</div>
137
138<div class="method">
139 <code class="details" id="get">get(projectId, zone, operationId, name=None, x__xgafv=None)</code>
140 <pre>Gets the specified operation.
141
142Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700143 projectId: string, Required. Deprecated. The Google Developers Console [project ID or project
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700144number](https://support.google.com/cloud/answer/6158840).
145This field has been deprecated and replaced by the name field. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700146 zone: string, Required. Deprecated. The name of the Google Compute Engine
147[zone](https://cloud.google.com/compute/docs/zones#available) in which the
148cluster resides. This field has been deprecated and replaced by the name
149field. (required)
150 operationId: string, Required. Deprecated. The server-assigned `name` of the operation.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700151This field has been deprecated and replaced by the name field. (required)
152 name: string, The name (project, location, operation id) of the operation to get.
Bu Sun Kim65020912020-05-20 12:08:20 -0700153Specified in the format `projects/*/locations/*/operations/*`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700154 x__xgafv: string, V1 error format.
155 Allowed values
156 1 - v1 error format
157 2 - v2 error format
158
159Returns:
160 An object of the form:
161
162 { # This operation resource represents operations that may have happened or are
163 # happening on the cluster. All fields are output only.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700164 &quot;targetLink&quot;: &quot;A String&quot;, # Server-defined URL for the target of the operation.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700165 &quot;operationType&quot;: &quot;A String&quot;, # The operation type.
Bu Sun Kim65020912020-05-20 12:08:20 -0700166 &quot;progress&quot;: { # Information about operation (or operation stage) progress. # Output only. [Output only] Progress information for an operation.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700167 &quot;stages&quot;: [ # Substages of an operation or a stage.
168 # Object with schema name: OperationProgress
169 ],
170 &quot;name&quot;: &quot;A String&quot;, # A non-parameterized string describing an operation stage.
171 # Unset for single-stage operations.
172 &quot;status&quot;: &quot;A String&quot;, # Status of an operation stage.
173 # Unset for single-stage operations.
Bu Sun Kim65020912020-05-20 12:08:20 -0700174 &quot;metrics&quot;: [ # Progress metric bundle, for example:
175 # metrics: [{name: &quot;nodes done&quot;, int_value: 15},
176 # {name: &quot;nodes total&quot;, int_value: 32}]
177 # or
178 # metrics: [{name: &quot;progress&quot;, double_value: 0.56},
179 # {name: &quot;progress scale&quot;, double_value: 1.0}]
180 { # Progress metric is (string, int|float|string) pair.
Bu Sun Kim65020912020-05-20 12:08:20 -0700181 &quot;doubleValue&quot;: 3.14, # For metrics with floating point value.
Bu Sun Kim65020912020-05-20 12:08:20 -0700182 &quot;stringValue&quot;: &quot;A String&quot;, # For metrics with custom values (ratios, visual progress, etc.).
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700183 &quot;name&quot;: &quot;A String&quot;, # Required. Metric name, e.g., &quot;nodes total&quot;, &quot;percent done&quot;.
184 &quot;intValue&quot;: &quot;A String&quot;, # For metrics with integer value.
Bu Sun Kim65020912020-05-20 12:08:20 -0700185 },
186 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700187 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700188 &quot;selfLink&quot;: &quot;A String&quot;, # Server-defined URL for the resource.
189 &quot;location&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine
190 # [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
191 # or
192 # [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
193 # in which the cluster resides.
Bu Sun Kim65020912020-05-20 12:08:20 -0700194 &quot;zone&quot;: &quot;A String&quot;, # The name of the Google Compute Engine
195 # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
196 # operation is taking place. This field is deprecated, use location instead.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700197 &quot;endTime&quot;: &quot;A String&quot;, # [Output only] The time the operation completed, in
198 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
Bu Sun Kim65020912020-05-20 12:08:20 -0700199 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. If an error has occurred, a textual description of the error.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700200 &quot;name&quot;: &quot;A String&quot;, # The server-assigned ID for the operation.
201 &quot;clusterConditions&quot;: [ # Which conditions caused the current cluster state.
202 { # StatusCondition describes why a cluster or a node pool has a certain status
203 # (e.g., ERROR or DEGRADED).
204 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
205 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
206 },
207 ],
208 &quot;startTime&quot;: &quot;A String&quot;, # [Output only] The time the operation started, in
209 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
210 &quot;detail&quot;: &quot;A String&quot;, # Detailed operation progress, if available.
211 &quot;nodepoolConditions&quot;: [ # Which conditions caused the current node pool state.
212 { # StatusCondition describes why a cluster or a node pool has a certain status
213 # (e.g., ERROR or DEGRADED).
214 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
215 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
216 },
217 ],
218 &quot;status&quot;: &quot;A String&quot;, # The current status of the operation.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700219 }</pre>
220</div>
221
222<div class="method">
223 <code class="details" id="list">list(projectId, zone, parent=None, x__xgafv=None)</code>
224 <pre>Lists all operations in a project in the specified zone or all zones.
225
226Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700227 projectId: string, Required. Deprecated. The Google Developers Console [project ID or project
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700228number](https://support.google.com/cloud/answer/6158840).
229This field has been deprecated and replaced by the parent field. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700230 zone: string, Required. Deprecated. The name of the Google Compute Engine
231[zone](https://cloud.google.com/compute/docs/zones#available) to return
232operations for, or `-` for all zones. This field has been deprecated and
233replaced by the parent field. (required)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700234 parent: string, The parent (project and location) where the operations will be listed.
Bu Sun Kim65020912020-05-20 12:08:20 -0700235Specified in the format `projects/*/locations/*`.
236Location &quot;-&quot; matches all zones and all regions.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700237 x__xgafv: string, V1 error format.
238 Allowed values
239 1 - v1 error format
240 2 - v2 error format
241
242Returns:
243 An object of the form:
244
245 { # ListOperationsResponse is the result of ListOperationsRequest.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700246 &quot;missingZones&quot;: [ # If any zones are listed here, the list of operations returned
247 # may be missing the operations from those zones.
248 &quot;A String&quot;,
249 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700250 &quot;operations&quot;: [ # A list of operations in the project in the specified zone.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700251 { # This operation resource represents operations that may have happened or are
252 # happening on the cluster. All fields are output only.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700253 &quot;targetLink&quot;: &quot;A String&quot;, # Server-defined URL for the target of the operation.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700254 &quot;operationType&quot;: &quot;A String&quot;, # The operation type.
Bu Sun Kim65020912020-05-20 12:08:20 -0700255 &quot;progress&quot;: { # Information about operation (or operation stage) progress. # Output only. [Output only] Progress information for an operation.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700256 &quot;stages&quot;: [ # Substages of an operation or a stage.
257 # Object with schema name: OperationProgress
258 ],
259 &quot;name&quot;: &quot;A String&quot;, # A non-parameterized string describing an operation stage.
260 # Unset for single-stage operations.
261 &quot;status&quot;: &quot;A String&quot;, # Status of an operation stage.
262 # Unset for single-stage operations.
Bu Sun Kim65020912020-05-20 12:08:20 -0700263 &quot;metrics&quot;: [ # Progress metric bundle, for example:
264 # metrics: [{name: &quot;nodes done&quot;, int_value: 15},
265 # {name: &quot;nodes total&quot;, int_value: 32}]
266 # or
267 # metrics: [{name: &quot;progress&quot;, double_value: 0.56},
268 # {name: &quot;progress scale&quot;, double_value: 1.0}]
269 { # Progress metric is (string, int|float|string) pair.
Bu Sun Kim65020912020-05-20 12:08:20 -0700270 &quot;doubleValue&quot;: 3.14, # For metrics with floating point value.
Bu Sun Kim65020912020-05-20 12:08:20 -0700271 &quot;stringValue&quot;: &quot;A String&quot;, # For metrics with custom values (ratios, visual progress, etc.).
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700272 &quot;name&quot;: &quot;A String&quot;, # Required. Metric name, e.g., &quot;nodes total&quot;, &quot;percent done&quot;.
273 &quot;intValue&quot;: &quot;A String&quot;, # For metrics with integer value.
Bu Sun Kim65020912020-05-20 12:08:20 -0700274 },
275 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700276 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700277 &quot;selfLink&quot;: &quot;A String&quot;, # Server-defined URL for the resource.
278 &quot;location&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine
279 # [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
280 # or
281 # [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
282 # in which the cluster resides.
Bu Sun Kim65020912020-05-20 12:08:20 -0700283 &quot;zone&quot;: &quot;A String&quot;, # The name of the Google Compute Engine
284 # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
285 # operation is taking place. This field is deprecated, use location instead.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700286 &quot;endTime&quot;: &quot;A String&quot;, # [Output only] The time the operation completed, in
287 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
Bu Sun Kim65020912020-05-20 12:08:20 -0700288 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. If an error has occurred, a textual description of the error.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700289 &quot;name&quot;: &quot;A String&quot;, # The server-assigned ID for the operation.
290 &quot;clusterConditions&quot;: [ # Which conditions caused the current cluster state.
291 { # StatusCondition describes why a cluster or a node pool has a certain status
292 # (e.g., ERROR or DEGRADED).
293 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
294 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
295 },
296 ],
297 &quot;startTime&quot;: &quot;A String&quot;, # [Output only] The time the operation started, in
298 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
299 &quot;detail&quot;: &quot;A String&quot;, # Detailed operation progress, if available.
300 &quot;nodepoolConditions&quot;: [ # Which conditions caused the current node pool state.
301 { # StatusCondition describes why a cluster or a node pool has a certain status
302 # (e.g., ERROR or DEGRADED).
303 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
304 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
305 },
306 ],
307 &quot;status&quot;: &quot;A String&quot;, # The current status of the operation.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700308 },
309 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700310 }</pre>
311</div>
312
313</body></html>