Debian Codegraph @

docs/dyn/saasservicemgmt_v1.projects.locations.unitOperations.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="saasservicemgmt_v1.html">App Lifecycle Manager API</a> . <a href="saasservicemgmt_v1.projects.html">projects</a> . <a href="saasservicemgmt_v1.projects.locations.html">locations</a> . <a href="saasservicemgmt_v1.projects.locations.unitOperations.html">unitOperations</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, requestId=None, unitOperationId=None, validateOnly=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Create a new unit operation.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, etag=None, requestId=None, validateOnly=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Delete a single unit operation.</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 unit operation.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Retrieve a collection of unit operations.</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, requestId=None, updateMask=None, validateOnly=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Update a single unit operation.</p>
98 <h3>Method Details</h3>
99 <div class="method">
100 <code class="details" id="close">close()</code>
101 <pre>Close httplib2 connections.</pre>
102 </div>
103
104 <div class="method">
105 <code class="details" id="create">create(parent, body=None, requestId=None, unitOperationId=None, validateOnly=None, x__xgafv=None)</code>
106 <pre>Create a new unit operation.
107
108 Args:
109 parent: string, Required. The parent of the unit operation. (required)
110 body: object, The request body.
111 The object takes the form of:
112
113 { # UnitOperation encapsulates the intent of changing/interacting with the service component represented by the specific Unit. Multiple UnitOperations can be created (requested) and scheduled in the future, however only one will be allowed to execute at a time (that can change in the future for non-mutating operations). UnitOperations allow different actors interacting with the same unit to focus only on the change they have requested. This is a base object that contains the common fields in all unit operations. Next: 22
114 &quot;annotations&quot;: { # Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations
115 &quot;a_key&quot;: &quot;A String&quot;,
116 },
117 &quot;cancel&quot;: True or False, # Optional. When true, attempt to cancel the operation. Cancellation may fail if the operation is already executing. (Optional)
118 &quot;conditions&quot;: [ # Optional. Output only. A set of conditions which indicate the various conditions this resource can have.
119 { # UnitOperationCondition describes the status of an Unit Operation. UnitOperationCondition is individual components that contribute to an overall state.
120 &quot;lastTransitionTime&quot;: &quot;A String&quot;, # Required. Last time the condition transited from one status to another.
121 &quot;message&quot;: &quot;A String&quot;, # Required. Human readable message indicating details about the last transition.
122 &quot;reason&quot;: &quot;A String&quot;, # Required. Brief reason for the condition&#x27;s last transition.
123 &quot;status&quot;: &quot;A String&quot;, # Required. Status of the condition.
124 &quot;type&quot;: &quot;A String&quot;, # Required. Type of the condition.
125 },
126 ],
127 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was created.
128 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was marked for deletion (deletion is an asynchronous operation).
129 &quot;deprovision&quot;: { # Deprovision is the unit operation that deprovision the underlying resources represented by a Unit. Can only execute if the Unit is currently provisioned. # Optional. Deprovision operation.
130 },
131 &quot;engineState&quot;: &quot;A String&quot;, # Optional. Output only. The engine state for on-going deployment engine operation(s). This field is opaque for external usage.
132 &quot;errorCategory&quot;: &quot;A String&quot;, # Optional. Output only. UnitOperationErrorCategory describe the error category.
133 &quot;etag&quot;: &quot;A String&quot;, # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
134 &quot;flagUpdate&quot;: { # FlagUpdate is a UnitOperation that pushes new flag values to Units. # Optional. Flag update operation.
135 &quot;flagRelease&quot;: &quot;A String&quot;, # Required. Flag release being applied by UnitOperation.
136 },
137 &quot;labels&quot;: { # Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.
138 &quot;a_key&quot;: &quot;A String&quot;,
139 },
140 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name (full URI of the resource) following the standard naming scheme: &quot;projects/{project}/locations/{location}/unitOperations/{unitOperation}&quot;
141 &quot;parentUnitOperation&quot;: &quot;A String&quot;, # Optional. Reference to parent resource: UnitOperation. If an operation needs to create other operations as part of its workflow, each of the child operations should have this field set to the parent. This can be used for tracing. (Optional)
142 &quot;provision&quot;: { # Provision is the unit operation that provision the underlying resources represented by a Unit. Can only execute if the Unit is not currently provisioned. # Optional. Provision operation.
143 &quot;inputVariables&quot;: [ # Optional. Set of input variables. Maximum 100. (optional)
144 { # UnitVariable describes a parameter for a Unit.
145 &quot;type&quot;: &quot;A String&quot;, # Optional. Immutable. Name of a supported variable type. Supported types are string, int, bool.
146 &quot;value&quot;: &quot;A String&quot;, # Optional. String encoded value for the variable.
147 &quot;variable&quot;: &quot;A String&quot;, # Required. Immutable. Name of the variable from actuation configs.
148 },
149 ],
150 &quot;release&quot;: &quot;A String&quot;, # Optional. Reference to the Release object to use for the Unit. (optional).
151 },
152 &quot;rollout&quot;: &quot;A String&quot;, # Optional. Specifies which rollout created this Unit Operation. This cannot be modified and is used for filtering purposes only. If a dependent unit and unit operation are created as part of another unit operation, they will use the same rolloutId.
153 &quot;schedule&quot;: { # A time specification to schedule the maintenance. # Optional. When to schedule this operation.
154 &quot;startTime&quot;: &quot;A String&quot;, # Optional. Start of operation. If not set, will be set to the start of the next window. (optional)
155 },
156 &quot;state&quot;: &quot;A String&quot;, # Optional. Output only. UnitOperationState describes the current state of the unit operation.
157 &quot;uid&quot;: &quot;A String&quot;, # Output only. The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
158 &quot;unit&quot;: &quot;A String&quot;, # Required. Immutable. The Unit a given UnitOperation will act upon.
159 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.
160 &quot;upgrade&quot;: { # Upgrade is the unit operation that upgrades a provisioned unit, which may also include the underlying resources represented by a Unit. Can only execute if the Unit is currently provisioned. # Optional. Upgrade operation.
161 &quot;inputVariables&quot;: [ # Optional. Set of input variables. Maximum 100. (optional)
162 { # UnitVariable describes a parameter for a Unit.
163 &quot;type&quot;: &quot;A String&quot;, # Optional. Immutable. Name of a supported variable type. Supported types are string, int, bool.
164 &quot;value&quot;: &quot;A String&quot;, # Optional. String encoded value for the variable.
165 &quot;variable&quot;: &quot;A String&quot;, # Required. Immutable. Name of the variable from actuation configs.
166 },
167 ],
168 &quot;release&quot;: &quot;A String&quot;, # Optional. Reference to the Release object to use for the Unit. (optional).
169 },
170 }
171
172 requestId: string, An optional 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 since 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).
173 unitOperationId: string, Required. The ID value for the new unit operation.
174 validateOnly: boolean, If &quot;validate_only&quot; is set to true, the service will try to validate that this request would succeed, but will not actually make changes.
175 x__xgafv: string, V1 error format.
176 Allowed values
177 1 - v1 error format
178 2 - v2 error format
179
180 Returns:
181 An object of the form:
182
183 { # UnitOperation encapsulates the intent of changing/interacting with the service component represented by the specific Unit. Multiple UnitOperations can be created (requested) and scheduled in the future, however only one will be allowed to execute at a time (that can change in the future for non-mutating operations). UnitOperations allow different actors interacting with the same unit to focus only on the change they have requested. This is a base object that contains the common fields in all unit operations. Next: 22
184 &quot;annotations&quot;: { # Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations
185 &quot;a_key&quot;: &quot;A String&quot;,
186 },
187 &quot;cancel&quot;: True or False, # Optional. When true, attempt to cancel the operation. Cancellation may fail if the operation is already executing. (Optional)
188 &quot;conditions&quot;: [ # Optional. Output only. A set of conditions which indicate the various conditions this resource can have.
189 { # UnitOperationCondition describes the status of an Unit Operation. UnitOperationCondition is individual components that contribute to an overall state.
190 &quot;lastTransitionTime&quot;: &quot;A String&quot;, # Required. Last time the condition transited from one status to another.
191 &quot;message&quot;: &quot;A String&quot;, # Required. Human readable message indicating details about the last transition.
192 &quot;reason&quot;: &quot;A String&quot;, # Required. Brief reason for the condition&#x27;s last transition.
193 &quot;status&quot;: &quot;A String&quot;, # Required. Status of the condition.
194 &quot;type&quot;: &quot;A String&quot;, # Required. Type of the condition.
195 },
196 ],
197 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was created.
198 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was marked for deletion (deletion is an asynchronous operation).
199 &quot;deprovision&quot;: { # Deprovision is the unit operation that deprovision the underlying resources represented by a Unit. Can only execute if the Unit is currently provisioned. # Optional. Deprovision operation.
200 },
201 &quot;engineState&quot;: &quot;A String&quot;, # Optional. Output only. The engine state for on-going deployment engine operation(s). This field is opaque for external usage.
202 &quot;errorCategory&quot;: &quot;A String&quot;, # Optional. Output only. UnitOperationErrorCategory describe the error category.
203 &quot;etag&quot;: &quot;A String&quot;, # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
204 &quot;flagUpdate&quot;: { # FlagUpdate is a UnitOperation that pushes new flag values to Units. # Optional. Flag update operation.
205 &quot;flagRelease&quot;: &quot;A String&quot;, # Required. Flag release being applied by UnitOperation.
206 },
207 &quot;labels&quot;: { # Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.
208 &quot;a_key&quot;: &quot;A String&quot;,
209 },
210 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name (full URI of the resource) following the standard naming scheme: &quot;projects/{project}/locations/{location}/unitOperations/{unitOperation}&quot;
211 &quot;parentUnitOperation&quot;: &quot;A String&quot;, # Optional. Reference to parent resource: UnitOperation. If an operation needs to create other operations as part of its workflow, each of the child operations should have this field set to the parent. This can be used for tracing. (Optional)
212 &quot;provision&quot;: { # Provision is the unit operation that provision the underlying resources represented by a Unit. Can only execute if the Unit is not currently provisioned. # Optional. Provision operation.
213 &quot;inputVariables&quot;: [ # Optional. Set of input variables. Maximum 100. (optional)
214 { # UnitVariable describes a parameter for a Unit.
215 &quot;type&quot;: &quot;A String&quot;, # Optional. Immutable. Name of a supported variable type. Supported types are string, int, bool.
216 &quot;value&quot;: &quot;A String&quot;, # Optional. String encoded value for the variable.
217 &quot;variable&quot;: &quot;A String&quot;, # Required. Immutable. Name of the variable from actuation configs.
218 },
219 ],
220 &quot;release&quot;: &quot;A String&quot;, # Optional. Reference to the Release object to use for the Unit. (optional).
221 },
222 &quot;rollout&quot;: &quot;A String&quot;, # Optional. Specifies which rollout created this Unit Operation. This cannot be modified and is used for filtering purposes only. If a dependent unit and unit operation are created as part of another unit operation, they will use the same rolloutId.
223 &quot;schedule&quot;: { # A time specification to schedule the maintenance. # Optional. When to schedule this operation.
224 &quot;startTime&quot;: &quot;A String&quot;, # Optional. Start of operation. If not set, will be set to the start of the next window. (optional)
225 },
226 &quot;state&quot;: &quot;A String&quot;, # Optional. Output only. UnitOperationState describes the current state of the unit operation.
227 &quot;uid&quot;: &quot;A String&quot;, # Output only. The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
228 &quot;unit&quot;: &quot;A String&quot;, # Required. Immutable. The Unit a given UnitOperation will act upon.
229 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.
230 &quot;upgrade&quot;: { # Upgrade is the unit operation that upgrades a provisioned unit, which may also include the underlying resources represented by a Unit. Can only execute if the Unit is currently provisioned. # Optional. Upgrade operation.
231 &quot;inputVariables&quot;: [ # Optional. Set of input variables. Maximum 100. (optional)
232 { # UnitVariable describes a parameter for a Unit.
233 &quot;type&quot;: &quot;A String&quot;, # Optional. Immutable. Name of a supported variable type. Supported types are string, int, bool.
234 &quot;value&quot;: &quot;A String&quot;, # Optional. String encoded value for the variable.
235 &quot;variable&quot;: &quot;A String&quot;, # Required. Immutable. Name of the variable from actuation configs.
236 },
237 ],
238 &quot;release&quot;: &quot;A String&quot;, # Optional. Reference to the Release object to use for the Unit. (optional).
239 },
240 }</pre>
241 </div>
242
243 <div class="method">
244 <code class="details" id="delete">delete(name, etag=None, requestId=None, validateOnly=None, x__xgafv=None)</code>
245 <pre>Delete a single unit operation.
246
247 Args:
248 name: string, Required. The resource name of the resource within a service. (required)
249 etag: string, The etag known to the client for the expected state of the unit operation. This is used with state-changing methods to prevent accidental overwrites when multiple user agents might be acting in parallel on the same resource. An etag wildcard provide optimistic concurrency based on the expected existence of the unit operation. The Any wildcard (`*`) requires that the resource must already exists, and the Not Any wildcard (`!*`) requires that it must not.
250 requestId: string, An optional 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 since 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).
251 validateOnly: boolean, If &quot;validate_only&quot; is set to true, the service will try to validate that this request would succeed, but will not actually make changes.
252 x__xgafv: string, V1 error format.
253 Allowed values
254 1 - v1 error format
255 2 - v2 error format
256
257 Returns:
258 An object of the form:
259
260 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
261 }</pre>
262 </div>
263
264 <div class="method">
265 <code class="details" id="get">get(name, x__xgafv=None)</code>
266 <pre>Retrieve a single unit operation.
267
268 Args:
269 name: string, Required. The resource name of the resource within a service. (required)
270 x__xgafv: string, V1 error format.
271 Allowed values
272 1 - v1 error format
273 2 - v2 error format
274
275 Returns:
276 An object of the form:
277
278 { # UnitOperation encapsulates the intent of changing/interacting with the service component represented by the specific Unit. Multiple UnitOperations can be created (requested) and scheduled in the future, however only one will be allowed to execute at a time (that can change in the future for non-mutating operations). UnitOperations allow different actors interacting with the same unit to focus only on the change they have requested. This is a base object that contains the common fields in all unit operations. Next: 22
279 &quot;annotations&quot;: { # Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations
280 &quot;a_key&quot;: &quot;A String&quot;,
281 },
282 &quot;cancel&quot;: True or False, # Optional. When true, attempt to cancel the operation. Cancellation may fail if the operation is already executing. (Optional)
283 &quot;conditions&quot;: [ # Optional. Output only. A set of conditions which indicate the various conditions this resource can have.
284 { # UnitOperationCondition describes the status of an Unit Operation. UnitOperationCondition is individual components that contribute to an overall state.
285 &quot;lastTransitionTime&quot;: &quot;A String&quot;, # Required. Last time the condition transited from one status to another.
286 &quot;message&quot;: &quot;A String&quot;, # Required. Human readable message indicating details about the last transition.
287 &quot;reason&quot;: &quot;A String&quot;, # Required. Brief reason for the condition&#x27;s last transition.
288 &quot;status&quot;: &quot;A String&quot;, # Required. Status of the condition.
289 &quot;type&quot;: &quot;A String&quot;, # Required. Type of the condition.
290 },
291 ],
292 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was created.
293 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was marked for deletion (deletion is an asynchronous operation).
294 &quot;deprovision&quot;: { # Deprovision is the unit operation that deprovision the underlying resources represented by a Unit. Can only execute if the Unit is currently provisioned. # Optional. Deprovision operation.
295 },
296 &quot;engineState&quot;: &quot;A String&quot;, # Optional. Output only. The engine state for on-going deployment engine operation(s). This field is opaque for external usage.
297 &quot;errorCategory&quot;: &quot;A String&quot;, # Optional. Output only. UnitOperationErrorCategory describe the error category.
298 &quot;etag&quot;: &quot;A String&quot;, # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
299 &quot;flagUpdate&quot;: { # FlagUpdate is a UnitOperation that pushes new flag values to Units. # Optional. Flag update operation.
300 &quot;flagRelease&quot;: &quot;A String&quot;, # Required. Flag release being applied by UnitOperation.
301 },
302 &quot;labels&quot;: { # Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.
303 &quot;a_key&quot;: &quot;A String&quot;,
304 },
305 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name (full URI of the resource) following the standard naming scheme: &quot;projects/{project}/locations/{location}/unitOperations/{unitOperation}&quot;
306 &quot;parentUnitOperation&quot;: &quot;A String&quot;, # Optional. Reference to parent resource: UnitOperation. If an operation needs to create other operations as part of its workflow, each of the child operations should have this field set to the parent. This can be used for tracing. (Optional)
307 &quot;provision&quot;: { # Provision is the unit operation that provision the underlying resources represented by a Unit. Can only execute if the Unit is not currently provisioned. # Optional. Provision operation.
308 &quot;inputVariables&quot;: [ # Optional. Set of input variables. Maximum 100. (optional)
309 { # UnitVariable describes a parameter for a Unit.
310 &quot;type&quot;: &quot;A String&quot;, # Optional. Immutable. Name of a supported variable type. Supported types are string, int, bool.
311 &quot;value&quot;: &quot;A String&quot;, # Optional. String encoded value for the variable.
312 &quot;variable&quot;: &quot;A String&quot;, # Required. Immutable. Name of the variable from actuation configs.
313 },
314 ],
315 &quot;release&quot;: &quot;A String&quot;, # Optional. Reference to the Release object to use for the Unit. (optional).
316 },
317 &quot;rollout&quot;: &quot;A String&quot;, # Optional. Specifies which rollout created this Unit Operation. This cannot be modified and is used for filtering purposes only. If a dependent unit and unit operation are created as part of another unit operation, they will use the same rolloutId.
318 &quot;schedule&quot;: { # A time specification to schedule the maintenance. # Optional. When to schedule this operation.
319 &quot;startTime&quot;: &quot;A String&quot;, # Optional. Start of operation. If not set, will be set to the start of the next window. (optional)
320 },
321 &quot;state&quot;: &quot;A String&quot;, # Optional. Output only. UnitOperationState describes the current state of the unit operation.
322 &quot;uid&quot;: &quot;A String&quot;, # Output only. The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
323 &quot;unit&quot;: &quot;A String&quot;, # Required. Immutable. The Unit a given UnitOperation will act upon.
324 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.
325 &quot;upgrade&quot;: { # Upgrade is the unit operation that upgrades a provisioned unit, which may also include the underlying resources represented by a Unit. Can only execute if the Unit is currently provisioned. # Optional. Upgrade operation.
326 &quot;inputVariables&quot;: [ # Optional. Set of input variables. Maximum 100. (optional)
327 { # UnitVariable describes a parameter for a Unit.
328 &quot;type&quot;: &quot;A String&quot;, # Optional. Immutable. Name of a supported variable type. Supported types are string, int, bool.
329 &quot;value&quot;: &quot;A String&quot;, # Optional. String encoded value for the variable.
330 &quot;variable&quot;: &quot;A String&quot;, # Required. Immutable. Name of the variable from actuation configs.
331 },
332 ],
333 &quot;release&quot;: &quot;A String&quot;, # Optional. Reference to the Release object to use for the Unit. (optional).
334 },
335 }</pre>
336 </div>
337
338 <div class="method">
339 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
340 <pre>Retrieve a collection of unit operations.
341
342 Args:
343 parent: string, Required. The parent of the unit operation. (required)
344 filter: string, Filter the list as specified in https://google.aip.dev/160.
345 orderBy: string, Order results as specified in https://google.aip.dev/132.
346 pageSize: integer, The maximum number of unit operations to send per page.
347 pageToken: string, The page token: If the next_page_token from a previous response is provided, this request will send the subsequent page.
348 x__xgafv: string, V1 error format.
349 Allowed values
350 1 - v1 error format
351 2 - v2 error format
352
353 Returns:
354 An object of the form:
355
356 { # The response structure for the ListUnitOperations method.
357 &quot;nextPageToken&quot;: &quot;A String&quot;, # If present, the next page token can be provided to a subsequent ListUnitOperations call to list the next page. If empty, there are no more pages.
358 &quot;unitOperations&quot;: [ # The resulting unit operations.
359 { # UnitOperation encapsulates the intent of changing/interacting with the service component represented by the specific Unit. Multiple UnitOperations can be created (requested) and scheduled in the future, however only one will be allowed to execute at a time (that can change in the future for non-mutating operations). UnitOperations allow different actors interacting with the same unit to focus only on the change they have requested. This is a base object that contains the common fields in all unit operations. Next: 22
360 &quot;annotations&quot;: { # Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations
361 &quot;a_key&quot;: &quot;A String&quot;,
362 },
363 &quot;cancel&quot;: True or False, # Optional. When true, attempt to cancel the operation. Cancellation may fail if the operation is already executing. (Optional)
364 &quot;conditions&quot;: [ # Optional. Output only. A set of conditions which indicate the various conditions this resource can have.
365 { # UnitOperationCondition describes the status of an Unit Operation. UnitOperationCondition is individual components that contribute to an overall state.
366 &quot;lastTransitionTime&quot;: &quot;A String&quot;, # Required. Last time the condition transited from one status to another.
367 &quot;message&quot;: &quot;A String&quot;, # Required. Human readable message indicating details about the last transition.
368 &quot;reason&quot;: &quot;A String&quot;, # Required. Brief reason for the condition&#x27;s last transition.
369 &quot;status&quot;: &quot;A String&quot;, # Required. Status of the condition.
370 &quot;type&quot;: &quot;A String&quot;, # Required. Type of the condition.
371 },
372 ],
373 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was created.
374 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was marked for deletion (deletion is an asynchronous operation).
375 &quot;deprovision&quot;: { # Deprovision is the unit operation that deprovision the underlying resources represented by a Unit. Can only execute if the Unit is currently provisioned. # Optional. Deprovision operation.
376 },
377 &quot;engineState&quot;: &quot;A String&quot;, # Optional. Output only. The engine state for on-going deployment engine operation(s). This field is opaque for external usage.
378 &quot;errorCategory&quot;: &quot;A String&quot;, # Optional. Output only. UnitOperationErrorCategory describe the error category.
379 &quot;etag&quot;: &quot;A String&quot;, # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
380 &quot;flagUpdate&quot;: { # FlagUpdate is a UnitOperation that pushes new flag values to Units. # Optional. Flag update operation.
381 &quot;flagRelease&quot;: &quot;A String&quot;, # Required. Flag release being applied by UnitOperation.
382 },
383 &quot;labels&quot;: { # Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.
384 &quot;a_key&quot;: &quot;A String&quot;,
385 },
386 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name (full URI of the resource) following the standard naming scheme: &quot;projects/{project}/locations/{location}/unitOperations/{unitOperation}&quot;
387 &quot;parentUnitOperation&quot;: &quot;A String&quot;, # Optional. Reference to parent resource: UnitOperation. If an operation needs to create other operations as part of its workflow, each of the child operations should have this field set to the parent. This can be used for tracing. (Optional)
388 &quot;provision&quot;: { # Provision is the unit operation that provision the underlying resources represented by a Unit. Can only execute if the Unit is not currently provisioned. # Optional. Provision operation.
389 &quot;inputVariables&quot;: [ # Optional. Set of input variables. Maximum 100. (optional)
390 { # UnitVariable describes a parameter for a Unit.
391 &quot;type&quot;: &quot;A String&quot;, # Optional. Immutable. Name of a supported variable type. Supported types are string, int, bool.
392 &quot;value&quot;: &quot;A String&quot;, # Optional. String encoded value for the variable.
393 &quot;variable&quot;: &quot;A String&quot;, # Required. Immutable. Name of the variable from actuation configs.
394 },
395 ],
396 &quot;release&quot;: &quot;A String&quot;, # Optional. Reference to the Release object to use for the Unit. (optional).
397 },
398 &quot;rollout&quot;: &quot;A String&quot;, # Optional. Specifies which rollout created this Unit Operation. This cannot be modified and is used for filtering purposes only. If a dependent unit and unit operation are created as part of another unit operation, they will use the same rolloutId.
399 &quot;schedule&quot;: { # A time specification to schedule the maintenance. # Optional. When to schedule this operation.
400 &quot;startTime&quot;: &quot;A String&quot;, # Optional. Start of operation. If not set, will be set to the start of the next window. (optional)
401 },
402 &quot;state&quot;: &quot;A String&quot;, # Optional. Output only. UnitOperationState describes the current state of the unit operation.
403 &quot;uid&quot;: &quot;A String&quot;, # Output only. The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
404 &quot;unit&quot;: &quot;A String&quot;, # Required. Immutable. The Unit a given UnitOperation will act upon.
405 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.
406 &quot;upgrade&quot;: { # Upgrade is the unit operation that upgrades a provisioned unit, which may also include the underlying resources represented by a Unit. Can only execute if the Unit is currently provisioned. # Optional. Upgrade operation.
407 &quot;inputVariables&quot;: [ # Optional. Set of input variables. Maximum 100. (optional)
408 { # UnitVariable describes a parameter for a Unit.
409 &quot;type&quot;: &quot;A String&quot;, # Optional. Immutable. Name of a supported variable type. Supported types are string, int, bool.
410 &quot;value&quot;: &quot;A String&quot;, # Optional. String encoded value for the variable.
411 &quot;variable&quot;: &quot;A String&quot;, # Required. Immutable. Name of the variable from actuation configs.
412 },
413 ],
414 &quot;release&quot;: &quot;A String&quot;, # Optional. Reference to the Release object to use for the Unit. (optional).
415 },
416 },
417 ],
418 &quot;unreachable&quot;: [ # Locations that could not be reached.
419 &quot;A String&quot;,
420 ],
421 }</pre>
422 </div>
423
424 <div class="method">
425 <code class="details" id="list_next">list_next()</code>
426 <pre>Retrieves the next page of results.
427
428 Args:
429 previous_request: The request for the previous page. (required)
430 previous_response: The response from the request for the previous page. (required)
431
432 Returns:
433 A request object that you can call &#x27;execute()&#x27; on to request the next
434 page. Returns None if there are no more items in the collection.
435 </pre>
436 </div>
437
438 <div class="method">
439 <code class="details" id="patch">patch(name, body=None, requestId=None, updateMask=None, validateOnly=None, x__xgafv=None)</code>
440 <pre>Update a single unit operation.
441
442 Args:
443 name: string, Identifier. The resource name (full URI of the resource) following the standard naming scheme: &quot;projects/{project}/locations/{location}/unitOperations/{unitOperation}&quot; (required)
444 body: object, The request body.
445 The object takes the form of:
446
447 { # UnitOperation encapsulates the intent of changing/interacting with the service component represented by the specific Unit. Multiple UnitOperations can be created (requested) and scheduled in the future, however only one will be allowed to execute at a time (that can change in the future for non-mutating operations). UnitOperations allow different actors interacting with the same unit to focus only on the change they have requested. This is a base object that contains the common fields in all unit operations. Next: 22
448 &quot;annotations&quot;: { # Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations
449 &quot;a_key&quot;: &quot;A String&quot;,
450 },
451 &quot;cancel&quot;: True or False, # Optional. When true, attempt to cancel the operation. Cancellation may fail if the operation is already executing. (Optional)
452 &quot;conditions&quot;: [ # Optional. Output only. A set of conditions which indicate the various conditions this resource can have.
453 { # UnitOperationCondition describes the status of an Unit Operation. UnitOperationCondition is individual components that contribute to an overall state.
454 &quot;lastTransitionTime&quot;: &quot;A String&quot;, # Required. Last time the condition transited from one status to another.
455 &quot;message&quot;: &quot;A String&quot;, # Required. Human readable message indicating details about the last transition.
456 &quot;reason&quot;: &quot;A String&quot;, # Required. Brief reason for the condition&#x27;s last transition.
457 &quot;status&quot;: &quot;A String&quot;, # Required. Status of the condition.
458 &quot;type&quot;: &quot;A String&quot;, # Required. Type of the condition.
459 },
460 ],
461 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was created.
462 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was marked for deletion (deletion is an asynchronous operation).
463 &quot;deprovision&quot;: { # Deprovision is the unit operation that deprovision the underlying resources represented by a Unit. Can only execute if the Unit is currently provisioned. # Optional. Deprovision operation.
464 },
465 &quot;engineState&quot;: &quot;A String&quot;, # Optional. Output only. The engine state for on-going deployment engine operation(s). This field is opaque for external usage.
466 &quot;errorCategory&quot;: &quot;A String&quot;, # Optional. Output only. UnitOperationErrorCategory describe the error category.
467 &quot;etag&quot;: &quot;A String&quot;, # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
468 &quot;flagUpdate&quot;: { # FlagUpdate is a UnitOperation that pushes new flag values to Units. # Optional. Flag update operation.
469 &quot;flagRelease&quot;: &quot;A String&quot;, # Required. Flag release being applied by UnitOperation.
470 },
471 &quot;labels&quot;: { # Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.
472 &quot;a_key&quot;: &quot;A String&quot;,
473 },
474 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name (full URI of the resource) following the standard naming scheme: &quot;projects/{project}/locations/{location}/unitOperations/{unitOperation}&quot;
475 &quot;parentUnitOperation&quot;: &quot;A String&quot;, # Optional. Reference to parent resource: UnitOperation. If an operation needs to create other operations as part of its workflow, each of the child operations should have this field set to the parent. This can be used for tracing. (Optional)
476 &quot;provision&quot;: { # Provision is the unit operation that provision the underlying resources represented by a Unit. Can only execute if the Unit is not currently provisioned. # Optional. Provision operation.
477 &quot;inputVariables&quot;: [ # Optional. Set of input variables. Maximum 100. (optional)
478 { # UnitVariable describes a parameter for a Unit.
479 &quot;type&quot;: &quot;A String&quot;, # Optional. Immutable. Name of a supported variable type. Supported types are string, int, bool.
480 &quot;value&quot;: &quot;A String&quot;, # Optional. String encoded value for the variable.
481 &quot;variable&quot;: &quot;A String&quot;, # Required. Immutable. Name of the variable from actuation configs.
482 },
483 ],
484 &quot;release&quot;: &quot;A String&quot;, # Optional. Reference to the Release object to use for the Unit. (optional).
485 },
486 &quot;rollout&quot;: &quot;A String&quot;, # Optional. Specifies which rollout created this Unit Operation. This cannot be modified and is used for filtering purposes only. If a dependent unit and unit operation are created as part of another unit operation, they will use the same rolloutId.
487 &quot;schedule&quot;: { # A time specification to schedule the maintenance. # Optional. When to schedule this operation.
488 &quot;startTime&quot;: &quot;A String&quot;, # Optional. Start of operation. If not set, will be set to the start of the next window. (optional)
489 },
490 &quot;state&quot;: &quot;A String&quot;, # Optional. Output only. UnitOperationState describes the current state of the unit operation.
491 &quot;uid&quot;: &quot;A String&quot;, # Output only. The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
492 &quot;unit&quot;: &quot;A String&quot;, # Required. Immutable. The Unit a given UnitOperation will act upon.
493 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.
494 &quot;upgrade&quot;: { # Upgrade is the unit operation that upgrades a provisioned unit, which may also include the underlying resources represented by a Unit. Can only execute if the Unit is currently provisioned. # Optional. Upgrade operation.
495 &quot;inputVariables&quot;: [ # Optional. Set of input variables. Maximum 100. (optional)
496 { # UnitVariable describes a parameter for a Unit.
497 &quot;type&quot;: &quot;A String&quot;, # Optional. Immutable. Name of a supported variable type. Supported types are string, int, bool.
498 &quot;value&quot;: &quot;A String&quot;, # Optional. String encoded value for the variable.
499 &quot;variable&quot;: &quot;A String&quot;, # Required. Immutable. Name of the variable from actuation configs.
500 },
501 ],
502 &quot;release&quot;: &quot;A String&quot;, # Optional. Reference to the Release object to use for the Unit. (optional).
503 },
504 }
505
506 requestId: string, An optional 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 since 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).
507 updateMask: string, Field mask is used to specify the fields to be overwritten in the UnitOperation resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields in the UnitOperation will be overwritten.
508 validateOnly: boolean, If &quot;validate_only&quot; is set to true, the service will try to validate that this request would succeed, but will not actually make changes.
509 x__xgafv: string, V1 error format.
510 Allowed values
511 1 - v1 error format
512 2 - v2 error format
513
514 Returns:
515 An object of the form:
516
517 { # UnitOperation encapsulates the intent of changing/interacting with the service component represented by the specific Unit. Multiple UnitOperations can be created (requested) and scheduled in the future, however only one will be allowed to execute at a time (that can change in the future for non-mutating operations). UnitOperations allow different actors interacting with the same unit to focus only on the change they have requested. This is a base object that contains the common fields in all unit operations. Next: 22
518 &quot;annotations&quot;: { # Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations
519 &quot;a_key&quot;: &quot;A String&quot;,
520 },
521 &quot;cancel&quot;: True or False, # Optional. When true, attempt to cancel the operation. Cancellation may fail if the operation is already executing. (Optional)
522 &quot;conditions&quot;: [ # Optional. Output only. A set of conditions which indicate the various conditions this resource can have.
523 { # UnitOperationCondition describes the status of an Unit Operation. UnitOperationCondition is individual components that contribute to an overall state.
524 &quot;lastTransitionTime&quot;: &quot;A String&quot;, # Required. Last time the condition transited from one status to another.
525 &quot;message&quot;: &quot;A String&quot;, # Required. Human readable message indicating details about the last transition.
526 &quot;reason&quot;: &quot;A String&quot;, # Required. Brief reason for the condition&#x27;s last transition.
527 &quot;status&quot;: &quot;A String&quot;, # Required. Status of the condition.
528 &quot;type&quot;: &quot;A String&quot;, # Required. Type of the condition.
529 },
530 ],
531 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was created.
532 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was marked for deletion (deletion is an asynchronous operation).
533 &quot;deprovision&quot;: { # Deprovision is the unit operation that deprovision the underlying resources represented by a Unit. Can only execute if the Unit is currently provisioned. # Optional. Deprovision operation.
534 },
535 &quot;engineState&quot;: &quot;A String&quot;, # Optional. Output only. The engine state for on-going deployment engine operation(s). This field is opaque for external usage.
536 &quot;errorCategory&quot;: &quot;A String&quot;, # Optional. Output only. UnitOperationErrorCategory describe the error category.
537 &quot;etag&quot;: &quot;A String&quot;, # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
538 &quot;flagUpdate&quot;: { # FlagUpdate is a UnitOperation that pushes new flag values to Units. # Optional. Flag update operation.
539 &quot;flagRelease&quot;: &quot;A String&quot;, # Required. Flag release being applied by UnitOperation.
540 },
541 &quot;labels&quot;: { # Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.
542 &quot;a_key&quot;: &quot;A String&quot;,
543 },
544 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name (full URI of the resource) following the standard naming scheme: &quot;projects/{project}/locations/{location}/unitOperations/{unitOperation}&quot;
545 &quot;parentUnitOperation&quot;: &quot;A String&quot;, # Optional. Reference to parent resource: UnitOperation. If an operation needs to create other operations as part of its workflow, each of the child operations should have this field set to the parent. This can be used for tracing. (Optional)
546 &quot;provision&quot;: { # Provision is the unit operation that provision the underlying resources represented by a Unit. Can only execute if the Unit is not currently provisioned. # Optional. Provision operation.
547 &quot;inputVariables&quot;: [ # Optional. Set of input variables. Maximum 100. (optional)
548 { # UnitVariable describes a parameter for a Unit.
549 &quot;type&quot;: &quot;A String&quot;, # Optional. Immutable. Name of a supported variable type. Supported types are string, int, bool.
550 &quot;value&quot;: &quot;A String&quot;, # Optional. String encoded value for the variable.
551 &quot;variable&quot;: &quot;A String&quot;, # Required. Immutable. Name of the variable from actuation configs.
552 },
553 ],
554 &quot;release&quot;: &quot;A String&quot;, # Optional. Reference to the Release object to use for the Unit. (optional).
555 },
556 &quot;rollout&quot;: &quot;A String&quot;, # Optional. Specifies which rollout created this Unit Operation. This cannot be modified and is used for filtering purposes only. If a dependent unit and unit operation are created as part of another unit operation, they will use the same rolloutId.
557 &quot;schedule&quot;: { # A time specification to schedule the maintenance. # Optional. When to schedule this operation.
558 &quot;startTime&quot;: &quot;A String&quot;, # Optional. Start of operation. If not set, will be set to the start of the next window. (optional)
559 },
560 &quot;state&quot;: &quot;A String&quot;, # Optional. Output only. UnitOperationState describes the current state of the unit operation.
561 &quot;uid&quot;: &quot;A String&quot;, # Output only. The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
562 &quot;unit&quot;: &quot;A String&quot;, # Required. Immutable. The Unit a given UnitOperation will act upon.
563 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.
564 &quot;upgrade&quot;: { # Upgrade is the unit operation that upgrades a provisioned unit, which may also include the underlying resources represented by a Unit. Can only execute if the Unit is currently provisioned. # Optional. Upgrade operation.
565 &quot;inputVariables&quot;: [ # Optional. Set of input variables. Maximum 100. (optional)
566 { # UnitVariable describes a parameter for a Unit.
567 &quot;type&quot;: &quot;A String&quot;, # Optional. Immutable. Name of a supported variable type. Supported types are string, int, bool.
568 &quot;value&quot;: &quot;A String&quot;, # Optional. String encoded value for the variable.
569 &quot;variable&quot;: &quot;A String&quot;, # Required. Immutable. Name of the variable from actuation configs.
570 },
571 ],
572 &quot;release&quot;: &quot;A String&quot;, # Optional. Reference to the Release object to use for the Unit. (optional).
573 },
574 }</pre>
575 </div>
576
577 </body></html>