Debian Codegraph @

docs/dyn/gkehub_v1.projects.locations.rolloutSequences.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_v1.html">GKE Hub API</a> . <a href="gkehub_v1.projects.html">projects</a> . <a href="gkehub_v1.projects.locations.html">locations</a> . <a href="gkehub_v1.projects.locations.rolloutSequences.html">rolloutSequences</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#create">create(parent, body=None, rolloutSequenceId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a new rollout sequence resource.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
85 <p class="firstline">Removes a RolloutSequence.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Retrieve a single rollout sequence.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Retrieves the list of all rollout sequences.</p>
92 <p class="toc_element">
93 <code><a href="#list_next">list_next()</a></code></p>
94 <p class="firstline">Retrieves the next page of results.</p>
95 <p class="toc_element">
96 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Updates a rollout sequence.</p>
98 <p class="toc_element">
99 <code><a href="#upgrade">upgrade(name, body=None, x__xgafv=None)</a></code></p>
100 <p class="firstline">Upgrades a rollout sequence.</p>
101 <h3>Method Details</h3>
102 <div class="method">
103 <code class="details" id="close">close()</code>
104 <pre>Close httplib2 connections.</pre>
105 </div>
106
107 <div class="method">
108 <code class="details" id="create">create(parent, body=None, rolloutSequenceId=None, x__xgafv=None)</code>
109 <pre>Creates a new rollout sequence resource.
110
111 Args:
112 parent: string, Required. The parent resource where this rollout sequence will be created. projects/{project}/locations/{location} (required)
113 body: object, The request body.
114 The object takes the form of:
115
116 { # RolloutSequence defines the desired order of upgrades. Next ID: 20
117 &quot;autoUpgradeConfig&quot;: { # Configuration for automatic upgrades. # Optional. Configuration for automatic upgrades. If this message is `unset`, the system applies default behavior.
118 &quot;enforcedRollouts&quot;: { # Output only. Mandatory Safety Policies (Always active) which cannot be disabled. The key is the policy ID (e.g., &quot;ENFORCED_CONTROL_PLANE_PATCH&quot;) and the value is a human-readable description.
119 &quot;a_key&quot;: &quot;A String&quot;,
120 },
121 &quot;rolloutCreationScope&quot;: { # The scope for automatic rollout creation. # Optional. Specifies the scope of automation for the creation of rollouts. Represents the types of rollouts (version upgrades) the sequence should initiate automatically. If this field is `unset`, it defaults to all types. If this field is `set` but the internal `upgrade_types` list is `empty`, most automatic rollouts are disabled for this sequence. Exceptions are rollouts enforcing our security policies (e.g. such as end-of-support and outdated control plane patch enforcements). These policy enforcements cannot be disabled.
122 &quot;upgradeTypes&quot;: [ # Optional. The list of enabled upgrade types.
123 &quot;A String&quot;,
124 ],
125 },
126 },
127 &quot;computedReleaseChannel&quot;: &quot;A String&quot;, # Output only. The computed release channel used for the Rollout Sequence.
128 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp at which the Rollout Sequence was created.
129 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The timestamp at the Rollout Sequence was deleted.
130 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Human readable display name of the Rollout Sequence.
131 &quot;effectiveAutoUpgradeConfig&quot;: { # Configuration for automatic upgrades. # Output only. The resolved auto-upgrade options which are in effect.
132 &quot;enforcedRollouts&quot;: { # Output only. Mandatory Safety Policies (Always active) which cannot be disabled. The key is the policy ID (e.g., &quot;ENFORCED_CONTROL_PLANE_PATCH&quot;) and the value is a human-readable description.
133 &quot;a_key&quot;: &quot;A String&quot;,
134 },
135 &quot;rolloutCreationScope&quot;: { # The scope for automatic rollout creation. # Optional. Specifies the scope of automation for the creation of rollouts. Represents the types of rollouts (version upgrades) the sequence should initiate automatically. If this field is `unset`, it defaults to all types. If this field is `set` but the internal `upgrade_types` list is `empty`, most automatic rollouts are disabled for this sequence. Exceptions are rollouts enforcing our security policies (e.g. such as end-of-support and outdated control plane patch enforcements). These policy enforcements cannot be disabled.
136 &quot;upgradeTypes&quot;: [ # Optional. The list of enabled upgrade types.
137 &quot;A String&quot;,
138 ],
139 },
140 },
141 &quot;etag&quot;: &quot;A String&quot;, # Output only. etag of the Rollout Sequence Ex. abc1234
142 &quot;ignoredClustersSelector&quot;: { # Selector for clusters. # Optional. Selector for clusters to exclude from the Rollout Sequence.
143 &quot;labelSelector&quot;: &quot;A String&quot;, # Required. A valid CEL (Common Expression Language) expression which evaluates `resource.labels`.
144 },
145 &quot;labels&quot;: { # Optional. Labels for this Rollout Sequence.
146 &quot;a_key&quot;: &quot;A String&quot;,
147 },
148 &quot;lastQualifiedControlPlaneVersion&quot;: &quot;A String&quot;, # Output only. The last qualified control plane version.
149 &quot;lastQualifiedNodeVersion&quot;: &quot;A String&quot;, # Output only. The last qualified node version.
150 &quot;name&quot;: &quot;A String&quot;, # Identifier. Name of the rollout sequence in the format of: projects/{PROJECT_ID}/locations/global/rolloutSequences/{NAME}
151 &quot;operationalState&quot;: { # Operational state of the Rollout Sequence. # Output only. Operational state of the Rollout Sequence.
152 &quot;reasons&quot;: [ # Output only. Reasons for the Rollout Sequence state.
153 &quot;A String&quot;,
154 ],
155 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the Rollout Sequence.
156 &quot;stateChangeTime&quot;: &quot;A String&quot;, # Output only. The timestamp at which the operational state was last changed. Used to track how long it has been in the current state.
157 },
158 &quot;stages&quot;: [ # Required. Ordered list of stages that constitutes this Rollout.
159 { # Rollout stage.
160 &quot;clusterSelector&quot;: { # Selector for clusters. # Optional. Filter members of fleets (above) to a subset of clusters. If not specified, all clusters in the fleets are selected.
161 &quot;labelSelector&quot;: &quot;A String&quot;, # Required. A valid CEL (Common Expression Language) expression which evaluates `resource.labels`.
162 },
163 &quot;fleetProjects&quot;: [ # Required. List of Fleet projects to select the clusters from. Expected format: projects/{project}
164 &quot;A String&quot;,
165 ],
166 &quot;soakDuration&quot;: &quot;A String&quot;, # Optional. Soak time after upgrading all the clusters in the stage.
167 },
168 ],
169 &quot;targetControlPlaneVersion&quot;: &quot;A String&quot;, # Output only. The target control plane version of the Rollout Sequence.
170 &quot;targetNodeVersion&quot;: &quot;A String&quot;, # Output only. The target node version of the Rollout Sequence.
171 &quot;uid&quot;: &quot;A String&quot;, # Output only. Google-generated UUID for this resource. This is unique across all Rollout Sequence resources. If a Rollout Sequence resource is deleted and another resource with the same name is created, it gets a different uid.
172 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp at which the Rollout Sequence was last updated.
173 }
174
175 rolloutSequenceId: string, Required. User provided identifier that is used as part of the resource name; must conform to RFC-1034 and additionally restrict to lower-cased letters. This comes out roughly to: /^a-z+[a-z0-9]$/
176 x__xgafv: string, V1 error format.
177 Allowed values
178 1 - v1 error format
179 2 - v2 error format
180
181 Returns:
182 An object of the form:
183
184 { # This resource represents a long-running operation that is the result of a network API call.
185 &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.
186 &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.
187 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
188 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
189 {
190 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
191 },
192 ],
193 &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.
194 },
195 &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.
196 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
197 },
198 &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}`.
199 &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`.
200 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
201 },
202 }</pre>
203 </div>
204
205 <div class="method">
206 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
207 <pre>Removes a RolloutSequence.
208
209 Args:
210 name: string, Required. The name of the rollout sequence to delete. projects/{project}/locations/{location}/rolloutSequences/{rollout_sequence} (required)
211 x__xgafv: string, V1 error format.
212 Allowed values
213 1 - v1 error format
214 2 - v2 error format
215
216 Returns:
217 An object of the form:
218
219 { # This resource represents a long-running operation that is the result of a network API call.
220 &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.
221 &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.
222 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
223 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
224 {
225 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
226 },
227 ],
228 &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.
229 },
230 &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.
231 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
232 },
233 &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}`.
234 &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`.
235 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
236 },
237 }</pre>
238 </div>
239
240 <div class="method">
241 <code class="details" id="get">get(name, x__xgafv=None)</code>
242 <pre>Retrieve a single rollout sequence.
243
244 Args:
245 name: string, Required. The name of the rollout sequence to retrieve. projects/{project}/locations/{location}/rolloutSequences/{rollout_sequence} (required)
246 x__xgafv: string, V1 error format.
247 Allowed values
248 1 - v1 error format
249 2 - v2 error format
250
251 Returns:
252 An object of the form:
253
254 { # RolloutSequence defines the desired order of upgrades. Next ID: 20
255 &quot;autoUpgradeConfig&quot;: { # Configuration for automatic upgrades. # Optional. Configuration for automatic upgrades. If this message is `unset`, the system applies default behavior.
256 &quot;enforcedRollouts&quot;: { # Output only. Mandatory Safety Policies (Always active) which cannot be disabled. The key is the policy ID (e.g., &quot;ENFORCED_CONTROL_PLANE_PATCH&quot;) and the value is a human-readable description.
257 &quot;a_key&quot;: &quot;A String&quot;,
258 },
259 &quot;rolloutCreationScope&quot;: { # The scope for automatic rollout creation. # Optional. Specifies the scope of automation for the creation of rollouts. Represents the types of rollouts (version upgrades) the sequence should initiate automatically. If this field is `unset`, it defaults to all types. If this field is `set` but the internal `upgrade_types` list is `empty`, most automatic rollouts are disabled for this sequence. Exceptions are rollouts enforcing our security policies (e.g. such as end-of-support and outdated control plane patch enforcements). These policy enforcements cannot be disabled.
260 &quot;upgradeTypes&quot;: [ # Optional. The list of enabled upgrade types.
261 &quot;A String&quot;,
262 ],
263 },
264 },
265 &quot;computedReleaseChannel&quot;: &quot;A String&quot;, # Output only. The computed release channel used for the Rollout Sequence.
266 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp at which the Rollout Sequence was created.
267 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The timestamp at the Rollout Sequence was deleted.
268 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Human readable display name of the Rollout Sequence.
269 &quot;effectiveAutoUpgradeConfig&quot;: { # Configuration for automatic upgrades. # Output only. The resolved auto-upgrade options which are in effect.
270 &quot;enforcedRollouts&quot;: { # Output only. Mandatory Safety Policies (Always active) which cannot be disabled. The key is the policy ID (e.g., &quot;ENFORCED_CONTROL_PLANE_PATCH&quot;) and the value is a human-readable description.
271 &quot;a_key&quot;: &quot;A String&quot;,
272 },
273 &quot;rolloutCreationScope&quot;: { # The scope for automatic rollout creation. # Optional. Specifies the scope of automation for the creation of rollouts. Represents the types of rollouts (version upgrades) the sequence should initiate automatically. If this field is `unset`, it defaults to all types. If this field is `set` but the internal `upgrade_types` list is `empty`, most automatic rollouts are disabled for this sequence. Exceptions are rollouts enforcing our security policies (e.g. such as end-of-support and outdated control plane patch enforcements). These policy enforcements cannot be disabled.
274 &quot;upgradeTypes&quot;: [ # Optional. The list of enabled upgrade types.
275 &quot;A String&quot;,
276 ],
277 },
278 },
279 &quot;etag&quot;: &quot;A String&quot;, # Output only. etag of the Rollout Sequence Ex. abc1234
280 &quot;ignoredClustersSelector&quot;: { # Selector for clusters. # Optional. Selector for clusters to exclude from the Rollout Sequence.
281 &quot;labelSelector&quot;: &quot;A String&quot;, # Required. A valid CEL (Common Expression Language) expression which evaluates `resource.labels`.
282 },
283 &quot;labels&quot;: { # Optional. Labels for this Rollout Sequence.
284 &quot;a_key&quot;: &quot;A String&quot;,
285 },
286 &quot;lastQualifiedControlPlaneVersion&quot;: &quot;A String&quot;, # Output only. The last qualified control plane version.
287 &quot;lastQualifiedNodeVersion&quot;: &quot;A String&quot;, # Output only. The last qualified node version.
288 &quot;name&quot;: &quot;A String&quot;, # Identifier. Name of the rollout sequence in the format of: projects/{PROJECT_ID}/locations/global/rolloutSequences/{NAME}
289 &quot;operationalState&quot;: { # Operational state of the Rollout Sequence. # Output only. Operational state of the Rollout Sequence.
290 &quot;reasons&quot;: [ # Output only. Reasons for the Rollout Sequence state.
291 &quot;A String&quot;,
292 ],
293 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the Rollout Sequence.
294 &quot;stateChangeTime&quot;: &quot;A String&quot;, # Output only. The timestamp at which the operational state was last changed. Used to track how long it has been in the current state.
295 },
296 &quot;stages&quot;: [ # Required. Ordered list of stages that constitutes this Rollout.
297 { # Rollout stage.
298 &quot;clusterSelector&quot;: { # Selector for clusters. # Optional. Filter members of fleets (above) to a subset of clusters. If not specified, all clusters in the fleets are selected.
299 &quot;labelSelector&quot;: &quot;A String&quot;, # Required. A valid CEL (Common Expression Language) expression which evaluates `resource.labels`.
300 },
301 &quot;fleetProjects&quot;: [ # Required. List of Fleet projects to select the clusters from. Expected format: projects/{project}
302 &quot;A String&quot;,
303 ],
304 &quot;soakDuration&quot;: &quot;A String&quot;, # Optional. Soak time after upgrading all the clusters in the stage.
305 },
306 ],
307 &quot;targetControlPlaneVersion&quot;: &quot;A String&quot;, # Output only. The target control plane version of the Rollout Sequence.
308 &quot;targetNodeVersion&quot;: &quot;A String&quot;, # Output only. The target node version of the Rollout Sequence.
309 &quot;uid&quot;: &quot;A String&quot;, # Output only. Google-generated UUID for this resource. This is unique across all Rollout Sequence resources. If a Rollout Sequence resource is deleted and another resource with the same name is created, it gets a different uid.
310 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp at which the Rollout Sequence was last updated.
311 }</pre>
312 </div>
313
314 <div class="method">
315 <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
316 <pre>Retrieves the list of all rollout sequences.
317
318 Args:
319 parent: string, Required. The parent, which owns this collection of rollout sequences. Format: projects/{project}/locations/{location} (required)
320 filter: string, Optional. Lists Rollout Sequences that match the filter expression, following the syntax outlined in https://google.aip.dev/160.
321 pageSize: integer, Optional. The maximum number of rollout sequences to return. The service may return fewer than this value. If unspecified, at most 50 rollout sequences will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
322 pageToken: string, Optional. A page token, received from a previous `ListRolloutSequences` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListRolloutSequences` must match the call that provided the page token.
323 x__xgafv: string, V1 error format.
324 Allowed values
325 1 - v1 error format
326 2 - v2 error format
327
328 Returns:
329 An object of the form:
330
331 { # Response message for listing rollout sequences.
332 &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.
333 &quot;rolloutSequences&quot;: [ # The rollout sequences from the specified parent resource.
334 { # RolloutSequence defines the desired order of upgrades. Next ID: 20
335 &quot;autoUpgradeConfig&quot;: { # Configuration for automatic upgrades. # Optional. Configuration for automatic upgrades. If this message is `unset`, the system applies default behavior.
336 &quot;enforcedRollouts&quot;: { # Output only. Mandatory Safety Policies (Always active) which cannot be disabled. The key is the policy ID (e.g., &quot;ENFORCED_CONTROL_PLANE_PATCH&quot;) and the value is a human-readable description.
337 &quot;a_key&quot;: &quot;A String&quot;,
338 },
339 &quot;rolloutCreationScope&quot;: { # The scope for automatic rollout creation. # Optional. Specifies the scope of automation for the creation of rollouts. Represents the types of rollouts (version upgrades) the sequence should initiate automatically. If this field is `unset`, it defaults to all types. If this field is `set` but the internal `upgrade_types` list is `empty`, most automatic rollouts are disabled for this sequence. Exceptions are rollouts enforcing our security policies (e.g. such as end-of-support and outdated control plane patch enforcements). These policy enforcements cannot be disabled.
340 &quot;upgradeTypes&quot;: [ # Optional. The list of enabled upgrade types.
341 &quot;A String&quot;,
342 ],
343 },
344 },
345 &quot;computedReleaseChannel&quot;: &quot;A String&quot;, # Output only. The computed release channel used for the Rollout Sequence.
346 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp at which the Rollout Sequence was created.
347 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The timestamp at the Rollout Sequence was deleted.
348 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Human readable display name of the Rollout Sequence.
349 &quot;effectiveAutoUpgradeConfig&quot;: { # Configuration for automatic upgrades. # Output only. The resolved auto-upgrade options which are in effect.
350 &quot;enforcedRollouts&quot;: { # Output only. Mandatory Safety Policies (Always active) which cannot be disabled. The key is the policy ID (e.g., &quot;ENFORCED_CONTROL_PLANE_PATCH&quot;) and the value is a human-readable description.
351 &quot;a_key&quot;: &quot;A String&quot;,
352 },
353 &quot;rolloutCreationScope&quot;: { # The scope for automatic rollout creation. # Optional. Specifies the scope of automation for the creation of rollouts. Represents the types of rollouts (version upgrades) the sequence should initiate automatically. If this field is `unset`, it defaults to all types. If this field is `set` but the internal `upgrade_types` list is `empty`, most automatic rollouts are disabled for this sequence. Exceptions are rollouts enforcing our security policies (e.g. such as end-of-support and outdated control plane patch enforcements). These policy enforcements cannot be disabled.
354 &quot;upgradeTypes&quot;: [ # Optional. The list of enabled upgrade types.
355 &quot;A String&quot;,
356 ],
357 },
358 },
359 &quot;etag&quot;: &quot;A String&quot;, # Output only. etag of the Rollout Sequence Ex. abc1234
360 &quot;ignoredClustersSelector&quot;: { # Selector for clusters. # Optional. Selector for clusters to exclude from the Rollout Sequence.
361 &quot;labelSelector&quot;: &quot;A String&quot;, # Required. A valid CEL (Common Expression Language) expression which evaluates `resource.labels`.
362 },
363 &quot;labels&quot;: { # Optional. Labels for this Rollout Sequence.
364 &quot;a_key&quot;: &quot;A String&quot;,
365 },
366 &quot;lastQualifiedControlPlaneVersion&quot;: &quot;A String&quot;, # Output only. The last qualified control plane version.
367 &quot;lastQualifiedNodeVersion&quot;: &quot;A String&quot;, # Output only. The last qualified node version.
368 &quot;name&quot;: &quot;A String&quot;, # Identifier. Name of the rollout sequence in the format of: projects/{PROJECT_ID}/locations/global/rolloutSequences/{NAME}
369 &quot;operationalState&quot;: { # Operational state of the Rollout Sequence. # Output only. Operational state of the Rollout Sequence.
370 &quot;reasons&quot;: [ # Output only. Reasons for the Rollout Sequence state.
371 &quot;A String&quot;,
372 ],
373 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the Rollout Sequence.
374 &quot;stateChangeTime&quot;: &quot;A String&quot;, # Output only. The timestamp at which the operational state was last changed. Used to track how long it has been in the current state.
375 },
376 &quot;stages&quot;: [ # Required. Ordered list of stages that constitutes this Rollout.
377 { # Rollout stage.
378 &quot;clusterSelector&quot;: { # Selector for clusters. # Optional. Filter members of fleets (above) to a subset of clusters. If not specified, all clusters in the fleets are selected.
379 &quot;labelSelector&quot;: &quot;A String&quot;, # Required. A valid CEL (Common Expression Language) expression which evaluates `resource.labels`.
380 },
381 &quot;fleetProjects&quot;: [ # Required. List of Fleet projects to select the clusters from. Expected format: projects/{project}
382 &quot;A String&quot;,
383 ],
384 &quot;soakDuration&quot;: &quot;A String&quot;, # Optional. Soak time after upgrading all the clusters in the stage.
385 },
386 ],
387 &quot;targetControlPlaneVersion&quot;: &quot;A String&quot;, # Output only. The target control plane version of the Rollout Sequence.
388 &quot;targetNodeVersion&quot;: &quot;A String&quot;, # Output only. The target node version of the Rollout Sequence.
389 &quot;uid&quot;: &quot;A String&quot;, # Output only. Google-generated UUID for this resource. This is unique across all Rollout Sequence resources. If a Rollout Sequence resource is deleted and another resource with the same name is created, it gets a different uid.
390 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp at which the Rollout Sequence was last updated.
391 },
392 ],
393 }</pre>
394 </div>
395
396 <div class="method">
397 <code class="details" id="list_next">list_next()</code>
398 <pre>Retrieves the next page of results.
399
400 Args:
401 previous_request: The request for the previous page. (required)
402 previous_response: The response from the request for the previous page. (required)
403
404 Returns:
405 A request object that you can call &#x27;execute()&#x27; on to request the next
406 page. Returns None if there are no more items in the collection.
407 </pre>
408 </div>
409
410 <div class="method">
411 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
412 <pre>Updates a rollout sequence.
413
414 Args:
415 name: string, Identifier. Name of the rollout sequence in the format of: projects/{PROJECT_ID}/locations/global/rolloutSequences/{NAME} (required)
416 body: object, The request body.
417 The object takes the form of:
418
419 { # RolloutSequence defines the desired order of upgrades. Next ID: 20
420 &quot;autoUpgradeConfig&quot;: { # Configuration for automatic upgrades. # Optional. Configuration for automatic upgrades. If this message is `unset`, the system applies default behavior.
421 &quot;enforcedRollouts&quot;: { # Output only. Mandatory Safety Policies (Always active) which cannot be disabled. The key is the policy ID (e.g., &quot;ENFORCED_CONTROL_PLANE_PATCH&quot;) and the value is a human-readable description.
422 &quot;a_key&quot;: &quot;A String&quot;,
423 },
424 &quot;rolloutCreationScope&quot;: { # The scope for automatic rollout creation. # Optional. Specifies the scope of automation for the creation of rollouts. Represents the types of rollouts (version upgrades) the sequence should initiate automatically. If this field is `unset`, it defaults to all types. If this field is `set` but the internal `upgrade_types` list is `empty`, most automatic rollouts are disabled for this sequence. Exceptions are rollouts enforcing our security policies (e.g. such as end-of-support and outdated control plane patch enforcements). These policy enforcements cannot be disabled.
425 &quot;upgradeTypes&quot;: [ # Optional. The list of enabled upgrade types.
426 &quot;A String&quot;,
427 ],
428 },
429 },
430 &quot;computedReleaseChannel&quot;: &quot;A String&quot;, # Output only. The computed release channel used for the Rollout Sequence.
431 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp at which the Rollout Sequence was created.
432 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The timestamp at the Rollout Sequence was deleted.
433 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Human readable display name of the Rollout Sequence.
434 &quot;effectiveAutoUpgradeConfig&quot;: { # Configuration for automatic upgrades. # Output only. The resolved auto-upgrade options which are in effect.
435 &quot;enforcedRollouts&quot;: { # Output only. Mandatory Safety Policies (Always active) which cannot be disabled. The key is the policy ID (e.g., &quot;ENFORCED_CONTROL_PLANE_PATCH&quot;) and the value is a human-readable description.
436 &quot;a_key&quot;: &quot;A String&quot;,
437 },
438 &quot;rolloutCreationScope&quot;: { # The scope for automatic rollout creation. # Optional. Specifies the scope of automation for the creation of rollouts. Represents the types of rollouts (version upgrades) the sequence should initiate automatically. If this field is `unset`, it defaults to all types. If this field is `set` but the internal `upgrade_types` list is `empty`, most automatic rollouts are disabled for this sequence. Exceptions are rollouts enforcing our security policies (e.g. such as end-of-support and outdated control plane patch enforcements). These policy enforcements cannot be disabled.
439 &quot;upgradeTypes&quot;: [ # Optional. The list of enabled upgrade types.
440 &quot;A String&quot;,
441 ],
442 },
443 },
444 &quot;etag&quot;: &quot;A String&quot;, # Output only. etag of the Rollout Sequence Ex. abc1234
445 &quot;ignoredClustersSelector&quot;: { # Selector for clusters. # Optional. Selector for clusters to exclude from the Rollout Sequence.
446 &quot;labelSelector&quot;: &quot;A String&quot;, # Required. A valid CEL (Common Expression Language) expression which evaluates `resource.labels`.
447 },
448 &quot;labels&quot;: { # Optional. Labels for this Rollout Sequence.
449 &quot;a_key&quot;: &quot;A String&quot;,
450 },
451 &quot;lastQualifiedControlPlaneVersion&quot;: &quot;A String&quot;, # Output only. The last qualified control plane version.
452 &quot;lastQualifiedNodeVersion&quot;: &quot;A String&quot;, # Output only. The last qualified node version.
453 &quot;name&quot;: &quot;A String&quot;, # Identifier. Name of the rollout sequence in the format of: projects/{PROJECT_ID}/locations/global/rolloutSequences/{NAME}
454 &quot;operationalState&quot;: { # Operational state of the Rollout Sequence. # Output only. Operational state of the Rollout Sequence.
455 &quot;reasons&quot;: [ # Output only. Reasons for the Rollout Sequence state.
456 &quot;A String&quot;,
457 ],
458 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the Rollout Sequence.
459 &quot;stateChangeTime&quot;: &quot;A String&quot;, # Output only. The timestamp at which the operational state was last changed. Used to track how long it has been in the current state.
460 },
461 &quot;stages&quot;: [ # Required. Ordered list of stages that constitutes this Rollout.
462 { # Rollout stage.
463 &quot;clusterSelector&quot;: { # Selector for clusters. # Optional. Filter members of fleets (above) to a subset of clusters. If not specified, all clusters in the fleets are selected.
464 &quot;labelSelector&quot;: &quot;A String&quot;, # Required. A valid CEL (Common Expression Language) expression which evaluates `resource.labels`.
465 },
466 &quot;fleetProjects&quot;: [ # Required. List of Fleet projects to select the clusters from. Expected format: projects/{project}
467 &quot;A String&quot;,
468 ],
469 &quot;soakDuration&quot;: &quot;A String&quot;, # Optional. Soak time after upgrading all the clusters in the stage.
470 },
471 ],
472 &quot;targetControlPlaneVersion&quot;: &quot;A String&quot;, # Output only. The target control plane version of the Rollout Sequence.
473 &quot;targetNodeVersion&quot;: &quot;A String&quot;, # Output only. The target node version of the Rollout Sequence.
474 &quot;uid&quot;: &quot;A String&quot;, # Output only. Google-generated UUID for this resource. This is unique across all Rollout Sequence resources. If a Rollout Sequence resource is deleted and another resource with the same name is created, it gets a different uid.
475 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp at which the Rollout Sequence was last updated.
476 }
477
478 updateMask: string, Optional. The list of fields to update.
479 x__xgafv: string, V1 error format.
480 Allowed values
481 1 - v1 error format
482 2 - v2 error format
483
484 Returns:
485 An object of the form:
486
487 { # This resource represents a long-running operation that is the result of a network API call.
488 &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.
489 &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.
490 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
491 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
492 {
493 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
494 },
495 ],
496 &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.
497 },
498 &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.
499 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
500 },
501 &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}`.
502 &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`.
503 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
504 },
505 }</pre>
506 </div>
507
508 <div class="method">
509 <code class="details" id="upgrade">upgrade(name, body=None, x__xgafv=None)</code>
510 <pre>Upgrades a rollout sequence.
511
512 Args:
513 name: string, Required. The name of the rollout sequence. Format: projects/{project}/locations/{location}/rolloutSequences/{rollout_sequence} (required)
514 body: object, The request body.
515 The object takes the form of:
516
517 { # Request message for upgrading a rollout sequence.
518 &quot;force&quot;: True or False, # Optional. If set to true, any rollout already running on the first stage of the sequence will be cancelled to allow for the creation of the new rollout.
519 &quot;upgradeType&quot;: &quot;A String&quot;, # Required. The type of upgrade.
520 &quot;version&quot;: &quot;A String&quot;, # Required. GKE version to upgrade to. A valid GKE version available on the release channel used by the sequence. Patch versions from less conservative channels are allowed if their minor version is already available in the sequence&#x27;s channel. This is similar to single-cluster upgrade rules, see https://cloud.google.com/kubernetes-engine/docs/how-to/upgrading-a-cluster#supported-versions Example: With the following versions available on the RAPID and REGULAR channels: * REGULAR: 1.35.3-gke.123000 * RAPID: 1.36.4-gke.321000, 1.35.6-gke.045000 Valid versions are 1.35.3-gke.123, 1.35.6-gke.045000 Aliases like `latest` are supported. For more information on valid upgrade versions and specifying cluster versions, see: https://cloud.google.com/kubernetes-engine/versioning#specifying_cluster_version
521 }
522
523 x__xgafv: string, V1 error format.
524 Allowed values
525 1 - v1 error format
526 2 - v2 error format
527
528 Returns:
529 An object of the form:
530
531 { # This resource represents a long-running operation that is the result of a network API call.
532 &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.
533 &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.
534 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
535 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
536 {
537 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
538 },
539 ],
540 &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.
541 },
542 &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.
543 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
544 },
545 &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}`.
546 &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`.
547 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
548 },
549 }</pre>
550 </div>
551
552 </body></html>