Debian Codegraph @

docs/dyn/integrations_v1alpha.projects.locations.integrations.versions.testCases.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="integrations_v1alpha.html">Application Integration API</a> . <a href="integrations_v1alpha.projects.html">projects</a> . <a href="integrations_v1alpha.projects.locations.html">locations</a> . <a href="integrations_v1alpha.projects.locations.integrations.html">integrations</a> . <a href="integrations_v1alpha.projects.locations.integrations.versions.html">versions</a> . <a href="integrations_v1alpha.projects.locations.integrations.versions.testCases.html">testCases</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, testCaseId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a new test case</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 test case</p>
86 <p class="toc_element">
87 <code><a href="#executeTest">executeTest(testCaseName, body=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Executes functional test</p>
89 <p class="toc_element">
90 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
91 <p class="firstline">Get a test case</p>
92 <p class="toc_element">
93 <code><a href="#listExecutions">listExecutions(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, readMask=None, truncateParams=None, x__xgafv=None)</a></code></p>
94 <p class="firstline">Lists the results of all functional test executions. The response includes the same information as the [execution log](https://cloud.google.com/application-integration/docs/viewing-logs) in the Integration UI.</p>
95 <p class="toc_element">
96 <code><a href="#listExecutions_next">listExecutions_next()</a></code></p>
97 <p class="firstline">Retrieves the next page of results.</p>
98 <p class="toc_element">
99 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
100 <p class="firstline">Updates a test case</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, testCaseId=None, x__xgafv=None)</code>
109 <pre>Creates a new test case
110
111 Args:
112 parent: string, Required. The parent resource where this test case will be created. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{integration_version} (required)
113 body: object, The request body.
114 The object takes the form of:
115
116 { # Defines the functional test case for Application Integration. Next available id: 15
117 &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
118 &quot;creatorEmail&quot;: &quot;A String&quot;, # Optional. The creator&#x27;s email address. Generated based on the End User Credentials/LOAS role of the user making the call.
119 &quot;databasePersistencePolicy&quot;: &quot;A String&quot;, # Optional. Various policies for how to persist the test execution info including execution info, execution export info, execution metadata index and execution param index..
120 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the test case.
121 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of test case.
122 &quot;lastModifierEmail&quot;: &quot;A String&quot;, # The last modifer&#x27;s email address. Generated based on the End User Credentials/LOAS role of the user making the call.
123 &quot;lockHolderEmail&quot;: &quot;A String&quot;, # Optional. The edit lock holder&#x27;s email address. Generated based on the End User Credentials/LOAS role of the user making the call.
124 &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
125 &quot;testInputParameters&quot;: [ # Optional. Parameters that are expected to be passed to the test case when the test case is triggered. This gives the user the ability to provide default values. This should include all the output variables of the trigger as input variables.
126 { # Integration Parameter is defined in the integration config and are used to provide information about data types of the expected parameters and provide any default values if needed. They can also be used to add custom attributes. These are static in nature and should not be used for dynamic event definition.
127 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
128 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
129 &quot;defaultValue&quot;: { # The type of the parameter. # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
130 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
131 &quot;booleanValues&quot;: [ # Boolean array.
132 True or False,
133 ],
134 },
135 &quot;booleanValue&quot;: True or False, # Boolean.
136 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
137 &quot;doubleValues&quot;: [ # Double number array.
138 3.14,
139 ],
140 },
141 &quot;doubleValue&quot;: 3.14, # Double Number.
142 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
143 &quot;intValues&quot;: [ # Integer array.
144 &quot;A String&quot;,
145 ],
146 },
147 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
148 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
149 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
150 &quot;stringValues&quot;: [ # String array.
151 &quot;A String&quot;,
152 ],
153 },
154 &quot;stringValue&quot;: &quot;A String&quot;, # String.
155 },
156 &quot;displayName&quot;: &quot;A String&quot;, # The name (without prefix) to be displayed in the UI for this parameter. E.g. if the key is &quot;foo.bar.myName&quot;, then the name would be &quot;myName&quot;.
157 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
158 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
159 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
160 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the integration definition.
161 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
162 &quot;producer&quot;: &quot;A String&quot;, # The identifier of the node (TaskConfig/TriggerConfig) this parameter was produced by, if it is a transient param or a copy of an input param.
163 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
164 },
165 ],
166 &quot;testTaskConfigs&quot;: [ # Optional. However, the test case doesn&#x27;t mock or assert anything without test_task_configs.
167 { # The task mock configuration details and assertions for functional tests. Next available id: 5
168 &quot;assertions&quot;: [ # Optional. List of conditions or expressions which should be evaluated to true unless there is a bug/problem in the integration. These are evaluated one the task execution is completed as per the mock strategy in test case
169 { # An assertion which will check for a condition over task execution status or an expression for task output variables Next available id: 5
170 &quot;assertionStrategy&quot;: &quot;A String&quot;, # The type of assertion to perform.
171 &quot;condition&quot;: &quot;A String&quot;, # Optional. Standard filter expression for ASSERT_CONDITION to succeed
172 &quot;parameter&quot;: { # This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Next available id: 4 # Optional. Key-value pair for ASSERT_EQUALS, ASSERT_NOT_EQUALS, ASSERT_CONTAINS to succeed
173 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the integration definition.
174 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
175 &quot;value&quot;: { # The type of the parameter. # Values for the defined keys. Each value can either be string, int, double or any proto message.
176 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
177 &quot;booleanValues&quot;: [ # Boolean array.
178 True or False,
179 ],
180 },
181 &quot;booleanValue&quot;: True or False, # Boolean.
182 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
183 &quot;doubleValues&quot;: [ # Double number array.
184 3.14,
185 ],
186 },
187 &quot;doubleValue&quot;: 3.14, # Double Number.
188 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
189 &quot;intValues&quot;: [ # Integer array.
190 &quot;A String&quot;,
191 ],
192 },
193 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
194 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
195 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
196 &quot;stringValues&quot;: [ # String array.
197 &quot;A String&quot;,
198 ],
199 },
200 &quot;stringValue&quot;: &quot;A String&quot;, # String.
201 },
202 },
203 &quot;retryCount&quot;: 42, # Number of times given task should be retried in case of ASSERT_FAILED_EXECUTION
204 },
205 ],
206 &quot;mockConfig&quot;: { # The configuration for mocking of a task during test execution Next available id: 4 # Optional. Defines how to mock the given task during test execution
207 &quot;failedExecutions&quot;: &quot;A String&quot;, # Optional. Number of times the given task should fail for failure mock strategy
208 &quot;mockStrategy&quot;: &quot;A String&quot;, # Mockstrategy defines how the particular task should be mocked during test execution
209 &quot;parameters&quot;: [ # Optional. List of key-value pairs for specific mock strategy
210 { # This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Next available id: 4
211 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the integration definition.
212 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
213 &quot;value&quot;: { # The type of the parameter. # Values for the defined keys. Each value can either be string, int, double or any proto message.
214 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
215 &quot;booleanValues&quot;: [ # Boolean array.
216 True or False,
217 ],
218 },
219 &quot;booleanValue&quot;: True or False, # Boolean.
220 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
221 &quot;doubleValues&quot;: [ # Double number array.
222 3.14,
223 ],
224 },
225 &quot;doubleValue&quot;: 3.14, # Double Number.
226 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
227 &quot;intValues&quot;: [ # Integer array.
228 &quot;A String&quot;,
229 ],
230 },
231 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
232 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
233 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
234 &quot;stringValues&quot;: [ # String array.
235 &quot;A String&quot;,
236 ],
237 },
238 &quot;stringValue&quot;: &quot;A String&quot;, # String.
239 },
240 },
241 ],
242 },
243 &quot;task&quot;: &quot;A String&quot;, # Required. This defines in the test case, the task name in integration which will be mocked by this test task config
244 &quot;taskNumber&quot;: &quot;A String&quot;, # Required. This defines in the test case, the task in integration which will be mocked by this test task config
245 },
246 ],
247 &quot;triggerId&quot;: &quot;A String&quot;, # Required. This defines the trigger ID in workflow which is considered to be executed as starting point of the test case
248 &quot;updateTime&quot;: &quot;A String&quot;, # Auto-generated.
249 &quot;workflowId&quot;: &quot;A String&quot;, # ID of the workflow with which this test case is associated Deprecated. Please read the workflow_id from name or parent.
250 }
251
252 testCaseId: string, Required. Required
253 x__xgafv: string, V1 error format.
254 Allowed values
255 1 - v1 error format
256 2 - v2 error format
257
258 Returns:
259 An object of the form:
260
261 { # Defines the functional test case for Application Integration. Next available id: 15
262 &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
263 &quot;creatorEmail&quot;: &quot;A String&quot;, # Optional. The creator&#x27;s email address. Generated based on the End User Credentials/LOAS role of the user making the call.
264 &quot;databasePersistencePolicy&quot;: &quot;A String&quot;, # Optional. Various policies for how to persist the test execution info including execution info, execution export info, execution metadata index and execution param index..
265 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the test case.
266 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of test case.
267 &quot;lastModifierEmail&quot;: &quot;A String&quot;, # The last modifer&#x27;s email address. Generated based on the End User Credentials/LOAS role of the user making the call.
268 &quot;lockHolderEmail&quot;: &quot;A String&quot;, # Optional. The edit lock holder&#x27;s email address. Generated based on the End User Credentials/LOAS role of the user making the call.
269 &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
270 &quot;testInputParameters&quot;: [ # Optional. Parameters that are expected to be passed to the test case when the test case is triggered. This gives the user the ability to provide default values. This should include all the output variables of the trigger as input variables.
271 { # Integration Parameter is defined in the integration config and are used to provide information about data types of the expected parameters and provide any default values if needed. They can also be used to add custom attributes. These are static in nature and should not be used for dynamic event definition.
272 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
273 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
274 &quot;defaultValue&quot;: { # The type of the parameter. # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
275 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
276 &quot;booleanValues&quot;: [ # Boolean array.
277 True or False,
278 ],
279 },
280 &quot;booleanValue&quot;: True or False, # Boolean.
281 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
282 &quot;doubleValues&quot;: [ # Double number array.
283 3.14,
284 ],
285 },
286 &quot;doubleValue&quot;: 3.14, # Double Number.
287 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
288 &quot;intValues&quot;: [ # Integer array.
289 &quot;A String&quot;,
290 ],
291 },
292 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
293 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
294 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
295 &quot;stringValues&quot;: [ # String array.
296 &quot;A String&quot;,
297 ],
298 },
299 &quot;stringValue&quot;: &quot;A String&quot;, # String.
300 },
301 &quot;displayName&quot;: &quot;A String&quot;, # The name (without prefix) to be displayed in the UI for this parameter. E.g. if the key is &quot;foo.bar.myName&quot;, then the name would be &quot;myName&quot;.
302 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
303 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
304 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
305 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the integration definition.
306 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
307 &quot;producer&quot;: &quot;A String&quot;, # The identifier of the node (TaskConfig/TriggerConfig) this parameter was produced by, if it is a transient param or a copy of an input param.
308 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
309 },
310 ],
311 &quot;testTaskConfigs&quot;: [ # Optional. However, the test case doesn&#x27;t mock or assert anything without test_task_configs.
312 { # The task mock configuration details and assertions for functional tests. Next available id: 5
313 &quot;assertions&quot;: [ # Optional. List of conditions or expressions which should be evaluated to true unless there is a bug/problem in the integration. These are evaluated one the task execution is completed as per the mock strategy in test case
314 { # An assertion which will check for a condition over task execution status or an expression for task output variables Next available id: 5
315 &quot;assertionStrategy&quot;: &quot;A String&quot;, # The type of assertion to perform.
316 &quot;condition&quot;: &quot;A String&quot;, # Optional. Standard filter expression for ASSERT_CONDITION to succeed
317 &quot;parameter&quot;: { # This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Next available id: 4 # Optional. Key-value pair for ASSERT_EQUALS, ASSERT_NOT_EQUALS, ASSERT_CONTAINS to succeed
318 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the integration definition.
319 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
320 &quot;value&quot;: { # The type of the parameter. # Values for the defined keys. Each value can either be string, int, double or any proto message.
321 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
322 &quot;booleanValues&quot;: [ # Boolean array.
323 True or False,
324 ],
325 },
326 &quot;booleanValue&quot;: True or False, # Boolean.
327 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
328 &quot;doubleValues&quot;: [ # Double number array.
329 3.14,
330 ],
331 },
332 &quot;doubleValue&quot;: 3.14, # Double Number.
333 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
334 &quot;intValues&quot;: [ # Integer array.
335 &quot;A String&quot;,
336 ],
337 },
338 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
339 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
340 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
341 &quot;stringValues&quot;: [ # String array.
342 &quot;A String&quot;,
343 ],
344 },
345 &quot;stringValue&quot;: &quot;A String&quot;, # String.
346 },
347 },
348 &quot;retryCount&quot;: 42, # Number of times given task should be retried in case of ASSERT_FAILED_EXECUTION
349 },
350 ],
351 &quot;mockConfig&quot;: { # The configuration for mocking of a task during test execution Next available id: 4 # Optional. Defines how to mock the given task during test execution
352 &quot;failedExecutions&quot;: &quot;A String&quot;, # Optional. Number of times the given task should fail for failure mock strategy
353 &quot;mockStrategy&quot;: &quot;A String&quot;, # Mockstrategy defines how the particular task should be mocked during test execution
354 &quot;parameters&quot;: [ # Optional. List of key-value pairs for specific mock strategy
355 { # This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Next available id: 4
356 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the integration definition.
357 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
358 &quot;value&quot;: { # The type of the parameter. # Values for the defined keys. Each value can either be string, int, double or any proto message.
359 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
360 &quot;booleanValues&quot;: [ # Boolean array.
361 True or False,
362 ],
363 },
364 &quot;booleanValue&quot;: True or False, # Boolean.
365 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
366 &quot;doubleValues&quot;: [ # Double number array.
367 3.14,
368 ],
369 },
370 &quot;doubleValue&quot;: 3.14, # Double Number.
371 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
372 &quot;intValues&quot;: [ # Integer array.
373 &quot;A String&quot;,
374 ],
375 },
376 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
377 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
378 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
379 &quot;stringValues&quot;: [ # String array.
380 &quot;A String&quot;,
381 ],
382 },
383 &quot;stringValue&quot;: &quot;A String&quot;, # String.
384 },
385 },
386 ],
387 },
388 &quot;task&quot;: &quot;A String&quot;, # Required. This defines in the test case, the task name in integration which will be mocked by this test task config
389 &quot;taskNumber&quot;: &quot;A String&quot;, # Required. This defines in the test case, the task in integration which will be mocked by this test task config
390 },
391 ],
392 &quot;triggerId&quot;: &quot;A String&quot;, # Required. This defines the trigger ID in workflow which is considered to be executed as starting point of the test case
393 &quot;updateTime&quot;: &quot;A String&quot;, # Auto-generated.
394 &quot;workflowId&quot;: &quot;A String&quot;, # ID of the workflow with which this test case is associated Deprecated. Please read the workflow_id from name or parent.
395 }</pre>
396 </div>
397
398 <div class="method">
399 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
400 <pre>Deletes a test case
401
402 Args:
403 name: string, Required. ID for the test case to be deleted (required)
404 x__xgafv: string, V1 error format.
405 Allowed values
406 1 - v1 error format
407 2 - v2 error format
408
409 Returns:
410 An object of the form:
411
412 { # 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); }
413 }</pre>
414 </div>
415
416 <div class="method">
417 <code class="details" id="executeTest">executeTest(testCaseName, body=None, x__xgafv=None)</code>
418 <pre>Executes functional test
419
420 Args:
421 testCaseName: string, Required. Test case resource name (required)
422 body: object, The request body.
423 The object takes the form of:
424
425 { # The request for executing a functional test.
426 &quot;inputParameters&quot;: { # Optional. Input parameters used by test case execution.
427 &quot;a_key&quot;: { # The type of the parameter.
428 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
429 &quot;booleanValues&quot;: [ # Boolean array.
430 True or False,
431 ],
432 },
433 &quot;booleanValue&quot;: True or False, # Boolean.
434 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
435 &quot;doubleValues&quot;: [ # Double number array.
436 3.14,
437 ],
438 },
439 &quot;doubleValue&quot;: 3.14, # Double Number.
440 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
441 &quot;intValues&quot;: [ # Integer array.
442 &quot;A String&quot;,
443 ],
444 },
445 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
446 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
447 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
448 &quot;stringValues&quot;: [ # String array.
449 &quot;A String&quot;,
450 ],
451 },
452 &quot;stringValue&quot;: &quot;A String&quot;, # String.
453 },
454 },
455 }
456
457 x__xgafv: string, V1 error format.
458 Allowed values
459 1 - v1 error format
460 2 - v2 error format
461
462 Returns:
463 An object of the form:
464
465 { # The response for executing a functional test.
466 &quot;assertionResults&quot;: [ # Results of each assertions ran during execution of test case.
467 { # The result of an assertion.
468 &quot;assertion&quot;: { # An assertion which will check for a condition over task execution status or an expression for task output variables Next available id: 5 # Assertion that was run.
469 &quot;assertionStrategy&quot;: &quot;A String&quot;, # The type of assertion to perform.
470 &quot;condition&quot;: &quot;A String&quot;, # Optional. Standard filter expression for ASSERT_CONDITION to succeed
471 &quot;parameter&quot;: { # This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Next available id: 4 # Optional. Key-value pair for ASSERT_EQUALS, ASSERT_NOT_EQUALS, ASSERT_CONTAINS to succeed
472 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the integration definition.
473 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
474 &quot;value&quot;: { # The type of the parameter. # Values for the defined keys. Each value can either be string, int, double or any proto message.
475 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
476 &quot;booleanValues&quot;: [ # Boolean array.
477 True or False,
478 ],
479 },
480 &quot;booleanValue&quot;: True or False, # Boolean.
481 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
482 &quot;doubleValues&quot;: [ # Double number array.
483 3.14,
484 ],
485 },
486 &quot;doubleValue&quot;: 3.14, # Double Number.
487 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
488 &quot;intValues&quot;: [ # Integer array.
489 &quot;A String&quot;,
490 ],
491 },
492 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
493 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
494 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
495 &quot;stringValues&quot;: [ # String array.
496 &quot;A String&quot;,
497 ],
498 },
499 &quot;stringValue&quot;: &quot;A String&quot;, # String.
500 },
501 },
502 &quot;retryCount&quot;: 42, # Number of times given task should be retried in case of ASSERT_FAILED_EXECUTION
503 },
504 &quot;status&quot;: &quot;A String&quot;, # Status of assertion to signify if the assertion succeeded or failed
505 &quot;taskName&quot;: &quot;A String&quot;, # Task name of task where the assertion was run.
506 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of task where the assertion was run.
507 },
508 ],
509 &quot;executionId&quot;: &quot;A String&quot;, # The id of the execution corresponding to this run of integration.
510 &quot;outputParameters&quot;: { # OUTPUT parameters in format of Map. Where Key is the name of the parameter. Note: Name of the system generated parameters are wrapped by backtick(`) to distinguish them from the user defined parameters.
511 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
512 },
513 &quot;testExecutionState&quot;: &quot;A String&quot;, # State of the test case execution
514 }</pre>
515 </div>
516
517 <div class="method">
518 <code class="details" id="get">get(name, x__xgafv=None)</code>
519 <pre>Get a test case
520
521 Args:
522 name: string, Required. The ID of the test case to retrieve (required)
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 { # Defines the functional test case for Application Integration. Next available id: 15
532 &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
533 &quot;creatorEmail&quot;: &quot;A String&quot;, # Optional. The creator&#x27;s email address. Generated based on the End User Credentials/LOAS role of the user making the call.
534 &quot;databasePersistencePolicy&quot;: &quot;A String&quot;, # Optional. Various policies for how to persist the test execution info including execution info, execution export info, execution metadata index and execution param index..
535 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the test case.
536 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of test case.
537 &quot;lastModifierEmail&quot;: &quot;A String&quot;, # The last modifer&#x27;s email address. Generated based on the End User Credentials/LOAS role of the user making the call.
538 &quot;lockHolderEmail&quot;: &quot;A String&quot;, # Optional. The edit lock holder&#x27;s email address. Generated based on the End User Credentials/LOAS role of the user making the call.
539 &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
540 &quot;testInputParameters&quot;: [ # Optional. Parameters that are expected to be passed to the test case when the test case is triggered. This gives the user the ability to provide default values. This should include all the output variables of the trigger as input variables.
541 { # Integration Parameter is defined in the integration config and are used to provide information about data types of the expected parameters and provide any default values if needed. They can also be used to add custom attributes. These are static in nature and should not be used for dynamic event definition.
542 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
543 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
544 &quot;defaultValue&quot;: { # The type of the parameter. # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
545 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
546 &quot;booleanValues&quot;: [ # Boolean array.
547 True or False,
548 ],
549 },
550 &quot;booleanValue&quot;: True or False, # Boolean.
551 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
552 &quot;doubleValues&quot;: [ # Double number array.
553 3.14,
554 ],
555 },
556 &quot;doubleValue&quot;: 3.14, # Double Number.
557 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
558 &quot;intValues&quot;: [ # Integer array.
559 &quot;A String&quot;,
560 ],
561 },
562 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
563 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
564 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
565 &quot;stringValues&quot;: [ # String array.
566 &quot;A String&quot;,
567 ],
568 },
569 &quot;stringValue&quot;: &quot;A String&quot;, # String.
570 },
571 &quot;displayName&quot;: &quot;A String&quot;, # The name (without prefix) to be displayed in the UI for this parameter. E.g. if the key is &quot;foo.bar.myName&quot;, then the name would be &quot;myName&quot;.
572 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
573 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
574 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
575 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the integration definition.
576 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
577 &quot;producer&quot;: &quot;A String&quot;, # The identifier of the node (TaskConfig/TriggerConfig) this parameter was produced by, if it is a transient param or a copy of an input param.
578 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
579 },
580 ],
581 &quot;testTaskConfigs&quot;: [ # Optional. However, the test case doesn&#x27;t mock or assert anything without test_task_configs.
582 { # The task mock configuration details and assertions for functional tests. Next available id: 5
583 &quot;assertions&quot;: [ # Optional. List of conditions or expressions which should be evaluated to true unless there is a bug/problem in the integration. These are evaluated one the task execution is completed as per the mock strategy in test case
584 { # An assertion which will check for a condition over task execution status or an expression for task output variables Next available id: 5
585 &quot;assertionStrategy&quot;: &quot;A String&quot;, # The type of assertion to perform.
586 &quot;condition&quot;: &quot;A String&quot;, # Optional. Standard filter expression for ASSERT_CONDITION to succeed
587 &quot;parameter&quot;: { # This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Next available id: 4 # Optional. Key-value pair for ASSERT_EQUALS, ASSERT_NOT_EQUALS, ASSERT_CONTAINS to succeed
588 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the integration definition.
589 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
590 &quot;value&quot;: { # The type of the parameter. # Values for the defined keys. Each value can either be string, int, double or any proto message.
591 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
592 &quot;booleanValues&quot;: [ # Boolean array.
593 True or False,
594 ],
595 },
596 &quot;booleanValue&quot;: True or False, # Boolean.
597 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
598 &quot;doubleValues&quot;: [ # Double number array.
599 3.14,
600 ],
601 },
602 &quot;doubleValue&quot;: 3.14, # Double Number.
603 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
604 &quot;intValues&quot;: [ # Integer array.
605 &quot;A String&quot;,
606 ],
607 },
608 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
609 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
610 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
611 &quot;stringValues&quot;: [ # String array.
612 &quot;A String&quot;,
613 ],
614 },
615 &quot;stringValue&quot;: &quot;A String&quot;, # String.
616 },
617 },
618 &quot;retryCount&quot;: 42, # Number of times given task should be retried in case of ASSERT_FAILED_EXECUTION
619 },
620 ],
621 &quot;mockConfig&quot;: { # The configuration for mocking of a task during test execution Next available id: 4 # Optional. Defines how to mock the given task during test execution
622 &quot;failedExecutions&quot;: &quot;A String&quot;, # Optional. Number of times the given task should fail for failure mock strategy
623 &quot;mockStrategy&quot;: &quot;A String&quot;, # Mockstrategy defines how the particular task should be mocked during test execution
624 &quot;parameters&quot;: [ # Optional. List of key-value pairs for specific mock strategy
625 { # This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Next available id: 4
626 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the integration definition.
627 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
628 &quot;value&quot;: { # The type of the parameter. # Values for the defined keys. Each value can either be string, int, double or any proto message.
629 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
630 &quot;booleanValues&quot;: [ # Boolean array.
631 True or False,
632 ],
633 },
634 &quot;booleanValue&quot;: True or False, # Boolean.
635 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
636 &quot;doubleValues&quot;: [ # Double number array.
637 3.14,
638 ],
639 },
640 &quot;doubleValue&quot;: 3.14, # Double Number.
641 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
642 &quot;intValues&quot;: [ # Integer array.
643 &quot;A String&quot;,
644 ],
645 },
646 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
647 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
648 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
649 &quot;stringValues&quot;: [ # String array.
650 &quot;A String&quot;,
651 ],
652 },
653 &quot;stringValue&quot;: &quot;A String&quot;, # String.
654 },
655 },
656 ],
657 },
658 &quot;task&quot;: &quot;A String&quot;, # Required. This defines in the test case, the task name in integration which will be mocked by this test task config
659 &quot;taskNumber&quot;: &quot;A String&quot;, # Required. This defines in the test case, the task in integration which will be mocked by this test task config
660 },
661 ],
662 &quot;triggerId&quot;: &quot;A String&quot;, # Required. This defines the trigger ID in workflow which is considered to be executed as starting point of the test case
663 &quot;updateTime&quot;: &quot;A String&quot;, # Auto-generated.
664 &quot;workflowId&quot;: &quot;A String&quot;, # ID of the workflow with which this test case is associated Deprecated. Please read the workflow_id from name or parent.
665 }</pre>
666 </div>
667
668 <div class="method">
669 <code class="details" id="listExecutions">listExecutions(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, readMask=None, truncateParams=None, x__xgafv=None)</code>
670 <pre>Lists the results of all functional test executions. The response includes the same information as the [execution log](https://cloud.google.com/application-integration/docs/viewing-logs) in the Integration UI.
671
672 Args:
673 parent: string, Required. The parent resource name of the test case execution. (required)
674 filter: string, Optional. Standard filter field, we support filtering on following fields: test_case_id: the ID of the test case. CreateTimestamp: the execution created time. event_execution_state: the state of the executions. execution_id: the id of the execution. trigger_id: the id of the trigger. parameter_type: the type of the parameters involved in the execution. All fields support for EQUALS, in additional: CreateTimestamp support for LESS_THAN, GREATER_THAN ParameterType support for HAS For example: &quot;parameter_type&quot; HAS \&quot;string\&quot; Also supports operators like AND, OR, NOT For example, trigger_id=\&quot;id1\&quot; AND test_case_id=\&quot;testCaseId\&quot;
675 orderBy: string, Optional. The results would be returned in order you specified here. Currently supporting &quot;last_modified_time&quot; and &quot;create_time&quot;.
676 pageSize: integer, Optional. The size of entries in the response.
677 pageToken: string, Optional. The token returned in the previous response.
678 readMask: string, Optional. View mask for the response data. If set, only the field specified will be returned as part of the result. If not set, all fields in event execution info will be filled and returned.
679 truncateParams: boolean, Optional. If true, the service will truncate the params to only keep the first 1000 characters of string params and empty the executions in order to make response smaller. Only works for UI and when the params fields are not filtered out.
680 x__xgafv: string, V1 error format.
681 Allowed values
682 1 - v1 error format
683 2 - v2 error format
684
685 Returns:
686 An object of the form:
687
688 { # The response for listing the functional test execution data.
689 &quot;executions&quot;: [ # The detailed information of requested executions
690 { # The Execution resource contains detailed information of an individual integration execution.
691 &quot;cloudLoggingDetails&quot;: { # Cloud Logging details for execution info # Cloud Logging details for the integration version
692 &quot;cloudLoggingSeverity&quot;: &quot;A String&quot;, # Optional. Severity selected by the customer for the logs to be sent to Cloud Logging, for the integration version getting executed.
693 &quot;enableCloudLogging&quot;: True or False, # Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.
694 },
695 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Created time of the execution.
696 &quot;directSubExecutions&quot;: [ # Direct sub executions of the following Execution.
697 # Object with schema name: GoogleCloudIntegrationsV1alphaExecution
698 ],
699 &quot;eventExecutionDetails&quot;: { # Contains the details of the execution info of this event: this includes the tasks execution details plus the event execution statistics. Next available id: 11 # The execution info about this event.
700 &quot;eventAttemptStats&quot;: [
701 {
702 &quot;endTime&quot;: &quot;A String&quot;, # The end time of the event execution for current attempt.
703 &quot;startTime&quot;: &quot;A String&quot;, # The start time of the event execution for current attempt. This could be in the future if it&#x27;s been scheduled.
704 },
705 ],
706 &quot;eventExecutionSnapshot&quot;: [
707 { # Contains the snapshot of the event execution for a given checkpoint. Next available id: 13
708 &quot;checkpointTaskNumber&quot;: &quot;A String&quot;, # Indicates &quot;right after which checkpoint task&#x27;s execution&quot; this snapshot is taken.
709 &quot;conditionResults&quot;: [ # All of the computed conditions that been calculated.
710 { # Contains the combined condition calculation results.
711 &quot;currentTaskNumber&quot;: &quot;A String&quot;, # the current task number.
712 &quot;nextTaskNumber&quot;: &quot;A String&quot;, # the next task number.
713 &quot;result&quot;: True or False, # the result comes out after evaluate the combined condition. True if there&#x27;s no combined condition specified.
714 },
715 ],
716 &quot;diffParams&quot;: { # LINT.IfChange This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Please see # The parameters in Event object that differs from last snapshot.
717 &quot;parameters&quot;: [ # Parameters are a part of Event and can be used to communicate between different tasks that are part of the same integration execution.
718 { # Key-value pair of EventBus parameters.
719 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the integration definition.
720 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
721 &quot;value&quot;: { # LINT.IfChange To support various types of parameter values. Next available id: 14 # Values for the defined keys. Each value can either be string, int, double or any proto message.
722 &quot;booleanArray&quot;: {
723 &quot;booleanValues&quot;: [
724 True or False,
725 ],
726 },
727 &quot;booleanValue&quot;: True or False,
728 &quot;doubleArray&quot;: {
729 &quot;doubleValues&quot;: [
730 3.14,
731 ],
732 },
733 &quot;doubleValue&quot;: 3.14,
734 &quot;intArray&quot;: {
735 &quot;intValues&quot;: [
736 &quot;A String&quot;,
737 ],
738 },
739 &quot;intValue&quot;: &quot;A String&quot;,
740 &quot;protoArray&quot;: {
741 &quot;protoValues&quot;: [
742 {
743 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
744 },
745 ],
746 },
747 &quot;protoValue&quot;: {
748 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
749 },
750 &quot;serializedObjectValue&quot;: {
751 &quot;objectValue&quot;: &quot;A String&quot;,
752 },
753 &quot;stringArray&quot;: {
754 &quot;stringValues&quot;: [
755 &quot;A String&quot;,
756 ],
757 },
758 &quot;stringValue&quot;: &quot;A String&quot;,
759 },
760 },
761 ],
762 },
763 &quot;eventExecutionInfoId&quot;: &quot;A String&quot;, # Points to the event execution info this snapshot belongs to.
764 &quot;eventExecutionSnapshotId&quot;: &quot;A String&quot;, # Auto-generated. Used as primary key for EventExecutionSnapshots table.
765 &quot;eventExecutionSnapshotMetadata&quot;: {
766 &quot;ancestorIterationNumbers&quot;: [ # Ancestor iteration number for the task(it will only be non-empty if the task is under &#x27;private workflow&#x27;)
767 &quot;A String&quot;,
768 ],
769 &quot;ancestorTaskNumbers&quot;: [ # Ancestor task number for the task(it will only be non-empty if the task is under &#x27;private workflow&#x27;)
770 &quot;A String&quot;,
771 ],
772 &quot;eventAttemptNum&quot;: 42, # the event attempt number this snapshot belongs to.
773 &quot;taskAttemptNum&quot;: 42, # the task attempt number this snapshot belongs to. Could be empty.
774 &quot;taskLabel&quot;: &quot;A String&quot;, # the task label associated with this snapshot. Could be empty.
775 &quot;taskName&quot;: &quot;A String&quot;, # the task name associated with this snapshot. Could be empty.
776 &quot;taskNumber&quot;: &quot;A String&quot;, # The task number associated with this snapshot. Could be empty.
777 },
778 &quot;eventParams&quot;: { # LINT.IfChange This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Please see # The parameters in Event object.
779 &quot;parameters&quot;: [ # Parameters are a part of Event and can be used to communicate between different tasks that are part of the same integration execution.
780 { # Key-value pair of EventBus parameters.
781 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the integration definition.
782 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
783 &quot;value&quot;: { # LINT.IfChange To support various types of parameter values. Next available id: 14 # Values for the defined keys. Each value can either be string, int, double or any proto message.
784 &quot;booleanArray&quot;: {
785 &quot;booleanValues&quot;: [
786 True or False,
787 ],
788 },
789 &quot;booleanValue&quot;: True or False,
790 &quot;doubleArray&quot;: {
791 &quot;doubleValues&quot;: [
792 3.14,
793 ],
794 },
795 &quot;doubleValue&quot;: 3.14,
796 &quot;intArray&quot;: {
797 &quot;intValues&quot;: [
798 &quot;A String&quot;,
799 ],
800 },
801 &quot;intValue&quot;: &quot;A String&quot;,
802 &quot;protoArray&quot;: {
803 &quot;protoValues&quot;: [
804 {
805 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
806 },
807 ],
808 },
809 &quot;protoValue&quot;: {
810 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
811 },
812 &quot;serializedObjectValue&quot;: {
813 &quot;objectValue&quot;: &quot;A String&quot;,
814 },
815 &quot;stringArray&quot;: {
816 &quot;stringValues&quot;: [
817 &quot;A String&quot;,
818 ],
819 },
820 &quot;stringValue&quot;: &quot;A String&quot;,
821 },
822 },
823 ],
824 },
825 &quot;exceedMaxSize&quot;: True or False, # indicate whether snapshot exceeded maximum size before clean up
826 &quot;snapshotTime&quot;: &quot;A String&quot;, # Indicates when this snapshot is taken.
827 &quot;taskExecutionDetails&quot;: [ # All of the task execution details at the given point of time.
828 { # Contains the details of the execution of this task. Next available id: 11
829 &quot;taskAttemptStats&quot;: [
830 {
831 &quot;endTime&quot;: &quot;A String&quot;, # The end time of the task execution for current attempt.
832 &quot;startTime&quot;: &quot;A String&quot;, # The start time of the task execution for current attempt. This could be in the future if it&#x27;s been scheduled.
833 },
834 ],
835 &quot;taskExecutionState&quot;: &quot;A String&quot;,
836 &quot;taskNumber&quot;: &quot;A String&quot;, # Pointer to the task config it used for execution.
837 },
838 ],
839 &quot;taskName&quot;: &quot;A String&quot;, # The task name associated with this snapshot. Could be empty.
840 },
841 ],
842 &quot;eventExecutionSnapshotsSize&quot;: &quot;A String&quot;, # Total size of all event_execution_snapshots for an execution
843 &quot;eventExecutionState&quot;: &quot;A String&quot;,
844 &quot;eventRetriesFromBeginningCount&quot;: 42, # Indicates the number of times the execution has restarted from the beginning.
845 &quot;logFilePath&quot;: &quot;A String&quot;, # The log file path (aka. cns address) for this event.
846 &quot;networkAddress&quot;: &quot;A String&quot;, # The network address (aka. bns address) that indicates where the event executor is running.
847 &quot;nextExecutionTime&quot;: &quot;A String&quot;, # Next scheduled execution time in case the execution status was RETRY_ON_HOLD.
848 &quot;ryeLockUnheldCount&quot;: 42, # Used internally and shouldn&#x27;t be exposed to users. A counter for the cron job to record how many times this event is in in_process state but don&#x27;t have a lock consecutively/
849 },
850 &quot;executionDetails&quot;: { # Contains the details of the execution info: this includes the tasks execution details plus the event execution statistics. # Detailed info of this execution.
851 &quot;attemptStats&quot;: [ # List of Start and end time of the execution attempts.
852 { # Status for the execution attempt.
853 &quot;endTime&quot;: &quot;A String&quot;, # The end time of the integration execution for current attempt.
854 &quot;startTime&quot;: &quot;A String&quot;, # The start time of the integration execution for current attempt. This could be in the future if it&#x27;s been scheduled.
855 },
856 ],
857 &quot;eventExecutionSnapshotsSize&quot;: &quot;A String&quot;, # Total size of all event_execution_snapshots for an execution
858 &quot;executionSnapshots&quot;: [ # List of snapshots taken during the execution.
859 { # Contains the snapshot of the execution for a given checkpoint.
860 &quot;checkpointTaskNumber&quot;: &quot;A String&quot;, # Indicates &quot;after which checkpoint task&#x27;s execution&quot; this snapshot is taken.
861 &quot;executionSnapshotMetadata&quot;: { # Metadata of the execution snapshot. # Metadata of the execution snapshot.
862 &quot;ancestorIterationNumbers&quot;: [ # Ancestor iteration number for the task(it will only be non-empty if the task is under &#x27;private workflow&#x27;)
863 &quot;A String&quot;,
864 ],
865 &quot;ancestorTaskNumbers&quot;: [ # Ancestor task number for the task(it will only be non-empty if the task is under &#x27;private workflow&#x27;)
866 &quot;A String&quot;,
867 ],
868 &quot;executionAttempt&quot;: 42, # the execution attempt number this snapshot belongs to.
869 &quot;task&quot;: &quot;A String&quot;, # the task name associated with this snapshot.
870 &quot;taskAttempt&quot;: 42, # the task attempt number this snapshot belongs to.
871 &quot;taskLabel&quot;: &quot;A String&quot;, # the task label associated with this snapshot. Could be empty.
872 &quot;taskNumber&quot;: &quot;A String&quot;, # The task number associated with this snapshot.
873 },
874 &quot;params&quot;: { # Parameters used during the execution.
875 &quot;a_key&quot;: { # The type of the parameter.
876 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
877 &quot;booleanValues&quot;: [ # Boolean array.
878 True or False,
879 ],
880 },
881 &quot;booleanValue&quot;: True or False, # Boolean.
882 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
883 &quot;doubleValues&quot;: [ # Double number array.
884 3.14,
885 ],
886 },
887 &quot;doubleValue&quot;: 3.14, # Double Number.
888 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
889 &quot;intValues&quot;: [ # Integer array.
890 &quot;A String&quot;,
891 ],
892 },
893 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
894 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
895 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
896 &quot;stringValues&quot;: [ # String array.
897 &quot;A String&quot;,
898 ],
899 },
900 &quot;stringValue&quot;: &quot;A String&quot;, # String.
901 },
902 },
903 &quot;taskExecutionDetails&quot;: [ # All of the task execution details at the given point of time.
904 { # Contains the details of the execution of this task.
905 &quot;taskAttemptStats&quot;: [ # Status for the current task execution attempt.
906 { # Status for the execution attempt.
907 &quot;endTime&quot;: &quot;A String&quot;, # The end time of the integration execution for current attempt.
908 &quot;startTime&quot;: &quot;A String&quot;, # The start time of the integration execution for current attempt. This could be in the future if it&#x27;s been scheduled.
909 },
910 ],
911 &quot;taskExecutionState&quot;: &quot;A String&quot;, # The execution state of this task.
912 &quot;taskNumber&quot;: &quot;A String&quot;, # Pointer to the task config it used for execution.
913 },
914 ],
915 },
916 ],
917 &quot;state&quot;: &quot;A String&quot;, # Status of the execution.
918 },
919 &quot;executionMethod&quot;: &quot;A String&quot;, # The ways user posts this event.
920 &quot;integrationVersionState&quot;: &quot;A String&quot;, # Output only. State of the integration version
921 &quot;name&quot;: &quot;A String&quot;, # Auto-generated primary key.
922 &quot;requestParameters&quot;: { # Event parameters come in as part of the request.
923 &quot;a_key&quot;: { # The type of the parameter.
924 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
925 &quot;booleanValues&quot;: [ # Boolean array.
926 True or False,
927 ],
928 },
929 &quot;booleanValue&quot;: True or False, # Boolean.
930 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
931 &quot;doubleValues&quot;: [ # Double number array.
932 3.14,
933 ],
934 },
935 &quot;doubleValue&quot;: 3.14, # Double Number.
936 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
937 &quot;intValues&quot;: [ # Integer array.
938 &quot;A String&quot;,
939 ],
940 },
941 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
942 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
943 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
944 &quot;stringValues&quot;: [ # String array.
945 &quot;A String&quot;,
946 ],
947 },
948 &quot;stringValue&quot;: &quot;A String&quot;, # String.
949 },
950 },
951 &quot;requestParams&quot;: [ # Event parameters come in as part of the request.
952 { # Key-value pair of EventBus parameters.
953 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
954 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the workflow definition.
955 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
956 &quot;value&quot;: { # To support various types of parameter values. Next available id: 14 # Values for the defined keys. Each value can either be string, int, double or any proto message.
957 &quot;booleanArray&quot;: {
958 &quot;booleanValues&quot;: [
959 True or False,
960 ],
961 },
962 &quot;booleanValue&quot;: True or False,
963 &quot;doubleArray&quot;: {
964 &quot;doubleValues&quot;: [
965 3.14,
966 ],
967 },
968 &quot;doubleValue&quot;: 3.14,
969 &quot;intArray&quot;: {
970 &quot;intValues&quot;: [
971 &quot;A String&quot;,
972 ],
973 },
974 &quot;intValue&quot;: &quot;A String&quot;,
975 &quot;jsonValue&quot;: &quot;A String&quot;,
976 &quot;protoArray&quot;: {
977 &quot;protoValues&quot;: [
978 {
979 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
980 },
981 ],
982 },
983 &quot;protoValue&quot;: {
984 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
985 },
986 &quot;serializedObjectValue&quot;: {
987 &quot;objectValue&quot;: &quot;A String&quot;,
988 },
989 &quot;stringArray&quot;: {
990 &quot;stringValues&quot;: [
991 &quot;A String&quot;,
992 ],
993 },
994 &quot;stringValue&quot;: &quot;A String&quot;,
995 },
996 },
997 ],
998 &quot;responseParameters&quot;: { # Event parameters returned as part of the response.
999 &quot;a_key&quot;: { # The type of the parameter.
1000 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
1001 &quot;booleanValues&quot;: [ # Boolean array.
1002 True or False,
1003 ],
1004 },
1005 &quot;booleanValue&quot;: True or False, # Boolean.
1006 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
1007 &quot;doubleValues&quot;: [ # Double number array.
1008 3.14,
1009 ],
1010 },
1011 &quot;doubleValue&quot;: 3.14, # Double Number.
1012 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
1013 &quot;intValues&quot;: [ # Integer array.
1014 &quot;A String&quot;,
1015 ],
1016 },
1017 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
1018 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
1019 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
1020 &quot;stringValues&quot;: [ # String array.
1021 &quot;A String&quot;,
1022 ],
1023 },
1024 &quot;stringValue&quot;: &quot;A String&quot;, # String.
1025 },
1026 },
1027 &quot;responseParams&quot;: [ # Event parameters come out as part of the response.
1028 { # Key-value pair of EventBus parameters.
1029 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
1030 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the workflow definition.
1031 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
1032 &quot;value&quot;: { # To support various types of parameter values. Next available id: 14 # Values for the defined keys. Each value can either be string, int, double or any proto message.
1033 &quot;booleanArray&quot;: {
1034 &quot;booleanValues&quot;: [
1035 True or False,
1036 ],
1037 },
1038 &quot;booleanValue&quot;: True or False,
1039 &quot;doubleArray&quot;: {
1040 &quot;doubleValues&quot;: [
1041 3.14,
1042 ],
1043 },
1044 &quot;doubleValue&quot;: 3.14,
1045 &quot;intArray&quot;: {
1046 &quot;intValues&quot;: [
1047 &quot;A String&quot;,
1048 ],
1049 },
1050 &quot;intValue&quot;: &quot;A String&quot;,
1051 &quot;jsonValue&quot;: &quot;A String&quot;,
1052 &quot;protoArray&quot;: {
1053 &quot;protoValues&quot;: [
1054 {
1055 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1056 },
1057 ],
1058 },
1059 &quot;protoValue&quot;: {
1060 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1061 },
1062 &quot;serializedObjectValue&quot;: {
1063 &quot;objectValue&quot;: &quot;A String&quot;,
1064 },
1065 &quot;stringArray&quot;: {
1066 &quot;stringValues&quot;: [
1067 &quot;A String&quot;,
1068 ],
1069 },
1070 &quot;stringValue&quot;: &quot;A String&quot;,
1071 },
1072 },
1073 ],
1074 &quot;snapshotNumber&quot;: &quot;A String&quot;, # Output only. An increasing sequence that is set when a new snapshot is created
1075 &quot;triggerId&quot;: &quot;A String&quot;, # The trigger id of the integration trigger config. If both trigger_id and client_id is present, the integration is executed from the start tasks provided by the matching trigger config otherwise it is executed from the default start tasks.
1076 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last modified time of the execution.
1077 },
1078 ],
1079 &quot;nextPageToken&quot;: &quot;A String&quot;, # The token used to retrieve the next page results.
1080 }</pre>
1081 </div>
1082
1083 <div class="method">
1084 <code class="details" id="listExecutions_next">listExecutions_next()</code>
1085 <pre>Retrieves the next page of results.
1086
1087 Args:
1088 previous_request: The request for the previous page. (required)
1089 previous_response: The response from the request for the previous page. (required)
1090
1091 Returns:
1092 A request object that you can call &#x27;execute()&#x27; on to request the next
1093 page. Returns None if there are no more items in the collection.
1094 </pre>
1095 </div>
1096
1097 <div class="method">
1098 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
1099 <pre>Updates a test case
1100
1101 Args:
1102 name: string, Output only. Auto-generated primary key. (required)
1103 body: object, The request body.
1104 The object takes the form of:
1105
1106 { # Defines the functional test case for Application Integration. Next available id: 15
1107 &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
1108 &quot;creatorEmail&quot;: &quot;A String&quot;, # Optional. The creator&#x27;s email address. Generated based on the End User Credentials/LOAS role of the user making the call.
1109 &quot;databasePersistencePolicy&quot;: &quot;A String&quot;, # Optional. Various policies for how to persist the test execution info including execution info, execution export info, execution metadata index and execution param index..
1110 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the test case.
1111 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of test case.
1112 &quot;lastModifierEmail&quot;: &quot;A String&quot;, # The last modifer&#x27;s email address. Generated based on the End User Credentials/LOAS role of the user making the call.
1113 &quot;lockHolderEmail&quot;: &quot;A String&quot;, # Optional. The edit lock holder&#x27;s email address. Generated based on the End User Credentials/LOAS role of the user making the call.
1114 &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
1115 &quot;testInputParameters&quot;: [ # Optional. Parameters that are expected to be passed to the test case when the test case is triggered. This gives the user the ability to provide default values. This should include all the output variables of the trigger as input variables.
1116 { # Integration Parameter is defined in the integration config and are used to provide information about data types of the expected parameters and provide any default values if needed. They can also be used to add custom attributes. These are static in nature and should not be used for dynamic event definition.
1117 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
1118 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
1119 &quot;defaultValue&quot;: { # The type of the parameter. # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
1120 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
1121 &quot;booleanValues&quot;: [ # Boolean array.
1122 True or False,
1123 ],
1124 },
1125 &quot;booleanValue&quot;: True or False, # Boolean.
1126 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
1127 &quot;doubleValues&quot;: [ # Double number array.
1128 3.14,
1129 ],
1130 },
1131 &quot;doubleValue&quot;: 3.14, # Double Number.
1132 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
1133 &quot;intValues&quot;: [ # Integer array.
1134 &quot;A String&quot;,
1135 ],
1136 },
1137 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
1138 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
1139 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
1140 &quot;stringValues&quot;: [ # String array.
1141 &quot;A String&quot;,
1142 ],
1143 },
1144 &quot;stringValue&quot;: &quot;A String&quot;, # String.
1145 },
1146 &quot;displayName&quot;: &quot;A String&quot;, # The name (without prefix) to be displayed in the UI for this parameter. E.g. if the key is &quot;foo.bar.myName&quot;, then the name would be &quot;myName&quot;.
1147 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
1148 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
1149 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
1150 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the integration definition.
1151 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
1152 &quot;producer&quot;: &quot;A String&quot;, # The identifier of the node (TaskConfig/TriggerConfig) this parameter was produced by, if it is a transient param or a copy of an input param.
1153 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
1154 },
1155 ],
1156 &quot;testTaskConfigs&quot;: [ # Optional. However, the test case doesn&#x27;t mock or assert anything without test_task_configs.
1157 { # The task mock configuration details and assertions for functional tests. Next available id: 5
1158 &quot;assertions&quot;: [ # Optional. List of conditions or expressions which should be evaluated to true unless there is a bug/problem in the integration. These are evaluated one the task execution is completed as per the mock strategy in test case
1159 { # An assertion which will check for a condition over task execution status or an expression for task output variables Next available id: 5
1160 &quot;assertionStrategy&quot;: &quot;A String&quot;, # The type of assertion to perform.
1161 &quot;condition&quot;: &quot;A String&quot;, # Optional. Standard filter expression for ASSERT_CONDITION to succeed
1162 &quot;parameter&quot;: { # This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Next available id: 4 # Optional. Key-value pair for ASSERT_EQUALS, ASSERT_NOT_EQUALS, ASSERT_CONTAINS to succeed
1163 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the integration definition.
1164 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
1165 &quot;value&quot;: { # The type of the parameter. # Values for the defined keys. Each value can either be string, int, double or any proto message.
1166 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
1167 &quot;booleanValues&quot;: [ # Boolean array.
1168 True or False,
1169 ],
1170 },
1171 &quot;booleanValue&quot;: True or False, # Boolean.
1172 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
1173 &quot;doubleValues&quot;: [ # Double number array.
1174 3.14,
1175 ],
1176 },
1177 &quot;doubleValue&quot;: 3.14, # Double Number.
1178 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
1179 &quot;intValues&quot;: [ # Integer array.
1180 &quot;A String&quot;,
1181 ],
1182 },
1183 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
1184 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
1185 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
1186 &quot;stringValues&quot;: [ # String array.
1187 &quot;A String&quot;,
1188 ],
1189 },
1190 &quot;stringValue&quot;: &quot;A String&quot;, # String.
1191 },
1192 },
1193 &quot;retryCount&quot;: 42, # Number of times given task should be retried in case of ASSERT_FAILED_EXECUTION
1194 },
1195 ],
1196 &quot;mockConfig&quot;: { # The configuration for mocking of a task during test execution Next available id: 4 # Optional. Defines how to mock the given task during test execution
1197 &quot;failedExecutions&quot;: &quot;A String&quot;, # Optional. Number of times the given task should fail for failure mock strategy
1198 &quot;mockStrategy&quot;: &quot;A String&quot;, # Mockstrategy defines how the particular task should be mocked during test execution
1199 &quot;parameters&quot;: [ # Optional. List of key-value pairs for specific mock strategy
1200 { # This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Next available id: 4
1201 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the integration definition.
1202 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
1203 &quot;value&quot;: { # The type of the parameter. # Values for the defined keys. Each value can either be string, int, double or any proto message.
1204 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
1205 &quot;booleanValues&quot;: [ # Boolean array.
1206 True or False,
1207 ],
1208 },
1209 &quot;booleanValue&quot;: True or False, # Boolean.
1210 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
1211 &quot;doubleValues&quot;: [ # Double number array.
1212 3.14,
1213 ],
1214 },
1215 &quot;doubleValue&quot;: 3.14, # Double Number.
1216 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
1217 &quot;intValues&quot;: [ # Integer array.
1218 &quot;A String&quot;,
1219 ],
1220 },
1221 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
1222 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
1223 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
1224 &quot;stringValues&quot;: [ # String array.
1225 &quot;A String&quot;,
1226 ],
1227 },
1228 &quot;stringValue&quot;: &quot;A String&quot;, # String.
1229 },
1230 },
1231 ],
1232 },
1233 &quot;task&quot;: &quot;A String&quot;, # Required. This defines in the test case, the task name in integration which will be mocked by this test task config
1234 &quot;taskNumber&quot;: &quot;A String&quot;, # Required. This defines in the test case, the task in integration which will be mocked by this test task config
1235 },
1236 ],
1237 &quot;triggerId&quot;: &quot;A String&quot;, # Required. This defines the trigger ID in workflow which is considered to be executed as starting point of the test case
1238 &quot;updateTime&quot;: &quot;A String&quot;, # Auto-generated.
1239 &quot;workflowId&quot;: &quot;A String&quot;, # ID of the workflow with which this test case is associated Deprecated. Please read the workflow_id from name or parent.
1240 }
1241
1242 updateMask: string, Optional. Field mask specifying the fields in the above integration that have been modified and need to be updated.
1243 x__xgafv: string, V1 error format.
1244 Allowed values
1245 1 - v1 error format
1246 2 - v2 error format
1247
1248 Returns:
1249 An object of the form:
1250
1251 { # Defines the functional test case for Application Integration. Next available id: 15
1252 &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
1253 &quot;creatorEmail&quot;: &quot;A String&quot;, # Optional. The creator&#x27;s email address. Generated based on the End User Credentials/LOAS role of the user making the call.
1254 &quot;databasePersistencePolicy&quot;: &quot;A String&quot;, # Optional. Various policies for how to persist the test execution info including execution info, execution export info, execution metadata index and execution param index..
1255 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the test case.
1256 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of test case.
1257 &quot;lastModifierEmail&quot;: &quot;A String&quot;, # The last modifer&#x27;s email address. Generated based on the End User Credentials/LOAS role of the user making the call.
1258 &quot;lockHolderEmail&quot;: &quot;A String&quot;, # Optional. The edit lock holder&#x27;s email address. Generated based on the End User Credentials/LOAS role of the user making the call.
1259 &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
1260 &quot;testInputParameters&quot;: [ # Optional. Parameters that are expected to be passed to the test case when the test case is triggered. This gives the user the ability to provide default values. This should include all the output variables of the trigger as input variables.
1261 { # Integration Parameter is defined in the integration config and are used to provide information about data types of the expected parameters and provide any default values if needed. They can also be used to add custom attributes. These are static in nature and should not be used for dynamic event definition.
1262 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
1263 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
1264 &quot;defaultValue&quot;: { # The type of the parameter. # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
1265 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
1266 &quot;booleanValues&quot;: [ # Boolean array.
1267 True or False,
1268 ],
1269 },
1270 &quot;booleanValue&quot;: True or False, # Boolean.
1271 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
1272 &quot;doubleValues&quot;: [ # Double number array.
1273 3.14,
1274 ],
1275 },
1276 &quot;doubleValue&quot;: 3.14, # Double Number.
1277 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
1278 &quot;intValues&quot;: [ # Integer array.
1279 &quot;A String&quot;,
1280 ],
1281 },
1282 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
1283 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
1284 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
1285 &quot;stringValues&quot;: [ # String array.
1286 &quot;A String&quot;,
1287 ],
1288 },
1289 &quot;stringValue&quot;: &quot;A String&quot;, # String.
1290 },
1291 &quot;displayName&quot;: &quot;A String&quot;, # The name (without prefix) to be displayed in the UI for this parameter. E.g. if the key is &quot;foo.bar.myName&quot;, then the name would be &quot;myName&quot;.
1292 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
1293 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
1294 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
1295 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the integration definition.
1296 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
1297 &quot;producer&quot;: &quot;A String&quot;, # The identifier of the node (TaskConfig/TriggerConfig) this parameter was produced by, if it is a transient param or a copy of an input param.
1298 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
1299 },
1300 ],
1301 &quot;testTaskConfigs&quot;: [ # Optional. However, the test case doesn&#x27;t mock or assert anything without test_task_configs.
1302 { # The task mock configuration details and assertions for functional tests. Next available id: 5
1303 &quot;assertions&quot;: [ # Optional. List of conditions or expressions which should be evaluated to true unless there is a bug/problem in the integration. These are evaluated one the task execution is completed as per the mock strategy in test case
1304 { # An assertion which will check for a condition over task execution status or an expression for task output variables Next available id: 5
1305 &quot;assertionStrategy&quot;: &quot;A String&quot;, # The type of assertion to perform.
1306 &quot;condition&quot;: &quot;A String&quot;, # Optional. Standard filter expression for ASSERT_CONDITION to succeed
1307 &quot;parameter&quot;: { # This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Next available id: 4 # Optional. Key-value pair for ASSERT_EQUALS, ASSERT_NOT_EQUALS, ASSERT_CONTAINS to succeed
1308 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the integration definition.
1309 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
1310 &quot;value&quot;: { # The type of the parameter. # Values for the defined keys. Each value can either be string, int, double or any proto message.
1311 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
1312 &quot;booleanValues&quot;: [ # Boolean array.
1313 True or False,
1314 ],
1315 },
1316 &quot;booleanValue&quot;: True or False, # Boolean.
1317 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
1318 &quot;doubleValues&quot;: [ # Double number array.
1319 3.14,
1320 ],
1321 },
1322 &quot;doubleValue&quot;: 3.14, # Double Number.
1323 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
1324 &quot;intValues&quot;: [ # Integer array.
1325 &quot;A String&quot;,
1326 ],
1327 },
1328 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
1329 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
1330 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
1331 &quot;stringValues&quot;: [ # String array.
1332 &quot;A String&quot;,
1333 ],
1334 },
1335 &quot;stringValue&quot;: &quot;A String&quot;, # String.
1336 },
1337 },
1338 &quot;retryCount&quot;: 42, # Number of times given task should be retried in case of ASSERT_FAILED_EXECUTION
1339 },
1340 ],
1341 &quot;mockConfig&quot;: { # The configuration for mocking of a task during test execution Next available id: 4 # Optional. Defines how to mock the given task during test execution
1342 &quot;failedExecutions&quot;: &quot;A String&quot;, # Optional. Number of times the given task should fail for failure mock strategy
1343 &quot;mockStrategy&quot;: &quot;A String&quot;, # Mockstrategy defines how the particular task should be mocked during test execution
1344 &quot;parameters&quot;: [ # Optional. List of key-value pairs for specific mock strategy
1345 { # This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Next available id: 4
1346 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the integration definition.
1347 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
1348 &quot;value&quot;: { # The type of the parameter. # Values for the defined keys. Each value can either be string, int, double or any proto message.
1349 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
1350 &quot;booleanValues&quot;: [ # Boolean array.
1351 True or False,
1352 ],
1353 },
1354 &quot;booleanValue&quot;: True or False, # Boolean.
1355 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
1356 &quot;doubleValues&quot;: [ # Double number array.
1357 3.14,
1358 ],
1359 },
1360 &quot;doubleValue&quot;: 3.14, # Double Number.
1361 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
1362 &quot;intValues&quot;: [ # Integer array.
1363 &quot;A String&quot;,
1364 ],
1365 },
1366 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
1367 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
1368 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
1369 &quot;stringValues&quot;: [ # String array.
1370 &quot;A String&quot;,
1371 ],
1372 },
1373 &quot;stringValue&quot;: &quot;A String&quot;, # String.
1374 },
1375 },
1376 ],
1377 },
1378 &quot;task&quot;: &quot;A String&quot;, # Required. This defines in the test case, the task name in integration which will be mocked by this test task config
1379 &quot;taskNumber&quot;: &quot;A String&quot;, # Required. This defines in the test case, the task in integration which will be mocked by this test task config
1380 },
1381 ],
1382 &quot;triggerId&quot;: &quot;A String&quot;, # Required. This defines the trigger ID in workflow which is considered to be executed as starting point of the test case
1383 &quot;updateTime&quot;: &quot;A String&quot;, # Auto-generated.
1384 &quot;workflowId&quot;: &quot;A String&quot;, # ID of the workflow with which this test case is associated Deprecated. Please read the workflow_id from name or parent.
1385 }</pre>
1386 </div>
1387
1388 </body></html>