Debian Codegraph @

docs/dyn/workloadmanager_v1.projects.locations.deployments.actuations.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="workloadmanager_v1.html">Workload Manager API</a> . <a href="workloadmanager_v1.projects.html">projects</a> . <a href="workloadmanager_v1.projects.locations.html">locations</a> . <a href="workloadmanager_v1.projects.locations.deployments.html">deployments</a> . <a href="workloadmanager_v1.projects.locations.deployments.actuations.html">actuations</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, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a new actuation for an existing Deployment.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes a single Actuation.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets details of a single Actuation.</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">Lists Actuations in a given project, location and deployment.</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 <h3>Method Details</h3>
96 <div class="method">
97 <code class="details" id="close">close()</code>
98 <pre>Close httplib2 connections.</pre>
99 </div>
100
101 <div class="method">
102 <code class="details" id="create">create(parent, body=None, requestId=None, x__xgafv=None)</code>
103 <pre>Creates a new actuation for an existing Deployment.
104
105 Args:
106 parent: string, Required. The resource name of the Actuation location using the form: &#x27;projects/{project_id}/locations/{location}/deployments/{deployment}&#x27;. (required)
107 body: object, The request body.
108 The object takes the form of:
109
110 { # The Actuation object represents the bootstrap state and output results of deployed infrastructure and software.
111 &quot;actuationOutput&quot;: { # Message for output of actuation. # Output only. Actuation output.
112 &quot;actuateLogs&quot;: &quot;A String&quot;, # A link to the Cloud Storage file that stores build logs.
113 &quot;ansibleError&quot;: &quot;A String&quot;, # Output only. Error message returned from Ansible.
114 &quot;ansibleFailedTask&quot;: [ # Output only. Failed task name returned from Ansible.
115 &quot;A String&quot;,
116 ],
117 &quot;blueprintId&quot;: &quot;A String&quot;, # Reference to the Blueprint Controller deployment and revision resource.
118 &quot;cloudbuildId&quot;: &quot;A String&quot;, # Cloud Build instance UUID associated with this revision, without any suffix or prefix
119 &quot;errorCode&quot;: &quot;A String&quot;, # Output only. Code describing any errors that may have occurred. If not specified, there is no error in actuation.
120 &quot;errorLogs&quot;: &quot;A String&quot;, # A link to the actuation Cloud Build log.
121 &quot;hasUserFacingErrorMsg&quot;: True or False, # Output only. Whether the error message is user facing. If true, the error message will be shown in the UI.
122 &quot;terraformError&quot;: &quot;A String&quot;, # Output only. Error message returned from Terraform.
123 &quot;terraformTemplate&quot;: &quot;A String&quot;, # Reference to the Terraform template used.
124 },
125 &quot;deploymentOutput&quot;: [ # Output only. Deployment output.
126 { # Message for output of deployment resource.
127 &quot;name&quot;: &quot;A String&quot;, # Name of the resource.
128 &quot;type&quot;: &quot;A String&quot;, # Type of the resource.
129 },
130 ],
131 &quot;endTime&quot;: &quot;A String&quot;, # Output only. End time stamp.
132 &quot;name&quot;: &quot;A String&quot;, # The name of the actuation resource. The format is projects/{project}/locations/{location}/deployments/{deployment}/actuations/{actuation}.
133 &quot;startTime&quot;: &quot;A String&quot;, # Output only. Start time stamp.
134 &quot;state&quot;: &quot;A String&quot;, # Output only. Actuation state.
135 }
136
137 requestId: string, Optional. 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).
138 x__xgafv: string, V1 error format.
139 Allowed values
140 1 - v1 error format
141 2 - v2 error format
142
143 Returns:
144 An object of the form:
145
146 { # This resource represents a long-running operation that is the result of a network API call.
147 &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.
148 &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.
149 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
150 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
151 {
152 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
153 },
154 ],
155 &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.
156 },
157 &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.
158 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
159 },
160 &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}`.
161 &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`.
162 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
163 },
164 }</pre>
165 </div>
166
167 <div class="method">
168 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
169 <pre>Deletes a single Actuation.
170
171 Args:
172 name: string, Required. The name of the actuation to delete. projects/{project}/locations/{location}/deployments/{deployment}/actuations/{actuation}. (required)
173 x__xgafv: string, V1 error format.
174 Allowed values
175 1 - v1 error format
176 2 - v2 error format
177
178 Returns:
179 An object of the form:
180
181 { # This resource represents a long-running operation that is the result of a network API call.
182 &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.
183 &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.
184 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
185 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
186 {
187 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
188 },
189 ],
190 &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.
191 },
192 &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.
193 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
194 },
195 &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}`.
196 &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`.
197 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
198 },
199 }</pre>
200 </div>
201
202 <div class="method">
203 <code class="details" id="get">get(name, x__xgafv=None)</code>
204 <pre>Gets details of a single Actuation.
205
206 Args:
207 name: string, Required. Name of the resource. (required)
208 x__xgafv: string, V1 error format.
209 Allowed values
210 1 - v1 error format
211 2 - v2 error format
212
213 Returns:
214 An object of the form:
215
216 { # The Actuation object represents the bootstrap state and output results of deployed infrastructure and software.
217 &quot;actuationOutput&quot;: { # Message for output of actuation. # Output only. Actuation output.
218 &quot;actuateLogs&quot;: &quot;A String&quot;, # A link to the Cloud Storage file that stores build logs.
219 &quot;ansibleError&quot;: &quot;A String&quot;, # Output only. Error message returned from Ansible.
220 &quot;ansibleFailedTask&quot;: [ # Output only. Failed task name returned from Ansible.
221 &quot;A String&quot;,
222 ],
223 &quot;blueprintId&quot;: &quot;A String&quot;, # Reference to the Blueprint Controller deployment and revision resource.
224 &quot;cloudbuildId&quot;: &quot;A String&quot;, # Cloud Build instance UUID associated with this revision, without any suffix or prefix
225 &quot;errorCode&quot;: &quot;A String&quot;, # Output only. Code describing any errors that may have occurred. If not specified, there is no error in actuation.
226 &quot;errorLogs&quot;: &quot;A String&quot;, # A link to the actuation Cloud Build log.
227 &quot;hasUserFacingErrorMsg&quot;: True or False, # Output only. Whether the error message is user facing. If true, the error message will be shown in the UI.
228 &quot;terraformError&quot;: &quot;A String&quot;, # Output only. Error message returned from Terraform.
229 &quot;terraformTemplate&quot;: &quot;A String&quot;, # Reference to the Terraform template used.
230 },
231 &quot;deploymentOutput&quot;: [ # Output only. Deployment output.
232 { # Message for output of deployment resource.
233 &quot;name&quot;: &quot;A String&quot;, # Name of the resource.
234 &quot;type&quot;: &quot;A String&quot;, # Type of the resource.
235 },
236 ],
237 &quot;endTime&quot;: &quot;A String&quot;, # Output only. End time stamp.
238 &quot;name&quot;: &quot;A String&quot;, # The name of the actuation resource. The format is projects/{project}/locations/{location}/deployments/{deployment}/actuations/{actuation}.
239 &quot;startTime&quot;: &quot;A String&quot;, # Output only. Start time stamp.
240 &quot;state&quot;: &quot;A String&quot;, # Output only. Actuation state.
241 }</pre>
242 </div>
243
244 <div class="method">
245 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
246 <pre>Lists Actuations in a given project, location and deployment.
247
248 Args:
249 parent: string, Required. The resource prefix of the Actuation using the form: &#x27;projects/{project_id}/locations/{location}/deployments/{deployment}&#x27;. (required)
250 filter: string, Optional. Filtering results.
251 orderBy: string, Optional. Field to sort by. See https://google.aip.dev/132#ordering for more details.
252 pageSize: integer, Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
253 pageToken: string, Optional. A token identifying a page of results the server should return.
254 x__xgafv: string, V1 error format.
255 Allowed values
256 1 - v1 error format
257 2 - v2 error format
258
259 Returns:
260 An object of the form:
261
262 { # The response object from `ListActuations`.
263 &quot;actuations&quot;: [ # The list of actuations.
264 { # The Actuation object represents the bootstrap state and output results of deployed infrastructure and software.
265 &quot;actuationOutput&quot;: { # Message for output of actuation. # Output only. Actuation output.
266 &quot;actuateLogs&quot;: &quot;A String&quot;, # A link to the Cloud Storage file that stores build logs.
267 &quot;ansibleError&quot;: &quot;A String&quot;, # Output only. Error message returned from Ansible.
268 &quot;ansibleFailedTask&quot;: [ # Output only. Failed task name returned from Ansible.
269 &quot;A String&quot;,
270 ],
271 &quot;blueprintId&quot;: &quot;A String&quot;, # Reference to the Blueprint Controller deployment and revision resource.
272 &quot;cloudbuildId&quot;: &quot;A String&quot;, # Cloud Build instance UUID associated with this revision, without any suffix or prefix
273 &quot;errorCode&quot;: &quot;A String&quot;, # Output only. Code describing any errors that may have occurred. If not specified, there is no error in actuation.
274 &quot;errorLogs&quot;: &quot;A String&quot;, # A link to the actuation Cloud Build log.
275 &quot;hasUserFacingErrorMsg&quot;: True or False, # Output only. Whether the error message is user facing. If true, the error message will be shown in the UI.
276 &quot;terraformError&quot;: &quot;A String&quot;, # Output only. Error message returned from Terraform.
277 &quot;terraformTemplate&quot;: &quot;A String&quot;, # Reference to the Terraform template used.
278 },
279 &quot;deploymentOutput&quot;: [ # Output only. Deployment output.
280 { # Message for output of deployment resource.
281 &quot;name&quot;: &quot;A String&quot;, # Name of the resource.
282 &quot;type&quot;: &quot;A String&quot;, # Type of the resource.
283 },
284 ],
285 &quot;endTime&quot;: &quot;A String&quot;, # Output only. End time stamp.
286 &quot;name&quot;: &quot;A String&quot;, # The name of the actuation resource. The format is projects/{project}/locations/{location}/deployments/{deployment}/actuations/{actuation}.
287 &quot;startTime&quot;: &quot;A String&quot;, # Output only. Start time stamp.
288 &quot;state&quot;: &quot;A String&quot;, # Output only. Actuation state.
289 },
290 ],
291 &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.
292 &quot;unreachable&quot;: [ # Unordered list. Locations that could not be reached.
293 &quot;A String&quot;,
294 ],
295 }</pre>
296 </div>
297
298 <div class="method">
299 <code class="details" id="list_next">list_next()</code>
300 <pre>Retrieves the next page of results.
301
302 Args:
303 previous_request: The request for the previous page. (required)
304 previous_response: The response from the request for the previous page. (required)
305
306 Returns:
307 A request object that you can call &#x27;execute()&#x27; on to request the next
308 page. Returns None if there are no more items in the collection.
309 </pre>
310 </div>
311
312 </body></html>