Debian Codegraph @

docs/dyn/gkehub_v1alpha.projects.locations.rollouts.html

raw
1 <html><body>
2 <style>
3
4 body, 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
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, 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="gkehub_v1alpha.html">GKE Hub API</a> . <a href="gkehub_v1alpha.projects.html">projects</a> . <a href="gkehub_v1alpha.projects.locations.html">locations</a> . <a href="gkehub_v1alpha.projects.locations.rollouts.html">rollouts</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#cancel">cancel(name, body=None, x__xgafv=None)</a></code></p>
79 <p class="firstline">Cancels a Rollout. The rollout will not be started on new clusters, however the rollout running on the cluster will be allowed to finish.</p>
80 <p class="toc_element">
81 <code><a href="#close">close()</a></code></p>
82 <p class="firstline">Close httplib2 connections.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, requestId=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Removes a Rollout.</p>
86 <p class="toc_element">
87 <code><a href="#forceCompleteStage">forceCompleteStage(name, body=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Force-completes a rollout stage. Only the active stage of an active rollout can be force-completed.</p>
89 <p class="toc_element">
90 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
91 <p class="firstline">Retrieves a single rollout.</p>
92 <p class="toc_element">
93 <code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
94 <p class="firstline">Retrieves the list of all rollouts.</p>
95 <p class="toc_element">
96 <code><a href="#list_next">list_next()</a></code></p>
97 <p class="firstline">Retrieves the next page of results.</p>
98 <p class="toc_element">
99 <code><a href="#pause">pause(name, body=None, x__xgafv=None)</a></code></p>
100 <p class="firstline">Pauses a running Rollout. The rollout will not be started on new clusters, however the rollout running on the cluster will be allowed to finish.</p>
101 <p class="toc_element">
102 <code><a href="#resume">resume(name, body=None, x__xgafv=None)</a></code></p>
103 <p class="firstline">Resume a paused Rollout. The rollout will be resumed and allowed to be started on clusters.</p>
104 <h3>Method Details</h3>
105 <div class="method">
106 <code class="details" id="cancel">cancel(name, body=None, x__xgafv=None)</code>
107 <pre>Cancels a Rollout. The rollout will not be started on new clusters, however the rollout running on the cluster will be allowed to finish.
108
109 Args:
110 name: string, Required. The name of the rollout to cancel. projects/{project}/locations/{location}/rollouts/{rollout} (required)
111 body: object, The request body.
112 The object takes the form of:
113
114 { # Request message for cancelling a rollout.
115 }
116
117 x__xgafv: string, V1 error format.
118 Allowed values
119 1 - v1 error format
120 2 - v2 error format
121
122 Returns:
123 An object of the form:
124
125 { # This resource represents a long-running operation that is the result of a network API call.
126 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
127 &quot;error&quot;: { # 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 or cancellation.
128 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
129 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
130 {
131 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
132 },
133 ],
134 &quot;message&quot;: &quot;A String&quot;, # 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.
135 },
136 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
137 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
138 },
139 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
140 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
141 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
142 },
143 }</pre>
144 </div>
145
146 <div class="method">
147 <code class="details" id="close">close()</code>
148 <pre>Close httplib2 connections.</pre>
149 </div>
150
151 <div class="method">
152 <code class="details" id="delete">delete(name, requestId=None, x__xgafv=None)</code>
153 <pre>Removes a Rollout.
154
155 Args:
156 name: string, Required. The name of the rollout to delete. projects/{project}/locations/{location}/rollouts/{rollout} (required)
157 requestId: string, Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
158 x__xgafv: string, V1 error format.
159 Allowed values
160 1 - v1 error format
161 2 - v2 error format
162
163 Returns:
164 An object of the form:
165
166 { # This resource represents a long-running operation that is the result of a network API call.
167 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
168 &quot;error&quot;: { # 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 or cancellation.
169 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
170 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
171 {
172 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
173 },
174 ],
175 &quot;message&quot;: &quot;A String&quot;, # 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.
176 },
177 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
178 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
179 },
180 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
181 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
182 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
183 },
184 }</pre>
185 </div>
186
187 <div class="method">
188 <code class="details" id="forceCompleteStage">forceCompleteStage(name, body=None, x__xgafv=None)</code>
189 <pre>Force-completes a rollout stage. Only the active stage of an active rollout can be force-completed.
190
191 Args:
192 name: string, Required. The name of the rollout. Format: projects/{project}/locations/{location}/rollouts/{rollout} (required)
193 body: object, The request body.
194 The object takes the form of:
195
196 { # Request message for force-completing a rollout stage.
197 &quot;stageNumber&quot;: 42, # Required. The stage number to force-complete.
198 }
199
200 x__xgafv: string, V1 error format.
201 Allowed values
202 1 - v1 error format
203 2 - v2 error format
204
205 Returns:
206 An object of the form:
207
208 { # This resource represents a long-running operation that is the result of a network API call.
209 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
210 &quot;error&quot;: { # 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 or cancellation.
211 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
212 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
213 {
214 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
215 },
216 ],
217 &quot;message&quot;: &quot;A String&quot;, # 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.
218 },
219 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
220 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
221 },
222 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
223 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
224 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
225 },
226 }</pre>
227 </div>
228
229 <div class="method">
230 <code class="details" id="get">get(name, x__xgafv=None)</code>
231 <pre>Retrieves a single rollout.
232
233 Args:
234 name: string, Required. The name of the rollout to retrieve. projects/{project}/locations/{location}/rollouts/{rollout} (required)
235 x__xgafv: string, V1 error format.
236 Allowed values
237 1 - v1 error format
238 2 - v2 error format
239
240 Returns:
241 An object of the form:
242
243 { # Rollout contains the Rollout metadata and configuration. Next ID: 28
244 &quot;completeTime&quot;: &quot;A String&quot;, # Output only. The timestamp at which the Rollout was completed.
245 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp at which the Rollout was created.
246 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The timestamp at the Rollout was deleted.
247 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Human readable display name of the Rollout.
248 &quot;etag&quot;: &quot;A String&quot;, # Output only. etag of the Rollout Ex. abc1234
249 &quot;intent&quot;: &quot;A String&quot;, # Output only. The intent of the rollout.
250 &quot;labels&quot;: { # Optional. Labels for this Rollout.
251 &quot;a_key&quot;: &quot;A String&quot;,
252 },
253 &quot;membershipStates&quot;: { # Output only. States of upgrading control plane or node pool targets of a single cluster (GKE Hub membership) that&#x27;s part of this Rollout. The key is the membership name of the cluster. The value is the state of the cluster.
254 &quot;a_key&quot;: { # Metadata about single cluster (GKE Hub membership) that&#x27;s part of this Rollout.
255 &quot;lastUpdateTime&quot;: &quot;A String&quot;, # Optional. Output only. The time this status and any related Rollout-specific details for the membership were updated.
256 &quot;stageAssignment&quot;: 42, # Output only. The stage assignment of this cluster in this rollout.
257 &quot;targets&quot;: [ # Output only. The targets of the rollout - clusters or node pools that are being upgraded. All targets belongs to the same cluster, identified by the membership name (key of membership_states map).
258 { # Metadata about the status of targets (clusters or node pools) involved in the Rollout.
259 &quot;cluster&quot;: &quot;A String&quot;, # Optional. Output only. The resource link of the Cluster resource upgraded in this Rollout. It is formatted as: `//{api_service}/projects/{project_number}/locations/{location}/clusters/{cluster_name}`. .
260 &quot;nodePool&quot;: &quot;A String&quot;, # Optional. Output only. The resource link of the NodePool resource upgraded in this Rollout. It is formatted as: `//{api_service}/projects/{project_number}/locations/{location}/clusters/{cluster_name}/nodePools/{node_pool_name}`.
261 &quot;operation&quot;: &quot;A String&quot;, # Optional. Output only. The operation resource name performing the mutation.
262 &quot;reason&quot;: &quot;A String&quot;, # Optional. Output only. A human-readable description of the current status.
263 &quot;state&quot;: &quot;A String&quot;, # Output only. The high-level, machine-readable status of this Rollout for the target.
264 },
265 ],
266 },
267 },
268 &quot;name&quot;: &quot;A String&quot;, # Identifier. The full, unique resource name of this Rollout in the format of `projects/{project}/locations/global/rollouts/{rollout}`.
269 &quot;rolloutSequence&quot;: &quot;A String&quot;, # Optional. Immutable. The full, unique resource name of the rollout sequence that initiatied this Rollout. In the format of `projects/{project}/locations/global/rolloutSequences/{rollout_sequence}`.
270 &quot;stages&quot;: [ # Output only. The stages of the Rollout.
271 { # Stage represents a single stage in the Rollout.
272 &quot;clusterSelector&quot;: { # Selector for clusters. # Output only. The selector from the sequence that was used to create this stage. Example CEL expression: resource.labels.canary == &#x27;true&#x27;
273 &quot;labelSelector&quot;: &quot;A String&quot;, # Required. A valid CEL (Common Expression Language) expression which evaluates `resource.labels`.
274 },
275 &quot;endTime&quot;: &quot;A String&quot;, # Optional. Output only. The time at which the stage ended.
276 &quot;fleetProjects&quot;: [ # Output only. The fleet projects from the sequence that was used to create this stage. Expected format: projects/{project_number}
277 &quot;A String&quot;,
278 ],
279 &quot;soakDuration&quot;: &quot;A String&quot;, # Optional. Duration to soak after this stage before starting the next stage.
280 &quot;stageNumber&quot;: 42, # Output only. The stage number to which this status applies.
281 &quot;startTime&quot;: &quot;A String&quot;, # Optional. Output only. The time at which the stage started.
282 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the stage.
283 },
284 ],
285 &quot;state&quot;: &quot;A String&quot;, # Output only. State specifies various states of the Rollout.
286 &quot;stateReason&quot;: &quot;A String&quot;, # Output only. A human-readable description explaining the reason for the current state.
287 &quot;stateReasonType&quot;: &quot;A String&quot;, # Output only. StateReasonType specifies the reason type of the Rollout state.
288 &quot;trigger&quot;: &quot;A String&quot;, # Output only. The trigger of the rollout.
289 &quot;uid&quot;: &quot;A String&quot;, # Output only. Google-generated UUID for this resource. This is unique across all Rollout resources. If a Rollout resource is deleted and another resource with the same name is created, it gets a different uid.
290 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp at which the Rollout was last updated.
291 &quot;versionUpgrade&quot;: { # Config for version upgrade of clusters. # Optional. Config for version upgrade of clusters.
292 &quot;desiredVersion&quot;: &quot;A String&quot;, # Optional. Desired version of the component.
293 &quot;type&quot;: &quot;A String&quot;, # Optional. Type of version upgrade specifies which component should be upgraded.
294 },
295 }</pre>
296 </div>
297
298 <div class="method">
299 <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
300 <pre>Retrieves the list of all rollouts.
301
302 Args:
303 parent: string, Required. The parent, which owns this collection of rollout. Format: projects/{project}/locations/{location} (required)
304 filter: string, Optional. Lists Rollouts that match the filter expression, following the syntax outlined in https://google.aip.dev/160.
305 pageSize: integer, The maximum number of rollout to return. The service may return fewer than this value. If unspecified, at most 50 rollouts will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
306 pageToken: string, A page token, received from a previous `ListRollouts` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListRollouts` must match the call that provided the page token.
307 x__xgafv: string, V1 error format.
308 Allowed values
309 1 - v1 error format
310 2 - v2 error format
311
312 Returns:
313 An object of the form:
314
315 { # Response message for listing rollouts.
316 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
317 &quot;rollouts&quot;: [ # The rollouts from the specified parent resource.
318 { # Rollout contains the Rollout metadata and configuration. Next ID: 28
319 &quot;completeTime&quot;: &quot;A String&quot;, # Output only. The timestamp at which the Rollout was completed.
320 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp at which the Rollout was created.
321 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The timestamp at the Rollout was deleted.
322 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Human readable display name of the Rollout.
323 &quot;etag&quot;: &quot;A String&quot;, # Output only. etag of the Rollout Ex. abc1234
324 &quot;intent&quot;: &quot;A String&quot;, # Output only. The intent of the rollout.
325 &quot;labels&quot;: { # Optional. Labels for this Rollout.
326 &quot;a_key&quot;: &quot;A String&quot;,
327 },
328 &quot;membershipStates&quot;: { # Output only. States of upgrading control plane or node pool targets of a single cluster (GKE Hub membership) that&#x27;s part of this Rollout. The key is the membership name of the cluster. The value is the state of the cluster.
329 &quot;a_key&quot;: { # Metadata about single cluster (GKE Hub membership) that&#x27;s part of this Rollout.
330 &quot;lastUpdateTime&quot;: &quot;A String&quot;, # Optional. Output only. The time this status and any related Rollout-specific details for the membership were updated.
331 &quot;stageAssignment&quot;: 42, # Output only. The stage assignment of this cluster in this rollout.
332 &quot;targets&quot;: [ # Output only. The targets of the rollout - clusters or node pools that are being upgraded. All targets belongs to the same cluster, identified by the membership name (key of membership_states map).
333 { # Metadata about the status of targets (clusters or node pools) involved in the Rollout.
334 &quot;cluster&quot;: &quot;A String&quot;, # Optional. Output only. The resource link of the Cluster resource upgraded in this Rollout. It is formatted as: `//{api_service}/projects/{project_number}/locations/{location}/clusters/{cluster_name}`. .
335 &quot;nodePool&quot;: &quot;A String&quot;, # Optional. Output only. The resource link of the NodePool resource upgraded in this Rollout. It is formatted as: `//{api_service}/projects/{project_number}/locations/{location}/clusters/{cluster_name}/nodePools/{node_pool_name}`.
336 &quot;operation&quot;: &quot;A String&quot;, # Optional. Output only. The operation resource name performing the mutation.
337 &quot;reason&quot;: &quot;A String&quot;, # Optional. Output only. A human-readable description of the current status.
338 &quot;state&quot;: &quot;A String&quot;, # Output only. The high-level, machine-readable status of this Rollout for the target.
339 },
340 ],
341 },
342 },
343 &quot;name&quot;: &quot;A String&quot;, # Identifier. The full, unique resource name of this Rollout in the format of `projects/{project}/locations/global/rollouts/{rollout}`.
344 &quot;rolloutSequence&quot;: &quot;A String&quot;, # Optional. Immutable. The full, unique resource name of the rollout sequence that initiatied this Rollout. In the format of `projects/{project}/locations/global/rolloutSequences/{rollout_sequence}`.
345 &quot;stages&quot;: [ # Output only. The stages of the Rollout.
346 { # Stage represents a single stage in the Rollout.
347 &quot;clusterSelector&quot;: { # Selector for clusters. # Output only. The selector from the sequence that was used to create this stage. Example CEL expression: resource.labels.canary == &#x27;true&#x27;
348 &quot;labelSelector&quot;: &quot;A String&quot;, # Required. A valid CEL (Common Expression Language) expression which evaluates `resource.labels`.
349 },
350 &quot;endTime&quot;: &quot;A String&quot;, # Optional. Output only. The time at which the stage ended.
351 &quot;fleetProjects&quot;: [ # Output only. The fleet projects from the sequence that was used to create this stage. Expected format: projects/{project_number}
352 &quot;A String&quot;,
353 ],
354 &quot;soakDuration&quot;: &quot;A String&quot;, # Optional. Duration to soak after this stage before starting the next stage.
355 &quot;stageNumber&quot;: 42, # Output only. The stage number to which this status applies.
356 &quot;startTime&quot;: &quot;A String&quot;, # Optional. Output only. The time at which the stage started.
357 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the stage.
358 },
359 ],
360 &quot;state&quot;: &quot;A String&quot;, # Output only. State specifies various states of the Rollout.
361 &quot;stateReason&quot;: &quot;A String&quot;, # Output only. A human-readable description explaining the reason for the current state.
362 &quot;stateReasonType&quot;: &quot;A String&quot;, # Output only. StateReasonType specifies the reason type of the Rollout state.
363 &quot;trigger&quot;: &quot;A String&quot;, # Output only. The trigger of the rollout.
364 &quot;uid&quot;: &quot;A String&quot;, # Output only. Google-generated UUID for this resource. This is unique across all Rollout resources. If a Rollout resource is deleted and another resource with the same name is created, it gets a different uid.
365 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp at which the Rollout was last updated.
366 &quot;versionUpgrade&quot;: { # Config for version upgrade of clusters. # Optional. Config for version upgrade of clusters.
367 &quot;desiredVersion&quot;: &quot;A String&quot;, # Optional. Desired version of the component.
368 &quot;type&quot;: &quot;A String&quot;, # Optional. Type of version upgrade specifies which component should be upgraded.
369 },
370 },
371 ],
372 }</pre>
373 </div>
374
375 <div class="method">
376 <code class="details" id="list_next">list_next()</code>
377 <pre>Retrieves the next page of results.
378
379 Args:
380 previous_request: The request for the previous page. (required)
381 previous_response: The response from the request for the previous page. (required)
382
383 Returns:
384 A request object that you can call &#x27;execute()&#x27; on to request the next
385 page. Returns None if there are no more items in the collection.
386 </pre>
387 </div>
388
389 <div class="method">
390 <code class="details" id="pause">pause(name, body=None, x__xgafv=None)</code>
391 <pre>Pauses a running Rollout. The rollout will not be started on new clusters, however the rollout running on the cluster will be allowed to finish.
392
393 Args:
394 name: string, Required. The name of the rollout to pause. projects/{project}/locations/{location}/rollouts/{rollout} (required)
395 body: object, The request body.
396 The object takes the form of:
397
398 { # Request message for pausing a rollout.
399 }
400
401 x__xgafv: string, V1 error format.
402 Allowed values
403 1 - v1 error format
404 2 - v2 error format
405
406 Returns:
407 An object of the form:
408
409 { # This resource represents a long-running operation that is the result of a network API call.
410 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
411 &quot;error&quot;: { # 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 or cancellation.
412 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
413 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
414 {
415 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
416 },
417 ],
418 &quot;message&quot;: &quot;A String&quot;, # 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.
419 },
420 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
421 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
422 },
423 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
424 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
425 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
426 },
427 }</pre>
428 </div>
429
430 <div class="method">
431 <code class="details" id="resume">resume(name, body=None, x__xgafv=None)</code>
432 <pre>Resume a paused Rollout. The rollout will be resumed and allowed to be started on clusters.
433
434 Args:
435 name: string, Required. The name of the rollout to resume. projects/{project}/locations/{location}/rollouts/{rollout} (required)
436 body: object, The request body.
437 The object takes the form of:
438
439 { # Request message for resuming a rollout.
440 &quot;scheduleOffset&quot;: &quot;A String&quot;, # Optional. The duration to offset the Rollout schedule by.
441 &quot;validateOnly&quot;: True or False, # Optional. If set, resume rollout will be executed in dry-run mode.
442 }
443
444 x__xgafv: string, V1 error format.
445 Allowed values
446 1 - v1 error format
447 2 - v2 error format
448
449 Returns:
450 An object of the form:
451
452 { # This resource represents a long-running operation that is the result of a network API call.
453 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
454 &quot;error&quot;: { # 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 or cancellation.
455 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
456 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
457 {
458 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
459 },
460 ],
461 &quot;message&quot;: &quot;A String&quot;, # 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.
462 },
463 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
464 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
465 },
466 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
467 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
468 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
469 },
470 }</pre>
471 </div>
472
473 </body></html>