Debian Codegraph @

docs/dyn/integrations_v1.projects.locations.templates.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_v1.html">Application Integration API</a> . <a href="integrations_v1.projects.html">projects</a> . <a href="integrations_v1.projects.locations.html">locations</a> . <a href="integrations_v1.projects.locations.templates.html">templates</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, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a new template</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 template</p>
86 <p class="toc_element">
87 <code><a href="#download">download(name, fileFormat=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Downloads a template. Retrieves the `Template` and returns the response as a string.</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 template in the specified project.</p>
92 <p class="toc_element">
93 <code><a href="#import_">import_(name, body=None, x__xgafv=None)</a></code></p>
94 <p class="firstline">Import the template to an existing integration. This api would keep track of usage_count and last_used_time. PERMISSION_DENIED would be thrown if template is not accessible by client.</p>
95 <p class="toc_element">
96 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, readMask=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Lists all templates matching the filter.</p>
98 <p class="toc_element">
99 <code><a href="#list_next">list_next()</a></code></p>
100 <p class="firstline">Retrieves the next page of results.</p>
101 <p class="toc_element">
102 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
103 <p class="firstline">Updates the template by given id.</p>
104 <p class="toc_element">
105 <code><a href="#search">search(parent, enableNaturalLanguageQueryUnderstanding=None, filter=None, orderBy=None, pageSize=None, pageToken=None, query=None, readMask=None, x__xgafv=None)</a></code></p>
106 <p class="firstline">Search templates based on user query and filters. This api would query the templates and return a list of templates based on the user filter.</p>
107 <p class="toc_element">
108 <code><a href="#search_next">search_next()</a></code></p>
109 <p class="firstline">Retrieves the next page of results.</p>
110 <p class="toc_element">
111 <code><a href="#share">share(name, body=None, x__xgafv=None)</a></code></p>
112 <p class="firstline">Share a template with other clients. Only the template owner can share the templates with other projects. PERMISSION_DENIED would be thrown if the request is not from the owner.</p>
113 <p class="toc_element">
114 <code><a href="#unshare">unshare(name, body=None, x__xgafv=None)</a></code></p>
115 <p class="firstline">Unshare a template from given clients. Owner of the template can unshare template with clients. Shared client can only unshare the template from itself. PERMISSION_DENIED would be thrown if request is not from owner or for unsharing itself.</p>
116 <p class="toc_element">
117 <code><a href="#upload">upload(parent, body=None, x__xgafv=None)</a></code></p>
118 <p class="firstline">Uploads a template. The content can be a previously downloaded template. Performs the same function as CreateTemplate, but accepts input in a string format, which holds the complete representation of the Template content.</p>
119 <p class="toc_element">
120 <code><a href="#use">use(name, body=None, x__xgafv=None)</a></code></p>
121 <p class="firstline">Use the template to create integration. This api would keep track of usage_count and last_used_time. PERMISSION_DENIED would be thrown if template is not accessible by client.</p>
122 <h3>Method Details</h3>
123 <div class="method">
124 <code class="details" id="close">close()</code>
125 <pre>Close httplib2 connections.</pre>
126 </div>
127
128 <div class="method">
129 <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
130 <pre>Creates a new template
131
132 Args:
133 parent: string, Required. &quot;projects/{project}/locations/{location}&quot; format. (required)
134 body: object, The request body.
135 The object takes the form of:
136
137 { # Defines the template for Application Integration
138 &quot;author&quot;: &quot;A String&quot;, # Optional. Creator of the template.
139 &quot;categories&quot;: [ # Required. Categories associated with the Template. The categories listed below will be utilized for the Template listing.
140 &quot;A String&quot;,
141 ],
142 &quot;components&quot;: [ # Optional. Components being used in the template. This could be used to categorize and filter.
143 { # Define the components that are present in a template.
144 &quot;name&quot;: &quot;A String&quot;, # Optional. Name of the component.
145 &quot;type&quot;: &quot;A String&quot;, # Optional. Type of the component.
146 },
147 ],
148 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
149 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the template. The length should not be more than 255 characters
150 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of the template
151 &quot;docLink&quot;: &quot;A String&quot;, # Optional. Link to template documentation.
152 &quot;lastUsedTime&quot;: &quot;A String&quot;, # Optional. Time the template was last used.
153 &quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the template.
154 &quot;sharedWith&quot;: [ # Required. Resource names with which the template is shared for example ProjectNumber/Ord id
155 &quot;A String&quot;,
156 ],
157 &quot;tags&quot;: [ # Required. Tags which are used to identify templates. These tags could be for business use case, connectors etc.
158 &quot;A String&quot;,
159 ],
160 &quot;templateBundle&quot;: { # Define the bundle of the template. # Required. Bundle which is part of the templates. The template entities in the bundle would be converted to an actual entity.
161 &quot;integrationVersionTemplate&quot;: { # Define the template of IntegrationVersion. # Required. Main integration templates of the template bundle.
162 &quot;integrationVersion&quot;: { # The integration version definition. # Required. Templatized version of integration.
163 &quot;cloudKmsKey&quot;: &quot;A String&quot;, # Optional. Cloud KMS resource name for the CMEK encryption key.
164 &quot;cloudLoggingDetails&quot;: { # Cloud Logging details for execution info # Optional. Cloud Logging details for the integration version
165 &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.
166 &quot;enableCloudLogging&quot;: True or False, # Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.
167 },
168 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
169 &quot;createdFromTemplate&quot;: &quot;A String&quot;, # Optional. Optional. The resource name of the template from which the integration is created.
170 &quot;databasePersistencePolicy&quot;: &quot;A String&quot;, # Optional. Flag to disable database persistence for execution data, including event execution info, execution export info, execution metadata index and execution param index.
171 &quot;description&quot;: &quot;A String&quot;, # Optional. The integration description.
172 &quot;enableVariableMasking&quot;: True or False, # Optional. True if variable masking feature should be turned on for this version
173 &quot;errorCatcherConfigs&quot;: [ # Optional. Error Catch Task configuration for the integration. It&#x27;s optional.
174 { # Configuration detail of a error catch task
175 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give more business context about the error catcher config.
176 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Required. An error catcher id is string representation for the error catcher config. Within a workflow, error_catcher_id uniquely identifies an error catcher config among all error catcher configs for the workflow
177 &quot;errorCatcherNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each error catcher config within the workflow on UI.
178 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular error catcher. Optional.
179 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
180 &quot;x&quot;: 42, # Required. X axis of the coordinate
181 &quot;y&quot;: 42, # Required. Y axis of the coordinate
182 },
183 &quot;startErrorTasks&quot;: [ # Required. The set of start tasks that are to be executed for the error catch flow
184 { # The task that is next in line to be executed, if the condition specified evaluated to true.
185 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
186 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
187 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
188 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
189 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
190 },
191 ],
192 },
193 ],
194 &quot;integrationConfigParameters&quot;: [ # Optional. Config Parameters that are expected to be passed to the integration when an integration is published. This consists of all the parameters that are expected to provide configuration in the integration execution. This gives the user the ability to provide default values, value, add information like connection url, project based configuration value and also provide data types of each parameter.
195 { # Integration Config Parameter is defined in the integration config and are used to provide external configuration for integration. It provide information about data types of the expected parameters and provide any default values or value. They can also be used to add custom attributes.
196 &quot;parameter&quot;: { # 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. # Optional. Integration Parameter to provide the default value, data type and attributes required for the Integration config variables.
197 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
198 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
199 &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.
200 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
201 &quot;booleanValues&quot;: [ # Boolean array.
202 True or False,
203 ],
204 },
205 &quot;booleanValue&quot;: True or False, # Boolean.
206 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
207 &quot;doubleValues&quot;: [ # Double number array.
208 3.14,
209 ],
210 },
211 &quot;doubleValue&quot;: 3.14, # Double Number.
212 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
213 &quot;intValues&quot;: [ # Integer array.
214 &quot;A String&quot;,
215 ],
216 },
217 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
218 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
219 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
220 &quot;stringValues&quot;: [ # String array.
221 &quot;A String&quot;,
222 ],
223 },
224 &quot;stringValue&quot;: &quot;A String&quot;, # String.
225 },
226 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
227 &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;.
228 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
229 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
230 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
231 &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.
232 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
233 &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.
234 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
235 },
236 &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 or a serialized object.
237 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
238 &quot;booleanValues&quot;: [ # Boolean array.
239 True or False,
240 ],
241 },
242 &quot;booleanValue&quot;: True or False, # Boolean.
243 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
244 &quot;doubleValues&quot;: [ # Double number array.
245 3.14,
246 ],
247 },
248 &quot;doubleValue&quot;: 3.14, # Double Number.
249 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
250 &quot;intValues&quot;: [ # Integer array.
251 &quot;A String&quot;,
252 ],
253 },
254 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
255 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
256 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
257 &quot;stringValues&quot;: [ # String array.
258 &quot;A String&quot;,
259 ],
260 },
261 &quot;stringValue&quot;: &quot;A String&quot;, # String.
262 },
263 },
264 ],
265 &quot;integrationParameters&quot;: [ # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
266 { # 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.
267 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
268 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
269 &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.
270 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
271 &quot;booleanValues&quot;: [ # Boolean array.
272 True or False,
273 ],
274 },
275 &quot;booleanValue&quot;: True or False, # Boolean.
276 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
277 &quot;doubleValues&quot;: [ # Double number array.
278 3.14,
279 ],
280 },
281 &quot;doubleValue&quot;: 3.14, # Double Number.
282 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
283 &quot;intValues&quot;: [ # Integer array.
284 &quot;A String&quot;,
285 ],
286 },
287 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
288 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
289 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
290 &quot;stringValues&quot;: [ # String array.
291 &quot;A String&quot;,
292 ],
293 },
294 &quot;stringValue&quot;: &quot;A String&quot;, # String.
295 },
296 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
297 &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;.
298 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
299 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
300 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
301 &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.
302 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
303 &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.
304 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
305 },
306 ],
307 &quot;integrationParametersInternal&quot;: { # LINT.IfChange This is the frontend version of WorkflowParameters. It&#x27;s exactly like the backend version except that instead of flattening protobuf parameters and treating every field and subfield of a protobuf parameter as a separate parameter, the fields/subfields of a protobuf parameter will be nested as &quot;children&quot; (see &#x27;children&#x27; field below) parameters of the parent parameter. Please refer to enterprise/crm/eventbus/proto/workflow_parameters.proto for more information about WorkflowParameters. # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
308 &quot;parameters&quot;: [ # Parameters are a part of Event and can be used to communiticate between different tasks that are part of the same workflow execution.
309 {
310 &quot;attributes&quot;: { # Attributes are additional options that can be associated with each event property. For more information, see # Metadata information about the parameters.
311 &quot;dataType&quot;: &quot;A String&quot;, # Things like URL, Email, Currency, Timestamp (rather than string, int64...)
312 &quot;defaultValue&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Used to define defaults.
313 &quot;booleanValue&quot;: True or False,
314 &quot;doubleArray&quot;: {
315 &quot;values&quot;: [
316 3.14,
317 ],
318 },
319 &quot;doubleValue&quot;: 3.14,
320 &quot;intArray&quot;: {
321 &quot;values&quot;: [
322 &quot;A String&quot;,
323 ],
324 },
325 &quot;intValue&quot;: &quot;A String&quot;,
326 &quot;protoValue&quot;: {
327 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
328 },
329 &quot;stringArray&quot;: {
330 &quot;values&quot;: [
331 &quot;A String&quot;,
332 ],
333 },
334 &quot;stringValue&quot;: &quot;A String&quot;,
335 },
336 &quot;isRequired&quot;: True or False, # Required for event execution. The validation will be done by the event bus when the event is triggered.
337 &quot;isSearchable&quot;: True or False, # Used to indicate if a ParameterEntry should be converted to ParamIndexes for ST-Spanner full-text search. DEPRECATED: use searchable.
338 &quot;logSettings&quot;: { # The LogSettings define the logging attributes for an event property. These attributes are used to map the property to the parameter in the log proto. Also used to define scrubbing/truncation behavior and PII information. # See
339 &quot;logFieldName&quot;: &quot;A String&quot;, # The name of corresponding logging field of the event property. If omitted, assumes the same name as the event property key.
340 &quot;seedPeriod&quot;: &quot;A String&quot;,
341 &quot;seedScope&quot;: &quot;A String&quot;,
342 },
343 &quot;masked&quot;: True or False, # True if this workflow parameter should be masked in the logs
344 &quot;readOnly&quot;: True or False, # Used to indicate if the ParameterEntry is a read only field or not.
345 &quot;searchable&quot;: &quot;A String&quot;,
346 &quot;taskVisibility&quot;: [ # List of tasks that can view this property, if empty then all.
347 &quot;A String&quot;,
348 ],
349 },
350 &quot;children&quot;: [ # Child parameters nested within this parameter. This field only applies to protobuf parameters
351 # Object with schema name: EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
352 ],
353 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
354 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
355 &quot;defaultValue&quot;: { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
356 &quot;booleanArray&quot;: {
357 &quot;booleanValues&quot;: [
358 True or False,
359 ],
360 },
361 &quot;booleanValue&quot;: True or False,
362 &quot;doubleArray&quot;: {
363 &quot;doubleValues&quot;: [
364 3.14,
365 ],
366 },
367 &quot;doubleValue&quot;: 3.14,
368 &quot;intArray&quot;: {
369 &quot;intValues&quot;: [
370 &quot;A String&quot;,
371 ],
372 },
373 &quot;intValue&quot;: &quot;A String&quot;,
374 &quot;jsonValue&quot;: &quot;A String&quot;,
375 &quot;protoArray&quot;: {
376 &quot;protoValues&quot;: [
377 {
378 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
379 },
380 ],
381 },
382 &quot;protoValue&quot;: {
383 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
384 },
385 &quot;serializedObjectValue&quot;: {
386 &quot;objectValue&quot;: &quot;A String&quot;,
387 },
388 &quot;stringArray&quot;: {
389 &quot;stringValues&quot;: [
390 &quot;A String&quot;,
391 ],
392 },
393 &quot;stringValue&quot;: &quot;A String&quot;,
394 },
395 &quot;description&quot;: &quot;A String&quot;, # Optional. The description about the parameter
396 &quot;inOutType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
397 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
398 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
399 &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.
400 &quot;name&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;.
401 &quot;producedBy&quot;: { # Represents a node identifier (type + id). Next highest id: 3 # 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.
402 &quot;elementIdentifier&quot;: &quot;A String&quot;, # Configuration of the edge.
403 &quot;elementType&quot;: &quot;A String&quot;, # Destination node where the edge ends. It can only be a task config.
404 },
405 &quot;producer&quot;: &quot;A String&quot;,
406 &quot;protoDefName&quot;: &quot;A String&quot;, # The name of the protobuf type if the parameter has a protobuf data type.
407 &quot;protoDefPath&quot;: &quot;A String&quot;, # If the data type is of type proto or proto array, this field needs to be populated with the fully qualified proto name. This message, for example, would be &quot;enterprise.crm.frontends.eventbus.proto.WorkflowParameterEntry&quot;.
408 &quot;required&quot;: True or False,
409 },
410 ],
411 },
412 &quot;lastModifierEmail&quot;: &quot;A String&quot;, # Optional. The last modifier&#x27;s email address. Generated based on the End User Credentials/LOAS role of the user making the call.
413 &quot;lockHolder&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.
414 &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
415 &quot;origin&quot;: &quot;A String&quot;, # Optional. The origin that indicates where this integration is coming from.
416 &quot;parentTemplateId&quot;: &quot;A String&quot;, # Optional. The id of the template which was used to create this integration_version.
417 &quot;runAsServiceAccount&quot;: &quot;A String&quot;, # Optional. The run-as service account email, if set and auth config is not configured, that will be used to generate auth token to be used in Connector task, Rest caller task and Cloud function task.
418 &quot;snapshotNumber&quot;: &quot;A String&quot;, # Output only. An increasing sequence that is set when a new snapshot is created. The last created snapshot can be identified by [workflow_name, org_id latest(snapshot_number)]. However, last created snapshot need not be same as the HEAD. So users should always use &quot;HEAD&quot; tag to identify the head.
419 &quot;state&quot;: &quot;A String&quot;, # Output only. User should not set it as an input.
420 &quot;status&quot;: &quot;A String&quot;, # Output only. Generated by eventbus. User should not set it as an input.
421 &quot;taskConfigs&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
422 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
423 &quot;conditionalFailurePolicies&quot;: { # Conditional task failur retry strategies # Optional. The list of conditional failure policies that will be applied to the task in order.
424 &quot;defaultFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # The default failure policy to be applied if no conditional failure policy matches.
425 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
426 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
427 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
428 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
429 },
430 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
431 { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
432 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
433 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
434 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
435 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
436 },
437 ],
438 },
439 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
440 &quot;displayName&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to this TaskConfig in the UI.
441 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
442 &quot;externalTaskType&quot;: &quot;A String&quot;, # Optional. External task type of the task
443 &quot;failurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
444 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
445 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
446 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
447 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
448 },
449 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # Optional. If set, overrides the option configured in the Task implementation class.
450 &quot;nextTasks&quot;: [ # Optional. The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
451 { # The task that is next in line to be executed, if the condition specified evaluated to true.
452 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
453 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
454 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
455 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
456 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
457 },
458 ],
459 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution of the next set of tasks for the current task.
460 &quot;parameters&quot;: { # Optional. The customized parameters the user can pass to this task.
461 &quot;a_key&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
462 &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.
463 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
464 &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.
465 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
466 &quot;booleanValues&quot;: [ # Boolean array.
467 True or False,
468 ],
469 },
470 &quot;booleanValue&quot;: True or False, # Boolean.
471 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
472 &quot;doubleValues&quot;: [ # Double number array.
473 3.14,
474 ],
475 },
476 &quot;doubleValue&quot;: 3.14, # Double Number.
477 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
478 &quot;intValues&quot;: [ # Integer array.
479 &quot;A String&quot;,
480 ],
481 },
482 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
483 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
484 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
485 &quot;stringValues&quot;: [ # String array.
486 &quot;A String&quot;,
487 ],
488 },
489 &quot;stringValue&quot;: &quot;A String&quot;, # String.
490 },
491 },
492 },
493 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
494 &quot;x&quot;: 42, # Required. X axis of the coordinate
495 &quot;y&quot;: 42, # Required. Y axis of the coordinate
496 },
497 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Optional. Determines what action to take upon successful task completion.
498 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
499 },
500 &quot;synchronousCallFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
501 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
502 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
503 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
504 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
505 },
506 &quot;task&quot;: &quot;A String&quot;, # Optional. The name for the task.
507 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution strategy of this task.
508 &quot;taskId&quot;: &quot;A String&quot;, # Required. The identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_id`).
509 &quot;taskTemplate&quot;: &quot;A String&quot;, # Optional. Used to define task-template name if task is of type task-template
510 },
511 ],
512 &quot;taskConfigsInternal&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
513 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
514 &quot;alertConfigs&quot;: [ # Alert configurations on error rate, warning rate, number of runs, durations, etc.
515 { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event.
516 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week).
517 &quot;alertDisabled&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.
518 &quot;alertName&quot;: &quot;A String&quot;, # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique in within the scope of the containing workflow.
519 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration. Must be a client enabled in one of the containing workflow&#x27;s triggers.
520 &quot;durationThresholdMs&quot;: &quot;A String&quot;, # Should be specified only for TASK_AVERAGE_DURATION and TASK_PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
521 &quot;errorEnumList&quot;: { # List of error enums for alerts.
522 &quot;enumStrings&quot;: [
523 &quot;A String&quot;,
524 ],
525 &quot;filterType&quot;: &quot;A String&quot;,
526 },
527 &quot;metricType&quot;: &quot;A String&quot;,
528 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
529 &quot;onlyFinalAttempt&quot;: True or False, # Only count final task attempts, not retries.
530 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
531 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
532 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
533 &quot;absolute&quot;: &quot;A String&quot;,
534 &quot;percentage&quot;: 42,
535 },
536 &quot;warningEnumList&quot;: { # List of error enums for alerts.
537 &quot;enumStrings&quot;: [
538 &quot;A String&quot;,
539 ],
540 &quot;filterType&quot;: &quot;A String&quot;,
541 },
542 },
543 ],
544 &quot;conditionalFailurePolicies&quot;: { # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
545 &quot;defaultFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # The default failure policy to be applied if no conditional failure policy matches
546 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
547 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
548 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
549 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
550 },
551 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
552 { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
553 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
554 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
555 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
556 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
557 },
558 ],
559 },
560 &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
561 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address. Auto-generated from the user&#x27;s email.
562 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
563 &quot;disableStrictTypeValidation&quot;: True or False, # If this config contains a TypedTask, allow validation to succeed if an input is read from the output of another TypedTask whose output type is declared as a superclass of the requested input type. For instance, if the previous task declares an output of type Message, any task with this flag enabled will pass validation when attempting to read any proto Message type from the resultant Event parameter.
564 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
565 &quot;externalTaskType&quot;: &quot;A String&quot;,
566 &quot;failurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
567 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
568 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
569 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
570 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
571 },
572 &quot;incomingEdgeCount&quot;: 42, # The number of edges leading into this TaskConfig.
573 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # If set, overrides the option configured in the Task implementation class.
574 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this TaskConfig in the UI.
575 &quot;lastModifiedTime&quot;: &quot;A String&quot;, # Auto-generated.
576 &quot;nextTasks&quot;: [ # The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
577 { # The task that is next in line to be executed, if the condition specified evaluated to true.
578 &quot;combinedConditions&quot;: [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
579 { # This message recursively combines constituent conditions using logical AND.
580 &quot;conditions&quot;: [ # A set of individual constituent conditions.
581 { # Condition that uses `operator` to evaluate the key against the value.
582 &quot;eventPropertyKey&quot;: &quot;A String&quot;, # Key that&#x27;s evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.
583 &quot;operator&quot;: &quot;A String&quot;, # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
584 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that&#x27;s checked for the key.
585 &quot;booleanValue&quot;: True or False,
586 &quot;doubleArray&quot;: {
587 &quot;values&quot;: [
588 3.14,
589 ],
590 },
591 &quot;doubleValue&quot;: 3.14,
592 &quot;intArray&quot;: {
593 &quot;values&quot;: [
594 &quot;A String&quot;,
595 ],
596 },
597 &quot;intValue&quot;: &quot;A String&quot;,
598 &quot;protoValue&quot;: {
599 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
600 },
601 &quot;stringArray&quot;: {
602 &quot;values&quot;: [
603 &quot;A String&quot;,
604 ],
605 },
606 &quot;stringValue&quot;: &quot;A String&quot;,
607 },
608 },
609 ],
610 },
611 ],
612 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
613 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
614 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
615 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
616 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
617 },
618 ],
619 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # The policy dictating the execution of the next set of tasks for the current task.
620 &quot;parameters&quot;: { # The customized parameters the user can pass to this task.
621 &quot;a_key&quot;: { # Key-value pair of EventBus parameters.
622 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
623 &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.
624 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
625 &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.
626 &quot;booleanArray&quot;: {
627 &quot;booleanValues&quot;: [
628 True or False,
629 ],
630 },
631 &quot;booleanValue&quot;: True or False,
632 &quot;doubleArray&quot;: {
633 &quot;doubleValues&quot;: [
634 3.14,
635 ],
636 },
637 &quot;doubleValue&quot;: 3.14,
638 &quot;intArray&quot;: {
639 &quot;intValues&quot;: [
640 &quot;A String&quot;,
641 ],
642 },
643 &quot;intValue&quot;: &quot;A String&quot;,
644 &quot;jsonValue&quot;: &quot;A String&quot;,
645 &quot;protoArray&quot;: {
646 &quot;protoValues&quot;: [
647 {
648 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
649 },
650 ],
651 },
652 &quot;protoValue&quot;: {
653 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
654 },
655 &quot;serializedObjectValue&quot;: {
656 &quot;objectValue&quot;: &quot;A String&quot;,
657 },
658 &quot;stringArray&quot;: {
659 &quot;stringValues&quot;: [
660 &quot;A String&quot;,
661 ],
662 },
663 &quot;stringValue&quot;: &quot;A String&quot;,
664 },
665 },
666 },
667 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this task config on the UI.
668 &quot;x&quot;: 42,
669 &quot;y&quot;: 42,
670 },
671 &quot;precondition&quot;: &quot;A String&quot;, # Optional. Standard filter expression evaluated before execution. Independent of other conditions and tasks. Can be used to enable rollout. e.g. &quot;rollout(5)&quot; will only allow 5% of incoming traffic to task.
672 &quot;preconditionLabel&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to precondition in the UI.
673 &quot;rollbackStrategy&quot;: { # Next available id: 4 # Optional. Contains information about what needs to be done upon failure (either a permanent error or after it has been retried too many times).
674 &quot;parameters&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 # Optional. The customized parameters the user can pass to this task.
675 &quot;parameters&quot;: [ # Parameters are a part of Event and can be used to communicate between different tasks that are part of the same workflow execution.
676 { # Key-value pair of EventBus parameters.
677 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
678 &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.
679 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
680 &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.
681 &quot;booleanArray&quot;: {
682 &quot;booleanValues&quot;: [
683 True or False,
684 ],
685 },
686 &quot;booleanValue&quot;: True or False,
687 &quot;doubleArray&quot;: {
688 &quot;doubleValues&quot;: [
689 3.14,
690 ],
691 },
692 &quot;doubleValue&quot;: 3.14,
693 &quot;intArray&quot;: {
694 &quot;intValues&quot;: [
695 &quot;A String&quot;,
696 ],
697 },
698 &quot;intValue&quot;: &quot;A String&quot;,
699 &quot;jsonValue&quot;: &quot;A String&quot;,
700 &quot;protoArray&quot;: {
701 &quot;protoValues&quot;: [
702 {
703 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
704 },
705 ],
706 },
707 &quot;protoValue&quot;: {
708 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
709 },
710 &quot;serializedObjectValue&quot;: {
711 &quot;objectValue&quot;: &quot;A String&quot;,
712 },
713 &quot;stringArray&quot;: {
714 &quot;stringValues&quot;: [
715 &quot;A String&quot;,
716 ],
717 },
718 &quot;stringValue&quot;: &quot;A String&quot;,
719 },
720 },
721 ],
722 },
723 &quot;rollbackTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. This is the name of the task that needs to be executed upon rollback of this task.
724 &quot;taskNumbersToRollback&quot;: [ # Required. These are the tasks numbers of the tasks whose `rollback_strategy.rollback_task_implementation_class_name` needs to be executed upon failure of this task.
725 &quot;A String&quot;,
726 ],
727 },
728 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Determines what action to take upon successful task completion.
729 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
730 },
731 &quot;synchronousCallFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
732 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
733 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
734 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
735 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
736 },
737 &quot;taskEntity&quot;: { # Contains a task&#x27;s metadata and associated information. Next available id: 7 # Copy of the task entity that this task config is an instance of.
738 &quot;disabledForVpcSc&quot;: True or False, # True if the task has conflict with vpcsc
739 &quot;metadata&quot;: { # TaskMetadata are attributes that are associated to every common Task we have. # Metadata inclueds the task name, author and so on.
740 &quot;activeTaskName&quot;: &quot;A String&quot;, # The new task name to replace the current task if it is deprecated. Otherwise, it is the same as the current task name.
741 &quot;admins&quot;: [
742 { # Admins are owners of a Task, and have all permissions on a particular task identified by the task name. By default, Eventbus periodically scans all task metadata and syncs (adds) any new admins defined here to Zanzibar.
743 &quot;googleGroupEmail&quot;: &quot;A String&quot;,
744 &quot;userEmail&quot;: &quot;A String&quot;,
745 },
746 ],
747 &quot;category&quot;: &quot;A String&quot;,
748 &quot;codeSearchLink&quot;: &quot;A String&quot;, # The Code Search link to the Task Java file.
749 &quot;defaultJsonValidationOption&quot;: &quot;A String&quot;, # Controls whether JSON workflow parameters are validated against provided schemas before and/or after this task&#x27;s execution.
750 &quot;defaultSpec&quot;: &quot;A String&quot;, # Contains the initial configuration of the task with default values set. For now, The string should be compatible to an ASCII-proto format.
751 &quot;description&quot;: &quot;A String&quot;, # In a few sentences, describe the purpose and usage of the task.
752 &quot;descriptiveName&quot;: &quot;A String&quot;, # The string name to show on the task list on the Workflow editor screen. This should be a very short, one to two words name for the task. (e.g. &quot;Send Mail&quot;)
753 &quot;docMarkdown&quot;: &quot;A String&quot;, # Snippet of markdown documentation to embed in the RHP for this task.
754 &quot;externalCategory&quot;: &quot;A String&quot;,
755 &quot;externalCategorySequence&quot;: 42, # Sequence with which the task in specific category to be displayed in task discovery panel for external users.
756 &quot;externalDocHtml&quot;: &quot;A String&quot;, # External-facing documention embedded in the RHP for this task.
757 &quot;externalDocLink&quot;: &quot;A String&quot;, # Doc link for external-facing documentation (separate from g3doc).
758 &quot;externalDocMarkdown&quot;: &quot;A String&quot;, # DEPRECATED: Use external_doc_html.
759 &quot;g3DocLink&quot;: &quot;A String&quot;, # URL to the associated G3 Doc for the task if available
760 &quot;iconLink&quot;: &quot;A String&quot;, # URL to gstatic image icon for this task. This icon shows up on the task list panel along with the task name in the Workflow Editor screen. Use the 24p, 2x, gray color icon image format.
761 &quot;isDeprecated&quot;: True or False, # The deprecation status of the current task. Default value is false;
762 &quot;name&quot;: &quot;A String&quot;, # The actual class name or the annotated name of the task. Task Author should initialize this field with value from the getName() method of the Task class.
763 &quot;standaloneExternalDocHtml&quot;: &quot;A String&quot;, # External-facing documention for standalone IP in pantheon embedded in the RHP for this task. Non null only if different from external_doc_html
764 &quot;status&quot;: &quot;A String&quot;, # Allows author to indicate if the task is ready to use or not. If not set, then it will default to INACTIVE.
765 &quot;system&quot;: &quot;A String&quot;,
766 &quot;tags&quot;: [ # A set of tags that pertain to a particular task. This can be used to improve the searchability of tasks with several names (&quot;REST Caller&quot; vs. &quot;Call REST Endpoint&quot;) or to help users find tasks based on related words.
767 &quot;A String&quot;,
768 ],
769 },
770 &quot;paramSpecs&quot;: { # Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask.
771 &quot;parameters&quot;: [
772 { # Key-value pair of EventBus task parameters. Next id: 13
773 &quot;className&quot;: &quot;A String&quot;, # The FQCN of the Java object this represents. A string, for example, would be &quot;java.lang.String&quot;. If this is &quot;java.lang.Object&quot;, the parameter can be of any type.
774 &quot;collectionElementClassName&quot;: &quot;A String&quot;, # If it is a collection of objects, this would be the FCQN of every individual element in the collection. If this is &quot;java.lang.Object&quot;, the parameter is a collection of any type.
775 &quot;config&quot;: { # Optional fields, such as help text and other useful info.
776 &quot;descriptivePhrase&quot;: &quot;A String&quot;, # A short phrase to describe what this parameter contains.
777 &quot;helpText&quot;: &quot;A String&quot;, # Detailed help text for this parameter containing information not provided elsewhere. For example, instructions on how to migrate from a deprecated parameter.
778 &quot;hideDefaultValue&quot;: True or False, # Whether the default value is hidden in the UI.
779 &quot;inputDisplayOption&quot;: &quot;A String&quot;,
780 &quot;isHidden&quot;: True or False, # Whether this field is hidden in the UI.
781 &quot;label&quot;: &quot;A String&quot;, # A user-friendly label for the parameter.
782 &quot;parameterNameOption&quot;: &quot;A String&quot;,
783 &quot;subSectionLabel&quot;: &quot;A String&quot;, # A user-friendly label for subSection under which the parameter will be displayed.
784 &quot;uiPlaceholderText&quot;: &quot;A String&quot;, # Placeholder text which will appear in the UI input form for this parameter.
785 },
786 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
787 &quot;defaultValue&quot;: { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
788 &quot;booleanArray&quot;: {
789 &quot;booleanValues&quot;: [
790 True or False,
791 ],
792 },
793 &quot;booleanValue&quot;: True or False,
794 &quot;doubleArray&quot;: {
795 &quot;doubleValues&quot;: [
796 3.14,
797 ],
798 },
799 &quot;doubleValue&quot;: 3.14,
800 &quot;intArray&quot;: {
801 &quot;intValues&quot;: [
802 &quot;A String&quot;,
803 ],
804 },
805 &quot;intValue&quot;: &quot;A String&quot;,
806 &quot;jsonValue&quot;: &quot;A String&quot;,
807 &quot;protoArray&quot;: {
808 &quot;protoValues&quot;: [
809 {
810 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
811 },
812 ],
813 },
814 &quot;protoValue&quot;: {
815 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
816 },
817 &quot;serializedObjectValue&quot;: {
818 &quot;objectValue&quot;: &quot;A String&quot;,
819 },
820 &quot;stringArray&quot;: {
821 &quot;stringValues&quot;: [
822 &quot;A String&quot;,
823 ],
824 },
825 &quot;stringValue&quot;: &quot;A String&quot;,
826 },
827 &quot;isDeprecated&quot;: True or False, # If set, this entry is deprecated, so further use of this parameter should be prohibited.
828 &quot;isOutput&quot;: True or False,
829 &quot;jsonSchema&quot;: &quot;A String&quot;, # If the data_type is JSON_VALUE, then this will define its schema.
830 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given task. These parameters must be predefined in the workflow definition.
831 &quot;protoDef&quot;: { # Populated if this represents a proto or proto array.
832 &quot;fullName&quot;: &quot;A String&quot;, # The fully-qualified proto name. This message, for example, would be &quot;enterprise.crm.eventbus.proto.ParamSpecEntry.ProtoDefinition&quot;.
833 &quot;path&quot;: &quot;A String&quot;, # Path to the proto file that contains the message type&#x27;s definition.
834 },
835 &quot;required&quot;: True or False, # If set, the user must provide an input value for this parameter.
836 &quot;validationRule&quot;: { # Rule used to validate inputs (individual values and collection elements) for this parameter.
837 &quot;doubleRange&quot;: { # Range used to validate doubles and floats.
838 &quot;max&quot;: 3.14, # The inclusive maximum of the acceptable range.
839 &quot;min&quot;: 3.14, # The inclusive minimum of the acceptable range.
840 },
841 &quot;intRange&quot;: { # Range used to validate longs and ints.
842 &quot;max&quot;: &quot;A String&quot;, # The inclusive maximum of the acceptable range.
843 &quot;min&quot;: &quot;A String&quot;, # The inclusive minimum of the acceptable range.
844 },
845 &quot;stringRegex&quot;: { # Rule used to validate strings.
846 &quot;exclusive&quot;: True or False, # Whether the regex matcher is applied exclusively (if true, matching values will be rejected).
847 &quot;regex&quot;: &quot;A String&quot;, # The regex applied to the input value(s).
848 },
849 },
850 },
851 ],
852 },
853 &quot;stats&quot;: { # Stats for the requested dimensions: QPS, duration, and error/warning rate # Deprecated - statistics from the Monarch query.
854 &quot;dimensions&quot;: { # Dimensions that these stats have been aggregated on.
855 &quot;clientId&quot;: &quot;A String&quot;,
856 &quot;enumFilterType&quot;: &quot;A String&quot;, # Whether to include or exclude the enums matching the regex.
857 &quot;errorEnumString&quot;: &quot;A String&quot;,
858 &quot;retryAttempt&quot;: &quot;A String&quot;,
859 &quot;taskName&quot;: &quot;A String&quot;,
860 &quot;taskNumber&quot;: &quot;A String&quot;,
861 &quot;triggerId&quot;: &quot;A String&quot;, # Stats have been or will be aggregated on set fields for any semantically-meaningful combination.
862 &quot;warningEnumString&quot;: &quot;A String&quot;,
863 &quot;workflowId&quot;: &quot;A String&quot;,
864 &quot;workflowName&quot;: &quot;A String&quot;,
865 },
866 &quot;durationInSeconds&quot;: 3.14, # Average duration in seconds.
867 &quot;errorRate&quot;: 3.14, # Average error rate.
868 &quot;qps&quot;: 3.14, # Queries per second.
869 &quot;warningRate&quot;: 3.14, # Average warning rate.
870 },
871 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
872 &quot;uiConfig&quot;: { # Task authors would use this type to configure the UI for a particular task by specifying what UI config modules should be included to compose the UI. Learn more about config module framework: # UI configuration for this task Also associated with the METADATA mask.
873 &quot;taskUiModuleConfigs&quot;: [ # Configurations of included config modules.
874 { # Task author would use this type to configure a config module.
875 &quot;moduleId&quot;: &quot;A String&quot;, # ID of the config module.
876 },
877 ],
878 },
879 },
880 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # The policy dictating the execution strategy of this task.
881 &quot;taskName&quot;: &quot;A String&quot;, # The name for the task.
882 &quot;taskNumber&quot;: &quot;A String&quot;, # REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`).
883 &quot;taskSpec&quot;: &quot;A String&quot;, # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old &quot;parameters&quot; field.
884 &quot;taskTemplateName&quot;: &quot;A String&quot;, # Used to define task-template name if task is of type task-template
885 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
886 },
887 ],
888 &quot;teardown&quot;: { # Optional. Contains a graph of tasks that will be executed before putting the event in a terminal state (SUCCEEDED/FAILED/FATAL), regardless of success or failure, similar to &quot;finally&quot; in code.
889 &quot;teardownTaskConfigs&quot;: [ # Required.
890 {
891 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address.
892 &quot;name&quot;: &quot;A String&quot;, # Required. Unique identifier of the teardown task within this Config. We use this field as the identifier to find next teardown tasks.
893 &quot;nextTeardownTask&quot;: { # The teardown task that is next in line to be executed. We support only sequential execution of teardown tasks (i.e. no branching).
894 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the next teardown task.
895 },
896 &quot;parameters&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 the user can pass to this task.
897 &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.
898 { # Key-value pair of EventBus parameters.
899 &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.
900 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
901 &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.
902 &quot;booleanArray&quot;: {
903 &quot;booleanValues&quot;: [
904 True or False,
905 ],
906 },
907 &quot;booleanValue&quot;: True or False,
908 &quot;doubleArray&quot;: {
909 &quot;doubleValues&quot;: [
910 3.14,
911 ],
912 },
913 &quot;doubleValue&quot;: 3.14,
914 &quot;intArray&quot;: {
915 &quot;intValues&quot;: [
916 &quot;A String&quot;,
917 ],
918 },
919 &quot;intValue&quot;: &quot;A String&quot;,
920 &quot;protoArray&quot;: {
921 &quot;protoValues&quot;: [
922 {
923 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
924 },
925 ],
926 },
927 &quot;protoValue&quot;: {
928 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
929 },
930 &quot;serializedObjectValue&quot;: {
931 &quot;objectValue&quot;: &quot;A String&quot;,
932 },
933 &quot;stringArray&quot;: {
934 &quot;stringValues&quot;: [
935 &quot;A String&quot;,
936 ],
937 },
938 &quot;stringValue&quot;: &quot;A String&quot;,
939 },
940 },
941 ],
942 },
943 &quot;properties&quot;: { # LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus.
944 &quot;properties&quot;: [ # An unordered list of property entries.
945 { # Key-value pair of EventBus property.
946 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding property value. This should be unique for a given fired event. The Tasks should be aware of the keys used while firing the events for them to be able to retrieve the values.
947 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Values for the defined keys. Each value can either be string, int, double or any proto message.
948 &quot;booleanValue&quot;: True or False,
949 &quot;doubleArray&quot;: {
950 &quot;values&quot;: [
951 3.14,
952 ],
953 },
954 &quot;doubleValue&quot;: 3.14,
955 &quot;intArray&quot;: {
956 &quot;values&quot;: [
957 &quot;A String&quot;,
958 ],
959 },
960 &quot;intValue&quot;: &quot;A String&quot;,
961 &quot;protoValue&quot;: {
962 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
963 },
964 &quot;stringArray&quot;: {
965 &quot;values&quot;: [
966 &quot;A String&quot;,
967 ],
968 },
969 &quot;stringValue&quot;: &quot;A String&quot;,
970 },
971 },
972 ],
973 },
974 &quot;teardownTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. Implementation class name.
975 },
976 ],
977 },
978 &quot;triggerConfigs&quot;: [ # Optional. Trigger configurations.
979 { # Configuration detail of a trigger.
980 &quot;alertConfig&quot;: [ # Optional. An alert threshold configuration for the [trigger + client + integration] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + integration] when published.
981 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
982 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
983 &quot;alertThreshold&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
984 &quot;disableAlert&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this integration alert.
985 &quot;displayName&quot;: &quot;A String&quot;, # Name of the alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the integration.
986 &quot;durationThreshold&quot;: &quot;A String&quot;, # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
987 &quot;metricType&quot;: &quot;A String&quot;, # The type of metric.
988 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
989 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
990 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
991 &quot;absolute&quot;: &quot;A String&quot;, # Absolute value threshold.
992 &quot;percentage&quot;: 42, # Percentage threshold.
993 },
994 },
995 ],
996 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration # Optional. Cloud Scheduler Trigger related metadata
997 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
998 &quot;errorMessage&quot;: &quot;A String&quot;, # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations
999 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
1000 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
1001 },
1002 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
1003 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
1004 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
1005 &quot;names&quot;: [ # Optional. List of variable names.
1006 &quot;A String&quot;,
1007 ],
1008 },
1009 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular trigger.
1010 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. Dictates how next tasks will be executed.
1011 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
1012 &quot;names&quot;: [ # Optional. List of variable names.
1013 &quot;A String&quot;,
1014 ],
1015 },
1016 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
1017 &quot;x&quot;: 42, # Required. X axis of the coordinate
1018 &quot;y&quot;: 42, # Required. Y axis of the coordinate
1019 },
1020 &quot;properties&quot;: { # Optional. Configurable properties of the trigger, not to be confused with integration parameters. E.g. &quot;name&quot; is a property for API triggers and &quot;subscription&quot; is a property for Pub/sub triggers.
1021 &quot;a_key&quot;: &quot;A String&quot;,
1022 },
1023 &quot;startTasks&quot;: [ # Optional. Set of tasks numbers from where the integration execution is started by this trigger. If this is empty, then integration is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same integration execution graph).
1024 { # The task that is next in line to be executed, if the condition specified evaluated to true.
1025 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
1026 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
1027 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
1028 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
1029 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
1030 },
1031 ],
1032 &quot;trigger&quot;: &quot;A String&quot;, # Optional. Name of the trigger. Example: &quot;API Trigger&quot;, &quot;Cloud Pub Sub Trigger&quot; When set will be sent out to monitoring dashabord for tracking purpose.
1033 &quot;triggerId&quot;: &quot;A String&quot;, # Optional. Auto-generated trigger ID. The ID is based on the properties that you define in the trigger config. For example, for an API trigger, the trigger ID follows the format: api_trigger/TRIGGER_NAME Where trigger config has properties with value {&quot;Trigger name&quot;: TRIGGER_NAME}
1034 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the integration on UI.
1035 &quot;triggerType&quot;: &quot;A String&quot;, # Optional. Type of trigger
1036 },
1037 ],
1038 &quot;triggerConfigsInternal&quot;: [ # Optional. Trigger configurations.
1039 { # Configuration detail of a trigger. Next available id: 22
1040 &quot;alertConfig&quot;: [ # An alert threshold configuration for the [trigger + client + workflow] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + workflow] when published.
1041 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
1042 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
1043 &quot;alertDisabled&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.
1044 &quot;alertName&quot;: &quot;A String&quot;, # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the workflow.
1045 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration.
1046 &quot;durationThresholdMs&quot;: &quot;A String&quot;, # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
1047 &quot;errorEnumList&quot;: { # List of error enums for alerts.
1048 &quot;enumStrings&quot;: [
1049 &quot;A String&quot;,
1050 ],
1051 &quot;filterType&quot;: &quot;A String&quot;,
1052 },
1053 &quot;metricType&quot;: &quot;A String&quot;,
1054 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
1055 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
1056 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
1057 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
1058 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
1059 &quot;absolute&quot;: &quot;A String&quot;,
1060 &quot;percentage&quot;: 42,
1061 },
1062 &quot;warningEnumList&quot;: { # List of error enums for alerts.
1063 &quot;enumStrings&quot;: [
1064 &quot;A String&quot;,
1065 ],
1066 &quot;filterType&quot;: &quot;A String&quot;,
1067 },
1068 },
1069 ],
1070 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration
1071 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
1072 &quot;errorMessage&quot;: &quot;A String&quot;, # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations
1073 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
1074 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
1075 },
1076 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
1077 &quot;enabledClients&quot;: [ # Required. The list of client ids which are enabled to execute the workflow using this trigger. In other words, these clients have the workflow execution privledges for this trigger. For API trigger, the client id in the incoming request is validated against the list of enabled clients. For non-API triggers, one workflow execution is triggered on behalf of each enabled client.
1078 &quot;A String&quot;,
1079 ],
1080 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
1081 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
1082 &quot;names&quot;: [ # Optional. List of variable names.
1083 &quot;A String&quot;,
1084 ],
1085 },
1086 &quot;label&quot;: &quot;A String&quot;, # The user created label for a particular trigger.
1087 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Dictates how next tasks will be executed.
1088 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
1089 &quot;names&quot;: [ # Optional. List of variable names.
1090 &quot;A String&quot;,
1091 ],
1092 },
1093 &quot;pauseWorkflowExecutions&quot;: True or False, # Optional. If set to true, any upcoming requests for this trigger config will be paused and the executions will be resumed later when the flag is reset. The workflow to which this trigger config belongs has to be in ACTIVE status for the executions to be paused or resumed.
1094 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this trigger config on the UI.
1095 &quot;x&quot;: 42,
1096 &quot;y&quot;: 42,
1097 },
1098 &quot;properties&quot;: { # Configurable properties of the trigger, not to be confused with workflow parameters. E.g. &quot;name&quot; is a property for API triggers and &quot;subscription&quot; is a property for Cloud Pubsub triggers.
1099 &quot;a_key&quot;: &quot;A String&quot;,
1100 },
1101 &quot;startTasks&quot;: [ # Set of tasks numbers from where the workflow execution is started by this trigger. If this is empty, then workflow is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same workflow execution graph).
1102 { # The task that is next in line to be executed, if the condition specified evaluated to true.
1103 &quot;combinedConditions&quot;: [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
1104 { # This message recursively combines constituent conditions using logical AND.
1105 &quot;conditions&quot;: [ # A set of individual constituent conditions.
1106 { # Condition that uses `operator` to evaluate the key against the value.
1107 &quot;eventPropertyKey&quot;: &quot;A String&quot;, # Key that&#x27;s evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.
1108 &quot;operator&quot;: &quot;A String&quot;, # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
1109 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that&#x27;s checked for the key.
1110 &quot;booleanValue&quot;: True or False,
1111 &quot;doubleArray&quot;: {
1112 &quot;values&quot;: [
1113 3.14,
1114 ],
1115 },
1116 &quot;doubleValue&quot;: 3.14,
1117 &quot;intArray&quot;: {
1118 &quot;values&quot;: [
1119 &quot;A String&quot;,
1120 ],
1121 },
1122 &quot;intValue&quot;: &quot;A String&quot;,
1123 &quot;protoValue&quot;: {
1124 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1125 },
1126 &quot;stringArray&quot;: {
1127 &quot;values&quot;: [
1128 &quot;A String&quot;,
1129 ],
1130 },
1131 &quot;stringValue&quot;: &quot;A String&quot;,
1132 },
1133 },
1134 ],
1135 },
1136 ],
1137 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
1138 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
1139 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
1140 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
1141 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
1142 },
1143 ],
1144 &quot;triggerCriteria&quot;: { # Optional. When set, Eventbus will run the task specified in the trigger_criteria and validate the result using the trigger_criteria.condition, and only execute the workflow when result is true.
1145 &quot;condition&quot;: &quot;A String&quot;, # Required. Standard filter expression, when true the workflow will be executed. If there&#x27;s no trigger_criteria_task_implementation_class_name specified, the condition will be validated directly.
1146 &quot;parameters&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 # Optional. To be used in TaskConfig for the implementation class.
1147 &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.
1148 { # Key-value pair of EventBus parameters.
1149 &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.
1150 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
1151 &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.
1152 &quot;booleanArray&quot;: {
1153 &quot;booleanValues&quot;: [
1154 True or False,
1155 ],
1156 },
1157 &quot;booleanValue&quot;: True or False,
1158 &quot;doubleArray&quot;: {
1159 &quot;doubleValues&quot;: [
1160 3.14,
1161 ],
1162 },
1163 &quot;doubleValue&quot;: 3.14,
1164 &quot;intArray&quot;: {
1165 &quot;intValues&quot;: [
1166 &quot;A String&quot;,
1167 ],
1168 },
1169 &quot;intValue&quot;: &quot;A String&quot;,
1170 &quot;protoArray&quot;: {
1171 &quot;protoValues&quot;: [
1172 {
1173 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1174 },
1175 ],
1176 },
1177 &quot;protoValue&quot;: {
1178 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1179 },
1180 &quot;serializedObjectValue&quot;: {
1181 &quot;objectValue&quot;: &quot;A String&quot;,
1182 },
1183 &quot;stringArray&quot;: {
1184 &quot;stringValues&quot;: [
1185 &quot;A String&quot;,
1186 ],
1187 },
1188 &quot;stringValue&quot;: &quot;A String&quot;,
1189 },
1190 },
1191 ],
1192 },
1193 &quot;triggerCriteriaTaskImplementationClassName&quot;: &quot;A String&quot;, # Optional. Implementation class name. The class should implement the “TypedTask” interface.
1194 },
1195 &quot;triggerId&quot;: &quot;A String&quot;, # The backend trigger ID.
1196 &quot;triggerName&quot;: &quot;A String&quot;, # Optional. Name of the trigger This is added to identify the type of trigger. This is avoid the logic on triggerId to identify the trigger_type and push the same to monitoring.
1197 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the workflow on UI.
1198 &quot;triggerType&quot;: &quot;A String&quot;,
1199 },
1200 ],
1201 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
1202 &quot;userLabel&quot;: &quot;A String&quot;, # Optional. A user-defined label that annotates an integration version. Typically, this is only set when the integration version is created.
1203 },
1204 &quot;key&quot;: &quot;A String&quot;, # Required. Unique Key of the IntegrationVersion.
1205 },
1206 &quot;subIntegrationVersionTemplates&quot;: [ # Optional. Sub integration templates which would be added along with main integration.
1207 { # Define the template of IntegrationVersion.
1208 &quot;integrationVersion&quot;: { # The integration version definition. # Required. Templatized version of integration.
1209 &quot;cloudKmsKey&quot;: &quot;A String&quot;, # Optional. Cloud KMS resource name for the CMEK encryption key.
1210 &quot;cloudLoggingDetails&quot;: { # Cloud Logging details for execution info # Optional. Cloud Logging details for the integration version
1211 &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.
1212 &quot;enableCloudLogging&quot;: True or False, # Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.
1213 },
1214 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
1215 &quot;createdFromTemplate&quot;: &quot;A String&quot;, # Optional. Optional. The resource name of the template from which the integration is created.
1216 &quot;databasePersistencePolicy&quot;: &quot;A String&quot;, # Optional. Flag to disable database persistence for execution data, including event execution info, execution export info, execution metadata index and execution param index.
1217 &quot;description&quot;: &quot;A String&quot;, # Optional. The integration description.
1218 &quot;enableVariableMasking&quot;: True or False, # Optional. True if variable masking feature should be turned on for this version
1219 &quot;errorCatcherConfigs&quot;: [ # Optional. Error Catch Task configuration for the integration. It&#x27;s optional.
1220 { # Configuration detail of a error catch task
1221 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give more business context about the error catcher config.
1222 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Required. An error catcher id is string representation for the error catcher config. Within a workflow, error_catcher_id uniquely identifies an error catcher config among all error catcher configs for the workflow
1223 &quot;errorCatcherNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each error catcher config within the workflow on UI.
1224 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular error catcher. Optional.
1225 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
1226 &quot;x&quot;: 42, # Required. X axis of the coordinate
1227 &quot;y&quot;: 42, # Required. Y axis of the coordinate
1228 },
1229 &quot;startErrorTasks&quot;: [ # Required. The set of start tasks that are to be executed for the error catch flow
1230 { # The task that is next in line to be executed, if the condition specified evaluated to true.
1231 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
1232 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
1233 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
1234 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
1235 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
1236 },
1237 ],
1238 },
1239 ],
1240 &quot;integrationConfigParameters&quot;: [ # Optional. Config Parameters that are expected to be passed to the integration when an integration is published. This consists of all the parameters that are expected to provide configuration in the integration execution. This gives the user the ability to provide default values, value, add information like connection url, project based configuration value and also provide data types of each parameter.
1241 { # Integration Config Parameter is defined in the integration config and are used to provide external configuration for integration. It provide information about data types of the expected parameters and provide any default values or value. They can also be used to add custom attributes.
1242 &quot;parameter&quot;: { # 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. # Optional. Integration Parameter to provide the default value, data type and attributes required for the Integration config variables.
1243 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
1244 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
1245 &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.
1246 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
1247 &quot;booleanValues&quot;: [ # Boolean array.
1248 True or False,
1249 ],
1250 },
1251 &quot;booleanValue&quot;: True or False, # Boolean.
1252 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
1253 &quot;doubleValues&quot;: [ # Double number array.
1254 3.14,
1255 ],
1256 },
1257 &quot;doubleValue&quot;: 3.14, # Double Number.
1258 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
1259 &quot;intValues&quot;: [ # Integer array.
1260 &quot;A String&quot;,
1261 ],
1262 },
1263 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
1264 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
1265 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
1266 &quot;stringValues&quot;: [ # String array.
1267 &quot;A String&quot;,
1268 ],
1269 },
1270 &quot;stringValue&quot;: &quot;A String&quot;, # String.
1271 },
1272 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
1273 &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;.
1274 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
1275 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
1276 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
1277 &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.
1278 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
1279 &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.
1280 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
1281 },
1282 &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 or a serialized object.
1283 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
1284 &quot;booleanValues&quot;: [ # Boolean array.
1285 True or False,
1286 ],
1287 },
1288 &quot;booleanValue&quot;: True or False, # Boolean.
1289 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
1290 &quot;doubleValues&quot;: [ # Double number array.
1291 3.14,
1292 ],
1293 },
1294 &quot;doubleValue&quot;: 3.14, # Double Number.
1295 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
1296 &quot;intValues&quot;: [ # Integer array.
1297 &quot;A String&quot;,
1298 ],
1299 },
1300 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
1301 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
1302 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
1303 &quot;stringValues&quot;: [ # String array.
1304 &quot;A String&quot;,
1305 ],
1306 },
1307 &quot;stringValue&quot;: &quot;A String&quot;, # String.
1308 },
1309 },
1310 ],
1311 &quot;integrationParameters&quot;: [ # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
1312 { # 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.
1313 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
1314 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
1315 &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.
1316 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
1317 &quot;booleanValues&quot;: [ # Boolean array.
1318 True or False,
1319 ],
1320 },
1321 &quot;booleanValue&quot;: True or False, # Boolean.
1322 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
1323 &quot;doubleValues&quot;: [ # Double number array.
1324 3.14,
1325 ],
1326 },
1327 &quot;doubleValue&quot;: 3.14, # Double Number.
1328 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
1329 &quot;intValues&quot;: [ # Integer array.
1330 &quot;A String&quot;,
1331 ],
1332 },
1333 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
1334 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
1335 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
1336 &quot;stringValues&quot;: [ # String array.
1337 &quot;A String&quot;,
1338 ],
1339 },
1340 &quot;stringValue&quot;: &quot;A String&quot;, # String.
1341 },
1342 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
1343 &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;.
1344 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
1345 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
1346 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
1347 &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.
1348 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
1349 &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.
1350 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
1351 },
1352 ],
1353 &quot;integrationParametersInternal&quot;: { # LINT.IfChange This is the frontend version of WorkflowParameters. It&#x27;s exactly like the backend version except that instead of flattening protobuf parameters and treating every field and subfield of a protobuf parameter as a separate parameter, the fields/subfields of a protobuf parameter will be nested as &quot;children&quot; (see &#x27;children&#x27; field below) parameters of the parent parameter. Please refer to enterprise/crm/eventbus/proto/workflow_parameters.proto for more information about WorkflowParameters. # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
1354 &quot;parameters&quot;: [ # Parameters are a part of Event and can be used to communiticate between different tasks that are part of the same workflow execution.
1355 {
1356 &quot;attributes&quot;: { # Attributes are additional options that can be associated with each event property. For more information, see # Metadata information about the parameters.
1357 &quot;dataType&quot;: &quot;A String&quot;, # Things like URL, Email, Currency, Timestamp (rather than string, int64...)
1358 &quot;defaultValue&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Used to define defaults.
1359 &quot;booleanValue&quot;: True or False,
1360 &quot;doubleArray&quot;: {
1361 &quot;values&quot;: [
1362 3.14,
1363 ],
1364 },
1365 &quot;doubleValue&quot;: 3.14,
1366 &quot;intArray&quot;: {
1367 &quot;values&quot;: [
1368 &quot;A String&quot;,
1369 ],
1370 },
1371 &quot;intValue&quot;: &quot;A String&quot;,
1372 &quot;protoValue&quot;: {
1373 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1374 },
1375 &quot;stringArray&quot;: {
1376 &quot;values&quot;: [
1377 &quot;A String&quot;,
1378 ],
1379 },
1380 &quot;stringValue&quot;: &quot;A String&quot;,
1381 },
1382 &quot;isRequired&quot;: True or False, # Required for event execution. The validation will be done by the event bus when the event is triggered.
1383 &quot;isSearchable&quot;: True or False, # Used to indicate if a ParameterEntry should be converted to ParamIndexes for ST-Spanner full-text search. DEPRECATED: use searchable.
1384 &quot;logSettings&quot;: { # The LogSettings define the logging attributes for an event property. These attributes are used to map the property to the parameter in the log proto. Also used to define scrubbing/truncation behavior and PII information. # See
1385 &quot;logFieldName&quot;: &quot;A String&quot;, # The name of corresponding logging field of the event property. If omitted, assumes the same name as the event property key.
1386 &quot;seedPeriod&quot;: &quot;A String&quot;,
1387 &quot;seedScope&quot;: &quot;A String&quot;,
1388 },
1389 &quot;masked&quot;: True or False, # True if this workflow parameter should be masked in the logs
1390 &quot;readOnly&quot;: True or False, # Used to indicate if the ParameterEntry is a read only field or not.
1391 &quot;searchable&quot;: &quot;A String&quot;,
1392 &quot;taskVisibility&quot;: [ # List of tasks that can view this property, if empty then all.
1393 &quot;A String&quot;,
1394 ],
1395 },
1396 &quot;children&quot;: [ # Child parameters nested within this parameter. This field only applies to protobuf parameters
1397 # Object with schema name: EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
1398 ],
1399 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
1400 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
1401 &quot;defaultValue&quot;: { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
1402 &quot;booleanArray&quot;: {
1403 &quot;booleanValues&quot;: [
1404 True or False,
1405 ],
1406 },
1407 &quot;booleanValue&quot;: True or False,
1408 &quot;doubleArray&quot;: {
1409 &quot;doubleValues&quot;: [
1410 3.14,
1411 ],
1412 },
1413 &quot;doubleValue&quot;: 3.14,
1414 &quot;intArray&quot;: {
1415 &quot;intValues&quot;: [
1416 &quot;A String&quot;,
1417 ],
1418 },
1419 &quot;intValue&quot;: &quot;A String&quot;,
1420 &quot;jsonValue&quot;: &quot;A String&quot;,
1421 &quot;protoArray&quot;: {
1422 &quot;protoValues&quot;: [
1423 {
1424 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1425 },
1426 ],
1427 },
1428 &quot;protoValue&quot;: {
1429 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1430 },
1431 &quot;serializedObjectValue&quot;: {
1432 &quot;objectValue&quot;: &quot;A String&quot;,
1433 },
1434 &quot;stringArray&quot;: {
1435 &quot;stringValues&quot;: [
1436 &quot;A String&quot;,
1437 ],
1438 },
1439 &quot;stringValue&quot;: &quot;A String&quot;,
1440 },
1441 &quot;description&quot;: &quot;A String&quot;, # Optional. The description about the parameter
1442 &quot;inOutType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
1443 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
1444 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
1445 &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.
1446 &quot;name&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;.
1447 &quot;producedBy&quot;: { # Represents a node identifier (type + id). Next highest id: 3 # 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.
1448 &quot;elementIdentifier&quot;: &quot;A String&quot;, # Configuration of the edge.
1449 &quot;elementType&quot;: &quot;A String&quot;, # Destination node where the edge ends. It can only be a task config.
1450 },
1451 &quot;producer&quot;: &quot;A String&quot;,
1452 &quot;protoDefName&quot;: &quot;A String&quot;, # The name of the protobuf type if the parameter has a protobuf data type.
1453 &quot;protoDefPath&quot;: &quot;A String&quot;, # If the data type is of type proto or proto array, this field needs to be populated with the fully qualified proto name. This message, for example, would be &quot;enterprise.crm.frontends.eventbus.proto.WorkflowParameterEntry&quot;.
1454 &quot;required&quot;: True or False,
1455 },
1456 ],
1457 },
1458 &quot;lastModifierEmail&quot;: &quot;A String&quot;, # Optional. The last modifier&#x27;s email address. Generated based on the End User Credentials/LOAS role of the user making the call.
1459 &quot;lockHolder&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.
1460 &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
1461 &quot;origin&quot;: &quot;A String&quot;, # Optional. The origin that indicates where this integration is coming from.
1462 &quot;parentTemplateId&quot;: &quot;A String&quot;, # Optional. The id of the template which was used to create this integration_version.
1463 &quot;runAsServiceAccount&quot;: &quot;A String&quot;, # Optional. The run-as service account email, if set and auth config is not configured, that will be used to generate auth token to be used in Connector task, Rest caller task and Cloud function task.
1464 &quot;snapshotNumber&quot;: &quot;A String&quot;, # Output only. An increasing sequence that is set when a new snapshot is created. The last created snapshot can be identified by [workflow_name, org_id latest(snapshot_number)]. However, last created snapshot need not be same as the HEAD. So users should always use &quot;HEAD&quot; tag to identify the head.
1465 &quot;state&quot;: &quot;A String&quot;, # Output only. User should not set it as an input.
1466 &quot;status&quot;: &quot;A String&quot;, # Output only. Generated by eventbus. User should not set it as an input.
1467 &quot;taskConfigs&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
1468 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
1469 &quot;conditionalFailurePolicies&quot;: { # Conditional task failur retry strategies # Optional. The list of conditional failure policies that will be applied to the task in order.
1470 &quot;defaultFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # The default failure policy to be applied if no conditional failure policy matches.
1471 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
1472 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
1473 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
1474 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
1475 },
1476 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
1477 { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
1478 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
1479 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
1480 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
1481 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
1482 },
1483 ],
1484 },
1485 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
1486 &quot;displayName&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to this TaskConfig in the UI.
1487 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
1488 &quot;externalTaskType&quot;: &quot;A String&quot;, # Optional. External task type of the task
1489 &quot;failurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
1490 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
1491 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
1492 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
1493 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
1494 },
1495 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # Optional. If set, overrides the option configured in the Task implementation class.
1496 &quot;nextTasks&quot;: [ # Optional. The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
1497 { # The task that is next in line to be executed, if the condition specified evaluated to true.
1498 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
1499 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
1500 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
1501 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
1502 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
1503 },
1504 ],
1505 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution of the next set of tasks for the current task.
1506 &quot;parameters&quot;: { # Optional. The customized parameters the user can pass to this task.
1507 &quot;a_key&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
1508 &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.
1509 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
1510 &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.
1511 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
1512 &quot;booleanValues&quot;: [ # Boolean array.
1513 True or False,
1514 ],
1515 },
1516 &quot;booleanValue&quot;: True or False, # Boolean.
1517 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
1518 &quot;doubleValues&quot;: [ # Double number array.
1519 3.14,
1520 ],
1521 },
1522 &quot;doubleValue&quot;: 3.14, # Double Number.
1523 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
1524 &quot;intValues&quot;: [ # Integer array.
1525 &quot;A String&quot;,
1526 ],
1527 },
1528 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
1529 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
1530 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
1531 &quot;stringValues&quot;: [ # String array.
1532 &quot;A String&quot;,
1533 ],
1534 },
1535 &quot;stringValue&quot;: &quot;A String&quot;, # String.
1536 },
1537 },
1538 },
1539 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
1540 &quot;x&quot;: 42, # Required. X axis of the coordinate
1541 &quot;y&quot;: 42, # Required. Y axis of the coordinate
1542 },
1543 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Optional. Determines what action to take upon successful task completion.
1544 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
1545 },
1546 &quot;synchronousCallFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
1547 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
1548 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
1549 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
1550 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
1551 },
1552 &quot;task&quot;: &quot;A String&quot;, # Optional. The name for the task.
1553 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution strategy of this task.
1554 &quot;taskId&quot;: &quot;A String&quot;, # Required. The identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_id`).
1555 &quot;taskTemplate&quot;: &quot;A String&quot;, # Optional. Used to define task-template name if task is of type task-template
1556 },
1557 ],
1558 &quot;taskConfigsInternal&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
1559 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
1560 &quot;alertConfigs&quot;: [ # Alert configurations on error rate, warning rate, number of runs, durations, etc.
1561 { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event.
1562 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week).
1563 &quot;alertDisabled&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.
1564 &quot;alertName&quot;: &quot;A String&quot;, # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique in within the scope of the containing workflow.
1565 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration. Must be a client enabled in one of the containing workflow&#x27;s triggers.
1566 &quot;durationThresholdMs&quot;: &quot;A String&quot;, # Should be specified only for TASK_AVERAGE_DURATION and TASK_PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
1567 &quot;errorEnumList&quot;: { # List of error enums for alerts.
1568 &quot;enumStrings&quot;: [
1569 &quot;A String&quot;,
1570 ],
1571 &quot;filterType&quot;: &quot;A String&quot;,
1572 },
1573 &quot;metricType&quot;: &quot;A String&quot;,
1574 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
1575 &quot;onlyFinalAttempt&quot;: True or False, # Only count final task attempts, not retries.
1576 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
1577 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
1578 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
1579 &quot;absolute&quot;: &quot;A String&quot;,
1580 &quot;percentage&quot;: 42,
1581 },
1582 &quot;warningEnumList&quot;: { # List of error enums for alerts.
1583 &quot;enumStrings&quot;: [
1584 &quot;A String&quot;,
1585 ],
1586 &quot;filterType&quot;: &quot;A String&quot;,
1587 },
1588 },
1589 ],
1590 &quot;conditionalFailurePolicies&quot;: { # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
1591 &quot;defaultFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # The default failure policy to be applied if no conditional failure policy matches
1592 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
1593 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
1594 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
1595 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
1596 },
1597 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
1598 { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
1599 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
1600 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
1601 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
1602 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
1603 },
1604 ],
1605 },
1606 &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
1607 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address. Auto-generated from the user&#x27;s email.
1608 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
1609 &quot;disableStrictTypeValidation&quot;: True or False, # If this config contains a TypedTask, allow validation to succeed if an input is read from the output of another TypedTask whose output type is declared as a superclass of the requested input type. For instance, if the previous task declares an output of type Message, any task with this flag enabled will pass validation when attempting to read any proto Message type from the resultant Event parameter.
1610 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
1611 &quot;externalTaskType&quot;: &quot;A String&quot;,
1612 &quot;failurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
1613 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
1614 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
1615 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
1616 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
1617 },
1618 &quot;incomingEdgeCount&quot;: 42, # The number of edges leading into this TaskConfig.
1619 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # If set, overrides the option configured in the Task implementation class.
1620 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this TaskConfig in the UI.
1621 &quot;lastModifiedTime&quot;: &quot;A String&quot;, # Auto-generated.
1622 &quot;nextTasks&quot;: [ # The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
1623 { # The task that is next in line to be executed, if the condition specified evaluated to true.
1624 &quot;combinedConditions&quot;: [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
1625 { # This message recursively combines constituent conditions using logical AND.
1626 &quot;conditions&quot;: [ # A set of individual constituent conditions.
1627 { # Condition that uses `operator` to evaluate the key against the value.
1628 &quot;eventPropertyKey&quot;: &quot;A String&quot;, # Key that&#x27;s evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.
1629 &quot;operator&quot;: &quot;A String&quot;, # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
1630 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that&#x27;s checked for the key.
1631 &quot;booleanValue&quot;: True or False,
1632 &quot;doubleArray&quot;: {
1633 &quot;values&quot;: [
1634 3.14,
1635 ],
1636 },
1637 &quot;doubleValue&quot;: 3.14,
1638 &quot;intArray&quot;: {
1639 &quot;values&quot;: [
1640 &quot;A String&quot;,
1641 ],
1642 },
1643 &quot;intValue&quot;: &quot;A String&quot;,
1644 &quot;protoValue&quot;: {
1645 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1646 },
1647 &quot;stringArray&quot;: {
1648 &quot;values&quot;: [
1649 &quot;A String&quot;,
1650 ],
1651 },
1652 &quot;stringValue&quot;: &quot;A String&quot;,
1653 },
1654 },
1655 ],
1656 },
1657 ],
1658 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
1659 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
1660 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
1661 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
1662 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
1663 },
1664 ],
1665 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # The policy dictating the execution of the next set of tasks for the current task.
1666 &quot;parameters&quot;: { # The customized parameters the user can pass to this task.
1667 &quot;a_key&quot;: { # Key-value pair of EventBus parameters.
1668 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
1669 &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.
1670 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
1671 &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.
1672 &quot;booleanArray&quot;: {
1673 &quot;booleanValues&quot;: [
1674 True or False,
1675 ],
1676 },
1677 &quot;booleanValue&quot;: True or False,
1678 &quot;doubleArray&quot;: {
1679 &quot;doubleValues&quot;: [
1680 3.14,
1681 ],
1682 },
1683 &quot;doubleValue&quot;: 3.14,
1684 &quot;intArray&quot;: {
1685 &quot;intValues&quot;: [
1686 &quot;A String&quot;,
1687 ],
1688 },
1689 &quot;intValue&quot;: &quot;A String&quot;,
1690 &quot;jsonValue&quot;: &quot;A String&quot;,
1691 &quot;protoArray&quot;: {
1692 &quot;protoValues&quot;: [
1693 {
1694 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1695 },
1696 ],
1697 },
1698 &quot;protoValue&quot;: {
1699 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1700 },
1701 &quot;serializedObjectValue&quot;: {
1702 &quot;objectValue&quot;: &quot;A String&quot;,
1703 },
1704 &quot;stringArray&quot;: {
1705 &quot;stringValues&quot;: [
1706 &quot;A String&quot;,
1707 ],
1708 },
1709 &quot;stringValue&quot;: &quot;A String&quot;,
1710 },
1711 },
1712 },
1713 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this task config on the UI.
1714 &quot;x&quot;: 42,
1715 &quot;y&quot;: 42,
1716 },
1717 &quot;precondition&quot;: &quot;A String&quot;, # Optional. Standard filter expression evaluated before execution. Independent of other conditions and tasks. Can be used to enable rollout. e.g. &quot;rollout(5)&quot; will only allow 5% of incoming traffic to task.
1718 &quot;preconditionLabel&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to precondition in the UI.
1719 &quot;rollbackStrategy&quot;: { # Next available id: 4 # Optional. Contains information about what needs to be done upon failure (either a permanent error or after it has been retried too many times).
1720 &quot;parameters&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 # Optional. The customized parameters the user can pass to this task.
1721 &quot;parameters&quot;: [ # Parameters are a part of Event and can be used to communicate between different tasks that are part of the same workflow execution.
1722 { # Key-value pair of EventBus parameters.
1723 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
1724 &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.
1725 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
1726 &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.
1727 &quot;booleanArray&quot;: {
1728 &quot;booleanValues&quot;: [
1729 True or False,
1730 ],
1731 },
1732 &quot;booleanValue&quot;: True or False,
1733 &quot;doubleArray&quot;: {
1734 &quot;doubleValues&quot;: [
1735 3.14,
1736 ],
1737 },
1738 &quot;doubleValue&quot;: 3.14,
1739 &quot;intArray&quot;: {
1740 &quot;intValues&quot;: [
1741 &quot;A String&quot;,
1742 ],
1743 },
1744 &quot;intValue&quot;: &quot;A String&quot;,
1745 &quot;jsonValue&quot;: &quot;A String&quot;,
1746 &quot;protoArray&quot;: {
1747 &quot;protoValues&quot;: [
1748 {
1749 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1750 },
1751 ],
1752 },
1753 &quot;protoValue&quot;: {
1754 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1755 },
1756 &quot;serializedObjectValue&quot;: {
1757 &quot;objectValue&quot;: &quot;A String&quot;,
1758 },
1759 &quot;stringArray&quot;: {
1760 &quot;stringValues&quot;: [
1761 &quot;A String&quot;,
1762 ],
1763 },
1764 &quot;stringValue&quot;: &quot;A String&quot;,
1765 },
1766 },
1767 ],
1768 },
1769 &quot;rollbackTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. This is the name of the task that needs to be executed upon rollback of this task.
1770 &quot;taskNumbersToRollback&quot;: [ # Required. These are the tasks numbers of the tasks whose `rollback_strategy.rollback_task_implementation_class_name` needs to be executed upon failure of this task.
1771 &quot;A String&quot;,
1772 ],
1773 },
1774 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Determines what action to take upon successful task completion.
1775 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
1776 },
1777 &quot;synchronousCallFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
1778 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
1779 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
1780 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
1781 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
1782 },
1783 &quot;taskEntity&quot;: { # Contains a task&#x27;s metadata and associated information. Next available id: 7 # Copy of the task entity that this task config is an instance of.
1784 &quot;disabledForVpcSc&quot;: True or False, # True if the task has conflict with vpcsc
1785 &quot;metadata&quot;: { # TaskMetadata are attributes that are associated to every common Task we have. # Metadata inclueds the task name, author and so on.
1786 &quot;activeTaskName&quot;: &quot;A String&quot;, # The new task name to replace the current task if it is deprecated. Otherwise, it is the same as the current task name.
1787 &quot;admins&quot;: [
1788 { # Admins are owners of a Task, and have all permissions on a particular task identified by the task name. By default, Eventbus periodically scans all task metadata and syncs (adds) any new admins defined here to Zanzibar.
1789 &quot;googleGroupEmail&quot;: &quot;A String&quot;,
1790 &quot;userEmail&quot;: &quot;A String&quot;,
1791 },
1792 ],
1793 &quot;category&quot;: &quot;A String&quot;,
1794 &quot;codeSearchLink&quot;: &quot;A String&quot;, # The Code Search link to the Task Java file.
1795 &quot;defaultJsonValidationOption&quot;: &quot;A String&quot;, # Controls whether JSON workflow parameters are validated against provided schemas before and/or after this task&#x27;s execution.
1796 &quot;defaultSpec&quot;: &quot;A String&quot;, # Contains the initial configuration of the task with default values set. For now, The string should be compatible to an ASCII-proto format.
1797 &quot;description&quot;: &quot;A String&quot;, # In a few sentences, describe the purpose and usage of the task.
1798 &quot;descriptiveName&quot;: &quot;A String&quot;, # The string name to show on the task list on the Workflow editor screen. This should be a very short, one to two words name for the task. (e.g. &quot;Send Mail&quot;)
1799 &quot;docMarkdown&quot;: &quot;A String&quot;, # Snippet of markdown documentation to embed in the RHP for this task.
1800 &quot;externalCategory&quot;: &quot;A String&quot;,
1801 &quot;externalCategorySequence&quot;: 42, # Sequence with which the task in specific category to be displayed in task discovery panel for external users.
1802 &quot;externalDocHtml&quot;: &quot;A String&quot;, # External-facing documention embedded in the RHP for this task.
1803 &quot;externalDocLink&quot;: &quot;A String&quot;, # Doc link for external-facing documentation (separate from g3doc).
1804 &quot;externalDocMarkdown&quot;: &quot;A String&quot;, # DEPRECATED: Use external_doc_html.
1805 &quot;g3DocLink&quot;: &quot;A String&quot;, # URL to the associated G3 Doc for the task if available
1806 &quot;iconLink&quot;: &quot;A String&quot;, # URL to gstatic image icon for this task. This icon shows up on the task list panel along with the task name in the Workflow Editor screen. Use the 24p, 2x, gray color icon image format.
1807 &quot;isDeprecated&quot;: True or False, # The deprecation status of the current task. Default value is false;
1808 &quot;name&quot;: &quot;A String&quot;, # The actual class name or the annotated name of the task. Task Author should initialize this field with value from the getName() method of the Task class.
1809 &quot;standaloneExternalDocHtml&quot;: &quot;A String&quot;, # External-facing documention for standalone IP in pantheon embedded in the RHP for this task. Non null only if different from external_doc_html
1810 &quot;status&quot;: &quot;A String&quot;, # Allows author to indicate if the task is ready to use or not. If not set, then it will default to INACTIVE.
1811 &quot;system&quot;: &quot;A String&quot;,
1812 &quot;tags&quot;: [ # A set of tags that pertain to a particular task. This can be used to improve the searchability of tasks with several names (&quot;REST Caller&quot; vs. &quot;Call REST Endpoint&quot;) or to help users find tasks based on related words.
1813 &quot;A String&quot;,
1814 ],
1815 },
1816 &quot;paramSpecs&quot;: { # Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask.
1817 &quot;parameters&quot;: [
1818 { # Key-value pair of EventBus task parameters. Next id: 13
1819 &quot;className&quot;: &quot;A String&quot;, # The FQCN of the Java object this represents. A string, for example, would be &quot;java.lang.String&quot;. If this is &quot;java.lang.Object&quot;, the parameter can be of any type.
1820 &quot;collectionElementClassName&quot;: &quot;A String&quot;, # If it is a collection of objects, this would be the FCQN of every individual element in the collection. If this is &quot;java.lang.Object&quot;, the parameter is a collection of any type.
1821 &quot;config&quot;: { # Optional fields, such as help text and other useful info.
1822 &quot;descriptivePhrase&quot;: &quot;A String&quot;, # A short phrase to describe what this parameter contains.
1823 &quot;helpText&quot;: &quot;A String&quot;, # Detailed help text for this parameter containing information not provided elsewhere. For example, instructions on how to migrate from a deprecated parameter.
1824 &quot;hideDefaultValue&quot;: True or False, # Whether the default value is hidden in the UI.
1825 &quot;inputDisplayOption&quot;: &quot;A String&quot;,
1826 &quot;isHidden&quot;: True or False, # Whether this field is hidden in the UI.
1827 &quot;label&quot;: &quot;A String&quot;, # A user-friendly label for the parameter.
1828 &quot;parameterNameOption&quot;: &quot;A String&quot;,
1829 &quot;subSectionLabel&quot;: &quot;A String&quot;, # A user-friendly label for subSection under which the parameter will be displayed.
1830 &quot;uiPlaceholderText&quot;: &quot;A String&quot;, # Placeholder text which will appear in the UI input form for this parameter.
1831 },
1832 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
1833 &quot;defaultValue&quot;: { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
1834 &quot;booleanArray&quot;: {
1835 &quot;booleanValues&quot;: [
1836 True or False,
1837 ],
1838 },
1839 &quot;booleanValue&quot;: True or False,
1840 &quot;doubleArray&quot;: {
1841 &quot;doubleValues&quot;: [
1842 3.14,
1843 ],
1844 },
1845 &quot;doubleValue&quot;: 3.14,
1846 &quot;intArray&quot;: {
1847 &quot;intValues&quot;: [
1848 &quot;A String&quot;,
1849 ],
1850 },
1851 &quot;intValue&quot;: &quot;A String&quot;,
1852 &quot;jsonValue&quot;: &quot;A String&quot;,
1853 &quot;protoArray&quot;: {
1854 &quot;protoValues&quot;: [
1855 {
1856 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1857 },
1858 ],
1859 },
1860 &quot;protoValue&quot;: {
1861 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1862 },
1863 &quot;serializedObjectValue&quot;: {
1864 &quot;objectValue&quot;: &quot;A String&quot;,
1865 },
1866 &quot;stringArray&quot;: {
1867 &quot;stringValues&quot;: [
1868 &quot;A String&quot;,
1869 ],
1870 },
1871 &quot;stringValue&quot;: &quot;A String&quot;,
1872 },
1873 &quot;isDeprecated&quot;: True or False, # If set, this entry is deprecated, so further use of this parameter should be prohibited.
1874 &quot;isOutput&quot;: True or False,
1875 &quot;jsonSchema&quot;: &quot;A String&quot;, # If the data_type is JSON_VALUE, then this will define its schema.
1876 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given task. These parameters must be predefined in the workflow definition.
1877 &quot;protoDef&quot;: { # Populated if this represents a proto or proto array.
1878 &quot;fullName&quot;: &quot;A String&quot;, # The fully-qualified proto name. This message, for example, would be &quot;enterprise.crm.eventbus.proto.ParamSpecEntry.ProtoDefinition&quot;.
1879 &quot;path&quot;: &quot;A String&quot;, # Path to the proto file that contains the message type&#x27;s definition.
1880 },
1881 &quot;required&quot;: True or False, # If set, the user must provide an input value for this parameter.
1882 &quot;validationRule&quot;: { # Rule used to validate inputs (individual values and collection elements) for this parameter.
1883 &quot;doubleRange&quot;: { # Range used to validate doubles and floats.
1884 &quot;max&quot;: 3.14, # The inclusive maximum of the acceptable range.
1885 &quot;min&quot;: 3.14, # The inclusive minimum of the acceptable range.
1886 },
1887 &quot;intRange&quot;: { # Range used to validate longs and ints.
1888 &quot;max&quot;: &quot;A String&quot;, # The inclusive maximum of the acceptable range.
1889 &quot;min&quot;: &quot;A String&quot;, # The inclusive minimum of the acceptable range.
1890 },
1891 &quot;stringRegex&quot;: { # Rule used to validate strings.
1892 &quot;exclusive&quot;: True or False, # Whether the regex matcher is applied exclusively (if true, matching values will be rejected).
1893 &quot;regex&quot;: &quot;A String&quot;, # The regex applied to the input value(s).
1894 },
1895 },
1896 },
1897 ],
1898 },
1899 &quot;stats&quot;: { # Stats for the requested dimensions: QPS, duration, and error/warning rate # Deprecated - statistics from the Monarch query.
1900 &quot;dimensions&quot;: { # Dimensions that these stats have been aggregated on.
1901 &quot;clientId&quot;: &quot;A String&quot;,
1902 &quot;enumFilterType&quot;: &quot;A String&quot;, # Whether to include or exclude the enums matching the regex.
1903 &quot;errorEnumString&quot;: &quot;A String&quot;,
1904 &quot;retryAttempt&quot;: &quot;A String&quot;,
1905 &quot;taskName&quot;: &quot;A String&quot;,
1906 &quot;taskNumber&quot;: &quot;A String&quot;,
1907 &quot;triggerId&quot;: &quot;A String&quot;, # Stats have been or will be aggregated on set fields for any semantically-meaningful combination.
1908 &quot;warningEnumString&quot;: &quot;A String&quot;,
1909 &quot;workflowId&quot;: &quot;A String&quot;,
1910 &quot;workflowName&quot;: &quot;A String&quot;,
1911 },
1912 &quot;durationInSeconds&quot;: 3.14, # Average duration in seconds.
1913 &quot;errorRate&quot;: 3.14, # Average error rate.
1914 &quot;qps&quot;: 3.14, # Queries per second.
1915 &quot;warningRate&quot;: 3.14, # Average warning rate.
1916 },
1917 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
1918 &quot;uiConfig&quot;: { # Task authors would use this type to configure the UI for a particular task by specifying what UI config modules should be included to compose the UI. Learn more about config module framework: # UI configuration for this task Also associated with the METADATA mask.
1919 &quot;taskUiModuleConfigs&quot;: [ # Configurations of included config modules.
1920 { # Task author would use this type to configure a config module.
1921 &quot;moduleId&quot;: &quot;A String&quot;, # ID of the config module.
1922 },
1923 ],
1924 },
1925 },
1926 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # The policy dictating the execution strategy of this task.
1927 &quot;taskName&quot;: &quot;A String&quot;, # The name for the task.
1928 &quot;taskNumber&quot;: &quot;A String&quot;, # REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`).
1929 &quot;taskSpec&quot;: &quot;A String&quot;, # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old &quot;parameters&quot; field.
1930 &quot;taskTemplateName&quot;: &quot;A String&quot;, # Used to define task-template name if task is of type task-template
1931 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
1932 },
1933 ],
1934 &quot;teardown&quot;: { # Optional. Contains a graph of tasks that will be executed before putting the event in a terminal state (SUCCEEDED/FAILED/FATAL), regardless of success or failure, similar to &quot;finally&quot; in code.
1935 &quot;teardownTaskConfigs&quot;: [ # Required.
1936 {
1937 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address.
1938 &quot;name&quot;: &quot;A String&quot;, # Required. Unique identifier of the teardown task within this Config. We use this field as the identifier to find next teardown tasks.
1939 &quot;nextTeardownTask&quot;: { # The teardown task that is next in line to be executed. We support only sequential execution of teardown tasks (i.e. no branching).
1940 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the next teardown task.
1941 },
1942 &quot;parameters&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 the user can pass to this task.
1943 &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.
1944 { # Key-value pair of EventBus parameters.
1945 &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.
1946 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
1947 &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.
1948 &quot;booleanArray&quot;: {
1949 &quot;booleanValues&quot;: [
1950 True or False,
1951 ],
1952 },
1953 &quot;booleanValue&quot;: True or False,
1954 &quot;doubleArray&quot;: {
1955 &quot;doubleValues&quot;: [
1956 3.14,
1957 ],
1958 },
1959 &quot;doubleValue&quot;: 3.14,
1960 &quot;intArray&quot;: {
1961 &quot;intValues&quot;: [
1962 &quot;A String&quot;,
1963 ],
1964 },
1965 &quot;intValue&quot;: &quot;A String&quot;,
1966 &quot;protoArray&quot;: {
1967 &quot;protoValues&quot;: [
1968 {
1969 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1970 },
1971 ],
1972 },
1973 &quot;protoValue&quot;: {
1974 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1975 },
1976 &quot;serializedObjectValue&quot;: {
1977 &quot;objectValue&quot;: &quot;A String&quot;,
1978 },
1979 &quot;stringArray&quot;: {
1980 &quot;stringValues&quot;: [
1981 &quot;A String&quot;,
1982 ],
1983 },
1984 &quot;stringValue&quot;: &quot;A String&quot;,
1985 },
1986 },
1987 ],
1988 },
1989 &quot;properties&quot;: { # LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus.
1990 &quot;properties&quot;: [ # An unordered list of property entries.
1991 { # Key-value pair of EventBus property.
1992 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding property value. This should be unique for a given fired event. The Tasks should be aware of the keys used while firing the events for them to be able to retrieve the values.
1993 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Values for the defined keys. Each value can either be string, int, double or any proto message.
1994 &quot;booleanValue&quot;: True or False,
1995 &quot;doubleArray&quot;: {
1996 &quot;values&quot;: [
1997 3.14,
1998 ],
1999 },
2000 &quot;doubleValue&quot;: 3.14,
2001 &quot;intArray&quot;: {
2002 &quot;values&quot;: [
2003 &quot;A String&quot;,
2004 ],
2005 },
2006 &quot;intValue&quot;: &quot;A String&quot;,
2007 &quot;protoValue&quot;: {
2008 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2009 },
2010 &quot;stringArray&quot;: {
2011 &quot;values&quot;: [
2012 &quot;A String&quot;,
2013 ],
2014 },
2015 &quot;stringValue&quot;: &quot;A String&quot;,
2016 },
2017 },
2018 ],
2019 },
2020 &quot;teardownTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. Implementation class name.
2021 },
2022 ],
2023 },
2024 &quot;triggerConfigs&quot;: [ # Optional. Trigger configurations.
2025 { # Configuration detail of a trigger.
2026 &quot;alertConfig&quot;: [ # Optional. An alert threshold configuration for the [trigger + client + integration] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + integration] when published.
2027 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
2028 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
2029 &quot;alertThreshold&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
2030 &quot;disableAlert&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this integration alert.
2031 &quot;displayName&quot;: &quot;A String&quot;, # Name of the alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the integration.
2032 &quot;durationThreshold&quot;: &quot;A String&quot;, # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
2033 &quot;metricType&quot;: &quot;A String&quot;, # The type of metric.
2034 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
2035 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
2036 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
2037 &quot;absolute&quot;: &quot;A String&quot;, # Absolute value threshold.
2038 &quot;percentage&quot;: 42, # Percentage threshold.
2039 },
2040 },
2041 ],
2042 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration # Optional. Cloud Scheduler Trigger related metadata
2043 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
2044 &quot;errorMessage&quot;: &quot;A String&quot;, # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations
2045 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
2046 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
2047 },
2048 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
2049 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
2050 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
2051 &quot;names&quot;: [ # Optional. List of variable names.
2052 &quot;A String&quot;,
2053 ],
2054 },
2055 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular trigger.
2056 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. Dictates how next tasks will be executed.
2057 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
2058 &quot;names&quot;: [ # Optional. List of variable names.
2059 &quot;A String&quot;,
2060 ],
2061 },
2062 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
2063 &quot;x&quot;: 42, # Required. X axis of the coordinate
2064 &quot;y&quot;: 42, # Required. Y axis of the coordinate
2065 },
2066 &quot;properties&quot;: { # Optional. Configurable properties of the trigger, not to be confused with integration parameters. E.g. &quot;name&quot; is a property for API triggers and &quot;subscription&quot; is a property for Pub/sub triggers.
2067 &quot;a_key&quot;: &quot;A String&quot;,
2068 },
2069 &quot;startTasks&quot;: [ # Optional. Set of tasks numbers from where the integration execution is started by this trigger. If this is empty, then integration is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same integration execution graph).
2070 { # The task that is next in line to be executed, if the condition specified evaluated to true.
2071 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
2072 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
2073 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
2074 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
2075 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
2076 },
2077 ],
2078 &quot;trigger&quot;: &quot;A String&quot;, # Optional. Name of the trigger. Example: &quot;API Trigger&quot;, &quot;Cloud Pub Sub Trigger&quot; When set will be sent out to monitoring dashabord for tracking purpose.
2079 &quot;triggerId&quot;: &quot;A String&quot;, # Optional. Auto-generated trigger ID. The ID is based on the properties that you define in the trigger config. For example, for an API trigger, the trigger ID follows the format: api_trigger/TRIGGER_NAME Where trigger config has properties with value {&quot;Trigger name&quot;: TRIGGER_NAME}
2080 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the integration on UI.
2081 &quot;triggerType&quot;: &quot;A String&quot;, # Optional. Type of trigger
2082 },
2083 ],
2084 &quot;triggerConfigsInternal&quot;: [ # Optional. Trigger configurations.
2085 { # Configuration detail of a trigger. Next available id: 22
2086 &quot;alertConfig&quot;: [ # An alert threshold configuration for the [trigger + client + workflow] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + workflow] when published.
2087 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
2088 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
2089 &quot;alertDisabled&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.
2090 &quot;alertName&quot;: &quot;A String&quot;, # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the workflow.
2091 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration.
2092 &quot;durationThresholdMs&quot;: &quot;A String&quot;, # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
2093 &quot;errorEnumList&quot;: { # List of error enums for alerts.
2094 &quot;enumStrings&quot;: [
2095 &quot;A String&quot;,
2096 ],
2097 &quot;filterType&quot;: &quot;A String&quot;,
2098 },
2099 &quot;metricType&quot;: &quot;A String&quot;,
2100 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
2101 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
2102 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
2103 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
2104 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
2105 &quot;absolute&quot;: &quot;A String&quot;,
2106 &quot;percentage&quot;: 42,
2107 },
2108 &quot;warningEnumList&quot;: { # List of error enums for alerts.
2109 &quot;enumStrings&quot;: [
2110 &quot;A String&quot;,
2111 ],
2112 &quot;filterType&quot;: &quot;A String&quot;,
2113 },
2114 },
2115 ],
2116 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration
2117 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
2118 &quot;errorMessage&quot;: &quot;A String&quot;, # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations
2119 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
2120 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
2121 },
2122 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
2123 &quot;enabledClients&quot;: [ # Required. The list of client ids which are enabled to execute the workflow using this trigger. In other words, these clients have the workflow execution privledges for this trigger. For API trigger, the client id in the incoming request is validated against the list of enabled clients. For non-API triggers, one workflow execution is triggered on behalf of each enabled client.
2124 &quot;A String&quot;,
2125 ],
2126 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
2127 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
2128 &quot;names&quot;: [ # Optional. List of variable names.
2129 &quot;A String&quot;,
2130 ],
2131 },
2132 &quot;label&quot;: &quot;A String&quot;, # The user created label for a particular trigger.
2133 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Dictates how next tasks will be executed.
2134 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
2135 &quot;names&quot;: [ # Optional. List of variable names.
2136 &quot;A String&quot;,
2137 ],
2138 },
2139 &quot;pauseWorkflowExecutions&quot;: True or False, # Optional. If set to true, any upcoming requests for this trigger config will be paused and the executions will be resumed later when the flag is reset. The workflow to which this trigger config belongs has to be in ACTIVE status for the executions to be paused or resumed.
2140 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this trigger config on the UI.
2141 &quot;x&quot;: 42,
2142 &quot;y&quot;: 42,
2143 },
2144 &quot;properties&quot;: { # Configurable properties of the trigger, not to be confused with workflow parameters. E.g. &quot;name&quot; is a property for API triggers and &quot;subscription&quot; is a property for Cloud Pubsub triggers.
2145 &quot;a_key&quot;: &quot;A String&quot;,
2146 },
2147 &quot;startTasks&quot;: [ # Set of tasks numbers from where the workflow execution is started by this trigger. If this is empty, then workflow is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same workflow execution graph).
2148 { # The task that is next in line to be executed, if the condition specified evaluated to true.
2149 &quot;combinedConditions&quot;: [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
2150 { # This message recursively combines constituent conditions using logical AND.
2151 &quot;conditions&quot;: [ # A set of individual constituent conditions.
2152 { # Condition that uses `operator` to evaluate the key against the value.
2153 &quot;eventPropertyKey&quot;: &quot;A String&quot;, # Key that&#x27;s evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.
2154 &quot;operator&quot;: &quot;A String&quot;, # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
2155 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that&#x27;s checked for the key.
2156 &quot;booleanValue&quot;: True or False,
2157 &quot;doubleArray&quot;: {
2158 &quot;values&quot;: [
2159 3.14,
2160 ],
2161 },
2162 &quot;doubleValue&quot;: 3.14,
2163 &quot;intArray&quot;: {
2164 &quot;values&quot;: [
2165 &quot;A String&quot;,
2166 ],
2167 },
2168 &quot;intValue&quot;: &quot;A String&quot;,
2169 &quot;protoValue&quot;: {
2170 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2171 },
2172 &quot;stringArray&quot;: {
2173 &quot;values&quot;: [
2174 &quot;A String&quot;,
2175 ],
2176 },
2177 &quot;stringValue&quot;: &quot;A String&quot;,
2178 },
2179 },
2180 ],
2181 },
2182 ],
2183 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
2184 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
2185 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
2186 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
2187 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
2188 },
2189 ],
2190 &quot;triggerCriteria&quot;: { # Optional. When set, Eventbus will run the task specified in the trigger_criteria and validate the result using the trigger_criteria.condition, and only execute the workflow when result is true.
2191 &quot;condition&quot;: &quot;A String&quot;, # Required. Standard filter expression, when true the workflow will be executed. If there&#x27;s no trigger_criteria_task_implementation_class_name specified, the condition will be validated directly.
2192 &quot;parameters&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 # Optional. To be used in TaskConfig for the implementation class.
2193 &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.
2194 { # Key-value pair of EventBus parameters.
2195 &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.
2196 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
2197 &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.
2198 &quot;booleanArray&quot;: {
2199 &quot;booleanValues&quot;: [
2200 True or False,
2201 ],
2202 },
2203 &quot;booleanValue&quot;: True or False,
2204 &quot;doubleArray&quot;: {
2205 &quot;doubleValues&quot;: [
2206 3.14,
2207 ],
2208 },
2209 &quot;doubleValue&quot;: 3.14,
2210 &quot;intArray&quot;: {
2211 &quot;intValues&quot;: [
2212 &quot;A String&quot;,
2213 ],
2214 },
2215 &quot;intValue&quot;: &quot;A String&quot;,
2216 &quot;protoArray&quot;: {
2217 &quot;protoValues&quot;: [
2218 {
2219 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2220 },
2221 ],
2222 },
2223 &quot;protoValue&quot;: {
2224 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2225 },
2226 &quot;serializedObjectValue&quot;: {
2227 &quot;objectValue&quot;: &quot;A String&quot;,
2228 },
2229 &quot;stringArray&quot;: {
2230 &quot;stringValues&quot;: [
2231 &quot;A String&quot;,
2232 ],
2233 },
2234 &quot;stringValue&quot;: &quot;A String&quot;,
2235 },
2236 },
2237 ],
2238 },
2239 &quot;triggerCriteriaTaskImplementationClassName&quot;: &quot;A String&quot;, # Optional. Implementation class name. The class should implement the “TypedTask” interface.
2240 },
2241 &quot;triggerId&quot;: &quot;A String&quot;, # The backend trigger ID.
2242 &quot;triggerName&quot;: &quot;A String&quot;, # Optional. Name of the trigger This is added to identify the type of trigger. This is avoid the logic on triggerId to identify the trigger_type and push the same to monitoring.
2243 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the workflow on UI.
2244 &quot;triggerType&quot;: &quot;A String&quot;,
2245 },
2246 ],
2247 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
2248 &quot;userLabel&quot;: &quot;A String&quot;, # Optional. A user-defined label that annotates an integration version. Typically, this is only set when the integration version is created.
2249 },
2250 &quot;key&quot;: &quot;A String&quot;, # Required. Unique Key of the IntegrationVersion.
2251 },
2252 ],
2253 },
2254 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated
2255 &quot;usageCount&quot;: &quot;A String&quot;, # Optional. Number of template usages.
2256 &quot;usageInfo&quot;: &quot;A String&quot;, # Optional. Information on how to use the template. This should contain detailed information about usage of the template.
2257 &quot;visibility&quot;: &quot;A String&quot;, # Required. Visibility of the template.
2258 }
2259
2260 x__xgafv: string, V1 error format.
2261 Allowed values
2262 1 - v1 error format
2263 2 - v2 error format
2264
2265 Returns:
2266 An object of the form:
2267
2268 { # Defines the template for Application Integration
2269 &quot;author&quot;: &quot;A String&quot;, # Optional. Creator of the template.
2270 &quot;categories&quot;: [ # Required. Categories associated with the Template. The categories listed below will be utilized for the Template listing.
2271 &quot;A String&quot;,
2272 ],
2273 &quot;components&quot;: [ # Optional. Components being used in the template. This could be used to categorize and filter.
2274 { # Define the components that are present in a template.
2275 &quot;name&quot;: &quot;A String&quot;, # Optional. Name of the component.
2276 &quot;type&quot;: &quot;A String&quot;, # Optional. Type of the component.
2277 },
2278 ],
2279 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
2280 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the template. The length should not be more than 255 characters
2281 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of the template
2282 &quot;docLink&quot;: &quot;A String&quot;, # Optional. Link to template documentation.
2283 &quot;lastUsedTime&quot;: &quot;A String&quot;, # Optional. Time the template was last used.
2284 &quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the template.
2285 &quot;sharedWith&quot;: [ # Required. Resource names with which the template is shared for example ProjectNumber/Ord id
2286 &quot;A String&quot;,
2287 ],
2288 &quot;tags&quot;: [ # Required. Tags which are used to identify templates. These tags could be for business use case, connectors etc.
2289 &quot;A String&quot;,
2290 ],
2291 &quot;templateBundle&quot;: { # Define the bundle of the template. # Required. Bundle which is part of the templates. The template entities in the bundle would be converted to an actual entity.
2292 &quot;integrationVersionTemplate&quot;: { # Define the template of IntegrationVersion. # Required. Main integration templates of the template bundle.
2293 &quot;integrationVersion&quot;: { # The integration version definition. # Required. Templatized version of integration.
2294 &quot;cloudKmsKey&quot;: &quot;A String&quot;, # Optional. Cloud KMS resource name for the CMEK encryption key.
2295 &quot;cloudLoggingDetails&quot;: { # Cloud Logging details for execution info # Optional. Cloud Logging details for the integration version
2296 &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.
2297 &quot;enableCloudLogging&quot;: True or False, # Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.
2298 },
2299 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
2300 &quot;createdFromTemplate&quot;: &quot;A String&quot;, # Optional. Optional. The resource name of the template from which the integration is created.
2301 &quot;databasePersistencePolicy&quot;: &quot;A String&quot;, # Optional. Flag to disable database persistence for execution data, including event execution info, execution export info, execution metadata index and execution param index.
2302 &quot;description&quot;: &quot;A String&quot;, # Optional. The integration description.
2303 &quot;enableVariableMasking&quot;: True or False, # Optional. True if variable masking feature should be turned on for this version
2304 &quot;errorCatcherConfigs&quot;: [ # Optional. Error Catch Task configuration for the integration. It&#x27;s optional.
2305 { # Configuration detail of a error catch task
2306 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give more business context about the error catcher config.
2307 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Required. An error catcher id is string representation for the error catcher config. Within a workflow, error_catcher_id uniquely identifies an error catcher config among all error catcher configs for the workflow
2308 &quot;errorCatcherNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each error catcher config within the workflow on UI.
2309 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular error catcher. Optional.
2310 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
2311 &quot;x&quot;: 42, # Required. X axis of the coordinate
2312 &quot;y&quot;: 42, # Required. Y axis of the coordinate
2313 },
2314 &quot;startErrorTasks&quot;: [ # Required. The set of start tasks that are to be executed for the error catch flow
2315 { # The task that is next in line to be executed, if the condition specified evaluated to true.
2316 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
2317 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
2318 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
2319 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
2320 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
2321 },
2322 ],
2323 },
2324 ],
2325 &quot;integrationConfigParameters&quot;: [ # Optional. Config Parameters that are expected to be passed to the integration when an integration is published. This consists of all the parameters that are expected to provide configuration in the integration execution. This gives the user the ability to provide default values, value, add information like connection url, project based configuration value and also provide data types of each parameter.
2326 { # Integration Config Parameter is defined in the integration config and are used to provide external configuration for integration. It provide information about data types of the expected parameters and provide any default values or value. They can also be used to add custom attributes.
2327 &quot;parameter&quot;: { # 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. # Optional. Integration Parameter to provide the default value, data type and attributes required for the Integration config variables.
2328 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
2329 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
2330 &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.
2331 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
2332 &quot;booleanValues&quot;: [ # Boolean array.
2333 True or False,
2334 ],
2335 },
2336 &quot;booleanValue&quot;: True or False, # Boolean.
2337 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
2338 &quot;doubleValues&quot;: [ # Double number array.
2339 3.14,
2340 ],
2341 },
2342 &quot;doubleValue&quot;: 3.14, # Double Number.
2343 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
2344 &quot;intValues&quot;: [ # Integer array.
2345 &quot;A String&quot;,
2346 ],
2347 },
2348 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
2349 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
2350 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
2351 &quot;stringValues&quot;: [ # String array.
2352 &quot;A String&quot;,
2353 ],
2354 },
2355 &quot;stringValue&quot;: &quot;A String&quot;, # String.
2356 },
2357 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
2358 &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;.
2359 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
2360 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
2361 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
2362 &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.
2363 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
2364 &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.
2365 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
2366 },
2367 &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 or a serialized object.
2368 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
2369 &quot;booleanValues&quot;: [ # Boolean array.
2370 True or False,
2371 ],
2372 },
2373 &quot;booleanValue&quot;: True or False, # Boolean.
2374 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
2375 &quot;doubleValues&quot;: [ # Double number array.
2376 3.14,
2377 ],
2378 },
2379 &quot;doubleValue&quot;: 3.14, # Double Number.
2380 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
2381 &quot;intValues&quot;: [ # Integer array.
2382 &quot;A String&quot;,
2383 ],
2384 },
2385 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
2386 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
2387 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
2388 &quot;stringValues&quot;: [ # String array.
2389 &quot;A String&quot;,
2390 ],
2391 },
2392 &quot;stringValue&quot;: &quot;A String&quot;, # String.
2393 },
2394 },
2395 ],
2396 &quot;integrationParameters&quot;: [ # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
2397 { # 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.
2398 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
2399 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
2400 &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.
2401 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
2402 &quot;booleanValues&quot;: [ # Boolean array.
2403 True or False,
2404 ],
2405 },
2406 &quot;booleanValue&quot;: True or False, # Boolean.
2407 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
2408 &quot;doubleValues&quot;: [ # Double number array.
2409 3.14,
2410 ],
2411 },
2412 &quot;doubleValue&quot;: 3.14, # Double Number.
2413 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
2414 &quot;intValues&quot;: [ # Integer array.
2415 &quot;A String&quot;,
2416 ],
2417 },
2418 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
2419 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
2420 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
2421 &quot;stringValues&quot;: [ # String array.
2422 &quot;A String&quot;,
2423 ],
2424 },
2425 &quot;stringValue&quot;: &quot;A String&quot;, # String.
2426 },
2427 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
2428 &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;.
2429 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
2430 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
2431 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
2432 &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.
2433 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
2434 &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.
2435 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
2436 },
2437 ],
2438 &quot;integrationParametersInternal&quot;: { # LINT.IfChange This is the frontend version of WorkflowParameters. It&#x27;s exactly like the backend version except that instead of flattening protobuf parameters and treating every field and subfield of a protobuf parameter as a separate parameter, the fields/subfields of a protobuf parameter will be nested as &quot;children&quot; (see &#x27;children&#x27; field below) parameters of the parent parameter. Please refer to enterprise/crm/eventbus/proto/workflow_parameters.proto for more information about WorkflowParameters. # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
2439 &quot;parameters&quot;: [ # Parameters are a part of Event and can be used to communiticate between different tasks that are part of the same workflow execution.
2440 {
2441 &quot;attributes&quot;: { # Attributes are additional options that can be associated with each event property. For more information, see # Metadata information about the parameters.
2442 &quot;dataType&quot;: &quot;A String&quot;, # Things like URL, Email, Currency, Timestamp (rather than string, int64...)
2443 &quot;defaultValue&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Used to define defaults.
2444 &quot;booleanValue&quot;: True or False,
2445 &quot;doubleArray&quot;: {
2446 &quot;values&quot;: [
2447 3.14,
2448 ],
2449 },
2450 &quot;doubleValue&quot;: 3.14,
2451 &quot;intArray&quot;: {
2452 &quot;values&quot;: [
2453 &quot;A String&quot;,
2454 ],
2455 },
2456 &quot;intValue&quot;: &quot;A String&quot;,
2457 &quot;protoValue&quot;: {
2458 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2459 },
2460 &quot;stringArray&quot;: {
2461 &quot;values&quot;: [
2462 &quot;A String&quot;,
2463 ],
2464 },
2465 &quot;stringValue&quot;: &quot;A String&quot;,
2466 },
2467 &quot;isRequired&quot;: True or False, # Required for event execution. The validation will be done by the event bus when the event is triggered.
2468 &quot;isSearchable&quot;: True or False, # Used to indicate if a ParameterEntry should be converted to ParamIndexes for ST-Spanner full-text search. DEPRECATED: use searchable.
2469 &quot;logSettings&quot;: { # The LogSettings define the logging attributes for an event property. These attributes are used to map the property to the parameter in the log proto. Also used to define scrubbing/truncation behavior and PII information. # See
2470 &quot;logFieldName&quot;: &quot;A String&quot;, # The name of corresponding logging field of the event property. If omitted, assumes the same name as the event property key.
2471 &quot;seedPeriod&quot;: &quot;A String&quot;,
2472 &quot;seedScope&quot;: &quot;A String&quot;,
2473 },
2474 &quot;masked&quot;: True or False, # True if this workflow parameter should be masked in the logs
2475 &quot;readOnly&quot;: True or False, # Used to indicate if the ParameterEntry is a read only field or not.
2476 &quot;searchable&quot;: &quot;A String&quot;,
2477 &quot;taskVisibility&quot;: [ # List of tasks that can view this property, if empty then all.
2478 &quot;A String&quot;,
2479 ],
2480 },
2481 &quot;children&quot;: [ # Child parameters nested within this parameter. This field only applies to protobuf parameters
2482 # Object with schema name: EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
2483 ],
2484 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
2485 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
2486 &quot;defaultValue&quot;: { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
2487 &quot;booleanArray&quot;: {
2488 &quot;booleanValues&quot;: [
2489 True or False,
2490 ],
2491 },
2492 &quot;booleanValue&quot;: True or False,
2493 &quot;doubleArray&quot;: {
2494 &quot;doubleValues&quot;: [
2495 3.14,
2496 ],
2497 },
2498 &quot;doubleValue&quot;: 3.14,
2499 &quot;intArray&quot;: {
2500 &quot;intValues&quot;: [
2501 &quot;A String&quot;,
2502 ],
2503 },
2504 &quot;intValue&quot;: &quot;A String&quot;,
2505 &quot;jsonValue&quot;: &quot;A String&quot;,
2506 &quot;protoArray&quot;: {
2507 &quot;protoValues&quot;: [
2508 {
2509 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2510 },
2511 ],
2512 },
2513 &quot;protoValue&quot;: {
2514 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2515 },
2516 &quot;serializedObjectValue&quot;: {
2517 &quot;objectValue&quot;: &quot;A String&quot;,
2518 },
2519 &quot;stringArray&quot;: {
2520 &quot;stringValues&quot;: [
2521 &quot;A String&quot;,
2522 ],
2523 },
2524 &quot;stringValue&quot;: &quot;A String&quot;,
2525 },
2526 &quot;description&quot;: &quot;A String&quot;, # Optional. The description about the parameter
2527 &quot;inOutType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
2528 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
2529 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
2530 &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.
2531 &quot;name&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;.
2532 &quot;producedBy&quot;: { # Represents a node identifier (type + id). Next highest id: 3 # 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.
2533 &quot;elementIdentifier&quot;: &quot;A String&quot;, # Configuration of the edge.
2534 &quot;elementType&quot;: &quot;A String&quot;, # Destination node where the edge ends. It can only be a task config.
2535 },
2536 &quot;producer&quot;: &quot;A String&quot;,
2537 &quot;protoDefName&quot;: &quot;A String&quot;, # The name of the protobuf type if the parameter has a protobuf data type.
2538 &quot;protoDefPath&quot;: &quot;A String&quot;, # If the data type is of type proto or proto array, this field needs to be populated with the fully qualified proto name. This message, for example, would be &quot;enterprise.crm.frontends.eventbus.proto.WorkflowParameterEntry&quot;.
2539 &quot;required&quot;: True or False,
2540 },
2541 ],
2542 },
2543 &quot;lastModifierEmail&quot;: &quot;A String&quot;, # Optional. The last modifier&#x27;s email address. Generated based on the End User Credentials/LOAS role of the user making the call.
2544 &quot;lockHolder&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.
2545 &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
2546 &quot;origin&quot;: &quot;A String&quot;, # Optional. The origin that indicates where this integration is coming from.
2547 &quot;parentTemplateId&quot;: &quot;A String&quot;, # Optional. The id of the template which was used to create this integration_version.
2548 &quot;runAsServiceAccount&quot;: &quot;A String&quot;, # Optional. The run-as service account email, if set and auth config is not configured, that will be used to generate auth token to be used in Connector task, Rest caller task and Cloud function task.
2549 &quot;snapshotNumber&quot;: &quot;A String&quot;, # Output only. An increasing sequence that is set when a new snapshot is created. The last created snapshot can be identified by [workflow_name, org_id latest(snapshot_number)]. However, last created snapshot need not be same as the HEAD. So users should always use &quot;HEAD&quot; tag to identify the head.
2550 &quot;state&quot;: &quot;A String&quot;, # Output only. User should not set it as an input.
2551 &quot;status&quot;: &quot;A String&quot;, # Output only. Generated by eventbus. User should not set it as an input.
2552 &quot;taskConfigs&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
2553 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
2554 &quot;conditionalFailurePolicies&quot;: { # Conditional task failur retry strategies # Optional. The list of conditional failure policies that will be applied to the task in order.
2555 &quot;defaultFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # The default failure policy to be applied if no conditional failure policy matches.
2556 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
2557 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
2558 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
2559 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
2560 },
2561 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
2562 { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
2563 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
2564 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
2565 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
2566 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
2567 },
2568 ],
2569 },
2570 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
2571 &quot;displayName&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to this TaskConfig in the UI.
2572 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
2573 &quot;externalTaskType&quot;: &quot;A String&quot;, # Optional. External task type of the task
2574 &quot;failurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
2575 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
2576 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
2577 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
2578 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
2579 },
2580 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # Optional. If set, overrides the option configured in the Task implementation class.
2581 &quot;nextTasks&quot;: [ # Optional. The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
2582 { # The task that is next in line to be executed, if the condition specified evaluated to true.
2583 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
2584 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
2585 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
2586 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
2587 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
2588 },
2589 ],
2590 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution of the next set of tasks for the current task.
2591 &quot;parameters&quot;: { # Optional. The customized parameters the user can pass to this task.
2592 &quot;a_key&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
2593 &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.
2594 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
2595 &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.
2596 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
2597 &quot;booleanValues&quot;: [ # Boolean array.
2598 True or False,
2599 ],
2600 },
2601 &quot;booleanValue&quot;: True or False, # Boolean.
2602 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
2603 &quot;doubleValues&quot;: [ # Double number array.
2604 3.14,
2605 ],
2606 },
2607 &quot;doubleValue&quot;: 3.14, # Double Number.
2608 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
2609 &quot;intValues&quot;: [ # Integer array.
2610 &quot;A String&quot;,
2611 ],
2612 },
2613 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
2614 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
2615 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
2616 &quot;stringValues&quot;: [ # String array.
2617 &quot;A String&quot;,
2618 ],
2619 },
2620 &quot;stringValue&quot;: &quot;A String&quot;, # String.
2621 },
2622 },
2623 },
2624 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
2625 &quot;x&quot;: 42, # Required. X axis of the coordinate
2626 &quot;y&quot;: 42, # Required. Y axis of the coordinate
2627 },
2628 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Optional. Determines what action to take upon successful task completion.
2629 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
2630 },
2631 &quot;synchronousCallFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
2632 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
2633 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
2634 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
2635 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
2636 },
2637 &quot;task&quot;: &quot;A String&quot;, # Optional. The name for the task.
2638 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution strategy of this task.
2639 &quot;taskId&quot;: &quot;A String&quot;, # Required. The identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_id`).
2640 &quot;taskTemplate&quot;: &quot;A String&quot;, # Optional. Used to define task-template name if task is of type task-template
2641 },
2642 ],
2643 &quot;taskConfigsInternal&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
2644 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
2645 &quot;alertConfigs&quot;: [ # Alert configurations on error rate, warning rate, number of runs, durations, etc.
2646 { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event.
2647 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week).
2648 &quot;alertDisabled&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.
2649 &quot;alertName&quot;: &quot;A String&quot;, # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique in within the scope of the containing workflow.
2650 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration. Must be a client enabled in one of the containing workflow&#x27;s triggers.
2651 &quot;durationThresholdMs&quot;: &quot;A String&quot;, # Should be specified only for TASK_AVERAGE_DURATION and TASK_PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
2652 &quot;errorEnumList&quot;: { # List of error enums for alerts.
2653 &quot;enumStrings&quot;: [
2654 &quot;A String&quot;,
2655 ],
2656 &quot;filterType&quot;: &quot;A String&quot;,
2657 },
2658 &quot;metricType&quot;: &quot;A String&quot;,
2659 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
2660 &quot;onlyFinalAttempt&quot;: True or False, # Only count final task attempts, not retries.
2661 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
2662 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
2663 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
2664 &quot;absolute&quot;: &quot;A String&quot;,
2665 &quot;percentage&quot;: 42,
2666 },
2667 &quot;warningEnumList&quot;: { # List of error enums for alerts.
2668 &quot;enumStrings&quot;: [
2669 &quot;A String&quot;,
2670 ],
2671 &quot;filterType&quot;: &quot;A String&quot;,
2672 },
2673 },
2674 ],
2675 &quot;conditionalFailurePolicies&quot;: { # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
2676 &quot;defaultFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # The default failure policy to be applied if no conditional failure policy matches
2677 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
2678 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
2679 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
2680 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
2681 },
2682 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
2683 { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
2684 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
2685 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
2686 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
2687 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
2688 },
2689 ],
2690 },
2691 &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
2692 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address. Auto-generated from the user&#x27;s email.
2693 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
2694 &quot;disableStrictTypeValidation&quot;: True or False, # If this config contains a TypedTask, allow validation to succeed if an input is read from the output of another TypedTask whose output type is declared as a superclass of the requested input type. For instance, if the previous task declares an output of type Message, any task with this flag enabled will pass validation when attempting to read any proto Message type from the resultant Event parameter.
2695 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
2696 &quot;externalTaskType&quot;: &quot;A String&quot;,
2697 &quot;failurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
2698 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
2699 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
2700 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
2701 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
2702 },
2703 &quot;incomingEdgeCount&quot;: 42, # The number of edges leading into this TaskConfig.
2704 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # If set, overrides the option configured in the Task implementation class.
2705 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this TaskConfig in the UI.
2706 &quot;lastModifiedTime&quot;: &quot;A String&quot;, # Auto-generated.
2707 &quot;nextTasks&quot;: [ # The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
2708 { # The task that is next in line to be executed, if the condition specified evaluated to true.
2709 &quot;combinedConditions&quot;: [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
2710 { # This message recursively combines constituent conditions using logical AND.
2711 &quot;conditions&quot;: [ # A set of individual constituent conditions.
2712 { # Condition that uses `operator` to evaluate the key against the value.
2713 &quot;eventPropertyKey&quot;: &quot;A String&quot;, # Key that&#x27;s evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.
2714 &quot;operator&quot;: &quot;A String&quot;, # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
2715 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that&#x27;s checked for the key.
2716 &quot;booleanValue&quot;: True or False,
2717 &quot;doubleArray&quot;: {
2718 &quot;values&quot;: [
2719 3.14,
2720 ],
2721 },
2722 &quot;doubleValue&quot;: 3.14,
2723 &quot;intArray&quot;: {
2724 &quot;values&quot;: [
2725 &quot;A String&quot;,
2726 ],
2727 },
2728 &quot;intValue&quot;: &quot;A String&quot;,
2729 &quot;protoValue&quot;: {
2730 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2731 },
2732 &quot;stringArray&quot;: {
2733 &quot;values&quot;: [
2734 &quot;A String&quot;,
2735 ],
2736 },
2737 &quot;stringValue&quot;: &quot;A String&quot;,
2738 },
2739 },
2740 ],
2741 },
2742 ],
2743 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
2744 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
2745 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
2746 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
2747 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
2748 },
2749 ],
2750 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # The policy dictating the execution of the next set of tasks for the current task.
2751 &quot;parameters&quot;: { # The customized parameters the user can pass to this task.
2752 &quot;a_key&quot;: { # Key-value pair of EventBus parameters.
2753 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
2754 &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.
2755 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
2756 &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.
2757 &quot;booleanArray&quot;: {
2758 &quot;booleanValues&quot;: [
2759 True or False,
2760 ],
2761 },
2762 &quot;booleanValue&quot;: True or False,
2763 &quot;doubleArray&quot;: {
2764 &quot;doubleValues&quot;: [
2765 3.14,
2766 ],
2767 },
2768 &quot;doubleValue&quot;: 3.14,
2769 &quot;intArray&quot;: {
2770 &quot;intValues&quot;: [
2771 &quot;A String&quot;,
2772 ],
2773 },
2774 &quot;intValue&quot;: &quot;A String&quot;,
2775 &quot;jsonValue&quot;: &quot;A String&quot;,
2776 &quot;protoArray&quot;: {
2777 &quot;protoValues&quot;: [
2778 {
2779 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2780 },
2781 ],
2782 },
2783 &quot;protoValue&quot;: {
2784 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2785 },
2786 &quot;serializedObjectValue&quot;: {
2787 &quot;objectValue&quot;: &quot;A String&quot;,
2788 },
2789 &quot;stringArray&quot;: {
2790 &quot;stringValues&quot;: [
2791 &quot;A String&quot;,
2792 ],
2793 },
2794 &quot;stringValue&quot;: &quot;A String&quot;,
2795 },
2796 },
2797 },
2798 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this task config on the UI.
2799 &quot;x&quot;: 42,
2800 &quot;y&quot;: 42,
2801 },
2802 &quot;precondition&quot;: &quot;A String&quot;, # Optional. Standard filter expression evaluated before execution. Independent of other conditions and tasks. Can be used to enable rollout. e.g. &quot;rollout(5)&quot; will only allow 5% of incoming traffic to task.
2803 &quot;preconditionLabel&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to precondition in the UI.
2804 &quot;rollbackStrategy&quot;: { # Next available id: 4 # Optional. Contains information about what needs to be done upon failure (either a permanent error or after it has been retried too many times).
2805 &quot;parameters&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 # Optional. The customized parameters the user can pass to this task.
2806 &quot;parameters&quot;: [ # Parameters are a part of Event and can be used to communicate between different tasks that are part of the same workflow execution.
2807 { # Key-value pair of EventBus parameters.
2808 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
2809 &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.
2810 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
2811 &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.
2812 &quot;booleanArray&quot;: {
2813 &quot;booleanValues&quot;: [
2814 True or False,
2815 ],
2816 },
2817 &quot;booleanValue&quot;: True or False,
2818 &quot;doubleArray&quot;: {
2819 &quot;doubleValues&quot;: [
2820 3.14,
2821 ],
2822 },
2823 &quot;doubleValue&quot;: 3.14,
2824 &quot;intArray&quot;: {
2825 &quot;intValues&quot;: [
2826 &quot;A String&quot;,
2827 ],
2828 },
2829 &quot;intValue&quot;: &quot;A String&quot;,
2830 &quot;jsonValue&quot;: &quot;A String&quot;,
2831 &quot;protoArray&quot;: {
2832 &quot;protoValues&quot;: [
2833 {
2834 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2835 },
2836 ],
2837 },
2838 &quot;protoValue&quot;: {
2839 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2840 },
2841 &quot;serializedObjectValue&quot;: {
2842 &quot;objectValue&quot;: &quot;A String&quot;,
2843 },
2844 &quot;stringArray&quot;: {
2845 &quot;stringValues&quot;: [
2846 &quot;A String&quot;,
2847 ],
2848 },
2849 &quot;stringValue&quot;: &quot;A String&quot;,
2850 },
2851 },
2852 ],
2853 },
2854 &quot;rollbackTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. This is the name of the task that needs to be executed upon rollback of this task.
2855 &quot;taskNumbersToRollback&quot;: [ # Required. These are the tasks numbers of the tasks whose `rollback_strategy.rollback_task_implementation_class_name` needs to be executed upon failure of this task.
2856 &quot;A String&quot;,
2857 ],
2858 },
2859 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Determines what action to take upon successful task completion.
2860 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
2861 },
2862 &quot;synchronousCallFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
2863 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
2864 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
2865 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
2866 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
2867 },
2868 &quot;taskEntity&quot;: { # Contains a task&#x27;s metadata and associated information. Next available id: 7 # Copy of the task entity that this task config is an instance of.
2869 &quot;disabledForVpcSc&quot;: True or False, # True if the task has conflict with vpcsc
2870 &quot;metadata&quot;: { # TaskMetadata are attributes that are associated to every common Task we have. # Metadata inclueds the task name, author and so on.
2871 &quot;activeTaskName&quot;: &quot;A String&quot;, # The new task name to replace the current task if it is deprecated. Otherwise, it is the same as the current task name.
2872 &quot;admins&quot;: [
2873 { # Admins are owners of a Task, and have all permissions on a particular task identified by the task name. By default, Eventbus periodically scans all task metadata and syncs (adds) any new admins defined here to Zanzibar.
2874 &quot;googleGroupEmail&quot;: &quot;A String&quot;,
2875 &quot;userEmail&quot;: &quot;A String&quot;,
2876 },
2877 ],
2878 &quot;category&quot;: &quot;A String&quot;,
2879 &quot;codeSearchLink&quot;: &quot;A String&quot;, # The Code Search link to the Task Java file.
2880 &quot;defaultJsonValidationOption&quot;: &quot;A String&quot;, # Controls whether JSON workflow parameters are validated against provided schemas before and/or after this task&#x27;s execution.
2881 &quot;defaultSpec&quot;: &quot;A String&quot;, # Contains the initial configuration of the task with default values set. For now, The string should be compatible to an ASCII-proto format.
2882 &quot;description&quot;: &quot;A String&quot;, # In a few sentences, describe the purpose and usage of the task.
2883 &quot;descriptiveName&quot;: &quot;A String&quot;, # The string name to show on the task list on the Workflow editor screen. This should be a very short, one to two words name for the task. (e.g. &quot;Send Mail&quot;)
2884 &quot;docMarkdown&quot;: &quot;A String&quot;, # Snippet of markdown documentation to embed in the RHP for this task.
2885 &quot;externalCategory&quot;: &quot;A String&quot;,
2886 &quot;externalCategorySequence&quot;: 42, # Sequence with which the task in specific category to be displayed in task discovery panel for external users.
2887 &quot;externalDocHtml&quot;: &quot;A String&quot;, # External-facing documention embedded in the RHP for this task.
2888 &quot;externalDocLink&quot;: &quot;A String&quot;, # Doc link for external-facing documentation (separate from g3doc).
2889 &quot;externalDocMarkdown&quot;: &quot;A String&quot;, # DEPRECATED: Use external_doc_html.
2890 &quot;g3DocLink&quot;: &quot;A String&quot;, # URL to the associated G3 Doc for the task if available
2891 &quot;iconLink&quot;: &quot;A String&quot;, # URL to gstatic image icon for this task. This icon shows up on the task list panel along with the task name in the Workflow Editor screen. Use the 24p, 2x, gray color icon image format.
2892 &quot;isDeprecated&quot;: True or False, # The deprecation status of the current task. Default value is false;
2893 &quot;name&quot;: &quot;A String&quot;, # The actual class name or the annotated name of the task. Task Author should initialize this field with value from the getName() method of the Task class.
2894 &quot;standaloneExternalDocHtml&quot;: &quot;A String&quot;, # External-facing documention for standalone IP in pantheon embedded in the RHP for this task. Non null only if different from external_doc_html
2895 &quot;status&quot;: &quot;A String&quot;, # Allows author to indicate if the task is ready to use or not. If not set, then it will default to INACTIVE.
2896 &quot;system&quot;: &quot;A String&quot;,
2897 &quot;tags&quot;: [ # A set of tags that pertain to a particular task. This can be used to improve the searchability of tasks with several names (&quot;REST Caller&quot; vs. &quot;Call REST Endpoint&quot;) or to help users find tasks based on related words.
2898 &quot;A String&quot;,
2899 ],
2900 },
2901 &quot;paramSpecs&quot;: { # Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask.
2902 &quot;parameters&quot;: [
2903 { # Key-value pair of EventBus task parameters. Next id: 13
2904 &quot;className&quot;: &quot;A String&quot;, # The FQCN of the Java object this represents. A string, for example, would be &quot;java.lang.String&quot;. If this is &quot;java.lang.Object&quot;, the parameter can be of any type.
2905 &quot;collectionElementClassName&quot;: &quot;A String&quot;, # If it is a collection of objects, this would be the FCQN of every individual element in the collection. If this is &quot;java.lang.Object&quot;, the parameter is a collection of any type.
2906 &quot;config&quot;: { # Optional fields, such as help text and other useful info.
2907 &quot;descriptivePhrase&quot;: &quot;A String&quot;, # A short phrase to describe what this parameter contains.
2908 &quot;helpText&quot;: &quot;A String&quot;, # Detailed help text for this parameter containing information not provided elsewhere. For example, instructions on how to migrate from a deprecated parameter.
2909 &quot;hideDefaultValue&quot;: True or False, # Whether the default value is hidden in the UI.
2910 &quot;inputDisplayOption&quot;: &quot;A String&quot;,
2911 &quot;isHidden&quot;: True or False, # Whether this field is hidden in the UI.
2912 &quot;label&quot;: &quot;A String&quot;, # A user-friendly label for the parameter.
2913 &quot;parameterNameOption&quot;: &quot;A String&quot;,
2914 &quot;subSectionLabel&quot;: &quot;A String&quot;, # A user-friendly label for subSection under which the parameter will be displayed.
2915 &quot;uiPlaceholderText&quot;: &quot;A String&quot;, # Placeholder text which will appear in the UI input form for this parameter.
2916 },
2917 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
2918 &quot;defaultValue&quot;: { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
2919 &quot;booleanArray&quot;: {
2920 &quot;booleanValues&quot;: [
2921 True or False,
2922 ],
2923 },
2924 &quot;booleanValue&quot;: True or False,
2925 &quot;doubleArray&quot;: {
2926 &quot;doubleValues&quot;: [
2927 3.14,
2928 ],
2929 },
2930 &quot;doubleValue&quot;: 3.14,
2931 &quot;intArray&quot;: {
2932 &quot;intValues&quot;: [
2933 &quot;A String&quot;,
2934 ],
2935 },
2936 &quot;intValue&quot;: &quot;A String&quot;,
2937 &quot;jsonValue&quot;: &quot;A String&quot;,
2938 &quot;protoArray&quot;: {
2939 &quot;protoValues&quot;: [
2940 {
2941 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2942 },
2943 ],
2944 },
2945 &quot;protoValue&quot;: {
2946 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2947 },
2948 &quot;serializedObjectValue&quot;: {
2949 &quot;objectValue&quot;: &quot;A String&quot;,
2950 },
2951 &quot;stringArray&quot;: {
2952 &quot;stringValues&quot;: [
2953 &quot;A String&quot;,
2954 ],
2955 },
2956 &quot;stringValue&quot;: &quot;A String&quot;,
2957 },
2958 &quot;isDeprecated&quot;: True or False, # If set, this entry is deprecated, so further use of this parameter should be prohibited.
2959 &quot;isOutput&quot;: True or False,
2960 &quot;jsonSchema&quot;: &quot;A String&quot;, # If the data_type is JSON_VALUE, then this will define its schema.
2961 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given task. These parameters must be predefined in the workflow definition.
2962 &quot;protoDef&quot;: { # Populated if this represents a proto or proto array.
2963 &quot;fullName&quot;: &quot;A String&quot;, # The fully-qualified proto name. This message, for example, would be &quot;enterprise.crm.eventbus.proto.ParamSpecEntry.ProtoDefinition&quot;.
2964 &quot;path&quot;: &quot;A String&quot;, # Path to the proto file that contains the message type&#x27;s definition.
2965 },
2966 &quot;required&quot;: True or False, # If set, the user must provide an input value for this parameter.
2967 &quot;validationRule&quot;: { # Rule used to validate inputs (individual values and collection elements) for this parameter.
2968 &quot;doubleRange&quot;: { # Range used to validate doubles and floats.
2969 &quot;max&quot;: 3.14, # The inclusive maximum of the acceptable range.
2970 &quot;min&quot;: 3.14, # The inclusive minimum of the acceptable range.
2971 },
2972 &quot;intRange&quot;: { # Range used to validate longs and ints.
2973 &quot;max&quot;: &quot;A String&quot;, # The inclusive maximum of the acceptable range.
2974 &quot;min&quot;: &quot;A String&quot;, # The inclusive minimum of the acceptable range.
2975 },
2976 &quot;stringRegex&quot;: { # Rule used to validate strings.
2977 &quot;exclusive&quot;: True or False, # Whether the regex matcher is applied exclusively (if true, matching values will be rejected).
2978 &quot;regex&quot;: &quot;A String&quot;, # The regex applied to the input value(s).
2979 },
2980 },
2981 },
2982 ],
2983 },
2984 &quot;stats&quot;: { # Stats for the requested dimensions: QPS, duration, and error/warning rate # Deprecated - statistics from the Monarch query.
2985 &quot;dimensions&quot;: { # Dimensions that these stats have been aggregated on.
2986 &quot;clientId&quot;: &quot;A String&quot;,
2987 &quot;enumFilterType&quot;: &quot;A String&quot;, # Whether to include or exclude the enums matching the regex.
2988 &quot;errorEnumString&quot;: &quot;A String&quot;,
2989 &quot;retryAttempt&quot;: &quot;A String&quot;,
2990 &quot;taskName&quot;: &quot;A String&quot;,
2991 &quot;taskNumber&quot;: &quot;A String&quot;,
2992 &quot;triggerId&quot;: &quot;A String&quot;, # Stats have been or will be aggregated on set fields for any semantically-meaningful combination.
2993 &quot;warningEnumString&quot;: &quot;A String&quot;,
2994 &quot;workflowId&quot;: &quot;A String&quot;,
2995 &quot;workflowName&quot;: &quot;A String&quot;,
2996 },
2997 &quot;durationInSeconds&quot;: 3.14, # Average duration in seconds.
2998 &quot;errorRate&quot;: 3.14, # Average error rate.
2999 &quot;qps&quot;: 3.14, # Queries per second.
3000 &quot;warningRate&quot;: 3.14, # Average warning rate.
3001 },
3002 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
3003 &quot;uiConfig&quot;: { # Task authors would use this type to configure the UI for a particular task by specifying what UI config modules should be included to compose the UI. Learn more about config module framework: # UI configuration for this task Also associated with the METADATA mask.
3004 &quot;taskUiModuleConfigs&quot;: [ # Configurations of included config modules.
3005 { # Task author would use this type to configure a config module.
3006 &quot;moduleId&quot;: &quot;A String&quot;, # ID of the config module.
3007 },
3008 ],
3009 },
3010 },
3011 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # The policy dictating the execution strategy of this task.
3012 &quot;taskName&quot;: &quot;A String&quot;, # The name for the task.
3013 &quot;taskNumber&quot;: &quot;A String&quot;, # REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`).
3014 &quot;taskSpec&quot;: &quot;A String&quot;, # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old &quot;parameters&quot; field.
3015 &quot;taskTemplateName&quot;: &quot;A String&quot;, # Used to define task-template name if task is of type task-template
3016 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
3017 },
3018 ],
3019 &quot;teardown&quot;: { # Optional. Contains a graph of tasks that will be executed before putting the event in a terminal state (SUCCEEDED/FAILED/FATAL), regardless of success or failure, similar to &quot;finally&quot; in code.
3020 &quot;teardownTaskConfigs&quot;: [ # Required.
3021 {
3022 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address.
3023 &quot;name&quot;: &quot;A String&quot;, # Required. Unique identifier of the teardown task within this Config. We use this field as the identifier to find next teardown tasks.
3024 &quot;nextTeardownTask&quot;: { # The teardown task that is next in line to be executed. We support only sequential execution of teardown tasks (i.e. no branching).
3025 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the next teardown task.
3026 },
3027 &quot;parameters&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 the user can pass to this task.
3028 &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.
3029 { # Key-value pair of EventBus parameters.
3030 &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.
3031 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
3032 &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.
3033 &quot;booleanArray&quot;: {
3034 &quot;booleanValues&quot;: [
3035 True or False,
3036 ],
3037 },
3038 &quot;booleanValue&quot;: True or False,
3039 &quot;doubleArray&quot;: {
3040 &quot;doubleValues&quot;: [
3041 3.14,
3042 ],
3043 },
3044 &quot;doubleValue&quot;: 3.14,
3045 &quot;intArray&quot;: {
3046 &quot;intValues&quot;: [
3047 &quot;A String&quot;,
3048 ],
3049 },
3050 &quot;intValue&quot;: &quot;A String&quot;,
3051 &quot;protoArray&quot;: {
3052 &quot;protoValues&quot;: [
3053 {
3054 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3055 },
3056 ],
3057 },
3058 &quot;protoValue&quot;: {
3059 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3060 },
3061 &quot;serializedObjectValue&quot;: {
3062 &quot;objectValue&quot;: &quot;A String&quot;,
3063 },
3064 &quot;stringArray&quot;: {
3065 &quot;stringValues&quot;: [
3066 &quot;A String&quot;,
3067 ],
3068 },
3069 &quot;stringValue&quot;: &quot;A String&quot;,
3070 },
3071 },
3072 ],
3073 },
3074 &quot;properties&quot;: { # LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus.
3075 &quot;properties&quot;: [ # An unordered list of property entries.
3076 { # Key-value pair of EventBus property.
3077 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding property value. This should be unique for a given fired event. The Tasks should be aware of the keys used while firing the events for them to be able to retrieve the values.
3078 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Values for the defined keys. Each value can either be string, int, double or any proto message.
3079 &quot;booleanValue&quot;: True or False,
3080 &quot;doubleArray&quot;: {
3081 &quot;values&quot;: [
3082 3.14,
3083 ],
3084 },
3085 &quot;doubleValue&quot;: 3.14,
3086 &quot;intArray&quot;: {
3087 &quot;values&quot;: [
3088 &quot;A String&quot;,
3089 ],
3090 },
3091 &quot;intValue&quot;: &quot;A String&quot;,
3092 &quot;protoValue&quot;: {
3093 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3094 },
3095 &quot;stringArray&quot;: {
3096 &quot;values&quot;: [
3097 &quot;A String&quot;,
3098 ],
3099 },
3100 &quot;stringValue&quot;: &quot;A String&quot;,
3101 },
3102 },
3103 ],
3104 },
3105 &quot;teardownTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. Implementation class name.
3106 },
3107 ],
3108 },
3109 &quot;triggerConfigs&quot;: [ # Optional. Trigger configurations.
3110 { # Configuration detail of a trigger.
3111 &quot;alertConfig&quot;: [ # Optional. An alert threshold configuration for the [trigger + client + integration] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + integration] when published.
3112 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
3113 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
3114 &quot;alertThreshold&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
3115 &quot;disableAlert&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this integration alert.
3116 &quot;displayName&quot;: &quot;A String&quot;, # Name of the alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the integration.
3117 &quot;durationThreshold&quot;: &quot;A String&quot;, # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
3118 &quot;metricType&quot;: &quot;A String&quot;, # The type of metric.
3119 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
3120 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
3121 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
3122 &quot;absolute&quot;: &quot;A String&quot;, # Absolute value threshold.
3123 &quot;percentage&quot;: 42, # Percentage threshold.
3124 },
3125 },
3126 ],
3127 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration # Optional. Cloud Scheduler Trigger related metadata
3128 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
3129 &quot;errorMessage&quot;: &quot;A String&quot;, # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations
3130 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
3131 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
3132 },
3133 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
3134 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
3135 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
3136 &quot;names&quot;: [ # Optional. List of variable names.
3137 &quot;A String&quot;,
3138 ],
3139 },
3140 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular trigger.
3141 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. Dictates how next tasks will be executed.
3142 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
3143 &quot;names&quot;: [ # Optional. List of variable names.
3144 &quot;A String&quot;,
3145 ],
3146 },
3147 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
3148 &quot;x&quot;: 42, # Required. X axis of the coordinate
3149 &quot;y&quot;: 42, # Required. Y axis of the coordinate
3150 },
3151 &quot;properties&quot;: { # Optional. Configurable properties of the trigger, not to be confused with integration parameters. E.g. &quot;name&quot; is a property for API triggers and &quot;subscription&quot; is a property for Pub/sub triggers.
3152 &quot;a_key&quot;: &quot;A String&quot;,
3153 },
3154 &quot;startTasks&quot;: [ # Optional. Set of tasks numbers from where the integration execution is started by this trigger. If this is empty, then integration is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same integration execution graph).
3155 { # The task that is next in line to be executed, if the condition specified evaluated to true.
3156 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
3157 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
3158 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
3159 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
3160 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
3161 },
3162 ],
3163 &quot;trigger&quot;: &quot;A String&quot;, # Optional. Name of the trigger. Example: &quot;API Trigger&quot;, &quot;Cloud Pub Sub Trigger&quot; When set will be sent out to monitoring dashabord for tracking purpose.
3164 &quot;triggerId&quot;: &quot;A String&quot;, # Optional. Auto-generated trigger ID. The ID is based on the properties that you define in the trigger config. For example, for an API trigger, the trigger ID follows the format: api_trigger/TRIGGER_NAME Where trigger config has properties with value {&quot;Trigger name&quot;: TRIGGER_NAME}
3165 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the integration on UI.
3166 &quot;triggerType&quot;: &quot;A String&quot;, # Optional. Type of trigger
3167 },
3168 ],
3169 &quot;triggerConfigsInternal&quot;: [ # Optional. Trigger configurations.
3170 { # Configuration detail of a trigger. Next available id: 22
3171 &quot;alertConfig&quot;: [ # An alert threshold configuration for the [trigger + client + workflow] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + workflow] when published.
3172 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
3173 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
3174 &quot;alertDisabled&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.
3175 &quot;alertName&quot;: &quot;A String&quot;, # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the workflow.
3176 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration.
3177 &quot;durationThresholdMs&quot;: &quot;A String&quot;, # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
3178 &quot;errorEnumList&quot;: { # List of error enums for alerts.
3179 &quot;enumStrings&quot;: [
3180 &quot;A String&quot;,
3181 ],
3182 &quot;filterType&quot;: &quot;A String&quot;,
3183 },
3184 &quot;metricType&quot;: &quot;A String&quot;,
3185 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
3186 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
3187 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
3188 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
3189 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
3190 &quot;absolute&quot;: &quot;A String&quot;,
3191 &quot;percentage&quot;: 42,
3192 },
3193 &quot;warningEnumList&quot;: { # List of error enums for alerts.
3194 &quot;enumStrings&quot;: [
3195 &quot;A String&quot;,
3196 ],
3197 &quot;filterType&quot;: &quot;A String&quot;,
3198 },
3199 },
3200 ],
3201 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration
3202 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
3203 &quot;errorMessage&quot;: &quot;A String&quot;, # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations
3204 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
3205 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
3206 },
3207 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
3208 &quot;enabledClients&quot;: [ # Required. The list of client ids which are enabled to execute the workflow using this trigger. In other words, these clients have the workflow execution privledges for this trigger. For API trigger, the client id in the incoming request is validated against the list of enabled clients. For non-API triggers, one workflow execution is triggered on behalf of each enabled client.
3209 &quot;A String&quot;,
3210 ],
3211 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
3212 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
3213 &quot;names&quot;: [ # Optional. List of variable names.
3214 &quot;A String&quot;,
3215 ],
3216 },
3217 &quot;label&quot;: &quot;A String&quot;, # The user created label for a particular trigger.
3218 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Dictates how next tasks will be executed.
3219 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
3220 &quot;names&quot;: [ # Optional. List of variable names.
3221 &quot;A String&quot;,
3222 ],
3223 },
3224 &quot;pauseWorkflowExecutions&quot;: True or False, # Optional. If set to true, any upcoming requests for this trigger config will be paused and the executions will be resumed later when the flag is reset. The workflow to which this trigger config belongs has to be in ACTIVE status for the executions to be paused or resumed.
3225 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this trigger config on the UI.
3226 &quot;x&quot;: 42,
3227 &quot;y&quot;: 42,
3228 },
3229 &quot;properties&quot;: { # Configurable properties of the trigger, not to be confused with workflow parameters. E.g. &quot;name&quot; is a property for API triggers and &quot;subscription&quot; is a property for Cloud Pubsub triggers.
3230 &quot;a_key&quot;: &quot;A String&quot;,
3231 },
3232 &quot;startTasks&quot;: [ # Set of tasks numbers from where the workflow execution is started by this trigger. If this is empty, then workflow is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same workflow execution graph).
3233 { # The task that is next in line to be executed, if the condition specified evaluated to true.
3234 &quot;combinedConditions&quot;: [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
3235 { # This message recursively combines constituent conditions using logical AND.
3236 &quot;conditions&quot;: [ # A set of individual constituent conditions.
3237 { # Condition that uses `operator` to evaluate the key against the value.
3238 &quot;eventPropertyKey&quot;: &quot;A String&quot;, # Key that&#x27;s evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.
3239 &quot;operator&quot;: &quot;A String&quot;, # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
3240 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that&#x27;s checked for the key.
3241 &quot;booleanValue&quot;: True or False,
3242 &quot;doubleArray&quot;: {
3243 &quot;values&quot;: [
3244 3.14,
3245 ],
3246 },
3247 &quot;doubleValue&quot;: 3.14,
3248 &quot;intArray&quot;: {
3249 &quot;values&quot;: [
3250 &quot;A String&quot;,
3251 ],
3252 },
3253 &quot;intValue&quot;: &quot;A String&quot;,
3254 &quot;protoValue&quot;: {
3255 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3256 },
3257 &quot;stringArray&quot;: {
3258 &quot;values&quot;: [
3259 &quot;A String&quot;,
3260 ],
3261 },
3262 &quot;stringValue&quot;: &quot;A String&quot;,
3263 },
3264 },
3265 ],
3266 },
3267 ],
3268 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
3269 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
3270 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
3271 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
3272 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
3273 },
3274 ],
3275 &quot;triggerCriteria&quot;: { # Optional. When set, Eventbus will run the task specified in the trigger_criteria and validate the result using the trigger_criteria.condition, and only execute the workflow when result is true.
3276 &quot;condition&quot;: &quot;A String&quot;, # Required. Standard filter expression, when true the workflow will be executed. If there&#x27;s no trigger_criteria_task_implementation_class_name specified, the condition will be validated directly.
3277 &quot;parameters&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 # Optional. To be used in TaskConfig for the implementation class.
3278 &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.
3279 { # Key-value pair of EventBus parameters.
3280 &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.
3281 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
3282 &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.
3283 &quot;booleanArray&quot;: {
3284 &quot;booleanValues&quot;: [
3285 True or False,
3286 ],
3287 },
3288 &quot;booleanValue&quot;: True or False,
3289 &quot;doubleArray&quot;: {
3290 &quot;doubleValues&quot;: [
3291 3.14,
3292 ],
3293 },
3294 &quot;doubleValue&quot;: 3.14,
3295 &quot;intArray&quot;: {
3296 &quot;intValues&quot;: [
3297 &quot;A String&quot;,
3298 ],
3299 },
3300 &quot;intValue&quot;: &quot;A String&quot;,
3301 &quot;protoArray&quot;: {
3302 &quot;protoValues&quot;: [
3303 {
3304 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3305 },
3306 ],
3307 },
3308 &quot;protoValue&quot;: {
3309 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3310 },
3311 &quot;serializedObjectValue&quot;: {
3312 &quot;objectValue&quot;: &quot;A String&quot;,
3313 },
3314 &quot;stringArray&quot;: {
3315 &quot;stringValues&quot;: [
3316 &quot;A String&quot;,
3317 ],
3318 },
3319 &quot;stringValue&quot;: &quot;A String&quot;,
3320 },
3321 },
3322 ],
3323 },
3324 &quot;triggerCriteriaTaskImplementationClassName&quot;: &quot;A String&quot;, # Optional. Implementation class name. The class should implement the “TypedTask” interface.
3325 },
3326 &quot;triggerId&quot;: &quot;A String&quot;, # The backend trigger ID.
3327 &quot;triggerName&quot;: &quot;A String&quot;, # Optional. Name of the trigger This is added to identify the type of trigger. This is avoid the logic on triggerId to identify the trigger_type and push the same to monitoring.
3328 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the workflow on UI.
3329 &quot;triggerType&quot;: &quot;A String&quot;,
3330 },
3331 ],
3332 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
3333 &quot;userLabel&quot;: &quot;A String&quot;, # Optional. A user-defined label that annotates an integration version. Typically, this is only set when the integration version is created.
3334 },
3335 &quot;key&quot;: &quot;A String&quot;, # Required. Unique Key of the IntegrationVersion.
3336 },
3337 &quot;subIntegrationVersionTemplates&quot;: [ # Optional. Sub integration templates which would be added along with main integration.
3338 { # Define the template of IntegrationVersion.
3339 &quot;integrationVersion&quot;: { # The integration version definition. # Required. Templatized version of integration.
3340 &quot;cloudKmsKey&quot;: &quot;A String&quot;, # Optional. Cloud KMS resource name for the CMEK encryption key.
3341 &quot;cloudLoggingDetails&quot;: { # Cloud Logging details for execution info # Optional. Cloud Logging details for the integration version
3342 &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.
3343 &quot;enableCloudLogging&quot;: True or False, # Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.
3344 },
3345 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
3346 &quot;createdFromTemplate&quot;: &quot;A String&quot;, # Optional. Optional. The resource name of the template from which the integration is created.
3347 &quot;databasePersistencePolicy&quot;: &quot;A String&quot;, # Optional. Flag to disable database persistence for execution data, including event execution info, execution export info, execution metadata index and execution param index.
3348 &quot;description&quot;: &quot;A String&quot;, # Optional. The integration description.
3349 &quot;enableVariableMasking&quot;: True or False, # Optional. True if variable masking feature should be turned on for this version
3350 &quot;errorCatcherConfigs&quot;: [ # Optional. Error Catch Task configuration for the integration. It&#x27;s optional.
3351 { # Configuration detail of a error catch task
3352 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give more business context about the error catcher config.
3353 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Required. An error catcher id is string representation for the error catcher config. Within a workflow, error_catcher_id uniquely identifies an error catcher config among all error catcher configs for the workflow
3354 &quot;errorCatcherNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each error catcher config within the workflow on UI.
3355 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular error catcher. Optional.
3356 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
3357 &quot;x&quot;: 42, # Required. X axis of the coordinate
3358 &quot;y&quot;: 42, # Required. Y axis of the coordinate
3359 },
3360 &quot;startErrorTasks&quot;: [ # Required. The set of start tasks that are to be executed for the error catch flow
3361 { # The task that is next in line to be executed, if the condition specified evaluated to true.
3362 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
3363 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
3364 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
3365 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
3366 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
3367 },
3368 ],
3369 },
3370 ],
3371 &quot;integrationConfigParameters&quot;: [ # Optional. Config Parameters that are expected to be passed to the integration when an integration is published. This consists of all the parameters that are expected to provide configuration in the integration execution. This gives the user the ability to provide default values, value, add information like connection url, project based configuration value and also provide data types of each parameter.
3372 { # Integration Config Parameter is defined in the integration config and are used to provide external configuration for integration. It provide information about data types of the expected parameters and provide any default values or value. They can also be used to add custom attributes.
3373 &quot;parameter&quot;: { # 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. # Optional. Integration Parameter to provide the default value, data type and attributes required for the Integration config variables.
3374 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
3375 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
3376 &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.
3377 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
3378 &quot;booleanValues&quot;: [ # Boolean array.
3379 True or False,
3380 ],
3381 },
3382 &quot;booleanValue&quot;: True or False, # Boolean.
3383 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
3384 &quot;doubleValues&quot;: [ # Double number array.
3385 3.14,
3386 ],
3387 },
3388 &quot;doubleValue&quot;: 3.14, # Double Number.
3389 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
3390 &quot;intValues&quot;: [ # Integer array.
3391 &quot;A String&quot;,
3392 ],
3393 },
3394 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
3395 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
3396 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
3397 &quot;stringValues&quot;: [ # String array.
3398 &quot;A String&quot;,
3399 ],
3400 },
3401 &quot;stringValue&quot;: &quot;A String&quot;, # String.
3402 },
3403 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
3404 &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;.
3405 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
3406 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
3407 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
3408 &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.
3409 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
3410 &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.
3411 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
3412 },
3413 &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 or a serialized object.
3414 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
3415 &quot;booleanValues&quot;: [ # Boolean array.
3416 True or False,
3417 ],
3418 },
3419 &quot;booleanValue&quot;: True or False, # Boolean.
3420 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
3421 &quot;doubleValues&quot;: [ # Double number array.
3422 3.14,
3423 ],
3424 },
3425 &quot;doubleValue&quot;: 3.14, # Double Number.
3426 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
3427 &quot;intValues&quot;: [ # Integer array.
3428 &quot;A String&quot;,
3429 ],
3430 },
3431 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
3432 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
3433 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
3434 &quot;stringValues&quot;: [ # String array.
3435 &quot;A String&quot;,
3436 ],
3437 },
3438 &quot;stringValue&quot;: &quot;A String&quot;, # String.
3439 },
3440 },
3441 ],
3442 &quot;integrationParameters&quot;: [ # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
3443 { # 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.
3444 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
3445 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
3446 &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.
3447 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
3448 &quot;booleanValues&quot;: [ # Boolean array.
3449 True or False,
3450 ],
3451 },
3452 &quot;booleanValue&quot;: True or False, # Boolean.
3453 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
3454 &quot;doubleValues&quot;: [ # Double number array.
3455 3.14,
3456 ],
3457 },
3458 &quot;doubleValue&quot;: 3.14, # Double Number.
3459 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
3460 &quot;intValues&quot;: [ # Integer array.
3461 &quot;A String&quot;,
3462 ],
3463 },
3464 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
3465 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
3466 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
3467 &quot;stringValues&quot;: [ # String array.
3468 &quot;A String&quot;,
3469 ],
3470 },
3471 &quot;stringValue&quot;: &quot;A String&quot;, # String.
3472 },
3473 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
3474 &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;.
3475 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
3476 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
3477 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
3478 &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.
3479 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
3480 &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.
3481 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
3482 },
3483 ],
3484 &quot;integrationParametersInternal&quot;: { # LINT.IfChange This is the frontend version of WorkflowParameters. It&#x27;s exactly like the backend version except that instead of flattening protobuf parameters and treating every field and subfield of a protobuf parameter as a separate parameter, the fields/subfields of a protobuf parameter will be nested as &quot;children&quot; (see &#x27;children&#x27; field below) parameters of the parent parameter. Please refer to enterprise/crm/eventbus/proto/workflow_parameters.proto for more information about WorkflowParameters. # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
3485 &quot;parameters&quot;: [ # Parameters are a part of Event and can be used to communiticate between different tasks that are part of the same workflow execution.
3486 {
3487 &quot;attributes&quot;: { # Attributes are additional options that can be associated with each event property. For more information, see # Metadata information about the parameters.
3488 &quot;dataType&quot;: &quot;A String&quot;, # Things like URL, Email, Currency, Timestamp (rather than string, int64...)
3489 &quot;defaultValue&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Used to define defaults.
3490 &quot;booleanValue&quot;: True or False,
3491 &quot;doubleArray&quot;: {
3492 &quot;values&quot;: [
3493 3.14,
3494 ],
3495 },
3496 &quot;doubleValue&quot;: 3.14,
3497 &quot;intArray&quot;: {
3498 &quot;values&quot;: [
3499 &quot;A String&quot;,
3500 ],
3501 },
3502 &quot;intValue&quot;: &quot;A String&quot;,
3503 &quot;protoValue&quot;: {
3504 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3505 },
3506 &quot;stringArray&quot;: {
3507 &quot;values&quot;: [
3508 &quot;A String&quot;,
3509 ],
3510 },
3511 &quot;stringValue&quot;: &quot;A String&quot;,
3512 },
3513 &quot;isRequired&quot;: True or False, # Required for event execution. The validation will be done by the event bus when the event is triggered.
3514 &quot;isSearchable&quot;: True or False, # Used to indicate if a ParameterEntry should be converted to ParamIndexes for ST-Spanner full-text search. DEPRECATED: use searchable.
3515 &quot;logSettings&quot;: { # The LogSettings define the logging attributes for an event property. These attributes are used to map the property to the parameter in the log proto. Also used to define scrubbing/truncation behavior and PII information. # See
3516 &quot;logFieldName&quot;: &quot;A String&quot;, # The name of corresponding logging field of the event property. If omitted, assumes the same name as the event property key.
3517 &quot;seedPeriod&quot;: &quot;A String&quot;,
3518 &quot;seedScope&quot;: &quot;A String&quot;,
3519 },
3520 &quot;masked&quot;: True or False, # True if this workflow parameter should be masked in the logs
3521 &quot;readOnly&quot;: True or False, # Used to indicate if the ParameterEntry is a read only field or not.
3522 &quot;searchable&quot;: &quot;A String&quot;,
3523 &quot;taskVisibility&quot;: [ # List of tasks that can view this property, if empty then all.
3524 &quot;A String&quot;,
3525 ],
3526 },
3527 &quot;children&quot;: [ # Child parameters nested within this parameter. This field only applies to protobuf parameters
3528 # Object with schema name: EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
3529 ],
3530 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
3531 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
3532 &quot;defaultValue&quot;: { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
3533 &quot;booleanArray&quot;: {
3534 &quot;booleanValues&quot;: [
3535 True or False,
3536 ],
3537 },
3538 &quot;booleanValue&quot;: True or False,
3539 &quot;doubleArray&quot;: {
3540 &quot;doubleValues&quot;: [
3541 3.14,
3542 ],
3543 },
3544 &quot;doubleValue&quot;: 3.14,
3545 &quot;intArray&quot;: {
3546 &quot;intValues&quot;: [
3547 &quot;A String&quot;,
3548 ],
3549 },
3550 &quot;intValue&quot;: &quot;A String&quot;,
3551 &quot;jsonValue&quot;: &quot;A String&quot;,
3552 &quot;protoArray&quot;: {
3553 &quot;protoValues&quot;: [
3554 {
3555 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3556 },
3557 ],
3558 },
3559 &quot;protoValue&quot;: {
3560 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3561 },
3562 &quot;serializedObjectValue&quot;: {
3563 &quot;objectValue&quot;: &quot;A String&quot;,
3564 },
3565 &quot;stringArray&quot;: {
3566 &quot;stringValues&quot;: [
3567 &quot;A String&quot;,
3568 ],
3569 },
3570 &quot;stringValue&quot;: &quot;A String&quot;,
3571 },
3572 &quot;description&quot;: &quot;A String&quot;, # Optional. The description about the parameter
3573 &quot;inOutType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
3574 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
3575 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
3576 &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.
3577 &quot;name&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;.
3578 &quot;producedBy&quot;: { # Represents a node identifier (type + id). Next highest id: 3 # 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.
3579 &quot;elementIdentifier&quot;: &quot;A String&quot;, # Configuration of the edge.
3580 &quot;elementType&quot;: &quot;A String&quot;, # Destination node where the edge ends. It can only be a task config.
3581 },
3582 &quot;producer&quot;: &quot;A String&quot;,
3583 &quot;protoDefName&quot;: &quot;A String&quot;, # The name of the protobuf type if the parameter has a protobuf data type.
3584 &quot;protoDefPath&quot;: &quot;A String&quot;, # If the data type is of type proto or proto array, this field needs to be populated with the fully qualified proto name. This message, for example, would be &quot;enterprise.crm.frontends.eventbus.proto.WorkflowParameterEntry&quot;.
3585 &quot;required&quot;: True or False,
3586 },
3587 ],
3588 },
3589 &quot;lastModifierEmail&quot;: &quot;A String&quot;, # Optional. The last modifier&#x27;s email address. Generated based on the End User Credentials/LOAS role of the user making the call.
3590 &quot;lockHolder&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.
3591 &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
3592 &quot;origin&quot;: &quot;A String&quot;, # Optional. The origin that indicates where this integration is coming from.
3593 &quot;parentTemplateId&quot;: &quot;A String&quot;, # Optional. The id of the template which was used to create this integration_version.
3594 &quot;runAsServiceAccount&quot;: &quot;A String&quot;, # Optional. The run-as service account email, if set and auth config is not configured, that will be used to generate auth token to be used in Connector task, Rest caller task and Cloud function task.
3595 &quot;snapshotNumber&quot;: &quot;A String&quot;, # Output only. An increasing sequence that is set when a new snapshot is created. The last created snapshot can be identified by [workflow_name, org_id latest(snapshot_number)]. However, last created snapshot need not be same as the HEAD. So users should always use &quot;HEAD&quot; tag to identify the head.
3596 &quot;state&quot;: &quot;A String&quot;, # Output only. User should not set it as an input.
3597 &quot;status&quot;: &quot;A String&quot;, # Output only. Generated by eventbus. User should not set it as an input.
3598 &quot;taskConfigs&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
3599 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
3600 &quot;conditionalFailurePolicies&quot;: { # Conditional task failur retry strategies # Optional. The list of conditional failure policies that will be applied to the task in order.
3601 &quot;defaultFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # The default failure policy to be applied if no conditional failure policy matches.
3602 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
3603 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
3604 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
3605 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
3606 },
3607 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
3608 { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
3609 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
3610 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
3611 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
3612 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
3613 },
3614 ],
3615 },
3616 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
3617 &quot;displayName&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to this TaskConfig in the UI.
3618 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
3619 &quot;externalTaskType&quot;: &quot;A String&quot;, # Optional. External task type of the task
3620 &quot;failurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
3621 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
3622 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
3623 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
3624 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
3625 },
3626 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # Optional. If set, overrides the option configured in the Task implementation class.
3627 &quot;nextTasks&quot;: [ # Optional. The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
3628 { # The task that is next in line to be executed, if the condition specified evaluated to true.
3629 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
3630 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
3631 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
3632 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
3633 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
3634 },
3635 ],
3636 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution of the next set of tasks for the current task.
3637 &quot;parameters&quot;: { # Optional. The customized parameters the user can pass to this task.
3638 &quot;a_key&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
3639 &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.
3640 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
3641 &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.
3642 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
3643 &quot;booleanValues&quot;: [ # Boolean array.
3644 True or False,
3645 ],
3646 },
3647 &quot;booleanValue&quot;: True or False, # Boolean.
3648 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
3649 &quot;doubleValues&quot;: [ # Double number array.
3650 3.14,
3651 ],
3652 },
3653 &quot;doubleValue&quot;: 3.14, # Double Number.
3654 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
3655 &quot;intValues&quot;: [ # Integer array.
3656 &quot;A String&quot;,
3657 ],
3658 },
3659 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
3660 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
3661 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
3662 &quot;stringValues&quot;: [ # String array.
3663 &quot;A String&quot;,
3664 ],
3665 },
3666 &quot;stringValue&quot;: &quot;A String&quot;, # String.
3667 },
3668 },
3669 },
3670 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
3671 &quot;x&quot;: 42, # Required. X axis of the coordinate
3672 &quot;y&quot;: 42, # Required. Y axis of the coordinate
3673 },
3674 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Optional. Determines what action to take upon successful task completion.
3675 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
3676 },
3677 &quot;synchronousCallFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
3678 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
3679 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
3680 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
3681 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
3682 },
3683 &quot;task&quot;: &quot;A String&quot;, # Optional. The name for the task.
3684 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution strategy of this task.
3685 &quot;taskId&quot;: &quot;A String&quot;, # Required. The identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_id`).
3686 &quot;taskTemplate&quot;: &quot;A String&quot;, # Optional. Used to define task-template name if task is of type task-template
3687 },
3688 ],
3689 &quot;taskConfigsInternal&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
3690 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
3691 &quot;alertConfigs&quot;: [ # Alert configurations on error rate, warning rate, number of runs, durations, etc.
3692 { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event.
3693 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week).
3694 &quot;alertDisabled&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.
3695 &quot;alertName&quot;: &quot;A String&quot;, # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique in within the scope of the containing workflow.
3696 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration. Must be a client enabled in one of the containing workflow&#x27;s triggers.
3697 &quot;durationThresholdMs&quot;: &quot;A String&quot;, # Should be specified only for TASK_AVERAGE_DURATION and TASK_PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
3698 &quot;errorEnumList&quot;: { # List of error enums for alerts.
3699 &quot;enumStrings&quot;: [
3700 &quot;A String&quot;,
3701 ],
3702 &quot;filterType&quot;: &quot;A String&quot;,
3703 },
3704 &quot;metricType&quot;: &quot;A String&quot;,
3705 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
3706 &quot;onlyFinalAttempt&quot;: True or False, # Only count final task attempts, not retries.
3707 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
3708 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
3709 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
3710 &quot;absolute&quot;: &quot;A String&quot;,
3711 &quot;percentage&quot;: 42,
3712 },
3713 &quot;warningEnumList&quot;: { # List of error enums for alerts.
3714 &quot;enumStrings&quot;: [
3715 &quot;A String&quot;,
3716 ],
3717 &quot;filterType&quot;: &quot;A String&quot;,
3718 },
3719 },
3720 ],
3721 &quot;conditionalFailurePolicies&quot;: { # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
3722 &quot;defaultFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # The default failure policy to be applied if no conditional failure policy matches
3723 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
3724 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
3725 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
3726 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
3727 },
3728 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
3729 { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
3730 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
3731 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
3732 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
3733 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
3734 },
3735 ],
3736 },
3737 &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
3738 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address. Auto-generated from the user&#x27;s email.
3739 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
3740 &quot;disableStrictTypeValidation&quot;: True or False, # If this config contains a TypedTask, allow validation to succeed if an input is read from the output of another TypedTask whose output type is declared as a superclass of the requested input type. For instance, if the previous task declares an output of type Message, any task with this flag enabled will pass validation when attempting to read any proto Message type from the resultant Event parameter.
3741 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
3742 &quot;externalTaskType&quot;: &quot;A String&quot;,
3743 &quot;failurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
3744 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
3745 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
3746 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
3747 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
3748 },
3749 &quot;incomingEdgeCount&quot;: 42, # The number of edges leading into this TaskConfig.
3750 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # If set, overrides the option configured in the Task implementation class.
3751 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this TaskConfig in the UI.
3752 &quot;lastModifiedTime&quot;: &quot;A String&quot;, # Auto-generated.
3753 &quot;nextTasks&quot;: [ # The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
3754 { # The task that is next in line to be executed, if the condition specified evaluated to true.
3755 &quot;combinedConditions&quot;: [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
3756 { # This message recursively combines constituent conditions using logical AND.
3757 &quot;conditions&quot;: [ # A set of individual constituent conditions.
3758 { # Condition that uses `operator` to evaluate the key against the value.
3759 &quot;eventPropertyKey&quot;: &quot;A String&quot;, # Key that&#x27;s evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.
3760 &quot;operator&quot;: &quot;A String&quot;, # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
3761 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that&#x27;s checked for the key.
3762 &quot;booleanValue&quot;: True or False,
3763 &quot;doubleArray&quot;: {
3764 &quot;values&quot;: [
3765 3.14,
3766 ],
3767 },
3768 &quot;doubleValue&quot;: 3.14,
3769 &quot;intArray&quot;: {
3770 &quot;values&quot;: [
3771 &quot;A String&quot;,
3772 ],
3773 },
3774 &quot;intValue&quot;: &quot;A String&quot;,
3775 &quot;protoValue&quot;: {
3776 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3777 },
3778 &quot;stringArray&quot;: {
3779 &quot;values&quot;: [
3780 &quot;A String&quot;,
3781 ],
3782 },
3783 &quot;stringValue&quot;: &quot;A String&quot;,
3784 },
3785 },
3786 ],
3787 },
3788 ],
3789 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
3790 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
3791 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
3792 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
3793 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
3794 },
3795 ],
3796 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # The policy dictating the execution of the next set of tasks for the current task.
3797 &quot;parameters&quot;: { # The customized parameters the user can pass to this task.
3798 &quot;a_key&quot;: { # Key-value pair of EventBus parameters.
3799 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
3800 &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.
3801 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
3802 &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.
3803 &quot;booleanArray&quot;: {
3804 &quot;booleanValues&quot;: [
3805 True or False,
3806 ],
3807 },
3808 &quot;booleanValue&quot;: True or False,
3809 &quot;doubleArray&quot;: {
3810 &quot;doubleValues&quot;: [
3811 3.14,
3812 ],
3813 },
3814 &quot;doubleValue&quot;: 3.14,
3815 &quot;intArray&quot;: {
3816 &quot;intValues&quot;: [
3817 &quot;A String&quot;,
3818 ],
3819 },
3820 &quot;intValue&quot;: &quot;A String&quot;,
3821 &quot;jsonValue&quot;: &quot;A String&quot;,
3822 &quot;protoArray&quot;: {
3823 &quot;protoValues&quot;: [
3824 {
3825 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3826 },
3827 ],
3828 },
3829 &quot;protoValue&quot;: {
3830 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3831 },
3832 &quot;serializedObjectValue&quot;: {
3833 &quot;objectValue&quot;: &quot;A String&quot;,
3834 },
3835 &quot;stringArray&quot;: {
3836 &quot;stringValues&quot;: [
3837 &quot;A String&quot;,
3838 ],
3839 },
3840 &quot;stringValue&quot;: &quot;A String&quot;,
3841 },
3842 },
3843 },
3844 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this task config on the UI.
3845 &quot;x&quot;: 42,
3846 &quot;y&quot;: 42,
3847 },
3848 &quot;precondition&quot;: &quot;A String&quot;, # Optional. Standard filter expression evaluated before execution. Independent of other conditions and tasks. Can be used to enable rollout. e.g. &quot;rollout(5)&quot; will only allow 5% of incoming traffic to task.
3849 &quot;preconditionLabel&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to precondition in the UI.
3850 &quot;rollbackStrategy&quot;: { # Next available id: 4 # Optional. Contains information about what needs to be done upon failure (either a permanent error or after it has been retried too many times).
3851 &quot;parameters&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 # Optional. The customized parameters the user can pass to this task.
3852 &quot;parameters&quot;: [ # Parameters are a part of Event and can be used to communicate between different tasks that are part of the same workflow execution.
3853 { # Key-value pair of EventBus parameters.
3854 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
3855 &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.
3856 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
3857 &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.
3858 &quot;booleanArray&quot;: {
3859 &quot;booleanValues&quot;: [
3860 True or False,
3861 ],
3862 },
3863 &quot;booleanValue&quot;: True or False,
3864 &quot;doubleArray&quot;: {
3865 &quot;doubleValues&quot;: [
3866 3.14,
3867 ],
3868 },
3869 &quot;doubleValue&quot;: 3.14,
3870 &quot;intArray&quot;: {
3871 &quot;intValues&quot;: [
3872 &quot;A String&quot;,
3873 ],
3874 },
3875 &quot;intValue&quot;: &quot;A String&quot;,
3876 &quot;jsonValue&quot;: &quot;A String&quot;,
3877 &quot;protoArray&quot;: {
3878 &quot;protoValues&quot;: [
3879 {
3880 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3881 },
3882 ],
3883 },
3884 &quot;protoValue&quot;: {
3885 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3886 },
3887 &quot;serializedObjectValue&quot;: {
3888 &quot;objectValue&quot;: &quot;A String&quot;,
3889 },
3890 &quot;stringArray&quot;: {
3891 &quot;stringValues&quot;: [
3892 &quot;A String&quot;,
3893 ],
3894 },
3895 &quot;stringValue&quot;: &quot;A String&quot;,
3896 },
3897 },
3898 ],
3899 },
3900 &quot;rollbackTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. This is the name of the task that needs to be executed upon rollback of this task.
3901 &quot;taskNumbersToRollback&quot;: [ # Required. These are the tasks numbers of the tasks whose `rollback_strategy.rollback_task_implementation_class_name` needs to be executed upon failure of this task.
3902 &quot;A String&quot;,
3903 ],
3904 },
3905 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Determines what action to take upon successful task completion.
3906 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
3907 },
3908 &quot;synchronousCallFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
3909 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
3910 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
3911 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
3912 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
3913 },
3914 &quot;taskEntity&quot;: { # Contains a task&#x27;s metadata and associated information. Next available id: 7 # Copy of the task entity that this task config is an instance of.
3915 &quot;disabledForVpcSc&quot;: True or False, # True if the task has conflict with vpcsc
3916 &quot;metadata&quot;: { # TaskMetadata are attributes that are associated to every common Task we have. # Metadata inclueds the task name, author and so on.
3917 &quot;activeTaskName&quot;: &quot;A String&quot;, # The new task name to replace the current task if it is deprecated. Otherwise, it is the same as the current task name.
3918 &quot;admins&quot;: [
3919 { # Admins are owners of a Task, and have all permissions on a particular task identified by the task name. By default, Eventbus periodically scans all task metadata and syncs (adds) any new admins defined here to Zanzibar.
3920 &quot;googleGroupEmail&quot;: &quot;A String&quot;,
3921 &quot;userEmail&quot;: &quot;A String&quot;,
3922 },
3923 ],
3924 &quot;category&quot;: &quot;A String&quot;,
3925 &quot;codeSearchLink&quot;: &quot;A String&quot;, # The Code Search link to the Task Java file.
3926 &quot;defaultJsonValidationOption&quot;: &quot;A String&quot;, # Controls whether JSON workflow parameters are validated against provided schemas before and/or after this task&#x27;s execution.
3927 &quot;defaultSpec&quot;: &quot;A String&quot;, # Contains the initial configuration of the task with default values set. For now, The string should be compatible to an ASCII-proto format.
3928 &quot;description&quot;: &quot;A String&quot;, # In a few sentences, describe the purpose and usage of the task.
3929 &quot;descriptiveName&quot;: &quot;A String&quot;, # The string name to show on the task list on the Workflow editor screen. This should be a very short, one to two words name for the task. (e.g. &quot;Send Mail&quot;)
3930 &quot;docMarkdown&quot;: &quot;A String&quot;, # Snippet of markdown documentation to embed in the RHP for this task.
3931 &quot;externalCategory&quot;: &quot;A String&quot;,
3932 &quot;externalCategorySequence&quot;: 42, # Sequence with which the task in specific category to be displayed in task discovery panel for external users.
3933 &quot;externalDocHtml&quot;: &quot;A String&quot;, # External-facing documention embedded in the RHP for this task.
3934 &quot;externalDocLink&quot;: &quot;A String&quot;, # Doc link for external-facing documentation (separate from g3doc).
3935 &quot;externalDocMarkdown&quot;: &quot;A String&quot;, # DEPRECATED: Use external_doc_html.
3936 &quot;g3DocLink&quot;: &quot;A String&quot;, # URL to the associated G3 Doc for the task if available
3937 &quot;iconLink&quot;: &quot;A String&quot;, # URL to gstatic image icon for this task. This icon shows up on the task list panel along with the task name in the Workflow Editor screen. Use the 24p, 2x, gray color icon image format.
3938 &quot;isDeprecated&quot;: True or False, # The deprecation status of the current task. Default value is false;
3939 &quot;name&quot;: &quot;A String&quot;, # The actual class name or the annotated name of the task. Task Author should initialize this field with value from the getName() method of the Task class.
3940 &quot;standaloneExternalDocHtml&quot;: &quot;A String&quot;, # External-facing documention for standalone IP in pantheon embedded in the RHP for this task. Non null only if different from external_doc_html
3941 &quot;status&quot;: &quot;A String&quot;, # Allows author to indicate if the task is ready to use or not. If not set, then it will default to INACTIVE.
3942 &quot;system&quot;: &quot;A String&quot;,
3943 &quot;tags&quot;: [ # A set of tags that pertain to a particular task. This can be used to improve the searchability of tasks with several names (&quot;REST Caller&quot; vs. &quot;Call REST Endpoint&quot;) or to help users find tasks based on related words.
3944 &quot;A String&quot;,
3945 ],
3946 },
3947 &quot;paramSpecs&quot;: { # Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask.
3948 &quot;parameters&quot;: [
3949 { # Key-value pair of EventBus task parameters. Next id: 13
3950 &quot;className&quot;: &quot;A String&quot;, # The FQCN of the Java object this represents. A string, for example, would be &quot;java.lang.String&quot;. If this is &quot;java.lang.Object&quot;, the parameter can be of any type.
3951 &quot;collectionElementClassName&quot;: &quot;A String&quot;, # If it is a collection of objects, this would be the FCQN of every individual element in the collection. If this is &quot;java.lang.Object&quot;, the parameter is a collection of any type.
3952 &quot;config&quot;: { # Optional fields, such as help text and other useful info.
3953 &quot;descriptivePhrase&quot;: &quot;A String&quot;, # A short phrase to describe what this parameter contains.
3954 &quot;helpText&quot;: &quot;A String&quot;, # Detailed help text for this parameter containing information not provided elsewhere. For example, instructions on how to migrate from a deprecated parameter.
3955 &quot;hideDefaultValue&quot;: True or False, # Whether the default value is hidden in the UI.
3956 &quot;inputDisplayOption&quot;: &quot;A String&quot;,
3957 &quot;isHidden&quot;: True or False, # Whether this field is hidden in the UI.
3958 &quot;label&quot;: &quot;A String&quot;, # A user-friendly label for the parameter.
3959 &quot;parameterNameOption&quot;: &quot;A String&quot;,
3960 &quot;subSectionLabel&quot;: &quot;A String&quot;, # A user-friendly label for subSection under which the parameter will be displayed.
3961 &quot;uiPlaceholderText&quot;: &quot;A String&quot;, # Placeholder text which will appear in the UI input form for this parameter.
3962 },
3963 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
3964 &quot;defaultValue&quot;: { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
3965 &quot;booleanArray&quot;: {
3966 &quot;booleanValues&quot;: [
3967 True or False,
3968 ],
3969 },
3970 &quot;booleanValue&quot;: True or False,
3971 &quot;doubleArray&quot;: {
3972 &quot;doubleValues&quot;: [
3973 3.14,
3974 ],
3975 },
3976 &quot;doubleValue&quot;: 3.14,
3977 &quot;intArray&quot;: {
3978 &quot;intValues&quot;: [
3979 &quot;A String&quot;,
3980 ],
3981 },
3982 &quot;intValue&quot;: &quot;A String&quot;,
3983 &quot;jsonValue&quot;: &quot;A String&quot;,
3984 &quot;protoArray&quot;: {
3985 &quot;protoValues&quot;: [
3986 {
3987 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3988 },
3989 ],
3990 },
3991 &quot;protoValue&quot;: {
3992 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3993 },
3994 &quot;serializedObjectValue&quot;: {
3995 &quot;objectValue&quot;: &quot;A String&quot;,
3996 },
3997 &quot;stringArray&quot;: {
3998 &quot;stringValues&quot;: [
3999 &quot;A String&quot;,
4000 ],
4001 },
4002 &quot;stringValue&quot;: &quot;A String&quot;,
4003 },
4004 &quot;isDeprecated&quot;: True or False, # If set, this entry is deprecated, so further use of this parameter should be prohibited.
4005 &quot;isOutput&quot;: True or False,
4006 &quot;jsonSchema&quot;: &quot;A String&quot;, # If the data_type is JSON_VALUE, then this will define its schema.
4007 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given task. These parameters must be predefined in the workflow definition.
4008 &quot;protoDef&quot;: { # Populated if this represents a proto or proto array.
4009 &quot;fullName&quot;: &quot;A String&quot;, # The fully-qualified proto name. This message, for example, would be &quot;enterprise.crm.eventbus.proto.ParamSpecEntry.ProtoDefinition&quot;.
4010 &quot;path&quot;: &quot;A String&quot;, # Path to the proto file that contains the message type&#x27;s definition.
4011 },
4012 &quot;required&quot;: True or False, # If set, the user must provide an input value for this parameter.
4013 &quot;validationRule&quot;: { # Rule used to validate inputs (individual values and collection elements) for this parameter.
4014 &quot;doubleRange&quot;: { # Range used to validate doubles and floats.
4015 &quot;max&quot;: 3.14, # The inclusive maximum of the acceptable range.
4016 &quot;min&quot;: 3.14, # The inclusive minimum of the acceptable range.
4017 },
4018 &quot;intRange&quot;: { # Range used to validate longs and ints.
4019 &quot;max&quot;: &quot;A String&quot;, # The inclusive maximum of the acceptable range.
4020 &quot;min&quot;: &quot;A String&quot;, # The inclusive minimum of the acceptable range.
4021 },
4022 &quot;stringRegex&quot;: { # Rule used to validate strings.
4023 &quot;exclusive&quot;: True or False, # Whether the regex matcher is applied exclusively (if true, matching values will be rejected).
4024 &quot;regex&quot;: &quot;A String&quot;, # The regex applied to the input value(s).
4025 },
4026 },
4027 },
4028 ],
4029 },
4030 &quot;stats&quot;: { # Stats for the requested dimensions: QPS, duration, and error/warning rate # Deprecated - statistics from the Monarch query.
4031 &quot;dimensions&quot;: { # Dimensions that these stats have been aggregated on.
4032 &quot;clientId&quot;: &quot;A String&quot;,
4033 &quot;enumFilterType&quot;: &quot;A String&quot;, # Whether to include or exclude the enums matching the regex.
4034 &quot;errorEnumString&quot;: &quot;A String&quot;,
4035 &quot;retryAttempt&quot;: &quot;A String&quot;,
4036 &quot;taskName&quot;: &quot;A String&quot;,
4037 &quot;taskNumber&quot;: &quot;A String&quot;,
4038 &quot;triggerId&quot;: &quot;A String&quot;, # Stats have been or will be aggregated on set fields for any semantically-meaningful combination.
4039 &quot;warningEnumString&quot;: &quot;A String&quot;,
4040 &quot;workflowId&quot;: &quot;A String&quot;,
4041 &quot;workflowName&quot;: &quot;A String&quot;,
4042 },
4043 &quot;durationInSeconds&quot;: 3.14, # Average duration in seconds.
4044 &quot;errorRate&quot;: 3.14, # Average error rate.
4045 &quot;qps&quot;: 3.14, # Queries per second.
4046 &quot;warningRate&quot;: 3.14, # Average warning rate.
4047 },
4048 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
4049 &quot;uiConfig&quot;: { # Task authors would use this type to configure the UI for a particular task by specifying what UI config modules should be included to compose the UI. Learn more about config module framework: # UI configuration for this task Also associated with the METADATA mask.
4050 &quot;taskUiModuleConfigs&quot;: [ # Configurations of included config modules.
4051 { # Task author would use this type to configure a config module.
4052 &quot;moduleId&quot;: &quot;A String&quot;, # ID of the config module.
4053 },
4054 ],
4055 },
4056 },
4057 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # The policy dictating the execution strategy of this task.
4058 &quot;taskName&quot;: &quot;A String&quot;, # The name for the task.
4059 &quot;taskNumber&quot;: &quot;A String&quot;, # REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`).
4060 &quot;taskSpec&quot;: &quot;A String&quot;, # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old &quot;parameters&quot; field.
4061 &quot;taskTemplateName&quot;: &quot;A String&quot;, # Used to define task-template name if task is of type task-template
4062 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
4063 },
4064 ],
4065 &quot;teardown&quot;: { # Optional. Contains a graph of tasks that will be executed before putting the event in a terminal state (SUCCEEDED/FAILED/FATAL), regardless of success or failure, similar to &quot;finally&quot; in code.
4066 &quot;teardownTaskConfigs&quot;: [ # Required.
4067 {
4068 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address.
4069 &quot;name&quot;: &quot;A String&quot;, # Required. Unique identifier of the teardown task within this Config. We use this field as the identifier to find next teardown tasks.
4070 &quot;nextTeardownTask&quot;: { # The teardown task that is next in line to be executed. We support only sequential execution of teardown tasks (i.e. no branching).
4071 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the next teardown task.
4072 },
4073 &quot;parameters&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 the user can pass to this task.
4074 &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.
4075 { # Key-value pair of EventBus parameters.
4076 &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.
4077 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
4078 &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.
4079 &quot;booleanArray&quot;: {
4080 &quot;booleanValues&quot;: [
4081 True or False,
4082 ],
4083 },
4084 &quot;booleanValue&quot;: True or False,
4085 &quot;doubleArray&quot;: {
4086 &quot;doubleValues&quot;: [
4087 3.14,
4088 ],
4089 },
4090 &quot;doubleValue&quot;: 3.14,
4091 &quot;intArray&quot;: {
4092 &quot;intValues&quot;: [
4093 &quot;A String&quot;,
4094 ],
4095 },
4096 &quot;intValue&quot;: &quot;A String&quot;,
4097 &quot;protoArray&quot;: {
4098 &quot;protoValues&quot;: [
4099 {
4100 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4101 },
4102 ],
4103 },
4104 &quot;protoValue&quot;: {
4105 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4106 },
4107 &quot;serializedObjectValue&quot;: {
4108 &quot;objectValue&quot;: &quot;A String&quot;,
4109 },
4110 &quot;stringArray&quot;: {
4111 &quot;stringValues&quot;: [
4112 &quot;A String&quot;,
4113 ],
4114 },
4115 &quot;stringValue&quot;: &quot;A String&quot;,
4116 },
4117 },
4118 ],
4119 },
4120 &quot;properties&quot;: { # LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus.
4121 &quot;properties&quot;: [ # An unordered list of property entries.
4122 { # Key-value pair of EventBus property.
4123 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding property value. This should be unique for a given fired event. The Tasks should be aware of the keys used while firing the events for them to be able to retrieve the values.
4124 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Values for the defined keys. Each value can either be string, int, double or any proto message.
4125 &quot;booleanValue&quot;: True or False,
4126 &quot;doubleArray&quot;: {
4127 &quot;values&quot;: [
4128 3.14,
4129 ],
4130 },
4131 &quot;doubleValue&quot;: 3.14,
4132 &quot;intArray&quot;: {
4133 &quot;values&quot;: [
4134 &quot;A String&quot;,
4135 ],
4136 },
4137 &quot;intValue&quot;: &quot;A String&quot;,
4138 &quot;protoValue&quot;: {
4139 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4140 },
4141 &quot;stringArray&quot;: {
4142 &quot;values&quot;: [
4143 &quot;A String&quot;,
4144 ],
4145 },
4146 &quot;stringValue&quot;: &quot;A String&quot;,
4147 },
4148 },
4149 ],
4150 },
4151 &quot;teardownTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. Implementation class name.
4152 },
4153 ],
4154 },
4155 &quot;triggerConfigs&quot;: [ # Optional. Trigger configurations.
4156 { # Configuration detail of a trigger.
4157 &quot;alertConfig&quot;: [ # Optional. An alert threshold configuration for the [trigger + client + integration] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + integration] when published.
4158 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
4159 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
4160 &quot;alertThreshold&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
4161 &quot;disableAlert&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this integration alert.
4162 &quot;displayName&quot;: &quot;A String&quot;, # Name of the alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the integration.
4163 &quot;durationThreshold&quot;: &quot;A String&quot;, # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
4164 &quot;metricType&quot;: &quot;A String&quot;, # The type of metric.
4165 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
4166 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
4167 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
4168 &quot;absolute&quot;: &quot;A String&quot;, # Absolute value threshold.
4169 &quot;percentage&quot;: 42, # Percentage threshold.
4170 },
4171 },
4172 ],
4173 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration # Optional. Cloud Scheduler Trigger related metadata
4174 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
4175 &quot;errorMessage&quot;: &quot;A String&quot;, # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations
4176 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
4177 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
4178 },
4179 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
4180 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
4181 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
4182 &quot;names&quot;: [ # Optional. List of variable names.
4183 &quot;A String&quot;,
4184 ],
4185 },
4186 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular trigger.
4187 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. Dictates how next tasks will be executed.
4188 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
4189 &quot;names&quot;: [ # Optional. List of variable names.
4190 &quot;A String&quot;,
4191 ],
4192 },
4193 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
4194 &quot;x&quot;: 42, # Required. X axis of the coordinate
4195 &quot;y&quot;: 42, # Required. Y axis of the coordinate
4196 },
4197 &quot;properties&quot;: { # Optional. Configurable properties of the trigger, not to be confused with integration parameters. E.g. &quot;name&quot; is a property for API triggers and &quot;subscription&quot; is a property for Pub/sub triggers.
4198 &quot;a_key&quot;: &quot;A String&quot;,
4199 },
4200 &quot;startTasks&quot;: [ # Optional. Set of tasks numbers from where the integration execution is started by this trigger. If this is empty, then integration is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same integration execution graph).
4201 { # The task that is next in line to be executed, if the condition specified evaluated to true.
4202 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
4203 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
4204 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
4205 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
4206 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
4207 },
4208 ],
4209 &quot;trigger&quot;: &quot;A String&quot;, # Optional. Name of the trigger. Example: &quot;API Trigger&quot;, &quot;Cloud Pub Sub Trigger&quot; When set will be sent out to monitoring dashabord for tracking purpose.
4210 &quot;triggerId&quot;: &quot;A String&quot;, # Optional. Auto-generated trigger ID. The ID is based on the properties that you define in the trigger config. For example, for an API trigger, the trigger ID follows the format: api_trigger/TRIGGER_NAME Where trigger config has properties with value {&quot;Trigger name&quot;: TRIGGER_NAME}
4211 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the integration on UI.
4212 &quot;triggerType&quot;: &quot;A String&quot;, # Optional. Type of trigger
4213 },
4214 ],
4215 &quot;triggerConfigsInternal&quot;: [ # Optional. Trigger configurations.
4216 { # Configuration detail of a trigger. Next available id: 22
4217 &quot;alertConfig&quot;: [ # An alert threshold configuration for the [trigger + client + workflow] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + workflow] when published.
4218 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
4219 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
4220 &quot;alertDisabled&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.
4221 &quot;alertName&quot;: &quot;A String&quot;, # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the workflow.
4222 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration.
4223 &quot;durationThresholdMs&quot;: &quot;A String&quot;, # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
4224 &quot;errorEnumList&quot;: { # List of error enums for alerts.
4225 &quot;enumStrings&quot;: [
4226 &quot;A String&quot;,
4227 ],
4228 &quot;filterType&quot;: &quot;A String&quot;,
4229 },
4230 &quot;metricType&quot;: &quot;A String&quot;,
4231 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
4232 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
4233 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
4234 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
4235 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
4236 &quot;absolute&quot;: &quot;A String&quot;,
4237 &quot;percentage&quot;: 42,
4238 },
4239 &quot;warningEnumList&quot;: { # List of error enums for alerts.
4240 &quot;enumStrings&quot;: [
4241 &quot;A String&quot;,
4242 ],
4243 &quot;filterType&quot;: &quot;A String&quot;,
4244 },
4245 },
4246 ],
4247 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration
4248 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
4249 &quot;errorMessage&quot;: &quot;A String&quot;, # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations
4250 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
4251 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
4252 },
4253 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
4254 &quot;enabledClients&quot;: [ # Required. The list of client ids which are enabled to execute the workflow using this trigger. In other words, these clients have the workflow execution privledges for this trigger. For API trigger, the client id in the incoming request is validated against the list of enabled clients. For non-API triggers, one workflow execution is triggered on behalf of each enabled client.
4255 &quot;A String&quot;,
4256 ],
4257 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
4258 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
4259 &quot;names&quot;: [ # Optional. List of variable names.
4260 &quot;A String&quot;,
4261 ],
4262 },
4263 &quot;label&quot;: &quot;A String&quot;, # The user created label for a particular trigger.
4264 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Dictates how next tasks will be executed.
4265 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
4266 &quot;names&quot;: [ # Optional. List of variable names.
4267 &quot;A String&quot;,
4268 ],
4269 },
4270 &quot;pauseWorkflowExecutions&quot;: True or False, # Optional. If set to true, any upcoming requests for this trigger config will be paused and the executions will be resumed later when the flag is reset. The workflow to which this trigger config belongs has to be in ACTIVE status for the executions to be paused or resumed.
4271 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this trigger config on the UI.
4272 &quot;x&quot;: 42,
4273 &quot;y&quot;: 42,
4274 },
4275 &quot;properties&quot;: { # Configurable properties of the trigger, not to be confused with workflow parameters. E.g. &quot;name&quot; is a property for API triggers and &quot;subscription&quot; is a property for Cloud Pubsub triggers.
4276 &quot;a_key&quot;: &quot;A String&quot;,
4277 },
4278 &quot;startTasks&quot;: [ # Set of tasks numbers from where the workflow execution is started by this trigger. If this is empty, then workflow is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same workflow execution graph).
4279 { # The task that is next in line to be executed, if the condition specified evaluated to true.
4280 &quot;combinedConditions&quot;: [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
4281 { # This message recursively combines constituent conditions using logical AND.
4282 &quot;conditions&quot;: [ # A set of individual constituent conditions.
4283 { # Condition that uses `operator` to evaluate the key against the value.
4284 &quot;eventPropertyKey&quot;: &quot;A String&quot;, # Key that&#x27;s evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.
4285 &quot;operator&quot;: &quot;A String&quot;, # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
4286 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that&#x27;s checked for the key.
4287 &quot;booleanValue&quot;: True or False,
4288 &quot;doubleArray&quot;: {
4289 &quot;values&quot;: [
4290 3.14,
4291 ],
4292 },
4293 &quot;doubleValue&quot;: 3.14,
4294 &quot;intArray&quot;: {
4295 &quot;values&quot;: [
4296 &quot;A String&quot;,
4297 ],
4298 },
4299 &quot;intValue&quot;: &quot;A String&quot;,
4300 &quot;protoValue&quot;: {
4301 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4302 },
4303 &quot;stringArray&quot;: {
4304 &quot;values&quot;: [
4305 &quot;A String&quot;,
4306 ],
4307 },
4308 &quot;stringValue&quot;: &quot;A String&quot;,
4309 },
4310 },
4311 ],
4312 },
4313 ],
4314 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
4315 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
4316 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
4317 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
4318 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
4319 },
4320 ],
4321 &quot;triggerCriteria&quot;: { # Optional. When set, Eventbus will run the task specified in the trigger_criteria and validate the result using the trigger_criteria.condition, and only execute the workflow when result is true.
4322 &quot;condition&quot;: &quot;A String&quot;, # Required. Standard filter expression, when true the workflow will be executed. If there&#x27;s no trigger_criteria_task_implementation_class_name specified, the condition will be validated directly.
4323 &quot;parameters&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 # Optional. To be used in TaskConfig for the implementation class.
4324 &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.
4325 { # Key-value pair of EventBus parameters.
4326 &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.
4327 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
4328 &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.
4329 &quot;booleanArray&quot;: {
4330 &quot;booleanValues&quot;: [
4331 True or False,
4332 ],
4333 },
4334 &quot;booleanValue&quot;: True or False,
4335 &quot;doubleArray&quot;: {
4336 &quot;doubleValues&quot;: [
4337 3.14,
4338 ],
4339 },
4340 &quot;doubleValue&quot;: 3.14,
4341 &quot;intArray&quot;: {
4342 &quot;intValues&quot;: [
4343 &quot;A String&quot;,
4344 ],
4345 },
4346 &quot;intValue&quot;: &quot;A String&quot;,
4347 &quot;protoArray&quot;: {
4348 &quot;protoValues&quot;: [
4349 {
4350 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4351 },
4352 ],
4353 },
4354 &quot;protoValue&quot;: {
4355 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4356 },
4357 &quot;serializedObjectValue&quot;: {
4358 &quot;objectValue&quot;: &quot;A String&quot;,
4359 },
4360 &quot;stringArray&quot;: {
4361 &quot;stringValues&quot;: [
4362 &quot;A String&quot;,
4363 ],
4364 },
4365 &quot;stringValue&quot;: &quot;A String&quot;,
4366 },
4367 },
4368 ],
4369 },
4370 &quot;triggerCriteriaTaskImplementationClassName&quot;: &quot;A String&quot;, # Optional. Implementation class name. The class should implement the “TypedTask” interface.
4371 },
4372 &quot;triggerId&quot;: &quot;A String&quot;, # The backend trigger ID.
4373 &quot;triggerName&quot;: &quot;A String&quot;, # Optional. Name of the trigger This is added to identify the type of trigger. This is avoid the logic on triggerId to identify the trigger_type and push the same to monitoring.
4374 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the workflow on UI.
4375 &quot;triggerType&quot;: &quot;A String&quot;,
4376 },
4377 ],
4378 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
4379 &quot;userLabel&quot;: &quot;A String&quot;, # Optional. A user-defined label that annotates an integration version. Typically, this is only set when the integration version is created.
4380 },
4381 &quot;key&quot;: &quot;A String&quot;, # Required. Unique Key of the IntegrationVersion.
4382 },
4383 ],
4384 },
4385 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated
4386 &quot;usageCount&quot;: &quot;A String&quot;, # Optional. Number of template usages.
4387 &quot;usageInfo&quot;: &quot;A String&quot;, # Optional. Information on how to use the template. This should contain detailed information about usage of the template.
4388 &quot;visibility&quot;: &quot;A String&quot;, # Required. Visibility of the template.
4389 }</pre>
4390 </div>
4391
4392 <div class="method">
4393 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
4394 <pre>Deletes a template
4395
4396 Args:
4397 name: string, Required. The name that is associated with the Template. (required)
4398 x__xgafv: string, V1 error format.
4399 Allowed values
4400 1 - v1 error format
4401 2 - v2 error format
4402
4403 Returns:
4404 An object of the form:
4405
4406 { # 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); }
4407 }</pre>
4408 </div>
4409
4410 <div class="method">
4411 <code class="details" id="download">download(name, fileFormat=None, x__xgafv=None)</code>
4412 <pre>Downloads a template. Retrieves the `Template` and returns the response as a string.
4413
4414 Args:
4415 name: string, Required. The template to download. Format: projects/{project}/locations/{location}/template/{template_id} (required)
4416 fileFormat: string, Required. File format for download request.
4417 Allowed values
4418 FILE_FORMAT_UNSPECIFIED - Unspecified file format
4419 JSON - JSON File Format
4420 YAML - YAML File Format
4421 x__xgafv: string, V1 error format.
4422 Allowed values
4423 1 - v1 error format
4424 2 - v2 error format
4425
4426 Returns:
4427 An object of the form:
4428
4429 { # Response for DownloadTemplate.
4430 &quot;content&quot;: &quot;A String&quot;, # String representation of the template.
4431 }</pre>
4432 </div>
4433
4434 <div class="method">
4435 <code class="details" id="get">get(name, x__xgafv=None)</code>
4436 <pre>Get a template in the specified project.
4437
4438 Args:
4439 name: string, Required. The template to retrieve. Format: projects/{project}/locations/{location}/templates/{template} (required)
4440 x__xgafv: string, V1 error format.
4441 Allowed values
4442 1 - v1 error format
4443 2 - v2 error format
4444
4445 Returns:
4446 An object of the form:
4447
4448 { # Defines the template for Application Integration
4449 &quot;author&quot;: &quot;A String&quot;, # Optional. Creator of the template.
4450 &quot;categories&quot;: [ # Required. Categories associated with the Template. The categories listed below will be utilized for the Template listing.
4451 &quot;A String&quot;,
4452 ],
4453 &quot;components&quot;: [ # Optional. Components being used in the template. This could be used to categorize and filter.
4454 { # Define the components that are present in a template.
4455 &quot;name&quot;: &quot;A String&quot;, # Optional. Name of the component.
4456 &quot;type&quot;: &quot;A String&quot;, # Optional. Type of the component.
4457 },
4458 ],
4459 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
4460 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the template. The length should not be more than 255 characters
4461 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of the template
4462 &quot;docLink&quot;: &quot;A String&quot;, # Optional. Link to template documentation.
4463 &quot;lastUsedTime&quot;: &quot;A String&quot;, # Optional. Time the template was last used.
4464 &quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the template.
4465 &quot;sharedWith&quot;: [ # Required. Resource names with which the template is shared for example ProjectNumber/Ord id
4466 &quot;A String&quot;,
4467 ],
4468 &quot;tags&quot;: [ # Required. Tags which are used to identify templates. These tags could be for business use case, connectors etc.
4469 &quot;A String&quot;,
4470 ],
4471 &quot;templateBundle&quot;: { # Define the bundle of the template. # Required. Bundle which is part of the templates. The template entities in the bundle would be converted to an actual entity.
4472 &quot;integrationVersionTemplate&quot;: { # Define the template of IntegrationVersion. # Required. Main integration templates of the template bundle.
4473 &quot;integrationVersion&quot;: { # The integration version definition. # Required. Templatized version of integration.
4474 &quot;cloudKmsKey&quot;: &quot;A String&quot;, # Optional. Cloud KMS resource name for the CMEK encryption key.
4475 &quot;cloudLoggingDetails&quot;: { # Cloud Logging details for execution info # Optional. Cloud Logging details for the integration version
4476 &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.
4477 &quot;enableCloudLogging&quot;: True or False, # Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.
4478 },
4479 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
4480 &quot;createdFromTemplate&quot;: &quot;A String&quot;, # Optional. Optional. The resource name of the template from which the integration is created.
4481 &quot;databasePersistencePolicy&quot;: &quot;A String&quot;, # Optional. Flag to disable database persistence for execution data, including event execution info, execution export info, execution metadata index and execution param index.
4482 &quot;description&quot;: &quot;A String&quot;, # Optional. The integration description.
4483 &quot;enableVariableMasking&quot;: True or False, # Optional. True if variable masking feature should be turned on for this version
4484 &quot;errorCatcherConfigs&quot;: [ # Optional. Error Catch Task configuration for the integration. It&#x27;s optional.
4485 { # Configuration detail of a error catch task
4486 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give more business context about the error catcher config.
4487 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Required. An error catcher id is string representation for the error catcher config. Within a workflow, error_catcher_id uniquely identifies an error catcher config among all error catcher configs for the workflow
4488 &quot;errorCatcherNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each error catcher config within the workflow on UI.
4489 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular error catcher. Optional.
4490 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
4491 &quot;x&quot;: 42, # Required. X axis of the coordinate
4492 &quot;y&quot;: 42, # Required. Y axis of the coordinate
4493 },
4494 &quot;startErrorTasks&quot;: [ # Required. The set of start tasks that are to be executed for the error catch flow
4495 { # The task that is next in line to be executed, if the condition specified evaluated to true.
4496 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
4497 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
4498 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
4499 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
4500 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
4501 },
4502 ],
4503 },
4504 ],
4505 &quot;integrationConfigParameters&quot;: [ # Optional. Config Parameters that are expected to be passed to the integration when an integration is published. This consists of all the parameters that are expected to provide configuration in the integration execution. This gives the user the ability to provide default values, value, add information like connection url, project based configuration value and also provide data types of each parameter.
4506 { # Integration Config Parameter is defined in the integration config and are used to provide external configuration for integration. It provide information about data types of the expected parameters and provide any default values or value. They can also be used to add custom attributes.
4507 &quot;parameter&quot;: { # 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. # Optional. Integration Parameter to provide the default value, data type and attributes required for the Integration config variables.
4508 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
4509 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
4510 &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.
4511 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
4512 &quot;booleanValues&quot;: [ # Boolean array.
4513 True or False,
4514 ],
4515 },
4516 &quot;booleanValue&quot;: True or False, # Boolean.
4517 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
4518 &quot;doubleValues&quot;: [ # Double number array.
4519 3.14,
4520 ],
4521 },
4522 &quot;doubleValue&quot;: 3.14, # Double Number.
4523 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
4524 &quot;intValues&quot;: [ # Integer array.
4525 &quot;A String&quot;,
4526 ],
4527 },
4528 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
4529 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
4530 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
4531 &quot;stringValues&quot;: [ # String array.
4532 &quot;A String&quot;,
4533 ],
4534 },
4535 &quot;stringValue&quot;: &quot;A String&quot;, # String.
4536 },
4537 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
4538 &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;.
4539 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
4540 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
4541 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
4542 &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.
4543 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
4544 &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.
4545 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
4546 },
4547 &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 or a serialized object.
4548 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
4549 &quot;booleanValues&quot;: [ # Boolean array.
4550 True or False,
4551 ],
4552 },
4553 &quot;booleanValue&quot;: True or False, # Boolean.
4554 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
4555 &quot;doubleValues&quot;: [ # Double number array.
4556 3.14,
4557 ],
4558 },
4559 &quot;doubleValue&quot;: 3.14, # Double Number.
4560 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
4561 &quot;intValues&quot;: [ # Integer array.
4562 &quot;A String&quot;,
4563 ],
4564 },
4565 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
4566 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
4567 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
4568 &quot;stringValues&quot;: [ # String array.
4569 &quot;A String&quot;,
4570 ],
4571 },
4572 &quot;stringValue&quot;: &quot;A String&quot;, # String.
4573 },
4574 },
4575 ],
4576 &quot;integrationParameters&quot;: [ # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
4577 { # 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.
4578 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
4579 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
4580 &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.
4581 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
4582 &quot;booleanValues&quot;: [ # Boolean array.
4583 True or False,
4584 ],
4585 },
4586 &quot;booleanValue&quot;: True or False, # Boolean.
4587 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
4588 &quot;doubleValues&quot;: [ # Double number array.
4589 3.14,
4590 ],
4591 },
4592 &quot;doubleValue&quot;: 3.14, # Double Number.
4593 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
4594 &quot;intValues&quot;: [ # Integer array.
4595 &quot;A String&quot;,
4596 ],
4597 },
4598 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
4599 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
4600 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
4601 &quot;stringValues&quot;: [ # String array.
4602 &quot;A String&quot;,
4603 ],
4604 },
4605 &quot;stringValue&quot;: &quot;A String&quot;, # String.
4606 },
4607 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
4608 &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;.
4609 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
4610 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
4611 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
4612 &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.
4613 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
4614 &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.
4615 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
4616 },
4617 ],
4618 &quot;integrationParametersInternal&quot;: { # LINT.IfChange This is the frontend version of WorkflowParameters. It&#x27;s exactly like the backend version except that instead of flattening protobuf parameters and treating every field and subfield of a protobuf parameter as a separate parameter, the fields/subfields of a protobuf parameter will be nested as &quot;children&quot; (see &#x27;children&#x27; field below) parameters of the parent parameter. Please refer to enterprise/crm/eventbus/proto/workflow_parameters.proto for more information about WorkflowParameters. # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
4619 &quot;parameters&quot;: [ # Parameters are a part of Event and can be used to communiticate between different tasks that are part of the same workflow execution.
4620 {
4621 &quot;attributes&quot;: { # Attributes are additional options that can be associated with each event property. For more information, see # Metadata information about the parameters.
4622 &quot;dataType&quot;: &quot;A String&quot;, # Things like URL, Email, Currency, Timestamp (rather than string, int64...)
4623 &quot;defaultValue&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Used to define defaults.
4624 &quot;booleanValue&quot;: True or False,
4625 &quot;doubleArray&quot;: {
4626 &quot;values&quot;: [
4627 3.14,
4628 ],
4629 },
4630 &quot;doubleValue&quot;: 3.14,
4631 &quot;intArray&quot;: {
4632 &quot;values&quot;: [
4633 &quot;A String&quot;,
4634 ],
4635 },
4636 &quot;intValue&quot;: &quot;A String&quot;,
4637 &quot;protoValue&quot;: {
4638 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4639 },
4640 &quot;stringArray&quot;: {
4641 &quot;values&quot;: [
4642 &quot;A String&quot;,
4643 ],
4644 },
4645 &quot;stringValue&quot;: &quot;A String&quot;,
4646 },
4647 &quot;isRequired&quot;: True or False, # Required for event execution. The validation will be done by the event bus when the event is triggered.
4648 &quot;isSearchable&quot;: True or False, # Used to indicate if a ParameterEntry should be converted to ParamIndexes for ST-Spanner full-text search. DEPRECATED: use searchable.
4649 &quot;logSettings&quot;: { # The LogSettings define the logging attributes for an event property. These attributes are used to map the property to the parameter in the log proto. Also used to define scrubbing/truncation behavior and PII information. # See
4650 &quot;logFieldName&quot;: &quot;A String&quot;, # The name of corresponding logging field of the event property. If omitted, assumes the same name as the event property key.
4651 &quot;seedPeriod&quot;: &quot;A String&quot;,
4652 &quot;seedScope&quot;: &quot;A String&quot;,
4653 },
4654 &quot;masked&quot;: True or False, # True if this workflow parameter should be masked in the logs
4655 &quot;readOnly&quot;: True or False, # Used to indicate if the ParameterEntry is a read only field or not.
4656 &quot;searchable&quot;: &quot;A String&quot;,
4657 &quot;taskVisibility&quot;: [ # List of tasks that can view this property, if empty then all.
4658 &quot;A String&quot;,
4659 ],
4660 },
4661 &quot;children&quot;: [ # Child parameters nested within this parameter. This field only applies to protobuf parameters
4662 # Object with schema name: EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
4663 ],
4664 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
4665 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
4666 &quot;defaultValue&quot;: { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
4667 &quot;booleanArray&quot;: {
4668 &quot;booleanValues&quot;: [
4669 True or False,
4670 ],
4671 },
4672 &quot;booleanValue&quot;: True or False,
4673 &quot;doubleArray&quot;: {
4674 &quot;doubleValues&quot;: [
4675 3.14,
4676 ],
4677 },
4678 &quot;doubleValue&quot;: 3.14,
4679 &quot;intArray&quot;: {
4680 &quot;intValues&quot;: [
4681 &quot;A String&quot;,
4682 ],
4683 },
4684 &quot;intValue&quot;: &quot;A String&quot;,
4685 &quot;jsonValue&quot;: &quot;A String&quot;,
4686 &quot;protoArray&quot;: {
4687 &quot;protoValues&quot;: [
4688 {
4689 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4690 },
4691 ],
4692 },
4693 &quot;protoValue&quot;: {
4694 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4695 },
4696 &quot;serializedObjectValue&quot;: {
4697 &quot;objectValue&quot;: &quot;A String&quot;,
4698 },
4699 &quot;stringArray&quot;: {
4700 &quot;stringValues&quot;: [
4701 &quot;A String&quot;,
4702 ],
4703 },
4704 &quot;stringValue&quot;: &quot;A String&quot;,
4705 },
4706 &quot;description&quot;: &quot;A String&quot;, # Optional. The description about the parameter
4707 &quot;inOutType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
4708 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
4709 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
4710 &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.
4711 &quot;name&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;.
4712 &quot;producedBy&quot;: { # Represents a node identifier (type + id). Next highest id: 3 # 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.
4713 &quot;elementIdentifier&quot;: &quot;A String&quot;, # Configuration of the edge.
4714 &quot;elementType&quot;: &quot;A String&quot;, # Destination node where the edge ends. It can only be a task config.
4715 },
4716 &quot;producer&quot;: &quot;A String&quot;,
4717 &quot;protoDefName&quot;: &quot;A String&quot;, # The name of the protobuf type if the parameter has a protobuf data type.
4718 &quot;protoDefPath&quot;: &quot;A String&quot;, # If the data type is of type proto or proto array, this field needs to be populated with the fully qualified proto name. This message, for example, would be &quot;enterprise.crm.frontends.eventbus.proto.WorkflowParameterEntry&quot;.
4719 &quot;required&quot;: True or False,
4720 },
4721 ],
4722 },
4723 &quot;lastModifierEmail&quot;: &quot;A String&quot;, # Optional. The last modifier&#x27;s email address. Generated based on the End User Credentials/LOAS role of the user making the call.
4724 &quot;lockHolder&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.
4725 &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
4726 &quot;origin&quot;: &quot;A String&quot;, # Optional. The origin that indicates where this integration is coming from.
4727 &quot;parentTemplateId&quot;: &quot;A String&quot;, # Optional. The id of the template which was used to create this integration_version.
4728 &quot;runAsServiceAccount&quot;: &quot;A String&quot;, # Optional. The run-as service account email, if set and auth config is not configured, that will be used to generate auth token to be used in Connector task, Rest caller task and Cloud function task.
4729 &quot;snapshotNumber&quot;: &quot;A String&quot;, # Output only. An increasing sequence that is set when a new snapshot is created. The last created snapshot can be identified by [workflow_name, org_id latest(snapshot_number)]. However, last created snapshot need not be same as the HEAD. So users should always use &quot;HEAD&quot; tag to identify the head.
4730 &quot;state&quot;: &quot;A String&quot;, # Output only. User should not set it as an input.
4731 &quot;status&quot;: &quot;A String&quot;, # Output only. Generated by eventbus. User should not set it as an input.
4732 &quot;taskConfigs&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
4733 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
4734 &quot;conditionalFailurePolicies&quot;: { # Conditional task failur retry strategies # Optional. The list of conditional failure policies that will be applied to the task in order.
4735 &quot;defaultFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # The default failure policy to be applied if no conditional failure policy matches.
4736 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
4737 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
4738 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
4739 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
4740 },
4741 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
4742 { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
4743 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
4744 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
4745 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
4746 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
4747 },
4748 ],
4749 },
4750 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
4751 &quot;displayName&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to this TaskConfig in the UI.
4752 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
4753 &quot;externalTaskType&quot;: &quot;A String&quot;, # Optional. External task type of the task
4754 &quot;failurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
4755 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
4756 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
4757 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
4758 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
4759 },
4760 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # Optional. If set, overrides the option configured in the Task implementation class.
4761 &quot;nextTasks&quot;: [ # Optional. The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
4762 { # The task that is next in line to be executed, if the condition specified evaluated to true.
4763 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
4764 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
4765 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
4766 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
4767 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
4768 },
4769 ],
4770 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution of the next set of tasks for the current task.
4771 &quot;parameters&quot;: { # Optional. The customized parameters the user can pass to this task.
4772 &quot;a_key&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
4773 &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.
4774 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
4775 &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.
4776 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
4777 &quot;booleanValues&quot;: [ # Boolean array.
4778 True or False,
4779 ],
4780 },
4781 &quot;booleanValue&quot;: True or False, # Boolean.
4782 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
4783 &quot;doubleValues&quot;: [ # Double number array.
4784 3.14,
4785 ],
4786 },
4787 &quot;doubleValue&quot;: 3.14, # Double Number.
4788 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
4789 &quot;intValues&quot;: [ # Integer array.
4790 &quot;A String&quot;,
4791 ],
4792 },
4793 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
4794 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
4795 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
4796 &quot;stringValues&quot;: [ # String array.
4797 &quot;A String&quot;,
4798 ],
4799 },
4800 &quot;stringValue&quot;: &quot;A String&quot;, # String.
4801 },
4802 },
4803 },
4804 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
4805 &quot;x&quot;: 42, # Required. X axis of the coordinate
4806 &quot;y&quot;: 42, # Required. Y axis of the coordinate
4807 },
4808 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Optional. Determines what action to take upon successful task completion.
4809 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
4810 },
4811 &quot;synchronousCallFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
4812 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
4813 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
4814 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
4815 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
4816 },
4817 &quot;task&quot;: &quot;A String&quot;, # Optional. The name for the task.
4818 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution strategy of this task.
4819 &quot;taskId&quot;: &quot;A String&quot;, # Required. The identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_id`).
4820 &quot;taskTemplate&quot;: &quot;A String&quot;, # Optional. Used to define task-template name if task is of type task-template
4821 },
4822 ],
4823 &quot;taskConfigsInternal&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
4824 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
4825 &quot;alertConfigs&quot;: [ # Alert configurations on error rate, warning rate, number of runs, durations, etc.
4826 { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event.
4827 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week).
4828 &quot;alertDisabled&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.
4829 &quot;alertName&quot;: &quot;A String&quot;, # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique in within the scope of the containing workflow.
4830 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration. Must be a client enabled in one of the containing workflow&#x27;s triggers.
4831 &quot;durationThresholdMs&quot;: &quot;A String&quot;, # Should be specified only for TASK_AVERAGE_DURATION and TASK_PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
4832 &quot;errorEnumList&quot;: { # List of error enums for alerts.
4833 &quot;enumStrings&quot;: [
4834 &quot;A String&quot;,
4835 ],
4836 &quot;filterType&quot;: &quot;A String&quot;,
4837 },
4838 &quot;metricType&quot;: &quot;A String&quot;,
4839 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
4840 &quot;onlyFinalAttempt&quot;: True or False, # Only count final task attempts, not retries.
4841 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
4842 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
4843 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
4844 &quot;absolute&quot;: &quot;A String&quot;,
4845 &quot;percentage&quot;: 42,
4846 },
4847 &quot;warningEnumList&quot;: { # List of error enums for alerts.
4848 &quot;enumStrings&quot;: [
4849 &quot;A String&quot;,
4850 ],
4851 &quot;filterType&quot;: &quot;A String&quot;,
4852 },
4853 },
4854 ],
4855 &quot;conditionalFailurePolicies&quot;: { # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
4856 &quot;defaultFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # The default failure policy to be applied if no conditional failure policy matches
4857 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
4858 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
4859 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
4860 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
4861 },
4862 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
4863 { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
4864 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
4865 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
4866 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
4867 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
4868 },
4869 ],
4870 },
4871 &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
4872 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address. Auto-generated from the user&#x27;s email.
4873 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
4874 &quot;disableStrictTypeValidation&quot;: True or False, # If this config contains a TypedTask, allow validation to succeed if an input is read from the output of another TypedTask whose output type is declared as a superclass of the requested input type. For instance, if the previous task declares an output of type Message, any task with this flag enabled will pass validation when attempting to read any proto Message type from the resultant Event parameter.
4875 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
4876 &quot;externalTaskType&quot;: &quot;A String&quot;,
4877 &quot;failurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
4878 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
4879 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
4880 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
4881 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
4882 },
4883 &quot;incomingEdgeCount&quot;: 42, # The number of edges leading into this TaskConfig.
4884 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # If set, overrides the option configured in the Task implementation class.
4885 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this TaskConfig in the UI.
4886 &quot;lastModifiedTime&quot;: &quot;A String&quot;, # Auto-generated.
4887 &quot;nextTasks&quot;: [ # The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
4888 { # The task that is next in line to be executed, if the condition specified evaluated to true.
4889 &quot;combinedConditions&quot;: [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
4890 { # This message recursively combines constituent conditions using logical AND.
4891 &quot;conditions&quot;: [ # A set of individual constituent conditions.
4892 { # Condition that uses `operator` to evaluate the key against the value.
4893 &quot;eventPropertyKey&quot;: &quot;A String&quot;, # Key that&#x27;s evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.
4894 &quot;operator&quot;: &quot;A String&quot;, # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
4895 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that&#x27;s checked for the key.
4896 &quot;booleanValue&quot;: True or False,
4897 &quot;doubleArray&quot;: {
4898 &quot;values&quot;: [
4899 3.14,
4900 ],
4901 },
4902 &quot;doubleValue&quot;: 3.14,
4903 &quot;intArray&quot;: {
4904 &quot;values&quot;: [
4905 &quot;A String&quot;,
4906 ],
4907 },
4908 &quot;intValue&quot;: &quot;A String&quot;,
4909 &quot;protoValue&quot;: {
4910 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4911 },
4912 &quot;stringArray&quot;: {
4913 &quot;values&quot;: [
4914 &quot;A String&quot;,
4915 ],
4916 },
4917 &quot;stringValue&quot;: &quot;A String&quot;,
4918 },
4919 },
4920 ],
4921 },
4922 ],
4923 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
4924 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
4925 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
4926 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
4927 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
4928 },
4929 ],
4930 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # The policy dictating the execution of the next set of tasks for the current task.
4931 &quot;parameters&quot;: { # The customized parameters the user can pass to this task.
4932 &quot;a_key&quot;: { # Key-value pair of EventBus parameters.
4933 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
4934 &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.
4935 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
4936 &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.
4937 &quot;booleanArray&quot;: {
4938 &quot;booleanValues&quot;: [
4939 True or False,
4940 ],
4941 },
4942 &quot;booleanValue&quot;: True or False,
4943 &quot;doubleArray&quot;: {
4944 &quot;doubleValues&quot;: [
4945 3.14,
4946 ],
4947 },
4948 &quot;doubleValue&quot;: 3.14,
4949 &quot;intArray&quot;: {
4950 &quot;intValues&quot;: [
4951 &quot;A String&quot;,
4952 ],
4953 },
4954 &quot;intValue&quot;: &quot;A String&quot;,
4955 &quot;jsonValue&quot;: &quot;A String&quot;,
4956 &quot;protoArray&quot;: {
4957 &quot;protoValues&quot;: [
4958 {
4959 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4960 },
4961 ],
4962 },
4963 &quot;protoValue&quot;: {
4964 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4965 },
4966 &quot;serializedObjectValue&quot;: {
4967 &quot;objectValue&quot;: &quot;A String&quot;,
4968 },
4969 &quot;stringArray&quot;: {
4970 &quot;stringValues&quot;: [
4971 &quot;A String&quot;,
4972 ],
4973 },
4974 &quot;stringValue&quot;: &quot;A String&quot;,
4975 },
4976 },
4977 },
4978 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this task config on the UI.
4979 &quot;x&quot;: 42,
4980 &quot;y&quot;: 42,
4981 },
4982 &quot;precondition&quot;: &quot;A String&quot;, # Optional. Standard filter expression evaluated before execution. Independent of other conditions and tasks. Can be used to enable rollout. e.g. &quot;rollout(5)&quot; will only allow 5% of incoming traffic to task.
4983 &quot;preconditionLabel&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to precondition in the UI.
4984 &quot;rollbackStrategy&quot;: { # Next available id: 4 # Optional. Contains information about what needs to be done upon failure (either a permanent error or after it has been retried too many times).
4985 &quot;parameters&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 # Optional. The customized parameters the user can pass to this task.
4986 &quot;parameters&quot;: [ # Parameters are a part of Event and can be used to communicate between different tasks that are part of the same workflow execution.
4987 { # Key-value pair of EventBus parameters.
4988 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
4989 &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.
4990 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
4991 &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.
4992 &quot;booleanArray&quot;: {
4993 &quot;booleanValues&quot;: [
4994 True or False,
4995 ],
4996 },
4997 &quot;booleanValue&quot;: True or False,
4998 &quot;doubleArray&quot;: {
4999 &quot;doubleValues&quot;: [
5000 3.14,
5001 ],
5002 },
5003 &quot;doubleValue&quot;: 3.14,
5004 &quot;intArray&quot;: {
5005 &quot;intValues&quot;: [
5006 &quot;A String&quot;,
5007 ],
5008 },
5009 &quot;intValue&quot;: &quot;A String&quot;,
5010 &quot;jsonValue&quot;: &quot;A String&quot;,
5011 &quot;protoArray&quot;: {
5012 &quot;protoValues&quot;: [
5013 {
5014 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5015 },
5016 ],
5017 },
5018 &quot;protoValue&quot;: {
5019 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5020 },
5021 &quot;serializedObjectValue&quot;: {
5022 &quot;objectValue&quot;: &quot;A String&quot;,
5023 },
5024 &quot;stringArray&quot;: {
5025 &quot;stringValues&quot;: [
5026 &quot;A String&quot;,
5027 ],
5028 },
5029 &quot;stringValue&quot;: &quot;A String&quot;,
5030 },
5031 },
5032 ],
5033 },
5034 &quot;rollbackTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. This is the name of the task that needs to be executed upon rollback of this task.
5035 &quot;taskNumbersToRollback&quot;: [ # Required. These are the tasks numbers of the tasks whose `rollback_strategy.rollback_task_implementation_class_name` needs to be executed upon failure of this task.
5036 &quot;A String&quot;,
5037 ],
5038 },
5039 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Determines what action to take upon successful task completion.
5040 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
5041 },
5042 &quot;synchronousCallFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
5043 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
5044 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
5045 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
5046 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
5047 },
5048 &quot;taskEntity&quot;: { # Contains a task&#x27;s metadata and associated information. Next available id: 7 # Copy of the task entity that this task config is an instance of.
5049 &quot;disabledForVpcSc&quot;: True or False, # True if the task has conflict with vpcsc
5050 &quot;metadata&quot;: { # TaskMetadata are attributes that are associated to every common Task we have. # Metadata inclueds the task name, author and so on.
5051 &quot;activeTaskName&quot;: &quot;A String&quot;, # The new task name to replace the current task if it is deprecated. Otherwise, it is the same as the current task name.
5052 &quot;admins&quot;: [
5053 { # Admins are owners of a Task, and have all permissions on a particular task identified by the task name. By default, Eventbus periodically scans all task metadata and syncs (adds) any new admins defined here to Zanzibar.
5054 &quot;googleGroupEmail&quot;: &quot;A String&quot;,
5055 &quot;userEmail&quot;: &quot;A String&quot;,
5056 },
5057 ],
5058 &quot;category&quot;: &quot;A String&quot;,
5059 &quot;codeSearchLink&quot;: &quot;A String&quot;, # The Code Search link to the Task Java file.
5060 &quot;defaultJsonValidationOption&quot;: &quot;A String&quot;, # Controls whether JSON workflow parameters are validated against provided schemas before and/or after this task&#x27;s execution.
5061 &quot;defaultSpec&quot;: &quot;A String&quot;, # Contains the initial configuration of the task with default values set. For now, The string should be compatible to an ASCII-proto format.
5062 &quot;description&quot;: &quot;A String&quot;, # In a few sentences, describe the purpose and usage of the task.
5063 &quot;descriptiveName&quot;: &quot;A String&quot;, # The string name to show on the task list on the Workflow editor screen. This should be a very short, one to two words name for the task. (e.g. &quot;Send Mail&quot;)
5064 &quot;docMarkdown&quot;: &quot;A String&quot;, # Snippet of markdown documentation to embed in the RHP for this task.
5065 &quot;externalCategory&quot;: &quot;A String&quot;,
5066 &quot;externalCategorySequence&quot;: 42, # Sequence with which the task in specific category to be displayed in task discovery panel for external users.
5067 &quot;externalDocHtml&quot;: &quot;A String&quot;, # External-facing documention embedded in the RHP for this task.
5068 &quot;externalDocLink&quot;: &quot;A String&quot;, # Doc link for external-facing documentation (separate from g3doc).
5069 &quot;externalDocMarkdown&quot;: &quot;A String&quot;, # DEPRECATED: Use external_doc_html.
5070 &quot;g3DocLink&quot;: &quot;A String&quot;, # URL to the associated G3 Doc for the task if available
5071 &quot;iconLink&quot;: &quot;A String&quot;, # URL to gstatic image icon for this task. This icon shows up on the task list panel along with the task name in the Workflow Editor screen. Use the 24p, 2x, gray color icon image format.
5072 &quot;isDeprecated&quot;: True or False, # The deprecation status of the current task. Default value is false;
5073 &quot;name&quot;: &quot;A String&quot;, # The actual class name or the annotated name of the task. Task Author should initialize this field with value from the getName() method of the Task class.
5074 &quot;standaloneExternalDocHtml&quot;: &quot;A String&quot;, # External-facing documention for standalone IP in pantheon embedded in the RHP for this task. Non null only if different from external_doc_html
5075 &quot;status&quot;: &quot;A String&quot;, # Allows author to indicate if the task is ready to use or not. If not set, then it will default to INACTIVE.
5076 &quot;system&quot;: &quot;A String&quot;,
5077 &quot;tags&quot;: [ # A set of tags that pertain to a particular task. This can be used to improve the searchability of tasks with several names (&quot;REST Caller&quot; vs. &quot;Call REST Endpoint&quot;) or to help users find tasks based on related words.
5078 &quot;A String&quot;,
5079 ],
5080 },
5081 &quot;paramSpecs&quot;: { # Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask.
5082 &quot;parameters&quot;: [
5083 { # Key-value pair of EventBus task parameters. Next id: 13
5084 &quot;className&quot;: &quot;A String&quot;, # The FQCN of the Java object this represents. A string, for example, would be &quot;java.lang.String&quot;. If this is &quot;java.lang.Object&quot;, the parameter can be of any type.
5085 &quot;collectionElementClassName&quot;: &quot;A String&quot;, # If it is a collection of objects, this would be the FCQN of every individual element in the collection. If this is &quot;java.lang.Object&quot;, the parameter is a collection of any type.
5086 &quot;config&quot;: { # Optional fields, such as help text and other useful info.
5087 &quot;descriptivePhrase&quot;: &quot;A String&quot;, # A short phrase to describe what this parameter contains.
5088 &quot;helpText&quot;: &quot;A String&quot;, # Detailed help text for this parameter containing information not provided elsewhere. For example, instructions on how to migrate from a deprecated parameter.
5089 &quot;hideDefaultValue&quot;: True or False, # Whether the default value is hidden in the UI.
5090 &quot;inputDisplayOption&quot;: &quot;A String&quot;,
5091 &quot;isHidden&quot;: True or False, # Whether this field is hidden in the UI.
5092 &quot;label&quot;: &quot;A String&quot;, # A user-friendly label for the parameter.
5093 &quot;parameterNameOption&quot;: &quot;A String&quot;,
5094 &quot;subSectionLabel&quot;: &quot;A String&quot;, # A user-friendly label for subSection under which the parameter will be displayed.
5095 &quot;uiPlaceholderText&quot;: &quot;A String&quot;, # Placeholder text which will appear in the UI input form for this parameter.
5096 },
5097 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
5098 &quot;defaultValue&quot;: { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
5099 &quot;booleanArray&quot;: {
5100 &quot;booleanValues&quot;: [
5101 True or False,
5102 ],
5103 },
5104 &quot;booleanValue&quot;: True or False,
5105 &quot;doubleArray&quot;: {
5106 &quot;doubleValues&quot;: [
5107 3.14,
5108 ],
5109 },
5110 &quot;doubleValue&quot;: 3.14,
5111 &quot;intArray&quot;: {
5112 &quot;intValues&quot;: [
5113 &quot;A String&quot;,
5114 ],
5115 },
5116 &quot;intValue&quot;: &quot;A String&quot;,
5117 &quot;jsonValue&quot;: &quot;A String&quot;,
5118 &quot;protoArray&quot;: {
5119 &quot;protoValues&quot;: [
5120 {
5121 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5122 },
5123 ],
5124 },
5125 &quot;protoValue&quot;: {
5126 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5127 },
5128 &quot;serializedObjectValue&quot;: {
5129 &quot;objectValue&quot;: &quot;A String&quot;,
5130 },
5131 &quot;stringArray&quot;: {
5132 &quot;stringValues&quot;: [
5133 &quot;A String&quot;,
5134 ],
5135 },
5136 &quot;stringValue&quot;: &quot;A String&quot;,
5137 },
5138 &quot;isDeprecated&quot;: True or False, # If set, this entry is deprecated, so further use of this parameter should be prohibited.
5139 &quot;isOutput&quot;: True or False,
5140 &quot;jsonSchema&quot;: &quot;A String&quot;, # If the data_type is JSON_VALUE, then this will define its schema.
5141 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given task. These parameters must be predefined in the workflow definition.
5142 &quot;protoDef&quot;: { # Populated if this represents a proto or proto array.
5143 &quot;fullName&quot;: &quot;A String&quot;, # The fully-qualified proto name. This message, for example, would be &quot;enterprise.crm.eventbus.proto.ParamSpecEntry.ProtoDefinition&quot;.
5144 &quot;path&quot;: &quot;A String&quot;, # Path to the proto file that contains the message type&#x27;s definition.
5145 },
5146 &quot;required&quot;: True or False, # If set, the user must provide an input value for this parameter.
5147 &quot;validationRule&quot;: { # Rule used to validate inputs (individual values and collection elements) for this parameter.
5148 &quot;doubleRange&quot;: { # Range used to validate doubles and floats.
5149 &quot;max&quot;: 3.14, # The inclusive maximum of the acceptable range.
5150 &quot;min&quot;: 3.14, # The inclusive minimum of the acceptable range.
5151 },
5152 &quot;intRange&quot;: { # Range used to validate longs and ints.
5153 &quot;max&quot;: &quot;A String&quot;, # The inclusive maximum of the acceptable range.
5154 &quot;min&quot;: &quot;A String&quot;, # The inclusive minimum of the acceptable range.
5155 },
5156 &quot;stringRegex&quot;: { # Rule used to validate strings.
5157 &quot;exclusive&quot;: True or False, # Whether the regex matcher is applied exclusively (if true, matching values will be rejected).
5158 &quot;regex&quot;: &quot;A String&quot;, # The regex applied to the input value(s).
5159 },
5160 },
5161 },
5162 ],
5163 },
5164 &quot;stats&quot;: { # Stats for the requested dimensions: QPS, duration, and error/warning rate # Deprecated - statistics from the Monarch query.
5165 &quot;dimensions&quot;: { # Dimensions that these stats have been aggregated on.
5166 &quot;clientId&quot;: &quot;A String&quot;,
5167 &quot;enumFilterType&quot;: &quot;A String&quot;, # Whether to include or exclude the enums matching the regex.
5168 &quot;errorEnumString&quot;: &quot;A String&quot;,
5169 &quot;retryAttempt&quot;: &quot;A String&quot;,
5170 &quot;taskName&quot;: &quot;A String&quot;,
5171 &quot;taskNumber&quot;: &quot;A String&quot;,
5172 &quot;triggerId&quot;: &quot;A String&quot;, # Stats have been or will be aggregated on set fields for any semantically-meaningful combination.
5173 &quot;warningEnumString&quot;: &quot;A String&quot;,
5174 &quot;workflowId&quot;: &quot;A String&quot;,
5175 &quot;workflowName&quot;: &quot;A String&quot;,
5176 },
5177 &quot;durationInSeconds&quot;: 3.14, # Average duration in seconds.
5178 &quot;errorRate&quot;: 3.14, # Average error rate.
5179 &quot;qps&quot;: 3.14, # Queries per second.
5180 &quot;warningRate&quot;: 3.14, # Average warning rate.
5181 },
5182 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
5183 &quot;uiConfig&quot;: { # Task authors would use this type to configure the UI for a particular task by specifying what UI config modules should be included to compose the UI. Learn more about config module framework: # UI configuration for this task Also associated with the METADATA mask.
5184 &quot;taskUiModuleConfigs&quot;: [ # Configurations of included config modules.
5185 { # Task author would use this type to configure a config module.
5186 &quot;moduleId&quot;: &quot;A String&quot;, # ID of the config module.
5187 },
5188 ],
5189 },
5190 },
5191 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # The policy dictating the execution strategy of this task.
5192 &quot;taskName&quot;: &quot;A String&quot;, # The name for the task.
5193 &quot;taskNumber&quot;: &quot;A String&quot;, # REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`).
5194 &quot;taskSpec&quot;: &quot;A String&quot;, # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old &quot;parameters&quot; field.
5195 &quot;taskTemplateName&quot;: &quot;A String&quot;, # Used to define task-template name if task is of type task-template
5196 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
5197 },
5198 ],
5199 &quot;teardown&quot;: { # Optional. Contains a graph of tasks that will be executed before putting the event in a terminal state (SUCCEEDED/FAILED/FATAL), regardless of success or failure, similar to &quot;finally&quot; in code.
5200 &quot;teardownTaskConfigs&quot;: [ # Required.
5201 {
5202 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address.
5203 &quot;name&quot;: &quot;A String&quot;, # Required. Unique identifier of the teardown task within this Config. We use this field as the identifier to find next teardown tasks.
5204 &quot;nextTeardownTask&quot;: { # The teardown task that is next in line to be executed. We support only sequential execution of teardown tasks (i.e. no branching).
5205 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the next teardown task.
5206 },
5207 &quot;parameters&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 the user can pass to this task.
5208 &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.
5209 { # Key-value pair of EventBus parameters.
5210 &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.
5211 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
5212 &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.
5213 &quot;booleanArray&quot;: {
5214 &quot;booleanValues&quot;: [
5215 True or False,
5216 ],
5217 },
5218 &quot;booleanValue&quot;: True or False,
5219 &quot;doubleArray&quot;: {
5220 &quot;doubleValues&quot;: [
5221 3.14,
5222 ],
5223 },
5224 &quot;doubleValue&quot;: 3.14,
5225 &quot;intArray&quot;: {
5226 &quot;intValues&quot;: [
5227 &quot;A String&quot;,
5228 ],
5229 },
5230 &quot;intValue&quot;: &quot;A String&quot;,
5231 &quot;protoArray&quot;: {
5232 &quot;protoValues&quot;: [
5233 {
5234 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5235 },
5236 ],
5237 },
5238 &quot;protoValue&quot;: {
5239 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5240 },
5241 &quot;serializedObjectValue&quot;: {
5242 &quot;objectValue&quot;: &quot;A String&quot;,
5243 },
5244 &quot;stringArray&quot;: {
5245 &quot;stringValues&quot;: [
5246 &quot;A String&quot;,
5247 ],
5248 },
5249 &quot;stringValue&quot;: &quot;A String&quot;,
5250 },
5251 },
5252 ],
5253 },
5254 &quot;properties&quot;: { # LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus.
5255 &quot;properties&quot;: [ # An unordered list of property entries.
5256 { # Key-value pair of EventBus property.
5257 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding property value. This should be unique for a given fired event. The Tasks should be aware of the keys used while firing the events for them to be able to retrieve the values.
5258 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Values for the defined keys. Each value can either be string, int, double or any proto message.
5259 &quot;booleanValue&quot;: True or False,
5260 &quot;doubleArray&quot;: {
5261 &quot;values&quot;: [
5262 3.14,
5263 ],
5264 },
5265 &quot;doubleValue&quot;: 3.14,
5266 &quot;intArray&quot;: {
5267 &quot;values&quot;: [
5268 &quot;A String&quot;,
5269 ],
5270 },
5271 &quot;intValue&quot;: &quot;A String&quot;,
5272 &quot;protoValue&quot;: {
5273 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5274 },
5275 &quot;stringArray&quot;: {
5276 &quot;values&quot;: [
5277 &quot;A String&quot;,
5278 ],
5279 },
5280 &quot;stringValue&quot;: &quot;A String&quot;,
5281 },
5282 },
5283 ],
5284 },
5285 &quot;teardownTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. Implementation class name.
5286 },
5287 ],
5288 },
5289 &quot;triggerConfigs&quot;: [ # Optional. Trigger configurations.
5290 { # Configuration detail of a trigger.
5291 &quot;alertConfig&quot;: [ # Optional. An alert threshold configuration for the [trigger + client + integration] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + integration] when published.
5292 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
5293 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
5294 &quot;alertThreshold&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
5295 &quot;disableAlert&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this integration alert.
5296 &quot;displayName&quot;: &quot;A String&quot;, # Name of the alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the integration.
5297 &quot;durationThreshold&quot;: &quot;A String&quot;, # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
5298 &quot;metricType&quot;: &quot;A String&quot;, # The type of metric.
5299 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
5300 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
5301 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
5302 &quot;absolute&quot;: &quot;A String&quot;, # Absolute value threshold.
5303 &quot;percentage&quot;: 42, # Percentage threshold.
5304 },
5305 },
5306 ],
5307 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration # Optional. Cloud Scheduler Trigger related metadata
5308 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
5309 &quot;errorMessage&quot;: &quot;A String&quot;, # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations
5310 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
5311 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
5312 },
5313 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
5314 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
5315 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
5316 &quot;names&quot;: [ # Optional. List of variable names.
5317 &quot;A String&quot;,
5318 ],
5319 },
5320 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular trigger.
5321 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. Dictates how next tasks will be executed.
5322 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
5323 &quot;names&quot;: [ # Optional. List of variable names.
5324 &quot;A String&quot;,
5325 ],
5326 },
5327 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
5328 &quot;x&quot;: 42, # Required. X axis of the coordinate
5329 &quot;y&quot;: 42, # Required. Y axis of the coordinate
5330 },
5331 &quot;properties&quot;: { # Optional. Configurable properties of the trigger, not to be confused with integration parameters. E.g. &quot;name&quot; is a property for API triggers and &quot;subscription&quot; is a property for Pub/sub triggers.
5332 &quot;a_key&quot;: &quot;A String&quot;,
5333 },
5334 &quot;startTasks&quot;: [ # Optional. Set of tasks numbers from where the integration execution is started by this trigger. If this is empty, then integration is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same integration execution graph).
5335 { # The task that is next in line to be executed, if the condition specified evaluated to true.
5336 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
5337 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
5338 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
5339 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
5340 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
5341 },
5342 ],
5343 &quot;trigger&quot;: &quot;A String&quot;, # Optional. Name of the trigger. Example: &quot;API Trigger&quot;, &quot;Cloud Pub Sub Trigger&quot; When set will be sent out to monitoring dashabord for tracking purpose.
5344 &quot;triggerId&quot;: &quot;A String&quot;, # Optional. Auto-generated trigger ID. The ID is based on the properties that you define in the trigger config. For example, for an API trigger, the trigger ID follows the format: api_trigger/TRIGGER_NAME Where trigger config has properties with value {&quot;Trigger name&quot;: TRIGGER_NAME}
5345 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the integration on UI.
5346 &quot;triggerType&quot;: &quot;A String&quot;, # Optional. Type of trigger
5347 },
5348 ],
5349 &quot;triggerConfigsInternal&quot;: [ # Optional. Trigger configurations.
5350 { # Configuration detail of a trigger. Next available id: 22
5351 &quot;alertConfig&quot;: [ # An alert threshold configuration for the [trigger + client + workflow] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + workflow] when published.
5352 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
5353 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
5354 &quot;alertDisabled&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.
5355 &quot;alertName&quot;: &quot;A String&quot;, # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the workflow.
5356 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration.
5357 &quot;durationThresholdMs&quot;: &quot;A String&quot;, # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
5358 &quot;errorEnumList&quot;: { # List of error enums for alerts.
5359 &quot;enumStrings&quot;: [
5360 &quot;A String&quot;,
5361 ],
5362 &quot;filterType&quot;: &quot;A String&quot;,
5363 },
5364 &quot;metricType&quot;: &quot;A String&quot;,
5365 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
5366 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
5367 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
5368 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
5369 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
5370 &quot;absolute&quot;: &quot;A String&quot;,
5371 &quot;percentage&quot;: 42,
5372 },
5373 &quot;warningEnumList&quot;: { # List of error enums for alerts.
5374 &quot;enumStrings&quot;: [
5375 &quot;A String&quot;,
5376 ],
5377 &quot;filterType&quot;: &quot;A String&quot;,
5378 },
5379 },
5380 ],
5381 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration
5382 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
5383 &quot;errorMessage&quot;: &quot;A String&quot;, # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations
5384 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
5385 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
5386 },
5387 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
5388 &quot;enabledClients&quot;: [ # Required. The list of client ids which are enabled to execute the workflow using this trigger. In other words, these clients have the workflow execution privledges for this trigger. For API trigger, the client id in the incoming request is validated against the list of enabled clients. For non-API triggers, one workflow execution is triggered on behalf of each enabled client.
5389 &quot;A String&quot;,
5390 ],
5391 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
5392 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
5393 &quot;names&quot;: [ # Optional. List of variable names.
5394 &quot;A String&quot;,
5395 ],
5396 },
5397 &quot;label&quot;: &quot;A String&quot;, # The user created label for a particular trigger.
5398 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Dictates how next tasks will be executed.
5399 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
5400 &quot;names&quot;: [ # Optional. List of variable names.
5401 &quot;A String&quot;,
5402 ],
5403 },
5404 &quot;pauseWorkflowExecutions&quot;: True or False, # Optional. If set to true, any upcoming requests for this trigger config will be paused and the executions will be resumed later when the flag is reset. The workflow to which this trigger config belongs has to be in ACTIVE status for the executions to be paused or resumed.
5405 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this trigger config on the UI.
5406 &quot;x&quot;: 42,
5407 &quot;y&quot;: 42,
5408 },
5409 &quot;properties&quot;: { # Configurable properties of the trigger, not to be confused with workflow parameters. E.g. &quot;name&quot; is a property for API triggers and &quot;subscription&quot; is a property for Cloud Pubsub triggers.
5410 &quot;a_key&quot;: &quot;A String&quot;,
5411 },
5412 &quot;startTasks&quot;: [ # Set of tasks numbers from where the workflow execution is started by this trigger. If this is empty, then workflow is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same workflow execution graph).
5413 { # The task that is next in line to be executed, if the condition specified evaluated to true.
5414 &quot;combinedConditions&quot;: [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
5415 { # This message recursively combines constituent conditions using logical AND.
5416 &quot;conditions&quot;: [ # A set of individual constituent conditions.
5417 { # Condition that uses `operator` to evaluate the key against the value.
5418 &quot;eventPropertyKey&quot;: &quot;A String&quot;, # Key that&#x27;s evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.
5419 &quot;operator&quot;: &quot;A String&quot;, # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
5420 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that&#x27;s checked for the key.
5421 &quot;booleanValue&quot;: True or False,
5422 &quot;doubleArray&quot;: {
5423 &quot;values&quot;: [
5424 3.14,
5425 ],
5426 },
5427 &quot;doubleValue&quot;: 3.14,
5428 &quot;intArray&quot;: {
5429 &quot;values&quot;: [
5430 &quot;A String&quot;,
5431 ],
5432 },
5433 &quot;intValue&quot;: &quot;A String&quot;,
5434 &quot;protoValue&quot;: {
5435 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5436 },
5437 &quot;stringArray&quot;: {
5438 &quot;values&quot;: [
5439 &quot;A String&quot;,
5440 ],
5441 },
5442 &quot;stringValue&quot;: &quot;A String&quot;,
5443 },
5444 },
5445 ],
5446 },
5447 ],
5448 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
5449 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
5450 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
5451 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
5452 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
5453 },
5454 ],
5455 &quot;triggerCriteria&quot;: { # Optional. When set, Eventbus will run the task specified in the trigger_criteria and validate the result using the trigger_criteria.condition, and only execute the workflow when result is true.
5456 &quot;condition&quot;: &quot;A String&quot;, # Required. Standard filter expression, when true the workflow will be executed. If there&#x27;s no trigger_criteria_task_implementation_class_name specified, the condition will be validated directly.
5457 &quot;parameters&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 # Optional. To be used in TaskConfig for the implementation class.
5458 &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.
5459 { # Key-value pair of EventBus parameters.
5460 &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.
5461 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
5462 &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.
5463 &quot;booleanArray&quot;: {
5464 &quot;booleanValues&quot;: [
5465 True or False,
5466 ],
5467 },
5468 &quot;booleanValue&quot;: True or False,
5469 &quot;doubleArray&quot;: {
5470 &quot;doubleValues&quot;: [
5471 3.14,
5472 ],
5473 },
5474 &quot;doubleValue&quot;: 3.14,
5475 &quot;intArray&quot;: {
5476 &quot;intValues&quot;: [
5477 &quot;A String&quot;,
5478 ],
5479 },
5480 &quot;intValue&quot;: &quot;A String&quot;,
5481 &quot;protoArray&quot;: {
5482 &quot;protoValues&quot;: [
5483 {
5484 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5485 },
5486 ],
5487 },
5488 &quot;protoValue&quot;: {
5489 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5490 },
5491 &quot;serializedObjectValue&quot;: {
5492 &quot;objectValue&quot;: &quot;A String&quot;,
5493 },
5494 &quot;stringArray&quot;: {
5495 &quot;stringValues&quot;: [
5496 &quot;A String&quot;,
5497 ],
5498 },
5499 &quot;stringValue&quot;: &quot;A String&quot;,
5500 },
5501 },
5502 ],
5503 },
5504 &quot;triggerCriteriaTaskImplementationClassName&quot;: &quot;A String&quot;, # Optional. Implementation class name. The class should implement the “TypedTask” interface.
5505 },
5506 &quot;triggerId&quot;: &quot;A String&quot;, # The backend trigger ID.
5507 &quot;triggerName&quot;: &quot;A String&quot;, # Optional. Name of the trigger This is added to identify the type of trigger. This is avoid the logic on triggerId to identify the trigger_type and push the same to monitoring.
5508 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the workflow on UI.
5509 &quot;triggerType&quot;: &quot;A String&quot;,
5510 },
5511 ],
5512 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
5513 &quot;userLabel&quot;: &quot;A String&quot;, # Optional. A user-defined label that annotates an integration version. Typically, this is only set when the integration version is created.
5514 },
5515 &quot;key&quot;: &quot;A String&quot;, # Required. Unique Key of the IntegrationVersion.
5516 },
5517 &quot;subIntegrationVersionTemplates&quot;: [ # Optional. Sub integration templates which would be added along with main integration.
5518 { # Define the template of IntegrationVersion.
5519 &quot;integrationVersion&quot;: { # The integration version definition. # Required. Templatized version of integration.
5520 &quot;cloudKmsKey&quot;: &quot;A String&quot;, # Optional. Cloud KMS resource name for the CMEK encryption key.
5521 &quot;cloudLoggingDetails&quot;: { # Cloud Logging details for execution info # Optional. Cloud Logging details for the integration version
5522 &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.
5523 &quot;enableCloudLogging&quot;: True or False, # Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.
5524 },
5525 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
5526 &quot;createdFromTemplate&quot;: &quot;A String&quot;, # Optional. Optional. The resource name of the template from which the integration is created.
5527 &quot;databasePersistencePolicy&quot;: &quot;A String&quot;, # Optional. Flag to disable database persistence for execution data, including event execution info, execution export info, execution metadata index and execution param index.
5528 &quot;description&quot;: &quot;A String&quot;, # Optional. The integration description.
5529 &quot;enableVariableMasking&quot;: True or False, # Optional. True if variable masking feature should be turned on for this version
5530 &quot;errorCatcherConfigs&quot;: [ # Optional. Error Catch Task configuration for the integration. It&#x27;s optional.
5531 { # Configuration detail of a error catch task
5532 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give more business context about the error catcher config.
5533 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Required. An error catcher id is string representation for the error catcher config. Within a workflow, error_catcher_id uniquely identifies an error catcher config among all error catcher configs for the workflow
5534 &quot;errorCatcherNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each error catcher config within the workflow on UI.
5535 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular error catcher. Optional.
5536 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
5537 &quot;x&quot;: 42, # Required. X axis of the coordinate
5538 &quot;y&quot;: 42, # Required. Y axis of the coordinate
5539 },
5540 &quot;startErrorTasks&quot;: [ # Required. The set of start tasks that are to be executed for the error catch flow
5541 { # The task that is next in line to be executed, if the condition specified evaluated to true.
5542 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
5543 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
5544 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
5545 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
5546 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
5547 },
5548 ],
5549 },
5550 ],
5551 &quot;integrationConfigParameters&quot;: [ # Optional. Config Parameters that are expected to be passed to the integration when an integration is published. This consists of all the parameters that are expected to provide configuration in the integration execution. This gives the user the ability to provide default values, value, add information like connection url, project based configuration value and also provide data types of each parameter.
5552 { # Integration Config Parameter is defined in the integration config and are used to provide external configuration for integration. It provide information about data types of the expected parameters and provide any default values or value. They can also be used to add custom attributes.
5553 &quot;parameter&quot;: { # 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. # Optional. Integration Parameter to provide the default value, data type and attributes required for the Integration config variables.
5554 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
5555 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
5556 &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.
5557 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
5558 &quot;booleanValues&quot;: [ # Boolean array.
5559 True or False,
5560 ],
5561 },
5562 &quot;booleanValue&quot;: True or False, # Boolean.
5563 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
5564 &quot;doubleValues&quot;: [ # Double number array.
5565 3.14,
5566 ],
5567 },
5568 &quot;doubleValue&quot;: 3.14, # Double Number.
5569 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
5570 &quot;intValues&quot;: [ # Integer array.
5571 &quot;A String&quot;,
5572 ],
5573 },
5574 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
5575 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
5576 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
5577 &quot;stringValues&quot;: [ # String array.
5578 &quot;A String&quot;,
5579 ],
5580 },
5581 &quot;stringValue&quot;: &quot;A String&quot;, # String.
5582 },
5583 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
5584 &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;.
5585 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
5586 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
5587 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
5588 &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.
5589 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
5590 &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.
5591 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
5592 },
5593 &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 or a serialized object.
5594 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
5595 &quot;booleanValues&quot;: [ # Boolean array.
5596 True or False,
5597 ],
5598 },
5599 &quot;booleanValue&quot;: True or False, # Boolean.
5600 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
5601 &quot;doubleValues&quot;: [ # Double number array.
5602 3.14,
5603 ],
5604 },
5605 &quot;doubleValue&quot;: 3.14, # Double Number.
5606 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
5607 &quot;intValues&quot;: [ # Integer array.
5608 &quot;A String&quot;,
5609 ],
5610 },
5611 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
5612 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
5613 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
5614 &quot;stringValues&quot;: [ # String array.
5615 &quot;A String&quot;,
5616 ],
5617 },
5618 &quot;stringValue&quot;: &quot;A String&quot;, # String.
5619 },
5620 },
5621 ],
5622 &quot;integrationParameters&quot;: [ # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
5623 { # 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.
5624 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
5625 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
5626 &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.
5627 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
5628 &quot;booleanValues&quot;: [ # Boolean array.
5629 True or False,
5630 ],
5631 },
5632 &quot;booleanValue&quot;: True or False, # Boolean.
5633 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
5634 &quot;doubleValues&quot;: [ # Double number array.
5635 3.14,
5636 ],
5637 },
5638 &quot;doubleValue&quot;: 3.14, # Double Number.
5639 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
5640 &quot;intValues&quot;: [ # Integer array.
5641 &quot;A String&quot;,
5642 ],
5643 },
5644 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
5645 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
5646 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
5647 &quot;stringValues&quot;: [ # String array.
5648 &quot;A String&quot;,
5649 ],
5650 },
5651 &quot;stringValue&quot;: &quot;A String&quot;, # String.
5652 },
5653 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
5654 &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;.
5655 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
5656 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
5657 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
5658 &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.
5659 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
5660 &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.
5661 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
5662 },
5663 ],
5664 &quot;integrationParametersInternal&quot;: { # LINT.IfChange This is the frontend version of WorkflowParameters. It&#x27;s exactly like the backend version except that instead of flattening protobuf parameters and treating every field and subfield of a protobuf parameter as a separate parameter, the fields/subfields of a protobuf parameter will be nested as &quot;children&quot; (see &#x27;children&#x27; field below) parameters of the parent parameter. Please refer to enterprise/crm/eventbus/proto/workflow_parameters.proto for more information about WorkflowParameters. # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
5665 &quot;parameters&quot;: [ # Parameters are a part of Event and can be used to communiticate between different tasks that are part of the same workflow execution.
5666 {
5667 &quot;attributes&quot;: { # Attributes are additional options that can be associated with each event property. For more information, see # Metadata information about the parameters.
5668 &quot;dataType&quot;: &quot;A String&quot;, # Things like URL, Email, Currency, Timestamp (rather than string, int64...)
5669 &quot;defaultValue&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Used to define defaults.
5670 &quot;booleanValue&quot;: True or False,
5671 &quot;doubleArray&quot;: {
5672 &quot;values&quot;: [
5673 3.14,
5674 ],
5675 },
5676 &quot;doubleValue&quot;: 3.14,
5677 &quot;intArray&quot;: {
5678 &quot;values&quot;: [
5679 &quot;A String&quot;,
5680 ],
5681 },
5682 &quot;intValue&quot;: &quot;A String&quot;,
5683 &quot;protoValue&quot;: {
5684 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5685 },
5686 &quot;stringArray&quot;: {
5687 &quot;values&quot;: [
5688 &quot;A String&quot;,
5689 ],
5690 },
5691 &quot;stringValue&quot;: &quot;A String&quot;,
5692 },
5693 &quot;isRequired&quot;: True or False, # Required for event execution. The validation will be done by the event bus when the event is triggered.
5694 &quot;isSearchable&quot;: True or False, # Used to indicate if a ParameterEntry should be converted to ParamIndexes for ST-Spanner full-text search. DEPRECATED: use searchable.
5695 &quot;logSettings&quot;: { # The LogSettings define the logging attributes for an event property. These attributes are used to map the property to the parameter in the log proto. Also used to define scrubbing/truncation behavior and PII information. # See
5696 &quot;logFieldName&quot;: &quot;A String&quot;, # The name of corresponding logging field of the event property. If omitted, assumes the same name as the event property key.
5697 &quot;seedPeriod&quot;: &quot;A String&quot;,
5698 &quot;seedScope&quot;: &quot;A String&quot;,
5699 },
5700 &quot;masked&quot;: True or False, # True if this workflow parameter should be masked in the logs
5701 &quot;readOnly&quot;: True or False, # Used to indicate if the ParameterEntry is a read only field or not.
5702 &quot;searchable&quot;: &quot;A String&quot;,
5703 &quot;taskVisibility&quot;: [ # List of tasks that can view this property, if empty then all.
5704 &quot;A String&quot;,
5705 ],
5706 },
5707 &quot;children&quot;: [ # Child parameters nested within this parameter. This field only applies to protobuf parameters
5708 # Object with schema name: EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
5709 ],
5710 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
5711 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
5712 &quot;defaultValue&quot;: { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
5713 &quot;booleanArray&quot;: {
5714 &quot;booleanValues&quot;: [
5715 True or False,
5716 ],
5717 },
5718 &quot;booleanValue&quot;: True or False,
5719 &quot;doubleArray&quot;: {
5720 &quot;doubleValues&quot;: [
5721 3.14,
5722 ],
5723 },
5724 &quot;doubleValue&quot;: 3.14,
5725 &quot;intArray&quot;: {
5726 &quot;intValues&quot;: [
5727 &quot;A String&quot;,
5728 ],
5729 },
5730 &quot;intValue&quot;: &quot;A String&quot;,
5731 &quot;jsonValue&quot;: &quot;A String&quot;,
5732 &quot;protoArray&quot;: {
5733 &quot;protoValues&quot;: [
5734 {
5735 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5736 },
5737 ],
5738 },
5739 &quot;protoValue&quot;: {
5740 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5741 },
5742 &quot;serializedObjectValue&quot;: {
5743 &quot;objectValue&quot;: &quot;A String&quot;,
5744 },
5745 &quot;stringArray&quot;: {
5746 &quot;stringValues&quot;: [
5747 &quot;A String&quot;,
5748 ],
5749 },
5750 &quot;stringValue&quot;: &quot;A String&quot;,
5751 },
5752 &quot;description&quot;: &quot;A String&quot;, # Optional. The description about the parameter
5753 &quot;inOutType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
5754 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
5755 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
5756 &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.
5757 &quot;name&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;.
5758 &quot;producedBy&quot;: { # Represents a node identifier (type + id). Next highest id: 3 # 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.
5759 &quot;elementIdentifier&quot;: &quot;A String&quot;, # Configuration of the edge.
5760 &quot;elementType&quot;: &quot;A String&quot;, # Destination node where the edge ends. It can only be a task config.
5761 },
5762 &quot;producer&quot;: &quot;A String&quot;,
5763 &quot;protoDefName&quot;: &quot;A String&quot;, # The name of the protobuf type if the parameter has a protobuf data type.
5764 &quot;protoDefPath&quot;: &quot;A String&quot;, # If the data type is of type proto or proto array, this field needs to be populated with the fully qualified proto name. This message, for example, would be &quot;enterprise.crm.frontends.eventbus.proto.WorkflowParameterEntry&quot;.
5765 &quot;required&quot;: True or False,
5766 },
5767 ],
5768 },
5769 &quot;lastModifierEmail&quot;: &quot;A String&quot;, # Optional. The last modifier&#x27;s email address. Generated based on the End User Credentials/LOAS role of the user making the call.
5770 &quot;lockHolder&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.
5771 &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
5772 &quot;origin&quot;: &quot;A String&quot;, # Optional. The origin that indicates where this integration is coming from.
5773 &quot;parentTemplateId&quot;: &quot;A String&quot;, # Optional. The id of the template which was used to create this integration_version.
5774 &quot;runAsServiceAccount&quot;: &quot;A String&quot;, # Optional. The run-as service account email, if set and auth config is not configured, that will be used to generate auth token to be used in Connector task, Rest caller task and Cloud function task.
5775 &quot;snapshotNumber&quot;: &quot;A String&quot;, # Output only. An increasing sequence that is set when a new snapshot is created. The last created snapshot can be identified by [workflow_name, org_id latest(snapshot_number)]. However, last created snapshot need not be same as the HEAD. So users should always use &quot;HEAD&quot; tag to identify the head.
5776 &quot;state&quot;: &quot;A String&quot;, # Output only. User should not set it as an input.
5777 &quot;status&quot;: &quot;A String&quot;, # Output only. Generated by eventbus. User should not set it as an input.
5778 &quot;taskConfigs&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
5779 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
5780 &quot;conditionalFailurePolicies&quot;: { # Conditional task failur retry strategies # Optional. The list of conditional failure policies that will be applied to the task in order.
5781 &quot;defaultFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # The default failure policy to be applied if no conditional failure policy matches.
5782 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
5783 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
5784 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
5785 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
5786 },
5787 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
5788 { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
5789 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
5790 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
5791 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
5792 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
5793 },
5794 ],
5795 },
5796 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
5797 &quot;displayName&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to this TaskConfig in the UI.
5798 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
5799 &quot;externalTaskType&quot;: &quot;A String&quot;, # Optional. External task type of the task
5800 &quot;failurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
5801 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
5802 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
5803 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
5804 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
5805 },
5806 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # Optional. If set, overrides the option configured in the Task implementation class.
5807 &quot;nextTasks&quot;: [ # Optional. The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
5808 { # The task that is next in line to be executed, if the condition specified evaluated to true.
5809 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
5810 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
5811 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
5812 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
5813 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
5814 },
5815 ],
5816 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution of the next set of tasks for the current task.
5817 &quot;parameters&quot;: { # Optional. The customized parameters the user can pass to this task.
5818 &quot;a_key&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
5819 &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.
5820 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
5821 &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.
5822 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
5823 &quot;booleanValues&quot;: [ # Boolean array.
5824 True or False,
5825 ],
5826 },
5827 &quot;booleanValue&quot;: True or False, # Boolean.
5828 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
5829 &quot;doubleValues&quot;: [ # Double number array.
5830 3.14,
5831 ],
5832 },
5833 &quot;doubleValue&quot;: 3.14, # Double Number.
5834 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
5835 &quot;intValues&quot;: [ # Integer array.
5836 &quot;A String&quot;,
5837 ],
5838 },
5839 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
5840 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
5841 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
5842 &quot;stringValues&quot;: [ # String array.
5843 &quot;A String&quot;,
5844 ],
5845 },
5846 &quot;stringValue&quot;: &quot;A String&quot;, # String.
5847 },
5848 },
5849 },
5850 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
5851 &quot;x&quot;: 42, # Required. X axis of the coordinate
5852 &quot;y&quot;: 42, # Required. Y axis of the coordinate
5853 },
5854 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Optional. Determines what action to take upon successful task completion.
5855 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
5856 },
5857 &quot;synchronousCallFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
5858 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
5859 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
5860 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
5861 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
5862 },
5863 &quot;task&quot;: &quot;A String&quot;, # Optional. The name for the task.
5864 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution strategy of this task.
5865 &quot;taskId&quot;: &quot;A String&quot;, # Required. The identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_id`).
5866 &quot;taskTemplate&quot;: &quot;A String&quot;, # Optional. Used to define task-template name if task is of type task-template
5867 },
5868 ],
5869 &quot;taskConfigsInternal&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
5870 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
5871 &quot;alertConfigs&quot;: [ # Alert configurations on error rate, warning rate, number of runs, durations, etc.
5872 { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event.
5873 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week).
5874 &quot;alertDisabled&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.
5875 &quot;alertName&quot;: &quot;A String&quot;, # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique in within the scope of the containing workflow.
5876 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration. Must be a client enabled in one of the containing workflow&#x27;s triggers.
5877 &quot;durationThresholdMs&quot;: &quot;A String&quot;, # Should be specified only for TASK_AVERAGE_DURATION and TASK_PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
5878 &quot;errorEnumList&quot;: { # List of error enums for alerts.
5879 &quot;enumStrings&quot;: [
5880 &quot;A String&quot;,
5881 ],
5882 &quot;filterType&quot;: &quot;A String&quot;,
5883 },
5884 &quot;metricType&quot;: &quot;A String&quot;,
5885 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
5886 &quot;onlyFinalAttempt&quot;: True or False, # Only count final task attempts, not retries.
5887 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
5888 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
5889 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
5890 &quot;absolute&quot;: &quot;A String&quot;,
5891 &quot;percentage&quot;: 42,
5892 },
5893 &quot;warningEnumList&quot;: { # List of error enums for alerts.
5894 &quot;enumStrings&quot;: [
5895 &quot;A String&quot;,
5896 ],
5897 &quot;filterType&quot;: &quot;A String&quot;,
5898 },
5899 },
5900 ],
5901 &quot;conditionalFailurePolicies&quot;: { # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
5902 &quot;defaultFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # The default failure policy to be applied if no conditional failure policy matches
5903 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
5904 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
5905 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
5906 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
5907 },
5908 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
5909 { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
5910 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
5911 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
5912 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
5913 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
5914 },
5915 ],
5916 },
5917 &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
5918 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address. Auto-generated from the user&#x27;s email.
5919 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
5920 &quot;disableStrictTypeValidation&quot;: True or False, # If this config contains a TypedTask, allow validation to succeed if an input is read from the output of another TypedTask whose output type is declared as a superclass of the requested input type. For instance, if the previous task declares an output of type Message, any task with this flag enabled will pass validation when attempting to read any proto Message type from the resultant Event parameter.
5921 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
5922 &quot;externalTaskType&quot;: &quot;A String&quot;,
5923 &quot;failurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
5924 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
5925 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
5926 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
5927 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
5928 },
5929 &quot;incomingEdgeCount&quot;: 42, # The number of edges leading into this TaskConfig.
5930 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # If set, overrides the option configured in the Task implementation class.
5931 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this TaskConfig in the UI.
5932 &quot;lastModifiedTime&quot;: &quot;A String&quot;, # Auto-generated.
5933 &quot;nextTasks&quot;: [ # The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
5934 { # The task that is next in line to be executed, if the condition specified evaluated to true.
5935 &quot;combinedConditions&quot;: [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
5936 { # This message recursively combines constituent conditions using logical AND.
5937 &quot;conditions&quot;: [ # A set of individual constituent conditions.
5938 { # Condition that uses `operator` to evaluate the key against the value.
5939 &quot;eventPropertyKey&quot;: &quot;A String&quot;, # Key that&#x27;s evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.
5940 &quot;operator&quot;: &quot;A String&quot;, # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
5941 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that&#x27;s checked for the key.
5942 &quot;booleanValue&quot;: True or False,
5943 &quot;doubleArray&quot;: {
5944 &quot;values&quot;: [
5945 3.14,
5946 ],
5947 },
5948 &quot;doubleValue&quot;: 3.14,
5949 &quot;intArray&quot;: {
5950 &quot;values&quot;: [
5951 &quot;A String&quot;,
5952 ],
5953 },
5954 &quot;intValue&quot;: &quot;A String&quot;,
5955 &quot;protoValue&quot;: {
5956 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5957 },
5958 &quot;stringArray&quot;: {
5959 &quot;values&quot;: [
5960 &quot;A String&quot;,
5961 ],
5962 },
5963 &quot;stringValue&quot;: &quot;A String&quot;,
5964 },
5965 },
5966 ],
5967 },
5968 ],
5969 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
5970 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
5971 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
5972 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
5973 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
5974 },
5975 ],
5976 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # The policy dictating the execution of the next set of tasks for the current task.
5977 &quot;parameters&quot;: { # The customized parameters the user can pass to this task.
5978 &quot;a_key&quot;: { # Key-value pair of EventBus parameters.
5979 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
5980 &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.
5981 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
5982 &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.
5983 &quot;booleanArray&quot;: {
5984 &quot;booleanValues&quot;: [
5985 True or False,
5986 ],
5987 },
5988 &quot;booleanValue&quot;: True or False,
5989 &quot;doubleArray&quot;: {
5990 &quot;doubleValues&quot;: [
5991 3.14,
5992 ],
5993 },
5994 &quot;doubleValue&quot;: 3.14,
5995 &quot;intArray&quot;: {
5996 &quot;intValues&quot;: [
5997 &quot;A String&quot;,
5998 ],
5999 },
6000 &quot;intValue&quot;: &quot;A String&quot;,
6001 &quot;jsonValue&quot;: &quot;A String&quot;,
6002 &quot;protoArray&quot;: {
6003 &quot;protoValues&quot;: [
6004 {
6005 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6006 },
6007 ],
6008 },
6009 &quot;protoValue&quot;: {
6010 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6011 },
6012 &quot;serializedObjectValue&quot;: {
6013 &quot;objectValue&quot;: &quot;A String&quot;,
6014 },
6015 &quot;stringArray&quot;: {
6016 &quot;stringValues&quot;: [
6017 &quot;A String&quot;,
6018 ],
6019 },
6020 &quot;stringValue&quot;: &quot;A String&quot;,
6021 },
6022 },
6023 },
6024 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this task config on the UI.
6025 &quot;x&quot;: 42,
6026 &quot;y&quot;: 42,
6027 },
6028 &quot;precondition&quot;: &quot;A String&quot;, # Optional. Standard filter expression evaluated before execution. Independent of other conditions and tasks. Can be used to enable rollout. e.g. &quot;rollout(5)&quot; will only allow 5% of incoming traffic to task.
6029 &quot;preconditionLabel&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to precondition in the UI.
6030 &quot;rollbackStrategy&quot;: { # Next available id: 4 # Optional. Contains information about what needs to be done upon failure (either a permanent error or after it has been retried too many times).
6031 &quot;parameters&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 # Optional. The customized parameters the user can pass to this task.
6032 &quot;parameters&quot;: [ # Parameters are a part of Event and can be used to communicate between different tasks that are part of the same workflow execution.
6033 { # Key-value pair of EventBus parameters.
6034 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
6035 &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.
6036 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
6037 &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.
6038 &quot;booleanArray&quot;: {
6039 &quot;booleanValues&quot;: [
6040 True or False,
6041 ],
6042 },
6043 &quot;booleanValue&quot;: True or False,
6044 &quot;doubleArray&quot;: {
6045 &quot;doubleValues&quot;: [
6046 3.14,
6047 ],
6048 },
6049 &quot;doubleValue&quot;: 3.14,
6050 &quot;intArray&quot;: {
6051 &quot;intValues&quot;: [
6052 &quot;A String&quot;,
6053 ],
6054 },
6055 &quot;intValue&quot;: &quot;A String&quot;,
6056 &quot;jsonValue&quot;: &quot;A String&quot;,
6057 &quot;protoArray&quot;: {
6058 &quot;protoValues&quot;: [
6059 {
6060 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6061 },
6062 ],
6063 },
6064 &quot;protoValue&quot;: {
6065 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6066 },
6067 &quot;serializedObjectValue&quot;: {
6068 &quot;objectValue&quot;: &quot;A String&quot;,
6069 },
6070 &quot;stringArray&quot;: {
6071 &quot;stringValues&quot;: [
6072 &quot;A String&quot;,
6073 ],
6074 },
6075 &quot;stringValue&quot;: &quot;A String&quot;,
6076 },
6077 },
6078 ],
6079 },
6080 &quot;rollbackTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. This is the name of the task that needs to be executed upon rollback of this task.
6081 &quot;taskNumbersToRollback&quot;: [ # Required. These are the tasks numbers of the tasks whose `rollback_strategy.rollback_task_implementation_class_name` needs to be executed upon failure of this task.
6082 &quot;A String&quot;,
6083 ],
6084 },
6085 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Determines what action to take upon successful task completion.
6086 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
6087 },
6088 &quot;synchronousCallFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
6089 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
6090 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
6091 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
6092 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
6093 },
6094 &quot;taskEntity&quot;: { # Contains a task&#x27;s metadata and associated information. Next available id: 7 # Copy of the task entity that this task config is an instance of.
6095 &quot;disabledForVpcSc&quot;: True or False, # True if the task has conflict with vpcsc
6096 &quot;metadata&quot;: { # TaskMetadata are attributes that are associated to every common Task we have. # Metadata inclueds the task name, author and so on.
6097 &quot;activeTaskName&quot;: &quot;A String&quot;, # The new task name to replace the current task if it is deprecated. Otherwise, it is the same as the current task name.
6098 &quot;admins&quot;: [
6099 { # Admins are owners of a Task, and have all permissions on a particular task identified by the task name. By default, Eventbus periodically scans all task metadata and syncs (adds) any new admins defined here to Zanzibar.
6100 &quot;googleGroupEmail&quot;: &quot;A String&quot;,
6101 &quot;userEmail&quot;: &quot;A String&quot;,
6102 },
6103 ],
6104 &quot;category&quot;: &quot;A String&quot;,
6105 &quot;codeSearchLink&quot;: &quot;A String&quot;, # The Code Search link to the Task Java file.
6106 &quot;defaultJsonValidationOption&quot;: &quot;A String&quot;, # Controls whether JSON workflow parameters are validated against provided schemas before and/or after this task&#x27;s execution.
6107 &quot;defaultSpec&quot;: &quot;A String&quot;, # Contains the initial configuration of the task with default values set. For now, The string should be compatible to an ASCII-proto format.
6108 &quot;description&quot;: &quot;A String&quot;, # In a few sentences, describe the purpose and usage of the task.
6109 &quot;descriptiveName&quot;: &quot;A String&quot;, # The string name to show on the task list on the Workflow editor screen. This should be a very short, one to two words name for the task. (e.g. &quot;Send Mail&quot;)
6110 &quot;docMarkdown&quot;: &quot;A String&quot;, # Snippet of markdown documentation to embed in the RHP for this task.
6111 &quot;externalCategory&quot;: &quot;A String&quot;,
6112 &quot;externalCategorySequence&quot;: 42, # Sequence with which the task in specific category to be displayed in task discovery panel for external users.
6113 &quot;externalDocHtml&quot;: &quot;A String&quot;, # External-facing documention embedded in the RHP for this task.
6114 &quot;externalDocLink&quot;: &quot;A String&quot;, # Doc link for external-facing documentation (separate from g3doc).
6115 &quot;externalDocMarkdown&quot;: &quot;A String&quot;, # DEPRECATED: Use external_doc_html.
6116 &quot;g3DocLink&quot;: &quot;A String&quot;, # URL to the associated G3 Doc for the task if available
6117 &quot;iconLink&quot;: &quot;A String&quot;, # URL to gstatic image icon for this task. This icon shows up on the task list panel along with the task name in the Workflow Editor screen. Use the 24p, 2x, gray color icon image format.
6118 &quot;isDeprecated&quot;: True or False, # The deprecation status of the current task. Default value is false;
6119 &quot;name&quot;: &quot;A String&quot;, # The actual class name or the annotated name of the task. Task Author should initialize this field with value from the getName() method of the Task class.
6120 &quot;standaloneExternalDocHtml&quot;: &quot;A String&quot;, # External-facing documention for standalone IP in pantheon embedded in the RHP for this task. Non null only if different from external_doc_html
6121 &quot;status&quot;: &quot;A String&quot;, # Allows author to indicate if the task is ready to use or not. If not set, then it will default to INACTIVE.
6122 &quot;system&quot;: &quot;A String&quot;,
6123 &quot;tags&quot;: [ # A set of tags that pertain to a particular task. This can be used to improve the searchability of tasks with several names (&quot;REST Caller&quot; vs. &quot;Call REST Endpoint&quot;) or to help users find tasks based on related words.
6124 &quot;A String&quot;,
6125 ],
6126 },
6127 &quot;paramSpecs&quot;: { # Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask.
6128 &quot;parameters&quot;: [
6129 { # Key-value pair of EventBus task parameters. Next id: 13
6130 &quot;className&quot;: &quot;A String&quot;, # The FQCN of the Java object this represents. A string, for example, would be &quot;java.lang.String&quot;. If this is &quot;java.lang.Object&quot;, the parameter can be of any type.
6131 &quot;collectionElementClassName&quot;: &quot;A String&quot;, # If it is a collection of objects, this would be the FCQN of every individual element in the collection. If this is &quot;java.lang.Object&quot;, the parameter is a collection of any type.
6132 &quot;config&quot;: { # Optional fields, such as help text and other useful info.
6133 &quot;descriptivePhrase&quot;: &quot;A String&quot;, # A short phrase to describe what this parameter contains.
6134 &quot;helpText&quot;: &quot;A String&quot;, # Detailed help text for this parameter containing information not provided elsewhere. For example, instructions on how to migrate from a deprecated parameter.
6135 &quot;hideDefaultValue&quot;: True or False, # Whether the default value is hidden in the UI.
6136 &quot;inputDisplayOption&quot;: &quot;A String&quot;,
6137 &quot;isHidden&quot;: True or False, # Whether this field is hidden in the UI.
6138 &quot;label&quot;: &quot;A String&quot;, # A user-friendly label for the parameter.
6139 &quot;parameterNameOption&quot;: &quot;A String&quot;,
6140 &quot;subSectionLabel&quot;: &quot;A String&quot;, # A user-friendly label for subSection under which the parameter will be displayed.
6141 &quot;uiPlaceholderText&quot;: &quot;A String&quot;, # Placeholder text which will appear in the UI input form for this parameter.
6142 },
6143 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
6144 &quot;defaultValue&quot;: { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
6145 &quot;booleanArray&quot;: {
6146 &quot;booleanValues&quot;: [
6147 True or False,
6148 ],
6149 },
6150 &quot;booleanValue&quot;: True or False,
6151 &quot;doubleArray&quot;: {
6152 &quot;doubleValues&quot;: [
6153 3.14,
6154 ],
6155 },
6156 &quot;doubleValue&quot;: 3.14,
6157 &quot;intArray&quot;: {
6158 &quot;intValues&quot;: [
6159 &quot;A String&quot;,
6160 ],
6161 },
6162 &quot;intValue&quot;: &quot;A String&quot;,
6163 &quot;jsonValue&quot;: &quot;A String&quot;,
6164 &quot;protoArray&quot;: {
6165 &quot;protoValues&quot;: [
6166 {
6167 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6168 },
6169 ],
6170 },
6171 &quot;protoValue&quot;: {
6172 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6173 },
6174 &quot;serializedObjectValue&quot;: {
6175 &quot;objectValue&quot;: &quot;A String&quot;,
6176 },
6177 &quot;stringArray&quot;: {
6178 &quot;stringValues&quot;: [
6179 &quot;A String&quot;,
6180 ],
6181 },
6182 &quot;stringValue&quot;: &quot;A String&quot;,
6183 },
6184 &quot;isDeprecated&quot;: True or False, # If set, this entry is deprecated, so further use of this parameter should be prohibited.
6185 &quot;isOutput&quot;: True or False,
6186 &quot;jsonSchema&quot;: &quot;A String&quot;, # If the data_type is JSON_VALUE, then this will define its schema.
6187 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given task. These parameters must be predefined in the workflow definition.
6188 &quot;protoDef&quot;: { # Populated if this represents a proto or proto array.
6189 &quot;fullName&quot;: &quot;A String&quot;, # The fully-qualified proto name. This message, for example, would be &quot;enterprise.crm.eventbus.proto.ParamSpecEntry.ProtoDefinition&quot;.
6190 &quot;path&quot;: &quot;A String&quot;, # Path to the proto file that contains the message type&#x27;s definition.
6191 },
6192 &quot;required&quot;: True or False, # If set, the user must provide an input value for this parameter.
6193 &quot;validationRule&quot;: { # Rule used to validate inputs (individual values and collection elements) for this parameter.
6194 &quot;doubleRange&quot;: { # Range used to validate doubles and floats.
6195 &quot;max&quot;: 3.14, # The inclusive maximum of the acceptable range.
6196 &quot;min&quot;: 3.14, # The inclusive minimum of the acceptable range.
6197 },
6198 &quot;intRange&quot;: { # Range used to validate longs and ints.
6199 &quot;max&quot;: &quot;A String&quot;, # The inclusive maximum of the acceptable range.
6200 &quot;min&quot;: &quot;A String&quot;, # The inclusive minimum of the acceptable range.
6201 },
6202 &quot;stringRegex&quot;: { # Rule used to validate strings.
6203 &quot;exclusive&quot;: True or False, # Whether the regex matcher is applied exclusively (if true, matching values will be rejected).
6204 &quot;regex&quot;: &quot;A String&quot;, # The regex applied to the input value(s).
6205 },
6206 },
6207 },
6208 ],
6209 },
6210 &quot;stats&quot;: { # Stats for the requested dimensions: QPS, duration, and error/warning rate # Deprecated - statistics from the Monarch query.
6211 &quot;dimensions&quot;: { # Dimensions that these stats have been aggregated on.
6212 &quot;clientId&quot;: &quot;A String&quot;,
6213 &quot;enumFilterType&quot;: &quot;A String&quot;, # Whether to include or exclude the enums matching the regex.
6214 &quot;errorEnumString&quot;: &quot;A String&quot;,
6215 &quot;retryAttempt&quot;: &quot;A String&quot;,
6216 &quot;taskName&quot;: &quot;A String&quot;,
6217 &quot;taskNumber&quot;: &quot;A String&quot;,
6218 &quot;triggerId&quot;: &quot;A String&quot;, # Stats have been or will be aggregated on set fields for any semantically-meaningful combination.
6219 &quot;warningEnumString&quot;: &quot;A String&quot;,
6220 &quot;workflowId&quot;: &quot;A String&quot;,
6221 &quot;workflowName&quot;: &quot;A String&quot;,
6222 },
6223 &quot;durationInSeconds&quot;: 3.14, # Average duration in seconds.
6224 &quot;errorRate&quot;: 3.14, # Average error rate.
6225 &quot;qps&quot;: 3.14, # Queries per second.
6226 &quot;warningRate&quot;: 3.14, # Average warning rate.
6227 },
6228 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
6229 &quot;uiConfig&quot;: { # Task authors would use this type to configure the UI for a particular task by specifying what UI config modules should be included to compose the UI. Learn more about config module framework: # UI configuration for this task Also associated with the METADATA mask.
6230 &quot;taskUiModuleConfigs&quot;: [ # Configurations of included config modules.
6231 { # Task author would use this type to configure a config module.
6232 &quot;moduleId&quot;: &quot;A String&quot;, # ID of the config module.
6233 },
6234 ],
6235 },
6236 },
6237 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # The policy dictating the execution strategy of this task.
6238 &quot;taskName&quot;: &quot;A String&quot;, # The name for the task.
6239 &quot;taskNumber&quot;: &quot;A String&quot;, # REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`).
6240 &quot;taskSpec&quot;: &quot;A String&quot;, # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old &quot;parameters&quot; field.
6241 &quot;taskTemplateName&quot;: &quot;A String&quot;, # Used to define task-template name if task is of type task-template
6242 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
6243 },
6244 ],
6245 &quot;teardown&quot;: { # Optional. Contains a graph of tasks that will be executed before putting the event in a terminal state (SUCCEEDED/FAILED/FATAL), regardless of success or failure, similar to &quot;finally&quot; in code.
6246 &quot;teardownTaskConfigs&quot;: [ # Required.
6247 {
6248 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address.
6249 &quot;name&quot;: &quot;A String&quot;, # Required. Unique identifier of the teardown task within this Config. We use this field as the identifier to find next teardown tasks.
6250 &quot;nextTeardownTask&quot;: { # The teardown task that is next in line to be executed. We support only sequential execution of teardown tasks (i.e. no branching).
6251 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the next teardown task.
6252 },
6253 &quot;parameters&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 the user can pass to this task.
6254 &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.
6255 { # Key-value pair of EventBus parameters.
6256 &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.
6257 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
6258 &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.
6259 &quot;booleanArray&quot;: {
6260 &quot;booleanValues&quot;: [
6261 True or False,
6262 ],
6263 },
6264 &quot;booleanValue&quot;: True or False,
6265 &quot;doubleArray&quot;: {
6266 &quot;doubleValues&quot;: [
6267 3.14,
6268 ],
6269 },
6270 &quot;doubleValue&quot;: 3.14,
6271 &quot;intArray&quot;: {
6272 &quot;intValues&quot;: [
6273 &quot;A String&quot;,
6274 ],
6275 },
6276 &quot;intValue&quot;: &quot;A String&quot;,
6277 &quot;protoArray&quot;: {
6278 &quot;protoValues&quot;: [
6279 {
6280 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6281 },
6282 ],
6283 },
6284 &quot;protoValue&quot;: {
6285 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6286 },
6287 &quot;serializedObjectValue&quot;: {
6288 &quot;objectValue&quot;: &quot;A String&quot;,
6289 },
6290 &quot;stringArray&quot;: {
6291 &quot;stringValues&quot;: [
6292 &quot;A String&quot;,
6293 ],
6294 },
6295 &quot;stringValue&quot;: &quot;A String&quot;,
6296 },
6297 },
6298 ],
6299 },
6300 &quot;properties&quot;: { # LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus.
6301 &quot;properties&quot;: [ # An unordered list of property entries.
6302 { # Key-value pair of EventBus property.
6303 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding property value. This should be unique for a given fired event. The Tasks should be aware of the keys used while firing the events for them to be able to retrieve the values.
6304 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Values for the defined keys. Each value can either be string, int, double or any proto message.
6305 &quot;booleanValue&quot;: True or False,
6306 &quot;doubleArray&quot;: {
6307 &quot;values&quot;: [
6308 3.14,
6309 ],
6310 },
6311 &quot;doubleValue&quot;: 3.14,
6312 &quot;intArray&quot;: {
6313 &quot;values&quot;: [
6314 &quot;A String&quot;,
6315 ],
6316 },
6317 &quot;intValue&quot;: &quot;A String&quot;,
6318 &quot;protoValue&quot;: {
6319 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6320 },
6321 &quot;stringArray&quot;: {
6322 &quot;values&quot;: [
6323 &quot;A String&quot;,
6324 ],
6325 },
6326 &quot;stringValue&quot;: &quot;A String&quot;,
6327 },
6328 },
6329 ],
6330 },
6331 &quot;teardownTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. Implementation class name.
6332 },
6333 ],
6334 },
6335 &quot;triggerConfigs&quot;: [ # Optional. Trigger configurations.
6336 { # Configuration detail of a trigger.
6337 &quot;alertConfig&quot;: [ # Optional. An alert threshold configuration for the [trigger + client + integration] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + integration] when published.
6338 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
6339 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
6340 &quot;alertThreshold&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
6341 &quot;disableAlert&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this integration alert.
6342 &quot;displayName&quot;: &quot;A String&quot;, # Name of the alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the integration.
6343 &quot;durationThreshold&quot;: &quot;A String&quot;, # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
6344 &quot;metricType&quot;: &quot;A String&quot;, # The type of metric.
6345 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
6346 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
6347 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
6348 &quot;absolute&quot;: &quot;A String&quot;, # Absolute value threshold.
6349 &quot;percentage&quot;: 42, # Percentage threshold.
6350 },
6351 },
6352 ],
6353 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration # Optional. Cloud Scheduler Trigger related metadata
6354 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
6355 &quot;errorMessage&quot;: &quot;A String&quot;, # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations
6356 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
6357 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
6358 },
6359 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
6360 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
6361 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
6362 &quot;names&quot;: [ # Optional. List of variable names.
6363 &quot;A String&quot;,
6364 ],
6365 },
6366 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular trigger.
6367 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. Dictates how next tasks will be executed.
6368 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
6369 &quot;names&quot;: [ # Optional. List of variable names.
6370 &quot;A String&quot;,
6371 ],
6372 },
6373 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
6374 &quot;x&quot;: 42, # Required. X axis of the coordinate
6375 &quot;y&quot;: 42, # Required. Y axis of the coordinate
6376 },
6377 &quot;properties&quot;: { # Optional. Configurable properties of the trigger, not to be confused with integration parameters. E.g. &quot;name&quot; is a property for API triggers and &quot;subscription&quot; is a property for Pub/sub triggers.
6378 &quot;a_key&quot;: &quot;A String&quot;,
6379 },
6380 &quot;startTasks&quot;: [ # Optional. Set of tasks numbers from where the integration execution is started by this trigger. If this is empty, then integration is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same integration execution graph).
6381 { # The task that is next in line to be executed, if the condition specified evaluated to true.
6382 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
6383 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
6384 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
6385 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
6386 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
6387 },
6388 ],
6389 &quot;trigger&quot;: &quot;A String&quot;, # Optional. Name of the trigger. Example: &quot;API Trigger&quot;, &quot;Cloud Pub Sub Trigger&quot; When set will be sent out to monitoring dashabord for tracking purpose.
6390 &quot;triggerId&quot;: &quot;A String&quot;, # Optional. Auto-generated trigger ID. The ID is based on the properties that you define in the trigger config. For example, for an API trigger, the trigger ID follows the format: api_trigger/TRIGGER_NAME Where trigger config has properties with value {&quot;Trigger name&quot;: TRIGGER_NAME}
6391 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the integration on UI.
6392 &quot;triggerType&quot;: &quot;A String&quot;, # Optional. Type of trigger
6393 },
6394 ],
6395 &quot;triggerConfigsInternal&quot;: [ # Optional. Trigger configurations.
6396 { # Configuration detail of a trigger. Next available id: 22
6397 &quot;alertConfig&quot;: [ # An alert threshold configuration for the [trigger + client + workflow] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + workflow] when published.
6398 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
6399 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
6400 &quot;alertDisabled&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.
6401 &quot;alertName&quot;: &quot;A String&quot;, # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the workflow.
6402 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration.
6403 &quot;durationThresholdMs&quot;: &quot;A String&quot;, # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
6404 &quot;errorEnumList&quot;: { # List of error enums for alerts.
6405 &quot;enumStrings&quot;: [
6406 &quot;A String&quot;,
6407 ],
6408 &quot;filterType&quot;: &quot;A String&quot;,
6409 },
6410 &quot;metricType&quot;: &quot;A String&quot;,
6411 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
6412 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
6413 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
6414 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
6415 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
6416 &quot;absolute&quot;: &quot;A String&quot;,
6417 &quot;percentage&quot;: 42,
6418 },
6419 &quot;warningEnumList&quot;: { # List of error enums for alerts.
6420 &quot;enumStrings&quot;: [
6421 &quot;A String&quot;,
6422 ],
6423 &quot;filterType&quot;: &quot;A String&quot;,
6424 },
6425 },
6426 ],
6427 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration
6428 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
6429 &quot;errorMessage&quot;: &quot;A String&quot;, # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations
6430 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
6431 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
6432 },
6433 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
6434 &quot;enabledClients&quot;: [ # Required. The list of client ids which are enabled to execute the workflow using this trigger. In other words, these clients have the workflow execution privledges for this trigger. For API trigger, the client id in the incoming request is validated against the list of enabled clients. For non-API triggers, one workflow execution is triggered on behalf of each enabled client.
6435 &quot;A String&quot;,
6436 ],
6437 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
6438 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
6439 &quot;names&quot;: [ # Optional. List of variable names.
6440 &quot;A String&quot;,
6441 ],
6442 },
6443 &quot;label&quot;: &quot;A String&quot;, # The user created label for a particular trigger.
6444 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Dictates how next tasks will be executed.
6445 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
6446 &quot;names&quot;: [ # Optional. List of variable names.
6447 &quot;A String&quot;,
6448 ],
6449 },
6450 &quot;pauseWorkflowExecutions&quot;: True or False, # Optional. If set to true, any upcoming requests for this trigger config will be paused and the executions will be resumed later when the flag is reset. The workflow to which this trigger config belongs has to be in ACTIVE status for the executions to be paused or resumed.
6451 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this trigger config on the UI.
6452 &quot;x&quot;: 42,
6453 &quot;y&quot;: 42,
6454 },
6455 &quot;properties&quot;: { # Configurable properties of the trigger, not to be confused with workflow parameters. E.g. &quot;name&quot; is a property for API triggers and &quot;subscription&quot; is a property for Cloud Pubsub triggers.
6456 &quot;a_key&quot;: &quot;A String&quot;,
6457 },
6458 &quot;startTasks&quot;: [ # Set of tasks numbers from where the workflow execution is started by this trigger. If this is empty, then workflow is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same workflow execution graph).
6459 { # The task that is next in line to be executed, if the condition specified evaluated to true.
6460 &quot;combinedConditions&quot;: [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
6461 { # This message recursively combines constituent conditions using logical AND.
6462 &quot;conditions&quot;: [ # A set of individual constituent conditions.
6463 { # Condition that uses `operator` to evaluate the key against the value.
6464 &quot;eventPropertyKey&quot;: &quot;A String&quot;, # Key that&#x27;s evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.
6465 &quot;operator&quot;: &quot;A String&quot;, # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
6466 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that&#x27;s checked for the key.
6467 &quot;booleanValue&quot;: True or False,
6468 &quot;doubleArray&quot;: {
6469 &quot;values&quot;: [
6470 3.14,
6471 ],
6472 },
6473 &quot;doubleValue&quot;: 3.14,
6474 &quot;intArray&quot;: {
6475 &quot;values&quot;: [
6476 &quot;A String&quot;,
6477 ],
6478 },
6479 &quot;intValue&quot;: &quot;A String&quot;,
6480 &quot;protoValue&quot;: {
6481 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6482 },
6483 &quot;stringArray&quot;: {
6484 &quot;values&quot;: [
6485 &quot;A String&quot;,
6486 ],
6487 },
6488 &quot;stringValue&quot;: &quot;A String&quot;,
6489 },
6490 },
6491 ],
6492 },
6493 ],
6494 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
6495 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
6496 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
6497 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
6498 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
6499 },
6500 ],
6501 &quot;triggerCriteria&quot;: { # Optional. When set, Eventbus will run the task specified in the trigger_criteria and validate the result using the trigger_criteria.condition, and only execute the workflow when result is true.
6502 &quot;condition&quot;: &quot;A String&quot;, # Required. Standard filter expression, when true the workflow will be executed. If there&#x27;s no trigger_criteria_task_implementation_class_name specified, the condition will be validated directly.
6503 &quot;parameters&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 # Optional. To be used in TaskConfig for the implementation class.
6504 &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.
6505 { # Key-value pair of EventBus parameters.
6506 &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.
6507 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
6508 &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.
6509 &quot;booleanArray&quot;: {
6510 &quot;booleanValues&quot;: [
6511 True or False,
6512 ],
6513 },
6514 &quot;booleanValue&quot;: True or False,
6515 &quot;doubleArray&quot;: {
6516 &quot;doubleValues&quot;: [
6517 3.14,
6518 ],
6519 },
6520 &quot;doubleValue&quot;: 3.14,
6521 &quot;intArray&quot;: {
6522 &quot;intValues&quot;: [
6523 &quot;A String&quot;,
6524 ],
6525 },
6526 &quot;intValue&quot;: &quot;A String&quot;,
6527 &quot;protoArray&quot;: {
6528 &quot;protoValues&quot;: [
6529 {
6530 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6531 },
6532 ],
6533 },
6534 &quot;protoValue&quot;: {
6535 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6536 },
6537 &quot;serializedObjectValue&quot;: {
6538 &quot;objectValue&quot;: &quot;A String&quot;,
6539 },
6540 &quot;stringArray&quot;: {
6541 &quot;stringValues&quot;: [
6542 &quot;A String&quot;,
6543 ],
6544 },
6545 &quot;stringValue&quot;: &quot;A String&quot;,
6546 },
6547 },
6548 ],
6549 },
6550 &quot;triggerCriteriaTaskImplementationClassName&quot;: &quot;A String&quot;, # Optional. Implementation class name. The class should implement the “TypedTask” interface.
6551 },
6552 &quot;triggerId&quot;: &quot;A String&quot;, # The backend trigger ID.
6553 &quot;triggerName&quot;: &quot;A String&quot;, # Optional. Name of the trigger This is added to identify the type of trigger. This is avoid the logic on triggerId to identify the trigger_type and push the same to monitoring.
6554 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the workflow on UI.
6555 &quot;triggerType&quot;: &quot;A String&quot;,
6556 },
6557 ],
6558 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
6559 &quot;userLabel&quot;: &quot;A String&quot;, # Optional. A user-defined label that annotates an integration version. Typically, this is only set when the integration version is created.
6560 },
6561 &quot;key&quot;: &quot;A String&quot;, # Required. Unique Key of the IntegrationVersion.
6562 },
6563 ],
6564 },
6565 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated
6566 &quot;usageCount&quot;: &quot;A String&quot;, # Optional. Number of template usages.
6567 &quot;usageInfo&quot;: &quot;A String&quot;, # Optional. Information on how to use the template. This should contain detailed information about usage of the template.
6568 &quot;visibility&quot;: &quot;A String&quot;, # Required. Visibility of the template.
6569 }</pre>
6570 </div>
6571
6572 <div class="method">
6573 <code class="details" id="import_">import_(name, body=None, x__xgafv=None)</code>
6574 <pre>Import the template to an existing integration. This api would keep track of usage_count and last_used_time. PERMISSION_DENIED would be thrown if template is not accessible by client.
6575
6576 Args:
6577 name: string, Required. The name that is associated with the Template. (required)
6578 body: object, The request body.
6579 The object takes the form of:
6580
6581 { # Request to Import template
6582 &quot;integration&quot;: &quot;A String&quot;, # Required. Resource Name of the integration where template needs to be imported/inserted.
6583 &quot;subIntegrations&quot;: { # Optional. Sub Integration which would be created via templates.
6584 &quot;a_key&quot;: { # Sub Integration which would be created via templates.
6585 &quot;integration&quot;: &quot;A String&quot;, # Required. Name of the sub integration which would be created via templates.
6586 &quot;integrationDescription&quot;: &quot;A String&quot;, # Optional. Description of the sub integration which would be created via templates.
6587 },
6588 },
6589 }
6590
6591 x__xgafv: string, V1 error format.
6592 Allowed values
6593 1 - v1 error format
6594 2 - v2 error format
6595
6596 Returns:
6597 An object of the form:
6598
6599 { # Response for import template
6600 &quot;integrationVersion&quot;: { # The integration version definition. # IntegrationVersion after the import.
6601 &quot;cloudKmsKey&quot;: &quot;A String&quot;, # Optional. Cloud KMS resource name for the CMEK encryption key.
6602 &quot;cloudLoggingDetails&quot;: { # Cloud Logging details for execution info # Optional. Cloud Logging details for the integration version
6603 &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.
6604 &quot;enableCloudLogging&quot;: True or False, # Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.
6605 },
6606 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
6607 &quot;createdFromTemplate&quot;: &quot;A String&quot;, # Optional. Optional. The resource name of the template from which the integration is created.
6608 &quot;databasePersistencePolicy&quot;: &quot;A String&quot;, # Optional. Flag to disable database persistence for execution data, including event execution info, execution export info, execution metadata index and execution param index.
6609 &quot;description&quot;: &quot;A String&quot;, # Optional. The integration description.
6610 &quot;enableVariableMasking&quot;: True or False, # Optional. True if variable masking feature should be turned on for this version
6611 &quot;errorCatcherConfigs&quot;: [ # Optional. Error Catch Task configuration for the integration. It&#x27;s optional.
6612 { # Configuration detail of a error catch task
6613 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give more business context about the error catcher config.
6614 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Required. An error catcher id is string representation for the error catcher config. Within a workflow, error_catcher_id uniquely identifies an error catcher config among all error catcher configs for the workflow
6615 &quot;errorCatcherNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each error catcher config within the workflow on UI.
6616 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular error catcher. Optional.
6617 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
6618 &quot;x&quot;: 42, # Required. X axis of the coordinate
6619 &quot;y&quot;: 42, # Required. Y axis of the coordinate
6620 },
6621 &quot;startErrorTasks&quot;: [ # Required. The set of start tasks that are to be executed for the error catch flow
6622 { # The task that is next in line to be executed, if the condition specified evaluated to true.
6623 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
6624 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
6625 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
6626 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
6627 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
6628 },
6629 ],
6630 },
6631 ],
6632 &quot;integrationConfigParameters&quot;: [ # Optional. Config Parameters that are expected to be passed to the integration when an integration is published. This consists of all the parameters that are expected to provide configuration in the integration execution. This gives the user the ability to provide default values, value, add information like connection url, project based configuration value and also provide data types of each parameter.
6633 { # Integration Config Parameter is defined in the integration config and are used to provide external configuration for integration. It provide information about data types of the expected parameters and provide any default values or value. They can also be used to add custom attributes.
6634 &quot;parameter&quot;: { # 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. # Optional. Integration Parameter to provide the default value, data type and attributes required for the Integration config variables.
6635 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
6636 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
6637 &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.
6638 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
6639 &quot;booleanValues&quot;: [ # Boolean array.
6640 True or False,
6641 ],
6642 },
6643 &quot;booleanValue&quot;: True or False, # Boolean.
6644 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
6645 &quot;doubleValues&quot;: [ # Double number array.
6646 3.14,
6647 ],
6648 },
6649 &quot;doubleValue&quot;: 3.14, # Double Number.
6650 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
6651 &quot;intValues&quot;: [ # Integer array.
6652 &quot;A String&quot;,
6653 ],
6654 },
6655 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
6656 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
6657 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
6658 &quot;stringValues&quot;: [ # String array.
6659 &quot;A String&quot;,
6660 ],
6661 },
6662 &quot;stringValue&quot;: &quot;A String&quot;, # String.
6663 },
6664 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
6665 &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;.
6666 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
6667 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
6668 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
6669 &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.
6670 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
6671 &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.
6672 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
6673 },
6674 &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 or a serialized object.
6675 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
6676 &quot;booleanValues&quot;: [ # Boolean array.
6677 True or False,
6678 ],
6679 },
6680 &quot;booleanValue&quot;: True or False, # Boolean.
6681 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
6682 &quot;doubleValues&quot;: [ # Double number array.
6683 3.14,
6684 ],
6685 },
6686 &quot;doubleValue&quot;: 3.14, # Double Number.
6687 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
6688 &quot;intValues&quot;: [ # Integer array.
6689 &quot;A String&quot;,
6690 ],
6691 },
6692 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
6693 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
6694 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
6695 &quot;stringValues&quot;: [ # String array.
6696 &quot;A String&quot;,
6697 ],
6698 },
6699 &quot;stringValue&quot;: &quot;A String&quot;, # String.
6700 },
6701 },
6702 ],
6703 &quot;integrationParameters&quot;: [ # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
6704 { # 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.
6705 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
6706 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
6707 &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.
6708 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
6709 &quot;booleanValues&quot;: [ # Boolean array.
6710 True or False,
6711 ],
6712 },
6713 &quot;booleanValue&quot;: True or False, # Boolean.
6714 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
6715 &quot;doubleValues&quot;: [ # Double number array.
6716 3.14,
6717 ],
6718 },
6719 &quot;doubleValue&quot;: 3.14, # Double Number.
6720 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
6721 &quot;intValues&quot;: [ # Integer array.
6722 &quot;A String&quot;,
6723 ],
6724 },
6725 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
6726 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
6727 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
6728 &quot;stringValues&quot;: [ # String array.
6729 &quot;A String&quot;,
6730 ],
6731 },
6732 &quot;stringValue&quot;: &quot;A String&quot;, # String.
6733 },
6734 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
6735 &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;.
6736 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
6737 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
6738 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
6739 &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.
6740 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
6741 &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.
6742 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
6743 },
6744 ],
6745 &quot;integrationParametersInternal&quot;: { # LINT.IfChange This is the frontend version of WorkflowParameters. It&#x27;s exactly like the backend version except that instead of flattening protobuf parameters and treating every field and subfield of a protobuf parameter as a separate parameter, the fields/subfields of a protobuf parameter will be nested as &quot;children&quot; (see &#x27;children&#x27; field below) parameters of the parent parameter. Please refer to enterprise/crm/eventbus/proto/workflow_parameters.proto for more information about WorkflowParameters. # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
6746 &quot;parameters&quot;: [ # Parameters are a part of Event and can be used to communiticate between different tasks that are part of the same workflow execution.
6747 {
6748 &quot;attributes&quot;: { # Attributes are additional options that can be associated with each event property. For more information, see # Metadata information about the parameters.
6749 &quot;dataType&quot;: &quot;A String&quot;, # Things like URL, Email, Currency, Timestamp (rather than string, int64...)
6750 &quot;defaultValue&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Used to define defaults.
6751 &quot;booleanValue&quot;: True or False,
6752 &quot;doubleArray&quot;: {
6753 &quot;values&quot;: [
6754 3.14,
6755 ],
6756 },
6757 &quot;doubleValue&quot;: 3.14,
6758 &quot;intArray&quot;: {
6759 &quot;values&quot;: [
6760 &quot;A String&quot;,
6761 ],
6762 },
6763 &quot;intValue&quot;: &quot;A String&quot;,
6764 &quot;protoValue&quot;: {
6765 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6766 },
6767 &quot;stringArray&quot;: {
6768 &quot;values&quot;: [
6769 &quot;A String&quot;,
6770 ],
6771 },
6772 &quot;stringValue&quot;: &quot;A String&quot;,
6773 },
6774 &quot;isRequired&quot;: True or False, # Required for event execution. The validation will be done by the event bus when the event is triggered.
6775 &quot;isSearchable&quot;: True or False, # Used to indicate if a ParameterEntry should be converted to ParamIndexes for ST-Spanner full-text search. DEPRECATED: use searchable.
6776 &quot;logSettings&quot;: { # The LogSettings define the logging attributes for an event property. These attributes are used to map the property to the parameter in the log proto. Also used to define scrubbing/truncation behavior and PII information. # See
6777 &quot;logFieldName&quot;: &quot;A String&quot;, # The name of corresponding logging field of the event property. If omitted, assumes the same name as the event property key.
6778 &quot;seedPeriod&quot;: &quot;A String&quot;,
6779 &quot;seedScope&quot;: &quot;A String&quot;,
6780 },
6781 &quot;masked&quot;: True or False, # True if this workflow parameter should be masked in the logs
6782 &quot;readOnly&quot;: True or False, # Used to indicate if the ParameterEntry is a read only field or not.
6783 &quot;searchable&quot;: &quot;A String&quot;,
6784 &quot;taskVisibility&quot;: [ # List of tasks that can view this property, if empty then all.
6785 &quot;A String&quot;,
6786 ],
6787 },
6788 &quot;children&quot;: [ # Child parameters nested within this parameter. This field only applies to protobuf parameters
6789 # Object with schema name: EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
6790 ],
6791 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
6792 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
6793 &quot;defaultValue&quot;: { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
6794 &quot;booleanArray&quot;: {
6795 &quot;booleanValues&quot;: [
6796 True or False,
6797 ],
6798 },
6799 &quot;booleanValue&quot;: True or False,
6800 &quot;doubleArray&quot;: {
6801 &quot;doubleValues&quot;: [
6802 3.14,
6803 ],
6804 },
6805 &quot;doubleValue&quot;: 3.14,
6806 &quot;intArray&quot;: {
6807 &quot;intValues&quot;: [
6808 &quot;A String&quot;,
6809 ],
6810 },
6811 &quot;intValue&quot;: &quot;A String&quot;,
6812 &quot;jsonValue&quot;: &quot;A String&quot;,
6813 &quot;protoArray&quot;: {
6814 &quot;protoValues&quot;: [
6815 {
6816 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6817 },
6818 ],
6819 },
6820 &quot;protoValue&quot;: {
6821 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6822 },
6823 &quot;serializedObjectValue&quot;: {
6824 &quot;objectValue&quot;: &quot;A String&quot;,
6825 },
6826 &quot;stringArray&quot;: {
6827 &quot;stringValues&quot;: [
6828 &quot;A String&quot;,
6829 ],
6830 },
6831 &quot;stringValue&quot;: &quot;A String&quot;,
6832 },
6833 &quot;description&quot;: &quot;A String&quot;, # Optional. The description about the parameter
6834 &quot;inOutType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
6835 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
6836 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
6837 &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.
6838 &quot;name&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;.
6839 &quot;producedBy&quot;: { # Represents a node identifier (type + id). Next highest id: 3 # 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.
6840 &quot;elementIdentifier&quot;: &quot;A String&quot;, # Configuration of the edge.
6841 &quot;elementType&quot;: &quot;A String&quot;, # Destination node where the edge ends. It can only be a task config.
6842 },
6843 &quot;producer&quot;: &quot;A String&quot;,
6844 &quot;protoDefName&quot;: &quot;A String&quot;, # The name of the protobuf type if the parameter has a protobuf data type.
6845 &quot;protoDefPath&quot;: &quot;A String&quot;, # If the data type is of type proto or proto array, this field needs to be populated with the fully qualified proto name. This message, for example, would be &quot;enterprise.crm.frontends.eventbus.proto.WorkflowParameterEntry&quot;.
6846 &quot;required&quot;: True or False,
6847 },
6848 ],
6849 },
6850 &quot;lastModifierEmail&quot;: &quot;A String&quot;, # Optional. The last modifier&#x27;s email address. Generated based on the End User Credentials/LOAS role of the user making the call.
6851 &quot;lockHolder&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.
6852 &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
6853 &quot;origin&quot;: &quot;A String&quot;, # Optional. The origin that indicates where this integration is coming from.
6854 &quot;parentTemplateId&quot;: &quot;A String&quot;, # Optional. The id of the template which was used to create this integration_version.
6855 &quot;runAsServiceAccount&quot;: &quot;A String&quot;, # Optional. The run-as service account email, if set and auth config is not configured, that will be used to generate auth token to be used in Connector task, Rest caller task and Cloud function task.
6856 &quot;snapshotNumber&quot;: &quot;A String&quot;, # Output only. An increasing sequence that is set when a new snapshot is created. The last created snapshot can be identified by [workflow_name, org_id latest(snapshot_number)]. However, last created snapshot need not be same as the HEAD. So users should always use &quot;HEAD&quot; tag to identify the head.
6857 &quot;state&quot;: &quot;A String&quot;, # Output only. User should not set it as an input.
6858 &quot;status&quot;: &quot;A String&quot;, # Output only. Generated by eventbus. User should not set it as an input.
6859 &quot;taskConfigs&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
6860 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
6861 &quot;conditionalFailurePolicies&quot;: { # Conditional task failur retry strategies # Optional. The list of conditional failure policies that will be applied to the task in order.
6862 &quot;defaultFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # The default failure policy to be applied if no conditional failure policy matches.
6863 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
6864 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
6865 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
6866 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
6867 },
6868 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
6869 { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
6870 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
6871 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
6872 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
6873 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
6874 },
6875 ],
6876 },
6877 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
6878 &quot;displayName&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to this TaskConfig in the UI.
6879 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
6880 &quot;externalTaskType&quot;: &quot;A String&quot;, # Optional. External task type of the task
6881 &quot;failurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
6882 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
6883 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
6884 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
6885 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
6886 },
6887 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # Optional. If set, overrides the option configured in the Task implementation class.
6888 &quot;nextTasks&quot;: [ # Optional. The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
6889 { # The task that is next in line to be executed, if the condition specified evaluated to true.
6890 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
6891 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
6892 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
6893 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
6894 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
6895 },
6896 ],
6897 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution of the next set of tasks for the current task.
6898 &quot;parameters&quot;: { # Optional. The customized parameters the user can pass to this task.
6899 &quot;a_key&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
6900 &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.
6901 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
6902 &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.
6903 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
6904 &quot;booleanValues&quot;: [ # Boolean array.
6905 True or False,
6906 ],
6907 },
6908 &quot;booleanValue&quot;: True or False, # Boolean.
6909 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
6910 &quot;doubleValues&quot;: [ # Double number array.
6911 3.14,
6912 ],
6913 },
6914 &quot;doubleValue&quot;: 3.14, # Double Number.
6915 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
6916 &quot;intValues&quot;: [ # Integer array.
6917 &quot;A String&quot;,
6918 ],
6919 },
6920 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
6921 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
6922 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
6923 &quot;stringValues&quot;: [ # String array.
6924 &quot;A String&quot;,
6925 ],
6926 },
6927 &quot;stringValue&quot;: &quot;A String&quot;, # String.
6928 },
6929 },
6930 },
6931 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
6932 &quot;x&quot;: 42, # Required. X axis of the coordinate
6933 &quot;y&quot;: 42, # Required. Y axis of the coordinate
6934 },
6935 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Optional. Determines what action to take upon successful task completion.
6936 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
6937 },
6938 &quot;synchronousCallFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
6939 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
6940 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
6941 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
6942 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
6943 },
6944 &quot;task&quot;: &quot;A String&quot;, # Optional. The name for the task.
6945 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution strategy of this task.
6946 &quot;taskId&quot;: &quot;A String&quot;, # Required. The identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_id`).
6947 &quot;taskTemplate&quot;: &quot;A String&quot;, # Optional. Used to define task-template name if task is of type task-template
6948 },
6949 ],
6950 &quot;taskConfigsInternal&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
6951 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
6952 &quot;alertConfigs&quot;: [ # Alert configurations on error rate, warning rate, number of runs, durations, etc.
6953 { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event.
6954 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week).
6955 &quot;alertDisabled&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.
6956 &quot;alertName&quot;: &quot;A String&quot;, # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique in within the scope of the containing workflow.
6957 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration. Must be a client enabled in one of the containing workflow&#x27;s triggers.
6958 &quot;durationThresholdMs&quot;: &quot;A String&quot;, # Should be specified only for TASK_AVERAGE_DURATION and TASK_PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
6959 &quot;errorEnumList&quot;: { # List of error enums for alerts.
6960 &quot;enumStrings&quot;: [
6961 &quot;A String&quot;,
6962 ],
6963 &quot;filterType&quot;: &quot;A String&quot;,
6964 },
6965 &quot;metricType&quot;: &quot;A String&quot;,
6966 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
6967 &quot;onlyFinalAttempt&quot;: True or False, # Only count final task attempts, not retries.
6968 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
6969 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
6970 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
6971 &quot;absolute&quot;: &quot;A String&quot;,
6972 &quot;percentage&quot;: 42,
6973 },
6974 &quot;warningEnumList&quot;: { # List of error enums for alerts.
6975 &quot;enumStrings&quot;: [
6976 &quot;A String&quot;,
6977 ],
6978 &quot;filterType&quot;: &quot;A String&quot;,
6979 },
6980 },
6981 ],
6982 &quot;conditionalFailurePolicies&quot;: { # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
6983 &quot;defaultFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # The default failure policy to be applied if no conditional failure policy matches
6984 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
6985 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
6986 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
6987 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
6988 },
6989 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
6990 { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
6991 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
6992 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
6993 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
6994 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
6995 },
6996 ],
6997 },
6998 &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
6999 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address. Auto-generated from the user&#x27;s email.
7000 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
7001 &quot;disableStrictTypeValidation&quot;: True or False, # If this config contains a TypedTask, allow validation to succeed if an input is read from the output of another TypedTask whose output type is declared as a superclass of the requested input type. For instance, if the previous task declares an output of type Message, any task with this flag enabled will pass validation when attempting to read any proto Message type from the resultant Event parameter.
7002 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
7003 &quot;externalTaskType&quot;: &quot;A String&quot;,
7004 &quot;failurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
7005 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
7006 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
7007 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
7008 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
7009 },
7010 &quot;incomingEdgeCount&quot;: 42, # The number of edges leading into this TaskConfig.
7011 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # If set, overrides the option configured in the Task implementation class.
7012 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this TaskConfig in the UI.
7013 &quot;lastModifiedTime&quot;: &quot;A String&quot;, # Auto-generated.
7014 &quot;nextTasks&quot;: [ # The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
7015 { # The task that is next in line to be executed, if the condition specified evaluated to true.
7016 &quot;combinedConditions&quot;: [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
7017 { # This message recursively combines constituent conditions using logical AND.
7018 &quot;conditions&quot;: [ # A set of individual constituent conditions.
7019 { # Condition that uses `operator` to evaluate the key against the value.
7020 &quot;eventPropertyKey&quot;: &quot;A String&quot;, # Key that&#x27;s evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.
7021 &quot;operator&quot;: &quot;A String&quot;, # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
7022 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that&#x27;s checked for the key.
7023 &quot;booleanValue&quot;: True or False,
7024 &quot;doubleArray&quot;: {
7025 &quot;values&quot;: [
7026 3.14,
7027 ],
7028 },
7029 &quot;doubleValue&quot;: 3.14,
7030 &quot;intArray&quot;: {
7031 &quot;values&quot;: [
7032 &quot;A String&quot;,
7033 ],
7034 },
7035 &quot;intValue&quot;: &quot;A String&quot;,
7036 &quot;protoValue&quot;: {
7037 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7038 },
7039 &quot;stringArray&quot;: {
7040 &quot;values&quot;: [
7041 &quot;A String&quot;,
7042 ],
7043 },
7044 &quot;stringValue&quot;: &quot;A String&quot;,
7045 },
7046 },
7047 ],
7048 },
7049 ],
7050 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
7051 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
7052 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
7053 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
7054 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
7055 },
7056 ],
7057 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # The policy dictating the execution of the next set of tasks for the current task.
7058 &quot;parameters&quot;: { # The customized parameters the user can pass to this task.
7059 &quot;a_key&quot;: { # Key-value pair of EventBus parameters.
7060 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
7061 &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.
7062 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
7063 &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.
7064 &quot;booleanArray&quot;: {
7065 &quot;booleanValues&quot;: [
7066 True or False,
7067 ],
7068 },
7069 &quot;booleanValue&quot;: True or False,
7070 &quot;doubleArray&quot;: {
7071 &quot;doubleValues&quot;: [
7072 3.14,
7073 ],
7074 },
7075 &quot;doubleValue&quot;: 3.14,
7076 &quot;intArray&quot;: {
7077 &quot;intValues&quot;: [
7078 &quot;A String&quot;,
7079 ],
7080 },
7081 &quot;intValue&quot;: &quot;A String&quot;,
7082 &quot;jsonValue&quot;: &quot;A String&quot;,
7083 &quot;protoArray&quot;: {
7084 &quot;protoValues&quot;: [
7085 {
7086 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7087 },
7088 ],
7089 },
7090 &quot;protoValue&quot;: {
7091 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7092 },
7093 &quot;serializedObjectValue&quot;: {
7094 &quot;objectValue&quot;: &quot;A String&quot;,
7095 },
7096 &quot;stringArray&quot;: {
7097 &quot;stringValues&quot;: [
7098 &quot;A String&quot;,
7099 ],
7100 },
7101 &quot;stringValue&quot;: &quot;A String&quot;,
7102 },
7103 },
7104 },
7105 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this task config on the UI.
7106 &quot;x&quot;: 42,
7107 &quot;y&quot;: 42,
7108 },
7109 &quot;precondition&quot;: &quot;A String&quot;, # Optional. Standard filter expression evaluated before execution. Independent of other conditions and tasks. Can be used to enable rollout. e.g. &quot;rollout(5)&quot; will only allow 5% of incoming traffic to task.
7110 &quot;preconditionLabel&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to precondition in the UI.
7111 &quot;rollbackStrategy&quot;: { # Next available id: 4 # Optional. Contains information about what needs to be done upon failure (either a permanent error or after it has been retried too many times).
7112 &quot;parameters&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 # Optional. The customized parameters the user can pass to this task.
7113 &quot;parameters&quot;: [ # Parameters are a part of Event and can be used to communicate between different tasks that are part of the same workflow execution.
7114 { # Key-value pair of EventBus parameters.
7115 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
7116 &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.
7117 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
7118 &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.
7119 &quot;booleanArray&quot;: {
7120 &quot;booleanValues&quot;: [
7121 True or False,
7122 ],
7123 },
7124 &quot;booleanValue&quot;: True or False,
7125 &quot;doubleArray&quot;: {
7126 &quot;doubleValues&quot;: [
7127 3.14,
7128 ],
7129 },
7130 &quot;doubleValue&quot;: 3.14,
7131 &quot;intArray&quot;: {
7132 &quot;intValues&quot;: [
7133 &quot;A String&quot;,
7134 ],
7135 },
7136 &quot;intValue&quot;: &quot;A String&quot;,
7137 &quot;jsonValue&quot;: &quot;A String&quot;,
7138 &quot;protoArray&quot;: {
7139 &quot;protoValues&quot;: [
7140 {
7141 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7142 },
7143 ],
7144 },
7145 &quot;protoValue&quot;: {
7146 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7147 },
7148 &quot;serializedObjectValue&quot;: {
7149 &quot;objectValue&quot;: &quot;A String&quot;,
7150 },
7151 &quot;stringArray&quot;: {
7152 &quot;stringValues&quot;: [
7153 &quot;A String&quot;,
7154 ],
7155 },
7156 &quot;stringValue&quot;: &quot;A String&quot;,
7157 },
7158 },
7159 ],
7160 },
7161 &quot;rollbackTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. This is the name of the task that needs to be executed upon rollback of this task.
7162 &quot;taskNumbersToRollback&quot;: [ # Required. These are the tasks numbers of the tasks whose `rollback_strategy.rollback_task_implementation_class_name` needs to be executed upon failure of this task.
7163 &quot;A String&quot;,
7164 ],
7165 },
7166 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Determines what action to take upon successful task completion.
7167 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
7168 },
7169 &quot;synchronousCallFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
7170 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
7171 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
7172 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
7173 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
7174 },
7175 &quot;taskEntity&quot;: { # Contains a task&#x27;s metadata and associated information. Next available id: 7 # Copy of the task entity that this task config is an instance of.
7176 &quot;disabledForVpcSc&quot;: True or False, # True if the task has conflict with vpcsc
7177 &quot;metadata&quot;: { # TaskMetadata are attributes that are associated to every common Task we have. # Metadata inclueds the task name, author and so on.
7178 &quot;activeTaskName&quot;: &quot;A String&quot;, # The new task name to replace the current task if it is deprecated. Otherwise, it is the same as the current task name.
7179 &quot;admins&quot;: [
7180 { # Admins are owners of a Task, and have all permissions on a particular task identified by the task name. By default, Eventbus periodically scans all task metadata and syncs (adds) any new admins defined here to Zanzibar.
7181 &quot;googleGroupEmail&quot;: &quot;A String&quot;,
7182 &quot;userEmail&quot;: &quot;A String&quot;,
7183 },
7184 ],
7185 &quot;category&quot;: &quot;A String&quot;,
7186 &quot;codeSearchLink&quot;: &quot;A String&quot;, # The Code Search link to the Task Java file.
7187 &quot;defaultJsonValidationOption&quot;: &quot;A String&quot;, # Controls whether JSON workflow parameters are validated against provided schemas before and/or after this task&#x27;s execution.
7188 &quot;defaultSpec&quot;: &quot;A String&quot;, # Contains the initial configuration of the task with default values set. For now, The string should be compatible to an ASCII-proto format.
7189 &quot;description&quot;: &quot;A String&quot;, # In a few sentences, describe the purpose and usage of the task.
7190 &quot;descriptiveName&quot;: &quot;A String&quot;, # The string name to show on the task list on the Workflow editor screen. This should be a very short, one to two words name for the task. (e.g. &quot;Send Mail&quot;)
7191 &quot;docMarkdown&quot;: &quot;A String&quot;, # Snippet of markdown documentation to embed in the RHP for this task.
7192 &quot;externalCategory&quot;: &quot;A String&quot;,
7193 &quot;externalCategorySequence&quot;: 42, # Sequence with which the task in specific category to be displayed in task discovery panel for external users.
7194 &quot;externalDocHtml&quot;: &quot;A String&quot;, # External-facing documention embedded in the RHP for this task.
7195 &quot;externalDocLink&quot;: &quot;A String&quot;, # Doc link for external-facing documentation (separate from g3doc).
7196 &quot;externalDocMarkdown&quot;: &quot;A String&quot;, # DEPRECATED: Use external_doc_html.
7197 &quot;g3DocLink&quot;: &quot;A String&quot;, # URL to the associated G3 Doc for the task if available
7198 &quot;iconLink&quot;: &quot;A String&quot;, # URL to gstatic image icon for this task. This icon shows up on the task list panel along with the task name in the Workflow Editor screen. Use the 24p, 2x, gray color icon image format.
7199 &quot;isDeprecated&quot;: True or False, # The deprecation status of the current task. Default value is false;
7200 &quot;name&quot;: &quot;A String&quot;, # The actual class name or the annotated name of the task. Task Author should initialize this field with value from the getName() method of the Task class.
7201 &quot;standaloneExternalDocHtml&quot;: &quot;A String&quot;, # External-facing documention for standalone IP in pantheon embedded in the RHP for this task. Non null only if different from external_doc_html
7202 &quot;status&quot;: &quot;A String&quot;, # Allows author to indicate if the task is ready to use or not. If not set, then it will default to INACTIVE.
7203 &quot;system&quot;: &quot;A String&quot;,
7204 &quot;tags&quot;: [ # A set of tags that pertain to a particular task. This can be used to improve the searchability of tasks with several names (&quot;REST Caller&quot; vs. &quot;Call REST Endpoint&quot;) or to help users find tasks based on related words.
7205 &quot;A String&quot;,
7206 ],
7207 },
7208 &quot;paramSpecs&quot;: { # Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask.
7209 &quot;parameters&quot;: [
7210 { # Key-value pair of EventBus task parameters. Next id: 13
7211 &quot;className&quot;: &quot;A String&quot;, # The FQCN of the Java object this represents. A string, for example, would be &quot;java.lang.String&quot;. If this is &quot;java.lang.Object&quot;, the parameter can be of any type.
7212 &quot;collectionElementClassName&quot;: &quot;A String&quot;, # If it is a collection of objects, this would be the FCQN of every individual element in the collection. If this is &quot;java.lang.Object&quot;, the parameter is a collection of any type.
7213 &quot;config&quot;: { # Optional fields, such as help text and other useful info.
7214 &quot;descriptivePhrase&quot;: &quot;A String&quot;, # A short phrase to describe what this parameter contains.
7215 &quot;helpText&quot;: &quot;A String&quot;, # Detailed help text for this parameter containing information not provided elsewhere. For example, instructions on how to migrate from a deprecated parameter.
7216 &quot;hideDefaultValue&quot;: True or False, # Whether the default value is hidden in the UI.
7217 &quot;inputDisplayOption&quot;: &quot;A String&quot;,
7218 &quot;isHidden&quot;: True or False, # Whether this field is hidden in the UI.
7219 &quot;label&quot;: &quot;A String&quot;, # A user-friendly label for the parameter.
7220 &quot;parameterNameOption&quot;: &quot;A String&quot;,
7221 &quot;subSectionLabel&quot;: &quot;A String&quot;, # A user-friendly label for subSection under which the parameter will be displayed.
7222 &quot;uiPlaceholderText&quot;: &quot;A String&quot;, # Placeholder text which will appear in the UI input form for this parameter.
7223 },
7224 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
7225 &quot;defaultValue&quot;: { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
7226 &quot;booleanArray&quot;: {
7227 &quot;booleanValues&quot;: [
7228 True or False,
7229 ],
7230 },
7231 &quot;booleanValue&quot;: True or False,
7232 &quot;doubleArray&quot;: {
7233 &quot;doubleValues&quot;: [
7234 3.14,
7235 ],
7236 },
7237 &quot;doubleValue&quot;: 3.14,
7238 &quot;intArray&quot;: {
7239 &quot;intValues&quot;: [
7240 &quot;A String&quot;,
7241 ],
7242 },
7243 &quot;intValue&quot;: &quot;A String&quot;,
7244 &quot;jsonValue&quot;: &quot;A String&quot;,
7245 &quot;protoArray&quot;: {
7246 &quot;protoValues&quot;: [
7247 {
7248 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7249 },
7250 ],
7251 },
7252 &quot;protoValue&quot;: {
7253 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7254 },
7255 &quot;serializedObjectValue&quot;: {
7256 &quot;objectValue&quot;: &quot;A String&quot;,
7257 },
7258 &quot;stringArray&quot;: {
7259 &quot;stringValues&quot;: [
7260 &quot;A String&quot;,
7261 ],
7262 },
7263 &quot;stringValue&quot;: &quot;A String&quot;,
7264 },
7265 &quot;isDeprecated&quot;: True or False, # If set, this entry is deprecated, so further use of this parameter should be prohibited.
7266 &quot;isOutput&quot;: True or False,
7267 &quot;jsonSchema&quot;: &quot;A String&quot;, # If the data_type is JSON_VALUE, then this will define its schema.
7268 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given task. These parameters must be predefined in the workflow definition.
7269 &quot;protoDef&quot;: { # Populated if this represents a proto or proto array.
7270 &quot;fullName&quot;: &quot;A String&quot;, # The fully-qualified proto name. This message, for example, would be &quot;enterprise.crm.eventbus.proto.ParamSpecEntry.ProtoDefinition&quot;.
7271 &quot;path&quot;: &quot;A String&quot;, # Path to the proto file that contains the message type&#x27;s definition.
7272 },
7273 &quot;required&quot;: True or False, # If set, the user must provide an input value for this parameter.
7274 &quot;validationRule&quot;: { # Rule used to validate inputs (individual values and collection elements) for this parameter.
7275 &quot;doubleRange&quot;: { # Range used to validate doubles and floats.
7276 &quot;max&quot;: 3.14, # The inclusive maximum of the acceptable range.
7277 &quot;min&quot;: 3.14, # The inclusive minimum of the acceptable range.
7278 },
7279 &quot;intRange&quot;: { # Range used to validate longs and ints.
7280 &quot;max&quot;: &quot;A String&quot;, # The inclusive maximum of the acceptable range.
7281 &quot;min&quot;: &quot;A String&quot;, # The inclusive minimum of the acceptable range.
7282 },
7283 &quot;stringRegex&quot;: { # Rule used to validate strings.
7284 &quot;exclusive&quot;: True or False, # Whether the regex matcher is applied exclusively (if true, matching values will be rejected).
7285 &quot;regex&quot;: &quot;A String&quot;, # The regex applied to the input value(s).
7286 },
7287 },
7288 },
7289 ],
7290 },
7291 &quot;stats&quot;: { # Stats for the requested dimensions: QPS, duration, and error/warning rate # Deprecated - statistics from the Monarch query.
7292 &quot;dimensions&quot;: { # Dimensions that these stats have been aggregated on.
7293 &quot;clientId&quot;: &quot;A String&quot;,
7294 &quot;enumFilterType&quot;: &quot;A String&quot;, # Whether to include or exclude the enums matching the regex.
7295 &quot;errorEnumString&quot;: &quot;A String&quot;,
7296 &quot;retryAttempt&quot;: &quot;A String&quot;,
7297 &quot;taskName&quot;: &quot;A String&quot;,
7298 &quot;taskNumber&quot;: &quot;A String&quot;,
7299 &quot;triggerId&quot;: &quot;A String&quot;, # Stats have been or will be aggregated on set fields for any semantically-meaningful combination.
7300 &quot;warningEnumString&quot;: &quot;A String&quot;,
7301 &quot;workflowId&quot;: &quot;A String&quot;,
7302 &quot;workflowName&quot;: &quot;A String&quot;,
7303 },
7304 &quot;durationInSeconds&quot;: 3.14, # Average duration in seconds.
7305 &quot;errorRate&quot;: 3.14, # Average error rate.
7306 &quot;qps&quot;: 3.14, # Queries per second.
7307 &quot;warningRate&quot;: 3.14, # Average warning rate.
7308 },
7309 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
7310 &quot;uiConfig&quot;: { # Task authors would use this type to configure the UI for a particular task by specifying what UI config modules should be included to compose the UI. Learn more about config module framework: # UI configuration for this task Also associated with the METADATA mask.
7311 &quot;taskUiModuleConfigs&quot;: [ # Configurations of included config modules.
7312 { # Task author would use this type to configure a config module.
7313 &quot;moduleId&quot;: &quot;A String&quot;, # ID of the config module.
7314 },
7315 ],
7316 },
7317 },
7318 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # The policy dictating the execution strategy of this task.
7319 &quot;taskName&quot;: &quot;A String&quot;, # The name for the task.
7320 &quot;taskNumber&quot;: &quot;A String&quot;, # REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`).
7321 &quot;taskSpec&quot;: &quot;A String&quot;, # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old &quot;parameters&quot; field.
7322 &quot;taskTemplateName&quot;: &quot;A String&quot;, # Used to define task-template name if task is of type task-template
7323 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
7324 },
7325 ],
7326 &quot;teardown&quot;: { # Optional. Contains a graph of tasks that will be executed before putting the event in a terminal state (SUCCEEDED/FAILED/FATAL), regardless of success or failure, similar to &quot;finally&quot; in code.
7327 &quot;teardownTaskConfigs&quot;: [ # Required.
7328 {
7329 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address.
7330 &quot;name&quot;: &quot;A String&quot;, # Required. Unique identifier of the teardown task within this Config. We use this field as the identifier to find next teardown tasks.
7331 &quot;nextTeardownTask&quot;: { # The teardown task that is next in line to be executed. We support only sequential execution of teardown tasks (i.e. no branching).
7332 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the next teardown task.
7333 },
7334 &quot;parameters&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 the user can pass to this task.
7335 &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.
7336 { # Key-value pair of EventBus parameters.
7337 &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.
7338 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
7339 &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.
7340 &quot;booleanArray&quot;: {
7341 &quot;booleanValues&quot;: [
7342 True or False,
7343 ],
7344 },
7345 &quot;booleanValue&quot;: True or False,
7346 &quot;doubleArray&quot;: {
7347 &quot;doubleValues&quot;: [
7348 3.14,
7349 ],
7350 },
7351 &quot;doubleValue&quot;: 3.14,
7352 &quot;intArray&quot;: {
7353 &quot;intValues&quot;: [
7354 &quot;A String&quot;,
7355 ],
7356 },
7357 &quot;intValue&quot;: &quot;A String&quot;,
7358 &quot;protoArray&quot;: {
7359 &quot;protoValues&quot;: [
7360 {
7361 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7362 },
7363 ],
7364 },
7365 &quot;protoValue&quot;: {
7366 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7367 },
7368 &quot;serializedObjectValue&quot;: {
7369 &quot;objectValue&quot;: &quot;A String&quot;,
7370 },
7371 &quot;stringArray&quot;: {
7372 &quot;stringValues&quot;: [
7373 &quot;A String&quot;,
7374 ],
7375 },
7376 &quot;stringValue&quot;: &quot;A String&quot;,
7377 },
7378 },
7379 ],
7380 },
7381 &quot;properties&quot;: { # LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus.
7382 &quot;properties&quot;: [ # An unordered list of property entries.
7383 { # Key-value pair of EventBus property.
7384 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding property value. This should be unique for a given fired event. The Tasks should be aware of the keys used while firing the events for them to be able to retrieve the values.
7385 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Values for the defined keys. Each value can either be string, int, double or any proto message.
7386 &quot;booleanValue&quot;: True or False,
7387 &quot;doubleArray&quot;: {
7388 &quot;values&quot;: [
7389 3.14,
7390 ],
7391 },
7392 &quot;doubleValue&quot;: 3.14,
7393 &quot;intArray&quot;: {
7394 &quot;values&quot;: [
7395 &quot;A String&quot;,
7396 ],
7397 },
7398 &quot;intValue&quot;: &quot;A String&quot;,
7399 &quot;protoValue&quot;: {
7400 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7401 },
7402 &quot;stringArray&quot;: {
7403 &quot;values&quot;: [
7404 &quot;A String&quot;,
7405 ],
7406 },
7407 &quot;stringValue&quot;: &quot;A String&quot;,
7408 },
7409 },
7410 ],
7411 },
7412 &quot;teardownTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. Implementation class name.
7413 },
7414 ],
7415 },
7416 &quot;triggerConfigs&quot;: [ # Optional. Trigger configurations.
7417 { # Configuration detail of a trigger.
7418 &quot;alertConfig&quot;: [ # Optional. An alert threshold configuration for the [trigger + client + integration] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + integration] when published.
7419 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
7420 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
7421 &quot;alertThreshold&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
7422 &quot;disableAlert&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this integration alert.
7423 &quot;displayName&quot;: &quot;A String&quot;, # Name of the alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the integration.
7424 &quot;durationThreshold&quot;: &quot;A String&quot;, # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
7425 &quot;metricType&quot;: &quot;A String&quot;, # The type of metric.
7426 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
7427 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
7428 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
7429 &quot;absolute&quot;: &quot;A String&quot;, # Absolute value threshold.
7430 &quot;percentage&quot;: 42, # Percentage threshold.
7431 },
7432 },
7433 ],
7434 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration # Optional. Cloud Scheduler Trigger related metadata
7435 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
7436 &quot;errorMessage&quot;: &quot;A String&quot;, # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations
7437 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
7438 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
7439 },
7440 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
7441 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
7442 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
7443 &quot;names&quot;: [ # Optional. List of variable names.
7444 &quot;A String&quot;,
7445 ],
7446 },
7447 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular trigger.
7448 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. Dictates how next tasks will be executed.
7449 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
7450 &quot;names&quot;: [ # Optional. List of variable names.
7451 &quot;A String&quot;,
7452 ],
7453 },
7454 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
7455 &quot;x&quot;: 42, # Required. X axis of the coordinate
7456 &quot;y&quot;: 42, # Required. Y axis of the coordinate
7457 },
7458 &quot;properties&quot;: { # Optional. Configurable properties of the trigger, not to be confused with integration parameters. E.g. &quot;name&quot; is a property for API triggers and &quot;subscription&quot; is a property for Pub/sub triggers.
7459 &quot;a_key&quot;: &quot;A String&quot;,
7460 },
7461 &quot;startTasks&quot;: [ # Optional. Set of tasks numbers from where the integration execution is started by this trigger. If this is empty, then integration is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same integration execution graph).
7462 { # The task that is next in line to be executed, if the condition specified evaluated to true.
7463 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
7464 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
7465 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
7466 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
7467 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
7468 },
7469 ],
7470 &quot;trigger&quot;: &quot;A String&quot;, # Optional. Name of the trigger. Example: &quot;API Trigger&quot;, &quot;Cloud Pub Sub Trigger&quot; When set will be sent out to monitoring dashabord for tracking purpose.
7471 &quot;triggerId&quot;: &quot;A String&quot;, # Optional. Auto-generated trigger ID. The ID is based on the properties that you define in the trigger config. For example, for an API trigger, the trigger ID follows the format: api_trigger/TRIGGER_NAME Where trigger config has properties with value {&quot;Trigger name&quot;: TRIGGER_NAME}
7472 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the integration on UI.
7473 &quot;triggerType&quot;: &quot;A String&quot;, # Optional. Type of trigger
7474 },
7475 ],
7476 &quot;triggerConfigsInternal&quot;: [ # Optional. Trigger configurations.
7477 { # Configuration detail of a trigger. Next available id: 22
7478 &quot;alertConfig&quot;: [ # An alert threshold configuration for the [trigger + client + workflow] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + workflow] when published.
7479 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
7480 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
7481 &quot;alertDisabled&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.
7482 &quot;alertName&quot;: &quot;A String&quot;, # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the workflow.
7483 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration.
7484 &quot;durationThresholdMs&quot;: &quot;A String&quot;, # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
7485 &quot;errorEnumList&quot;: { # List of error enums for alerts.
7486 &quot;enumStrings&quot;: [
7487 &quot;A String&quot;,
7488 ],
7489 &quot;filterType&quot;: &quot;A String&quot;,
7490 },
7491 &quot;metricType&quot;: &quot;A String&quot;,
7492 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
7493 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
7494 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
7495 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
7496 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
7497 &quot;absolute&quot;: &quot;A String&quot;,
7498 &quot;percentage&quot;: 42,
7499 },
7500 &quot;warningEnumList&quot;: { # List of error enums for alerts.
7501 &quot;enumStrings&quot;: [
7502 &quot;A String&quot;,
7503 ],
7504 &quot;filterType&quot;: &quot;A String&quot;,
7505 },
7506 },
7507 ],
7508 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration
7509 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
7510 &quot;errorMessage&quot;: &quot;A String&quot;, # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations
7511 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
7512 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
7513 },
7514 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
7515 &quot;enabledClients&quot;: [ # Required. The list of client ids which are enabled to execute the workflow using this trigger. In other words, these clients have the workflow execution privledges for this trigger. For API trigger, the client id in the incoming request is validated against the list of enabled clients. For non-API triggers, one workflow execution is triggered on behalf of each enabled client.
7516 &quot;A String&quot;,
7517 ],
7518 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
7519 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
7520 &quot;names&quot;: [ # Optional. List of variable names.
7521 &quot;A String&quot;,
7522 ],
7523 },
7524 &quot;label&quot;: &quot;A String&quot;, # The user created label for a particular trigger.
7525 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Dictates how next tasks will be executed.
7526 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
7527 &quot;names&quot;: [ # Optional. List of variable names.
7528 &quot;A String&quot;,
7529 ],
7530 },
7531 &quot;pauseWorkflowExecutions&quot;: True or False, # Optional. If set to true, any upcoming requests for this trigger config will be paused and the executions will be resumed later when the flag is reset. The workflow to which this trigger config belongs has to be in ACTIVE status for the executions to be paused or resumed.
7532 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this trigger config on the UI.
7533 &quot;x&quot;: 42,
7534 &quot;y&quot;: 42,
7535 },
7536 &quot;properties&quot;: { # Configurable properties of the trigger, not to be confused with workflow parameters. E.g. &quot;name&quot; is a property for API triggers and &quot;subscription&quot; is a property for Cloud Pubsub triggers.
7537 &quot;a_key&quot;: &quot;A String&quot;,
7538 },
7539 &quot;startTasks&quot;: [ # Set of tasks numbers from where the workflow execution is started by this trigger. If this is empty, then workflow is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same workflow execution graph).
7540 { # The task that is next in line to be executed, if the condition specified evaluated to true.
7541 &quot;combinedConditions&quot;: [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
7542 { # This message recursively combines constituent conditions using logical AND.
7543 &quot;conditions&quot;: [ # A set of individual constituent conditions.
7544 { # Condition that uses `operator` to evaluate the key against the value.
7545 &quot;eventPropertyKey&quot;: &quot;A String&quot;, # Key that&#x27;s evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.
7546 &quot;operator&quot;: &quot;A String&quot;, # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
7547 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that&#x27;s checked for the key.
7548 &quot;booleanValue&quot;: True or False,
7549 &quot;doubleArray&quot;: {
7550 &quot;values&quot;: [
7551 3.14,
7552 ],
7553 },
7554 &quot;doubleValue&quot;: 3.14,
7555 &quot;intArray&quot;: {
7556 &quot;values&quot;: [
7557 &quot;A String&quot;,
7558 ],
7559 },
7560 &quot;intValue&quot;: &quot;A String&quot;,
7561 &quot;protoValue&quot;: {
7562 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7563 },
7564 &quot;stringArray&quot;: {
7565 &quot;values&quot;: [
7566 &quot;A String&quot;,
7567 ],
7568 },
7569 &quot;stringValue&quot;: &quot;A String&quot;,
7570 },
7571 },
7572 ],
7573 },
7574 ],
7575 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
7576 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
7577 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
7578 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
7579 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
7580 },
7581 ],
7582 &quot;triggerCriteria&quot;: { # Optional. When set, Eventbus will run the task specified in the trigger_criteria and validate the result using the trigger_criteria.condition, and only execute the workflow when result is true.
7583 &quot;condition&quot;: &quot;A String&quot;, # Required. Standard filter expression, when true the workflow will be executed. If there&#x27;s no trigger_criteria_task_implementation_class_name specified, the condition will be validated directly.
7584 &quot;parameters&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 # Optional. To be used in TaskConfig for the implementation class.
7585 &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.
7586 { # Key-value pair of EventBus parameters.
7587 &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.
7588 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
7589 &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.
7590 &quot;booleanArray&quot;: {
7591 &quot;booleanValues&quot;: [
7592 True or False,
7593 ],
7594 },
7595 &quot;booleanValue&quot;: True or False,
7596 &quot;doubleArray&quot;: {
7597 &quot;doubleValues&quot;: [
7598 3.14,
7599 ],
7600 },
7601 &quot;doubleValue&quot;: 3.14,
7602 &quot;intArray&quot;: {
7603 &quot;intValues&quot;: [
7604 &quot;A String&quot;,
7605 ],
7606 },
7607 &quot;intValue&quot;: &quot;A String&quot;,
7608 &quot;protoArray&quot;: {
7609 &quot;protoValues&quot;: [
7610 {
7611 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7612 },
7613 ],
7614 },
7615 &quot;protoValue&quot;: {
7616 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7617 },
7618 &quot;serializedObjectValue&quot;: {
7619 &quot;objectValue&quot;: &quot;A String&quot;,
7620 },
7621 &quot;stringArray&quot;: {
7622 &quot;stringValues&quot;: [
7623 &quot;A String&quot;,
7624 ],
7625 },
7626 &quot;stringValue&quot;: &quot;A String&quot;,
7627 },
7628 },
7629 ],
7630 },
7631 &quot;triggerCriteriaTaskImplementationClassName&quot;: &quot;A String&quot;, # Optional. Implementation class name. The class should implement the “TypedTask” interface.
7632 },
7633 &quot;triggerId&quot;: &quot;A String&quot;, # The backend trigger ID.
7634 &quot;triggerName&quot;: &quot;A String&quot;, # Optional. Name of the trigger This is added to identify the type of trigger. This is avoid the logic on triggerId to identify the trigger_type and push the same to monitoring.
7635 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the workflow on UI.
7636 &quot;triggerType&quot;: &quot;A String&quot;,
7637 },
7638 ],
7639 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
7640 &quot;userLabel&quot;: &quot;A String&quot;, # Optional. A user-defined label that annotates an integration version. Typically, this is only set when the integration version is created.
7641 },
7642 &quot;subIntegrationVersions&quot;: [ # Sub integration versions which are imported.
7643 { # The integration version definition.
7644 &quot;cloudKmsKey&quot;: &quot;A String&quot;, # Optional. Cloud KMS resource name for the CMEK encryption key.
7645 &quot;cloudLoggingDetails&quot;: { # Cloud Logging details for execution info # Optional. Cloud Logging details for the integration version
7646 &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.
7647 &quot;enableCloudLogging&quot;: True or False, # Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.
7648 },
7649 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
7650 &quot;createdFromTemplate&quot;: &quot;A String&quot;, # Optional. Optional. The resource name of the template from which the integration is created.
7651 &quot;databasePersistencePolicy&quot;: &quot;A String&quot;, # Optional. Flag to disable database persistence for execution data, including event execution info, execution export info, execution metadata index and execution param index.
7652 &quot;description&quot;: &quot;A String&quot;, # Optional. The integration description.
7653 &quot;enableVariableMasking&quot;: True or False, # Optional. True if variable masking feature should be turned on for this version
7654 &quot;errorCatcherConfigs&quot;: [ # Optional. Error Catch Task configuration for the integration. It&#x27;s optional.
7655 { # Configuration detail of a error catch task
7656 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give more business context about the error catcher config.
7657 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Required. An error catcher id is string representation for the error catcher config. Within a workflow, error_catcher_id uniquely identifies an error catcher config among all error catcher configs for the workflow
7658 &quot;errorCatcherNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each error catcher config within the workflow on UI.
7659 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular error catcher. Optional.
7660 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
7661 &quot;x&quot;: 42, # Required. X axis of the coordinate
7662 &quot;y&quot;: 42, # Required. Y axis of the coordinate
7663 },
7664 &quot;startErrorTasks&quot;: [ # Required. The set of start tasks that are to be executed for the error catch flow
7665 { # The task that is next in line to be executed, if the condition specified evaluated to true.
7666 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
7667 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
7668 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
7669 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
7670 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
7671 },
7672 ],
7673 },
7674 ],
7675 &quot;integrationConfigParameters&quot;: [ # Optional. Config Parameters that are expected to be passed to the integration when an integration is published. This consists of all the parameters that are expected to provide configuration in the integration execution. This gives the user the ability to provide default values, value, add information like connection url, project based configuration value and also provide data types of each parameter.
7676 { # Integration Config Parameter is defined in the integration config and are used to provide external configuration for integration. It provide information about data types of the expected parameters and provide any default values or value. They can also be used to add custom attributes.
7677 &quot;parameter&quot;: { # 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. # Optional. Integration Parameter to provide the default value, data type and attributes required for the Integration config variables.
7678 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
7679 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
7680 &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.
7681 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
7682 &quot;booleanValues&quot;: [ # Boolean array.
7683 True or False,
7684 ],
7685 },
7686 &quot;booleanValue&quot;: True or False, # Boolean.
7687 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
7688 &quot;doubleValues&quot;: [ # Double number array.
7689 3.14,
7690 ],
7691 },
7692 &quot;doubleValue&quot;: 3.14, # Double Number.
7693 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
7694 &quot;intValues&quot;: [ # Integer array.
7695 &quot;A String&quot;,
7696 ],
7697 },
7698 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
7699 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
7700 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
7701 &quot;stringValues&quot;: [ # String array.
7702 &quot;A String&quot;,
7703 ],
7704 },
7705 &quot;stringValue&quot;: &quot;A String&quot;, # String.
7706 },
7707 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
7708 &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;.
7709 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
7710 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
7711 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
7712 &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.
7713 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
7714 &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.
7715 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
7716 },
7717 &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 or a serialized object.
7718 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
7719 &quot;booleanValues&quot;: [ # Boolean array.
7720 True or False,
7721 ],
7722 },
7723 &quot;booleanValue&quot;: True or False, # Boolean.
7724 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
7725 &quot;doubleValues&quot;: [ # Double number array.
7726 3.14,
7727 ],
7728 },
7729 &quot;doubleValue&quot;: 3.14, # Double Number.
7730 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
7731 &quot;intValues&quot;: [ # Integer array.
7732 &quot;A String&quot;,
7733 ],
7734 },
7735 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
7736 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
7737 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
7738 &quot;stringValues&quot;: [ # String array.
7739 &quot;A String&quot;,
7740 ],
7741 },
7742 &quot;stringValue&quot;: &quot;A String&quot;, # String.
7743 },
7744 },
7745 ],
7746 &quot;integrationParameters&quot;: [ # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
7747 { # 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.
7748 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
7749 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
7750 &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.
7751 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
7752 &quot;booleanValues&quot;: [ # Boolean array.
7753 True or False,
7754 ],
7755 },
7756 &quot;booleanValue&quot;: True or False, # Boolean.
7757 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
7758 &quot;doubleValues&quot;: [ # Double number array.
7759 3.14,
7760 ],
7761 },
7762 &quot;doubleValue&quot;: 3.14, # Double Number.
7763 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
7764 &quot;intValues&quot;: [ # Integer array.
7765 &quot;A String&quot;,
7766 ],
7767 },
7768 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
7769 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
7770 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
7771 &quot;stringValues&quot;: [ # String array.
7772 &quot;A String&quot;,
7773 ],
7774 },
7775 &quot;stringValue&quot;: &quot;A String&quot;, # String.
7776 },
7777 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
7778 &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;.
7779 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
7780 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
7781 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
7782 &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.
7783 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
7784 &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.
7785 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
7786 },
7787 ],
7788 &quot;integrationParametersInternal&quot;: { # LINT.IfChange This is the frontend version of WorkflowParameters. It&#x27;s exactly like the backend version except that instead of flattening protobuf parameters and treating every field and subfield of a protobuf parameter as a separate parameter, the fields/subfields of a protobuf parameter will be nested as &quot;children&quot; (see &#x27;children&#x27; field below) parameters of the parent parameter. Please refer to enterprise/crm/eventbus/proto/workflow_parameters.proto for more information about WorkflowParameters. # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
7789 &quot;parameters&quot;: [ # Parameters are a part of Event and can be used to communiticate between different tasks that are part of the same workflow execution.
7790 {
7791 &quot;attributes&quot;: { # Attributes are additional options that can be associated with each event property. For more information, see # Metadata information about the parameters.
7792 &quot;dataType&quot;: &quot;A String&quot;, # Things like URL, Email, Currency, Timestamp (rather than string, int64...)
7793 &quot;defaultValue&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Used to define defaults.
7794 &quot;booleanValue&quot;: True or False,
7795 &quot;doubleArray&quot;: {
7796 &quot;values&quot;: [
7797 3.14,
7798 ],
7799 },
7800 &quot;doubleValue&quot;: 3.14,
7801 &quot;intArray&quot;: {
7802 &quot;values&quot;: [
7803 &quot;A String&quot;,
7804 ],
7805 },
7806 &quot;intValue&quot;: &quot;A String&quot;,
7807 &quot;protoValue&quot;: {
7808 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7809 },
7810 &quot;stringArray&quot;: {
7811 &quot;values&quot;: [
7812 &quot;A String&quot;,
7813 ],
7814 },
7815 &quot;stringValue&quot;: &quot;A String&quot;,
7816 },
7817 &quot;isRequired&quot;: True or False, # Required for event execution. The validation will be done by the event bus when the event is triggered.
7818 &quot;isSearchable&quot;: True or False, # Used to indicate if a ParameterEntry should be converted to ParamIndexes for ST-Spanner full-text search. DEPRECATED: use searchable.
7819 &quot;logSettings&quot;: { # The LogSettings define the logging attributes for an event property. These attributes are used to map the property to the parameter in the log proto. Also used to define scrubbing/truncation behavior and PII information. # See
7820 &quot;logFieldName&quot;: &quot;A String&quot;, # The name of corresponding logging field of the event property. If omitted, assumes the same name as the event property key.
7821 &quot;seedPeriod&quot;: &quot;A String&quot;,
7822 &quot;seedScope&quot;: &quot;A String&quot;,
7823 },
7824 &quot;masked&quot;: True or False, # True if this workflow parameter should be masked in the logs
7825 &quot;readOnly&quot;: True or False, # Used to indicate if the ParameterEntry is a read only field or not.
7826 &quot;searchable&quot;: &quot;A String&quot;,
7827 &quot;taskVisibility&quot;: [ # List of tasks that can view this property, if empty then all.
7828 &quot;A String&quot;,
7829 ],
7830 },
7831 &quot;children&quot;: [ # Child parameters nested within this parameter. This field only applies to protobuf parameters
7832 # Object with schema name: EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
7833 ],
7834 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
7835 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
7836 &quot;defaultValue&quot;: { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
7837 &quot;booleanArray&quot;: {
7838 &quot;booleanValues&quot;: [
7839 True or False,
7840 ],
7841 },
7842 &quot;booleanValue&quot;: True or False,
7843 &quot;doubleArray&quot;: {
7844 &quot;doubleValues&quot;: [
7845 3.14,
7846 ],
7847 },
7848 &quot;doubleValue&quot;: 3.14,
7849 &quot;intArray&quot;: {
7850 &quot;intValues&quot;: [
7851 &quot;A String&quot;,
7852 ],
7853 },
7854 &quot;intValue&quot;: &quot;A String&quot;,
7855 &quot;jsonValue&quot;: &quot;A String&quot;,
7856 &quot;protoArray&quot;: {
7857 &quot;protoValues&quot;: [
7858 {
7859 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7860 },
7861 ],
7862 },
7863 &quot;protoValue&quot;: {
7864 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7865 },
7866 &quot;serializedObjectValue&quot;: {
7867 &quot;objectValue&quot;: &quot;A String&quot;,
7868 },
7869 &quot;stringArray&quot;: {
7870 &quot;stringValues&quot;: [
7871 &quot;A String&quot;,
7872 ],
7873 },
7874 &quot;stringValue&quot;: &quot;A String&quot;,
7875 },
7876 &quot;description&quot;: &quot;A String&quot;, # Optional. The description about the parameter
7877 &quot;inOutType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
7878 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
7879 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
7880 &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.
7881 &quot;name&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;.
7882 &quot;producedBy&quot;: { # Represents a node identifier (type + id). Next highest id: 3 # 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.
7883 &quot;elementIdentifier&quot;: &quot;A String&quot;, # Configuration of the edge.
7884 &quot;elementType&quot;: &quot;A String&quot;, # Destination node where the edge ends. It can only be a task config.
7885 },
7886 &quot;producer&quot;: &quot;A String&quot;,
7887 &quot;protoDefName&quot;: &quot;A String&quot;, # The name of the protobuf type if the parameter has a protobuf data type.
7888 &quot;protoDefPath&quot;: &quot;A String&quot;, # If the data type is of type proto or proto array, this field needs to be populated with the fully qualified proto name. This message, for example, would be &quot;enterprise.crm.frontends.eventbus.proto.WorkflowParameterEntry&quot;.
7889 &quot;required&quot;: True or False,
7890 },
7891 ],
7892 },
7893 &quot;lastModifierEmail&quot;: &quot;A String&quot;, # Optional. The last modifier&#x27;s email address. Generated based on the End User Credentials/LOAS role of the user making the call.
7894 &quot;lockHolder&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.
7895 &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
7896 &quot;origin&quot;: &quot;A String&quot;, # Optional. The origin that indicates where this integration is coming from.
7897 &quot;parentTemplateId&quot;: &quot;A String&quot;, # Optional. The id of the template which was used to create this integration_version.
7898 &quot;runAsServiceAccount&quot;: &quot;A String&quot;, # Optional. The run-as service account email, if set and auth config is not configured, that will be used to generate auth token to be used in Connector task, Rest caller task and Cloud function task.
7899 &quot;snapshotNumber&quot;: &quot;A String&quot;, # Output only. An increasing sequence that is set when a new snapshot is created. The last created snapshot can be identified by [workflow_name, org_id latest(snapshot_number)]. However, last created snapshot need not be same as the HEAD. So users should always use &quot;HEAD&quot; tag to identify the head.
7900 &quot;state&quot;: &quot;A String&quot;, # Output only. User should not set it as an input.
7901 &quot;status&quot;: &quot;A String&quot;, # Output only. Generated by eventbus. User should not set it as an input.
7902 &quot;taskConfigs&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
7903 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
7904 &quot;conditionalFailurePolicies&quot;: { # Conditional task failur retry strategies # Optional. The list of conditional failure policies that will be applied to the task in order.
7905 &quot;defaultFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # The default failure policy to be applied if no conditional failure policy matches.
7906 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
7907 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
7908 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
7909 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
7910 },
7911 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
7912 { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
7913 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
7914 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
7915 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
7916 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
7917 },
7918 ],
7919 },
7920 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
7921 &quot;displayName&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to this TaskConfig in the UI.
7922 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
7923 &quot;externalTaskType&quot;: &quot;A String&quot;, # Optional. External task type of the task
7924 &quot;failurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
7925 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
7926 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
7927 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
7928 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
7929 },
7930 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # Optional. If set, overrides the option configured in the Task implementation class.
7931 &quot;nextTasks&quot;: [ # Optional. The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
7932 { # The task that is next in line to be executed, if the condition specified evaluated to true.
7933 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
7934 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
7935 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
7936 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
7937 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
7938 },
7939 ],
7940 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution of the next set of tasks for the current task.
7941 &quot;parameters&quot;: { # Optional. The customized parameters the user can pass to this task.
7942 &quot;a_key&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
7943 &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.
7944 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
7945 &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.
7946 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
7947 &quot;booleanValues&quot;: [ # Boolean array.
7948 True or False,
7949 ],
7950 },
7951 &quot;booleanValue&quot;: True or False, # Boolean.
7952 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
7953 &quot;doubleValues&quot;: [ # Double number array.
7954 3.14,
7955 ],
7956 },
7957 &quot;doubleValue&quot;: 3.14, # Double Number.
7958 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
7959 &quot;intValues&quot;: [ # Integer array.
7960 &quot;A String&quot;,
7961 ],
7962 },
7963 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
7964 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
7965 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
7966 &quot;stringValues&quot;: [ # String array.
7967 &quot;A String&quot;,
7968 ],
7969 },
7970 &quot;stringValue&quot;: &quot;A String&quot;, # String.
7971 },
7972 },
7973 },
7974 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
7975 &quot;x&quot;: 42, # Required. X axis of the coordinate
7976 &quot;y&quot;: 42, # Required. Y axis of the coordinate
7977 },
7978 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Optional. Determines what action to take upon successful task completion.
7979 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
7980 },
7981 &quot;synchronousCallFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
7982 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
7983 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
7984 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
7985 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
7986 },
7987 &quot;task&quot;: &quot;A String&quot;, # Optional. The name for the task.
7988 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution strategy of this task.
7989 &quot;taskId&quot;: &quot;A String&quot;, # Required. The identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_id`).
7990 &quot;taskTemplate&quot;: &quot;A String&quot;, # Optional. Used to define task-template name if task is of type task-template
7991 },
7992 ],
7993 &quot;taskConfigsInternal&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
7994 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
7995 &quot;alertConfigs&quot;: [ # Alert configurations on error rate, warning rate, number of runs, durations, etc.
7996 { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event.
7997 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week).
7998 &quot;alertDisabled&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.
7999 &quot;alertName&quot;: &quot;A String&quot;, # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique in within the scope of the containing workflow.
8000 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration. Must be a client enabled in one of the containing workflow&#x27;s triggers.
8001 &quot;durationThresholdMs&quot;: &quot;A String&quot;, # Should be specified only for TASK_AVERAGE_DURATION and TASK_PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
8002 &quot;errorEnumList&quot;: { # List of error enums for alerts.
8003 &quot;enumStrings&quot;: [
8004 &quot;A String&quot;,
8005 ],
8006 &quot;filterType&quot;: &quot;A String&quot;,
8007 },
8008 &quot;metricType&quot;: &quot;A String&quot;,
8009 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
8010 &quot;onlyFinalAttempt&quot;: True or False, # Only count final task attempts, not retries.
8011 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
8012 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
8013 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
8014 &quot;absolute&quot;: &quot;A String&quot;,
8015 &quot;percentage&quot;: 42,
8016 },
8017 &quot;warningEnumList&quot;: { # List of error enums for alerts.
8018 &quot;enumStrings&quot;: [
8019 &quot;A String&quot;,
8020 ],
8021 &quot;filterType&quot;: &quot;A String&quot;,
8022 },
8023 },
8024 ],
8025 &quot;conditionalFailurePolicies&quot;: { # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
8026 &quot;defaultFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # The default failure policy to be applied if no conditional failure policy matches
8027 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
8028 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
8029 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
8030 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
8031 },
8032 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
8033 { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
8034 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
8035 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
8036 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
8037 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
8038 },
8039 ],
8040 },
8041 &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
8042 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address. Auto-generated from the user&#x27;s email.
8043 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
8044 &quot;disableStrictTypeValidation&quot;: True or False, # If this config contains a TypedTask, allow validation to succeed if an input is read from the output of another TypedTask whose output type is declared as a superclass of the requested input type. For instance, if the previous task declares an output of type Message, any task with this flag enabled will pass validation when attempting to read any proto Message type from the resultant Event parameter.
8045 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
8046 &quot;externalTaskType&quot;: &quot;A String&quot;,
8047 &quot;failurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
8048 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
8049 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
8050 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
8051 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
8052 },
8053 &quot;incomingEdgeCount&quot;: 42, # The number of edges leading into this TaskConfig.
8054 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # If set, overrides the option configured in the Task implementation class.
8055 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this TaskConfig in the UI.
8056 &quot;lastModifiedTime&quot;: &quot;A String&quot;, # Auto-generated.
8057 &quot;nextTasks&quot;: [ # The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
8058 { # The task that is next in line to be executed, if the condition specified evaluated to true.
8059 &quot;combinedConditions&quot;: [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
8060 { # This message recursively combines constituent conditions using logical AND.
8061 &quot;conditions&quot;: [ # A set of individual constituent conditions.
8062 { # Condition that uses `operator` to evaluate the key against the value.
8063 &quot;eventPropertyKey&quot;: &quot;A String&quot;, # Key that&#x27;s evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.
8064 &quot;operator&quot;: &quot;A String&quot;, # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
8065 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that&#x27;s checked for the key.
8066 &quot;booleanValue&quot;: True or False,
8067 &quot;doubleArray&quot;: {
8068 &quot;values&quot;: [
8069 3.14,
8070 ],
8071 },
8072 &quot;doubleValue&quot;: 3.14,
8073 &quot;intArray&quot;: {
8074 &quot;values&quot;: [
8075 &quot;A String&quot;,
8076 ],
8077 },
8078 &quot;intValue&quot;: &quot;A String&quot;,
8079 &quot;protoValue&quot;: {
8080 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8081 },
8082 &quot;stringArray&quot;: {
8083 &quot;values&quot;: [
8084 &quot;A String&quot;,
8085 ],
8086 },
8087 &quot;stringValue&quot;: &quot;A String&quot;,
8088 },
8089 },
8090 ],
8091 },
8092 ],
8093 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
8094 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
8095 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
8096 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
8097 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
8098 },
8099 ],
8100 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # The policy dictating the execution of the next set of tasks for the current task.
8101 &quot;parameters&quot;: { # The customized parameters the user can pass to this task.
8102 &quot;a_key&quot;: { # Key-value pair of EventBus parameters.
8103 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
8104 &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.
8105 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
8106 &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.
8107 &quot;booleanArray&quot;: {
8108 &quot;booleanValues&quot;: [
8109 True or False,
8110 ],
8111 },
8112 &quot;booleanValue&quot;: True or False,
8113 &quot;doubleArray&quot;: {
8114 &quot;doubleValues&quot;: [
8115 3.14,
8116 ],
8117 },
8118 &quot;doubleValue&quot;: 3.14,
8119 &quot;intArray&quot;: {
8120 &quot;intValues&quot;: [
8121 &quot;A String&quot;,
8122 ],
8123 },
8124 &quot;intValue&quot;: &quot;A String&quot;,
8125 &quot;jsonValue&quot;: &quot;A String&quot;,
8126 &quot;protoArray&quot;: {
8127 &quot;protoValues&quot;: [
8128 {
8129 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8130 },
8131 ],
8132 },
8133 &quot;protoValue&quot;: {
8134 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8135 },
8136 &quot;serializedObjectValue&quot;: {
8137 &quot;objectValue&quot;: &quot;A String&quot;,
8138 },
8139 &quot;stringArray&quot;: {
8140 &quot;stringValues&quot;: [
8141 &quot;A String&quot;,
8142 ],
8143 },
8144 &quot;stringValue&quot;: &quot;A String&quot;,
8145 },
8146 },
8147 },
8148 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this task config on the UI.
8149 &quot;x&quot;: 42,
8150 &quot;y&quot;: 42,
8151 },
8152 &quot;precondition&quot;: &quot;A String&quot;, # Optional. Standard filter expression evaluated before execution. Independent of other conditions and tasks. Can be used to enable rollout. e.g. &quot;rollout(5)&quot; will only allow 5% of incoming traffic to task.
8153 &quot;preconditionLabel&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to precondition in the UI.
8154 &quot;rollbackStrategy&quot;: { # Next available id: 4 # Optional. Contains information about what needs to be done upon failure (either a permanent error or after it has been retried too many times).
8155 &quot;parameters&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 # Optional. The customized parameters the user can pass to this task.
8156 &quot;parameters&quot;: [ # Parameters are a part of Event and can be used to communicate between different tasks that are part of the same workflow execution.
8157 { # Key-value pair of EventBus parameters.
8158 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
8159 &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.
8160 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
8161 &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.
8162 &quot;booleanArray&quot;: {
8163 &quot;booleanValues&quot;: [
8164 True or False,
8165 ],
8166 },
8167 &quot;booleanValue&quot;: True or False,
8168 &quot;doubleArray&quot;: {
8169 &quot;doubleValues&quot;: [
8170 3.14,
8171 ],
8172 },
8173 &quot;doubleValue&quot;: 3.14,
8174 &quot;intArray&quot;: {
8175 &quot;intValues&quot;: [
8176 &quot;A String&quot;,
8177 ],
8178 },
8179 &quot;intValue&quot;: &quot;A String&quot;,
8180 &quot;jsonValue&quot;: &quot;A String&quot;,
8181 &quot;protoArray&quot;: {
8182 &quot;protoValues&quot;: [
8183 {
8184 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8185 },
8186 ],
8187 },
8188 &quot;protoValue&quot;: {
8189 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8190 },
8191 &quot;serializedObjectValue&quot;: {
8192 &quot;objectValue&quot;: &quot;A String&quot;,
8193 },
8194 &quot;stringArray&quot;: {
8195 &quot;stringValues&quot;: [
8196 &quot;A String&quot;,
8197 ],
8198 },
8199 &quot;stringValue&quot;: &quot;A String&quot;,
8200 },
8201 },
8202 ],
8203 },
8204 &quot;rollbackTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. This is the name of the task that needs to be executed upon rollback of this task.
8205 &quot;taskNumbersToRollback&quot;: [ # Required. These are the tasks numbers of the tasks whose `rollback_strategy.rollback_task_implementation_class_name` needs to be executed upon failure of this task.
8206 &quot;A String&quot;,
8207 ],
8208 },
8209 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Determines what action to take upon successful task completion.
8210 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
8211 },
8212 &quot;synchronousCallFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
8213 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
8214 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
8215 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
8216 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
8217 },
8218 &quot;taskEntity&quot;: { # Contains a task&#x27;s metadata and associated information. Next available id: 7 # Copy of the task entity that this task config is an instance of.
8219 &quot;disabledForVpcSc&quot;: True or False, # True if the task has conflict with vpcsc
8220 &quot;metadata&quot;: { # TaskMetadata are attributes that are associated to every common Task we have. # Metadata inclueds the task name, author and so on.
8221 &quot;activeTaskName&quot;: &quot;A String&quot;, # The new task name to replace the current task if it is deprecated. Otherwise, it is the same as the current task name.
8222 &quot;admins&quot;: [
8223 { # Admins are owners of a Task, and have all permissions on a particular task identified by the task name. By default, Eventbus periodically scans all task metadata and syncs (adds) any new admins defined here to Zanzibar.
8224 &quot;googleGroupEmail&quot;: &quot;A String&quot;,
8225 &quot;userEmail&quot;: &quot;A String&quot;,
8226 },
8227 ],
8228 &quot;category&quot;: &quot;A String&quot;,
8229 &quot;codeSearchLink&quot;: &quot;A String&quot;, # The Code Search link to the Task Java file.
8230 &quot;defaultJsonValidationOption&quot;: &quot;A String&quot;, # Controls whether JSON workflow parameters are validated against provided schemas before and/or after this task&#x27;s execution.
8231 &quot;defaultSpec&quot;: &quot;A String&quot;, # Contains the initial configuration of the task with default values set. For now, The string should be compatible to an ASCII-proto format.
8232 &quot;description&quot;: &quot;A String&quot;, # In a few sentences, describe the purpose and usage of the task.
8233 &quot;descriptiveName&quot;: &quot;A String&quot;, # The string name to show on the task list on the Workflow editor screen. This should be a very short, one to two words name for the task. (e.g. &quot;Send Mail&quot;)
8234 &quot;docMarkdown&quot;: &quot;A String&quot;, # Snippet of markdown documentation to embed in the RHP for this task.
8235 &quot;externalCategory&quot;: &quot;A String&quot;,
8236 &quot;externalCategorySequence&quot;: 42, # Sequence with which the task in specific category to be displayed in task discovery panel for external users.
8237 &quot;externalDocHtml&quot;: &quot;A String&quot;, # External-facing documention embedded in the RHP for this task.
8238 &quot;externalDocLink&quot;: &quot;A String&quot;, # Doc link for external-facing documentation (separate from g3doc).
8239 &quot;externalDocMarkdown&quot;: &quot;A String&quot;, # DEPRECATED: Use external_doc_html.
8240 &quot;g3DocLink&quot;: &quot;A String&quot;, # URL to the associated G3 Doc for the task if available
8241 &quot;iconLink&quot;: &quot;A String&quot;, # URL to gstatic image icon for this task. This icon shows up on the task list panel along with the task name in the Workflow Editor screen. Use the 24p, 2x, gray color icon image format.
8242 &quot;isDeprecated&quot;: True or False, # The deprecation status of the current task. Default value is false;
8243 &quot;name&quot;: &quot;A String&quot;, # The actual class name or the annotated name of the task. Task Author should initialize this field with value from the getName() method of the Task class.
8244 &quot;standaloneExternalDocHtml&quot;: &quot;A String&quot;, # External-facing documention for standalone IP in pantheon embedded in the RHP for this task. Non null only if different from external_doc_html
8245 &quot;status&quot;: &quot;A String&quot;, # Allows author to indicate if the task is ready to use or not. If not set, then it will default to INACTIVE.
8246 &quot;system&quot;: &quot;A String&quot;,
8247 &quot;tags&quot;: [ # A set of tags that pertain to a particular task. This can be used to improve the searchability of tasks with several names (&quot;REST Caller&quot; vs. &quot;Call REST Endpoint&quot;) or to help users find tasks based on related words.
8248 &quot;A String&quot;,
8249 ],
8250 },
8251 &quot;paramSpecs&quot;: { # Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask.
8252 &quot;parameters&quot;: [
8253 { # Key-value pair of EventBus task parameters. Next id: 13
8254 &quot;className&quot;: &quot;A String&quot;, # The FQCN of the Java object this represents. A string, for example, would be &quot;java.lang.String&quot;. If this is &quot;java.lang.Object&quot;, the parameter can be of any type.
8255 &quot;collectionElementClassName&quot;: &quot;A String&quot;, # If it is a collection of objects, this would be the FCQN of every individual element in the collection. If this is &quot;java.lang.Object&quot;, the parameter is a collection of any type.
8256 &quot;config&quot;: { # Optional fields, such as help text and other useful info.
8257 &quot;descriptivePhrase&quot;: &quot;A String&quot;, # A short phrase to describe what this parameter contains.
8258 &quot;helpText&quot;: &quot;A String&quot;, # Detailed help text for this parameter containing information not provided elsewhere. For example, instructions on how to migrate from a deprecated parameter.
8259 &quot;hideDefaultValue&quot;: True or False, # Whether the default value is hidden in the UI.
8260 &quot;inputDisplayOption&quot;: &quot;A String&quot;,
8261 &quot;isHidden&quot;: True or False, # Whether this field is hidden in the UI.
8262 &quot;label&quot;: &quot;A String&quot;, # A user-friendly label for the parameter.
8263 &quot;parameterNameOption&quot;: &quot;A String&quot;,
8264 &quot;subSectionLabel&quot;: &quot;A String&quot;, # A user-friendly label for subSection under which the parameter will be displayed.
8265 &quot;uiPlaceholderText&quot;: &quot;A String&quot;, # Placeholder text which will appear in the UI input form for this parameter.
8266 },
8267 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
8268 &quot;defaultValue&quot;: { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
8269 &quot;booleanArray&quot;: {
8270 &quot;booleanValues&quot;: [
8271 True or False,
8272 ],
8273 },
8274 &quot;booleanValue&quot;: True or False,
8275 &quot;doubleArray&quot;: {
8276 &quot;doubleValues&quot;: [
8277 3.14,
8278 ],
8279 },
8280 &quot;doubleValue&quot;: 3.14,
8281 &quot;intArray&quot;: {
8282 &quot;intValues&quot;: [
8283 &quot;A String&quot;,
8284 ],
8285 },
8286 &quot;intValue&quot;: &quot;A String&quot;,
8287 &quot;jsonValue&quot;: &quot;A String&quot;,
8288 &quot;protoArray&quot;: {
8289 &quot;protoValues&quot;: [
8290 {
8291 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8292 },
8293 ],
8294 },
8295 &quot;protoValue&quot;: {
8296 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8297 },
8298 &quot;serializedObjectValue&quot;: {
8299 &quot;objectValue&quot;: &quot;A String&quot;,
8300 },
8301 &quot;stringArray&quot;: {
8302 &quot;stringValues&quot;: [
8303 &quot;A String&quot;,
8304 ],
8305 },
8306 &quot;stringValue&quot;: &quot;A String&quot;,
8307 },
8308 &quot;isDeprecated&quot;: True or False, # If set, this entry is deprecated, so further use of this parameter should be prohibited.
8309 &quot;isOutput&quot;: True or False,
8310 &quot;jsonSchema&quot;: &quot;A String&quot;, # If the data_type is JSON_VALUE, then this will define its schema.
8311 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given task. These parameters must be predefined in the workflow definition.
8312 &quot;protoDef&quot;: { # Populated if this represents a proto or proto array.
8313 &quot;fullName&quot;: &quot;A String&quot;, # The fully-qualified proto name. This message, for example, would be &quot;enterprise.crm.eventbus.proto.ParamSpecEntry.ProtoDefinition&quot;.
8314 &quot;path&quot;: &quot;A String&quot;, # Path to the proto file that contains the message type&#x27;s definition.
8315 },
8316 &quot;required&quot;: True or False, # If set, the user must provide an input value for this parameter.
8317 &quot;validationRule&quot;: { # Rule used to validate inputs (individual values and collection elements) for this parameter.
8318 &quot;doubleRange&quot;: { # Range used to validate doubles and floats.
8319 &quot;max&quot;: 3.14, # The inclusive maximum of the acceptable range.
8320 &quot;min&quot;: 3.14, # The inclusive minimum of the acceptable range.
8321 },
8322 &quot;intRange&quot;: { # Range used to validate longs and ints.
8323 &quot;max&quot;: &quot;A String&quot;, # The inclusive maximum of the acceptable range.
8324 &quot;min&quot;: &quot;A String&quot;, # The inclusive minimum of the acceptable range.
8325 },
8326 &quot;stringRegex&quot;: { # Rule used to validate strings.
8327 &quot;exclusive&quot;: True or False, # Whether the regex matcher is applied exclusively (if true, matching values will be rejected).
8328 &quot;regex&quot;: &quot;A String&quot;, # The regex applied to the input value(s).
8329 },
8330 },
8331 },
8332 ],
8333 },
8334 &quot;stats&quot;: { # Stats for the requested dimensions: QPS, duration, and error/warning rate # Deprecated - statistics from the Monarch query.
8335 &quot;dimensions&quot;: { # Dimensions that these stats have been aggregated on.
8336 &quot;clientId&quot;: &quot;A String&quot;,
8337 &quot;enumFilterType&quot;: &quot;A String&quot;, # Whether to include or exclude the enums matching the regex.
8338 &quot;errorEnumString&quot;: &quot;A String&quot;,
8339 &quot;retryAttempt&quot;: &quot;A String&quot;,
8340 &quot;taskName&quot;: &quot;A String&quot;,
8341 &quot;taskNumber&quot;: &quot;A String&quot;,
8342 &quot;triggerId&quot;: &quot;A String&quot;, # Stats have been or will be aggregated on set fields for any semantically-meaningful combination.
8343 &quot;warningEnumString&quot;: &quot;A String&quot;,
8344 &quot;workflowId&quot;: &quot;A String&quot;,
8345 &quot;workflowName&quot;: &quot;A String&quot;,
8346 },
8347 &quot;durationInSeconds&quot;: 3.14, # Average duration in seconds.
8348 &quot;errorRate&quot;: 3.14, # Average error rate.
8349 &quot;qps&quot;: 3.14, # Queries per second.
8350 &quot;warningRate&quot;: 3.14, # Average warning rate.
8351 },
8352 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
8353 &quot;uiConfig&quot;: { # Task authors would use this type to configure the UI for a particular task by specifying what UI config modules should be included to compose the UI. Learn more about config module framework: # UI configuration for this task Also associated with the METADATA mask.
8354 &quot;taskUiModuleConfigs&quot;: [ # Configurations of included config modules.
8355 { # Task author would use this type to configure a config module.
8356 &quot;moduleId&quot;: &quot;A String&quot;, # ID of the config module.
8357 },
8358 ],
8359 },
8360 },
8361 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # The policy dictating the execution strategy of this task.
8362 &quot;taskName&quot;: &quot;A String&quot;, # The name for the task.
8363 &quot;taskNumber&quot;: &quot;A String&quot;, # REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`).
8364 &quot;taskSpec&quot;: &quot;A String&quot;, # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old &quot;parameters&quot; field.
8365 &quot;taskTemplateName&quot;: &quot;A String&quot;, # Used to define task-template name if task is of type task-template
8366 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
8367 },
8368 ],
8369 &quot;teardown&quot;: { # Optional. Contains a graph of tasks that will be executed before putting the event in a terminal state (SUCCEEDED/FAILED/FATAL), regardless of success or failure, similar to &quot;finally&quot; in code.
8370 &quot;teardownTaskConfigs&quot;: [ # Required.
8371 {
8372 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address.
8373 &quot;name&quot;: &quot;A String&quot;, # Required. Unique identifier of the teardown task within this Config. We use this field as the identifier to find next teardown tasks.
8374 &quot;nextTeardownTask&quot;: { # The teardown task that is next in line to be executed. We support only sequential execution of teardown tasks (i.e. no branching).
8375 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the next teardown task.
8376 },
8377 &quot;parameters&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 the user can pass to this task.
8378 &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.
8379 { # Key-value pair of EventBus parameters.
8380 &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.
8381 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
8382 &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.
8383 &quot;booleanArray&quot;: {
8384 &quot;booleanValues&quot;: [
8385 True or False,
8386 ],
8387 },
8388 &quot;booleanValue&quot;: True or False,
8389 &quot;doubleArray&quot;: {
8390 &quot;doubleValues&quot;: [
8391 3.14,
8392 ],
8393 },
8394 &quot;doubleValue&quot;: 3.14,
8395 &quot;intArray&quot;: {
8396 &quot;intValues&quot;: [
8397 &quot;A String&quot;,
8398 ],
8399 },
8400 &quot;intValue&quot;: &quot;A String&quot;,
8401 &quot;protoArray&quot;: {
8402 &quot;protoValues&quot;: [
8403 {
8404 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8405 },
8406 ],
8407 },
8408 &quot;protoValue&quot;: {
8409 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8410 },
8411 &quot;serializedObjectValue&quot;: {
8412 &quot;objectValue&quot;: &quot;A String&quot;,
8413 },
8414 &quot;stringArray&quot;: {
8415 &quot;stringValues&quot;: [
8416 &quot;A String&quot;,
8417 ],
8418 },
8419 &quot;stringValue&quot;: &quot;A String&quot;,
8420 },
8421 },
8422 ],
8423 },
8424 &quot;properties&quot;: { # LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus.
8425 &quot;properties&quot;: [ # An unordered list of property entries.
8426 { # Key-value pair of EventBus property.
8427 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding property value. This should be unique for a given fired event. The Tasks should be aware of the keys used while firing the events for them to be able to retrieve the values.
8428 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Values for the defined keys. Each value can either be string, int, double or any proto message.
8429 &quot;booleanValue&quot;: True or False,
8430 &quot;doubleArray&quot;: {
8431 &quot;values&quot;: [
8432 3.14,
8433 ],
8434 },
8435 &quot;doubleValue&quot;: 3.14,
8436 &quot;intArray&quot;: {
8437 &quot;values&quot;: [
8438 &quot;A String&quot;,
8439 ],
8440 },
8441 &quot;intValue&quot;: &quot;A String&quot;,
8442 &quot;protoValue&quot;: {
8443 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8444 },
8445 &quot;stringArray&quot;: {
8446 &quot;values&quot;: [
8447 &quot;A String&quot;,
8448 ],
8449 },
8450 &quot;stringValue&quot;: &quot;A String&quot;,
8451 },
8452 },
8453 ],
8454 },
8455 &quot;teardownTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. Implementation class name.
8456 },
8457 ],
8458 },
8459 &quot;triggerConfigs&quot;: [ # Optional. Trigger configurations.
8460 { # Configuration detail of a trigger.
8461 &quot;alertConfig&quot;: [ # Optional. An alert threshold configuration for the [trigger + client + integration] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + integration] when published.
8462 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
8463 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
8464 &quot;alertThreshold&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
8465 &quot;disableAlert&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this integration alert.
8466 &quot;displayName&quot;: &quot;A String&quot;, # Name of the alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the integration.
8467 &quot;durationThreshold&quot;: &quot;A String&quot;, # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
8468 &quot;metricType&quot;: &quot;A String&quot;, # The type of metric.
8469 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
8470 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
8471 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
8472 &quot;absolute&quot;: &quot;A String&quot;, # Absolute value threshold.
8473 &quot;percentage&quot;: 42, # Percentage threshold.
8474 },
8475 },
8476 ],
8477 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration # Optional. Cloud Scheduler Trigger related metadata
8478 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
8479 &quot;errorMessage&quot;: &quot;A String&quot;, # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations
8480 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
8481 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
8482 },
8483 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
8484 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
8485 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
8486 &quot;names&quot;: [ # Optional. List of variable names.
8487 &quot;A String&quot;,
8488 ],
8489 },
8490 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular trigger.
8491 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. Dictates how next tasks will be executed.
8492 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
8493 &quot;names&quot;: [ # Optional. List of variable names.
8494 &quot;A String&quot;,
8495 ],
8496 },
8497 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
8498 &quot;x&quot;: 42, # Required. X axis of the coordinate
8499 &quot;y&quot;: 42, # Required. Y axis of the coordinate
8500 },
8501 &quot;properties&quot;: { # Optional. Configurable properties of the trigger, not to be confused with integration parameters. E.g. &quot;name&quot; is a property for API triggers and &quot;subscription&quot; is a property for Pub/sub triggers.
8502 &quot;a_key&quot;: &quot;A String&quot;,
8503 },
8504 &quot;startTasks&quot;: [ # Optional. Set of tasks numbers from where the integration execution is started by this trigger. If this is empty, then integration is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same integration execution graph).
8505 { # The task that is next in line to be executed, if the condition specified evaluated to true.
8506 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
8507 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
8508 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
8509 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
8510 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
8511 },
8512 ],
8513 &quot;trigger&quot;: &quot;A String&quot;, # Optional. Name of the trigger. Example: &quot;API Trigger&quot;, &quot;Cloud Pub Sub Trigger&quot; When set will be sent out to monitoring dashabord for tracking purpose.
8514 &quot;triggerId&quot;: &quot;A String&quot;, # Optional. Auto-generated trigger ID. The ID is based on the properties that you define in the trigger config. For example, for an API trigger, the trigger ID follows the format: api_trigger/TRIGGER_NAME Where trigger config has properties with value {&quot;Trigger name&quot;: TRIGGER_NAME}
8515 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the integration on UI.
8516 &quot;triggerType&quot;: &quot;A String&quot;, # Optional. Type of trigger
8517 },
8518 ],
8519 &quot;triggerConfigsInternal&quot;: [ # Optional. Trigger configurations.
8520 { # Configuration detail of a trigger. Next available id: 22
8521 &quot;alertConfig&quot;: [ # An alert threshold configuration for the [trigger + client + workflow] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + workflow] when published.
8522 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
8523 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
8524 &quot;alertDisabled&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.
8525 &quot;alertName&quot;: &quot;A String&quot;, # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the workflow.
8526 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration.
8527 &quot;durationThresholdMs&quot;: &quot;A String&quot;, # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
8528 &quot;errorEnumList&quot;: { # List of error enums for alerts.
8529 &quot;enumStrings&quot;: [
8530 &quot;A String&quot;,
8531 ],
8532 &quot;filterType&quot;: &quot;A String&quot;,
8533 },
8534 &quot;metricType&quot;: &quot;A String&quot;,
8535 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
8536 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
8537 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
8538 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
8539 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
8540 &quot;absolute&quot;: &quot;A String&quot;,
8541 &quot;percentage&quot;: 42,
8542 },
8543 &quot;warningEnumList&quot;: { # List of error enums for alerts.
8544 &quot;enumStrings&quot;: [
8545 &quot;A String&quot;,
8546 ],
8547 &quot;filterType&quot;: &quot;A String&quot;,
8548 },
8549 },
8550 ],
8551 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration
8552 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
8553 &quot;errorMessage&quot;: &quot;A String&quot;, # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations
8554 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
8555 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
8556 },
8557 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
8558 &quot;enabledClients&quot;: [ # Required. The list of client ids which are enabled to execute the workflow using this trigger. In other words, these clients have the workflow execution privledges for this trigger. For API trigger, the client id in the incoming request is validated against the list of enabled clients. For non-API triggers, one workflow execution is triggered on behalf of each enabled client.
8559 &quot;A String&quot;,
8560 ],
8561 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
8562 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
8563 &quot;names&quot;: [ # Optional. List of variable names.
8564 &quot;A String&quot;,
8565 ],
8566 },
8567 &quot;label&quot;: &quot;A String&quot;, # The user created label for a particular trigger.
8568 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Dictates how next tasks will be executed.
8569 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
8570 &quot;names&quot;: [ # Optional. List of variable names.
8571 &quot;A String&quot;,
8572 ],
8573 },
8574 &quot;pauseWorkflowExecutions&quot;: True or False, # Optional. If set to true, any upcoming requests for this trigger config will be paused and the executions will be resumed later when the flag is reset. The workflow to which this trigger config belongs has to be in ACTIVE status for the executions to be paused or resumed.
8575 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this trigger config on the UI.
8576 &quot;x&quot;: 42,
8577 &quot;y&quot;: 42,
8578 },
8579 &quot;properties&quot;: { # Configurable properties of the trigger, not to be confused with workflow parameters. E.g. &quot;name&quot; is a property for API triggers and &quot;subscription&quot; is a property for Cloud Pubsub triggers.
8580 &quot;a_key&quot;: &quot;A String&quot;,
8581 },
8582 &quot;startTasks&quot;: [ # Set of tasks numbers from where the workflow execution is started by this trigger. If this is empty, then workflow is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same workflow execution graph).
8583 { # The task that is next in line to be executed, if the condition specified evaluated to true.
8584 &quot;combinedConditions&quot;: [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
8585 { # This message recursively combines constituent conditions using logical AND.
8586 &quot;conditions&quot;: [ # A set of individual constituent conditions.
8587 { # Condition that uses `operator` to evaluate the key against the value.
8588 &quot;eventPropertyKey&quot;: &quot;A String&quot;, # Key that&#x27;s evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.
8589 &quot;operator&quot;: &quot;A String&quot;, # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
8590 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that&#x27;s checked for the key.
8591 &quot;booleanValue&quot;: True or False,
8592 &quot;doubleArray&quot;: {
8593 &quot;values&quot;: [
8594 3.14,
8595 ],
8596 },
8597 &quot;doubleValue&quot;: 3.14,
8598 &quot;intArray&quot;: {
8599 &quot;values&quot;: [
8600 &quot;A String&quot;,
8601 ],
8602 },
8603 &quot;intValue&quot;: &quot;A String&quot;,
8604 &quot;protoValue&quot;: {
8605 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8606 },
8607 &quot;stringArray&quot;: {
8608 &quot;values&quot;: [
8609 &quot;A String&quot;,
8610 ],
8611 },
8612 &quot;stringValue&quot;: &quot;A String&quot;,
8613 },
8614 },
8615 ],
8616 },
8617 ],
8618 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
8619 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
8620 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
8621 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
8622 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
8623 },
8624 ],
8625 &quot;triggerCriteria&quot;: { # Optional. When set, Eventbus will run the task specified in the trigger_criteria and validate the result using the trigger_criteria.condition, and only execute the workflow when result is true.
8626 &quot;condition&quot;: &quot;A String&quot;, # Required. Standard filter expression, when true the workflow will be executed. If there&#x27;s no trigger_criteria_task_implementation_class_name specified, the condition will be validated directly.
8627 &quot;parameters&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 # Optional. To be used in TaskConfig for the implementation class.
8628 &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.
8629 { # Key-value pair of EventBus parameters.
8630 &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.
8631 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
8632 &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.
8633 &quot;booleanArray&quot;: {
8634 &quot;booleanValues&quot;: [
8635 True or False,
8636 ],
8637 },
8638 &quot;booleanValue&quot;: True or False,
8639 &quot;doubleArray&quot;: {
8640 &quot;doubleValues&quot;: [
8641 3.14,
8642 ],
8643 },
8644 &quot;doubleValue&quot;: 3.14,
8645 &quot;intArray&quot;: {
8646 &quot;intValues&quot;: [
8647 &quot;A String&quot;,
8648 ],
8649 },
8650 &quot;intValue&quot;: &quot;A String&quot;,
8651 &quot;protoArray&quot;: {
8652 &quot;protoValues&quot;: [
8653 {
8654 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8655 },
8656 ],
8657 },
8658 &quot;protoValue&quot;: {
8659 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8660 },
8661 &quot;serializedObjectValue&quot;: {
8662 &quot;objectValue&quot;: &quot;A String&quot;,
8663 },
8664 &quot;stringArray&quot;: {
8665 &quot;stringValues&quot;: [
8666 &quot;A String&quot;,
8667 ],
8668 },
8669 &quot;stringValue&quot;: &quot;A String&quot;,
8670 },
8671 },
8672 ],
8673 },
8674 &quot;triggerCriteriaTaskImplementationClassName&quot;: &quot;A String&quot;, # Optional. Implementation class name. The class should implement the “TypedTask” interface.
8675 },
8676 &quot;triggerId&quot;: &quot;A String&quot;, # The backend trigger ID.
8677 &quot;triggerName&quot;: &quot;A String&quot;, # Optional. Name of the trigger This is added to identify the type of trigger. This is avoid the logic on triggerId to identify the trigger_type and push the same to monitoring.
8678 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the workflow on UI.
8679 &quot;triggerType&quot;: &quot;A String&quot;,
8680 },
8681 ],
8682 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
8683 &quot;userLabel&quot;: &quot;A String&quot;, # Optional. A user-defined label that annotates an integration version. Typically, this is only set when the integration version is created.
8684 },
8685 ],
8686 }</pre>
8687 </div>
8688
8689 <div class="method">
8690 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, readMask=None, x__xgafv=None)</code>
8691 <pre>Lists all templates matching the filter.
8692
8693 Args:
8694 parent: string, Required. The client, which owns this collection of Templates. (required)
8695 filter: string, Optional. Standard filter field to filter templates. client_id filter won&#x27;t be supported and will restrict to templates belonging to the current client only. Return all templates of the current client if the filter is empty. Also supports operators like AND, OR, NOT For example, &quot;status=\&quot;ACTIVE\&quot;
8696 orderBy: string, Optional. The results would be returned in the order you specified here.
8697 pageSize: integer, Optional. The size of the response entries. If unspecified, defaults to 100. The maximum value is 1000; values above 1000 will be coerced to 1000.
8698 pageToken: string, Optional. The token returned in the previous response.
8699 readMask: string, Optional. The mask which specifies fields that need to be returned in the template&#x27;s response.
8700 x__xgafv: string, V1 error format.
8701 Allowed values
8702 1 - v1 error format
8703 2 - v2 error format
8704
8705 Returns:
8706 An object of the form:
8707
8708 { # Response for a request to list templates
8709 &quot;nextPageToken&quot;: &quot;A String&quot;, # The token used to retrieve the next page results.
8710 &quot;templates&quot;: [ # List of templates retrieved.
8711 { # Defines the template for Application Integration
8712 &quot;author&quot;: &quot;A String&quot;, # Optional. Creator of the template.
8713 &quot;categories&quot;: [ # Required. Categories associated with the Template. The categories listed below will be utilized for the Template listing.
8714 &quot;A String&quot;,
8715 ],
8716 &quot;components&quot;: [ # Optional. Components being used in the template. This could be used to categorize and filter.
8717 { # Define the components that are present in a template.
8718 &quot;name&quot;: &quot;A String&quot;, # Optional. Name of the component.
8719 &quot;type&quot;: &quot;A String&quot;, # Optional. Type of the component.
8720 },
8721 ],
8722 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
8723 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the template. The length should not be more than 255 characters
8724 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of the template
8725 &quot;docLink&quot;: &quot;A String&quot;, # Optional. Link to template documentation.
8726 &quot;lastUsedTime&quot;: &quot;A String&quot;, # Optional. Time the template was last used.
8727 &quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the template.
8728 &quot;sharedWith&quot;: [ # Required. Resource names with which the template is shared for example ProjectNumber/Ord id
8729 &quot;A String&quot;,
8730 ],
8731 &quot;tags&quot;: [ # Required. Tags which are used to identify templates. These tags could be for business use case, connectors etc.
8732 &quot;A String&quot;,
8733 ],
8734 &quot;templateBundle&quot;: { # Define the bundle of the template. # Required. Bundle which is part of the templates. The template entities in the bundle would be converted to an actual entity.
8735 &quot;integrationVersionTemplate&quot;: { # Define the template of IntegrationVersion. # Required. Main integration templates of the template bundle.
8736 &quot;integrationVersion&quot;: { # The integration version definition. # Required. Templatized version of integration.
8737 &quot;cloudKmsKey&quot;: &quot;A String&quot;, # Optional. Cloud KMS resource name for the CMEK encryption key.
8738 &quot;cloudLoggingDetails&quot;: { # Cloud Logging details for execution info # Optional. Cloud Logging details for the integration version
8739 &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.
8740 &quot;enableCloudLogging&quot;: True or False, # Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.
8741 },
8742 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
8743 &quot;createdFromTemplate&quot;: &quot;A String&quot;, # Optional. Optional. The resource name of the template from which the integration is created.
8744 &quot;databasePersistencePolicy&quot;: &quot;A String&quot;, # Optional. Flag to disable database persistence for execution data, including event execution info, execution export info, execution metadata index and execution param index.
8745 &quot;description&quot;: &quot;A String&quot;, # Optional. The integration description.
8746 &quot;enableVariableMasking&quot;: True or False, # Optional. True if variable masking feature should be turned on for this version
8747 &quot;errorCatcherConfigs&quot;: [ # Optional. Error Catch Task configuration for the integration. It&#x27;s optional.
8748 { # Configuration detail of a error catch task
8749 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give more business context about the error catcher config.
8750 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Required. An error catcher id is string representation for the error catcher config. Within a workflow, error_catcher_id uniquely identifies an error catcher config among all error catcher configs for the workflow
8751 &quot;errorCatcherNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each error catcher config within the workflow on UI.
8752 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular error catcher. Optional.
8753 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
8754 &quot;x&quot;: 42, # Required. X axis of the coordinate
8755 &quot;y&quot;: 42, # Required. Y axis of the coordinate
8756 },
8757 &quot;startErrorTasks&quot;: [ # Required. The set of start tasks that are to be executed for the error catch flow
8758 { # The task that is next in line to be executed, if the condition specified evaluated to true.
8759 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
8760 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
8761 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
8762 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
8763 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
8764 },
8765 ],
8766 },
8767 ],
8768 &quot;integrationConfigParameters&quot;: [ # Optional. Config Parameters that are expected to be passed to the integration when an integration is published. This consists of all the parameters that are expected to provide configuration in the integration execution. This gives the user the ability to provide default values, value, add information like connection url, project based configuration value and also provide data types of each parameter.
8769 { # Integration Config Parameter is defined in the integration config and are used to provide external configuration for integration. It provide information about data types of the expected parameters and provide any default values or value. They can also be used to add custom attributes.
8770 &quot;parameter&quot;: { # 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. # Optional. Integration Parameter to provide the default value, data type and attributes required for the Integration config variables.
8771 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
8772 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
8773 &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.
8774 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
8775 &quot;booleanValues&quot;: [ # Boolean array.
8776 True or False,
8777 ],
8778 },
8779 &quot;booleanValue&quot;: True or False, # Boolean.
8780 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
8781 &quot;doubleValues&quot;: [ # Double number array.
8782 3.14,
8783 ],
8784 },
8785 &quot;doubleValue&quot;: 3.14, # Double Number.
8786 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
8787 &quot;intValues&quot;: [ # Integer array.
8788 &quot;A String&quot;,
8789 ],
8790 },
8791 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
8792 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
8793 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
8794 &quot;stringValues&quot;: [ # String array.
8795 &quot;A String&quot;,
8796 ],
8797 },
8798 &quot;stringValue&quot;: &quot;A String&quot;, # String.
8799 },
8800 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
8801 &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;.
8802 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
8803 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
8804 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
8805 &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.
8806 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
8807 &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.
8808 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
8809 },
8810 &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 or a serialized object.
8811 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
8812 &quot;booleanValues&quot;: [ # Boolean array.
8813 True or False,
8814 ],
8815 },
8816 &quot;booleanValue&quot;: True or False, # Boolean.
8817 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
8818 &quot;doubleValues&quot;: [ # Double number array.
8819 3.14,
8820 ],
8821 },
8822 &quot;doubleValue&quot;: 3.14, # Double Number.
8823 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
8824 &quot;intValues&quot;: [ # Integer array.
8825 &quot;A String&quot;,
8826 ],
8827 },
8828 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
8829 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
8830 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
8831 &quot;stringValues&quot;: [ # String array.
8832 &quot;A String&quot;,
8833 ],
8834 },
8835 &quot;stringValue&quot;: &quot;A String&quot;, # String.
8836 },
8837 },
8838 ],
8839 &quot;integrationParameters&quot;: [ # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
8840 { # 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.
8841 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
8842 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
8843 &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.
8844 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
8845 &quot;booleanValues&quot;: [ # Boolean array.
8846 True or False,
8847 ],
8848 },
8849 &quot;booleanValue&quot;: True or False, # Boolean.
8850 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
8851 &quot;doubleValues&quot;: [ # Double number array.
8852 3.14,
8853 ],
8854 },
8855 &quot;doubleValue&quot;: 3.14, # Double Number.
8856 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
8857 &quot;intValues&quot;: [ # Integer array.
8858 &quot;A String&quot;,
8859 ],
8860 },
8861 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
8862 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
8863 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
8864 &quot;stringValues&quot;: [ # String array.
8865 &quot;A String&quot;,
8866 ],
8867 },
8868 &quot;stringValue&quot;: &quot;A String&quot;, # String.
8869 },
8870 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
8871 &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;.
8872 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
8873 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
8874 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
8875 &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.
8876 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
8877 &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.
8878 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
8879 },
8880 ],
8881 &quot;integrationParametersInternal&quot;: { # LINT.IfChange This is the frontend version of WorkflowParameters. It&#x27;s exactly like the backend version except that instead of flattening protobuf parameters and treating every field and subfield of a protobuf parameter as a separate parameter, the fields/subfields of a protobuf parameter will be nested as &quot;children&quot; (see &#x27;children&#x27; field below) parameters of the parent parameter. Please refer to enterprise/crm/eventbus/proto/workflow_parameters.proto for more information about WorkflowParameters. # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
8882 &quot;parameters&quot;: [ # Parameters are a part of Event and can be used to communiticate between different tasks that are part of the same workflow execution.
8883 {
8884 &quot;attributes&quot;: { # Attributes are additional options that can be associated with each event property. For more information, see # Metadata information about the parameters.
8885 &quot;dataType&quot;: &quot;A String&quot;, # Things like URL, Email, Currency, Timestamp (rather than string, int64...)
8886 &quot;defaultValue&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Used to define defaults.
8887 &quot;booleanValue&quot;: True or False,
8888 &quot;doubleArray&quot;: {
8889 &quot;values&quot;: [
8890 3.14,
8891 ],
8892 },
8893 &quot;doubleValue&quot;: 3.14,
8894 &quot;intArray&quot;: {
8895 &quot;values&quot;: [
8896 &quot;A String&quot;,
8897 ],
8898 },
8899 &quot;intValue&quot;: &quot;A String&quot;,
8900 &quot;protoValue&quot;: {
8901 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8902 },
8903 &quot;stringArray&quot;: {
8904 &quot;values&quot;: [
8905 &quot;A String&quot;,
8906 ],
8907 },
8908 &quot;stringValue&quot;: &quot;A String&quot;,
8909 },
8910 &quot;isRequired&quot;: True or False, # Required for event execution. The validation will be done by the event bus when the event is triggered.
8911 &quot;isSearchable&quot;: True or False, # Used to indicate if a ParameterEntry should be converted to ParamIndexes for ST-Spanner full-text search. DEPRECATED: use searchable.
8912 &quot;logSettings&quot;: { # The LogSettings define the logging attributes for an event property. These attributes are used to map the property to the parameter in the log proto. Also used to define scrubbing/truncation behavior and PII information. # See
8913 &quot;logFieldName&quot;: &quot;A String&quot;, # The name of corresponding logging field of the event property. If omitted, assumes the same name as the event property key.
8914 &quot;seedPeriod&quot;: &quot;A String&quot;,
8915 &quot;seedScope&quot;: &quot;A String&quot;,
8916 },
8917 &quot;masked&quot;: True or False, # True if this workflow parameter should be masked in the logs
8918 &quot;readOnly&quot;: True or False, # Used to indicate if the ParameterEntry is a read only field or not.
8919 &quot;searchable&quot;: &quot;A String&quot;,
8920 &quot;taskVisibility&quot;: [ # List of tasks that can view this property, if empty then all.
8921 &quot;A String&quot;,
8922 ],
8923 },
8924 &quot;children&quot;: [ # Child parameters nested within this parameter. This field only applies to protobuf parameters
8925 # Object with schema name: EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
8926 ],
8927 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
8928 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
8929 &quot;defaultValue&quot;: { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
8930 &quot;booleanArray&quot;: {
8931 &quot;booleanValues&quot;: [
8932 True or False,
8933 ],
8934 },
8935 &quot;booleanValue&quot;: True or False,
8936 &quot;doubleArray&quot;: {
8937 &quot;doubleValues&quot;: [
8938 3.14,
8939 ],
8940 },
8941 &quot;doubleValue&quot;: 3.14,
8942 &quot;intArray&quot;: {
8943 &quot;intValues&quot;: [
8944 &quot;A String&quot;,
8945 ],
8946 },
8947 &quot;intValue&quot;: &quot;A String&quot;,
8948 &quot;jsonValue&quot;: &quot;A String&quot;,
8949 &quot;protoArray&quot;: {
8950 &quot;protoValues&quot;: [
8951 {
8952 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8953 },
8954 ],
8955 },
8956 &quot;protoValue&quot;: {
8957 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8958 },
8959 &quot;serializedObjectValue&quot;: {
8960 &quot;objectValue&quot;: &quot;A String&quot;,
8961 },
8962 &quot;stringArray&quot;: {
8963 &quot;stringValues&quot;: [
8964 &quot;A String&quot;,
8965 ],
8966 },
8967 &quot;stringValue&quot;: &quot;A String&quot;,
8968 },
8969 &quot;description&quot;: &quot;A String&quot;, # Optional. The description about the parameter
8970 &quot;inOutType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
8971 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
8972 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
8973 &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.
8974 &quot;name&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;.
8975 &quot;producedBy&quot;: { # Represents a node identifier (type + id). Next highest id: 3 # 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.
8976 &quot;elementIdentifier&quot;: &quot;A String&quot;, # Configuration of the edge.
8977 &quot;elementType&quot;: &quot;A String&quot;, # Destination node where the edge ends. It can only be a task config.
8978 },
8979 &quot;producer&quot;: &quot;A String&quot;,
8980 &quot;protoDefName&quot;: &quot;A String&quot;, # The name of the protobuf type if the parameter has a protobuf data type.
8981 &quot;protoDefPath&quot;: &quot;A String&quot;, # If the data type is of type proto or proto array, this field needs to be populated with the fully qualified proto name. This message, for example, would be &quot;enterprise.crm.frontends.eventbus.proto.WorkflowParameterEntry&quot;.
8982 &quot;required&quot;: True or False,
8983 },
8984 ],
8985 },
8986 &quot;lastModifierEmail&quot;: &quot;A String&quot;, # Optional. The last modifier&#x27;s email address. Generated based on the End User Credentials/LOAS role of the user making the call.
8987 &quot;lockHolder&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.
8988 &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
8989 &quot;origin&quot;: &quot;A String&quot;, # Optional. The origin that indicates where this integration is coming from.
8990 &quot;parentTemplateId&quot;: &quot;A String&quot;, # Optional. The id of the template which was used to create this integration_version.
8991 &quot;runAsServiceAccount&quot;: &quot;A String&quot;, # Optional. The run-as service account email, if set and auth config is not configured, that will be used to generate auth token to be used in Connector task, Rest caller task and Cloud function task.
8992 &quot;snapshotNumber&quot;: &quot;A String&quot;, # Output only. An increasing sequence that is set when a new snapshot is created. The last created snapshot can be identified by [workflow_name, org_id latest(snapshot_number)]. However, last created snapshot need not be same as the HEAD. So users should always use &quot;HEAD&quot; tag to identify the head.
8993 &quot;state&quot;: &quot;A String&quot;, # Output only. User should not set it as an input.
8994 &quot;status&quot;: &quot;A String&quot;, # Output only. Generated by eventbus. User should not set it as an input.
8995 &quot;taskConfigs&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
8996 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
8997 &quot;conditionalFailurePolicies&quot;: { # Conditional task failur retry strategies # Optional. The list of conditional failure policies that will be applied to the task in order.
8998 &quot;defaultFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # The default failure policy to be applied if no conditional failure policy matches.
8999 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
9000 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
9001 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
9002 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
9003 },
9004 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
9005 { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
9006 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
9007 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
9008 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
9009 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
9010 },
9011 ],
9012 },
9013 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
9014 &quot;displayName&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to this TaskConfig in the UI.
9015 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
9016 &quot;externalTaskType&quot;: &quot;A String&quot;, # Optional. External task type of the task
9017 &quot;failurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
9018 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
9019 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
9020 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
9021 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
9022 },
9023 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # Optional. If set, overrides the option configured in the Task implementation class.
9024 &quot;nextTasks&quot;: [ # Optional. The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
9025 { # The task that is next in line to be executed, if the condition specified evaluated to true.
9026 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
9027 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
9028 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
9029 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
9030 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
9031 },
9032 ],
9033 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution of the next set of tasks for the current task.
9034 &quot;parameters&quot;: { # Optional. The customized parameters the user can pass to this task.
9035 &quot;a_key&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
9036 &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.
9037 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
9038 &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.
9039 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
9040 &quot;booleanValues&quot;: [ # Boolean array.
9041 True or False,
9042 ],
9043 },
9044 &quot;booleanValue&quot;: True or False, # Boolean.
9045 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
9046 &quot;doubleValues&quot;: [ # Double number array.
9047 3.14,
9048 ],
9049 },
9050 &quot;doubleValue&quot;: 3.14, # Double Number.
9051 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
9052 &quot;intValues&quot;: [ # Integer array.
9053 &quot;A String&quot;,
9054 ],
9055 },
9056 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
9057 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
9058 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
9059 &quot;stringValues&quot;: [ # String array.
9060 &quot;A String&quot;,
9061 ],
9062 },
9063 &quot;stringValue&quot;: &quot;A String&quot;, # String.
9064 },
9065 },
9066 },
9067 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
9068 &quot;x&quot;: 42, # Required. X axis of the coordinate
9069 &quot;y&quot;: 42, # Required. Y axis of the coordinate
9070 },
9071 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Optional. Determines what action to take upon successful task completion.
9072 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
9073 },
9074 &quot;synchronousCallFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
9075 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
9076 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
9077 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
9078 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
9079 },
9080 &quot;task&quot;: &quot;A String&quot;, # Optional. The name for the task.
9081 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution strategy of this task.
9082 &quot;taskId&quot;: &quot;A String&quot;, # Required. The identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_id`).
9083 &quot;taskTemplate&quot;: &quot;A String&quot;, # Optional. Used to define task-template name if task is of type task-template
9084 },
9085 ],
9086 &quot;taskConfigsInternal&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
9087 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
9088 &quot;alertConfigs&quot;: [ # Alert configurations on error rate, warning rate, number of runs, durations, etc.
9089 { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event.
9090 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week).
9091 &quot;alertDisabled&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.
9092 &quot;alertName&quot;: &quot;A String&quot;, # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique in within the scope of the containing workflow.
9093 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration. Must be a client enabled in one of the containing workflow&#x27;s triggers.
9094 &quot;durationThresholdMs&quot;: &quot;A String&quot;, # Should be specified only for TASK_AVERAGE_DURATION and TASK_PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
9095 &quot;errorEnumList&quot;: { # List of error enums for alerts.
9096 &quot;enumStrings&quot;: [
9097 &quot;A String&quot;,
9098 ],
9099 &quot;filterType&quot;: &quot;A String&quot;,
9100 },
9101 &quot;metricType&quot;: &quot;A String&quot;,
9102 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
9103 &quot;onlyFinalAttempt&quot;: True or False, # Only count final task attempts, not retries.
9104 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
9105 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
9106 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
9107 &quot;absolute&quot;: &quot;A String&quot;,
9108 &quot;percentage&quot;: 42,
9109 },
9110 &quot;warningEnumList&quot;: { # List of error enums for alerts.
9111 &quot;enumStrings&quot;: [
9112 &quot;A String&quot;,
9113 ],
9114 &quot;filterType&quot;: &quot;A String&quot;,
9115 },
9116 },
9117 ],
9118 &quot;conditionalFailurePolicies&quot;: { # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
9119 &quot;defaultFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # The default failure policy to be applied if no conditional failure policy matches
9120 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
9121 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
9122 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
9123 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
9124 },
9125 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
9126 { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
9127 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
9128 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
9129 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
9130 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
9131 },
9132 ],
9133 },
9134 &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
9135 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address. Auto-generated from the user&#x27;s email.
9136 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
9137 &quot;disableStrictTypeValidation&quot;: True or False, # If this config contains a TypedTask, allow validation to succeed if an input is read from the output of another TypedTask whose output type is declared as a superclass of the requested input type. For instance, if the previous task declares an output of type Message, any task with this flag enabled will pass validation when attempting to read any proto Message type from the resultant Event parameter.
9138 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
9139 &quot;externalTaskType&quot;: &quot;A String&quot;,
9140 &quot;failurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
9141 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
9142 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
9143 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
9144 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
9145 },
9146 &quot;incomingEdgeCount&quot;: 42, # The number of edges leading into this TaskConfig.
9147 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # If set, overrides the option configured in the Task implementation class.
9148 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this TaskConfig in the UI.
9149 &quot;lastModifiedTime&quot;: &quot;A String&quot;, # Auto-generated.
9150 &quot;nextTasks&quot;: [ # The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
9151 { # The task that is next in line to be executed, if the condition specified evaluated to true.
9152 &quot;combinedConditions&quot;: [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
9153 { # This message recursively combines constituent conditions using logical AND.
9154 &quot;conditions&quot;: [ # A set of individual constituent conditions.
9155 { # Condition that uses `operator` to evaluate the key against the value.
9156 &quot;eventPropertyKey&quot;: &quot;A String&quot;, # Key that&#x27;s evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.
9157 &quot;operator&quot;: &quot;A String&quot;, # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
9158 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that&#x27;s checked for the key.
9159 &quot;booleanValue&quot;: True or False,
9160 &quot;doubleArray&quot;: {
9161 &quot;values&quot;: [
9162 3.14,
9163 ],
9164 },
9165 &quot;doubleValue&quot;: 3.14,
9166 &quot;intArray&quot;: {
9167 &quot;values&quot;: [
9168 &quot;A String&quot;,
9169 ],
9170 },
9171 &quot;intValue&quot;: &quot;A String&quot;,
9172 &quot;protoValue&quot;: {
9173 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
9174 },
9175 &quot;stringArray&quot;: {
9176 &quot;values&quot;: [
9177 &quot;A String&quot;,
9178 ],
9179 },
9180 &quot;stringValue&quot;: &quot;A String&quot;,
9181 },
9182 },
9183 ],
9184 },
9185 ],
9186 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
9187 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
9188 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
9189 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
9190 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
9191 },
9192 ],
9193 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # The policy dictating the execution of the next set of tasks for the current task.
9194 &quot;parameters&quot;: { # The customized parameters the user can pass to this task.
9195 &quot;a_key&quot;: { # Key-value pair of EventBus parameters.
9196 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
9197 &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.
9198 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
9199 &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.
9200 &quot;booleanArray&quot;: {
9201 &quot;booleanValues&quot;: [
9202 True or False,
9203 ],
9204 },
9205 &quot;booleanValue&quot;: True or False,
9206 &quot;doubleArray&quot;: {
9207 &quot;doubleValues&quot;: [
9208 3.14,
9209 ],
9210 },
9211 &quot;doubleValue&quot;: 3.14,
9212 &quot;intArray&quot;: {
9213 &quot;intValues&quot;: [
9214 &quot;A String&quot;,
9215 ],
9216 },
9217 &quot;intValue&quot;: &quot;A String&quot;,
9218 &quot;jsonValue&quot;: &quot;A String&quot;,
9219 &quot;protoArray&quot;: {
9220 &quot;protoValues&quot;: [
9221 {
9222 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
9223 },
9224 ],
9225 },
9226 &quot;protoValue&quot;: {
9227 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
9228 },
9229 &quot;serializedObjectValue&quot;: {
9230 &quot;objectValue&quot;: &quot;A String&quot;,
9231 },
9232 &quot;stringArray&quot;: {
9233 &quot;stringValues&quot;: [
9234 &quot;A String&quot;,
9235 ],
9236 },
9237 &quot;stringValue&quot;: &quot;A String&quot;,
9238 },
9239 },
9240 },
9241 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this task config on the UI.
9242 &quot;x&quot;: 42,
9243 &quot;y&quot;: 42,
9244 },
9245 &quot;precondition&quot;: &quot;A String&quot;, # Optional. Standard filter expression evaluated before execution. Independent of other conditions and tasks. Can be used to enable rollout. e.g. &quot;rollout(5)&quot; will only allow 5% of incoming traffic to task.
9246 &quot;preconditionLabel&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to precondition in the UI.
9247 &quot;rollbackStrategy&quot;: { # Next available id: 4 # Optional. Contains information about what needs to be done upon failure (either a permanent error or after it has been retried too many times).
9248 &quot;parameters&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 # Optional. The customized parameters the user can pass to this task.
9249 &quot;parameters&quot;: [ # Parameters are a part of Event and can be used to communicate between different tasks that are part of the same workflow execution.
9250 { # Key-value pair of EventBus parameters.
9251 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
9252 &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.
9253 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
9254 &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.
9255 &quot;booleanArray&quot;: {
9256 &quot;booleanValues&quot;: [
9257 True or False,
9258 ],
9259 },
9260 &quot;booleanValue&quot;: True or False,
9261 &quot;doubleArray&quot;: {
9262 &quot;doubleValues&quot;: [
9263 3.14,
9264 ],
9265 },
9266 &quot;doubleValue&quot;: 3.14,
9267 &quot;intArray&quot;: {
9268 &quot;intValues&quot;: [
9269 &quot;A String&quot;,
9270 ],
9271 },
9272 &quot;intValue&quot;: &quot;A String&quot;,
9273 &quot;jsonValue&quot;: &quot;A String&quot;,
9274 &quot;protoArray&quot;: {
9275 &quot;protoValues&quot;: [
9276 {
9277 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
9278 },
9279 ],
9280 },
9281 &quot;protoValue&quot;: {
9282 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
9283 },
9284 &quot;serializedObjectValue&quot;: {
9285 &quot;objectValue&quot;: &quot;A String&quot;,
9286 },
9287 &quot;stringArray&quot;: {
9288 &quot;stringValues&quot;: [
9289 &quot;A String&quot;,
9290 ],
9291 },
9292 &quot;stringValue&quot;: &quot;A String&quot;,
9293 },
9294 },
9295 ],
9296 },
9297 &quot;rollbackTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. This is the name of the task that needs to be executed upon rollback of this task.
9298 &quot;taskNumbersToRollback&quot;: [ # Required. These are the tasks numbers of the tasks whose `rollback_strategy.rollback_task_implementation_class_name` needs to be executed upon failure of this task.
9299 &quot;A String&quot;,
9300 ],
9301 },
9302 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Determines what action to take upon successful task completion.
9303 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
9304 },
9305 &quot;synchronousCallFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
9306 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
9307 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
9308 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
9309 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
9310 },
9311 &quot;taskEntity&quot;: { # Contains a task&#x27;s metadata and associated information. Next available id: 7 # Copy of the task entity that this task config is an instance of.
9312 &quot;disabledForVpcSc&quot;: True or False, # True if the task has conflict with vpcsc
9313 &quot;metadata&quot;: { # TaskMetadata are attributes that are associated to every common Task we have. # Metadata inclueds the task name, author and so on.
9314 &quot;activeTaskName&quot;: &quot;A String&quot;, # The new task name to replace the current task if it is deprecated. Otherwise, it is the same as the current task name.
9315 &quot;admins&quot;: [
9316 { # Admins are owners of a Task, and have all permissions on a particular task identified by the task name. By default, Eventbus periodically scans all task metadata and syncs (adds) any new admins defined here to Zanzibar.
9317 &quot;googleGroupEmail&quot;: &quot;A String&quot;,
9318 &quot;userEmail&quot;: &quot;A String&quot;,
9319 },
9320 ],
9321 &quot;category&quot;: &quot;A String&quot;,
9322 &quot;codeSearchLink&quot;: &quot;A String&quot;, # The Code Search link to the Task Java file.
9323 &quot;defaultJsonValidationOption&quot;: &quot;A String&quot;, # Controls whether JSON workflow parameters are validated against provided schemas before and/or after this task&#x27;s execution.
9324 &quot;defaultSpec&quot;: &quot;A String&quot;, # Contains the initial configuration of the task with default values set. For now, The string should be compatible to an ASCII-proto format.
9325 &quot;description&quot;: &quot;A String&quot;, # In a few sentences, describe the purpose and usage of the task.
9326 &quot;descriptiveName&quot;: &quot;A String&quot;, # The string name to show on the task list on the Workflow editor screen. This should be a very short, one to two words name for the task. (e.g. &quot;Send Mail&quot;)
9327 &quot;docMarkdown&quot;: &quot;A String&quot;, # Snippet of markdown documentation to embed in the RHP for this task.
9328 &quot;externalCategory&quot;: &quot;A String&quot;,
9329 &quot;externalCategorySequence&quot;: 42, # Sequence with which the task in specific category to be displayed in task discovery panel for external users.
9330 &quot;externalDocHtml&quot;: &quot;A String&quot;, # External-facing documention embedded in the RHP for this task.
9331 &quot;externalDocLink&quot;: &quot;A String&quot;, # Doc link for external-facing documentation (separate from g3doc).
9332 &quot;externalDocMarkdown&quot;: &quot;A String&quot;, # DEPRECATED: Use external_doc_html.
9333 &quot;g3DocLink&quot;: &quot;A String&quot;, # URL to the associated G3 Doc for the task if available
9334 &quot;iconLink&quot;: &quot;A String&quot;, # URL to gstatic image icon for this task. This icon shows up on the task list panel along with the task name in the Workflow Editor screen. Use the 24p, 2x, gray color icon image format.
9335 &quot;isDeprecated&quot;: True or False, # The deprecation status of the current task. Default value is false;
9336 &quot;name&quot;: &quot;A String&quot;, # The actual class name or the annotated name of the task. Task Author should initialize this field with value from the getName() method of the Task class.
9337 &quot;standaloneExternalDocHtml&quot;: &quot;A String&quot;, # External-facing documention for standalone IP in pantheon embedded in the RHP for this task. Non null only if different from external_doc_html
9338 &quot;status&quot;: &quot;A String&quot;, # Allows author to indicate if the task is ready to use or not. If not set, then it will default to INACTIVE.
9339 &quot;system&quot;: &quot;A String&quot;,
9340 &quot;tags&quot;: [ # A set of tags that pertain to a particular task. This can be used to improve the searchability of tasks with several names (&quot;REST Caller&quot; vs. &quot;Call REST Endpoint&quot;) or to help users find tasks based on related words.
9341 &quot;A String&quot;,
9342 ],
9343 },
9344 &quot;paramSpecs&quot;: { # Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask.
9345 &quot;parameters&quot;: [
9346 { # Key-value pair of EventBus task parameters. Next id: 13
9347 &quot;className&quot;: &quot;A String&quot;, # The FQCN of the Java object this represents. A string, for example, would be &quot;java.lang.String&quot;. If this is &quot;java.lang.Object&quot;, the parameter can be of any type.
9348 &quot;collectionElementClassName&quot;: &quot;A String&quot;, # If it is a collection of objects, this would be the FCQN of every individual element in the collection. If this is &quot;java.lang.Object&quot;, the parameter is a collection of any type.
9349 &quot;config&quot;: { # Optional fields, such as help text and other useful info.
9350 &quot;descriptivePhrase&quot;: &quot;A String&quot;, # A short phrase to describe what this parameter contains.
9351 &quot;helpText&quot;: &quot;A String&quot;, # Detailed help text for this parameter containing information not provided elsewhere. For example, instructions on how to migrate from a deprecated parameter.
9352 &quot;hideDefaultValue&quot;: True or False, # Whether the default value is hidden in the UI.
9353 &quot;inputDisplayOption&quot;: &quot;A String&quot;,
9354 &quot;isHidden&quot;: True or False, # Whether this field is hidden in the UI.
9355 &quot;label&quot;: &quot;A String&quot;, # A user-friendly label for the parameter.
9356 &quot;parameterNameOption&quot;: &quot;A String&quot;,
9357 &quot;subSectionLabel&quot;: &quot;A String&quot;, # A user-friendly label for subSection under which the parameter will be displayed.
9358 &quot;uiPlaceholderText&quot;: &quot;A String&quot;, # Placeholder text which will appear in the UI input form for this parameter.
9359 },
9360 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
9361 &quot;defaultValue&quot;: { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
9362 &quot;booleanArray&quot;: {
9363 &quot;booleanValues&quot;: [
9364 True or False,
9365 ],
9366 },
9367 &quot;booleanValue&quot;: True or False,
9368 &quot;doubleArray&quot;: {
9369 &quot;doubleValues&quot;: [
9370 3.14,
9371 ],
9372 },
9373 &quot;doubleValue&quot;: 3.14,
9374 &quot;intArray&quot;: {
9375 &quot;intValues&quot;: [
9376 &quot;A String&quot;,
9377 ],
9378 },
9379 &quot;intValue&quot;: &quot;A String&quot;,
9380 &quot;jsonValue&quot;: &quot;A String&quot;,
9381 &quot;protoArray&quot;: {
9382 &quot;protoValues&quot;: [
9383 {
9384 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
9385 },
9386 ],
9387 },
9388 &quot;protoValue&quot;: {
9389 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
9390 },
9391 &quot;serializedObjectValue&quot;: {
9392 &quot;objectValue&quot;: &quot;A String&quot;,
9393 },
9394 &quot;stringArray&quot;: {
9395 &quot;stringValues&quot;: [
9396 &quot;A String&quot;,
9397 ],
9398 },
9399 &quot;stringValue&quot;: &quot;A String&quot;,
9400 },
9401 &quot;isDeprecated&quot;: True or False, # If set, this entry is deprecated, so further use of this parameter should be prohibited.
9402 &quot;isOutput&quot;: True or False,
9403 &quot;jsonSchema&quot;: &quot;A String&quot;, # If the data_type is JSON_VALUE, then this will define its schema.
9404 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given task. These parameters must be predefined in the workflow definition.
9405 &quot;protoDef&quot;: { # Populated if this represents a proto or proto array.
9406 &quot;fullName&quot;: &quot;A String&quot;, # The fully-qualified proto name. This message, for example, would be &quot;enterprise.crm.eventbus.proto.ParamSpecEntry.ProtoDefinition&quot;.
9407 &quot;path&quot;: &quot;A String&quot;, # Path to the proto file that contains the message type&#x27;s definition.
9408 },
9409 &quot;required&quot;: True or False, # If set, the user must provide an input value for this parameter.
9410 &quot;validationRule&quot;: { # Rule used to validate inputs (individual values and collection elements) for this parameter.
9411 &quot;doubleRange&quot;: { # Range used to validate doubles and floats.
9412 &quot;max&quot;: 3.14, # The inclusive maximum of the acceptable range.
9413 &quot;min&quot;: 3.14, # The inclusive minimum of the acceptable range.
9414 },
9415 &quot;intRange&quot;: { # Range used to validate longs and ints.
9416 &quot;max&quot;: &quot;A String&quot;, # The inclusive maximum of the acceptable range.
9417 &quot;min&quot;: &quot;A String&quot;, # The inclusive minimum of the acceptable range.
9418 },
9419 &quot;stringRegex&quot;: { # Rule used to validate strings.
9420 &quot;exclusive&quot;: True or False, # Whether the regex matcher is applied exclusively (if true, matching values will be rejected).
9421 &quot;regex&quot;: &quot;A String&quot;, # The regex applied to the input value(s).
9422 },
9423 },
9424 },
9425 ],
9426 },
9427 &quot;stats&quot;: { # Stats for the requested dimensions: QPS, duration, and error/warning rate # Deprecated - statistics from the Monarch query.
9428 &quot;dimensions&quot;: { # Dimensions that these stats have been aggregated on.
9429 &quot;clientId&quot;: &quot;A String&quot;,
9430 &quot;enumFilterType&quot;: &quot;A String&quot;, # Whether to include or exclude the enums matching the regex.
9431 &quot;errorEnumString&quot;: &quot;A String&quot;,
9432 &quot;retryAttempt&quot;: &quot;A String&quot;,
9433 &quot;taskName&quot;: &quot;A String&quot;,
9434 &quot;taskNumber&quot;: &quot;A String&quot;,
9435 &quot;triggerId&quot;: &quot;A String&quot;, # Stats have been or will be aggregated on set fields for any semantically-meaningful combination.
9436 &quot;warningEnumString&quot;: &quot;A String&quot;,
9437 &quot;workflowId&quot;: &quot;A String&quot;,
9438 &quot;workflowName&quot;: &quot;A String&quot;,
9439 },
9440 &quot;durationInSeconds&quot;: 3.14, # Average duration in seconds.
9441 &quot;errorRate&quot;: 3.14, # Average error rate.
9442 &quot;qps&quot;: 3.14, # Queries per second.
9443 &quot;warningRate&quot;: 3.14, # Average warning rate.
9444 },
9445 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
9446 &quot;uiConfig&quot;: { # Task authors would use this type to configure the UI for a particular task by specifying what UI config modules should be included to compose the UI. Learn more about config module framework: # UI configuration for this task Also associated with the METADATA mask.
9447 &quot;taskUiModuleConfigs&quot;: [ # Configurations of included config modules.
9448 { # Task author would use this type to configure a config module.
9449 &quot;moduleId&quot;: &quot;A String&quot;, # ID of the config module.
9450 },
9451 ],
9452 },
9453 },
9454 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # The policy dictating the execution strategy of this task.
9455 &quot;taskName&quot;: &quot;A String&quot;, # The name for the task.
9456 &quot;taskNumber&quot;: &quot;A String&quot;, # REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`).
9457 &quot;taskSpec&quot;: &quot;A String&quot;, # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old &quot;parameters&quot; field.
9458 &quot;taskTemplateName&quot;: &quot;A String&quot;, # Used to define task-template name if task is of type task-template
9459 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
9460 },
9461 ],
9462 &quot;teardown&quot;: { # Optional. Contains a graph of tasks that will be executed before putting the event in a terminal state (SUCCEEDED/FAILED/FATAL), regardless of success or failure, similar to &quot;finally&quot; in code.
9463 &quot;teardownTaskConfigs&quot;: [ # Required.
9464 {
9465 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address.
9466 &quot;name&quot;: &quot;A String&quot;, # Required. Unique identifier of the teardown task within this Config. We use this field as the identifier to find next teardown tasks.
9467 &quot;nextTeardownTask&quot;: { # The teardown task that is next in line to be executed. We support only sequential execution of teardown tasks (i.e. no branching).
9468 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the next teardown task.
9469 },
9470 &quot;parameters&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 the user can pass to this task.
9471 &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.
9472 { # Key-value pair of EventBus parameters.
9473 &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.
9474 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
9475 &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.
9476 &quot;booleanArray&quot;: {
9477 &quot;booleanValues&quot;: [
9478 True or False,
9479 ],
9480 },
9481 &quot;booleanValue&quot;: True or False,
9482 &quot;doubleArray&quot;: {
9483 &quot;doubleValues&quot;: [
9484 3.14,
9485 ],
9486 },
9487 &quot;doubleValue&quot;: 3.14,
9488 &quot;intArray&quot;: {
9489 &quot;intValues&quot;: [
9490 &quot;A String&quot;,
9491 ],
9492 },
9493 &quot;intValue&quot;: &quot;A String&quot;,
9494 &quot;protoArray&quot;: {
9495 &quot;protoValues&quot;: [
9496 {
9497 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
9498 },
9499 ],
9500 },
9501 &quot;protoValue&quot;: {
9502 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
9503 },
9504 &quot;serializedObjectValue&quot;: {
9505 &quot;objectValue&quot;: &quot;A String&quot;,
9506 },
9507 &quot;stringArray&quot;: {
9508 &quot;stringValues&quot;: [
9509 &quot;A String&quot;,
9510 ],
9511 },
9512 &quot;stringValue&quot;: &quot;A String&quot;,
9513 },
9514 },
9515 ],
9516 },
9517 &quot;properties&quot;: { # LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus.
9518 &quot;properties&quot;: [ # An unordered list of property entries.
9519 { # Key-value pair of EventBus property.
9520 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding property value. This should be unique for a given fired event. The Tasks should be aware of the keys used while firing the events for them to be able to retrieve the values.
9521 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Values for the defined keys. Each value can either be string, int, double or any proto message.
9522 &quot;booleanValue&quot;: True or False,
9523 &quot;doubleArray&quot;: {
9524 &quot;values&quot;: [
9525 3.14,
9526 ],
9527 },
9528 &quot;doubleValue&quot;: 3.14,
9529 &quot;intArray&quot;: {
9530 &quot;values&quot;: [
9531 &quot;A String&quot;,
9532 ],
9533 },
9534 &quot;intValue&quot;: &quot;A String&quot;,
9535 &quot;protoValue&quot;: {
9536 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
9537 },
9538 &quot;stringArray&quot;: {
9539 &quot;values&quot;: [
9540 &quot;A String&quot;,
9541 ],
9542 },
9543 &quot;stringValue&quot;: &quot;A String&quot;,
9544 },
9545 },
9546 ],
9547 },
9548 &quot;teardownTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. Implementation class name.
9549 },
9550 ],
9551 },
9552 &quot;triggerConfigs&quot;: [ # Optional. Trigger configurations.
9553 { # Configuration detail of a trigger.
9554 &quot;alertConfig&quot;: [ # Optional. An alert threshold configuration for the [trigger + client + integration] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + integration] when published.
9555 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
9556 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
9557 &quot;alertThreshold&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
9558 &quot;disableAlert&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this integration alert.
9559 &quot;displayName&quot;: &quot;A String&quot;, # Name of the alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the integration.
9560 &quot;durationThreshold&quot;: &quot;A String&quot;, # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
9561 &quot;metricType&quot;: &quot;A String&quot;, # The type of metric.
9562 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
9563 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
9564 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
9565 &quot;absolute&quot;: &quot;A String&quot;, # Absolute value threshold.
9566 &quot;percentage&quot;: 42, # Percentage threshold.
9567 },
9568 },
9569 ],
9570 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration # Optional. Cloud Scheduler Trigger related metadata
9571 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
9572 &quot;errorMessage&quot;: &quot;A String&quot;, # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations
9573 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
9574 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
9575 },
9576 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
9577 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
9578 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
9579 &quot;names&quot;: [ # Optional. List of variable names.
9580 &quot;A String&quot;,
9581 ],
9582 },
9583 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular trigger.
9584 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. Dictates how next tasks will be executed.
9585 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
9586 &quot;names&quot;: [ # Optional. List of variable names.
9587 &quot;A String&quot;,
9588 ],
9589 },
9590 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
9591 &quot;x&quot;: 42, # Required. X axis of the coordinate
9592 &quot;y&quot;: 42, # Required. Y axis of the coordinate
9593 },
9594 &quot;properties&quot;: { # Optional. Configurable properties of the trigger, not to be confused with integration parameters. E.g. &quot;name&quot; is a property for API triggers and &quot;subscription&quot; is a property for Pub/sub triggers.
9595 &quot;a_key&quot;: &quot;A String&quot;,
9596 },
9597 &quot;startTasks&quot;: [ # Optional. Set of tasks numbers from where the integration execution is started by this trigger. If this is empty, then integration is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same integration execution graph).
9598 { # The task that is next in line to be executed, if the condition specified evaluated to true.
9599 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
9600 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
9601 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
9602 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
9603 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
9604 },
9605 ],
9606 &quot;trigger&quot;: &quot;A String&quot;, # Optional. Name of the trigger. Example: &quot;API Trigger&quot;, &quot;Cloud Pub Sub Trigger&quot; When set will be sent out to monitoring dashabord for tracking purpose.
9607 &quot;triggerId&quot;: &quot;A String&quot;, # Optional. Auto-generated trigger ID. The ID is based on the properties that you define in the trigger config. For example, for an API trigger, the trigger ID follows the format: api_trigger/TRIGGER_NAME Where trigger config has properties with value {&quot;Trigger name&quot;: TRIGGER_NAME}
9608 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the integration on UI.
9609 &quot;triggerType&quot;: &quot;A String&quot;, # Optional. Type of trigger
9610 },
9611 ],
9612 &quot;triggerConfigsInternal&quot;: [ # Optional. Trigger configurations.
9613 { # Configuration detail of a trigger. Next available id: 22
9614 &quot;alertConfig&quot;: [ # An alert threshold configuration for the [trigger + client + workflow] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + workflow] when published.
9615 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
9616 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
9617 &quot;alertDisabled&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.
9618 &quot;alertName&quot;: &quot;A String&quot;, # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the workflow.
9619 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration.
9620 &quot;durationThresholdMs&quot;: &quot;A String&quot;, # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
9621 &quot;errorEnumList&quot;: { # List of error enums for alerts.
9622 &quot;enumStrings&quot;: [
9623 &quot;A String&quot;,
9624 ],
9625 &quot;filterType&quot;: &quot;A String&quot;,
9626 },
9627 &quot;metricType&quot;: &quot;A String&quot;,
9628 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
9629 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
9630 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
9631 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
9632 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
9633 &quot;absolute&quot;: &quot;A String&quot;,
9634 &quot;percentage&quot;: 42,
9635 },
9636 &quot;warningEnumList&quot;: { # List of error enums for alerts.
9637 &quot;enumStrings&quot;: [
9638 &quot;A String&quot;,
9639 ],
9640 &quot;filterType&quot;: &quot;A String&quot;,
9641 },
9642 },
9643 ],
9644 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration
9645 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
9646 &quot;errorMessage&quot;: &quot;A String&quot;, # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations
9647 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
9648 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
9649 },
9650 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
9651 &quot;enabledClients&quot;: [ # Required. The list of client ids which are enabled to execute the workflow using this trigger. In other words, these clients have the workflow execution privledges for this trigger. For API trigger, the client id in the incoming request is validated against the list of enabled clients. For non-API triggers, one workflow execution is triggered on behalf of each enabled client.
9652 &quot;A String&quot;,
9653 ],
9654 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
9655 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
9656 &quot;names&quot;: [ # Optional. List of variable names.
9657 &quot;A String&quot;,
9658 ],
9659 },
9660 &quot;label&quot;: &quot;A String&quot;, # The user created label for a particular trigger.
9661 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Dictates how next tasks will be executed.
9662 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
9663 &quot;names&quot;: [ # Optional. List of variable names.
9664 &quot;A String&quot;,
9665 ],
9666 },
9667 &quot;pauseWorkflowExecutions&quot;: True or False, # Optional. If set to true, any upcoming requests for this trigger config will be paused and the executions will be resumed later when the flag is reset. The workflow to which this trigger config belongs has to be in ACTIVE status for the executions to be paused or resumed.
9668 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this trigger config on the UI.
9669 &quot;x&quot;: 42,
9670 &quot;y&quot;: 42,
9671 },
9672 &quot;properties&quot;: { # Configurable properties of the trigger, not to be confused with workflow parameters. E.g. &quot;name&quot; is a property for API triggers and &quot;subscription&quot; is a property for Cloud Pubsub triggers.
9673 &quot;a_key&quot;: &quot;A String&quot;,
9674 },
9675 &quot;startTasks&quot;: [ # Set of tasks numbers from where the workflow execution is started by this trigger. If this is empty, then workflow is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same workflow execution graph).
9676 { # The task that is next in line to be executed, if the condition specified evaluated to true.
9677 &quot;combinedConditions&quot;: [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
9678 { # This message recursively combines constituent conditions using logical AND.
9679 &quot;conditions&quot;: [ # A set of individual constituent conditions.
9680 { # Condition that uses `operator` to evaluate the key against the value.
9681 &quot;eventPropertyKey&quot;: &quot;A String&quot;, # Key that&#x27;s evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.
9682 &quot;operator&quot;: &quot;A String&quot;, # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
9683 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that&#x27;s checked for the key.
9684 &quot;booleanValue&quot;: True or False,
9685 &quot;doubleArray&quot;: {
9686 &quot;values&quot;: [
9687 3.14,
9688 ],
9689 },
9690 &quot;doubleValue&quot;: 3.14,
9691 &quot;intArray&quot;: {
9692 &quot;values&quot;: [
9693 &quot;A String&quot;,
9694 ],
9695 },
9696 &quot;intValue&quot;: &quot;A String&quot;,
9697 &quot;protoValue&quot;: {
9698 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
9699 },
9700 &quot;stringArray&quot;: {
9701 &quot;values&quot;: [
9702 &quot;A String&quot;,
9703 ],
9704 },
9705 &quot;stringValue&quot;: &quot;A String&quot;,
9706 },
9707 },
9708 ],
9709 },
9710 ],
9711 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
9712 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
9713 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
9714 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
9715 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
9716 },
9717 ],
9718 &quot;triggerCriteria&quot;: { # Optional. When set, Eventbus will run the task specified in the trigger_criteria and validate the result using the trigger_criteria.condition, and only execute the workflow when result is true.
9719 &quot;condition&quot;: &quot;A String&quot;, # Required. Standard filter expression, when true the workflow will be executed. If there&#x27;s no trigger_criteria_task_implementation_class_name specified, the condition will be validated directly.
9720 &quot;parameters&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 # Optional. To be used in TaskConfig for the implementation class.
9721 &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.
9722 { # Key-value pair of EventBus parameters.
9723 &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.
9724 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
9725 &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.
9726 &quot;booleanArray&quot;: {
9727 &quot;booleanValues&quot;: [
9728 True or False,
9729 ],
9730 },
9731 &quot;booleanValue&quot;: True or False,
9732 &quot;doubleArray&quot;: {
9733 &quot;doubleValues&quot;: [
9734 3.14,
9735 ],
9736 },
9737 &quot;doubleValue&quot;: 3.14,
9738 &quot;intArray&quot;: {
9739 &quot;intValues&quot;: [
9740 &quot;A String&quot;,
9741 ],
9742 },
9743 &quot;intValue&quot;: &quot;A String&quot;,
9744 &quot;protoArray&quot;: {
9745 &quot;protoValues&quot;: [
9746 {
9747 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
9748 },
9749 ],
9750 },
9751 &quot;protoValue&quot;: {
9752 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
9753 },
9754 &quot;serializedObjectValue&quot;: {
9755 &quot;objectValue&quot;: &quot;A String&quot;,
9756 },
9757 &quot;stringArray&quot;: {
9758 &quot;stringValues&quot;: [
9759 &quot;A String&quot;,
9760 ],
9761 },
9762 &quot;stringValue&quot;: &quot;A String&quot;,
9763 },
9764 },
9765 ],
9766 },
9767 &quot;triggerCriteriaTaskImplementationClassName&quot;: &quot;A String&quot;, # Optional. Implementation class name. The class should implement the “TypedTask” interface.
9768 },
9769 &quot;triggerId&quot;: &quot;A String&quot;, # The backend trigger ID.
9770 &quot;triggerName&quot;: &quot;A String&quot;, # Optional. Name of the trigger This is added to identify the type of trigger. This is avoid the logic on triggerId to identify the trigger_type and push the same to monitoring.
9771 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the workflow on UI.
9772 &quot;triggerType&quot;: &quot;A String&quot;,
9773 },
9774 ],
9775 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
9776 &quot;userLabel&quot;: &quot;A String&quot;, # Optional. A user-defined label that annotates an integration version. Typically, this is only set when the integration version is created.
9777 },
9778 &quot;key&quot;: &quot;A String&quot;, # Required. Unique Key of the IntegrationVersion.
9779 },
9780 &quot;subIntegrationVersionTemplates&quot;: [ # Optional. Sub integration templates which would be added along with main integration.
9781 { # Define the template of IntegrationVersion.
9782 &quot;integrationVersion&quot;: { # The integration version definition. # Required. Templatized version of integration.
9783 &quot;cloudKmsKey&quot;: &quot;A String&quot;, # Optional. Cloud KMS resource name for the CMEK encryption key.
9784 &quot;cloudLoggingDetails&quot;: { # Cloud Logging details for execution info # Optional. Cloud Logging details for the integration version
9785 &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.
9786 &quot;enableCloudLogging&quot;: True or False, # Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.
9787 },
9788 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
9789 &quot;createdFromTemplate&quot;: &quot;A String&quot;, # Optional. Optional. The resource name of the template from which the integration is created.
9790 &quot;databasePersistencePolicy&quot;: &quot;A String&quot;, # Optional. Flag to disable database persistence for execution data, including event execution info, execution export info, execution metadata index and execution param index.
9791 &quot;description&quot;: &quot;A String&quot;, # Optional. The integration description.
9792 &quot;enableVariableMasking&quot;: True or False, # Optional. True if variable masking feature should be turned on for this version
9793 &quot;errorCatcherConfigs&quot;: [ # Optional. Error Catch Task configuration for the integration. It&#x27;s optional.
9794 { # Configuration detail of a error catch task
9795 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give more business context about the error catcher config.
9796 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Required. An error catcher id is string representation for the error catcher config. Within a workflow, error_catcher_id uniquely identifies an error catcher config among all error catcher configs for the workflow
9797 &quot;errorCatcherNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each error catcher config within the workflow on UI.
9798 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular error catcher. Optional.
9799 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
9800 &quot;x&quot;: 42, # Required. X axis of the coordinate
9801 &quot;y&quot;: 42, # Required. Y axis of the coordinate
9802 },
9803 &quot;startErrorTasks&quot;: [ # Required. The set of start tasks that are to be executed for the error catch flow
9804 { # The task that is next in line to be executed, if the condition specified evaluated to true.
9805 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
9806 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
9807 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
9808 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
9809 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
9810 },
9811 ],
9812 },
9813 ],
9814 &quot;integrationConfigParameters&quot;: [ # Optional. Config Parameters that are expected to be passed to the integration when an integration is published. This consists of all the parameters that are expected to provide configuration in the integration execution. This gives the user the ability to provide default values, value, add information like connection url, project based configuration value and also provide data types of each parameter.
9815 { # Integration Config Parameter is defined in the integration config and are used to provide external configuration for integration. It provide information about data types of the expected parameters and provide any default values or value. They can also be used to add custom attributes.
9816 &quot;parameter&quot;: { # 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. # Optional. Integration Parameter to provide the default value, data type and attributes required for the Integration config variables.
9817 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
9818 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
9819 &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.
9820 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
9821 &quot;booleanValues&quot;: [ # Boolean array.
9822 True or False,
9823 ],
9824 },
9825 &quot;booleanValue&quot;: True or False, # Boolean.
9826 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
9827 &quot;doubleValues&quot;: [ # Double number array.
9828 3.14,
9829 ],
9830 },
9831 &quot;doubleValue&quot;: 3.14, # Double Number.
9832 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
9833 &quot;intValues&quot;: [ # Integer array.
9834 &quot;A String&quot;,
9835 ],
9836 },
9837 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
9838 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
9839 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
9840 &quot;stringValues&quot;: [ # String array.
9841 &quot;A String&quot;,
9842 ],
9843 },
9844 &quot;stringValue&quot;: &quot;A String&quot;, # String.
9845 },
9846 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
9847 &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;.
9848 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
9849 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
9850 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
9851 &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.
9852 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
9853 &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.
9854 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
9855 },
9856 &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 or a serialized object.
9857 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
9858 &quot;booleanValues&quot;: [ # Boolean array.
9859 True or False,
9860 ],
9861 },
9862 &quot;booleanValue&quot;: True or False, # Boolean.
9863 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
9864 &quot;doubleValues&quot;: [ # Double number array.
9865 3.14,
9866 ],
9867 },
9868 &quot;doubleValue&quot;: 3.14, # Double Number.
9869 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
9870 &quot;intValues&quot;: [ # Integer array.
9871 &quot;A String&quot;,
9872 ],
9873 },
9874 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
9875 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
9876 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
9877 &quot;stringValues&quot;: [ # String array.
9878 &quot;A String&quot;,
9879 ],
9880 },
9881 &quot;stringValue&quot;: &quot;A String&quot;, # String.
9882 },
9883 },
9884 ],
9885 &quot;integrationParameters&quot;: [ # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
9886 { # 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.
9887 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
9888 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
9889 &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.
9890 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
9891 &quot;booleanValues&quot;: [ # Boolean array.
9892 True or False,
9893 ],
9894 },
9895 &quot;booleanValue&quot;: True or False, # Boolean.
9896 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
9897 &quot;doubleValues&quot;: [ # Double number array.
9898 3.14,
9899 ],
9900 },
9901 &quot;doubleValue&quot;: 3.14, # Double Number.
9902 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
9903 &quot;intValues&quot;: [ # Integer array.
9904 &quot;A String&quot;,
9905 ],
9906 },
9907 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
9908 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
9909 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
9910 &quot;stringValues&quot;: [ # String array.
9911 &quot;A String&quot;,
9912 ],
9913 },
9914 &quot;stringValue&quot;: &quot;A String&quot;, # String.
9915 },
9916 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
9917 &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;.
9918 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
9919 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
9920 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
9921 &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.
9922 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
9923 &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.
9924 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
9925 },
9926 ],
9927 &quot;integrationParametersInternal&quot;: { # LINT.IfChange This is the frontend version of WorkflowParameters. It&#x27;s exactly like the backend version except that instead of flattening protobuf parameters and treating every field and subfield of a protobuf parameter as a separate parameter, the fields/subfields of a protobuf parameter will be nested as &quot;children&quot; (see &#x27;children&#x27; field below) parameters of the parent parameter. Please refer to enterprise/crm/eventbus/proto/workflow_parameters.proto for more information about WorkflowParameters. # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
9928 &quot;parameters&quot;: [ # Parameters are a part of Event and can be used to communiticate between different tasks that are part of the same workflow execution.
9929 {
9930 &quot;attributes&quot;: { # Attributes are additional options that can be associated with each event property. For more information, see # Metadata information about the parameters.
9931 &quot;dataType&quot;: &quot;A String&quot;, # Things like URL, Email, Currency, Timestamp (rather than string, int64...)
9932 &quot;defaultValue&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Used to define defaults.
9933 &quot;booleanValue&quot;: True or False,
9934 &quot;doubleArray&quot;: {
9935 &quot;values&quot;: [
9936 3.14,
9937 ],
9938 },
9939 &quot;doubleValue&quot;: 3.14,
9940 &quot;intArray&quot;: {
9941 &quot;values&quot;: [
9942 &quot;A String&quot;,
9943 ],
9944 },
9945 &quot;intValue&quot;: &quot;A String&quot;,
9946 &quot;protoValue&quot;: {
9947 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
9948 },
9949 &quot;stringArray&quot;: {
9950 &quot;values&quot;: [
9951 &quot;A String&quot;,
9952 ],
9953 },
9954 &quot;stringValue&quot;: &quot;A String&quot;,
9955 },
9956 &quot;isRequired&quot;: True or False, # Required for event execution. The validation will be done by the event bus when the event is triggered.
9957 &quot;isSearchable&quot;: True or False, # Used to indicate if a ParameterEntry should be converted to ParamIndexes for ST-Spanner full-text search. DEPRECATED: use searchable.
9958 &quot;logSettings&quot;: { # The LogSettings define the logging attributes for an event property. These attributes are used to map the property to the parameter in the log proto. Also used to define scrubbing/truncation behavior and PII information. # See
9959 &quot;logFieldName&quot;: &quot;A String&quot;, # The name of corresponding logging field of the event property. If omitted, assumes the same name as the event property key.
9960 &quot;seedPeriod&quot;: &quot;A String&quot;,
9961 &quot;seedScope&quot;: &quot;A String&quot;,
9962 },
9963 &quot;masked&quot;: True or False, # True if this workflow parameter should be masked in the logs
9964 &quot;readOnly&quot;: True or False, # Used to indicate if the ParameterEntry is a read only field or not.
9965 &quot;searchable&quot;: &quot;A String&quot;,
9966 &quot;taskVisibility&quot;: [ # List of tasks that can view this property, if empty then all.
9967 &quot;A String&quot;,
9968 ],
9969 },
9970 &quot;children&quot;: [ # Child parameters nested within this parameter. This field only applies to protobuf parameters
9971 # Object with schema name: EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
9972 ],
9973 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
9974 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
9975 &quot;defaultValue&quot;: { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
9976 &quot;booleanArray&quot;: {
9977 &quot;booleanValues&quot;: [
9978 True or False,
9979 ],
9980 },
9981 &quot;booleanValue&quot;: True or False,
9982 &quot;doubleArray&quot;: {
9983 &quot;doubleValues&quot;: [
9984 3.14,
9985 ],
9986 },
9987 &quot;doubleValue&quot;: 3.14,
9988 &quot;intArray&quot;: {
9989 &quot;intValues&quot;: [
9990 &quot;A String&quot;,
9991 ],
9992 },
9993 &quot;intValue&quot;: &quot;A String&quot;,
9994 &quot;jsonValue&quot;: &quot;A String&quot;,
9995 &quot;protoArray&quot;: {
9996 &quot;protoValues&quot;: [
9997 {
9998 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
9999 },
10000 ],
10001 },
10002 &quot;protoValue&quot;: {
10003 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
10004 },
10005 &quot;serializedObjectValue&quot;: {
10006 &quot;objectValue&quot;: &quot;A String&quot;,
10007 },
10008 &quot;stringArray&quot;: {
10009 &quot;stringValues&quot;: [
10010 &quot;A String&quot;,
10011 ],
10012 },
10013 &quot;stringValue&quot;: &quot;A String&quot;,
10014 },
10015 &quot;description&quot;: &quot;A String&quot;, # Optional. The description about the parameter
10016 &quot;inOutType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
10017 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
10018 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
10019 &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.
10020 &quot;name&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;.
10021 &quot;producedBy&quot;: { # Represents a node identifier (type + id). Next highest id: 3 # 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.
10022 &quot;elementIdentifier&quot;: &quot;A String&quot;, # Configuration of the edge.
10023 &quot;elementType&quot;: &quot;A String&quot;, # Destination node where the edge ends. It can only be a task config.
10024 },
10025 &quot;producer&quot;: &quot;A String&quot;,
10026 &quot;protoDefName&quot;: &quot;A String&quot;, # The name of the protobuf type if the parameter has a protobuf data type.
10027 &quot;protoDefPath&quot;: &quot;A String&quot;, # If the data type is of type proto or proto array, this field needs to be populated with the fully qualified proto name. This message, for example, would be &quot;enterprise.crm.frontends.eventbus.proto.WorkflowParameterEntry&quot;.
10028 &quot;required&quot;: True or False,
10029 },
10030 ],
10031 },
10032 &quot;lastModifierEmail&quot;: &quot;A String&quot;, # Optional. The last modifier&#x27;s email address. Generated based on the End User Credentials/LOAS role of the user making the call.
10033 &quot;lockHolder&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.
10034 &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
10035 &quot;origin&quot;: &quot;A String&quot;, # Optional. The origin that indicates where this integration is coming from.
10036 &quot;parentTemplateId&quot;: &quot;A String&quot;, # Optional. The id of the template which was used to create this integration_version.
10037 &quot;runAsServiceAccount&quot;: &quot;A String&quot;, # Optional. The run-as service account email, if set and auth config is not configured, that will be used to generate auth token to be used in Connector task, Rest caller task and Cloud function task.
10038 &quot;snapshotNumber&quot;: &quot;A String&quot;, # Output only. An increasing sequence that is set when a new snapshot is created. The last created snapshot can be identified by [workflow_name, org_id latest(snapshot_number)]. However, last created snapshot need not be same as the HEAD. So users should always use &quot;HEAD&quot; tag to identify the head.
10039 &quot;state&quot;: &quot;A String&quot;, # Output only. User should not set it as an input.
10040 &quot;status&quot;: &quot;A String&quot;, # Output only. Generated by eventbus. User should not set it as an input.
10041 &quot;taskConfigs&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
10042 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
10043 &quot;conditionalFailurePolicies&quot;: { # Conditional task failur retry strategies # Optional. The list of conditional failure policies that will be applied to the task in order.
10044 &quot;defaultFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # The default failure policy to be applied if no conditional failure policy matches.
10045 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
10046 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
10047 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
10048 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
10049 },
10050 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
10051 { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
10052 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
10053 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
10054 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
10055 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
10056 },
10057 ],
10058 },
10059 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
10060 &quot;displayName&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to this TaskConfig in the UI.
10061 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
10062 &quot;externalTaskType&quot;: &quot;A String&quot;, # Optional. External task type of the task
10063 &quot;failurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
10064 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
10065 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
10066 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
10067 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
10068 },
10069 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # Optional. If set, overrides the option configured in the Task implementation class.
10070 &quot;nextTasks&quot;: [ # Optional. The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
10071 { # The task that is next in line to be executed, if the condition specified evaluated to true.
10072 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
10073 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
10074 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
10075 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
10076 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
10077 },
10078 ],
10079 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution of the next set of tasks for the current task.
10080 &quot;parameters&quot;: { # Optional. The customized parameters the user can pass to this task.
10081 &quot;a_key&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
10082 &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.
10083 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
10084 &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.
10085 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
10086 &quot;booleanValues&quot;: [ # Boolean array.
10087 True or False,
10088 ],
10089 },
10090 &quot;booleanValue&quot;: True or False, # Boolean.
10091 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
10092 &quot;doubleValues&quot;: [ # Double number array.
10093 3.14,
10094 ],
10095 },
10096 &quot;doubleValue&quot;: 3.14, # Double Number.
10097 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
10098 &quot;intValues&quot;: [ # Integer array.
10099 &quot;A String&quot;,
10100 ],
10101 },
10102 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
10103 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
10104 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
10105 &quot;stringValues&quot;: [ # String array.
10106 &quot;A String&quot;,
10107 ],
10108 },
10109 &quot;stringValue&quot;: &quot;A String&quot;, # String.
10110 },
10111 },
10112 },
10113 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
10114 &quot;x&quot;: 42, # Required. X axis of the coordinate
10115 &quot;y&quot;: 42, # Required. Y axis of the coordinate
10116 },
10117 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Optional. Determines what action to take upon successful task completion.
10118 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
10119 },
10120 &quot;synchronousCallFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
10121 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
10122 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
10123 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
10124 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
10125 },
10126 &quot;task&quot;: &quot;A String&quot;, # Optional. The name for the task.
10127 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution strategy of this task.
10128 &quot;taskId&quot;: &quot;A String&quot;, # Required. The identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_id`).
10129 &quot;taskTemplate&quot;: &quot;A String&quot;, # Optional. Used to define task-template name if task is of type task-template
10130 },
10131 ],
10132 &quot;taskConfigsInternal&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
10133 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
10134 &quot;alertConfigs&quot;: [ # Alert configurations on error rate, warning rate, number of runs, durations, etc.
10135 { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event.
10136 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week).
10137 &quot;alertDisabled&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.
10138 &quot;alertName&quot;: &quot;A String&quot;, # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique in within the scope of the containing workflow.
10139 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration. Must be a client enabled in one of the containing workflow&#x27;s triggers.
10140 &quot;durationThresholdMs&quot;: &quot;A String&quot;, # Should be specified only for TASK_AVERAGE_DURATION and TASK_PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
10141 &quot;errorEnumList&quot;: { # List of error enums for alerts.
10142 &quot;enumStrings&quot;: [
10143 &quot;A String&quot;,
10144 ],
10145 &quot;filterType&quot;: &quot;A String&quot;,
10146 },
10147 &quot;metricType&quot;: &quot;A String&quot;,
10148 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
10149 &quot;onlyFinalAttempt&quot;: True or False, # Only count final task attempts, not retries.
10150 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
10151 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
10152 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
10153 &quot;absolute&quot;: &quot;A String&quot;,
10154 &quot;percentage&quot;: 42,
10155 },
10156 &quot;warningEnumList&quot;: { # List of error enums for alerts.
10157 &quot;enumStrings&quot;: [
10158 &quot;A String&quot;,
10159 ],
10160 &quot;filterType&quot;: &quot;A String&quot;,
10161 },
10162 },
10163 ],
10164 &quot;conditionalFailurePolicies&quot;: { # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
10165 &quot;defaultFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # The default failure policy to be applied if no conditional failure policy matches
10166 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
10167 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
10168 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
10169 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
10170 },
10171 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
10172 { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
10173 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
10174 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
10175 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
10176 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
10177 },
10178 ],
10179 },
10180 &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
10181 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address. Auto-generated from the user&#x27;s email.
10182 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
10183 &quot;disableStrictTypeValidation&quot;: True or False, # If this config contains a TypedTask, allow validation to succeed if an input is read from the output of another TypedTask whose output type is declared as a superclass of the requested input type. For instance, if the previous task declares an output of type Message, any task with this flag enabled will pass validation when attempting to read any proto Message type from the resultant Event parameter.
10184 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
10185 &quot;externalTaskType&quot;: &quot;A String&quot;,
10186 &quot;failurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
10187 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
10188 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
10189 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
10190 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
10191 },
10192 &quot;incomingEdgeCount&quot;: 42, # The number of edges leading into this TaskConfig.
10193 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # If set, overrides the option configured in the Task implementation class.
10194 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this TaskConfig in the UI.
10195 &quot;lastModifiedTime&quot;: &quot;A String&quot;, # Auto-generated.
10196 &quot;nextTasks&quot;: [ # The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
10197 { # The task that is next in line to be executed, if the condition specified evaluated to true.
10198 &quot;combinedConditions&quot;: [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
10199 { # This message recursively combines constituent conditions using logical AND.
10200 &quot;conditions&quot;: [ # A set of individual constituent conditions.
10201 { # Condition that uses `operator` to evaluate the key against the value.
10202 &quot;eventPropertyKey&quot;: &quot;A String&quot;, # Key that&#x27;s evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.
10203 &quot;operator&quot;: &quot;A String&quot;, # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
10204 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that&#x27;s checked for the key.
10205 &quot;booleanValue&quot;: True or False,
10206 &quot;doubleArray&quot;: {
10207 &quot;values&quot;: [
10208 3.14,
10209 ],
10210 },
10211 &quot;doubleValue&quot;: 3.14,
10212 &quot;intArray&quot;: {
10213 &quot;values&quot;: [
10214 &quot;A String&quot;,
10215 ],
10216 },
10217 &quot;intValue&quot;: &quot;A String&quot;,
10218 &quot;protoValue&quot;: {
10219 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
10220 },
10221 &quot;stringArray&quot;: {
10222 &quot;values&quot;: [
10223 &quot;A String&quot;,
10224 ],
10225 },
10226 &quot;stringValue&quot;: &quot;A String&quot;,
10227 },
10228 },
10229 ],
10230 },
10231 ],
10232 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
10233 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
10234 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
10235 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
10236 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
10237 },
10238 ],
10239 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # The policy dictating the execution of the next set of tasks for the current task.
10240 &quot;parameters&quot;: { # The customized parameters the user can pass to this task.
10241 &quot;a_key&quot;: { # Key-value pair of EventBus parameters.
10242 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
10243 &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.
10244 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
10245 &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.
10246 &quot;booleanArray&quot;: {
10247 &quot;booleanValues&quot;: [
10248 True or False,
10249 ],
10250 },
10251 &quot;booleanValue&quot;: True or False,
10252 &quot;doubleArray&quot;: {
10253 &quot;doubleValues&quot;: [
10254 3.14,
10255 ],
10256 },
10257 &quot;doubleValue&quot;: 3.14,
10258 &quot;intArray&quot;: {
10259 &quot;intValues&quot;: [
10260 &quot;A String&quot;,
10261 ],
10262 },
10263 &quot;intValue&quot;: &quot;A String&quot;,
10264 &quot;jsonValue&quot;: &quot;A String&quot;,
10265 &quot;protoArray&quot;: {
10266 &quot;protoValues&quot;: [
10267 {
10268 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
10269 },
10270 ],
10271 },
10272 &quot;protoValue&quot;: {
10273 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
10274 },
10275 &quot;serializedObjectValue&quot;: {
10276 &quot;objectValue&quot;: &quot;A String&quot;,
10277 },
10278 &quot;stringArray&quot;: {
10279 &quot;stringValues&quot;: [
10280 &quot;A String&quot;,
10281 ],
10282 },
10283 &quot;stringValue&quot;: &quot;A String&quot;,
10284 },
10285 },
10286 },
10287 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this task config on the UI.
10288 &quot;x&quot;: 42,
10289 &quot;y&quot;: 42,
10290 },
10291 &quot;precondition&quot;: &quot;A String&quot;, # Optional. Standard filter expression evaluated before execution. Independent of other conditions and tasks. Can be used to enable rollout. e.g. &quot;rollout(5)&quot; will only allow 5% of incoming traffic to task.
10292 &quot;preconditionLabel&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to precondition in the UI.
10293 &quot;rollbackStrategy&quot;: { # Next available id: 4 # Optional. Contains information about what needs to be done upon failure (either a permanent error or after it has been retried too many times).
10294 &quot;parameters&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 # Optional. The customized parameters the user can pass to this task.
10295 &quot;parameters&quot;: [ # Parameters are a part of Event and can be used to communicate between different tasks that are part of the same workflow execution.
10296 { # Key-value pair of EventBus parameters.
10297 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
10298 &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.
10299 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
10300 &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.
10301 &quot;booleanArray&quot;: {
10302 &quot;booleanValues&quot;: [
10303 True or False,
10304 ],
10305 },
10306 &quot;booleanValue&quot;: True or False,
10307 &quot;doubleArray&quot;: {
10308 &quot;doubleValues&quot;: [
10309 3.14,
10310 ],
10311 },
10312 &quot;doubleValue&quot;: 3.14,
10313 &quot;intArray&quot;: {
10314 &quot;intValues&quot;: [
10315 &quot;A String&quot;,
10316 ],
10317 },
10318 &quot;intValue&quot;: &quot;A String&quot;,
10319 &quot;jsonValue&quot;: &quot;A String&quot;,
10320 &quot;protoArray&quot;: {
10321 &quot;protoValues&quot;: [
10322 {
10323 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
10324 },
10325 ],
10326 },
10327 &quot;protoValue&quot;: {
10328 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
10329 },
10330 &quot;serializedObjectValue&quot;: {
10331 &quot;objectValue&quot;: &quot;A String&quot;,
10332 },
10333 &quot;stringArray&quot;: {
10334 &quot;stringValues&quot;: [
10335 &quot;A String&quot;,
10336 ],
10337 },
10338 &quot;stringValue&quot;: &quot;A String&quot;,
10339 },
10340 },
10341 ],
10342 },
10343 &quot;rollbackTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. This is the name of the task that needs to be executed upon rollback of this task.
10344 &quot;taskNumbersToRollback&quot;: [ # Required. These are the tasks numbers of the tasks whose `rollback_strategy.rollback_task_implementation_class_name` needs to be executed upon failure of this task.
10345 &quot;A String&quot;,
10346 ],
10347 },
10348 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Determines what action to take upon successful task completion.
10349 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
10350 },
10351 &quot;synchronousCallFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
10352 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
10353 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
10354 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
10355 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
10356 },
10357 &quot;taskEntity&quot;: { # Contains a task&#x27;s metadata and associated information. Next available id: 7 # Copy of the task entity that this task config is an instance of.
10358 &quot;disabledForVpcSc&quot;: True or False, # True if the task has conflict with vpcsc
10359 &quot;metadata&quot;: { # TaskMetadata are attributes that are associated to every common Task we have. # Metadata inclueds the task name, author and so on.
10360 &quot;activeTaskName&quot;: &quot;A String&quot;, # The new task name to replace the current task if it is deprecated. Otherwise, it is the same as the current task name.
10361 &quot;admins&quot;: [
10362 { # Admins are owners of a Task, and have all permissions on a particular task identified by the task name. By default, Eventbus periodically scans all task metadata and syncs (adds) any new admins defined here to Zanzibar.
10363 &quot;googleGroupEmail&quot;: &quot;A String&quot;,
10364 &quot;userEmail&quot;: &quot;A String&quot;,
10365 },
10366 ],
10367 &quot;category&quot;: &quot;A String&quot;,
10368 &quot;codeSearchLink&quot;: &quot;A String&quot;, # The Code Search link to the Task Java file.
10369 &quot;defaultJsonValidationOption&quot;: &quot;A String&quot;, # Controls whether JSON workflow parameters are validated against provided schemas before and/or after this task&#x27;s execution.
10370 &quot;defaultSpec&quot;: &quot;A String&quot;, # Contains the initial configuration of the task with default values set. For now, The string should be compatible to an ASCII-proto format.
10371 &quot;description&quot;: &quot;A String&quot;, # In a few sentences, describe the purpose and usage of the task.
10372 &quot;descriptiveName&quot;: &quot;A String&quot;, # The string name to show on the task list on the Workflow editor screen. This should be a very short, one to two words name for the task. (e.g. &quot;Send Mail&quot;)
10373 &quot;docMarkdown&quot;: &quot;A String&quot;, # Snippet of markdown documentation to embed in the RHP for this task.
10374 &quot;externalCategory&quot;: &quot;A String&quot;,
10375 &quot;externalCategorySequence&quot;: 42, # Sequence with which the task in specific category to be displayed in task discovery panel for external users.
10376 &quot;externalDocHtml&quot;: &quot;A String&quot;, # External-facing documention embedded in the RHP for this task.
10377 &quot;externalDocLink&quot;: &quot;A String&quot;, # Doc link for external-facing documentation (separate from g3doc).
10378 &quot;externalDocMarkdown&quot;: &quot;A String&quot;, # DEPRECATED: Use external_doc_html.
10379 &quot;g3DocLink&quot;: &quot;A String&quot;, # URL to the associated G3 Doc for the task if available
10380 &quot;iconLink&quot;: &quot;A String&quot;, # URL to gstatic image icon for this task. This icon shows up on the task list panel along with the task name in the Workflow Editor screen. Use the 24p, 2x, gray color icon image format.
10381 &quot;isDeprecated&quot;: True or False, # The deprecation status of the current task. Default value is false;
10382 &quot;name&quot;: &quot;A String&quot;, # The actual class name or the annotated name of the task. Task Author should initialize this field with value from the getName() method of the Task class.
10383 &quot;standaloneExternalDocHtml&quot;: &quot;A String&quot;, # External-facing documention for standalone IP in pantheon embedded in the RHP for this task. Non null only if different from external_doc_html
10384 &quot;status&quot;: &quot;A String&quot;, # Allows author to indicate if the task is ready to use or not. If not set, then it will default to INACTIVE.
10385 &quot;system&quot;: &quot;A String&quot;,
10386 &quot;tags&quot;: [ # A set of tags that pertain to a particular task. This can be used to improve the searchability of tasks with several names (&quot;REST Caller&quot; vs. &quot;Call REST Endpoint&quot;) or to help users find tasks based on related words.
10387 &quot;A String&quot;,
10388 ],
10389 },
10390 &quot;paramSpecs&quot;: { # Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask.
10391 &quot;parameters&quot;: [
10392 { # Key-value pair of EventBus task parameters. Next id: 13
10393 &quot;className&quot;: &quot;A String&quot;, # The FQCN of the Java object this represents. A string, for example, would be &quot;java.lang.String&quot;. If this is &quot;java.lang.Object&quot;, the parameter can be of any type.
10394 &quot;collectionElementClassName&quot;: &quot;A String&quot;, # If it is a collection of objects, this would be the FCQN of every individual element in the collection. If this is &quot;java.lang.Object&quot;, the parameter is a collection of any type.
10395 &quot;config&quot;: { # Optional fields, such as help text and other useful info.
10396 &quot;descriptivePhrase&quot;: &quot;A String&quot;, # A short phrase to describe what this parameter contains.
10397 &quot;helpText&quot;: &quot;A String&quot;, # Detailed help text for this parameter containing information not provided elsewhere. For example, instructions on how to migrate from a deprecated parameter.
10398 &quot;hideDefaultValue&quot;: True or False, # Whether the default value is hidden in the UI.
10399 &quot;inputDisplayOption&quot;: &quot;A String&quot;,
10400 &quot;isHidden&quot;: True or False, # Whether this field is hidden in the UI.
10401 &quot;label&quot;: &quot;A String&quot;, # A user-friendly label for the parameter.
10402 &quot;parameterNameOption&quot;: &quot;A String&quot;,
10403 &quot;subSectionLabel&quot;: &quot;A String&quot;, # A user-friendly label for subSection under which the parameter will be displayed.
10404 &quot;uiPlaceholderText&quot;: &quot;A String&quot;, # Placeholder text which will appear in the UI input form for this parameter.
10405 },
10406 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
10407 &quot;defaultValue&quot;: { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
10408 &quot;booleanArray&quot;: {
10409 &quot;booleanValues&quot;: [
10410 True or False,
10411 ],
10412 },
10413 &quot;booleanValue&quot;: True or False,
10414 &quot;doubleArray&quot;: {
10415 &quot;doubleValues&quot;: [
10416 3.14,
10417 ],
10418 },
10419 &quot;doubleValue&quot;: 3.14,
10420 &quot;intArray&quot;: {
10421 &quot;intValues&quot;: [
10422 &quot;A String&quot;,
10423 ],
10424 },
10425 &quot;intValue&quot;: &quot;A String&quot;,
10426 &quot;jsonValue&quot;: &quot;A String&quot;,
10427 &quot;protoArray&quot;: {
10428 &quot;protoValues&quot;: [
10429 {
10430 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
10431 },
10432 ],
10433 },
10434 &quot;protoValue&quot;: {
10435 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
10436 },
10437 &quot;serializedObjectValue&quot;: {
10438 &quot;objectValue&quot;: &quot;A String&quot;,
10439 },
10440 &quot;stringArray&quot;: {
10441 &quot;stringValues&quot;: [
10442 &quot;A String&quot;,
10443 ],
10444 },
10445 &quot;stringValue&quot;: &quot;A String&quot;,
10446 },
10447 &quot;isDeprecated&quot;: True or False, # If set, this entry is deprecated, so further use of this parameter should be prohibited.
10448 &quot;isOutput&quot;: True or False,
10449 &quot;jsonSchema&quot;: &quot;A String&quot;, # If the data_type is JSON_VALUE, then this will define its schema.
10450 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given task. These parameters must be predefined in the workflow definition.
10451 &quot;protoDef&quot;: { # Populated if this represents a proto or proto array.
10452 &quot;fullName&quot;: &quot;A String&quot;, # The fully-qualified proto name. This message, for example, would be &quot;enterprise.crm.eventbus.proto.ParamSpecEntry.ProtoDefinition&quot;.
10453 &quot;path&quot;: &quot;A String&quot;, # Path to the proto file that contains the message type&#x27;s definition.
10454 },
10455 &quot;required&quot;: True or False, # If set, the user must provide an input value for this parameter.
10456 &quot;validationRule&quot;: { # Rule used to validate inputs (individual values and collection elements) for this parameter.
10457 &quot;doubleRange&quot;: { # Range used to validate doubles and floats.
10458 &quot;max&quot;: 3.14, # The inclusive maximum of the acceptable range.
10459 &quot;min&quot;: 3.14, # The inclusive minimum of the acceptable range.
10460 },
10461 &quot;intRange&quot;: { # Range used to validate longs and ints.
10462 &quot;max&quot;: &quot;A String&quot;, # The inclusive maximum of the acceptable range.
10463 &quot;min&quot;: &quot;A String&quot;, # The inclusive minimum of the acceptable range.
10464 },
10465 &quot;stringRegex&quot;: { # Rule used to validate strings.
10466 &quot;exclusive&quot;: True or False, # Whether the regex matcher is applied exclusively (if true, matching values will be rejected).
10467 &quot;regex&quot;: &quot;A String&quot;, # The regex applied to the input value(s).
10468 },
10469 },
10470 },
10471 ],
10472 },
10473 &quot;stats&quot;: { # Stats for the requested dimensions: QPS, duration, and error/warning rate # Deprecated - statistics from the Monarch query.
10474 &quot;dimensions&quot;: { # Dimensions that these stats have been aggregated on.
10475 &quot;clientId&quot;: &quot;A String&quot;,
10476 &quot;enumFilterType&quot;: &quot;A String&quot;, # Whether to include or exclude the enums matching the regex.
10477 &quot;errorEnumString&quot;: &quot;A String&quot;,
10478 &quot;retryAttempt&quot;: &quot;A String&quot;,
10479 &quot;taskName&quot;: &quot;A String&quot;,
10480 &quot;taskNumber&quot;: &quot;A String&quot;,
10481 &quot;triggerId&quot;: &quot;A String&quot;, # Stats have been or will be aggregated on set fields for any semantically-meaningful combination.
10482 &quot;warningEnumString&quot;: &quot;A String&quot;,
10483 &quot;workflowId&quot;: &quot;A String&quot;,
10484 &quot;workflowName&quot;: &quot;A String&quot;,
10485 },
10486 &quot;durationInSeconds&quot;: 3.14, # Average duration in seconds.
10487 &quot;errorRate&quot;: 3.14, # Average error rate.
10488 &quot;qps&quot;: 3.14, # Queries per second.
10489 &quot;warningRate&quot;: 3.14, # Average warning rate.
10490 },
10491 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
10492 &quot;uiConfig&quot;: { # Task authors would use this type to configure the UI for a particular task by specifying what UI config modules should be included to compose the UI. Learn more about config module framework: # UI configuration for this task Also associated with the METADATA mask.
10493 &quot;taskUiModuleConfigs&quot;: [ # Configurations of included config modules.
10494 { # Task author would use this type to configure a config module.
10495 &quot;moduleId&quot;: &quot;A String&quot;, # ID of the config module.
10496 },
10497 ],
10498 },
10499 },
10500 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # The policy dictating the execution strategy of this task.
10501 &quot;taskName&quot;: &quot;A String&quot;, # The name for the task.
10502 &quot;taskNumber&quot;: &quot;A String&quot;, # REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`).
10503 &quot;taskSpec&quot;: &quot;A String&quot;, # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old &quot;parameters&quot; field.
10504 &quot;taskTemplateName&quot;: &quot;A String&quot;, # Used to define task-template name if task is of type task-template
10505 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
10506 },
10507 ],
10508 &quot;teardown&quot;: { # Optional. Contains a graph of tasks that will be executed before putting the event in a terminal state (SUCCEEDED/FAILED/FATAL), regardless of success or failure, similar to &quot;finally&quot; in code.
10509 &quot;teardownTaskConfigs&quot;: [ # Required.
10510 {
10511 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address.
10512 &quot;name&quot;: &quot;A String&quot;, # Required. Unique identifier of the teardown task within this Config. We use this field as the identifier to find next teardown tasks.
10513 &quot;nextTeardownTask&quot;: { # The teardown task that is next in line to be executed. We support only sequential execution of teardown tasks (i.e. no branching).
10514 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the next teardown task.
10515 },
10516 &quot;parameters&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 the user can pass to this task.
10517 &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.
10518 { # Key-value pair of EventBus parameters.
10519 &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.
10520 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
10521 &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.
10522 &quot;booleanArray&quot;: {
10523 &quot;booleanValues&quot;: [
10524 True or False,
10525 ],
10526 },
10527 &quot;booleanValue&quot;: True or False,
10528 &quot;doubleArray&quot;: {
10529 &quot;doubleValues&quot;: [
10530 3.14,
10531 ],
10532 },
10533 &quot;doubleValue&quot;: 3.14,
10534 &quot;intArray&quot;: {
10535 &quot;intValues&quot;: [
10536 &quot;A String&quot;,
10537 ],
10538 },
10539 &quot;intValue&quot;: &quot;A String&quot;,
10540 &quot;protoArray&quot;: {
10541 &quot;protoValues&quot;: [
10542 {
10543 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
10544 },
10545 ],
10546 },
10547 &quot;protoValue&quot;: {
10548 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
10549 },
10550 &quot;serializedObjectValue&quot;: {
10551 &quot;objectValue&quot;: &quot;A String&quot;,
10552 },
10553 &quot;stringArray&quot;: {
10554 &quot;stringValues&quot;: [
10555 &quot;A String&quot;,
10556 ],
10557 },
10558 &quot;stringValue&quot;: &quot;A String&quot;,
10559 },
10560 },
10561 ],
10562 },
10563 &quot;properties&quot;: { # LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus.
10564 &quot;properties&quot;: [ # An unordered list of property entries.
10565 { # Key-value pair of EventBus property.
10566 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding property value. This should be unique for a given fired event. The Tasks should be aware of the keys used while firing the events for them to be able to retrieve the values.
10567 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Values for the defined keys. Each value can either be string, int, double or any proto message.
10568 &quot;booleanValue&quot;: True or False,
10569 &quot;doubleArray&quot;: {
10570 &quot;values&quot;: [
10571 3.14,
10572 ],
10573 },
10574 &quot;doubleValue&quot;: 3.14,
10575 &quot;intArray&quot;: {
10576 &quot;values&quot;: [
10577 &quot;A String&quot;,
10578 ],
10579 },
10580 &quot;intValue&quot;: &quot;A String&quot;,
10581 &quot;protoValue&quot;: {
10582 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
10583 },
10584 &quot;stringArray&quot;: {
10585 &quot;values&quot;: [
10586 &quot;A String&quot;,
10587 ],
10588 },
10589 &quot;stringValue&quot;: &quot;A String&quot;,
10590 },
10591 },
10592 ],
10593 },
10594 &quot;teardownTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. Implementation class name.
10595 },
10596 ],
10597 },
10598 &quot;triggerConfigs&quot;: [ # Optional. Trigger configurations.
10599 { # Configuration detail of a trigger.
10600 &quot;alertConfig&quot;: [ # Optional. An alert threshold configuration for the [trigger + client + integration] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + integration] when published.
10601 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
10602 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
10603 &quot;alertThreshold&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
10604 &quot;disableAlert&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this integration alert.
10605 &quot;displayName&quot;: &quot;A String&quot;, # Name of the alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the integration.
10606 &quot;durationThreshold&quot;: &quot;A String&quot;, # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
10607 &quot;metricType&quot;: &quot;A String&quot;, # The type of metric.
10608 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
10609 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
10610 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
10611 &quot;absolute&quot;: &quot;A String&quot;, # Absolute value threshold.
10612 &quot;percentage&quot;: 42, # Percentage threshold.
10613 },
10614 },
10615 ],
10616 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration # Optional. Cloud Scheduler Trigger related metadata
10617 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
10618 &quot;errorMessage&quot;: &quot;A String&quot;, # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations
10619 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
10620 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
10621 },
10622 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
10623 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
10624 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
10625 &quot;names&quot;: [ # Optional. List of variable names.
10626 &quot;A String&quot;,
10627 ],
10628 },
10629 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular trigger.
10630 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. Dictates how next tasks will be executed.
10631 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
10632 &quot;names&quot;: [ # Optional. List of variable names.
10633 &quot;A String&quot;,
10634 ],
10635 },
10636 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
10637 &quot;x&quot;: 42, # Required. X axis of the coordinate
10638 &quot;y&quot;: 42, # Required. Y axis of the coordinate
10639 },
10640 &quot;properties&quot;: { # Optional. Configurable properties of the trigger, not to be confused with integration parameters. E.g. &quot;name&quot; is a property for API triggers and &quot;subscription&quot; is a property for Pub/sub triggers.
10641 &quot;a_key&quot;: &quot;A String&quot;,
10642 },
10643 &quot;startTasks&quot;: [ # Optional. Set of tasks numbers from where the integration execution is started by this trigger. If this is empty, then integration is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same integration execution graph).
10644 { # The task that is next in line to be executed, if the condition specified evaluated to true.
10645 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
10646 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
10647 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
10648 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
10649 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
10650 },
10651 ],
10652 &quot;trigger&quot;: &quot;A String&quot;, # Optional. Name of the trigger. Example: &quot;API Trigger&quot;, &quot;Cloud Pub Sub Trigger&quot; When set will be sent out to monitoring dashabord for tracking purpose.
10653 &quot;triggerId&quot;: &quot;A String&quot;, # Optional. Auto-generated trigger ID. The ID is based on the properties that you define in the trigger config. For example, for an API trigger, the trigger ID follows the format: api_trigger/TRIGGER_NAME Where trigger config has properties with value {&quot;Trigger name&quot;: TRIGGER_NAME}
10654 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the integration on UI.
10655 &quot;triggerType&quot;: &quot;A String&quot;, # Optional. Type of trigger
10656 },
10657 ],
10658 &quot;triggerConfigsInternal&quot;: [ # Optional. Trigger configurations.
10659 { # Configuration detail of a trigger. Next available id: 22
10660 &quot;alertConfig&quot;: [ # An alert threshold configuration for the [trigger + client + workflow] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + workflow] when published.
10661 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
10662 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
10663 &quot;alertDisabled&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.
10664 &quot;alertName&quot;: &quot;A String&quot;, # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the workflow.
10665 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration.
10666 &quot;durationThresholdMs&quot;: &quot;A String&quot;, # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
10667 &quot;errorEnumList&quot;: { # List of error enums for alerts.
10668 &quot;enumStrings&quot;: [
10669 &quot;A String&quot;,
10670 ],
10671 &quot;filterType&quot;: &quot;A String&quot;,
10672 },
10673 &quot;metricType&quot;: &quot;A String&quot;,
10674 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
10675 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
10676 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
10677 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
10678 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
10679 &quot;absolute&quot;: &quot;A String&quot;,
10680 &quot;percentage&quot;: 42,
10681 },
10682 &quot;warningEnumList&quot;: { # List of error enums for alerts.
10683 &quot;enumStrings&quot;: [
10684 &quot;A String&quot;,
10685 ],
10686 &quot;filterType&quot;: &quot;A String&quot;,
10687 },
10688 },
10689 ],
10690 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration
10691 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
10692 &quot;errorMessage&quot;: &quot;A String&quot;, # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations
10693 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
10694 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
10695 },
10696 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
10697 &quot;enabledClients&quot;: [ # Required. The list of client ids which are enabled to execute the workflow using this trigger. In other words, these clients have the workflow execution privledges for this trigger. For API trigger, the client id in the incoming request is validated against the list of enabled clients. For non-API triggers, one workflow execution is triggered on behalf of each enabled client.
10698 &quot;A String&quot;,
10699 ],
10700 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
10701 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
10702 &quot;names&quot;: [ # Optional. List of variable names.
10703 &quot;A String&quot;,
10704 ],
10705 },
10706 &quot;label&quot;: &quot;A String&quot;, # The user created label for a particular trigger.
10707 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Dictates how next tasks will be executed.
10708 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
10709 &quot;names&quot;: [ # Optional. List of variable names.
10710 &quot;A String&quot;,
10711 ],
10712 },
10713 &quot;pauseWorkflowExecutions&quot;: True or False, # Optional. If set to true, any upcoming requests for this trigger config will be paused and the executions will be resumed later when the flag is reset. The workflow to which this trigger config belongs has to be in ACTIVE status for the executions to be paused or resumed.
10714 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this trigger config on the UI.
10715 &quot;x&quot;: 42,
10716 &quot;y&quot;: 42,
10717 },
10718 &quot;properties&quot;: { # Configurable properties of the trigger, not to be confused with workflow parameters. E.g. &quot;name&quot; is a property for API triggers and &quot;subscription&quot; is a property for Cloud Pubsub triggers.
10719 &quot;a_key&quot;: &quot;A String&quot;,
10720 },
10721 &quot;startTasks&quot;: [ # Set of tasks numbers from where the workflow execution is started by this trigger. If this is empty, then workflow is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same workflow execution graph).
10722 { # The task that is next in line to be executed, if the condition specified evaluated to true.
10723 &quot;combinedConditions&quot;: [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
10724 { # This message recursively combines constituent conditions using logical AND.
10725 &quot;conditions&quot;: [ # A set of individual constituent conditions.
10726 { # Condition that uses `operator` to evaluate the key against the value.
10727 &quot;eventPropertyKey&quot;: &quot;A String&quot;, # Key that&#x27;s evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.
10728 &quot;operator&quot;: &quot;A String&quot;, # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
10729 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that&#x27;s checked for the key.
10730 &quot;booleanValue&quot;: True or False,
10731 &quot;doubleArray&quot;: {
10732 &quot;values&quot;: [
10733 3.14,
10734 ],
10735 },
10736 &quot;doubleValue&quot;: 3.14,
10737 &quot;intArray&quot;: {
10738 &quot;values&quot;: [
10739 &quot;A String&quot;,
10740 ],
10741 },
10742 &quot;intValue&quot;: &quot;A String&quot;,
10743 &quot;protoValue&quot;: {
10744 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
10745 },
10746 &quot;stringArray&quot;: {
10747 &quot;values&quot;: [
10748 &quot;A String&quot;,
10749 ],
10750 },
10751 &quot;stringValue&quot;: &quot;A String&quot;,
10752 },
10753 },
10754 ],
10755 },
10756 ],
10757 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
10758 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
10759 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
10760 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
10761 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
10762 },
10763 ],
10764 &quot;triggerCriteria&quot;: { # Optional. When set, Eventbus will run the task specified in the trigger_criteria and validate the result using the trigger_criteria.condition, and only execute the workflow when result is true.
10765 &quot;condition&quot;: &quot;A String&quot;, # Required. Standard filter expression, when true the workflow will be executed. If there&#x27;s no trigger_criteria_task_implementation_class_name specified, the condition will be validated directly.
10766 &quot;parameters&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 # Optional. To be used in TaskConfig for the implementation class.
10767 &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.
10768 { # Key-value pair of EventBus parameters.
10769 &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.
10770 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
10771 &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.
10772 &quot;booleanArray&quot;: {
10773 &quot;booleanValues&quot;: [
10774 True or False,
10775 ],
10776 },
10777 &quot;booleanValue&quot;: True or False,
10778 &quot;doubleArray&quot;: {
10779 &quot;doubleValues&quot;: [
10780 3.14,
10781 ],
10782 },
10783 &quot;doubleValue&quot;: 3.14,
10784 &quot;intArray&quot;: {
10785 &quot;intValues&quot;: [
10786 &quot;A String&quot;,
10787 ],
10788 },
10789 &quot;intValue&quot;: &quot;A String&quot;,
10790 &quot;protoArray&quot;: {
10791 &quot;protoValues&quot;: [
10792 {
10793 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
10794 },
10795 ],
10796 },
10797 &quot;protoValue&quot;: {
10798 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
10799 },
10800 &quot;serializedObjectValue&quot;: {
10801 &quot;objectValue&quot;: &quot;A String&quot;,
10802 },
10803 &quot;stringArray&quot;: {
10804 &quot;stringValues&quot;: [
10805 &quot;A String&quot;,
10806 ],
10807 },
10808 &quot;stringValue&quot;: &quot;A String&quot;,
10809 },
10810 },
10811 ],
10812 },
10813 &quot;triggerCriteriaTaskImplementationClassName&quot;: &quot;A String&quot;, # Optional. Implementation class name. The class should implement the “TypedTask” interface.
10814 },
10815 &quot;triggerId&quot;: &quot;A String&quot;, # The backend trigger ID.
10816 &quot;triggerName&quot;: &quot;A String&quot;, # Optional. Name of the trigger This is added to identify the type of trigger. This is avoid the logic on triggerId to identify the trigger_type and push the same to monitoring.
10817 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the workflow on UI.
10818 &quot;triggerType&quot;: &quot;A String&quot;,
10819 },
10820 ],
10821 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
10822 &quot;userLabel&quot;: &quot;A String&quot;, # Optional. A user-defined label that annotates an integration version. Typically, this is only set when the integration version is created.
10823 },
10824 &quot;key&quot;: &quot;A String&quot;, # Required. Unique Key of the IntegrationVersion.
10825 },
10826 ],
10827 },
10828 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated
10829 &quot;usageCount&quot;: &quot;A String&quot;, # Optional. Number of template usages.
10830 &quot;usageInfo&quot;: &quot;A String&quot;, # Optional. Information on how to use the template. This should contain detailed information about usage of the template.
10831 &quot;visibility&quot;: &quot;A String&quot;, # Required. Visibility of the template.
10832 },
10833 ],
10834 }</pre>
10835 </div>
10836
10837 <div class="method">
10838 <code class="details" id="list_next">list_next()</code>
10839 <pre>Retrieves the next page of results.
10840
10841 Args:
10842 previous_request: The request for the previous page. (required)
10843 previous_response: The response from the request for the previous page. (required)
10844
10845 Returns:
10846 A request object that you can call &#x27;execute()&#x27; on to request the next
10847 page. Returns None if there are no more items in the collection.
10848 </pre>
10849 </div>
10850
10851 <div class="method">
10852 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
10853 <pre>Updates the template by given id.
10854
10855 Args:
10856 name: string, Identifier. Resource name of the template. (required)
10857 body: object, The request body.
10858 The object takes the form of:
10859
10860 { # Defines the template for Application Integration
10861 &quot;author&quot;: &quot;A String&quot;, # Optional. Creator of the template.
10862 &quot;categories&quot;: [ # Required. Categories associated with the Template. The categories listed below will be utilized for the Template listing.
10863 &quot;A String&quot;,
10864 ],
10865 &quot;components&quot;: [ # Optional. Components being used in the template. This could be used to categorize and filter.
10866 { # Define the components that are present in a template.
10867 &quot;name&quot;: &quot;A String&quot;, # Optional. Name of the component.
10868 &quot;type&quot;: &quot;A String&quot;, # Optional. Type of the component.
10869 },
10870 ],
10871 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
10872 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the template. The length should not be more than 255 characters
10873 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of the template
10874 &quot;docLink&quot;: &quot;A String&quot;, # Optional. Link to template documentation.
10875 &quot;lastUsedTime&quot;: &quot;A String&quot;, # Optional. Time the template was last used.
10876 &quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the template.
10877 &quot;sharedWith&quot;: [ # Required. Resource names with which the template is shared for example ProjectNumber/Ord id
10878 &quot;A String&quot;,
10879 ],
10880 &quot;tags&quot;: [ # Required. Tags which are used to identify templates. These tags could be for business use case, connectors etc.
10881 &quot;A String&quot;,
10882 ],
10883 &quot;templateBundle&quot;: { # Define the bundle of the template. # Required. Bundle which is part of the templates. The template entities in the bundle would be converted to an actual entity.
10884 &quot;integrationVersionTemplate&quot;: { # Define the template of IntegrationVersion. # Required. Main integration templates of the template bundle.
10885 &quot;integrationVersion&quot;: { # The integration version definition. # Required. Templatized version of integration.
10886 &quot;cloudKmsKey&quot;: &quot;A String&quot;, # Optional. Cloud KMS resource name for the CMEK encryption key.
10887 &quot;cloudLoggingDetails&quot;: { # Cloud Logging details for execution info # Optional. Cloud Logging details for the integration version
10888 &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.
10889 &quot;enableCloudLogging&quot;: True or False, # Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.
10890 },
10891 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
10892 &quot;createdFromTemplate&quot;: &quot;A String&quot;, # Optional. Optional. The resource name of the template from which the integration is created.
10893 &quot;databasePersistencePolicy&quot;: &quot;A String&quot;, # Optional. Flag to disable database persistence for execution data, including event execution info, execution export info, execution metadata index and execution param index.
10894 &quot;description&quot;: &quot;A String&quot;, # Optional. The integration description.
10895 &quot;enableVariableMasking&quot;: True or False, # Optional. True if variable masking feature should be turned on for this version
10896 &quot;errorCatcherConfigs&quot;: [ # Optional. Error Catch Task configuration for the integration. It&#x27;s optional.
10897 { # Configuration detail of a error catch task
10898 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give more business context about the error catcher config.
10899 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Required. An error catcher id is string representation for the error catcher config. Within a workflow, error_catcher_id uniquely identifies an error catcher config among all error catcher configs for the workflow
10900 &quot;errorCatcherNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each error catcher config within the workflow on UI.
10901 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular error catcher. Optional.
10902 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
10903 &quot;x&quot;: 42, # Required. X axis of the coordinate
10904 &quot;y&quot;: 42, # Required. Y axis of the coordinate
10905 },
10906 &quot;startErrorTasks&quot;: [ # Required. The set of start tasks that are to be executed for the error catch flow
10907 { # The task that is next in line to be executed, if the condition specified evaluated to true.
10908 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
10909 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
10910 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
10911 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
10912 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
10913 },
10914 ],
10915 },
10916 ],
10917 &quot;integrationConfigParameters&quot;: [ # Optional. Config Parameters that are expected to be passed to the integration when an integration is published. This consists of all the parameters that are expected to provide configuration in the integration execution. This gives the user the ability to provide default values, value, add information like connection url, project based configuration value and also provide data types of each parameter.
10918 { # Integration Config Parameter is defined in the integration config and are used to provide external configuration for integration. It provide information about data types of the expected parameters and provide any default values or value. They can also be used to add custom attributes.
10919 &quot;parameter&quot;: { # 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. # Optional. Integration Parameter to provide the default value, data type and attributes required for the Integration config variables.
10920 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
10921 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
10922 &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.
10923 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
10924 &quot;booleanValues&quot;: [ # Boolean array.
10925 True or False,
10926 ],
10927 },
10928 &quot;booleanValue&quot;: True or False, # Boolean.
10929 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
10930 &quot;doubleValues&quot;: [ # Double number array.
10931 3.14,
10932 ],
10933 },
10934 &quot;doubleValue&quot;: 3.14, # Double Number.
10935 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
10936 &quot;intValues&quot;: [ # Integer array.
10937 &quot;A String&quot;,
10938 ],
10939 },
10940 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
10941 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
10942 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
10943 &quot;stringValues&quot;: [ # String array.
10944 &quot;A String&quot;,
10945 ],
10946 },
10947 &quot;stringValue&quot;: &quot;A String&quot;, # String.
10948 },
10949 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
10950 &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;.
10951 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
10952 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
10953 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
10954 &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.
10955 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
10956 &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.
10957 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
10958 },
10959 &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 or a serialized object.
10960 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
10961 &quot;booleanValues&quot;: [ # Boolean array.
10962 True or False,
10963 ],
10964 },
10965 &quot;booleanValue&quot;: True or False, # Boolean.
10966 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
10967 &quot;doubleValues&quot;: [ # Double number array.
10968 3.14,
10969 ],
10970 },
10971 &quot;doubleValue&quot;: 3.14, # Double Number.
10972 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
10973 &quot;intValues&quot;: [ # Integer array.
10974 &quot;A String&quot;,
10975 ],
10976 },
10977 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
10978 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
10979 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
10980 &quot;stringValues&quot;: [ # String array.
10981 &quot;A String&quot;,
10982 ],
10983 },
10984 &quot;stringValue&quot;: &quot;A String&quot;, # String.
10985 },
10986 },
10987 ],
10988 &quot;integrationParameters&quot;: [ # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
10989 { # 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.
10990 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
10991 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
10992 &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.
10993 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
10994 &quot;booleanValues&quot;: [ # Boolean array.
10995 True or False,
10996 ],
10997 },
10998 &quot;booleanValue&quot;: True or False, # Boolean.
10999 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
11000 &quot;doubleValues&quot;: [ # Double number array.
11001 3.14,
11002 ],
11003 },
11004 &quot;doubleValue&quot;: 3.14, # Double Number.
11005 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
11006 &quot;intValues&quot;: [ # Integer array.
11007 &quot;A String&quot;,
11008 ],
11009 },
11010 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
11011 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
11012 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
11013 &quot;stringValues&quot;: [ # String array.
11014 &quot;A String&quot;,
11015 ],
11016 },
11017 &quot;stringValue&quot;: &quot;A String&quot;, # String.
11018 },
11019 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
11020 &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;.
11021 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
11022 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
11023 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
11024 &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.
11025 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
11026 &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.
11027 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
11028 },
11029 ],
11030 &quot;integrationParametersInternal&quot;: { # LINT.IfChange This is the frontend version of WorkflowParameters. It&#x27;s exactly like the backend version except that instead of flattening protobuf parameters and treating every field and subfield of a protobuf parameter as a separate parameter, the fields/subfields of a protobuf parameter will be nested as &quot;children&quot; (see &#x27;children&#x27; field below) parameters of the parent parameter. Please refer to enterprise/crm/eventbus/proto/workflow_parameters.proto for more information about WorkflowParameters. # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
11031 &quot;parameters&quot;: [ # Parameters are a part of Event and can be used to communiticate between different tasks that are part of the same workflow execution.
11032 {
11033 &quot;attributes&quot;: { # Attributes are additional options that can be associated with each event property. For more information, see # Metadata information about the parameters.
11034 &quot;dataType&quot;: &quot;A String&quot;, # Things like URL, Email, Currency, Timestamp (rather than string, int64...)
11035 &quot;defaultValue&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Used to define defaults.
11036 &quot;booleanValue&quot;: True or False,
11037 &quot;doubleArray&quot;: {
11038 &quot;values&quot;: [
11039 3.14,
11040 ],
11041 },
11042 &quot;doubleValue&quot;: 3.14,
11043 &quot;intArray&quot;: {
11044 &quot;values&quot;: [
11045 &quot;A String&quot;,
11046 ],
11047 },
11048 &quot;intValue&quot;: &quot;A String&quot;,
11049 &quot;protoValue&quot;: {
11050 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
11051 },
11052 &quot;stringArray&quot;: {
11053 &quot;values&quot;: [
11054 &quot;A String&quot;,
11055 ],
11056 },
11057 &quot;stringValue&quot;: &quot;A String&quot;,
11058 },
11059 &quot;isRequired&quot;: True or False, # Required for event execution. The validation will be done by the event bus when the event is triggered.
11060 &quot;isSearchable&quot;: True or False, # Used to indicate if a ParameterEntry should be converted to ParamIndexes for ST-Spanner full-text search. DEPRECATED: use searchable.
11061 &quot;logSettings&quot;: { # The LogSettings define the logging attributes for an event property. These attributes are used to map the property to the parameter in the log proto. Also used to define scrubbing/truncation behavior and PII information. # See
11062 &quot;logFieldName&quot;: &quot;A String&quot;, # The name of corresponding logging field of the event property. If omitted, assumes the same name as the event property key.
11063 &quot;seedPeriod&quot;: &quot;A String&quot;,
11064 &quot;seedScope&quot;: &quot;A String&quot;,
11065 },
11066 &quot;masked&quot;: True or False, # True if this workflow parameter should be masked in the logs
11067 &quot;readOnly&quot;: True or False, # Used to indicate if the ParameterEntry is a read only field or not.
11068 &quot;searchable&quot;: &quot;A String&quot;,
11069 &quot;taskVisibility&quot;: [ # List of tasks that can view this property, if empty then all.
11070 &quot;A String&quot;,
11071 ],
11072 },
11073 &quot;children&quot;: [ # Child parameters nested within this parameter. This field only applies to protobuf parameters
11074 # Object with schema name: EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
11075 ],
11076 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
11077 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
11078 &quot;defaultValue&quot;: { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
11079 &quot;booleanArray&quot;: {
11080 &quot;booleanValues&quot;: [
11081 True or False,
11082 ],
11083 },
11084 &quot;booleanValue&quot;: True or False,
11085 &quot;doubleArray&quot;: {
11086 &quot;doubleValues&quot;: [
11087 3.14,
11088 ],
11089 },
11090 &quot;doubleValue&quot;: 3.14,
11091 &quot;intArray&quot;: {
11092 &quot;intValues&quot;: [
11093 &quot;A String&quot;,
11094 ],
11095 },
11096 &quot;intValue&quot;: &quot;A String&quot;,
11097 &quot;jsonValue&quot;: &quot;A String&quot;,
11098 &quot;protoArray&quot;: {
11099 &quot;protoValues&quot;: [
11100 {
11101 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
11102 },
11103 ],
11104 },
11105 &quot;protoValue&quot;: {
11106 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
11107 },
11108 &quot;serializedObjectValue&quot;: {
11109 &quot;objectValue&quot;: &quot;A String&quot;,
11110 },
11111 &quot;stringArray&quot;: {
11112 &quot;stringValues&quot;: [
11113 &quot;A String&quot;,
11114 ],
11115 },
11116 &quot;stringValue&quot;: &quot;A String&quot;,
11117 },
11118 &quot;description&quot;: &quot;A String&quot;, # Optional. The description about the parameter
11119 &quot;inOutType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
11120 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
11121 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
11122 &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.
11123 &quot;name&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;.
11124 &quot;producedBy&quot;: { # Represents a node identifier (type + id). Next highest id: 3 # 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.
11125 &quot;elementIdentifier&quot;: &quot;A String&quot;, # Configuration of the edge.
11126 &quot;elementType&quot;: &quot;A String&quot;, # Destination node where the edge ends. It can only be a task config.
11127 },
11128 &quot;producer&quot;: &quot;A String&quot;,
11129 &quot;protoDefName&quot;: &quot;A String&quot;, # The name of the protobuf type if the parameter has a protobuf data type.
11130 &quot;protoDefPath&quot;: &quot;A String&quot;, # If the data type is of type proto or proto array, this field needs to be populated with the fully qualified proto name. This message, for example, would be &quot;enterprise.crm.frontends.eventbus.proto.WorkflowParameterEntry&quot;.
11131 &quot;required&quot;: True or False,
11132 },
11133 ],
11134 },
11135 &quot;lastModifierEmail&quot;: &quot;A String&quot;, # Optional. The last modifier&#x27;s email address. Generated based on the End User Credentials/LOAS role of the user making the call.
11136 &quot;lockHolder&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.
11137 &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
11138 &quot;origin&quot;: &quot;A String&quot;, # Optional. The origin that indicates where this integration is coming from.
11139 &quot;parentTemplateId&quot;: &quot;A String&quot;, # Optional. The id of the template which was used to create this integration_version.
11140 &quot;runAsServiceAccount&quot;: &quot;A String&quot;, # Optional. The run-as service account email, if set and auth config is not configured, that will be used to generate auth token to be used in Connector task, Rest caller task and Cloud function task.
11141 &quot;snapshotNumber&quot;: &quot;A String&quot;, # Output only. An increasing sequence that is set when a new snapshot is created. The last created snapshot can be identified by [workflow_name, org_id latest(snapshot_number)]. However, last created snapshot need not be same as the HEAD. So users should always use &quot;HEAD&quot; tag to identify the head.
11142 &quot;state&quot;: &quot;A String&quot;, # Output only. User should not set it as an input.
11143 &quot;status&quot;: &quot;A String&quot;, # Output only. Generated by eventbus. User should not set it as an input.
11144 &quot;taskConfigs&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
11145 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
11146 &quot;conditionalFailurePolicies&quot;: { # Conditional task failur retry strategies # Optional. The list of conditional failure policies that will be applied to the task in order.
11147 &quot;defaultFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # The default failure policy to be applied if no conditional failure policy matches.
11148 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
11149 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
11150 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
11151 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
11152 },
11153 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
11154 { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
11155 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
11156 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
11157 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
11158 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
11159 },
11160 ],
11161 },
11162 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
11163 &quot;displayName&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to this TaskConfig in the UI.
11164 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
11165 &quot;externalTaskType&quot;: &quot;A String&quot;, # Optional. External task type of the task
11166 &quot;failurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
11167 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
11168 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
11169 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
11170 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
11171 },
11172 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # Optional. If set, overrides the option configured in the Task implementation class.
11173 &quot;nextTasks&quot;: [ # Optional. The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
11174 { # The task that is next in line to be executed, if the condition specified evaluated to true.
11175 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
11176 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
11177 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
11178 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
11179 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
11180 },
11181 ],
11182 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution of the next set of tasks for the current task.
11183 &quot;parameters&quot;: { # Optional. The customized parameters the user can pass to this task.
11184 &quot;a_key&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
11185 &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.
11186 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
11187 &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.
11188 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
11189 &quot;booleanValues&quot;: [ # Boolean array.
11190 True or False,
11191 ],
11192 },
11193 &quot;booleanValue&quot;: True or False, # Boolean.
11194 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
11195 &quot;doubleValues&quot;: [ # Double number array.
11196 3.14,
11197 ],
11198 },
11199 &quot;doubleValue&quot;: 3.14, # Double Number.
11200 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
11201 &quot;intValues&quot;: [ # Integer array.
11202 &quot;A String&quot;,
11203 ],
11204 },
11205 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
11206 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
11207 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
11208 &quot;stringValues&quot;: [ # String array.
11209 &quot;A String&quot;,
11210 ],
11211 },
11212 &quot;stringValue&quot;: &quot;A String&quot;, # String.
11213 },
11214 },
11215 },
11216 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
11217 &quot;x&quot;: 42, # Required. X axis of the coordinate
11218 &quot;y&quot;: 42, # Required. Y axis of the coordinate
11219 },
11220 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Optional. Determines what action to take upon successful task completion.
11221 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
11222 },
11223 &quot;synchronousCallFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
11224 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
11225 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
11226 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
11227 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
11228 },
11229 &quot;task&quot;: &quot;A String&quot;, # Optional. The name for the task.
11230 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution strategy of this task.
11231 &quot;taskId&quot;: &quot;A String&quot;, # Required. The identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_id`).
11232 &quot;taskTemplate&quot;: &quot;A String&quot;, # Optional. Used to define task-template name if task is of type task-template
11233 },
11234 ],
11235 &quot;taskConfigsInternal&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
11236 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
11237 &quot;alertConfigs&quot;: [ # Alert configurations on error rate, warning rate, number of runs, durations, etc.
11238 { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event.
11239 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week).
11240 &quot;alertDisabled&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.
11241 &quot;alertName&quot;: &quot;A String&quot;, # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique in within the scope of the containing workflow.
11242 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration. Must be a client enabled in one of the containing workflow&#x27;s triggers.
11243 &quot;durationThresholdMs&quot;: &quot;A String&quot;, # Should be specified only for TASK_AVERAGE_DURATION and TASK_PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
11244 &quot;errorEnumList&quot;: { # List of error enums for alerts.
11245 &quot;enumStrings&quot;: [
11246 &quot;A String&quot;,
11247 ],
11248 &quot;filterType&quot;: &quot;A String&quot;,
11249 },
11250 &quot;metricType&quot;: &quot;A String&quot;,
11251 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
11252 &quot;onlyFinalAttempt&quot;: True or False, # Only count final task attempts, not retries.
11253 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
11254 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
11255 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
11256 &quot;absolute&quot;: &quot;A String&quot;,
11257 &quot;percentage&quot;: 42,
11258 },
11259 &quot;warningEnumList&quot;: { # List of error enums for alerts.
11260 &quot;enumStrings&quot;: [
11261 &quot;A String&quot;,
11262 ],
11263 &quot;filterType&quot;: &quot;A String&quot;,
11264 },
11265 },
11266 ],
11267 &quot;conditionalFailurePolicies&quot;: { # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
11268 &quot;defaultFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # The default failure policy to be applied if no conditional failure policy matches
11269 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
11270 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
11271 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
11272 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
11273 },
11274 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
11275 { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
11276 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
11277 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
11278 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
11279 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
11280 },
11281 ],
11282 },
11283 &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
11284 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address. Auto-generated from the user&#x27;s email.
11285 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
11286 &quot;disableStrictTypeValidation&quot;: True or False, # If this config contains a TypedTask, allow validation to succeed if an input is read from the output of another TypedTask whose output type is declared as a superclass of the requested input type. For instance, if the previous task declares an output of type Message, any task with this flag enabled will pass validation when attempting to read any proto Message type from the resultant Event parameter.
11287 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
11288 &quot;externalTaskType&quot;: &quot;A String&quot;,
11289 &quot;failurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
11290 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
11291 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
11292 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
11293 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
11294 },
11295 &quot;incomingEdgeCount&quot;: 42, # The number of edges leading into this TaskConfig.
11296 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # If set, overrides the option configured in the Task implementation class.
11297 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this TaskConfig in the UI.
11298 &quot;lastModifiedTime&quot;: &quot;A String&quot;, # Auto-generated.
11299 &quot;nextTasks&quot;: [ # The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
11300 { # The task that is next in line to be executed, if the condition specified evaluated to true.
11301 &quot;combinedConditions&quot;: [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
11302 { # This message recursively combines constituent conditions using logical AND.
11303 &quot;conditions&quot;: [ # A set of individual constituent conditions.
11304 { # Condition that uses `operator` to evaluate the key against the value.
11305 &quot;eventPropertyKey&quot;: &quot;A String&quot;, # Key that&#x27;s evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.
11306 &quot;operator&quot;: &quot;A String&quot;, # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
11307 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that&#x27;s checked for the key.
11308 &quot;booleanValue&quot;: True or False,
11309 &quot;doubleArray&quot;: {
11310 &quot;values&quot;: [
11311 3.14,
11312 ],
11313 },
11314 &quot;doubleValue&quot;: 3.14,
11315 &quot;intArray&quot;: {
11316 &quot;values&quot;: [
11317 &quot;A String&quot;,
11318 ],
11319 },
11320 &quot;intValue&quot;: &quot;A String&quot;,
11321 &quot;protoValue&quot;: {
11322 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
11323 },
11324 &quot;stringArray&quot;: {
11325 &quot;values&quot;: [
11326 &quot;A String&quot;,
11327 ],
11328 },
11329 &quot;stringValue&quot;: &quot;A String&quot;,
11330 },
11331 },
11332 ],
11333 },
11334 ],
11335 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
11336 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
11337 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
11338 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
11339 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
11340 },
11341 ],
11342 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # The policy dictating the execution of the next set of tasks for the current task.
11343 &quot;parameters&quot;: { # The customized parameters the user can pass to this task.
11344 &quot;a_key&quot;: { # Key-value pair of EventBus parameters.
11345 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
11346 &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.
11347 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
11348 &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.
11349 &quot;booleanArray&quot;: {
11350 &quot;booleanValues&quot;: [
11351 True or False,
11352 ],
11353 },
11354 &quot;booleanValue&quot;: True or False,
11355 &quot;doubleArray&quot;: {
11356 &quot;doubleValues&quot;: [
11357 3.14,
11358 ],
11359 },
11360 &quot;doubleValue&quot;: 3.14,
11361 &quot;intArray&quot;: {
11362 &quot;intValues&quot;: [
11363 &quot;A String&quot;,
11364 ],
11365 },
11366 &quot;intValue&quot;: &quot;A String&quot;,
11367 &quot;jsonValue&quot;: &quot;A String&quot;,
11368 &quot;protoArray&quot;: {
11369 &quot;protoValues&quot;: [
11370 {
11371 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
11372 },
11373 ],
11374 },
11375 &quot;protoValue&quot;: {
11376 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
11377 },
11378 &quot;serializedObjectValue&quot;: {
11379 &quot;objectValue&quot;: &quot;A String&quot;,
11380 },
11381 &quot;stringArray&quot;: {
11382 &quot;stringValues&quot;: [
11383 &quot;A String&quot;,
11384 ],
11385 },
11386 &quot;stringValue&quot;: &quot;A String&quot;,
11387 },
11388 },
11389 },
11390 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this task config on the UI.
11391 &quot;x&quot;: 42,
11392 &quot;y&quot;: 42,
11393 },
11394 &quot;precondition&quot;: &quot;A String&quot;, # Optional. Standard filter expression evaluated before execution. Independent of other conditions and tasks. Can be used to enable rollout. e.g. &quot;rollout(5)&quot; will only allow 5% of incoming traffic to task.
11395 &quot;preconditionLabel&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to precondition in the UI.
11396 &quot;rollbackStrategy&quot;: { # Next available id: 4 # Optional. Contains information about what needs to be done upon failure (either a permanent error or after it has been retried too many times).
11397 &quot;parameters&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 # Optional. The customized parameters the user can pass to this task.
11398 &quot;parameters&quot;: [ # Parameters are a part of Event and can be used to communicate between different tasks that are part of the same workflow execution.
11399 { # Key-value pair of EventBus parameters.
11400 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
11401 &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.
11402 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
11403 &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.
11404 &quot;booleanArray&quot;: {
11405 &quot;booleanValues&quot;: [
11406 True or False,
11407 ],
11408 },
11409 &quot;booleanValue&quot;: True or False,
11410 &quot;doubleArray&quot;: {
11411 &quot;doubleValues&quot;: [
11412 3.14,
11413 ],
11414 },
11415 &quot;doubleValue&quot;: 3.14,
11416 &quot;intArray&quot;: {
11417 &quot;intValues&quot;: [
11418 &quot;A String&quot;,
11419 ],
11420 },
11421 &quot;intValue&quot;: &quot;A String&quot;,
11422 &quot;jsonValue&quot;: &quot;A String&quot;,
11423 &quot;protoArray&quot;: {
11424 &quot;protoValues&quot;: [
11425 {
11426 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
11427 },
11428 ],
11429 },
11430 &quot;protoValue&quot;: {
11431 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
11432 },
11433 &quot;serializedObjectValue&quot;: {
11434 &quot;objectValue&quot;: &quot;A String&quot;,
11435 },
11436 &quot;stringArray&quot;: {
11437 &quot;stringValues&quot;: [
11438 &quot;A String&quot;,
11439 ],
11440 },
11441 &quot;stringValue&quot;: &quot;A String&quot;,
11442 },
11443 },
11444 ],
11445 },
11446 &quot;rollbackTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. This is the name of the task that needs to be executed upon rollback of this task.
11447 &quot;taskNumbersToRollback&quot;: [ # Required. These are the tasks numbers of the tasks whose `rollback_strategy.rollback_task_implementation_class_name` needs to be executed upon failure of this task.
11448 &quot;A String&quot;,
11449 ],
11450 },
11451 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Determines what action to take upon successful task completion.
11452 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
11453 },
11454 &quot;synchronousCallFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
11455 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
11456 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
11457 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
11458 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
11459 },
11460 &quot;taskEntity&quot;: { # Contains a task&#x27;s metadata and associated information. Next available id: 7 # Copy of the task entity that this task config is an instance of.
11461 &quot;disabledForVpcSc&quot;: True or False, # True if the task has conflict with vpcsc
11462 &quot;metadata&quot;: { # TaskMetadata are attributes that are associated to every common Task we have. # Metadata inclueds the task name, author and so on.
11463 &quot;activeTaskName&quot;: &quot;A String&quot;, # The new task name to replace the current task if it is deprecated. Otherwise, it is the same as the current task name.
11464 &quot;admins&quot;: [
11465 { # Admins are owners of a Task, and have all permissions on a particular task identified by the task name. By default, Eventbus periodically scans all task metadata and syncs (adds) any new admins defined here to Zanzibar.
11466 &quot;googleGroupEmail&quot;: &quot;A String&quot;,
11467 &quot;userEmail&quot;: &quot;A String&quot;,
11468 },
11469 ],
11470 &quot;category&quot;: &quot;A String&quot;,
11471 &quot;codeSearchLink&quot;: &quot;A String&quot;, # The Code Search link to the Task Java file.
11472 &quot;defaultJsonValidationOption&quot;: &quot;A String&quot;, # Controls whether JSON workflow parameters are validated against provided schemas before and/or after this task&#x27;s execution.
11473 &quot;defaultSpec&quot;: &quot;A String&quot;, # Contains the initial configuration of the task with default values set. For now, The string should be compatible to an ASCII-proto format.
11474 &quot;description&quot;: &quot;A String&quot;, # In a few sentences, describe the purpose and usage of the task.
11475 &quot;descriptiveName&quot;: &quot;A String&quot;, # The string name to show on the task list on the Workflow editor screen. This should be a very short, one to two words name for the task. (e.g. &quot;Send Mail&quot;)
11476 &quot;docMarkdown&quot;: &quot;A String&quot;, # Snippet of markdown documentation to embed in the RHP for this task.
11477 &quot;externalCategory&quot;: &quot;A String&quot;,
11478 &quot;externalCategorySequence&quot;: 42, # Sequence with which the task in specific category to be displayed in task discovery panel for external users.
11479 &quot;externalDocHtml&quot;: &quot;A String&quot;, # External-facing documention embedded in the RHP for this task.
11480 &quot;externalDocLink&quot;: &quot;A String&quot;, # Doc link for external-facing documentation (separate from g3doc).
11481 &quot;externalDocMarkdown&quot;: &quot;A String&quot;, # DEPRECATED: Use external_doc_html.
11482 &quot;g3DocLink&quot;: &quot;A String&quot;, # URL to the associated G3 Doc for the task if available
11483 &quot;iconLink&quot;: &quot;A String&quot;, # URL to gstatic image icon for this task. This icon shows up on the task list panel along with the task name in the Workflow Editor screen. Use the 24p, 2x, gray color icon image format.
11484 &quot;isDeprecated&quot;: True or False, # The deprecation status of the current task. Default value is false;
11485 &quot;name&quot;: &quot;A String&quot;, # The actual class name or the annotated name of the task. Task Author should initialize this field with value from the getName() method of the Task class.
11486 &quot;standaloneExternalDocHtml&quot;: &quot;A String&quot;, # External-facing documention for standalone IP in pantheon embedded in the RHP for this task. Non null only if different from external_doc_html
11487 &quot;status&quot;: &quot;A String&quot;, # Allows author to indicate if the task is ready to use or not. If not set, then it will default to INACTIVE.
11488 &quot;system&quot;: &quot;A String&quot;,
11489 &quot;tags&quot;: [ # A set of tags that pertain to a particular task. This can be used to improve the searchability of tasks with several names (&quot;REST Caller&quot; vs. &quot;Call REST Endpoint&quot;) or to help users find tasks based on related words.
11490 &quot;A String&quot;,
11491 ],
11492 },
11493 &quot;paramSpecs&quot;: { # Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask.
11494 &quot;parameters&quot;: [
11495 { # Key-value pair of EventBus task parameters. Next id: 13
11496 &quot;className&quot;: &quot;A String&quot;, # The FQCN of the Java object this represents. A string, for example, would be &quot;java.lang.String&quot;. If this is &quot;java.lang.Object&quot;, the parameter can be of any type.
11497 &quot;collectionElementClassName&quot;: &quot;A String&quot;, # If it is a collection of objects, this would be the FCQN of every individual element in the collection. If this is &quot;java.lang.Object&quot;, the parameter is a collection of any type.
11498 &quot;config&quot;: { # Optional fields, such as help text and other useful info.
11499 &quot;descriptivePhrase&quot;: &quot;A String&quot;, # A short phrase to describe what this parameter contains.
11500 &quot;helpText&quot;: &quot;A String&quot;, # Detailed help text for this parameter containing information not provided elsewhere. For example, instructions on how to migrate from a deprecated parameter.
11501 &quot;hideDefaultValue&quot;: True or False, # Whether the default value is hidden in the UI.
11502 &quot;inputDisplayOption&quot;: &quot;A String&quot;,
11503 &quot;isHidden&quot;: True or False, # Whether this field is hidden in the UI.
11504 &quot;label&quot;: &quot;A String&quot;, # A user-friendly label for the parameter.
11505 &quot;parameterNameOption&quot;: &quot;A String&quot;,
11506 &quot;subSectionLabel&quot;: &quot;A String&quot;, # A user-friendly label for subSection under which the parameter will be displayed.
11507 &quot;uiPlaceholderText&quot;: &quot;A String&quot;, # Placeholder text which will appear in the UI input form for this parameter.
11508 },
11509 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
11510 &quot;defaultValue&quot;: { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
11511 &quot;booleanArray&quot;: {
11512 &quot;booleanValues&quot;: [
11513 True or False,
11514 ],
11515 },
11516 &quot;booleanValue&quot;: True or False,
11517 &quot;doubleArray&quot;: {
11518 &quot;doubleValues&quot;: [
11519 3.14,
11520 ],
11521 },
11522 &quot;doubleValue&quot;: 3.14,
11523 &quot;intArray&quot;: {
11524 &quot;intValues&quot;: [
11525 &quot;A String&quot;,
11526 ],
11527 },
11528 &quot;intValue&quot;: &quot;A String&quot;,
11529 &quot;jsonValue&quot;: &quot;A String&quot;,
11530 &quot;protoArray&quot;: {
11531 &quot;protoValues&quot;: [
11532 {
11533 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
11534 },
11535 ],
11536 },
11537 &quot;protoValue&quot;: {
11538 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
11539 },
11540 &quot;serializedObjectValue&quot;: {
11541 &quot;objectValue&quot;: &quot;A String&quot;,
11542 },
11543 &quot;stringArray&quot;: {
11544 &quot;stringValues&quot;: [
11545 &quot;A String&quot;,
11546 ],
11547 },
11548 &quot;stringValue&quot;: &quot;A String&quot;,
11549 },
11550 &quot;isDeprecated&quot;: True or False, # If set, this entry is deprecated, so further use of this parameter should be prohibited.
11551 &quot;isOutput&quot;: True or False,
11552 &quot;jsonSchema&quot;: &quot;A String&quot;, # If the data_type is JSON_VALUE, then this will define its schema.
11553 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given task. These parameters must be predefined in the workflow definition.
11554 &quot;protoDef&quot;: { # Populated if this represents a proto or proto array.
11555 &quot;fullName&quot;: &quot;A String&quot;, # The fully-qualified proto name. This message, for example, would be &quot;enterprise.crm.eventbus.proto.ParamSpecEntry.ProtoDefinition&quot;.
11556 &quot;path&quot;: &quot;A String&quot;, # Path to the proto file that contains the message type&#x27;s definition.
11557 },
11558 &quot;required&quot;: True or False, # If set, the user must provide an input value for this parameter.
11559 &quot;validationRule&quot;: { # Rule used to validate inputs (individual values and collection elements) for this parameter.
11560 &quot;doubleRange&quot;: { # Range used to validate doubles and floats.
11561 &quot;max&quot;: 3.14, # The inclusive maximum of the acceptable range.
11562 &quot;min&quot;: 3.14, # The inclusive minimum of the acceptable range.
11563 },
11564 &quot;intRange&quot;: { # Range used to validate longs and ints.
11565 &quot;max&quot;: &quot;A String&quot;, # The inclusive maximum of the acceptable range.
11566 &quot;min&quot;: &quot;A String&quot;, # The inclusive minimum of the acceptable range.
11567 },
11568 &quot;stringRegex&quot;: { # Rule used to validate strings.
11569 &quot;exclusive&quot;: True or False, # Whether the regex matcher is applied exclusively (if true, matching values will be rejected).
11570 &quot;regex&quot;: &quot;A String&quot;, # The regex applied to the input value(s).
11571 },
11572 },
11573 },
11574 ],
11575 },
11576 &quot;stats&quot;: { # Stats for the requested dimensions: QPS, duration, and error/warning rate # Deprecated - statistics from the Monarch query.
11577 &quot;dimensions&quot;: { # Dimensions that these stats have been aggregated on.
11578 &quot;clientId&quot;: &quot;A String&quot;,
11579 &quot;enumFilterType&quot;: &quot;A String&quot;, # Whether to include or exclude the enums matching the regex.
11580 &quot;errorEnumString&quot;: &quot;A String&quot;,
11581 &quot;retryAttempt&quot;: &quot;A String&quot;,
11582 &quot;taskName&quot;: &quot;A String&quot;,
11583 &quot;taskNumber&quot;: &quot;A String&quot;,
11584 &quot;triggerId&quot;: &quot;A String&quot;, # Stats have been or will be aggregated on set fields for any semantically-meaningful combination.
11585 &quot;warningEnumString&quot;: &quot;A String&quot;,
11586 &quot;workflowId&quot;: &quot;A String&quot;,
11587 &quot;workflowName&quot;: &quot;A String&quot;,
11588 },
11589 &quot;durationInSeconds&quot;: 3.14, # Average duration in seconds.
11590 &quot;errorRate&quot;: 3.14, # Average error rate.
11591 &quot;qps&quot;: 3.14, # Queries per second.
11592 &quot;warningRate&quot;: 3.14, # Average warning rate.
11593 },
11594 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
11595 &quot;uiConfig&quot;: { # Task authors would use this type to configure the UI for a particular task by specifying what UI config modules should be included to compose the UI. Learn more about config module framework: # UI configuration for this task Also associated with the METADATA mask.
11596 &quot;taskUiModuleConfigs&quot;: [ # Configurations of included config modules.
11597 { # Task author would use this type to configure a config module.
11598 &quot;moduleId&quot;: &quot;A String&quot;, # ID of the config module.
11599 },
11600 ],
11601 },
11602 },
11603 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # The policy dictating the execution strategy of this task.
11604 &quot;taskName&quot;: &quot;A String&quot;, # The name for the task.
11605 &quot;taskNumber&quot;: &quot;A String&quot;, # REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`).
11606 &quot;taskSpec&quot;: &quot;A String&quot;, # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old &quot;parameters&quot; field.
11607 &quot;taskTemplateName&quot;: &quot;A String&quot;, # Used to define task-template name if task is of type task-template
11608 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
11609 },
11610 ],
11611 &quot;teardown&quot;: { # Optional. Contains a graph of tasks that will be executed before putting the event in a terminal state (SUCCEEDED/FAILED/FATAL), regardless of success or failure, similar to &quot;finally&quot; in code.
11612 &quot;teardownTaskConfigs&quot;: [ # Required.
11613 {
11614 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address.
11615 &quot;name&quot;: &quot;A String&quot;, # Required. Unique identifier of the teardown task within this Config. We use this field as the identifier to find next teardown tasks.
11616 &quot;nextTeardownTask&quot;: { # The teardown task that is next in line to be executed. We support only sequential execution of teardown tasks (i.e. no branching).
11617 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the next teardown task.
11618 },
11619 &quot;parameters&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 the user can pass to this task.
11620 &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.
11621 { # Key-value pair of EventBus parameters.
11622 &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.
11623 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
11624 &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.
11625 &quot;booleanArray&quot;: {
11626 &quot;booleanValues&quot;: [
11627 True or False,
11628 ],
11629 },
11630 &quot;booleanValue&quot;: True or False,
11631 &quot;doubleArray&quot;: {
11632 &quot;doubleValues&quot;: [
11633 3.14,
11634 ],
11635 },
11636 &quot;doubleValue&quot;: 3.14,
11637 &quot;intArray&quot;: {
11638 &quot;intValues&quot;: [
11639 &quot;A String&quot;,
11640 ],
11641 },
11642 &quot;intValue&quot;: &quot;A String&quot;,
11643 &quot;protoArray&quot;: {
11644 &quot;protoValues&quot;: [
11645 {
11646 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
11647 },
11648 ],
11649 },
11650 &quot;protoValue&quot;: {
11651 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
11652 },
11653 &quot;serializedObjectValue&quot;: {
11654 &quot;objectValue&quot;: &quot;A String&quot;,
11655 },
11656 &quot;stringArray&quot;: {
11657 &quot;stringValues&quot;: [
11658 &quot;A String&quot;,
11659 ],
11660 },
11661 &quot;stringValue&quot;: &quot;A String&quot;,
11662 },
11663 },
11664 ],
11665 },
11666 &quot;properties&quot;: { # LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus.
11667 &quot;properties&quot;: [ # An unordered list of property entries.
11668 { # Key-value pair of EventBus property.
11669 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding property value. This should be unique for a given fired event. The Tasks should be aware of the keys used while firing the events for them to be able to retrieve the values.
11670 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Values for the defined keys. Each value can either be string, int, double or any proto message.
11671 &quot;booleanValue&quot;: True or False,
11672 &quot;doubleArray&quot;: {
11673 &quot;values&quot;: [
11674 3.14,
11675 ],
11676 },
11677 &quot;doubleValue&quot;: 3.14,
11678 &quot;intArray&quot;: {
11679 &quot;values&quot;: [
11680 &quot;A String&quot;,
11681 ],
11682 },
11683 &quot;intValue&quot;: &quot;A String&quot;,
11684 &quot;protoValue&quot;: {
11685 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
11686 },
11687 &quot;stringArray&quot;: {
11688 &quot;values&quot;: [
11689 &quot;A String&quot;,
11690 ],
11691 },
11692 &quot;stringValue&quot;: &quot;A String&quot;,
11693 },
11694 },
11695 ],
11696 },
11697 &quot;teardownTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. Implementation class name.
11698 },
11699 ],
11700 },
11701 &quot;triggerConfigs&quot;: [ # Optional. Trigger configurations.
11702 { # Configuration detail of a trigger.
11703 &quot;alertConfig&quot;: [ # Optional. An alert threshold configuration for the [trigger + client + integration] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + integration] when published.
11704 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
11705 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
11706 &quot;alertThreshold&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
11707 &quot;disableAlert&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this integration alert.
11708 &quot;displayName&quot;: &quot;A String&quot;, # Name of the alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the integration.
11709 &quot;durationThreshold&quot;: &quot;A String&quot;, # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
11710 &quot;metricType&quot;: &quot;A String&quot;, # The type of metric.
11711 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
11712 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
11713 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
11714 &quot;absolute&quot;: &quot;A String&quot;, # Absolute value threshold.
11715 &quot;percentage&quot;: 42, # Percentage threshold.
11716 },
11717 },
11718 ],
11719 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration # Optional. Cloud Scheduler Trigger related metadata
11720 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
11721 &quot;errorMessage&quot;: &quot;A String&quot;, # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations
11722 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
11723 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
11724 },
11725 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
11726 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
11727 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
11728 &quot;names&quot;: [ # Optional. List of variable names.
11729 &quot;A String&quot;,
11730 ],
11731 },
11732 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular trigger.
11733 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. Dictates how next tasks will be executed.
11734 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
11735 &quot;names&quot;: [ # Optional. List of variable names.
11736 &quot;A String&quot;,
11737 ],
11738 },
11739 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
11740 &quot;x&quot;: 42, # Required. X axis of the coordinate
11741 &quot;y&quot;: 42, # Required. Y axis of the coordinate
11742 },
11743 &quot;properties&quot;: { # Optional. Configurable properties of the trigger, not to be confused with integration parameters. E.g. &quot;name&quot; is a property for API triggers and &quot;subscription&quot; is a property for Pub/sub triggers.
11744 &quot;a_key&quot;: &quot;A String&quot;,
11745 },
11746 &quot;startTasks&quot;: [ # Optional. Set of tasks numbers from where the integration execution is started by this trigger. If this is empty, then integration is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same integration execution graph).
11747 { # The task that is next in line to be executed, if the condition specified evaluated to true.
11748 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
11749 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
11750 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
11751 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
11752 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
11753 },
11754 ],
11755 &quot;trigger&quot;: &quot;A String&quot;, # Optional. Name of the trigger. Example: &quot;API Trigger&quot;, &quot;Cloud Pub Sub Trigger&quot; When set will be sent out to monitoring dashabord for tracking purpose.
11756 &quot;triggerId&quot;: &quot;A String&quot;, # Optional. Auto-generated trigger ID. The ID is based on the properties that you define in the trigger config. For example, for an API trigger, the trigger ID follows the format: api_trigger/TRIGGER_NAME Where trigger config has properties with value {&quot;Trigger name&quot;: TRIGGER_NAME}
11757 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the integration on UI.
11758 &quot;triggerType&quot;: &quot;A String&quot;, # Optional. Type of trigger
11759 },
11760 ],
11761 &quot;triggerConfigsInternal&quot;: [ # Optional. Trigger configurations.
11762 { # Configuration detail of a trigger. Next available id: 22
11763 &quot;alertConfig&quot;: [ # An alert threshold configuration for the [trigger + client + workflow] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + workflow] when published.
11764 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
11765 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
11766 &quot;alertDisabled&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.
11767 &quot;alertName&quot;: &quot;A String&quot;, # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the workflow.
11768 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration.
11769 &quot;durationThresholdMs&quot;: &quot;A String&quot;, # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
11770 &quot;errorEnumList&quot;: { # List of error enums for alerts.
11771 &quot;enumStrings&quot;: [
11772 &quot;A String&quot;,
11773 ],
11774 &quot;filterType&quot;: &quot;A String&quot;,
11775 },
11776 &quot;metricType&quot;: &quot;A String&quot;,
11777 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
11778 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
11779 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
11780 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
11781 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
11782 &quot;absolute&quot;: &quot;A String&quot;,
11783 &quot;percentage&quot;: 42,
11784 },
11785 &quot;warningEnumList&quot;: { # List of error enums for alerts.
11786 &quot;enumStrings&quot;: [
11787 &quot;A String&quot;,
11788 ],
11789 &quot;filterType&quot;: &quot;A String&quot;,
11790 },
11791 },
11792 ],
11793 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration
11794 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
11795 &quot;errorMessage&quot;: &quot;A String&quot;, # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations
11796 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
11797 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
11798 },
11799 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
11800 &quot;enabledClients&quot;: [ # Required. The list of client ids which are enabled to execute the workflow using this trigger. In other words, these clients have the workflow execution privledges for this trigger. For API trigger, the client id in the incoming request is validated against the list of enabled clients. For non-API triggers, one workflow execution is triggered on behalf of each enabled client.
11801 &quot;A String&quot;,
11802 ],
11803 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
11804 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
11805 &quot;names&quot;: [ # Optional. List of variable names.
11806 &quot;A String&quot;,
11807 ],
11808 },
11809 &quot;label&quot;: &quot;A String&quot;, # The user created label for a particular trigger.
11810 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Dictates how next tasks will be executed.
11811 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
11812 &quot;names&quot;: [ # Optional. List of variable names.
11813 &quot;A String&quot;,
11814 ],
11815 },
11816 &quot;pauseWorkflowExecutions&quot;: True or False, # Optional. If set to true, any upcoming requests for this trigger config will be paused and the executions will be resumed later when the flag is reset. The workflow to which this trigger config belongs has to be in ACTIVE status for the executions to be paused or resumed.
11817 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this trigger config on the UI.
11818 &quot;x&quot;: 42,
11819 &quot;y&quot;: 42,
11820 },
11821 &quot;properties&quot;: { # Configurable properties of the trigger, not to be confused with workflow parameters. E.g. &quot;name&quot; is a property for API triggers and &quot;subscription&quot; is a property for Cloud Pubsub triggers.
11822 &quot;a_key&quot;: &quot;A String&quot;,
11823 },
11824 &quot;startTasks&quot;: [ # Set of tasks numbers from where the workflow execution is started by this trigger. If this is empty, then workflow is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same workflow execution graph).
11825 { # The task that is next in line to be executed, if the condition specified evaluated to true.
11826 &quot;combinedConditions&quot;: [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
11827 { # This message recursively combines constituent conditions using logical AND.
11828 &quot;conditions&quot;: [ # A set of individual constituent conditions.
11829 { # Condition that uses `operator` to evaluate the key against the value.
11830 &quot;eventPropertyKey&quot;: &quot;A String&quot;, # Key that&#x27;s evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.
11831 &quot;operator&quot;: &quot;A String&quot;, # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
11832 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that&#x27;s checked for the key.
11833 &quot;booleanValue&quot;: True or False,
11834 &quot;doubleArray&quot;: {
11835 &quot;values&quot;: [
11836 3.14,
11837 ],
11838 },
11839 &quot;doubleValue&quot;: 3.14,
11840 &quot;intArray&quot;: {
11841 &quot;values&quot;: [
11842 &quot;A String&quot;,
11843 ],
11844 },
11845 &quot;intValue&quot;: &quot;A String&quot;,
11846 &quot;protoValue&quot;: {
11847 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
11848 },
11849 &quot;stringArray&quot;: {
11850 &quot;values&quot;: [
11851 &quot;A String&quot;,
11852 ],
11853 },
11854 &quot;stringValue&quot;: &quot;A String&quot;,
11855 },
11856 },
11857 ],
11858 },
11859 ],
11860 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
11861 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
11862 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
11863 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
11864 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
11865 },
11866 ],
11867 &quot;triggerCriteria&quot;: { # Optional. When set, Eventbus will run the task specified in the trigger_criteria and validate the result using the trigger_criteria.condition, and only execute the workflow when result is true.
11868 &quot;condition&quot;: &quot;A String&quot;, # Required. Standard filter expression, when true the workflow will be executed. If there&#x27;s no trigger_criteria_task_implementation_class_name specified, the condition will be validated directly.
11869 &quot;parameters&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 # Optional. To be used in TaskConfig for the implementation class.
11870 &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.
11871 { # Key-value pair of EventBus parameters.
11872 &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.
11873 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
11874 &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.
11875 &quot;booleanArray&quot;: {
11876 &quot;booleanValues&quot;: [
11877 True or False,
11878 ],
11879 },
11880 &quot;booleanValue&quot;: True or False,
11881 &quot;doubleArray&quot;: {
11882 &quot;doubleValues&quot;: [
11883 3.14,
11884 ],
11885 },
11886 &quot;doubleValue&quot;: 3.14,
11887 &quot;intArray&quot;: {
11888 &quot;intValues&quot;: [
11889 &quot;A String&quot;,
11890 ],
11891 },
11892 &quot;intValue&quot;: &quot;A String&quot;,
11893 &quot;protoArray&quot;: {
11894 &quot;protoValues&quot;: [
11895 {
11896 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
11897 },
11898 ],
11899 },
11900 &quot;protoValue&quot;: {
11901 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
11902 },
11903 &quot;serializedObjectValue&quot;: {
11904 &quot;objectValue&quot;: &quot;A String&quot;,
11905 },
11906 &quot;stringArray&quot;: {
11907 &quot;stringValues&quot;: [
11908 &quot;A String&quot;,
11909 ],
11910 },
11911 &quot;stringValue&quot;: &quot;A String&quot;,
11912 },
11913 },
11914 ],
11915 },
11916 &quot;triggerCriteriaTaskImplementationClassName&quot;: &quot;A String&quot;, # Optional. Implementation class name. The class should implement the “TypedTask” interface.
11917 },
11918 &quot;triggerId&quot;: &quot;A String&quot;, # The backend trigger ID.
11919 &quot;triggerName&quot;: &quot;A String&quot;, # Optional. Name of the trigger This is added to identify the type of trigger. This is avoid the logic on triggerId to identify the trigger_type and push the same to monitoring.
11920 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the workflow on UI.
11921 &quot;triggerType&quot;: &quot;A String&quot;,
11922 },
11923 ],
11924 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
11925 &quot;userLabel&quot;: &quot;A String&quot;, # Optional. A user-defined label that annotates an integration version. Typically, this is only set when the integration version is created.
11926 },
11927 &quot;key&quot;: &quot;A String&quot;, # Required. Unique Key of the IntegrationVersion.
11928 },
11929 &quot;subIntegrationVersionTemplates&quot;: [ # Optional. Sub integration templates which would be added along with main integration.
11930 { # Define the template of IntegrationVersion.
11931 &quot;integrationVersion&quot;: { # The integration version definition. # Required. Templatized version of integration.
11932 &quot;cloudKmsKey&quot;: &quot;A String&quot;, # Optional. Cloud KMS resource name for the CMEK encryption key.
11933 &quot;cloudLoggingDetails&quot;: { # Cloud Logging details for execution info # Optional. Cloud Logging details for the integration version
11934 &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.
11935 &quot;enableCloudLogging&quot;: True or False, # Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.
11936 },
11937 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
11938 &quot;createdFromTemplate&quot;: &quot;A String&quot;, # Optional. Optional. The resource name of the template from which the integration is created.
11939 &quot;databasePersistencePolicy&quot;: &quot;A String&quot;, # Optional. Flag to disable database persistence for execution data, including event execution info, execution export info, execution metadata index and execution param index.
11940 &quot;description&quot;: &quot;A String&quot;, # Optional. The integration description.
11941 &quot;enableVariableMasking&quot;: True or False, # Optional. True if variable masking feature should be turned on for this version
11942 &quot;errorCatcherConfigs&quot;: [ # Optional. Error Catch Task configuration for the integration. It&#x27;s optional.
11943 { # Configuration detail of a error catch task
11944 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give more business context about the error catcher config.
11945 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Required. An error catcher id is string representation for the error catcher config. Within a workflow, error_catcher_id uniquely identifies an error catcher config among all error catcher configs for the workflow
11946 &quot;errorCatcherNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each error catcher config within the workflow on UI.
11947 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular error catcher. Optional.
11948 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
11949 &quot;x&quot;: 42, # Required. X axis of the coordinate
11950 &quot;y&quot;: 42, # Required. Y axis of the coordinate
11951 },
11952 &quot;startErrorTasks&quot;: [ # Required. The set of start tasks that are to be executed for the error catch flow
11953 { # The task that is next in line to be executed, if the condition specified evaluated to true.
11954 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
11955 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
11956 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
11957 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
11958 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
11959 },
11960 ],
11961 },
11962 ],
11963 &quot;integrationConfigParameters&quot;: [ # Optional. Config Parameters that are expected to be passed to the integration when an integration is published. This consists of all the parameters that are expected to provide configuration in the integration execution. This gives the user the ability to provide default values, value, add information like connection url, project based configuration value and also provide data types of each parameter.
11964 { # Integration Config Parameter is defined in the integration config and are used to provide external configuration for integration. It provide information about data types of the expected parameters and provide any default values or value. They can also be used to add custom attributes.
11965 &quot;parameter&quot;: { # 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. # Optional. Integration Parameter to provide the default value, data type and attributes required for the Integration config variables.
11966 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
11967 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
11968 &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.
11969 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
11970 &quot;booleanValues&quot;: [ # Boolean array.
11971 True or False,
11972 ],
11973 },
11974 &quot;booleanValue&quot;: True or False, # Boolean.
11975 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
11976 &quot;doubleValues&quot;: [ # Double number array.
11977 3.14,
11978 ],
11979 },
11980 &quot;doubleValue&quot;: 3.14, # Double Number.
11981 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
11982 &quot;intValues&quot;: [ # Integer array.
11983 &quot;A String&quot;,
11984 ],
11985 },
11986 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
11987 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
11988 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
11989 &quot;stringValues&quot;: [ # String array.
11990 &quot;A String&quot;,
11991 ],
11992 },
11993 &quot;stringValue&quot;: &quot;A String&quot;, # String.
11994 },
11995 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
11996 &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;.
11997 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
11998 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
11999 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
12000 &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.
12001 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
12002 &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.
12003 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
12004 },
12005 &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 or a serialized object.
12006 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
12007 &quot;booleanValues&quot;: [ # Boolean array.
12008 True or False,
12009 ],
12010 },
12011 &quot;booleanValue&quot;: True or False, # Boolean.
12012 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
12013 &quot;doubleValues&quot;: [ # Double number array.
12014 3.14,
12015 ],
12016 },
12017 &quot;doubleValue&quot;: 3.14, # Double Number.
12018 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
12019 &quot;intValues&quot;: [ # Integer array.
12020 &quot;A String&quot;,
12021 ],
12022 },
12023 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
12024 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
12025 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
12026 &quot;stringValues&quot;: [ # String array.
12027 &quot;A String&quot;,
12028 ],
12029 },
12030 &quot;stringValue&quot;: &quot;A String&quot;, # String.
12031 },
12032 },
12033 ],
12034 &quot;integrationParameters&quot;: [ # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
12035 { # 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.
12036 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
12037 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
12038 &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.
12039 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
12040 &quot;booleanValues&quot;: [ # Boolean array.
12041 True or False,
12042 ],
12043 },
12044 &quot;booleanValue&quot;: True or False, # Boolean.
12045 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
12046 &quot;doubleValues&quot;: [ # Double number array.
12047 3.14,
12048 ],
12049 },
12050 &quot;doubleValue&quot;: 3.14, # Double Number.
12051 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
12052 &quot;intValues&quot;: [ # Integer array.
12053 &quot;A String&quot;,
12054 ],
12055 },
12056 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
12057 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
12058 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
12059 &quot;stringValues&quot;: [ # String array.
12060 &quot;A String&quot;,
12061 ],
12062 },
12063 &quot;stringValue&quot;: &quot;A String&quot;, # String.
12064 },
12065 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
12066 &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;.
12067 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
12068 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
12069 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
12070 &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.
12071 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
12072 &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.
12073 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
12074 },
12075 ],
12076 &quot;integrationParametersInternal&quot;: { # LINT.IfChange This is the frontend version of WorkflowParameters. It&#x27;s exactly like the backend version except that instead of flattening protobuf parameters and treating every field and subfield of a protobuf parameter as a separate parameter, the fields/subfields of a protobuf parameter will be nested as &quot;children&quot; (see &#x27;children&#x27; field below) parameters of the parent parameter. Please refer to enterprise/crm/eventbus/proto/workflow_parameters.proto for more information about WorkflowParameters. # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
12077 &quot;parameters&quot;: [ # Parameters are a part of Event and can be used to communiticate between different tasks that are part of the same workflow execution.
12078 {
12079 &quot;attributes&quot;: { # Attributes are additional options that can be associated with each event property. For more information, see # Metadata information about the parameters.
12080 &quot;dataType&quot;: &quot;A String&quot;, # Things like URL, Email, Currency, Timestamp (rather than string, int64...)
12081 &quot;defaultValue&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Used to define defaults.
12082 &quot;booleanValue&quot;: True or False,
12083 &quot;doubleArray&quot;: {
12084 &quot;values&quot;: [
12085 3.14,
12086 ],
12087 },
12088 &quot;doubleValue&quot;: 3.14,
12089 &quot;intArray&quot;: {
12090 &quot;values&quot;: [
12091 &quot;A String&quot;,
12092 ],
12093 },
12094 &quot;intValue&quot;: &quot;A String&quot;,
12095 &quot;protoValue&quot;: {
12096 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
12097 },
12098 &quot;stringArray&quot;: {
12099 &quot;values&quot;: [
12100 &quot;A String&quot;,
12101 ],
12102 },
12103 &quot;stringValue&quot;: &quot;A String&quot;,
12104 },
12105 &quot;isRequired&quot;: True or False, # Required for event execution. The validation will be done by the event bus when the event is triggered.
12106 &quot;isSearchable&quot;: True or False, # Used to indicate if a ParameterEntry should be converted to ParamIndexes for ST-Spanner full-text search. DEPRECATED: use searchable.
12107 &quot;logSettings&quot;: { # The LogSettings define the logging attributes for an event property. These attributes are used to map the property to the parameter in the log proto. Also used to define scrubbing/truncation behavior and PII information. # See
12108 &quot;logFieldName&quot;: &quot;A String&quot;, # The name of corresponding logging field of the event property. If omitted, assumes the same name as the event property key.
12109 &quot;seedPeriod&quot;: &quot;A String&quot;,
12110 &quot;seedScope&quot;: &quot;A String&quot;,
12111 },
12112 &quot;masked&quot;: True or False, # True if this workflow parameter should be masked in the logs
12113 &quot;readOnly&quot;: True or False, # Used to indicate if the ParameterEntry is a read only field or not.
12114 &quot;searchable&quot;: &quot;A String&quot;,
12115 &quot;taskVisibility&quot;: [ # List of tasks that can view this property, if empty then all.
12116 &quot;A String&quot;,
12117 ],
12118 },
12119 &quot;children&quot;: [ # Child parameters nested within this parameter. This field only applies to protobuf parameters
12120 # Object with schema name: EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
12121 ],
12122 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
12123 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
12124 &quot;defaultValue&quot;: { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
12125 &quot;booleanArray&quot;: {
12126 &quot;booleanValues&quot;: [
12127 True or False,
12128 ],
12129 },
12130 &quot;booleanValue&quot;: True or False,
12131 &quot;doubleArray&quot;: {
12132 &quot;doubleValues&quot;: [
12133 3.14,
12134 ],
12135 },
12136 &quot;doubleValue&quot;: 3.14,
12137 &quot;intArray&quot;: {
12138 &quot;intValues&quot;: [
12139 &quot;A String&quot;,
12140 ],
12141 },
12142 &quot;intValue&quot;: &quot;A String&quot;,
12143 &quot;jsonValue&quot;: &quot;A String&quot;,
12144 &quot;protoArray&quot;: {
12145 &quot;protoValues&quot;: [
12146 {
12147 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
12148 },
12149 ],
12150 },
12151 &quot;protoValue&quot;: {
12152 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
12153 },
12154 &quot;serializedObjectValue&quot;: {
12155 &quot;objectValue&quot;: &quot;A String&quot;,
12156 },
12157 &quot;stringArray&quot;: {
12158 &quot;stringValues&quot;: [
12159 &quot;A String&quot;,
12160 ],
12161 },
12162 &quot;stringValue&quot;: &quot;A String&quot;,
12163 },
12164 &quot;description&quot;: &quot;A String&quot;, # Optional. The description about the parameter
12165 &quot;inOutType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
12166 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
12167 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
12168 &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.
12169 &quot;name&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;.
12170 &quot;producedBy&quot;: { # Represents a node identifier (type + id). Next highest id: 3 # 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.
12171 &quot;elementIdentifier&quot;: &quot;A String&quot;, # Configuration of the edge.
12172 &quot;elementType&quot;: &quot;A String&quot;, # Destination node where the edge ends. It can only be a task config.
12173 },
12174 &quot;producer&quot;: &quot;A String&quot;,
12175 &quot;protoDefName&quot;: &quot;A String&quot;, # The name of the protobuf type if the parameter has a protobuf data type.
12176 &quot;protoDefPath&quot;: &quot;A String&quot;, # If the data type is of type proto or proto array, this field needs to be populated with the fully qualified proto name. This message, for example, would be &quot;enterprise.crm.frontends.eventbus.proto.WorkflowParameterEntry&quot;.
12177 &quot;required&quot;: True or False,
12178 },
12179 ],
12180 },
12181 &quot;lastModifierEmail&quot;: &quot;A String&quot;, # Optional. The last modifier&#x27;s email address. Generated based on the End User Credentials/LOAS role of the user making the call.
12182 &quot;lockHolder&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.
12183 &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
12184 &quot;origin&quot;: &quot;A String&quot;, # Optional. The origin that indicates where this integration is coming from.
12185 &quot;parentTemplateId&quot;: &quot;A String&quot;, # Optional. The id of the template which was used to create this integration_version.
12186 &quot;runAsServiceAccount&quot;: &quot;A String&quot;, # Optional. The run-as service account email, if set and auth config is not configured, that will be used to generate auth token to be used in Connector task, Rest caller task and Cloud function task.
12187 &quot;snapshotNumber&quot;: &quot;A String&quot;, # Output only. An increasing sequence that is set when a new snapshot is created. The last created snapshot can be identified by [workflow_name, org_id latest(snapshot_number)]. However, last created snapshot need not be same as the HEAD. So users should always use &quot;HEAD&quot; tag to identify the head.
12188 &quot;state&quot;: &quot;A String&quot;, # Output only. User should not set it as an input.
12189 &quot;status&quot;: &quot;A String&quot;, # Output only. Generated by eventbus. User should not set it as an input.
12190 &quot;taskConfigs&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
12191 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
12192 &quot;conditionalFailurePolicies&quot;: { # Conditional task failur retry strategies # Optional. The list of conditional failure policies that will be applied to the task in order.
12193 &quot;defaultFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # The default failure policy to be applied if no conditional failure policy matches.
12194 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
12195 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
12196 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
12197 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
12198 },
12199 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
12200 { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
12201 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
12202 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
12203 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
12204 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
12205 },
12206 ],
12207 },
12208 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
12209 &quot;displayName&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to this TaskConfig in the UI.
12210 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
12211 &quot;externalTaskType&quot;: &quot;A String&quot;, # Optional. External task type of the task
12212 &quot;failurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
12213 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
12214 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
12215 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
12216 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
12217 },
12218 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # Optional. If set, overrides the option configured in the Task implementation class.
12219 &quot;nextTasks&quot;: [ # Optional. The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
12220 { # The task that is next in line to be executed, if the condition specified evaluated to true.
12221 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
12222 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
12223 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
12224 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
12225 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
12226 },
12227 ],
12228 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution of the next set of tasks for the current task.
12229 &quot;parameters&quot;: { # Optional. The customized parameters the user can pass to this task.
12230 &quot;a_key&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
12231 &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.
12232 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
12233 &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.
12234 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
12235 &quot;booleanValues&quot;: [ # Boolean array.
12236 True or False,
12237 ],
12238 },
12239 &quot;booleanValue&quot;: True or False, # Boolean.
12240 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
12241 &quot;doubleValues&quot;: [ # Double number array.
12242 3.14,
12243 ],
12244 },
12245 &quot;doubleValue&quot;: 3.14, # Double Number.
12246 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
12247 &quot;intValues&quot;: [ # Integer array.
12248 &quot;A String&quot;,
12249 ],
12250 },
12251 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
12252 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
12253 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
12254 &quot;stringValues&quot;: [ # String array.
12255 &quot;A String&quot;,
12256 ],
12257 },
12258 &quot;stringValue&quot;: &quot;A String&quot;, # String.
12259 },
12260 },
12261 },
12262 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
12263 &quot;x&quot;: 42, # Required. X axis of the coordinate
12264 &quot;y&quot;: 42, # Required. Y axis of the coordinate
12265 },
12266 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Optional. Determines what action to take upon successful task completion.
12267 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
12268 },
12269 &quot;synchronousCallFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
12270 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
12271 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
12272 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
12273 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
12274 },
12275 &quot;task&quot;: &quot;A String&quot;, # Optional. The name for the task.
12276 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution strategy of this task.
12277 &quot;taskId&quot;: &quot;A String&quot;, # Required. The identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_id`).
12278 &quot;taskTemplate&quot;: &quot;A String&quot;, # Optional. Used to define task-template name if task is of type task-template
12279 },
12280 ],
12281 &quot;taskConfigsInternal&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
12282 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
12283 &quot;alertConfigs&quot;: [ # Alert configurations on error rate, warning rate, number of runs, durations, etc.
12284 { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event.
12285 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week).
12286 &quot;alertDisabled&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.
12287 &quot;alertName&quot;: &quot;A String&quot;, # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique in within the scope of the containing workflow.
12288 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration. Must be a client enabled in one of the containing workflow&#x27;s triggers.
12289 &quot;durationThresholdMs&quot;: &quot;A String&quot;, # Should be specified only for TASK_AVERAGE_DURATION and TASK_PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
12290 &quot;errorEnumList&quot;: { # List of error enums for alerts.
12291 &quot;enumStrings&quot;: [
12292 &quot;A String&quot;,
12293 ],
12294 &quot;filterType&quot;: &quot;A String&quot;,
12295 },
12296 &quot;metricType&quot;: &quot;A String&quot;,
12297 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
12298 &quot;onlyFinalAttempt&quot;: True or False, # Only count final task attempts, not retries.
12299 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
12300 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
12301 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
12302 &quot;absolute&quot;: &quot;A String&quot;,
12303 &quot;percentage&quot;: 42,
12304 },
12305 &quot;warningEnumList&quot;: { # List of error enums for alerts.
12306 &quot;enumStrings&quot;: [
12307 &quot;A String&quot;,
12308 ],
12309 &quot;filterType&quot;: &quot;A String&quot;,
12310 },
12311 },
12312 ],
12313 &quot;conditionalFailurePolicies&quot;: { # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
12314 &quot;defaultFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # The default failure policy to be applied if no conditional failure policy matches
12315 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
12316 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
12317 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
12318 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
12319 },
12320 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
12321 { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
12322 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
12323 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
12324 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
12325 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
12326 },
12327 ],
12328 },
12329 &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
12330 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address. Auto-generated from the user&#x27;s email.
12331 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
12332 &quot;disableStrictTypeValidation&quot;: True or False, # If this config contains a TypedTask, allow validation to succeed if an input is read from the output of another TypedTask whose output type is declared as a superclass of the requested input type. For instance, if the previous task declares an output of type Message, any task with this flag enabled will pass validation when attempting to read any proto Message type from the resultant Event parameter.
12333 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
12334 &quot;externalTaskType&quot;: &quot;A String&quot;,
12335 &quot;failurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
12336 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
12337 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
12338 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
12339 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
12340 },
12341 &quot;incomingEdgeCount&quot;: 42, # The number of edges leading into this TaskConfig.
12342 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # If set, overrides the option configured in the Task implementation class.
12343 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this TaskConfig in the UI.
12344 &quot;lastModifiedTime&quot;: &quot;A String&quot;, # Auto-generated.
12345 &quot;nextTasks&quot;: [ # The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
12346 { # The task that is next in line to be executed, if the condition specified evaluated to true.
12347 &quot;combinedConditions&quot;: [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
12348 { # This message recursively combines constituent conditions using logical AND.
12349 &quot;conditions&quot;: [ # A set of individual constituent conditions.
12350 { # Condition that uses `operator` to evaluate the key against the value.
12351 &quot;eventPropertyKey&quot;: &quot;A String&quot;, # Key that&#x27;s evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.
12352 &quot;operator&quot;: &quot;A String&quot;, # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
12353 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that&#x27;s checked for the key.
12354 &quot;booleanValue&quot;: True or False,
12355 &quot;doubleArray&quot;: {
12356 &quot;values&quot;: [
12357 3.14,
12358 ],
12359 },
12360 &quot;doubleValue&quot;: 3.14,
12361 &quot;intArray&quot;: {
12362 &quot;values&quot;: [
12363 &quot;A String&quot;,
12364 ],
12365 },
12366 &quot;intValue&quot;: &quot;A String&quot;,
12367 &quot;protoValue&quot;: {
12368 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
12369 },
12370 &quot;stringArray&quot;: {
12371 &quot;values&quot;: [
12372 &quot;A String&quot;,
12373 ],
12374 },
12375 &quot;stringValue&quot;: &quot;A String&quot;,
12376 },
12377 },
12378 ],
12379 },
12380 ],
12381 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
12382 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
12383 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
12384 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
12385 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
12386 },
12387 ],
12388 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # The policy dictating the execution of the next set of tasks for the current task.
12389 &quot;parameters&quot;: { # The customized parameters the user can pass to this task.
12390 &quot;a_key&quot;: { # Key-value pair of EventBus parameters.
12391 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
12392 &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.
12393 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
12394 &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.
12395 &quot;booleanArray&quot;: {
12396 &quot;booleanValues&quot;: [
12397 True or False,
12398 ],
12399 },
12400 &quot;booleanValue&quot;: True or False,
12401 &quot;doubleArray&quot;: {
12402 &quot;doubleValues&quot;: [
12403 3.14,
12404 ],
12405 },
12406 &quot;doubleValue&quot;: 3.14,
12407 &quot;intArray&quot;: {
12408 &quot;intValues&quot;: [
12409 &quot;A String&quot;,
12410 ],
12411 },
12412 &quot;intValue&quot;: &quot;A String&quot;,
12413 &quot;jsonValue&quot;: &quot;A String&quot;,
12414 &quot;protoArray&quot;: {
12415 &quot;protoValues&quot;: [
12416 {
12417 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
12418 },
12419 ],
12420 },
12421 &quot;protoValue&quot;: {
12422 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
12423 },
12424 &quot;serializedObjectValue&quot;: {
12425 &quot;objectValue&quot;: &quot;A String&quot;,
12426 },
12427 &quot;stringArray&quot;: {
12428 &quot;stringValues&quot;: [
12429 &quot;A String&quot;,
12430 ],
12431 },
12432 &quot;stringValue&quot;: &quot;A String&quot;,
12433 },
12434 },
12435 },
12436 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this task config on the UI.
12437 &quot;x&quot;: 42,
12438 &quot;y&quot;: 42,
12439 },
12440 &quot;precondition&quot;: &quot;A String&quot;, # Optional. Standard filter expression evaluated before execution. Independent of other conditions and tasks. Can be used to enable rollout. e.g. &quot;rollout(5)&quot; will only allow 5% of incoming traffic to task.
12441 &quot;preconditionLabel&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to precondition in the UI.
12442 &quot;rollbackStrategy&quot;: { # Next available id: 4 # Optional. Contains information about what needs to be done upon failure (either a permanent error or after it has been retried too many times).
12443 &quot;parameters&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 # Optional. The customized parameters the user can pass to this task.
12444 &quot;parameters&quot;: [ # Parameters are a part of Event and can be used to communicate between different tasks that are part of the same workflow execution.
12445 { # Key-value pair of EventBus parameters.
12446 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
12447 &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.
12448 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
12449 &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.
12450 &quot;booleanArray&quot;: {
12451 &quot;booleanValues&quot;: [
12452 True or False,
12453 ],
12454 },
12455 &quot;booleanValue&quot;: True or False,
12456 &quot;doubleArray&quot;: {
12457 &quot;doubleValues&quot;: [
12458 3.14,
12459 ],
12460 },
12461 &quot;doubleValue&quot;: 3.14,
12462 &quot;intArray&quot;: {
12463 &quot;intValues&quot;: [
12464 &quot;A String&quot;,
12465 ],
12466 },
12467 &quot;intValue&quot;: &quot;A String&quot;,
12468 &quot;jsonValue&quot;: &quot;A String&quot;,
12469 &quot;protoArray&quot;: {
12470 &quot;protoValues&quot;: [
12471 {
12472 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
12473 },
12474 ],
12475 },
12476 &quot;protoValue&quot;: {
12477 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
12478 },
12479 &quot;serializedObjectValue&quot;: {
12480 &quot;objectValue&quot;: &quot;A String&quot;,
12481 },
12482 &quot;stringArray&quot;: {
12483 &quot;stringValues&quot;: [
12484 &quot;A String&quot;,
12485 ],
12486 },
12487 &quot;stringValue&quot;: &quot;A String&quot;,
12488 },
12489 },
12490 ],
12491 },
12492 &quot;rollbackTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. This is the name of the task that needs to be executed upon rollback of this task.
12493 &quot;taskNumbersToRollback&quot;: [ # Required. These are the tasks numbers of the tasks whose `rollback_strategy.rollback_task_implementation_class_name` needs to be executed upon failure of this task.
12494 &quot;A String&quot;,
12495 ],
12496 },
12497 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Determines what action to take upon successful task completion.
12498 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
12499 },
12500 &quot;synchronousCallFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
12501 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
12502 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
12503 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
12504 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
12505 },
12506 &quot;taskEntity&quot;: { # Contains a task&#x27;s metadata and associated information. Next available id: 7 # Copy of the task entity that this task config is an instance of.
12507 &quot;disabledForVpcSc&quot;: True or False, # True if the task has conflict with vpcsc
12508 &quot;metadata&quot;: { # TaskMetadata are attributes that are associated to every common Task we have. # Metadata inclueds the task name, author and so on.
12509 &quot;activeTaskName&quot;: &quot;A String&quot;, # The new task name to replace the current task if it is deprecated. Otherwise, it is the same as the current task name.
12510 &quot;admins&quot;: [
12511 { # Admins are owners of a Task, and have all permissions on a particular task identified by the task name. By default, Eventbus periodically scans all task metadata and syncs (adds) any new admins defined here to Zanzibar.
12512 &quot;googleGroupEmail&quot;: &quot;A String&quot;,
12513 &quot;userEmail&quot;: &quot;A String&quot;,
12514 },
12515 ],
12516 &quot;category&quot;: &quot;A String&quot;,
12517 &quot;codeSearchLink&quot;: &quot;A String&quot;, # The Code Search link to the Task Java file.
12518 &quot;defaultJsonValidationOption&quot;: &quot;A String&quot;, # Controls whether JSON workflow parameters are validated against provided schemas before and/or after this task&#x27;s execution.
12519 &quot;defaultSpec&quot;: &quot;A String&quot;, # Contains the initial configuration of the task with default values set. For now, The string should be compatible to an ASCII-proto format.
12520 &quot;description&quot;: &quot;A String&quot;, # In a few sentences, describe the purpose and usage of the task.
12521 &quot;descriptiveName&quot;: &quot;A String&quot;, # The string name to show on the task list on the Workflow editor screen. This should be a very short, one to two words name for the task. (e.g. &quot;Send Mail&quot;)
12522 &quot;docMarkdown&quot;: &quot;A String&quot;, # Snippet of markdown documentation to embed in the RHP for this task.
12523 &quot;externalCategory&quot;: &quot;A String&quot;,
12524 &quot;externalCategorySequence&quot;: 42, # Sequence with which the task in specific category to be displayed in task discovery panel for external users.
12525 &quot;externalDocHtml&quot;: &quot;A String&quot;, # External-facing documention embedded in the RHP for this task.
12526 &quot;externalDocLink&quot;: &quot;A String&quot;, # Doc link for external-facing documentation (separate from g3doc).
12527 &quot;externalDocMarkdown&quot;: &quot;A String&quot;, # DEPRECATED: Use external_doc_html.
12528 &quot;g3DocLink&quot;: &quot;A String&quot;, # URL to the associated G3 Doc for the task if available
12529 &quot;iconLink&quot;: &quot;A String&quot;, # URL to gstatic image icon for this task. This icon shows up on the task list panel along with the task name in the Workflow Editor screen. Use the 24p, 2x, gray color icon image format.
12530 &quot;isDeprecated&quot;: True or False, # The deprecation status of the current task. Default value is false;
12531 &quot;name&quot;: &quot;A String&quot;, # The actual class name or the annotated name of the task. Task Author should initialize this field with value from the getName() method of the Task class.
12532 &quot;standaloneExternalDocHtml&quot;: &quot;A String&quot;, # External-facing documention for standalone IP in pantheon embedded in the RHP for this task. Non null only if different from external_doc_html
12533 &quot;status&quot;: &quot;A String&quot;, # Allows author to indicate if the task is ready to use or not. If not set, then it will default to INACTIVE.
12534 &quot;system&quot;: &quot;A String&quot;,
12535 &quot;tags&quot;: [ # A set of tags that pertain to a particular task. This can be used to improve the searchability of tasks with several names (&quot;REST Caller&quot; vs. &quot;Call REST Endpoint&quot;) or to help users find tasks based on related words.
12536 &quot;A String&quot;,
12537 ],
12538 },
12539 &quot;paramSpecs&quot;: { # Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask.
12540 &quot;parameters&quot;: [
12541 { # Key-value pair of EventBus task parameters. Next id: 13
12542 &quot;className&quot;: &quot;A String&quot;, # The FQCN of the Java object this represents. A string, for example, would be &quot;java.lang.String&quot;. If this is &quot;java.lang.Object&quot;, the parameter can be of any type.
12543 &quot;collectionElementClassName&quot;: &quot;A String&quot;, # If it is a collection of objects, this would be the FCQN of every individual element in the collection. If this is &quot;java.lang.Object&quot;, the parameter is a collection of any type.
12544 &quot;config&quot;: { # Optional fields, such as help text and other useful info.
12545 &quot;descriptivePhrase&quot;: &quot;A String&quot;, # A short phrase to describe what this parameter contains.
12546 &quot;helpText&quot;: &quot;A String&quot;, # Detailed help text for this parameter containing information not provided elsewhere. For example, instructions on how to migrate from a deprecated parameter.
12547 &quot;hideDefaultValue&quot;: True or False, # Whether the default value is hidden in the UI.
12548 &quot;inputDisplayOption&quot;: &quot;A String&quot;,
12549 &quot;isHidden&quot;: True or False, # Whether this field is hidden in the UI.
12550 &quot;label&quot;: &quot;A String&quot;, # A user-friendly label for the parameter.
12551 &quot;parameterNameOption&quot;: &quot;A String&quot;,
12552 &quot;subSectionLabel&quot;: &quot;A String&quot;, # A user-friendly label for subSection under which the parameter will be displayed.
12553 &quot;uiPlaceholderText&quot;: &quot;A String&quot;, # Placeholder text which will appear in the UI input form for this parameter.
12554 },
12555 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
12556 &quot;defaultValue&quot;: { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
12557 &quot;booleanArray&quot;: {
12558 &quot;booleanValues&quot;: [
12559 True or False,
12560 ],
12561 },
12562 &quot;booleanValue&quot;: True or False,
12563 &quot;doubleArray&quot;: {
12564 &quot;doubleValues&quot;: [
12565 3.14,
12566 ],
12567 },
12568 &quot;doubleValue&quot;: 3.14,
12569 &quot;intArray&quot;: {
12570 &quot;intValues&quot;: [
12571 &quot;A String&quot;,
12572 ],
12573 },
12574 &quot;intValue&quot;: &quot;A String&quot;,
12575 &quot;jsonValue&quot;: &quot;A String&quot;,
12576 &quot;protoArray&quot;: {
12577 &quot;protoValues&quot;: [
12578 {
12579 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
12580 },
12581 ],
12582 },
12583 &quot;protoValue&quot;: {
12584 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
12585 },
12586 &quot;serializedObjectValue&quot;: {
12587 &quot;objectValue&quot;: &quot;A String&quot;,
12588 },
12589 &quot;stringArray&quot;: {
12590 &quot;stringValues&quot;: [
12591 &quot;A String&quot;,
12592 ],
12593 },
12594 &quot;stringValue&quot;: &quot;A String&quot;,
12595 },
12596 &quot;isDeprecated&quot;: True or False, # If set, this entry is deprecated, so further use of this parameter should be prohibited.
12597 &quot;isOutput&quot;: True or False,
12598 &quot;jsonSchema&quot;: &quot;A String&quot;, # If the data_type is JSON_VALUE, then this will define its schema.
12599 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given task. These parameters must be predefined in the workflow definition.
12600 &quot;protoDef&quot;: { # Populated if this represents a proto or proto array.
12601 &quot;fullName&quot;: &quot;A String&quot;, # The fully-qualified proto name. This message, for example, would be &quot;enterprise.crm.eventbus.proto.ParamSpecEntry.ProtoDefinition&quot;.
12602 &quot;path&quot;: &quot;A String&quot;, # Path to the proto file that contains the message type&#x27;s definition.
12603 },
12604 &quot;required&quot;: True or False, # If set, the user must provide an input value for this parameter.
12605 &quot;validationRule&quot;: { # Rule used to validate inputs (individual values and collection elements) for this parameter.
12606 &quot;doubleRange&quot;: { # Range used to validate doubles and floats.
12607 &quot;max&quot;: 3.14, # The inclusive maximum of the acceptable range.
12608 &quot;min&quot;: 3.14, # The inclusive minimum of the acceptable range.
12609 },
12610 &quot;intRange&quot;: { # Range used to validate longs and ints.
12611 &quot;max&quot;: &quot;A String&quot;, # The inclusive maximum of the acceptable range.
12612 &quot;min&quot;: &quot;A String&quot;, # The inclusive minimum of the acceptable range.
12613 },
12614 &quot;stringRegex&quot;: { # Rule used to validate strings.
12615 &quot;exclusive&quot;: True or False, # Whether the regex matcher is applied exclusively (if true, matching values will be rejected).
12616 &quot;regex&quot;: &quot;A String&quot;, # The regex applied to the input value(s).
12617 },
12618 },
12619 },
12620 ],
12621 },
12622 &quot;stats&quot;: { # Stats for the requested dimensions: QPS, duration, and error/warning rate # Deprecated - statistics from the Monarch query.
12623 &quot;dimensions&quot;: { # Dimensions that these stats have been aggregated on.
12624 &quot;clientId&quot;: &quot;A String&quot;,
12625 &quot;enumFilterType&quot;: &quot;A String&quot;, # Whether to include or exclude the enums matching the regex.
12626 &quot;errorEnumString&quot;: &quot;A String&quot;,
12627 &quot;retryAttempt&quot;: &quot;A String&quot;,
12628 &quot;taskName&quot;: &quot;A String&quot;,
12629 &quot;taskNumber&quot;: &quot;A String&quot;,
12630 &quot;triggerId&quot;: &quot;A String&quot;, # Stats have been or will be aggregated on set fields for any semantically-meaningful combination.
12631 &quot;warningEnumString&quot;: &quot;A String&quot;,
12632 &quot;workflowId&quot;: &quot;A String&quot;,
12633 &quot;workflowName&quot;: &quot;A String&quot;,
12634 },
12635 &quot;durationInSeconds&quot;: 3.14, # Average duration in seconds.
12636 &quot;errorRate&quot;: 3.14, # Average error rate.
12637 &quot;qps&quot;: 3.14, # Queries per second.
12638 &quot;warningRate&quot;: 3.14, # Average warning rate.
12639 },
12640 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
12641 &quot;uiConfig&quot;: { # Task authors would use this type to configure the UI for a particular task by specifying what UI config modules should be included to compose the UI. Learn more about config module framework: # UI configuration for this task Also associated with the METADATA mask.
12642 &quot;taskUiModuleConfigs&quot;: [ # Configurations of included config modules.
12643 { # Task author would use this type to configure a config module.
12644 &quot;moduleId&quot;: &quot;A String&quot;, # ID of the config module.
12645 },
12646 ],
12647 },
12648 },
12649 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # The policy dictating the execution strategy of this task.
12650 &quot;taskName&quot;: &quot;A String&quot;, # The name for the task.
12651 &quot;taskNumber&quot;: &quot;A String&quot;, # REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`).
12652 &quot;taskSpec&quot;: &quot;A String&quot;, # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old &quot;parameters&quot; field.
12653 &quot;taskTemplateName&quot;: &quot;A String&quot;, # Used to define task-template name if task is of type task-template
12654 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
12655 },
12656 ],
12657 &quot;teardown&quot;: { # Optional. Contains a graph of tasks that will be executed before putting the event in a terminal state (SUCCEEDED/FAILED/FATAL), regardless of success or failure, similar to &quot;finally&quot; in code.
12658 &quot;teardownTaskConfigs&quot;: [ # Required.
12659 {
12660 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address.
12661 &quot;name&quot;: &quot;A String&quot;, # Required. Unique identifier of the teardown task within this Config. We use this field as the identifier to find next teardown tasks.
12662 &quot;nextTeardownTask&quot;: { # The teardown task that is next in line to be executed. We support only sequential execution of teardown tasks (i.e. no branching).
12663 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the next teardown task.
12664 },
12665 &quot;parameters&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 the user can pass to this task.
12666 &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.
12667 { # Key-value pair of EventBus parameters.
12668 &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.
12669 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
12670 &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.
12671 &quot;booleanArray&quot;: {
12672 &quot;booleanValues&quot;: [
12673 True or False,
12674 ],
12675 },
12676 &quot;booleanValue&quot;: True or False,
12677 &quot;doubleArray&quot;: {
12678 &quot;doubleValues&quot;: [
12679 3.14,
12680 ],
12681 },
12682 &quot;doubleValue&quot;: 3.14,
12683 &quot;intArray&quot;: {
12684 &quot;intValues&quot;: [
12685 &quot;A String&quot;,
12686 ],
12687 },
12688 &quot;intValue&quot;: &quot;A String&quot;,
12689 &quot;protoArray&quot;: {
12690 &quot;protoValues&quot;: [
12691 {
12692 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
12693 },
12694 ],
12695 },
12696 &quot;protoValue&quot;: {
12697 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
12698 },
12699 &quot;serializedObjectValue&quot;: {
12700 &quot;objectValue&quot;: &quot;A String&quot;,
12701 },
12702 &quot;stringArray&quot;: {
12703 &quot;stringValues&quot;: [
12704 &quot;A String&quot;,
12705 ],
12706 },
12707 &quot;stringValue&quot;: &quot;A String&quot;,
12708 },
12709 },
12710 ],
12711 },
12712 &quot;properties&quot;: { # LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus.
12713 &quot;properties&quot;: [ # An unordered list of property entries.
12714 { # Key-value pair of EventBus property.
12715 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding property value. This should be unique for a given fired event. The Tasks should be aware of the keys used while firing the events for them to be able to retrieve the values.
12716 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Values for the defined keys. Each value can either be string, int, double or any proto message.
12717 &quot;booleanValue&quot;: True or False,
12718 &quot;doubleArray&quot;: {
12719 &quot;values&quot;: [
12720 3.14,
12721 ],
12722 },
12723 &quot;doubleValue&quot;: 3.14,
12724 &quot;intArray&quot;: {
12725 &quot;values&quot;: [
12726 &quot;A String&quot;,
12727 ],
12728 },
12729 &quot;intValue&quot;: &quot;A String&quot;,
12730 &quot;protoValue&quot;: {
12731 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
12732 },
12733 &quot;stringArray&quot;: {
12734 &quot;values&quot;: [
12735 &quot;A String&quot;,
12736 ],
12737 },
12738 &quot;stringValue&quot;: &quot;A String&quot;,
12739 },
12740 },
12741 ],
12742 },
12743 &quot;teardownTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. Implementation class name.
12744 },
12745 ],
12746 },
12747 &quot;triggerConfigs&quot;: [ # Optional. Trigger configurations.
12748 { # Configuration detail of a trigger.
12749 &quot;alertConfig&quot;: [ # Optional. An alert threshold configuration for the [trigger + client + integration] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + integration] when published.
12750 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
12751 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
12752 &quot;alertThreshold&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
12753 &quot;disableAlert&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this integration alert.
12754 &quot;displayName&quot;: &quot;A String&quot;, # Name of the alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the integration.
12755 &quot;durationThreshold&quot;: &quot;A String&quot;, # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
12756 &quot;metricType&quot;: &quot;A String&quot;, # The type of metric.
12757 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
12758 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
12759 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
12760 &quot;absolute&quot;: &quot;A String&quot;, # Absolute value threshold.
12761 &quot;percentage&quot;: 42, # Percentage threshold.
12762 },
12763 },
12764 ],
12765 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration # Optional. Cloud Scheduler Trigger related metadata
12766 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
12767 &quot;errorMessage&quot;: &quot;A String&quot;, # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations
12768 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
12769 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
12770 },
12771 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
12772 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
12773 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
12774 &quot;names&quot;: [ # Optional. List of variable names.
12775 &quot;A String&quot;,
12776 ],
12777 },
12778 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular trigger.
12779 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. Dictates how next tasks will be executed.
12780 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
12781 &quot;names&quot;: [ # Optional. List of variable names.
12782 &quot;A String&quot;,
12783 ],
12784 },
12785 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
12786 &quot;x&quot;: 42, # Required. X axis of the coordinate
12787 &quot;y&quot;: 42, # Required. Y axis of the coordinate
12788 },
12789 &quot;properties&quot;: { # Optional. Configurable properties of the trigger, not to be confused with integration parameters. E.g. &quot;name&quot; is a property for API triggers and &quot;subscription&quot; is a property for Pub/sub triggers.
12790 &quot;a_key&quot;: &quot;A String&quot;,
12791 },
12792 &quot;startTasks&quot;: [ # Optional. Set of tasks numbers from where the integration execution is started by this trigger. If this is empty, then integration is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same integration execution graph).
12793 { # The task that is next in line to be executed, if the condition specified evaluated to true.
12794 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
12795 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
12796 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
12797 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
12798 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
12799 },
12800 ],
12801 &quot;trigger&quot;: &quot;A String&quot;, # Optional. Name of the trigger. Example: &quot;API Trigger&quot;, &quot;Cloud Pub Sub Trigger&quot; When set will be sent out to monitoring dashabord for tracking purpose.
12802 &quot;triggerId&quot;: &quot;A String&quot;, # Optional. Auto-generated trigger ID. The ID is based on the properties that you define in the trigger config. For example, for an API trigger, the trigger ID follows the format: api_trigger/TRIGGER_NAME Where trigger config has properties with value {&quot;Trigger name&quot;: TRIGGER_NAME}
12803 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the integration on UI.
12804 &quot;triggerType&quot;: &quot;A String&quot;, # Optional. Type of trigger
12805 },
12806 ],
12807 &quot;triggerConfigsInternal&quot;: [ # Optional. Trigger configurations.
12808 { # Configuration detail of a trigger. Next available id: 22
12809 &quot;alertConfig&quot;: [ # An alert threshold configuration for the [trigger + client + workflow] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + workflow] when published.
12810 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
12811 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
12812 &quot;alertDisabled&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.
12813 &quot;alertName&quot;: &quot;A String&quot;, # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the workflow.
12814 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration.
12815 &quot;durationThresholdMs&quot;: &quot;A String&quot;, # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
12816 &quot;errorEnumList&quot;: { # List of error enums for alerts.
12817 &quot;enumStrings&quot;: [
12818 &quot;A String&quot;,
12819 ],
12820 &quot;filterType&quot;: &quot;A String&quot;,
12821 },
12822 &quot;metricType&quot;: &quot;A String&quot;,
12823 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
12824 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
12825 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
12826 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
12827 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
12828 &quot;absolute&quot;: &quot;A String&quot;,
12829 &quot;percentage&quot;: 42,
12830 },
12831 &quot;warningEnumList&quot;: { # List of error enums for alerts.
12832 &quot;enumStrings&quot;: [
12833 &quot;A String&quot;,
12834 ],
12835 &quot;filterType&quot;: &quot;A String&quot;,
12836 },
12837 },
12838 ],
12839 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration
12840 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
12841 &quot;errorMessage&quot;: &quot;A String&quot;, # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations
12842 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
12843 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
12844 },
12845 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
12846 &quot;enabledClients&quot;: [ # Required. The list of client ids which are enabled to execute the workflow using this trigger. In other words, these clients have the workflow execution privledges for this trigger. For API trigger, the client id in the incoming request is validated against the list of enabled clients. For non-API triggers, one workflow execution is triggered on behalf of each enabled client.
12847 &quot;A String&quot;,
12848 ],
12849 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
12850 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
12851 &quot;names&quot;: [ # Optional. List of variable names.
12852 &quot;A String&quot;,
12853 ],
12854 },
12855 &quot;label&quot;: &quot;A String&quot;, # The user created label for a particular trigger.
12856 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Dictates how next tasks will be executed.
12857 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
12858 &quot;names&quot;: [ # Optional. List of variable names.
12859 &quot;A String&quot;,
12860 ],
12861 },
12862 &quot;pauseWorkflowExecutions&quot;: True or False, # Optional. If set to true, any upcoming requests for this trigger config will be paused and the executions will be resumed later when the flag is reset. The workflow to which this trigger config belongs has to be in ACTIVE status for the executions to be paused or resumed.
12863 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this trigger config on the UI.
12864 &quot;x&quot;: 42,
12865 &quot;y&quot;: 42,
12866 },
12867 &quot;properties&quot;: { # Configurable properties of the trigger, not to be confused with workflow parameters. E.g. &quot;name&quot; is a property for API triggers and &quot;subscription&quot; is a property for Cloud Pubsub triggers.
12868 &quot;a_key&quot;: &quot;A String&quot;,
12869 },
12870 &quot;startTasks&quot;: [ # Set of tasks numbers from where the workflow execution is started by this trigger. If this is empty, then workflow is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same workflow execution graph).
12871 { # The task that is next in line to be executed, if the condition specified evaluated to true.
12872 &quot;combinedConditions&quot;: [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
12873 { # This message recursively combines constituent conditions using logical AND.
12874 &quot;conditions&quot;: [ # A set of individual constituent conditions.
12875 { # Condition that uses `operator` to evaluate the key against the value.
12876 &quot;eventPropertyKey&quot;: &quot;A String&quot;, # Key that&#x27;s evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.
12877 &quot;operator&quot;: &quot;A String&quot;, # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
12878 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that&#x27;s checked for the key.
12879 &quot;booleanValue&quot;: True or False,
12880 &quot;doubleArray&quot;: {
12881 &quot;values&quot;: [
12882 3.14,
12883 ],
12884 },
12885 &quot;doubleValue&quot;: 3.14,
12886 &quot;intArray&quot;: {
12887 &quot;values&quot;: [
12888 &quot;A String&quot;,
12889 ],
12890 },
12891 &quot;intValue&quot;: &quot;A String&quot;,
12892 &quot;protoValue&quot;: {
12893 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
12894 },
12895 &quot;stringArray&quot;: {
12896 &quot;values&quot;: [
12897 &quot;A String&quot;,
12898 ],
12899 },
12900 &quot;stringValue&quot;: &quot;A String&quot;,
12901 },
12902 },
12903 ],
12904 },
12905 ],
12906 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
12907 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
12908 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
12909 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
12910 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
12911 },
12912 ],
12913 &quot;triggerCriteria&quot;: { # Optional. When set, Eventbus will run the task specified in the trigger_criteria and validate the result using the trigger_criteria.condition, and only execute the workflow when result is true.
12914 &quot;condition&quot;: &quot;A String&quot;, # Required. Standard filter expression, when true the workflow will be executed. If there&#x27;s no trigger_criteria_task_implementation_class_name specified, the condition will be validated directly.
12915 &quot;parameters&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 # Optional. To be used in TaskConfig for the implementation class.
12916 &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.
12917 { # Key-value pair of EventBus parameters.
12918 &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.
12919 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
12920 &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.
12921 &quot;booleanArray&quot;: {
12922 &quot;booleanValues&quot;: [
12923 True or False,
12924 ],
12925 },
12926 &quot;booleanValue&quot;: True or False,
12927 &quot;doubleArray&quot;: {
12928 &quot;doubleValues&quot;: [
12929 3.14,
12930 ],
12931 },
12932 &quot;doubleValue&quot;: 3.14,
12933 &quot;intArray&quot;: {
12934 &quot;intValues&quot;: [
12935 &quot;A String&quot;,
12936 ],
12937 },
12938 &quot;intValue&quot;: &quot;A String&quot;,
12939 &quot;protoArray&quot;: {
12940 &quot;protoValues&quot;: [
12941 {
12942 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
12943 },
12944 ],
12945 },
12946 &quot;protoValue&quot;: {
12947 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
12948 },
12949 &quot;serializedObjectValue&quot;: {
12950 &quot;objectValue&quot;: &quot;A String&quot;,
12951 },
12952 &quot;stringArray&quot;: {
12953 &quot;stringValues&quot;: [
12954 &quot;A String&quot;,
12955 ],
12956 },
12957 &quot;stringValue&quot;: &quot;A String&quot;,
12958 },
12959 },
12960 ],
12961 },
12962 &quot;triggerCriteriaTaskImplementationClassName&quot;: &quot;A String&quot;, # Optional. Implementation class name. The class should implement the “TypedTask” interface.
12963 },
12964 &quot;triggerId&quot;: &quot;A String&quot;, # The backend trigger ID.
12965 &quot;triggerName&quot;: &quot;A String&quot;, # Optional. Name of the trigger This is added to identify the type of trigger. This is avoid the logic on triggerId to identify the trigger_type and push the same to monitoring.
12966 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the workflow on UI.
12967 &quot;triggerType&quot;: &quot;A String&quot;,
12968 },
12969 ],
12970 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
12971 &quot;userLabel&quot;: &quot;A String&quot;, # Optional. A user-defined label that annotates an integration version. Typically, this is only set when the integration version is created.
12972 },
12973 &quot;key&quot;: &quot;A String&quot;, # Required. Unique Key of the IntegrationVersion.
12974 },
12975 ],
12976 },
12977 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated
12978 &quot;usageCount&quot;: &quot;A String&quot;, # Optional. Number of template usages.
12979 &quot;usageInfo&quot;: &quot;A String&quot;, # Optional. Information on how to use the template. This should contain detailed information about usage of the template.
12980 &quot;visibility&quot;: &quot;A String&quot;, # Required. Visibility of the template.
12981 }
12982
12983 updateMask: string, Required. Field mask specifying the fields in the above template that have been modified and must be updated.
12984 x__xgafv: string, V1 error format.
12985 Allowed values
12986 1 - v1 error format
12987 2 - v2 error format
12988
12989 Returns:
12990 An object of the form:
12991
12992 { # Defines the template for Application Integration
12993 &quot;author&quot;: &quot;A String&quot;, # Optional. Creator of the template.
12994 &quot;categories&quot;: [ # Required. Categories associated with the Template. The categories listed below will be utilized for the Template listing.
12995 &quot;A String&quot;,
12996 ],
12997 &quot;components&quot;: [ # Optional. Components being used in the template. This could be used to categorize and filter.
12998 { # Define the components that are present in a template.
12999 &quot;name&quot;: &quot;A String&quot;, # Optional. Name of the component.
13000 &quot;type&quot;: &quot;A String&quot;, # Optional. Type of the component.
13001 },
13002 ],
13003 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
13004 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the template. The length should not be more than 255 characters
13005 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of the template
13006 &quot;docLink&quot;: &quot;A String&quot;, # Optional. Link to template documentation.
13007 &quot;lastUsedTime&quot;: &quot;A String&quot;, # Optional. Time the template was last used.
13008 &quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the template.
13009 &quot;sharedWith&quot;: [ # Required. Resource names with which the template is shared for example ProjectNumber/Ord id
13010 &quot;A String&quot;,
13011 ],
13012 &quot;tags&quot;: [ # Required. Tags which are used to identify templates. These tags could be for business use case, connectors etc.
13013 &quot;A String&quot;,
13014 ],
13015 &quot;templateBundle&quot;: { # Define the bundle of the template. # Required. Bundle which is part of the templates. The template entities in the bundle would be converted to an actual entity.
13016 &quot;integrationVersionTemplate&quot;: { # Define the template of IntegrationVersion. # Required. Main integration templates of the template bundle.
13017 &quot;integrationVersion&quot;: { # The integration version definition. # Required. Templatized version of integration.
13018 &quot;cloudKmsKey&quot;: &quot;A String&quot;, # Optional. Cloud KMS resource name for the CMEK encryption key.
13019 &quot;cloudLoggingDetails&quot;: { # Cloud Logging details for execution info # Optional. Cloud Logging details for the integration version
13020 &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.
13021 &quot;enableCloudLogging&quot;: True or False, # Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.
13022 },
13023 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
13024 &quot;createdFromTemplate&quot;: &quot;A String&quot;, # Optional. Optional. The resource name of the template from which the integration is created.
13025 &quot;databasePersistencePolicy&quot;: &quot;A String&quot;, # Optional. Flag to disable database persistence for execution data, including event execution info, execution export info, execution metadata index and execution param index.
13026 &quot;description&quot;: &quot;A String&quot;, # Optional. The integration description.
13027 &quot;enableVariableMasking&quot;: True or False, # Optional. True if variable masking feature should be turned on for this version
13028 &quot;errorCatcherConfigs&quot;: [ # Optional. Error Catch Task configuration for the integration. It&#x27;s optional.
13029 { # Configuration detail of a error catch task
13030 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give more business context about the error catcher config.
13031 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Required. An error catcher id is string representation for the error catcher config. Within a workflow, error_catcher_id uniquely identifies an error catcher config among all error catcher configs for the workflow
13032 &quot;errorCatcherNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each error catcher config within the workflow on UI.
13033 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular error catcher. Optional.
13034 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
13035 &quot;x&quot;: 42, # Required. X axis of the coordinate
13036 &quot;y&quot;: 42, # Required. Y axis of the coordinate
13037 },
13038 &quot;startErrorTasks&quot;: [ # Required. The set of start tasks that are to be executed for the error catch flow
13039 { # The task that is next in line to be executed, if the condition specified evaluated to true.
13040 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
13041 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
13042 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
13043 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
13044 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
13045 },
13046 ],
13047 },
13048 ],
13049 &quot;integrationConfigParameters&quot;: [ # Optional. Config Parameters that are expected to be passed to the integration when an integration is published. This consists of all the parameters that are expected to provide configuration in the integration execution. This gives the user the ability to provide default values, value, add information like connection url, project based configuration value and also provide data types of each parameter.
13050 { # Integration Config Parameter is defined in the integration config and are used to provide external configuration for integration. It provide information about data types of the expected parameters and provide any default values or value. They can also be used to add custom attributes.
13051 &quot;parameter&quot;: { # 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. # Optional. Integration Parameter to provide the default value, data type and attributes required for the Integration config variables.
13052 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
13053 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
13054 &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.
13055 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
13056 &quot;booleanValues&quot;: [ # Boolean array.
13057 True or False,
13058 ],
13059 },
13060 &quot;booleanValue&quot;: True or False, # Boolean.
13061 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
13062 &quot;doubleValues&quot;: [ # Double number array.
13063 3.14,
13064 ],
13065 },
13066 &quot;doubleValue&quot;: 3.14, # Double Number.
13067 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
13068 &quot;intValues&quot;: [ # Integer array.
13069 &quot;A String&quot;,
13070 ],
13071 },
13072 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
13073 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
13074 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
13075 &quot;stringValues&quot;: [ # String array.
13076 &quot;A String&quot;,
13077 ],
13078 },
13079 &quot;stringValue&quot;: &quot;A String&quot;, # String.
13080 },
13081 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
13082 &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;.
13083 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
13084 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
13085 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
13086 &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.
13087 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
13088 &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.
13089 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
13090 },
13091 &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 or a serialized object.
13092 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
13093 &quot;booleanValues&quot;: [ # Boolean array.
13094 True or False,
13095 ],
13096 },
13097 &quot;booleanValue&quot;: True or False, # Boolean.
13098 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
13099 &quot;doubleValues&quot;: [ # Double number array.
13100 3.14,
13101 ],
13102 },
13103 &quot;doubleValue&quot;: 3.14, # Double Number.
13104 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
13105 &quot;intValues&quot;: [ # Integer array.
13106 &quot;A String&quot;,
13107 ],
13108 },
13109 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
13110 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
13111 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
13112 &quot;stringValues&quot;: [ # String array.
13113 &quot;A String&quot;,
13114 ],
13115 },
13116 &quot;stringValue&quot;: &quot;A String&quot;, # String.
13117 },
13118 },
13119 ],
13120 &quot;integrationParameters&quot;: [ # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
13121 { # 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.
13122 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
13123 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
13124 &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.
13125 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
13126 &quot;booleanValues&quot;: [ # Boolean array.
13127 True or False,
13128 ],
13129 },
13130 &quot;booleanValue&quot;: True or False, # Boolean.
13131 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
13132 &quot;doubleValues&quot;: [ # Double number array.
13133 3.14,
13134 ],
13135 },
13136 &quot;doubleValue&quot;: 3.14, # Double Number.
13137 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
13138 &quot;intValues&quot;: [ # Integer array.
13139 &quot;A String&quot;,
13140 ],
13141 },
13142 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
13143 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
13144 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
13145 &quot;stringValues&quot;: [ # String array.
13146 &quot;A String&quot;,
13147 ],
13148 },
13149 &quot;stringValue&quot;: &quot;A String&quot;, # String.
13150 },
13151 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
13152 &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;.
13153 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
13154 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
13155 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
13156 &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.
13157 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
13158 &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.
13159 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
13160 },
13161 ],
13162 &quot;integrationParametersInternal&quot;: { # LINT.IfChange This is the frontend version of WorkflowParameters. It&#x27;s exactly like the backend version except that instead of flattening protobuf parameters and treating every field and subfield of a protobuf parameter as a separate parameter, the fields/subfields of a protobuf parameter will be nested as &quot;children&quot; (see &#x27;children&#x27; field below) parameters of the parent parameter. Please refer to enterprise/crm/eventbus/proto/workflow_parameters.proto for more information about WorkflowParameters. # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
13163 &quot;parameters&quot;: [ # Parameters are a part of Event and can be used to communiticate between different tasks that are part of the same workflow execution.
13164 {
13165 &quot;attributes&quot;: { # Attributes are additional options that can be associated with each event property. For more information, see # Metadata information about the parameters.
13166 &quot;dataType&quot;: &quot;A String&quot;, # Things like URL, Email, Currency, Timestamp (rather than string, int64...)
13167 &quot;defaultValue&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Used to define defaults.
13168 &quot;booleanValue&quot;: True or False,
13169 &quot;doubleArray&quot;: {
13170 &quot;values&quot;: [
13171 3.14,
13172 ],
13173 },
13174 &quot;doubleValue&quot;: 3.14,
13175 &quot;intArray&quot;: {
13176 &quot;values&quot;: [
13177 &quot;A String&quot;,
13178 ],
13179 },
13180 &quot;intValue&quot;: &quot;A String&quot;,
13181 &quot;protoValue&quot;: {
13182 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
13183 },
13184 &quot;stringArray&quot;: {
13185 &quot;values&quot;: [
13186 &quot;A String&quot;,
13187 ],
13188 },
13189 &quot;stringValue&quot;: &quot;A String&quot;,
13190 },
13191 &quot;isRequired&quot;: True or False, # Required for event execution. The validation will be done by the event bus when the event is triggered.
13192 &quot;isSearchable&quot;: True or False, # Used to indicate if a ParameterEntry should be converted to ParamIndexes for ST-Spanner full-text search. DEPRECATED: use searchable.
13193 &quot;logSettings&quot;: { # The LogSettings define the logging attributes for an event property. These attributes are used to map the property to the parameter in the log proto. Also used to define scrubbing/truncation behavior and PII information. # See
13194 &quot;logFieldName&quot;: &quot;A String&quot;, # The name of corresponding logging field of the event property. If omitted, assumes the same name as the event property key.
13195 &quot;seedPeriod&quot;: &quot;A String&quot;,
13196 &quot;seedScope&quot;: &quot;A String&quot;,
13197 },
13198 &quot;masked&quot;: True or False, # True if this workflow parameter should be masked in the logs
13199 &quot;readOnly&quot;: True or False, # Used to indicate if the ParameterEntry is a read only field or not.
13200 &quot;searchable&quot;: &quot;A String&quot;,
13201 &quot;taskVisibility&quot;: [ # List of tasks that can view this property, if empty then all.
13202 &quot;A String&quot;,
13203 ],
13204 },
13205 &quot;children&quot;: [ # Child parameters nested within this parameter. This field only applies to protobuf parameters
13206 # Object with schema name: EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
13207 ],
13208 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
13209 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
13210 &quot;defaultValue&quot;: { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
13211 &quot;booleanArray&quot;: {
13212 &quot;booleanValues&quot;: [
13213 True or False,
13214 ],
13215 },
13216 &quot;booleanValue&quot;: True or False,
13217 &quot;doubleArray&quot;: {
13218 &quot;doubleValues&quot;: [
13219 3.14,
13220 ],
13221 },
13222 &quot;doubleValue&quot;: 3.14,
13223 &quot;intArray&quot;: {
13224 &quot;intValues&quot;: [
13225 &quot;A String&quot;,
13226 ],
13227 },
13228 &quot;intValue&quot;: &quot;A String&quot;,
13229 &quot;jsonValue&quot;: &quot;A String&quot;,
13230 &quot;protoArray&quot;: {
13231 &quot;protoValues&quot;: [
13232 {
13233 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
13234 },
13235 ],
13236 },
13237 &quot;protoValue&quot;: {
13238 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
13239 },
13240 &quot;serializedObjectValue&quot;: {
13241 &quot;objectValue&quot;: &quot;A String&quot;,
13242 },
13243 &quot;stringArray&quot;: {
13244 &quot;stringValues&quot;: [
13245 &quot;A String&quot;,
13246 ],
13247 },
13248 &quot;stringValue&quot;: &quot;A String&quot;,
13249 },
13250 &quot;description&quot;: &quot;A String&quot;, # Optional. The description about the parameter
13251 &quot;inOutType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
13252 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
13253 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
13254 &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.
13255 &quot;name&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;.
13256 &quot;producedBy&quot;: { # Represents a node identifier (type + id). Next highest id: 3 # 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.
13257 &quot;elementIdentifier&quot;: &quot;A String&quot;, # Configuration of the edge.
13258 &quot;elementType&quot;: &quot;A String&quot;, # Destination node where the edge ends. It can only be a task config.
13259 },
13260 &quot;producer&quot;: &quot;A String&quot;,
13261 &quot;protoDefName&quot;: &quot;A String&quot;, # The name of the protobuf type if the parameter has a protobuf data type.
13262 &quot;protoDefPath&quot;: &quot;A String&quot;, # If the data type is of type proto or proto array, this field needs to be populated with the fully qualified proto name. This message, for example, would be &quot;enterprise.crm.frontends.eventbus.proto.WorkflowParameterEntry&quot;.
13263 &quot;required&quot;: True or False,
13264 },
13265 ],
13266 },
13267 &quot;lastModifierEmail&quot;: &quot;A String&quot;, # Optional. The last modifier&#x27;s email address. Generated based on the End User Credentials/LOAS role of the user making the call.
13268 &quot;lockHolder&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.
13269 &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
13270 &quot;origin&quot;: &quot;A String&quot;, # Optional. The origin that indicates where this integration is coming from.
13271 &quot;parentTemplateId&quot;: &quot;A String&quot;, # Optional. The id of the template which was used to create this integration_version.
13272 &quot;runAsServiceAccount&quot;: &quot;A String&quot;, # Optional. The run-as service account email, if set and auth config is not configured, that will be used to generate auth token to be used in Connector task, Rest caller task and Cloud function task.
13273 &quot;snapshotNumber&quot;: &quot;A String&quot;, # Output only. An increasing sequence that is set when a new snapshot is created. The last created snapshot can be identified by [workflow_name, org_id latest(snapshot_number)]. However, last created snapshot need not be same as the HEAD. So users should always use &quot;HEAD&quot; tag to identify the head.
13274 &quot;state&quot;: &quot;A String&quot;, # Output only. User should not set it as an input.
13275 &quot;status&quot;: &quot;A String&quot;, # Output only. Generated by eventbus. User should not set it as an input.
13276 &quot;taskConfigs&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
13277 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
13278 &quot;conditionalFailurePolicies&quot;: { # Conditional task failur retry strategies # Optional. The list of conditional failure policies that will be applied to the task in order.
13279 &quot;defaultFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # The default failure policy to be applied if no conditional failure policy matches.
13280 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
13281 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
13282 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
13283 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
13284 },
13285 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
13286 { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
13287 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
13288 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
13289 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
13290 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
13291 },
13292 ],
13293 },
13294 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
13295 &quot;displayName&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to this TaskConfig in the UI.
13296 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
13297 &quot;externalTaskType&quot;: &quot;A String&quot;, # Optional. External task type of the task
13298 &quot;failurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
13299 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
13300 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
13301 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
13302 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
13303 },
13304 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # Optional. If set, overrides the option configured in the Task implementation class.
13305 &quot;nextTasks&quot;: [ # Optional. The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
13306 { # The task that is next in line to be executed, if the condition specified evaluated to true.
13307 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
13308 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
13309 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
13310 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
13311 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
13312 },
13313 ],
13314 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution of the next set of tasks for the current task.
13315 &quot;parameters&quot;: { # Optional. The customized parameters the user can pass to this task.
13316 &quot;a_key&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
13317 &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.
13318 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
13319 &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.
13320 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
13321 &quot;booleanValues&quot;: [ # Boolean array.
13322 True or False,
13323 ],
13324 },
13325 &quot;booleanValue&quot;: True or False, # Boolean.
13326 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
13327 &quot;doubleValues&quot;: [ # Double number array.
13328 3.14,
13329 ],
13330 },
13331 &quot;doubleValue&quot;: 3.14, # Double Number.
13332 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
13333 &quot;intValues&quot;: [ # Integer array.
13334 &quot;A String&quot;,
13335 ],
13336 },
13337 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
13338 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
13339 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
13340 &quot;stringValues&quot;: [ # String array.
13341 &quot;A String&quot;,
13342 ],
13343 },
13344 &quot;stringValue&quot;: &quot;A String&quot;, # String.
13345 },
13346 },
13347 },
13348 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
13349 &quot;x&quot;: 42, # Required. X axis of the coordinate
13350 &quot;y&quot;: 42, # Required. Y axis of the coordinate
13351 },
13352 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Optional. Determines what action to take upon successful task completion.
13353 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
13354 },
13355 &quot;synchronousCallFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
13356 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
13357 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
13358 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
13359 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
13360 },
13361 &quot;task&quot;: &quot;A String&quot;, # Optional. The name for the task.
13362 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution strategy of this task.
13363 &quot;taskId&quot;: &quot;A String&quot;, # Required. The identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_id`).
13364 &quot;taskTemplate&quot;: &quot;A String&quot;, # Optional. Used to define task-template name if task is of type task-template
13365 },
13366 ],
13367 &quot;taskConfigsInternal&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
13368 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
13369 &quot;alertConfigs&quot;: [ # Alert configurations on error rate, warning rate, number of runs, durations, etc.
13370 { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event.
13371 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week).
13372 &quot;alertDisabled&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.
13373 &quot;alertName&quot;: &quot;A String&quot;, # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique in within the scope of the containing workflow.
13374 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration. Must be a client enabled in one of the containing workflow&#x27;s triggers.
13375 &quot;durationThresholdMs&quot;: &quot;A String&quot;, # Should be specified only for TASK_AVERAGE_DURATION and TASK_PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
13376 &quot;errorEnumList&quot;: { # List of error enums for alerts.
13377 &quot;enumStrings&quot;: [
13378 &quot;A String&quot;,
13379 ],
13380 &quot;filterType&quot;: &quot;A String&quot;,
13381 },
13382 &quot;metricType&quot;: &quot;A String&quot;,
13383 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
13384 &quot;onlyFinalAttempt&quot;: True or False, # Only count final task attempts, not retries.
13385 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
13386 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
13387 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
13388 &quot;absolute&quot;: &quot;A String&quot;,
13389 &quot;percentage&quot;: 42,
13390 },
13391 &quot;warningEnumList&quot;: { # List of error enums for alerts.
13392 &quot;enumStrings&quot;: [
13393 &quot;A String&quot;,
13394 ],
13395 &quot;filterType&quot;: &quot;A String&quot;,
13396 },
13397 },
13398 ],
13399 &quot;conditionalFailurePolicies&quot;: { # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
13400 &quot;defaultFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # The default failure policy to be applied if no conditional failure policy matches
13401 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
13402 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
13403 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
13404 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
13405 },
13406 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
13407 { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
13408 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
13409 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
13410 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
13411 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
13412 },
13413 ],
13414 },
13415 &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
13416 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address. Auto-generated from the user&#x27;s email.
13417 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
13418 &quot;disableStrictTypeValidation&quot;: True or False, # If this config contains a TypedTask, allow validation to succeed if an input is read from the output of another TypedTask whose output type is declared as a superclass of the requested input type. For instance, if the previous task declares an output of type Message, any task with this flag enabled will pass validation when attempting to read any proto Message type from the resultant Event parameter.
13419 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
13420 &quot;externalTaskType&quot;: &quot;A String&quot;,
13421 &quot;failurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
13422 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
13423 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
13424 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
13425 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
13426 },
13427 &quot;incomingEdgeCount&quot;: 42, # The number of edges leading into this TaskConfig.
13428 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # If set, overrides the option configured in the Task implementation class.
13429 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this TaskConfig in the UI.
13430 &quot;lastModifiedTime&quot;: &quot;A String&quot;, # Auto-generated.
13431 &quot;nextTasks&quot;: [ # The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
13432 { # The task that is next in line to be executed, if the condition specified evaluated to true.
13433 &quot;combinedConditions&quot;: [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
13434 { # This message recursively combines constituent conditions using logical AND.
13435 &quot;conditions&quot;: [ # A set of individual constituent conditions.
13436 { # Condition that uses `operator` to evaluate the key against the value.
13437 &quot;eventPropertyKey&quot;: &quot;A String&quot;, # Key that&#x27;s evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.
13438 &quot;operator&quot;: &quot;A String&quot;, # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
13439 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that&#x27;s checked for the key.
13440 &quot;booleanValue&quot;: True or False,
13441 &quot;doubleArray&quot;: {
13442 &quot;values&quot;: [
13443 3.14,
13444 ],
13445 },
13446 &quot;doubleValue&quot;: 3.14,
13447 &quot;intArray&quot;: {
13448 &quot;values&quot;: [
13449 &quot;A String&quot;,
13450 ],
13451 },
13452 &quot;intValue&quot;: &quot;A String&quot;,
13453 &quot;protoValue&quot;: {
13454 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
13455 },
13456 &quot;stringArray&quot;: {
13457 &quot;values&quot;: [
13458 &quot;A String&quot;,
13459 ],
13460 },
13461 &quot;stringValue&quot;: &quot;A String&quot;,
13462 },
13463 },
13464 ],
13465 },
13466 ],
13467 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
13468 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
13469 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
13470 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
13471 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
13472 },
13473 ],
13474 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # The policy dictating the execution of the next set of tasks for the current task.
13475 &quot;parameters&quot;: { # The customized parameters the user can pass to this task.
13476 &quot;a_key&quot;: { # Key-value pair of EventBus parameters.
13477 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
13478 &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.
13479 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
13480 &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.
13481 &quot;booleanArray&quot;: {
13482 &quot;booleanValues&quot;: [
13483 True or False,
13484 ],
13485 },
13486 &quot;booleanValue&quot;: True or False,
13487 &quot;doubleArray&quot;: {
13488 &quot;doubleValues&quot;: [
13489 3.14,
13490 ],
13491 },
13492 &quot;doubleValue&quot;: 3.14,
13493 &quot;intArray&quot;: {
13494 &quot;intValues&quot;: [
13495 &quot;A String&quot;,
13496 ],
13497 },
13498 &quot;intValue&quot;: &quot;A String&quot;,
13499 &quot;jsonValue&quot;: &quot;A String&quot;,
13500 &quot;protoArray&quot;: {
13501 &quot;protoValues&quot;: [
13502 {
13503 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
13504 },
13505 ],
13506 },
13507 &quot;protoValue&quot;: {
13508 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
13509 },
13510 &quot;serializedObjectValue&quot;: {
13511 &quot;objectValue&quot;: &quot;A String&quot;,
13512 },
13513 &quot;stringArray&quot;: {
13514 &quot;stringValues&quot;: [
13515 &quot;A String&quot;,
13516 ],
13517 },
13518 &quot;stringValue&quot;: &quot;A String&quot;,
13519 },
13520 },
13521 },
13522 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this task config on the UI.
13523 &quot;x&quot;: 42,
13524 &quot;y&quot;: 42,
13525 },
13526 &quot;precondition&quot;: &quot;A String&quot;, # Optional. Standard filter expression evaluated before execution. Independent of other conditions and tasks. Can be used to enable rollout. e.g. &quot;rollout(5)&quot; will only allow 5% of incoming traffic to task.
13527 &quot;preconditionLabel&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to precondition in the UI.
13528 &quot;rollbackStrategy&quot;: { # Next available id: 4 # Optional. Contains information about what needs to be done upon failure (either a permanent error or after it has been retried too many times).
13529 &quot;parameters&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 # Optional. The customized parameters the user can pass to this task.
13530 &quot;parameters&quot;: [ # Parameters are a part of Event and can be used to communicate between different tasks that are part of the same workflow execution.
13531 { # Key-value pair of EventBus parameters.
13532 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
13533 &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.
13534 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
13535 &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.
13536 &quot;booleanArray&quot;: {
13537 &quot;booleanValues&quot;: [
13538 True or False,
13539 ],
13540 },
13541 &quot;booleanValue&quot;: True or False,
13542 &quot;doubleArray&quot;: {
13543 &quot;doubleValues&quot;: [
13544 3.14,
13545 ],
13546 },
13547 &quot;doubleValue&quot;: 3.14,
13548 &quot;intArray&quot;: {
13549 &quot;intValues&quot;: [
13550 &quot;A String&quot;,
13551 ],
13552 },
13553 &quot;intValue&quot;: &quot;A String&quot;,
13554 &quot;jsonValue&quot;: &quot;A String&quot;,
13555 &quot;protoArray&quot;: {
13556 &quot;protoValues&quot;: [
13557 {
13558 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
13559 },
13560 ],
13561 },
13562 &quot;protoValue&quot;: {
13563 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
13564 },
13565 &quot;serializedObjectValue&quot;: {
13566 &quot;objectValue&quot;: &quot;A String&quot;,
13567 },
13568 &quot;stringArray&quot;: {
13569 &quot;stringValues&quot;: [
13570 &quot;A String&quot;,
13571 ],
13572 },
13573 &quot;stringValue&quot;: &quot;A String&quot;,
13574 },
13575 },
13576 ],
13577 },
13578 &quot;rollbackTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. This is the name of the task that needs to be executed upon rollback of this task.
13579 &quot;taskNumbersToRollback&quot;: [ # Required. These are the tasks numbers of the tasks whose `rollback_strategy.rollback_task_implementation_class_name` needs to be executed upon failure of this task.
13580 &quot;A String&quot;,
13581 ],
13582 },
13583 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Determines what action to take upon successful task completion.
13584 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
13585 },
13586 &quot;synchronousCallFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
13587 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
13588 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
13589 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
13590 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
13591 },
13592 &quot;taskEntity&quot;: { # Contains a task&#x27;s metadata and associated information. Next available id: 7 # Copy of the task entity that this task config is an instance of.
13593 &quot;disabledForVpcSc&quot;: True or False, # True if the task has conflict with vpcsc
13594 &quot;metadata&quot;: { # TaskMetadata are attributes that are associated to every common Task we have. # Metadata inclueds the task name, author and so on.
13595 &quot;activeTaskName&quot;: &quot;A String&quot;, # The new task name to replace the current task if it is deprecated. Otherwise, it is the same as the current task name.
13596 &quot;admins&quot;: [
13597 { # Admins are owners of a Task, and have all permissions on a particular task identified by the task name. By default, Eventbus periodically scans all task metadata and syncs (adds) any new admins defined here to Zanzibar.
13598 &quot;googleGroupEmail&quot;: &quot;A String&quot;,
13599 &quot;userEmail&quot;: &quot;A String&quot;,
13600 },
13601 ],
13602 &quot;category&quot;: &quot;A String&quot;,
13603 &quot;codeSearchLink&quot;: &quot;A String&quot;, # The Code Search link to the Task Java file.
13604 &quot;defaultJsonValidationOption&quot;: &quot;A String&quot;, # Controls whether JSON workflow parameters are validated against provided schemas before and/or after this task&#x27;s execution.
13605 &quot;defaultSpec&quot;: &quot;A String&quot;, # Contains the initial configuration of the task with default values set. For now, The string should be compatible to an ASCII-proto format.
13606 &quot;description&quot;: &quot;A String&quot;, # In a few sentences, describe the purpose and usage of the task.
13607 &quot;descriptiveName&quot;: &quot;A String&quot;, # The string name to show on the task list on the Workflow editor screen. This should be a very short, one to two words name for the task. (e.g. &quot;Send Mail&quot;)
13608 &quot;docMarkdown&quot;: &quot;A String&quot;, # Snippet of markdown documentation to embed in the RHP for this task.
13609 &quot;externalCategory&quot;: &quot;A String&quot;,
13610 &quot;externalCategorySequence&quot;: 42, # Sequence with which the task in specific category to be displayed in task discovery panel for external users.
13611 &quot;externalDocHtml&quot;: &quot;A String&quot;, # External-facing documention embedded in the RHP for this task.
13612 &quot;externalDocLink&quot;: &quot;A String&quot;, # Doc link for external-facing documentation (separate from g3doc).
13613 &quot;externalDocMarkdown&quot;: &quot;A String&quot;, # DEPRECATED: Use external_doc_html.
13614 &quot;g3DocLink&quot;: &quot;A String&quot;, # URL to the associated G3 Doc for the task if available
13615 &quot;iconLink&quot;: &quot;A String&quot;, # URL to gstatic image icon for this task. This icon shows up on the task list panel along with the task name in the Workflow Editor screen. Use the 24p, 2x, gray color icon image format.
13616 &quot;isDeprecated&quot;: True or False, # The deprecation status of the current task. Default value is false;
13617 &quot;name&quot;: &quot;A String&quot;, # The actual class name or the annotated name of the task. Task Author should initialize this field with value from the getName() method of the Task class.
13618 &quot;standaloneExternalDocHtml&quot;: &quot;A String&quot;, # External-facing documention for standalone IP in pantheon embedded in the RHP for this task. Non null only if different from external_doc_html
13619 &quot;status&quot;: &quot;A String&quot;, # Allows author to indicate if the task is ready to use or not. If not set, then it will default to INACTIVE.
13620 &quot;system&quot;: &quot;A String&quot;,
13621 &quot;tags&quot;: [ # A set of tags that pertain to a particular task. This can be used to improve the searchability of tasks with several names (&quot;REST Caller&quot; vs. &quot;Call REST Endpoint&quot;) or to help users find tasks based on related words.
13622 &quot;A String&quot;,
13623 ],
13624 },
13625 &quot;paramSpecs&quot;: { # Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask.
13626 &quot;parameters&quot;: [
13627 { # Key-value pair of EventBus task parameters. Next id: 13
13628 &quot;className&quot;: &quot;A String&quot;, # The FQCN of the Java object this represents. A string, for example, would be &quot;java.lang.String&quot;. If this is &quot;java.lang.Object&quot;, the parameter can be of any type.
13629 &quot;collectionElementClassName&quot;: &quot;A String&quot;, # If it is a collection of objects, this would be the FCQN of every individual element in the collection. If this is &quot;java.lang.Object&quot;, the parameter is a collection of any type.
13630 &quot;config&quot;: { # Optional fields, such as help text and other useful info.
13631 &quot;descriptivePhrase&quot;: &quot;A String&quot;, # A short phrase to describe what this parameter contains.
13632 &quot;helpText&quot;: &quot;A String&quot;, # Detailed help text for this parameter containing information not provided elsewhere. For example, instructions on how to migrate from a deprecated parameter.
13633 &quot;hideDefaultValue&quot;: True or False, # Whether the default value is hidden in the UI.
13634 &quot;inputDisplayOption&quot;: &quot;A String&quot;,
13635 &quot;isHidden&quot;: True or False, # Whether this field is hidden in the UI.
13636 &quot;label&quot;: &quot;A String&quot;, # A user-friendly label for the parameter.
13637 &quot;parameterNameOption&quot;: &quot;A String&quot;,
13638 &quot;subSectionLabel&quot;: &quot;A String&quot;, # A user-friendly label for subSection under which the parameter will be displayed.
13639 &quot;uiPlaceholderText&quot;: &quot;A String&quot;, # Placeholder text which will appear in the UI input form for this parameter.
13640 },
13641 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
13642 &quot;defaultValue&quot;: { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
13643 &quot;booleanArray&quot;: {
13644 &quot;booleanValues&quot;: [
13645 True or False,
13646 ],
13647 },
13648 &quot;booleanValue&quot;: True or False,
13649 &quot;doubleArray&quot;: {
13650 &quot;doubleValues&quot;: [
13651 3.14,
13652 ],
13653 },
13654 &quot;doubleValue&quot;: 3.14,
13655 &quot;intArray&quot;: {
13656 &quot;intValues&quot;: [
13657 &quot;A String&quot;,
13658 ],
13659 },
13660 &quot;intValue&quot;: &quot;A String&quot;,
13661 &quot;jsonValue&quot;: &quot;A String&quot;,
13662 &quot;protoArray&quot;: {
13663 &quot;protoValues&quot;: [
13664 {
13665 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
13666 },
13667 ],
13668 },
13669 &quot;protoValue&quot;: {
13670 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
13671 },
13672 &quot;serializedObjectValue&quot;: {
13673 &quot;objectValue&quot;: &quot;A String&quot;,
13674 },
13675 &quot;stringArray&quot;: {
13676 &quot;stringValues&quot;: [
13677 &quot;A String&quot;,
13678 ],
13679 },
13680 &quot;stringValue&quot;: &quot;A String&quot;,
13681 },
13682 &quot;isDeprecated&quot;: True or False, # If set, this entry is deprecated, so further use of this parameter should be prohibited.
13683 &quot;isOutput&quot;: True or False,
13684 &quot;jsonSchema&quot;: &quot;A String&quot;, # If the data_type is JSON_VALUE, then this will define its schema.
13685 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given task. These parameters must be predefined in the workflow definition.
13686 &quot;protoDef&quot;: { # Populated if this represents a proto or proto array.
13687 &quot;fullName&quot;: &quot;A String&quot;, # The fully-qualified proto name. This message, for example, would be &quot;enterprise.crm.eventbus.proto.ParamSpecEntry.ProtoDefinition&quot;.
13688 &quot;path&quot;: &quot;A String&quot;, # Path to the proto file that contains the message type&#x27;s definition.
13689 },
13690 &quot;required&quot;: True or False, # If set, the user must provide an input value for this parameter.
13691 &quot;validationRule&quot;: { # Rule used to validate inputs (individual values and collection elements) for this parameter.
13692 &quot;doubleRange&quot;: { # Range used to validate doubles and floats.
13693 &quot;max&quot;: 3.14, # The inclusive maximum of the acceptable range.
13694 &quot;min&quot;: 3.14, # The inclusive minimum of the acceptable range.
13695 },
13696 &quot;intRange&quot;: { # Range used to validate longs and ints.
13697 &quot;max&quot;: &quot;A String&quot;, # The inclusive maximum of the acceptable range.
13698 &quot;min&quot;: &quot;A String&quot;, # The inclusive minimum of the acceptable range.
13699 },
13700 &quot;stringRegex&quot;: { # Rule used to validate strings.
13701 &quot;exclusive&quot;: True or False, # Whether the regex matcher is applied exclusively (if true, matching values will be rejected).
13702 &quot;regex&quot;: &quot;A String&quot;, # The regex applied to the input value(s).
13703 },
13704 },
13705 },
13706 ],
13707 },
13708 &quot;stats&quot;: { # Stats for the requested dimensions: QPS, duration, and error/warning rate # Deprecated - statistics from the Monarch query.
13709 &quot;dimensions&quot;: { # Dimensions that these stats have been aggregated on.
13710 &quot;clientId&quot;: &quot;A String&quot;,
13711 &quot;enumFilterType&quot;: &quot;A String&quot;, # Whether to include or exclude the enums matching the regex.
13712 &quot;errorEnumString&quot;: &quot;A String&quot;,
13713 &quot;retryAttempt&quot;: &quot;A String&quot;,
13714 &quot;taskName&quot;: &quot;A String&quot;,
13715 &quot;taskNumber&quot;: &quot;A String&quot;,
13716 &quot;triggerId&quot;: &quot;A String&quot;, # Stats have been or will be aggregated on set fields for any semantically-meaningful combination.
13717 &quot;warningEnumString&quot;: &quot;A String&quot;,
13718 &quot;workflowId&quot;: &quot;A String&quot;,
13719 &quot;workflowName&quot;: &quot;A String&quot;,
13720 },
13721 &quot;durationInSeconds&quot;: 3.14, # Average duration in seconds.
13722 &quot;errorRate&quot;: 3.14, # Average error rate.
13723 &quot;qps&quot;: 3.14, # Queries per second.
13724 &quot;warningRate&quot;: 3.14, # Average warning rate.
13725 },
13726 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
13727 &quot;uiConfig&quot;: { # Task authors would use this type to configure the UI for a particular task by specifying what UI config modules should be included to compose the UI. Learn more about config module framework: # UI configuration for this task Also associated with the METADATA mask.
13728 &quot;taskUiModuleConfigs&quot;: [ # Configurations of included config modules.
13729 { # Task author would use this type to configure a config module.
13730 &quot;moduleId&quot;: &quot;A String&quot;, # ID of the config module.
13731 },
13732 ],
13733 },
13734 },
13735 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # The policy dictating the execution strategy of this task.
13736 &quot;taskName&quot;: &quot;A String&quot;, # The name for the task.
13737 &quot;taskNumber&quot;: &quot;A String&quot;, # REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`).
13738 &quot;taskSpec&quot;: &quot;A String&quot;, # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old &quot;parameters&quot; field.
13739 &quot;taskTemplateName&quot;: &quot;A String&quot;, # Used to define task-template name if task is of type task-template
13740 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
13741 },
13742 ],
13743 &quot;teardown&quot;: { # Optional. Contains a graph of tasks that will be executed before putting the event in a terminal state (SUCCEEDED/FAILED/FATAL), regardless of success or failure, similar to &quot;finally&quot; in code.
13744 &quot;teardownTaskConfigs&quot;: [ # Required.
13745 {
13746 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address.
13747 &quot;name&quot;: &quot;A String&quot;, # Required. Unique identifier of the teardown task within this Config. We use this field as the identifier to find next teardown tasks.
13748 &quot;nextTeardownTask&quot;: { # The teardown task that is next in line to be executed. We support only sequential execution of teardown tasks (i.e. no branching).
13749 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the next teardown task.
13750 },
13751 &quot;parameters&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 the user can pass to this task.
13752 &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.
13753 { # Key-value pair of EventBus parameters.
13754 &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.
13755 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
13756 &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.
13757 &quot;booleanArray&quot;: {
13758 &quot;booleanValues&quot;: [
13759 True or False,
13760 ],
13761 },
13762 &quot;booleanValue&quot;: True or False,
13763 &quot;doubleArray&quot;: {
13764 &quot;doubleValues&quot;: [
13765 3.14,
13766 ],
13767 },
13768 &quot;doubleValue&quot;: 3.14,
13769 &quot;intArray&quot;: {
13770 &quot;intValues&quot;: [
13771 &quot;A String&quot;,
13772 ],
13773 },
13774 &quot;intValue&quot;: &quot;A String&quot;,
13775 &quot;protoArray&quot;: {
13776 &quot;protoValues&quot;: [
13777 {
13778 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
13779 },
13780 ],
13781 },
13782 &quot;protoValue&quot;: {
13783 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
13784 },
13785 &quot;serializedObjectValue&quot;: {
13786 &quot;objectValue&quot;: &quot;A String&quot;,
13787 },
13788 &quot;stringArray&quot;: {
13789 &quot;stringValues&quot;: [
13790 &quot;A String&quot;,
13791 ],
13792 },
13793 &quot;stringValue&quot;: &quot;A String&quot;,
13794 },
13795 },
13796 ],
13797 },
13798 &quot;properties&quot;: { # LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus.
13799 &quot;properties&quot;: [ # An unordered list of property entries.
13800 { # Key-value pair of EventBus property.
13801 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding property value. This should be unique for a given fired event. The Tasks should be aware of the keys used while firing the events for them to be able to retrieve the values.
13802 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Values for the defined keys. Each value can either be string, int, double or any proto message.
13803 &quot;booleanValue&quot;: True or False,
13804 &quot;doubleArray&quot;: {
13805 &quot;values&quot;: [
13806 3.14,
13807 ],
13808 },
13809 &quot;doubleValue&quot;: 3.14,
13810 &quot;intArray&quot;: {
13811 &quot;values&quot;: [
13812 &quot;A String&quot;,
13813 ],
13814 },
13815 &quot;intValue&quot;: &quot;A String&quot;,
13816 &quot;protoValue&quot;: {
13817 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
13818 },
13819 &quot;stringArray&quot;: {
13820 &quot;values&quot;: [
13821 &quot;A String&quot;,
13822 ],
13823 },
13824 &quot;stringValue&quot;: &quot;A String&quot;,
13825 },
13826 },
13827 ],
13828 },
13829 &quot;teardownTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. Implementation class name.
13830 },
13831 ],
13832 },
13833 &quot;triggerConfigs&quot;: [ # Optional. Trigger configurations.
13834 { # Configuration detail of a trigger.
13835 &quot;alertConfig&quot;: [ # Optional. An alert threshold configuration for the [trigger + client + integration] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + integration] when published.
13836 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
13837 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
13838 &quot;alertThreshold&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
13839 &quot;disableAlert&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this integration alert.
13840 &quot;displayName&quot;: &quot;A String&quot;, # Name of the alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the integration.
13841 &quot;durationThreshold&quot;: &quot;A String&quot;, # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
13842 &quot;metricType&quot;: &quot;A String&quot;, # The type of metric.
13843 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
13844 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
13845 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
13846 &quot;absolute&quot;: &quot;A String&quot;, # Absolute value threshold.
13847 &quot;percentage&quot;: 42, # Percentage threshold.
13848 },
13849 },
13850 ],
13851 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration # Optional. Cloud Scheduler Trigger related metadata
13852 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
13853 &quot;errorMessage&quot;: &quot;A String&quot;, # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations
13854 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
13855 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
13856 },
13857 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
13858 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
13859 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
13860 &quot;names&quot;: [ # Optional. List of variable names.
13861 &quot;A String&quot;,
13862 ],
13863 },
13864 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular trigger.
13865 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. Dictates how next tasks will be executed.
13866 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
13867 &quot;names&quot;: [ # Optional. List of variable names.
13868 &quot;A String&quot;,
13869 ],
13870 },
13871 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
13872 &quot;x&quot;: 42, # Required. X axis of the coordinate
13873 &quot;y&quot;: 42, # Required. Y axis of the coordinate
13874 },
13875 &quot;properties&quot;: { # Optional. Configurable properties of the trigger, not to be confused with integration parameters. E.g. &quot;name&quot; is a property for API triggers and &quot;subscription&quot; is a property for Pub/sub triggers.
13876 &quot;a_key&quot;: &quot;A String&quot;,
13877 },
13878 &quot;startTasks&quot;: [ # Optional. Set of tasks numbers from where the integration execution is started by this trigger. If this is empty, then integration is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same integration execution graph).
13879 { # The task that is next in line to be executed, if the condition specified evaluated to true.
13880 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
13881 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
13882 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
13883 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
13884 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
13885 },
13886 ],
13887 &quot;trigger&quot;: &quot;A String&quot;, # Optional. Name of the trigger. Example: &quot;API Trigger&quot;, &quot;Cloud Pub Sub Trigger&quot; When set will be sent out to monitoring dashabord for tracking purpose.
13888 &quot;triggerId&quot;: &quot;A String&quot;, # Optional. Auto-generated trigger ID. The ID is based on the properties that you define in the trigger config. For example, for an API trigger, the trigger ID follows the format: api_trigger/TRIGGER_NAME Where trigger config has properties with value {&quot;Trigger name&quot;: TRIGGER_NAME}
13889 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the integration on UI.
13890 &quot;triggerType&quot;: &quot;A String&quot;, # Optional. Type of trigger
13891 },
13892 ],
13893 &quot;triggerConfigsInternal&quot;: [ # Optional. Trigger configurations.
13894 { # Configuration detail of a trigger. Next available id: 22
13895 &quot;alertConfig&quot;: [ # An alert threshold configuration for the [trigger + client + workflow] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + workflow] when published.
13896 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
13897 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
13898 &quot;alertDisabled&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.
13899 &quot;alertName&quot;: &quot;A String&quot;, # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the workflow.
13900 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration.
13901 &quot;durationThresholdMs&quot;: &quot;A String&quot;, # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
13902 &quot;errorEnumList&quot;: { # List of error enums for alerts.
13903 &quot;enumStrings&quot;: [
13904 &quot;A String&quot;,
13905 ],
13906 &quot;filterType&quot;: &quot;A String&quot;,
13907 },
13908 &quot;metricType&quot;: &quot;A String&quot;,
13909 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
13910 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
13911 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
13912 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
13913 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
13914 &quot;absolute&quot;: &quot;A String&quot;,
13915 &quot;percentage&quot;: 42,
13916 },
13917 &quot;warningEnumList&quot;: { # List of error enums for alerts.
13918 &quot;enumStrings&quot;: [
13919 &quot;A String&quot;,
13920 ],
13921 &quot;filterType&quot;: &quot;A String&quot;,
13922 },
13923 },
13924 ],
13925 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration
13926 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
13927 &quot;errorMessage&quot;: &quot;A String&quot;, # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations
13928 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
13929 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
13930 },
13931 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
13932 &quot;enabledClients&quot;: [ # Required. The list of client ids which are enabled to execute the workflow using this trigger. In other words, these clients have the workflow execution privledges for this trigger. For API trigger, the client id in the incoming request is validated against the list of enabled clients. For non-API triggers, one workflow execution is triggered on behalf of each enabled client.
13933 &quot;A String&quot;,
13934 ],
13935 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
13936 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
13937 &quot;names&quot;: [ # Optional. List of variable names.
13938 &quot;A String&quot;,
13939 ],
13940 },
13941 &quot;label&quot;: &quot;A String&quot;, # The user created label for a particular trigger.
13942 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Dictates how next tasks will be executed.
13943 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
13944 &quot;names&quot;: [ # Optional. List of variable names.
13945 &quot;A String&quot;,
13946 ],
13947 },
13948 &quot;pauseWorkflowExecutions&quot;: True or False, # Optional. If set to true, any upcoming requests for this trigger config will be paused and the executions will be resumed later when the flag is reset. The workflow to which this trigger config belongs has to be in ACTIVE status for the executions to be paused or resumed.
13949 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this trigger config on the UI.
13950 &quot;x&quot;: 42,
13951 &quot;y&quot;: 42,
13952 },
13953 &quot;properties&quot;: { # Configurable properties of the trigger, not to be confused with workflow parameters. E.g. &quot;name&quot; is a property for API triggers and &quot;subscription&quot; is a property for Cloud Pubsub triggers.
13954 &quot;a_key&quot;: &quot;A String&quot;,
13955 },
13956 &quot;startTasks&quot;: [ # Set of tasks numbers from where the workflow execution is started by this trigger. If this is empty, then workflow is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same workflow execution graph).
13957 { # The task that is next in line to be executed, if the condition specified evaluated to true.
13958 &quot;combinedConditions&quot;: [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
13959 { # This message recursively combines constituent conditions using logical AND.
13960 &quot;conditions&quot;: [ # A set of individual constituent conditions.
13961 { # Condition that uses `operator` to evaluate the key against the value.
13962 &quot;eventPropertyKey&quot;: &quot;A String&quot;, # Key that&#x27;s evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.
13963 &quot;operator&quot;: &quot;A String&quot;, # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
13964 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that&#x27;s checked for the key.
13965 &quot;booleanValue&quot;: True or False,
13966 &quot;doubleArray&quot;: {
13967 &quot;values&quot;: [
13968 3.14,
13969 ],
13970 },
13971 &quot;doubleValue&quot;: 3.14,
13972 &quot;intArray&quot;: {
13973 &quot;values&quot;: [
13974 &quot;A String&quot;,
13975 ],
13976 },
13977 &quot;intValue&quot;: &quot;A String&quot;,
13978 &quot;protoValue&quot;: {
13979 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
13980 },
13981 &quot;stringArray&quot;: {
13982 &quot;values&quot;: [
13983 &quot;A String&quot;,
13984 ],
13985 },
13986 &quot;stringValue&quot;: &quot;A String&quot;,
13987 },
13988 },
13989 ],
13990 },
13991 ],
13992 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
13993 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
13994 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
13995 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
13996 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
13997 },
13998 ],
13999 &quot;triggerCriteria&quot;: { # Optional. When set, Eventbus will run the task specified in the trigger_criteria and validate the result using the trigger_criteria.condition, and only execute the workflow when result is true.
14000 &quot;condition&quot;: &quot;A String&quot;, # Required. Standard filter expression, when true the workflow will be executed. If there&#x27;s no trigger_criteria_task_implementation_class_name specified, the condition will be validated directly.
14001 &quot;parameters&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 # Optional. To be used in TaskConfig for the implementation class.
14002 &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.
14003 { # Key-value pair of EventBus parameters.
14004 &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.
14005 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
14006 &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.
14007 &quot;booleanArray&quot;: {
14008 &quot;booleanValues&quot;: [
14009 True or False,
14010 ],
14011 },
14012 &quot;booleanValue&quot;: True or False,
14013 &quot;doubleArray&quot;: {
14014 &quot;doubleValues&quot;: [
14015 3.14,
14016 ],
14017 },
14018 &quot;doubleValue&quot;: 3.14,
14019 &quot;intArray&quot;: {
14020 &quot;intValues&quot;: [
14021 &quot;A String&quot;,
14022 ],
14023 },
14024 &quot;intValue&quot;: &quot;A String&quot;,
14025 &quot;protoArray&quot;: {
14026 &quot;protoValues&quot;: [
14027 {
14028 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
14029 },
14030 ],
14031 },
14032 &quot;protoValue&quot;: {
14033 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
14034 },
14035 &quot;serializedObjectValue&quot;: {
14036 &quot;objectValue&quot;: &quot;A String&quot;,
14037 },
14038 &quot;stringArray&quot;: {
14039 &quot;stringValues&quot;: [
14040 &quot;A String&quot;,
14041 ],
14042 },
14043 &quot;stringValue&quot;: &quot;A String&quot;,
14044 },
14045 },
14046 ],
14047 },
14048 &quot;triggerCriteriaTaskImplementationClassName&quot;: &quot;A String&quot;, # Optional. Implementation class name. The class should implement the “TypedTask” interface.
14049 },
14050 &quot;triggerId&quot;: &quot;A String&quot;, # The backend trigger ID.
14051 &quot;triggerName&quot;: &quot;A String&quot;, # Optional. Name of the trigger This is added to identify the type of trigger. This is avoid the logic on triggerId to identify the trigger_type and push the same to monitoring.
14052 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the workflow on UI.
14053 &quot;triggerType&quot;: &quot;A String&quot;,
14054 },
14055 ],
14056 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
14057 &quot;userLabel&quot;: &quot;A String&quot;, # Optional. A user-defined label that annotates an integration version. Typically, this is only set when the integration version is created.
14058 },
14059 &quot;key&quot;: &quot;A String&quot;, # Required. Unique Key of the IntegrationVersion.
14060 },
14061 &quot;subIntegrationVersionTemplates&quot;: [ # Optional. Sub integration templates which would be added along with main integration.
14062 { # Define the template of IntegrationVersion.
14063 &quot;integrationVersion&quot;: { # The integration version definition. # Required. Templatized version of integration.
14064 &quot;cloudKmsKey&quot;: &quot;A String&quot;, # Optional. Cloud KMS resource name for the CMEK encryption key.
14065 &quot;cloudLoggingDetails&quot;: { # Cloud Logging details for execution info # Optional. Cloud Logging details for the integration version
14066 &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.
14067 &quot;enableCloudLogging&quot;: True or False, # Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.
14068 },
14069 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
14070 &quot;createdFromTemplate&quot;: &quot;A String&quot;, # Optional. Optional. The resource name of the template from which the integration is created.
14071 &quot;databasePersistencePolicy&quot;: &quot;A String&quot;, # Optional. Flag to disable database persistence for execution data, including event execution info, execution export info, execution metadata index and execution param index.
14072 &quot;description&quot;: &quot;A String&quot;, # Optional. The integration description.
14073 &quot;enableVariableMasking&quot;: True or False, # Optional. True if variable masking feature should be turned on for this version
14074 &quot;errorCatcherConfigs&quot;: [ # Optional. Error Catch Task configuration for the integration. It&#x27;s optional.
14075 { # Configuration detail of a error catch task
14076 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give more business context about the error catcher config.
14077 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Required. An error catcher id is string representation for the error catcher config. Within a workflow, error_catcher_id uniquely identifies an error catcher config among all error catcher configs for the workflow
14078 &quot;errorCatcherNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each error catcher config within the workflow on UI.
14079 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular error catcher. Optional.
14080 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
14081 &quot;x&quot;: 42, # Required. X axis of the coordinate
14082 &quot;y&quot;: 42, # Required. Y axis of the coordinate
14083 },
14084 &quot;startErrorTasks&quot;: [ # Required. The set of start tasks that are to be executed for the error catch flow
14085 { # The task that is next in line to be executed, if the condition specified evaluated to true.
14086 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
14087 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
14088 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
14089 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
14090 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
14091 },
14092 ],
14093 },
14094 ],
14095 &quot;integrationConfigParameters&quot;: [ # Optional. Config Parameters that are expected to be passed to the integration when an integration is published. This consists of all the parameters that are expected to provide configuration in the integration execution. This gives the user the ability to provide default values, value, add information like connection url, project based configuration value and also provide data types of each parameter.
14096 { # Integration Config Parameter is defined in the integration config and are used to provide external configuration for integration. It provide information about data types of the expected parameters and provide any default values or value. They can also be used to add custom attributes.
14097 &quot;parameter&quot;: { # 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. # Optional. Integration Parameter to provide the default value, data type and attributes required for the Integration config variables.
14098 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
14099 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
14100 &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.
14101 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
14102 &quot;booleanValues&quot;: [ # Boolean array.
14103 True or False,
14104 ],
14105 },
14106 &quot;booleanValue&quot;: True or False, # Boolean.
14107 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
14108 &quot;doubleValues&quot;: [ # Double number array.
14109 3.14,
14110 ],
14111 },
14112 &quot;doubleValue&quot;: 3.14, # Double Number.
14113 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
14114 &quot;intValues&quot;: [ # Integer array.
14115 &quot;A String&quot;,
14116 ],
14117 },
14118 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
14119 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
14120 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
14121 &quot;stringValues&quot;: [ # String array.
14122 &quot;A String&quot;,
14123 ],
14124 },
14125 &quot;stringValue&quot;: &quot;A String&quot;, # String.
14126 },
14127 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
14128 &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;.
14129 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
14130 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
14131 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
14132 &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.
14133 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
14134 &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.
14135 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
14136 },
14137 &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 or a serialized object.
14138 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
14139 &quot;booleanValues&quot;: [ # Boolean array.
14140 True or False,
14141 ],
14142 },
14143 &quot;booleanValue&quot;: True or False, # Boolean.
14144 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
14145 &quot;doubleValues&quot;: [ # Double number array.
14146 3.14,
14147 ],
14148 },
14149 &quot;doubleValue&quot;: 3.14, # Double Number.
14150 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
14151 &quot;intValues&quot;: [ # Integer array.
14152 &quot;A String&quot;,
14153 ],
14154 },
14155 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
14156 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
14157 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
14158 &quot;stringValues&quot;: [ # String array.
14159 &quot;A String&quot;,
14160 ],
14161 },
14162 &quot;stringValue&quot;: &quot;A String&quot;, # String.
14163 },
14164 },
14165 ],
14166 &quot;integrationParameters&quot;: [ # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
14167 { # 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.
14168 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
14169 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
14170 &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.
14171 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
14172 &quot;booleanValues&quot;: [ # Boolean array.
14173 True or False,
14174 ],
14175 },
14176 &quot;booleanValue&quot;: True or False, # Boolean.
14177 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
14178 &quot;doubleValues&quot;: [ # Double number array.
14179 3.14,
14180 ],
14181 },
14182 &quot;doubleValue&quot;: 3.14, # Double Number.
14183 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
14184 &quot;intValues&quot;: [ # Integer array.
14185 &quot;A String&quot;,
14186 ],
14187 },
14188 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
14189 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
14190 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
14191 &quot;stringValues&quot;: [ # String array.
14192 &quot;A String&quot;,
14193 ],
14194 },
14195 &quot;stringValue&quot;: &quot;A String&quot;, # String.
14196 },
14197 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
14198 &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;.
14199 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
14200 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
14201 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
14202 &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.
14203 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
14204 &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.
14205 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
14206 },
14207 ],
14208 &quot;integrationParametersInternal&quot;: { # LINT.IfChange This is the frontend version of WorkflowParameters. It&#x27;s exactly like the backend version except that instead of flattening protobuf parameters and treating every field and subfield of a protobuf parameter as a separate parameter, the fields/subfields of a protobuf parameter will be nested as &quot;children&quot; (see &#x27;children&#x27; field below) parameters of the parent parameter. Please refer to enterprise/crm/eventbus/proto/workflow_parameters.proto for more information about WorkflowParameters. # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
14209 &quot;parameters&quot;: [ # Parameters are a part of Event and can be used to communiticate between different tasks that are part of the same workflow execution.
14210 {
14211 &quot;attributes&quot;: { # Attributes are additional options that can be associated with each event property. For more information, see # Metadata information about the parameters.
14212 &quot;dataType&quot;: &quot;A String&quot;, # Things like URL, Email, Currency, Timestamp (rather than string, int64...)
14213 &quot;defaultValue&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Used to define defaults.
14214 &quot;booleanValue&quot;: True or False,
14215 &quot;doubleArray&quot;: {
14216 &quot;values&quot;: [
14217 3.14,
14218 ],
14219 },
14220 &quot;doubleValue&quot;: 3.14,
14221 &quot;intArray&quot;: {
14222 &quot;values&quot;: [
14223 &quot;A String&quot;,
14224 ],
14225 },
14226 &quot;intValue&quot;: &quot;A String&quot;,
14227 &quot;protoValue&quot;: {
14228 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
14229 },
14230 &quot;stringArray&quot;: {
14231 &quot;values&quot;: [
14232 &quot;A String&quot;,
14233 ],
14234 },
14235 &quot;stringValue&quot;: &quot;A String&quot;,
14236 },
14237 &quot;isRequired&quot;: True or False, # Required for event execution. The validation will be done by the event bus when the event is triggered.
14238 &quot;isSearchable&quot;: True or False, # Used to indicate if a ParameterEntry should be converted to ParamIndexes for ST-Spanner full-text search. DEPRECATED: use searchable.
14239 &quot;logSettings&quot;: { # The LogSettings define the logging attributes for an event property. These attributes are used to map the property to the parameter in the log proto. Also used to define scrubbing/truncation behavior and PII information. # See
14240 &quot;logFieldName&quot;: &quot;A String&quot;, # The name of corresponding logging field of the event property. If omitted, assumes the same name as the event property key.
14241 &quot;seedPeriod&quot;: &quot;A String&quot;,
14242 &quot;seedScope&quot;: &quot;A String&quot;,
14243 },
14244 &quot;masked&quot;: True or False, # True if this workflow parameter should be masked in the logs
14245 &quot;readOnly&quot;: True or False, # Used to indicate if the ParameterEntry is a read only field or not.
14246 &quot;searchable&quot;: &quot;A String&quot;,
14247 &quot;taskVisibility&quot;: [ # List of tasks that can view this property, if empty then all.
14248 &quot;A String&quot;,
14249 ],
14250 },
14251 &quot;children&quot;: [ # Child parameters nested within this parameter. This field only applies to protobuf parameters
14252 # Object with schema name: EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
14253 ],
14254 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
14255 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
14256 &quot;defaultValue&quot;: { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
14257 &quot;booleanArray&quot;: {
14258 &quot;booleanValues&quot;: [
14259 True or False,
14260 ],
14261 },
14262 &quot;booleanValue&quot;: True or False,
14263 &quot;doubleArray&quot;: {
14264 &quot;doubleValues&quot;: [
14265 3.14,
14266 ],
14267 },
14268 &quot;doubleValue&quot;: 3.14,
14269 &quot;intArray&quot;: {
14270 &quot;intValues&quot;: [
14271 &quot;A String&quot;,
14272 ],
14273 },
14274 &quot;intValue&quot;: &quot;A String&quot;,
14275 &quot;jsonValue&quot;: &quot;A String&quot;,
14276 &quot;protoArray&quot;: {
14277 &quot;protoValues&quot;: [
14278 {
14279 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
14280 },
14281 ],
14282 },
14283 &quot;protoValue&quot;: {
14284 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
14285 },
14286 &quot;serializedObjectValue&quot;: {
14287 &quot;objectValue&quot;: &quot;A String&quot;,
14288 },
14289 &quot;stringArray&quot;: {
14290 &quot;stringValues&quot;: [
14291 &quot;A String&quot;,
14292 ],
14293 },
14294 &quot;stringValue&quot;: &quot;A String&quot;,
14295 },
14296 &quot;description&quot;: &quot;A String&quot;, # Optional. The description about the parameter
14297 &quot;inOutType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
14298 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
14299 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
14300 &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.
14301 &quot;name&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;.
14302 &quot;producedBy&quot;: { # Represents a node identifier (type + id). Next highest id: 3 # 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.
14303 &quot;elementIdentifier&quot;: &quot;A String&quot;, # Configuration of the edge.
14304 &quot;elementType&quot;: &quot;A String&quot;, # Destination node where the edge ends. It can only be a task config.
14305 },
14306 &quot;producer&quot;: &quot;A String&quot;,
14307 &quot;protoDefName&quot;: &quot;A String&quot;, # The name of the protobuf type if the parameter has a protobuf data type.
14308 &quot;protoDefPath&quot;: &quot;A String&quot;, # If the data type is of type proto or proto array, this field needs to be populated with the fully qualified proto name. This message, for example, would be &quot;enterprise.crm.frontends.eventbus.proto.WorkflowParameterEntry&quot;.
14309 &quot;required&quot;: True or False,
14310 },
14311 ],
14312 },
14313 &quot;lastModifierEmail&quot;: &quot;A String&quot;, # Optional. The last modifier&#x27;s email address. Generated based on the End User Credentials/LOAS role of the user making the call.
14314 &quot;lockHolder&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.
14315 &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
14316 &quot;origin&quot;: &quot;A String&quot;, # Optional. The origin that indicates where this integration is coming from.
14317 &quot;parentTemplateId&quot;: &quot;A String&quot;, # Optional. The id of the template which was used to create this integration_version.
14318 &quot;runAsServiceAccount&quot;: &quot;A String&quot;, # Optional. The run-as service account email, if set and auth config is not configured, that will be used to generate auth token to be used in Connector task, Rest caller task and Cloud function task.
14319 &quot;snapshotNumber&quot;: &quot;A String&quot;, # Output only. An increasing sequence that is set when a new snapshot is created. The last created snapshot can be identified by [workflow_name, org_id latest(snapshot_number)]. However, last created snapshot need not be same as the HEAD. So users should always use &quot;HEAD&quot; tag to identify the head.
14320 &quot;state&quot;: &quot;A String&quot;, # Output only. User should not set it as an input.
14321 &quot;status&quot;: &quot;A String&quot;, # Output only. Generated by eventbus. User should not set it as an input.
14322 &quot;taskConfigs&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
14323 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
14324 &quot;conditionalFailurePolicies&quot;: { # Conditional task failur retry strategies # Optional. The list of conditional failure policies that will be applied to the task in order.
14325 &quot;defaultFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # The default failure policy to be applied if no conditional failure policy matches.
14326 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
14327 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
14328 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
14329 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
14330 },
14331 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
14332 { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
14333 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
14334 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
14335 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
14336 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
14337 },
14338 ],
14339 },
14340 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
14341 &quot;displayName&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to this TaskConfig in the UI.
14342 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
14343 &quot;externalTaskType&quot;: &quot;A String&quot;, # Optional. External task type of the task
14344 &quot;failurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
14345 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
14346 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
14347 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
14348 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
14349 },
14350 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # Optional. If set, overrides the option configured in the Task implementation class.
14351 &quot;nextTasks&quot;: [ # Optional. The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
14352 { # The task that is next in line to be executed, if the condition specified evaluated to true.
14353 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
14354 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
14355 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
14356 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
14357 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
14358 },
14359 ],
14360 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution of the next set of tasks for the current task.
14361 &quot;parameters&quot;: { # Optional. The customized parameters the user can pass to this task.
14362 &quot;a_key&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
14363 &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.
14364 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
14365 &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.
14366 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
14367 &quot;booleanValues&quot;: [ # Boolean array.
14368 True or False,
14369 ],
14370 },
14371 &quot;booleanValue&quot;: True or False, # Boolean.
14372 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
14373 &quot;doubleValues&quot;: [ # Double number array.
14374 3.14,
14375 ],
14376 },
14377 &quot;doubleValue&quot;: 3.14, # Double Number.
14378 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
14379 &quot;intValues&quot;: [ # Integer array.
14380 &quot;A String&quot;,
14381 ],
14382 },
14383 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
14384 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
14385 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
14386 &quot;stringValues&quot;: [ # String array.
14387 &quot;A String&quot;,
14388 ],
14389 },
14390 &quot;stringValue&quot;: &quot;A String&quot;, # String.
14391 },
14392 },
14393 },
14394 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
14395 &quot;x&quot;: 42, # Required. X axis of the coordinate
14396 &quot;y&quot;: 42, # Required. Y axis of the coordinate
14397 },
14398 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Optional. Determines what action to take upon successful task completion.
14399 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
14400 },
14401 &quot;synchronousCallFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
14402 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
14403 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
14404 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
14405 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
14406 },
14407 &quot;task&quot;: &quot;A String&quot;, # Optional. The name for the task.
14408 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution strategy of this task.
14409 &quot;taskId&quot;: &quot;A String&quot;, # Required. The identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_id`).
14410 &quot;taskTemplate&quot;: &quot;A String&quot;, # Optional. Used to define task-template name if task is of type task-template
14411 },
14412 ],
14413 &quot;taskConfigsInternal&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
14414 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
14415 &quot;alertConfigs&quot;: [ # Alert configurations on error rate, warning rate, number of runs, durations, etc.
14416 { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event.
14417 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week).
14418 &quot;alertDisabled&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.
14419 &quot;alertName&quot;: &quot;A String&quot;, # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique in within the scope of the containing workflow.
14420 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration. Must be a client enabled in one of the containing workflow&#x27;s triggers.
14421 &quot;durationThresholdMs&quot;: &quot;A String&quot;, # Should be specified only for TASK_AVERAGE_DURATION and TASK_PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
14422 &quot;errorEnumList&quot;: { # List of error enums for alerts.
14423 &quot;enumStrings&quot;: [
14424 &quot;A String&quot;,
14425 ],
14426 &quot;filterType&quot;: &quot;A String&quot;,
14427 },
14428 &quot;metricType&quot;: &quot;A String&quot;,
14429 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
14430 &quot;onlyFinalAttempt&quot;: True or False, # Only count final task attempts, not retries.
14431 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
14432 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
14433 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
14434 &quot;absolute&quot;: &quot;A String&quot;,
14435 &quot;percentage&quot;: 42,
14436 },
14437 &quot;warningEnumList&quot;: { # List of error enums for alerts.
14438 &quot;enumStrings&quot;: [
14439 &quot;A String&quot;,
14440 ],
14441 &quot;filterType&quot;: &quot;A String&quot;,
14442 },
14443 },
14444 ],
14445 &quot;conditionalFailurePolicies&quot;: { # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
14446 &quot;defaultFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # The default failure policy to be applied if no conditional failure policy matches
14447 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
14448 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
14449 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
14450 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
14451 },
14452 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
14453 { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
14454 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
14455 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
14456 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
14457 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
14458 },
14459 ],
14460 },
14461 &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
14462 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address. Auto-generated from the user&#x27;s email.
14463 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
14464 &quot;disableStrictTypeValidation&quot;: True or False, # If this config contains a TypedTask, allow validation to succeed if an input is read from the output of another TypedTask whose output type is declared as a superclass of the requested input type. For instance, if the previous task declares an output of type Message, any task with this flag enabled will pass validation when attempting to read any proto Message type from the resultant Event parameter.
14465 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
14466 &quot;externalTaskType&quot;: &quot;A String&quot;,
14467 &quot;failurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
14468 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
14469 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
14470 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
14471 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
14472 },
14473 &quot;incomingEdgeCount&quot;: 42, # The number of edges leading into this TaskConfig.
14474 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # If set, overrides the option configured in the Task implementation class.
14475 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this TaskConfig in the UI.
14476 &quot;lastModifiedTime&quot;: &quot;A String&quot;, # Auto-generated.
14477 &quot;nextTasks&quot;: [ # The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
14478 { # The task that is next in line to be executed, if the condition specified evaluated to true.
14479 &quot;combinedConditions&quot;: [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
14480 { # This message recursively combines constituent conditions using logical AND.
14481 &quot;conditions&quot;: [ # A set of individual constituent conditions.
14482 { # Condition that uses `operator` to evaluate the key against the value.
14483 &quot;eventPropertyKey&quot;: &quot;A String&quot;, # Key that&#x27;s evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.
14484 &quot;operator&quot;: &quot;A String&quot;, # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
14485 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that&#x27;s checked for the key.
14486 &quot;booleanValue&quot;: True or False,
14487 &quot;doubleArray&quot;: {
14488 &quot;values&quot;: [
14489 3.14,
14490 ],
14491 },
14492 &quot;doubleValue&quot;: 3.14,
14493 &quot;intArray&quot;: {
14494 &quot;values&quot;: [
14495 &quot;A String&quot;,
14496 ],
14497 },
14498 &quot;intValue&quot;: &quot;A String&quot;,
14499 &quot;protoValue&quot;: {
14500 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
14501 },
14502 &quot;stringArray&quot;: {
14503 &quot;values&quot;: [
14504 &quot;A String&quot;,
14505 ],
14506 },
14507 &quot;stringValue&quot;: &quot;A String&quot;,
14508 },
14509 },
14510 ],
14511 },
14512 ],
14513 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
14514 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
14515 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
14516 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
14517 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
14518 },
14519 ],
14520 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # The policy dictating the execution of the next set of tasks for the current task.
14521 &quot;parameters&quot;: { # The customized parameters the user can pass to this task.
14522 &quot;a_key&quot;: { # Key-value pair of EventBus parameters.
14523 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
14524 &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.
14525 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
14526 &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.
14527 &quot;booleanArray&quot;: {
14528 &quot;booleanValues&quot;: [
14529 True or False,
14530 ],
14531 },
14532 &quot;booleanValue&quot;: True or False,
14533 &quot;doubleArray&quot;: {
14534 &quot;doubleValues&quot;: [
14535 3.14,
14536 ],
14537 },
14538 &quot;doubleValue&quot;: 3.14,
14539 &quot;intArray&quot;: {
14540 &quot;intValues&quot;: [
14541 &quot;A String&quot;,
14542 ],
14543 },
14544 &quot;intValue&quot;: &quot;A String&quot;,
14545 &quot;jsonValue&quot;: &quot;A String&quot;,
14546 &quot;protoArray&quot;: {
14547 &quot;protoValues&quot;: [
14548 {
14549 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
14550 },
14551 ],
14552 },
14553 &quot;protoValue&quot;: {
14554 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
14555 },
14556 &quot;serializedObjectValue&quot;: {
14557 &quot;objectValue&quot;: &quot;A String&quot;,
14558 },
14559 &quot;stringArray&quot;: {
14560 &quot;stringValues&quot;: [
14561 &quot;A String&quot;,
14562 ],
14563 },
14564 &quot;stringValue&quot;: &quot;A String&quot;,
14565 },
14566 },
14567 },
14568 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this task config on the UI.
14569 &quot;x&quot;: 42,
14570 &quot;y&quot;: 42,
14571 },
14572 &quot;precondition&quot;: &quot;A String&quot;, # Optional. Standard filter expression evaluated before execution. Independent of other conditions and tasks. Can be used to enable rollout. e.g. &quot;rollout(5)&quot; will only allow 5% of incoming traffic to task.
14573 &quot;preconditionLabel&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to precondition in the UI.
14574 &quot;rollbackStrategy&quot;: { # Next available id: 4 # Optional. Contains information about what needs to be done upon failure (either a permanent error or after it has been retried too many times).
14575 &quot;parameters&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 # Optional. The customized parameters the user can pass to this task.
14576 &quot;parameters&quot;: [ # Parameters are a part of Event and can be used to communicate between different tasks that are part of the same workflow execution.
14577 { # Key-value pair of EventBus parameters.
14578 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
14579 &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.
14580 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
14581 &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.
14582 &quot;booleanArray&quot;: {
14583 &quot;booleanValues&quot;: [
14584 True or False,
14585 ],
14586 },
14587 &quot;booleanValue&quot;: True or False,
14588 &quot;doubleArray&quot;: {
14589 &quot;doubleValues&quot;: [
14590 3.14,
14591 ],
14592 },
14593 &quot;doubleValue&quot;: 3.14,
14594 &quot;intArray&quot;: {
14595 &quot;intValues&quot;: [
14596 &quot;A String&quot;,
14597 ],
14598 },
14599 &quot;intValue&quot;: &quot;A String&quot;,
14600 &quot;jsonValue&quot;: &quot;A String&quot;,
14601 &quot;protoArray&quot;: {
14602 &quot;protoValues&quot;: [
14603 {
14604 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
14605 },
14606 ],
14607 },
14608 &quot;protoValue&quot;: {
14609 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
14610 },
14611 &quot;serializedObjectValue&quot;: {
14612 &quot;objectValue&quot;: &quot;A String&quot;,
14613 },
14614 &quot;stringArray&quot;: {
14615 &quot;stringValues&quot;: [
14616 &quot;A String&quot;,
14617 ],
14618 },
14619 &quot;stringValue&quot;: &quot;A String&quot;,
14620 },
14621 },
14622 ],
14623 },
14624 &quot;rollbackTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. This is the name of the task that needs to be executed upon rollback of this task.
14625 &quot;taskNumbersToRollback&quot;: [ # Required. These are the tasks numbers of the tasks whose `rollback_strategy.rollback_task_implementation_class_name` needs to be executed upon failure of this task.
14626 &quot;A String&quot;,
14627 ],
14628 },
14629 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Determines what action to take upon successful task completion.
14630 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
14631 },
14632 &quot;synchronousCallFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
14633 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
14634 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
14635 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
14636 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
14637 },
14638 &quot;taskEntity&quot;: { # Contains a task&#x27;s metadata and associated information. Next available id: 7 # Copy of the task entity that this task config is an instance of.
14639 &quot;disabledForVpcSc&quot;: True or False, # True if the task has conflict with vpcsc
14640 &quot;metadata&quot;: { # TaskMetadata are attributes that are associated to every common Task we have. # Metadata inclueds the task name, author and so on.
14641 &quot;activeTaskName&quot;: &quot;A String&quot;, # The new task name to replace the current task if it is deprecated. Otherwise, it is the same as the current task name.
14642 &quot;admins&quot;: [
14643 { # Admins are owners of a Task, and have all permissions on a particular task identified by the task name. By default, Eventbus periodically scans all task metadata and syncs (adds) any new admins defined here to Zanzibar.
14644 &quot;googleGroupEmail&quot;: &quot;A String&quot;,
14645 &quot;userEmail&quot;: &quot;A String&quot;,
14646 },
14647 ],
14648 &quot;category&quot;: &quot;A String&quot;,
14649 &quot;codeSearchLink&quot;: &quot;A String&quot;, # The Code Search link to the Task Java file.
14650 &quot;defaultJsonValidationOption&quot;: &quot;A String&quot;, # Controls whether JSON workflow parameters are validated against provided schemas before and/or after this task&#x27;s execution.
14651 &quot;defaultSpec&quot;: &quot;A String&quot;, # Contains the initial configuration of the task with default values set. For now, The string should be compatible to an ASCII-proto format.
14652 &quot;description&quot;: &quot;A String&quot;, # In a few sentences, describe the purpose and usage of the task.
14653 &quot;descriptiveName&quot;: &quot;A String&quot;, # The string name to show on the task list on the Workflow editor screen. This should be a very short, one to two words name for the task. (e.g. &quot;Send Mail&quot;)
14654 &quot;docMarkdown&quot;: &quot;A String&quot;, # Snippet of markdown documentation to embed in the RHP for this task.
14655 &quot;externalCategory&quot;: &quot;A String&quot;,
14656 &quot;externalCategorySequence&quot;: 42, # Sequence with which the task in specific category to be displayed in task discovery panel for external users.
14657 &quot;externalDocHtml&quot;: &quot;A String&quot;, # External-facing documention embedded in the RHP for this task.
14658 &quot;externalDocLink&quot;: &quot;A String&quot;, # Doc link for external-facing documentation (separate from g3doc).
14659 &quot;externalDocMarkdown&quot;: &quot;A String&quot;, # DEPRECATED: Use external_doc_html.
14660 &quot;g3DocLink&quot;: &quot;A String&quot;, # URL to the associated G3 Doc for the task if available
14661 &quot;iconLink&quot;: &quot;A String&quot;, # URL to gstatic image icon for this task. This icon shows up on the task list panel along with the task name in the Workflow Editor screen. Use the 24p, 2x, gray color icon image format.
14662 &quot;isDeprecated&quot;: True or False, # The deprecation status of the current task. Default value is false;
14663 &quot;name&quot;: &quot;A String&quot;, # The actual class name or the annotated name of the task. Task Author should initialize this field with value from the getName() method of the Task class.
14664 &quot;standaloneExternalDocHtml&quot;: &quot;A String&quot;, # External-facing documention for standalone IP in pantheon embedded in the RHP for this task. Non null only if different from external_doc_html
14665 &quot;status&quot;: &quot;A String&quot;, # Allows author to indicate if the task is ready to use or not. If not set, then it will default to INACTIVE.
14666 &quot;system&quot;: &quot;A String&quot;,
14667 &quot;tags&quot;: [ # A set of tags that pertain to a particular task. This can be used to improve the searchability of tasks with several names (&quot;REST Caller&quot; vs. &quot;Call REST Endpoint&quot;) or to help users find tasks based on related words.
14668 &quot;A String&quot;,
14669 ],
14670 },
14671 &quot;paramSpecs&quot;: { # Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask.
14672 &quot;parameters&quot;: [
14673 { # Key-value pair of EventBus task parameters. Next id: 13
14674 &quot;className&quot;: &quot;A String&quot;, # The FQCN of the Java object this represents. A string, for example, would be &quot;java.lang.String&quot;. If this is &quot;java.lang.Object&quot;, the parameter can be of any type.
14675 &quot;collectionElementClassName&quot;: &quot;A String&quot;, # If it is a collection of objects, this would be the FCQN of every individual element in the collection. If this is &quot;java.lang.Object&quot;, the parameter is a collection of any type.
14676 &quot;config&quot;: { # Optional fields, such as help text and other useful info.
14677 &quot;descriptivePhrase&quot;: &quot;A String&quot;, # A short phrase to describe what this parameter contains.
14678 &quot;helpText&quot;: &quot;A String&quot;, # Detailed help text for this parameter containing information not provided elsewhere. For example, instructions on how to migrate from a deprecated parameter.
14679 &quot;hideDefaultValue&quot;: True or False, # Whether the default value is hidden in the UI.
14680 &quot;inputDisplayOption&quot;: &quot;A String&quot;,
14681 &quot;isHidden&quot;: True or False, # Whether this field is hidden in the UI.
14682 &quot;label&quot;: &quot;A String&quot;, # A user-friendly label for the parameter.
14683 &quot;parameterNameOption&quot;: &quot;A String&quot;,
14684 &quot;subSectionLabel&quot;: &quot;A String&quot;, # A user-friendly label for subSection under which the parameter will be displayed.
14685 &quot;uiPlaceholderText&quot;: &quot;A String&quot;, # Placeholder text which will appear in the UI input form for this parameter.
14686 },
14687 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
14688 &quot;defaultValue&quot;: { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
14689 &quot;booleanArray&quot;: {
14690 &quot;booleanValues&quot;: [
14691 True or False,
14692 ],
14693 },
14694 &quot;booleanValue&quot;: True or False,
14695 &quot;doubleArray&quot;: {
14696 &quot;doubleValues&quot;: [
14697 3.14,
14698 ],
14699 },
14700 &quot;doubleValue&quot;: 3.14,
14701 &quot;intArray&quot;: {
14702 &quot;intValues&quot;: [
14703 &quot;A String&quot;,
14704 ],
14705 },
14706 &quot;intValue&quot;: &quot;A String&quot;,
14707 &quot;jsonValue&quot;: &quot;A String&quot;,
14708 &quot;protoArray&quot;: {
14709 &quot;protoValues&quot;: [
14710 {
14711 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
14712 },
14713 ],
14714 },
14715 &quot;protoValue&quot;: {
14716 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
14717 },
14718 &quot;serializedObjectValue&quot;: {
14719 &quot;objectValue&quot;: &quot;A String&quot;,
14720 },
14721 &quot;stringArray&quot;: {
14722 &quot;stringValues&quot;: [
14723 &quot;A String&quot;,
14724 ],
14725 },
14726 &quot;stringValue&quot;: &quot;A String&quot;,
14727 },
14728 &quot;isDeprecated&quot;: True or False, # If set, this entry is deprecated, so further use of this parameter should be prohibited.
14729 &quot;isOutput&quot;: True or False,
14730 &quot;jsonSchema&quot;: &quot;A String&quot;, # If the data_type is JSON_VALUE, then this will define its schema.
14731 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given task. These parameters must be predefined in the workflow definition.
14732 &quot;protoDef&quot;: { # Populated if this represents a proto or proto array.
14733 &quot;fullName&quot;: &quot;A String&quot;, # The fully-qualified proto name. This message, for example, would be &quot;enterprise.crm.eventbus.proto.ParamSpecEntry.ProtoDefinition&quot;.
14734 &quot;path&quot;: &quot;A String&quot;, # Path to the proto file that contains the message type&#x27;s definition.
14735 },
14736 &quot;required&quot;: True or False, # If set, the user must provide an input value for this parameter.
14737 &quot;validationRule&quot;: { # Rule used to validate inputs (individual values and collection elements) for this parameter.
14738 &quot;doubleRange&quot;: { # Range used to validate doubles and floats.
14739 &quot;max&quot;: 3.14, # The inclusive maximum of the acceptable range.
14740 &quot;min&quot;: 3.14, # The inclusive minimum of the acceptable range.
14741 },
14742 &quot;intRange&quot;: { # Range used to validate longs and ints.
14743 &quot;max&quot;: &quot;A String&quot;, # The inclusive maximum of the acceptable range.
14744 &quot;min&quot;: &quot;A String&quot;, # The inclusive minimum of the acceptable range.
14745 },
14746 &quot;stringRegex&quot;: { # Rule used to validate strings.
14747 &quot;exclusive&quot;: True or False, # Whether the regex matcher is applied exclusively (if true, matching values will be rejected).
14748 &quot;regex&quot;: &quot;A String&quot;, # The regex applied to the input value(s).
14749 },
14750 },
14751 },
14752 ],
14753 },
14754 &quot;stats&quot;: { # Stats for the requested dimensions: QPS, duration, and error/warning rate # Deprecated - statistics from the Monarch query.
14755 &quot;dimensions&quot;: { # Dimensions that these stats have been aggregated on.
14756 &quot;clientId&quot;: &quot;A String&quot;,
14757 &quot;enumFilterType&quot;: &quot;A String&quot;, # Whether to include or exclude the enums matching the regex.
14758 &quot;errorEnumString&quot;: &quot;A String&quot;,
14759 &quot;retryAttempt&quot;: &quot;A String&quot;,
14760 &quot;taskName&quot;: &quot;A String&quot;,
14761 &quot;taskNumber&quot;: &quot;A String&quot;,
14762 &quot;triggerId&quot;: &quot;A String&quot;, # Stats have been or will be aggregated on set fields for any semantically-meaningful combination.
14763 &quot;warningEnumString&quot;: &quot;A String&quot;,
14764 &quot;workflowId&quot;: &quot;A String&quot;,
14765 &quot;workflowName&quot;: &quot;A String&quot;,
14766 },
14767 &quot;durationInSeconds&quot;: 3.14, # Average duration in seconds.
14768 &quot;errorRate&quot;: 3.14, # Average error rate.
14769 &quot;qps&quot;: 3.14, # Queries per second.
14770 &quot;warningRate&quot;: 3.14, # Average warning rate.
14771 },
14772 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
14773 &quot;uiConfig&quot;: { # Task authors would use this type to configure the UI for a particular task by specifying what UI config modules should be included to compose the UI. Learn more about config module framework: # UI configuration for this task Also associated with the METADATA mask.
14774 &quot;taskUiModuleConfigs&quot;: [ # Configurations of included config modules.
14775 { # Task author would use this type to configure a config module.
14776 &quot;moduleId&quot;: &quot;A String&quot;, # ID of the config module.
14777 },
14778 ],
14779 },
14780 },
14781 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # The policy dictating the execution strategy of this task.
14782 &quot;taskName&quot;: &quot;A String&quot;, # The name for the task.
14783 &quot;taskNumber&quot;: &quot;A String&quot;, # REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`).
14784 &quot;taskSpec&quot;: &quot;A String&quot;, # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old &quot;parameters&quot; field.
14785 &quot;taskTemplateName&quot;: &quot;A String&quot;, # Used to define task-template name if task is of type task-template
14786 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
14787 },
14788 ],
14789 &quot;teardown&quot;: { # Optional. Contains a graph of tasks that will be executed before putting the event in a terminal state (SUCCEEDED/FAILED/FATAL), regardless of success or failure, similar to &quot;finally&quot; in code.
14790 &quot;teardownTaskConfigs&quot;: [ # Required.
14791 {
14792 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address.
14793 &quot;name&quot;: &quot;A String&quot;, # Required. Unique identifier of the teardown task within this Config. We use this field as the identifier to find next teardown tasks.
14794 &quot;nextTeardownTask&quot;: { # The teardown task that is next in line to be executed. We support only sequential execution of teardown tasks (i.e. no branching).
14795 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the next teardown task.
14796 },
14797 &quot;parameters&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 the user can pass to this task.
14798 &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.
14799 { # Key-value pair of EventBus parameters.
14800 &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.
14801 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
14802 &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.
14803 &quot;booleanArray&quot;: {
14804 &quot;booleanValues&quot;: [
14805 True or False,
14806 ],
14807 },
14808 &quot;booleanValue&quot;: True or False,
14809 &quot;doubleArray&quot;: {
14810 &quot;doubleValues&quot;: [
14811 3.14,
14812 ],
14813 },
14814 &quot;doubleValue&quot;: 3.14,
14815 &quot;intArray&quot;: {
14816 &quot;intValues&quot;: [
14817 &quot;A String&quot;,
14818 ],
14819 },
14820 &quot;intValue&quot;: &quot;A String&quot;,
14821 &quot;protoArray&quot;: {
14822 &quot;protoValues&quot;: [
14823 {
14824 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
14825 },
14826 ],
14827 },
14828 &quot;protoValue&quot;: {
14829 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
14830 },
14831 &quot;serializedObjectValue&quot;: {
14832 &quot;objectValue&quot;: &quot;A String&quot;,
14833 },
14834 &quot;stringArray&quot;: {
14835 &quot;stringValues&quot;: [
14836 &quot;A String&quot;,
14837 ],
14838 },
14839 &quot;stringValue&quot;: &quot;A String&quot;,
14840 },
14841 },
14842 ],
14843 },
14844 &quot;properties&quot;: { # LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus.
14845 &quot;properties&quot;: [ # An unordered list of property entries.
14846 { # Key-value pair of EventBus property.
14847 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding property value. This should be unique for a given fired event. The Tasks should be aware of the keys used while firing the events for them to be able to retrieve the values.
14848 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Values for the defined keys. Each value can either be string, int, double or any proto message.
14849 &quot;booleanValue&quot;: True or False,
14850 &quot;doubleArray&quot;: {
14851 &quot;values&quot;: [
14852 3.14,
14853 ],
14854 },
14855 &quot;doubleValue&quot;: 3.14,
14856 &quot;intArray&quot;: {
14857 &quot;values&quot;: [
14858 &quot;A String&quot;,
14859 ],
14860 },
14861 &quot;intValue&quot;: &quot;A String&quot;,
14862 &quot;protoValue&quot;: {
14863 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
14864 },
14865 &quot;stringArray&quot;: {
14866 &quot;values&quot;: [
14867 &quot;A String&quot;,
14868 ],
14869 },
14870 &quot;stringValue&quot;: &quot;A String&quot;,
14871 },
14872 },
14873 ],
14874 },
14875 &quot;teardownTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. Implementation class name.
14876 },
14877 ],
14878 },
14879 &quot;triggerConfigs&quot;: [ # Optional. Trigger configurations.
14880 { # Configuration detail of a trigger.
14881 &quot;alertConfig&quot;: [ # Optional. An alert threshold configuration for the [trigger + client + integration] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + integration] when published.
14882 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
14883 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
14884 &quot;alertThreshold&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
14885 &quot;disableAlert&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this integration alert.
14886 &quot;displayName&quot;: &quot;A String&quot;, # Name of the alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the integration.
14887 &quot;durationThreshold&quot;: &quot;A String&quot;, # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
14888 &quot;metricType&quot;: &quot;A String&quot;, # The type of metric.
14889 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
14890 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
14891 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
14892 &quot;absolute&quot;: &quot;A String&quot;, # Absolute value threshold.
14893 &quot;percentage&quot;: 42, # Percentage threshold.
14894 },
14895 },
14896 ],
14897 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration # Optional. Cloud Scheduler Trigger related metadata
14898 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
14899 &quot;errorMessage&quot;: &quot;A String&quot;, # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations
14900 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
14901 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
14902 },
14903 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
14904 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
14905 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
14906 &quot;names&quot;: [ # Optional. List of variable names.
14907 &quot;A String&quot;,
14908 ],
14909 },
14910 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular trigger.
14911 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. Dictates how next tasks will be executed.
14912 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
14913 &quot;names&quot;: [ # Optional. List of variable names.
14914 &quot;A String&quot;,
14915 ],
14916 },
14917 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
14918 &quot;x&quot;: 42, # Required. X axis of the coordinate
14919 &quot;y&quot;: 42, # Required. Y axis of the coordinate
14920 },
14921 &quot;properties&quot;: { # Optional. Configurable properties of the trigger, not to be confused with integration parameters. E.g. &quot;name&quot; is a property for API triggers and &quot;subscription&quot; is a property for Pub/sub triggers.
14922 &quot;a_key&quot;: &quot;A String&quot;,
14923 },
14924 &quot;startTasks&quot;: [ # Optional. Set of tasks numbers from where the integration execution is started by this trigger. If this is empty, then integration is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same integration execution graph).
14925 { # The task that is next in line to be executed, if the condition specified evaluated to true.
14926 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
14927 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
14928 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
14929 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
14930 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
14931 },
14932 ],
14933 &quot;trigger&quot;: &quot;A String&quot;, # Optional. Name of the trigger. Example: &quot;API Trigger&quot;, &quot;Cloud Pub Sub Trigger&quot; When set will be sent out to monitoring dashabord for tracking purpose.
14934 &quot;triggerId&quot;: &quot;A String&quot;, # Optional. Auto-generated trigger ID. The ID is based on the properties that you define in the trigger config. For example, for an API trigger, the trigger ID follows the format: api_trigger/TRIGGER_NAME Where trigger config has properties with value {&quot;Trigger name&quot;: TRIGGER_NAME}
14935 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the integration on UI.
14936 &quot;triggerType&quot;: &quot;A String&quot;, # Optional. Type of trigger
14937 },
14938 ],
14939 &quot;triggerConfigsInternal&quot;: [ # Optional. Trigger configurations.
14940 { # Configuration detail of a trigger. Next available id: 22
14941 &quot;alertConfig&quot;: [ # An alert threshold configuration for the [trigger + client + workflow] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + workflow] when published.
14942 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
14943 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
14944 &quot;alertDisabled&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.
14945 &quot;alertName&quot;: &quot;A String&quot;, # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the workflow.
14946 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration.
14947 &quot;durationThresholdMs&quot;: &quot;A String&quot;, # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
14948 &quot;errorEnumList&quot;: { # List of error enums for alerts.
14949 &quot;enumStrings&quot;: [
14950 &quot;A String&quot;,
14951 ],
14952 &quot;filterType&quot;: &quot;A String&quot;,
14953 },
14954 &quot;metricType&quot;: &quot;A String&quot;,
14955 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
14956 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
14957 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
14958 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
14959 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
14960 &quot;absolute&quot;: &quot;A String&quot;,
14961 &quot;percentage&quot;: 42,
14962 },
14963 &quot;warningEnumList&quot;: { # List of error enums for alerts.
14964 &quot;enumStrings&quot;: [
14965 &quot;A String&quot;,
14966 ],
14967 &quot;filterType&quot;: &quot;A String&quot;,
14968 },
14969 },
14970 ],
14971 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration
14972 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
14973 &quot;errorMessage&quot;: &quot;A String&quot;, # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations
14974 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
14975 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
14976 },
14977 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
14978 &quot;enabledClients&quot;: [ # Required. The list of client ids which are enabled to execute the workflow using this trigger. In other words, these clients have the workflow execution privledges for this trigger. For API trigger, the client id in the incoming request is validated against the list of enabled clients. For non-API triggers, one workflow execution is triggered on behalf of each enabled client.
14979 &quot;A String&quot;,
14980 ],
14981 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
14982 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
14983 &quot;names&quot;: [ # Optional. List of variable names.
14984 &quot;A String&quot;,
14985 ],
14986 },
14987 &quot;label&quot;: &quot;A String&quot;, # The user created label for a particular trigger.
14988 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Dictates how next tasks will be executed.
14989 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
14990 &quot;names&quot;: [ # Optional. List of variable names.
14991 &quot;A String&quot;,
14992 ],
14993 },
14994 &quot;pauseWorkflowExecutions&quot;: True or False, # Optional. If set to true, any upcoming requests for this trigger config will be paused and the executions will be resumed later when the flag is reset. The workflow to which this trigger config belongs has to be in ACTIVE status for the executions to be paused or resumed.
14995 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this trigger config on the UI.
14996 &quot;x&quot;: 42,
14997 &quot;y&quot;: 42,
14998 },
14999 &quot;properties&quot;: { # Configurable properties of the trigger, not to be confused with workflow parameters. E.g. &quot;name&quot; is a property for API triggers and &quot;subscription&quot; is a property for Cloud Pubsub triggers.
15000 &quot;a_key&quot;: &quot;A String&quot;,
15001 },
15002 &quot;startTasks&quot;: [ # Set of tasks numbers from where the workflow execution is started by this trigger. If this is empty, then workflow is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same workflow execution graph).
15003 { # The task that is next in line to be executed, if the condition specified evaluated to true.
15004 &quot;combinedConditions&quot;: [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
15005 { # This message recursively combines constituent conditions using logical AND.
15006 &quot;conditions&quot;: [ # A set of individual constituent conditions.
15007 { # Condition that uses `operator` to evaluate the key against the value.
15008 &quot;eventPropertyKey&quot;: &quot;A String&quot;, # Key that&#x27;s evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.
15009 &quot;operator&quot;: &quot;A String&quot;, # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
15010 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that&#x27;s checked for the key.
15011 &quot;booleanValue&quot;: True or False,
15012 &quot;doubleArray&quot;: {
15013 &quot;values&quot;: [
15014 3.14,
15015 ],
15016 },
15017 &quot;doubleValue&quot;: 3.14,
15018 &quot;intArray&quot;: {
15019 &quot;values&quot;: [
15020 &quot;A String&quot;,
15021 ],
15022 },
15023 &quot;intValue&quot;: &quot;A String&quot;,
15024 &quot;protoValue&quot;: {
15025 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
15026 },
15027 &quot;stringArray&quot;: {
15028 &quot;values&quot;: [
15029 &quot;A String&quot;,
15030 ],
15031 },
15032 &quot;stringValue&quot;: &quot;A String&quot;,
15033 },
15034 },
15035 ],
15036 },
15037 ],
15038 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
15039 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
15040 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
15041 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
15042 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
15043 },
15044 ],
15045 &quot;triggerCriteria&quot;: { # Optional. When set, Eventbus will run the task specified in the trigger_criteria and validate the result using the trigger_criteria.condition, and only execute the workflow when result is true.
15046 &quot;condition&quot;: &quot;A String&quot;, # Required. Standard filter expression, when true the workflow will be executed. If there&#x27;s no trigger_criteria_task_implementation_class_name specified, the condition will be validated directly.
15047 &quot;parameters&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 # Optional. To be used in TaskConfig for the implementation class.
15048 &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.
15049 { # Key-value pair of EventBus parameters.
15050 &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.
15051 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
15052 &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.
15053 &quot;booleanArray&quot;: {
15054 &quot;booleanValues&quot;: [
15055 True or False,
15056 ],
15057 },
15058 &quot;booleanValue&quot;: True or False,
15059 &quot;doubleArray&quot;: {
15060 &quot;doubleValues&quot;: [
15061 3.14,
15062 ],
15063 },
15064 &quot;doubleValue&quot;: 3.14,
15065 &quot;intArray&quot;: {
15066 &quot;intValues&quot;: [
15067 &quot;A String&quot;,
15068 ],
15069 },
15070 &quot;intValue&quot;: &quot;A String&quot;,
15071 &quot;protoArray&quot;: {
15072 &quot;protoValues&quot;: [
15073 {
15074 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
15075 },
15076 ],
15077 },
15078 &quot;protoValue&quot;: {
15079 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
15080 },
15081 &quot;serializedObjectValue&quot;: {
15082 &quot;objectValue&quot;: &quot;A String&quot;,
15083 },
15084 &quot;stringArray&quot;: {
15085 &quot;stringValues&quot;: [
15086 &quot;A String&quot;,
15087 ],
15088 },
15089 &quot;stringValue&quot;: &quot;A String&quot;,
15090 },
15091 },
15092 ],
15093 },
15094 &quot;triggerCriteriaTaskImplementationClassName&quot;: &quot;A String&quot;, # Optional. Implementation class name. The class should implement the “TypedTask” interface.
15095 },
15096 &quot;triggerId&quot;: &quot;A String&quot;, # The backend trigger ID.
15097 &quot;triggerName&quot;: &quot;A String&quot;, # Optional. Name of the trigger This is added to identify the type of trigger. This is avoid the logic on triggerId to identify the trigger_type and push the same to monitoring.
15098 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the workflow on UI.
15099 &quot;triggerType&quot;: &quot;A String&quot;,
15100 },
15101 ],
15102 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
15103 &quot;userLabel&quot;: &quot;A String&quot;, # Optional. A user-defined label that annotates an integration version. Typically, this is only set when the integration version is created.
15104 },
15105 &quot;key&quot;: &quot;A String&quot;, # Required. Unique Key of the IntegrationVersion.
15106 },
15107 ],
15108 },
15109 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated
15110 &quot;usageCount&quot;: &quot;A String&quot;, # Optional. Number of template usages.
15111 &quot;usageInfo&quot;: &quot;A String&quot;, # Optional. Information on how to use the template. This should contain detailed information about usage of the template.
15112 &quot;visibility&quot;: &quot;A String&quot;, # Required. Visibility of the template.
15113 }</pre>
15114 </div>
15115
15116 <div class="method">
15117 <code class="details" id="search">search(parent, enableNaturalLanguageQueryUnderstanding=None, filter=None, orderBy=None, pageSize=None, pageToken=None, query=None, readMask=None, x__xgafv=None)</code>
15118 <pre>Search templates based on user query and filters. This api would query the templates and return a list of templates based on the user filter.
15119
15120 Args:
15121 parent: string, Required. The client, which owns this collection of Templates. (required)
15122 enableNaturalLanguageQueryUnderstanding: boolean, Optional. Whether to enable natural language query understanding.
15123 filter: string, Optional. Standard filter field to filter templates. client_id filter won&#x27;t be supported and will restrict to templates belonging to the current client only. Return all templates of the current client if the filter is empty. Also supports operators like AND, OR, NOT For example, &quot;status=\&quot;ACTIVE\&quot;
15124 orderBy: string, Optional. The results would be returned in the order you specified here.
15125 pageSize: integer, Optional. The size of the response entries. If unspecified, defaults to 100. The maximum value is 1000; values above 1000 will be coerced to 1000.
15126 pageToken: string, Optional. The token returned in the previous response.
15127 query: string, Optional. The search query that will be passed to Vertex search service.
15128 readMask: string, Optional. The mask which specifies fields that need to be returned in the template&#x27;s response.
15129 x__xgafv: string, V1 error format.
15130 Allowed values
15131 1 - v1 error format
15132 2 - v2 error format
15133
15134 Returns:
15135 An object of the form:
15136
15137 { # Response for a request to search templates
15138 &quot;nextPageToken&quot;: &quot;A String&quot;, # The token used to retrieve the next page results.
15139 &quot;templates&quot;: [ # List of templates retrieved.
15140 { # Defines the template for Application Integration
15141 &quot;author&quot;: &quot;A String&quot;, # Optional. Creator of the template.
15142 &quot;categories&quot;: [ # Required. Categories associated with the Template. The categories listed below will be utilized for the Template listing.
15143 &quot;A String&quot;,
15144 ],
15145 &quot;components&quot;: [ # Optional. Components being used in the template. This could be used to categorize and filter.
15146 { # Define the components that are present in a template.
15147 &quot;name&quot;: &quot;A String&quot;, # Optional. Name of the component.
15148 &quot;type&quot;: &quot;A String&quot;, # Optional. Type of the component.
15149 },
15150 ],
15151 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
15152 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the template. The length should not be more than 255 characters
15153 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of the template
15154 &quot;docLink&quot;: &quot;A String&quot;, # Optional. Link to template documentation.
15155 &quot;lastUsedTime&quot;: &quot;A String&quot;, # Optional. Time the template was last used.
15156 &quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the template.
15157 &quot;sharedWith&quot;: [ # Required. Resource names with which the template is shared for example ProjectNumber/Ord id
15158 &quot;A String&quot;,
15159 ],
15160 &quot;tags&quot;: [ # Required. Tags which are used to identify templates. These tags could be for business use case, connectors etc.
15161 &quot;A String&quot;,
15162 ],
15163 &quot;templateBundle&quot;: { # Define the bundle of the template. # Required. Bundle which is part of the templates. The template entities in the bundle would be converted to an actual entity.
15164 &quot;integrationVersionTemplate&quot;: { # Define the template of IntegrationVersion. # Required. Main integration templates of the template bundle.
15165 &quot;integrationVersion&quot;: { # The integration version definition. # Required. Templatized version of integration.
15166 &quot;cloudKmsKey&quot;: &quot;A String&quot;, # Optional. Cloud KMS resource name for the CMEK encryption key.
15167 &quot;cloudLoggingDetails&quot;: { # Cloud Logging details for execution info # Optional. Cloud Logging details for the integration version
15168 &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.
15169 &quot;enableCloudLogging&quot;: True or False, # Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.
15170 },
15171 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
15172 &quot;createdFromTemplate&quot;: &quot;A String&quot;, # Optional. Optional. The resource name of the template from which the integration is created.
15173 &quot;databasePersistencePolicy&quot;: &quot;A String&quot;, # Optional. Flag to disable database persistence for execution data, including event execution info, execution export info, execution metadata index and execution param index.
15174 &quot;description&quot;: &quot;A String&quot;, # Optional. The integration description.
15175 &quot;enableVariableMasking&quot;: True or False, # Optional. True if variable masking feature should be turned on for this version
15176 &quot;errorCatcherConfigs&quot;: [ # Optional. Error Catch Task configuration for the integration. It&#x27;s optional.
15177 { # Configuration detail of a error catch task
15178 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give more business context about the error catcher config.
15179 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Required. An error catcher id is string representation for the error catcher config. Within a workflow, error_catcher_id uniquely identifies an error catcher config among all error catcher configs for the workflow
15180 &quot;errorCatcherNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each error catcher config within the workflow on UI.
15181 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular error catcher. Optional.
15182 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
15183 &quot;x&quot;: 42, # Required. X axis of the coordinate
15184 &quot;y&quot;: 42, # Required. Y axis of the coordinate
15185 },
15186 &quot;startErrorTasks&quot;: [ # Required. The set of start tasks that are to be executed for the error catch flow
15187 { # The task that is next in line to be executed, if the condition specified evaluated to true.
15188 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
15189 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
15190 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
15191 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
15192 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
15193 },
15194 ],
15195 },
15196 ],
15197 &quot;integrationConfigParameters&quot;: [ # Optional. Config Parameters that are expected to be passed to the integration when an integration is published. This consists of all the parameters that are expected to provide configuration in the integration execution. This gives the user the ability to provide default values, value, add information like connection url, project based configuration value and also provide data types of each parameter.
15198 { # Integration Config Parameter is defined in the integration config and are used to provide external configuration for integration. It provide information about data types of the expected parameters and provide any default values or value. They can also be used to add custom attributes.
15199 &quot;parameter&quot;: { # 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. # Optional. Integration Parameter to provide the default value, data type and attributes required for the Integration config variables.
15200 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
15201 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
15202 &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.
15203 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
15204 &quot;booleanValues&quot;: [ # Boolean array.
15205 True or False,
15206 ],
15207 },
15208 &quot;booleanValue&quot;: True or False, # Boolean.
15209 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
15210 &quot;doubleValues&quot;: [ # Double number array.
15211 3.14,
15212 ],
15213 },
15214 &quot;doubleValue&quot;: 3.14, # Double Number.
15215 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
15216 &quot;intValues&quot;: [ # Integer array.
15217 &quot;A String&quot;,
15218 ],
15219 },
15220 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
15221 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
15222 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
15223 &quot;stringValues&quot;: [ # String array.
15224 &quot;A String&quot;,
15225 ],
15226 },
15227 &quot;stringValue&quot;: &quot;A String&quot;, # String.
15228 },
15229 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
15230 &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;.
15231 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
15232 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
15233 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
15234 &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.
15235 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
15236 &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.
15237 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
15238 },
15239 &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 or a serialized object.
15240 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
15241 &quot;booleanValues&quot;: [ # Boolean array.
15242 True or False,
15243 ],
15244 },
15245 &quot;booleanValue&quot;: True or False, # Boolean.
15246 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
15247 &quot;doubleValues&quot;: [ # Double number array.
15248 3.14,
15249 ],
15250 },
15251 &quot;doubleValue&quot;: 3.14, # Double Number.
15252 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
15253 &quot;intValues&quot;: [ # Integer array.
15254 &quot;A String&quot;,
15255 ],
15256 },
15257 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
15258 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
15259 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
15260 &quot;stringValues&quot;: [ # String array.
15261 &quot;A String&quot;,
15262 ],
15263 },
15264 &quot;stringValue&quot;: &quot;A String&quot;, # String.
15265 },
15266 },
15267 ],
15268 &quot;integrationParameters&quot;: [ # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
15269 { # 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.
15270 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
15271 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
15272 &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.
15273 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
15274 &quot;booleanValues&quot;: [ # Boolean array.
15275 True or False,
15276 ],
15277 },
15278 &quot;booleanValue&quot;: True or False, # Boolean.
15279 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
15280 &quot;doubleValues&quot;: [ # Double number array.
15281 3.14,
15282 ],
15283 },
15284 &quot;doubleValue&quot;: 3.14, # Double Number.
15285 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
15286 &quot;intValues&quot;: [ # Integer array.
15287 &quot;A String&quot;,
15288 ],
15289 },
15290 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
15291 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
15292 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
15293 &quot;stringValues&quot;: [ # String array.
15294 &quot;A String&quot;,
15295 ],
15296 },
15297 &quot;stringValue&quot;: &quot;A String&quot;, # String.
15298 },
15299 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
15300 &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;.
15301 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
15302 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
15303 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
15304 &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.
15305 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
15306 &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.
15307 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
15308 },
15309 ],
15310 &quot;integrationParametersInternal&quot;: { # LINT.IfChange This is the frontend version of WorkflowParameters. It&#x27;s exactly like the backend version except that instead of flattening protobuf parameters and treating every field and subfield of a protobuf parameter as a separate parameter, the fields/subfields of a protobuf parameter will be nested as &quot;children&quot; (see &#x27;children&#x27; field below) parameters of the parent parameter. Please refer to enterprise/crm/eventbus/proto/workflow_parameters.proto for more information about WorkflowParameters. # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
15311 &quot;parameters&quot;: [ # Parameters are a part of Event and can be used to communiticate between different tasks that are part of the same workflow execution.
15312 {
15313 &quot;attributes&quot;: { # Attributes are additional options that can be associated with each event property. For more information, see # Metadata information about the parameters.
15314 &quot;dataType&quot;: &quot;A String&quot;, # Things like URL, Email, Currency, Timestamp (rather than string, int64...)
15315 &quot;defaultValue&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Used to define defaults.
15316 &quot;booleanValue&quot;: True or False,
15317 &quot;doubleArray&quot;: {
15318 &quot;values&quot;: [
15319 3.14,
15320 ],
15321 },
15322 &quot;doubleValue&quot;: 3.14,
15323 &quot;intArray&quot;: {
15324 &quot;values&quot;: [
15325 &quot;A String&quot;,
15326 ],
15327 },
15328 &quot;intValue&quot;: &quot;A String&quot;,
15329 &quot;protoValue&quot;: {
15330 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
15331 },
15332 &quot;stringArray&quot;: {
15333 &quot;values&quot;: [
15334 &quot;A String&quot;,
15335 ],
15336 },
15337 &quot;stringValue&quot;: &quot;A String&quot;,
15338 },
15339 &quot;isRequired&quot;: True or False, # Required for event execution. The validation will be done by the event bus when the event is triggered.
15340 &quot;isSearchable&quot;: True or False, # Used to indicate if a ParameterEntry should be converted to ParamIndexes for ST-Spanner full-text search. DEPRECATED: use searchable.
15341 &quot;logSettings&quot;: { # The LogSettings define the logging attributes for an event property. These attributes are used to map the property to the parameter in the log proto. Also used to define scrubbing/truncation behavior and PII information. # See
15342 &quot;logFieldName&quot;: &quot;A String&quot;, # The name of corresponding logging field of the event property. If omitted, assumes the same name as the event property key.
15343 &quot;seedPeriod&quot;: &quot;A String&quot;,
15344 &quot;seedScope&quot;: &quot;A String&quot;,
15345 },
15346 &quot;masked&quot;: True or False, # True if this workflow parameter should be masked in the logs
15347 &quot;readOnly&quot;: True or False, # Used to indicate if the ParameterEntry is a read only field or not.
15348 &quot;searchable&quot;: &quot;A String&quot;,
15349 &quot;taskVisibility&quot;: [ # List of tasks that can view this property, if empty then all.
15350 &quot;A String&quot;,
15351 ],
15352 },
15353 &quot;children&quot;: [ # Child parameters nested within this parameter. This field only applies to protobuf parameters
15354 # Object with schema name: EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
15355 ],
15356 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
15357 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
15358 &quot;defaultValue&quot;: { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
15359 &quot;booleanArray&quot;: {
15360 &quot;booleanValues&quot;: [
15361 True or False,
15362 ],
15363 },
15364 &quot;booleanValue&quot;: True or False,
15365 &quot;doubleArray&quot;: {
15366 &quot;doubleValues&quot;: [
15367 3.14,
15368 ],
15369 },
15370 &quot;doubleValue&quot;: 3.14,
15371 &quot;intArray&quot;: {
15372 &quot;intValues&quot;: [
15373 &quot;A String&quot;,
15374 ],
15375 },
15376 &quot;intValue&quot;: &quot;A String&quot;,
15377 &quot;jsonValue&quot;: &quot;A String&quot;,
15378 &quot;protoArray&quot;: {
15379 &quot;protoValues&quot;: [
15380 {
15381 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
15382 },
15383 ],
15384 },
15385 &quot;protoValue&quot;: {
15386 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
15387 },
15388 &quot;serializedObjectValue&quot;: {
15389 &quot;objectValue&quot;: &quot;A String&quot;,
15390 },
15391 &quot;stringArray&quot;: {
15392 &quot;stringValues&quot;: [
15393 &quot;A String&quot;,
15394 ],
15395 },
15396 &quot;stringValue&quot;: &quot;A String&quot;,
15397 },
15398 &quot;description&quot;: &quot;A String&quot;, # Optional. The description about the parameter
15399 &quot;inOutType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
15400 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
15401 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
15402 &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.
15403 &quot;name&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;.
15404 &quot;producedBy&quot;: { # Represents a node identifier (type + id). Next highest id: 3 # 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.
15405 &quot;elementIdentifier&quot;: &quot;A String&quot;, # Configuration of the edge.
15406 &quot;elementType&quot;: &quot;A String&quot;, # Destination node where the edge ends. It can only be a task config.
15407 },
15408 &quot;producer&quot;: &quot;A String&quot;,
15409 &quot;protoDefName&quot;: &quot;A String&quot;, # The name of the protobuf type if the parameter has a protobuf data type.
15410 &quot;protoDefPath&quot;: &quot;A String&quot;, # If the data type is of type proto or proto array, this field needs to be populated with the fully qualified proto name. This message, for example, would be &quot;enterprise.crm.frontends.eventbus.proto.WorkflowParameterEntry&quot;.
15411 &quot;required&quot;: True or False,
15412 },
15413 ],
15414 },
15415 &quot;lastModifierEmail&quot;: &quot;A String&quot;, # Optional. The last modifier&#x27;s email address. Generated based on the End User Credentials/LOAS role of the user making the call.
15416 &quot;lockHolder&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.
15417 &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
15418 &quot;origin&quot;: &quot;A String&quot;, # Optional. The origin that indicates where this integration is coming from.
15419 &quot;parentTemplateId&quot;: &quot;A String&quot;, # Optional. The id of the template which was used to create this integration_version.
15420 &quot;runAsServiceAccount&quot;: &quot;A String&quot;, # Optional. The run-as service account email, if set and auth config is not configured, that will be used to generate auth token to be used in Connector task, Rest caller task and Cloud function task.
15421 &quot;snapshotNumber&quot;: &quot;A String&quot;, # Output only. An increasing sequence that is set when a new snapshot is created. The last created snapshot can be identified by [workflow_name, org_id latest(snapshot_number)]. However, last created snapshot need not be same as the HEAD. So users should always use &quot;HEAD&quot; tag to identify the head.
15422 &quot;state&quot;: &quot;A String&quot;, # Output only. User should not set it as an input.
15423 &quot;status&quot;: &quot;A String&quot;, # Output only. Generated by eventbus. User should not set it as an input.
15424 &quot;taskConfigs&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
15425 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
15426 &quot;conditionalFailurePolicies&quot;: { # Conditional task failur retry strategies # Optional. The list of conditional failure policies that will be applied to the task in order.
15427 &quot;defaultFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # The default failure policy to be applied if no conditional failure policy matches.
15428 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
15429 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
15430 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
15431 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
15432 },
15433 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
15434 { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
15435 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
15436 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
15437 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
15438 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
15439 },
15440 ],
15441 },
15442 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
15443 &quot;displayName&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to this TaskConfig in the UI.
15444 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
15445 &quot;externalTaskType&quot;: &quot;A String&quot;, # Optional. External task type of the task
15446 &quot;failurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
15447 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
15448 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
15449 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
15450 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
15451 },
15452 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # Optional. If set, overrides the option configured in the Task implementation class.
15453 &quot;nextTasks&quot;: [ # Optional. The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
15454 { # The task that is next in line to be executed, if the condition specified evaluated to true.
15455 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
15456 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
15457 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
15458 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
15459 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
15460 },
15461 ],
15462 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution of the next set of tasks for the current task.
15463 &quot;parameters&quot;: { # Optional. The customized parameters the user can pass to this task.
15464 &quot;a_key&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
15465 &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.
15466 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
15467 &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.
15468 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
15469 &quot;booleanValues&quot;: [ # Boolean array.
15470 True or False,
15471 ],
15472 },
15473 &quot;booleanValue&quot;: True or False, # Boolean.
15474 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
15475 &quot;doubleValues&quot;: [ # Double number array.
15476 3.14,
15477 ],
15478 },
15479 &quot;doubleValue&quot;: 3.14, # Double Number.
15480 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
15481 &quot;intValues&quot;: [ # Integer array.
15482 &quot;A String&quot;,
15483 ],
15484 },
15485 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
15486 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
15487 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
15488 &quot;stringValues&quot;: [ # String array.
15489 &quot;A String&quot;,
15490 ],
15491 },
15492 &quot;stringValue&quot;: &quot;A String&quot;, # String.
15493 },
15494 },
15495 },
15496 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
15497 &quot;x&quot;: 42, # Required. X axis of the coordinate
15498 &quot;y&quot;: 42, # Required. Y axis of the coordinate
15499 },
15500 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Optional. Determines what action to take upon successful task completion.
15501 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
15502 },
15503 &quot;synchronousCallFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
15504 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
15505 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
15506 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
15507 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
15508 },
15509 &quot;task&quot;: &quot;A String&quot;, # Optional. The name for the task.
15510 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution strategy of this task.
15511 &quot;taskId&quot;: &quot;A String&quot;, # Required. The identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_id`).
15512 &quot;taskTemplate&quot;: &quot;A String&quot;, # Optional. Used to define task-template name if task is of type task-template
15513 },
15514 ],
15515 &quot;taskConfigsInternal&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
15516 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
15517 &quot;alertConfigs&quot;: [ # Alert configurations on error rate, warning rate, number of runs, durations, etc.
15518 { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event.
15519 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week).
15520 &quot;alertDisabled&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.
15521 &quot;alertName&quot;: &quot;A String&quot;, # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique in within the scope of the containing workflow.
15522 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration. Must be a client enabled in one of the containing workflow&#x27;s triggers.
15523 &quot;durationThresholdMs&quot;: &quot;A String&quot;, # Should be specified only for TASK_AVERAGE_DURATION and TASK_PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
15524 &quot;errorEnumList&quot;: { # List of error enums for alerts.
15525 &quot;enumStrings&quot;: [
15526 &quot;A String&quot;,
15527 ],
15528 &quot;filterType&quot;: &quot;A String&quot;,
15529 },
15530 &quot;metricType&quot;: &quot;A String&quot;,
15531 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
15532 &quot;onlyFinalAttempt&quot;: True or False, # Only count final task attempts, not retries.
15533 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
15534 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
15535 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
15536 &quot;absolute&quot;: &quot;A String&quot;,
15537 &quot;percentage&quot;: 42,
15538 },
15539 &quot;warningEnumList&quot;: { # List of error enums for alerts.
15540 &quot;enumStrings&quot;: [
15541 &quot;A String&quot;,
15542 ],
15543 &quot;filterType&quot;: &quot;A String&quot;,
15544 },
15545 },
15546 ],
15547 &quot;conditionalFailurePolicies&quot;: { # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
15548 &quot;defaultFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # The default failure policy to be applied if no conditional failure policy matches
15549 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
15550 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
15551 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
15552 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
15553 },
15554 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
15555 { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
15556 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
15557 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
15558 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
15559 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
15560 },
15561 ],
15562 },
15563 &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
15564 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address. Auto-generated from the user&#x27;s email.
15565 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
15566 &quot;disableStrictTypeValidation&quot;: True or False, # If this config contains a TypedTask, allow validation to succeed if an input is read from the output of another TypedTask whose output type is declared as a superclass of the requested input type. For instance, if the previous task declares an output of type Message, any task with this flag enabled will pass validation when attempting to read any proto Message type from the resultant Event parameter.
15567 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
15568 &quot;externalTaskType&quot;: &quot;A String&quot;,
15569 &quot;failurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
15570 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
15571 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
15572 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
15573 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
15574 },
15575 &quot;incomingEdgeCount&quot;: 42, # The number of edges leading into this TaskConfig.
15576 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # If set, overrides the option configured in the Task implementation class.
15577 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this TaskConfig in the UI.
15578 &quot;lastModifiedTime&quot;: &quot;A String&quot;, # Auto-generated.
15579 &quot;nextTasks&quot;: [ # The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
15580 { # The task that is next in line to be executed, if the condition specified evaluated to true.
15581 &quot;combinedConditions&quot;: [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
15582 { # This message recursively combines constituent conditions using logical AND.
15583 &quot;conditions&quot;: [ # A set of individual constituent conditions.
15584 { # Condition that uses `operator` to evaluate the key against the value.
15585 &quot;eventPropertyKey&quot;: &quot;A String&quot;, # Key that&#x27;s evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.
15586 &quot;operator&quot;: &quot;A String&quot;, # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
15587 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that&#x27;s checked for the key.
15588 &quot;booleanValue&quot;: True or False,
15589 &quot;doubleArray&quot;: {
15590 &quot;values&quot;: [
15591 3.14,
15592 ],
15593 },
15594 &quot;doubleValue&quot;: 3.14,
15595 &quot;intArray&quot;: {
15596 &quot;values&quot;: [
15597 &quot;A String&quot;,
15598 ],
15599 },
15600 &quot;intValue&quot;: &quot;A String&quot;,
15601 &quot;protoValue&quot;: {
15602 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
15603 },
15604 &quot;stringArray&quot;: {
15605 &quot;values&quot;: [
15606 &quot;A String&quot;,
15607 ],
15608 },
15609 &quot;stringValue&quot;: &quot;A String&quot;,
15610 },
15611 },
15612 ],
15613 },
15614 ],
15615 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
15616 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
15617 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
15618 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
15619 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
15620 },
15621 ],
15622 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # The policy dictating the execution of the next set of tasks for the current task.
15623 &quot;parameters&quot;: { # The customized parameters the user can pass to this task.
15624 &quot;a_key&quot;: { # Key-value pair of EventBus parameters.
15625 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
15626 &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.
15627 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
15628 &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.
15629 &quot;booleanArray&quot;: {
15630 &quot;booleanValues&quot;: [
15631 True or False,
15632 ],
15633 },
15634 &quot;booleanValue&quot;: True or False,
15635 &quot;doubleArray&quot;: {
15636 &quot;doubleValues&quot;: [
15637 3.14,
15638 ],
15639 },
15640 &quot;doubleValue&quot;: 3.14,
15641 &quot;intArray&quot;: {
15642 &quot;intValues&quot;: [
15643 &quot;A String&quot;,
15644 ],
15645 },
15646 &quot;intValue&quot;: &quot;A String&quot;,
15647 &quot;jsonValue&quot;: &quot;A String&quot;,
15648 &quot;protoArray&quot;: {
15649 &quot;protoValues&quot;: [
15650 {
15651 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
15652 },
15653 ],
15654 },
15655 &quot;protoValue&quot;: {
15656 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
15657 },
15658 &quot;serializedObjectValue&quot;: {
15659 &quot;objectValue&quot;: &quot;A String&quot;,
15660 },
15661 &quot;stringArray&quot;: {
15662 &quot;stringValues&quot;: [
15663 &quot;A String&quot;,
15664 ],
15665 },
15666 &quot;stringValue&quot;: &quot;A String&quot;,
15667 },
15668 },
15669 },
15670 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this task config on the UI.
15671 &quot;x&quot;: 42,
15672 &quot;y&quot;: 42,
15673 },
15674 &quot;precondition&quot;: &quot;A String&quot;, # Optional. Standard filter expression evaluated before execution. Independent of other conditions and tasks. Can be used to enable rollout. e.g. &quot;rollout(5)&quot; will only allow 5% of incoming traffic to task.
15675 &quot;preconditionLabel&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to precondition in the UI.
15676 &quot;rollbackStrategy&quot;: { # Next available id: 4 # Optional. Contains information about what needs to be done upon failure (either a permanent error or after it has been retried too many times).
15677 &quot;parameters&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 # Optional. The customized parameters the user can pass to this task.
15678 &quot;parameters&quot;: [ # Parameters are a part of Event and can be used to communicate between different tasks that are part of the same workflow execution.
15679 { # Key-value pair of EventBus parameters.
15680 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
15681 &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.
15682 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
15683 &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.
15684 &quot;booleanArray&quot;: {
15685 &quot;booleanValues&quot;: [
15686 True or False,
15687 ],
15688 },
15689 &quot;booleanValue&quot;: True or False,
15690 &quot;doubleArray&quot;: {
15691 &quot;doubleValues&quot;: [
15692 3.14,
15693 ],
15694 },
15695 &quot;doubleValue&quot;: 3.14,
15696 &quot;intArray&quot;: {
15697 &quot;intValues&quot;: [
15698 &quot;A String&quot;,
15699 ],
15700 },
15701 &quot;intValue&quot;: &quot;A String&quot;,
15702 &quot;jsonValue&quot;: &quot;A String&quot;,
15703 &quot;protoArray&quot;: {
15704 &quot;protoValues&quot;: [
15705 {
15706 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
15707 },
15708 ],
15709 },
15710 &quot;protoValue&quot;: {
15711 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
15712 },
15713 &quot;serializedObjectValue&quot;: {
15714 &quot;objectValue&quot;: &quot;A String&quot;,
15715 },
15716 &quot;stringArray&quot;: {
15717 &quot;stringValues&quot;: [
15718 &quot;A String&quot;,
15719 ],
15720 },
15721 &quot;stringValue&quot;: &quot;A String&quot;,
15722 },
15723 },
15724 ],
15725 },
15726 &quot;rollbackTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. This is the name of the task that needs to be executed upon rollback of this task.
15727 &quot;taskNumbersToRollback&quot;: [ # Required. These are the tasks numbers of the tasks whose `rollback_strategy.rollback_task_implementation_class_name` needs to be executed upon failure of this task.
15728 &quot;A String&quot;,
15729 ],
15730 },
15731 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Determines what action to take upon successful task completion.
15732 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
15733 },
15734 &quot;synchronousCallFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
15735 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
15736 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
15737 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
15738 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
15739 },
15740 &quot;taskEntity&quot;: { # Contains a task&#x27;s metadata and associated information. Next available id: 7 # Copy of the task entity that this task config is an instance of.
15741 &quot;disabledForVpcSc&quot;: True or False, # True if the task has conflict with vpcsc
15742 &quot;metadata&quot;: { # TaskMetadata are attributes that are associated to every common Task we have. # Metadata inclueds the task name, author and so on.
15743 &quot;activeTaskName&quot;: &quot;A String&quot;, # The new task name to replace the current task if it is deprecated. Otherwise, it is the same as the current task name.
15744 &quot;admins&quot;: [
15745 { # Admins are owners of a Task, and have all permissions on a particular task identified by the task name. By default, Eventbus periodically scans all task metadata and syncs (adds) any new admins defined here to Zanzibar.
15746 &quot;googleGroupEmail&quot;: &quot;A String&quot;,
15747 &quot;userEmail&quot;: &quot;A String&quot;,
15748 },
15749 ],
15750 &quot;category&quot;: &quot;A String&quot;,
15751 &quot;codeSearchLink&quot;: &quot;A String&quot;, # The Code Search link to the Task Java file.
15752 &quot;defaultJsonValidationOption&quot;: &quot;A String&quot;, # Controls whether JSON workflow parameters are validated against provided schemas before and/or after this task&#x27;s execution.
15753 &quot;defaultSpec&quot;: &quot;A String&quot;, # Contains the initial configuration of the task with default values set. For now, The string should be compatible to an ASCII-proto format.
15754 &quot;description&quot;: &quot;A String&quot;, # In a few sentences, describe the purpose and usage of the task.
15755 &quot;descriptiveName&quot;: &quot;A String&quot;, # The string name to show on the task list on the Workflow editor screen. This should be a very short, one to two words name for the task. (e.g. &quot;Send Mail&quot;)
15756 &quot;docMarkdown&quot;: &quot;A String&quot;, # Snippet of markdown documentation to embed in the RHP for this task.
15757 &quot;externalCategory&quot;: &quot;A String&quot;,
15758 &quot;externalCategorySequence&quot;: 42, # Sequence with which the task in specific category to be displayed in task discovery panel for external users.
15759 &quot;externalDocHtml&quot;: &quot;A String&quot;, # External-facing documention embedded in the RHP for this task.
15760 &quot;externalDocLink&quot;: &quot;A String&quot;, # Doc link for external-facing documentation (separate from g3doc).
15761 &quot;externalDocMarkdown&quot;: &quot;A String&quot;, # DEPRECATED: Use external_doc_html.
15762 &quot;g3DocLink&quot;: &quot;A String&quot;, # URL to the associated G3 Doc for the task if available
15763 &quot;iconLink&quot;: &quot;A String&quot;, # URL to gstatic image icon for this task. This icon shows up on the task list panel along with the task name in the Workflow Editor screen. Use the 24p, 2x, gray color icon image format.
15764 &quot;isDeprecated&quot;: True or False, # The deprecation status of the current task. Default value is false;
15765 &quot;name&quot;: &quot;A String&quot;, # The actual class name or the annotated name of the task. Task Author should initialize this field with value from the getName() method of the Task class.
15766 &quot;standaloneExternalDocHtml&quot;: &quot;A String&quot;, # External-facing documention for standalone IP in pantheon embedded in the RHP for this task. Non null only if different from external_doc_html
15767 &quot;status&quot;: &quot;A String&quot;, # Allows author to indicate if the task is ready to use or not. If not set, then it will default to INACTIVE.
15768 &quot;system&quot;: &quot;A String&quot;,
15769 &quot;tags&quot;: [ # A set of tags that pertain to a particular task. This can be used to improve the searchability of tasks with several names (&quot;REST Caller&quot; vs. &quot;Call REST Endpoint&quot;) or to help users find tasks based on related words.
15770 &quot;A String&quot;,
15771 ],
15772 },
15773 &quot;paramSpecs&quot;: { # Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask.
15774 &quot;parameters&quot;: [
15775 { # Key-value pair of EventBus task parameters. Next id: 13
15776 &quot;className&quot;: &quot;A String&quot;, # The FQCN of the Java object this represents. A string, for example, would be &quot;java.lang.String&quot;. If this is &quot;java.lang.Object&quot;, the parameter can be of any type.
15777 &quot;collectionElementClassName&quot;: &quot;A String&quot;, # If it is a collection of objects, this would be the FCQN of every individual element in the collection. If this is &quot;java.lang.Object&quot;, the parameter is a collection of any type.
15778 &quot;config&quot;: { # Optional fields, such as help text and other useful info.
15779 &quot;descriptivePhrase&quot;: &quot;A String&quot;, # A short phrase to describe what this parameter contains.
15780 &quot;helpText&quot;: &quot;A String&quot;, # Detailed help text for this parameter containing information not provided elsewhere. For example, instructions on how to migrate from a deprecated parameter.
15781 &quot;hideDefaultValue&quot;: True or False, # Whether the default value is hidden in the UI.
15782 &quot;inputDisplayOption&quot;: &quot;A String&quot;,
15783 &quot;isHidden&quot;: True or False, # Whether this field is hidden in the UI.
15784 &quot;label&quot;: &quot;A String&quot;, # A user-friendly label for the parameter.
15785 &quot;parameterNameOption&quot;: &quot;A String&quot;,
15786 &quot;subSectionLabel&quot;: &quot;A String&quot;, # A user-friendly label for subSection under which the parameter will be displayed.
15787 &quot;uiPlaceholderText&quot;: &quot;A String&quot;, # Placeholder text which will appear in the UI input form for this parameter.
15788 },
15789 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
15790 &quot;defaultValue&quot;: { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
15791 &quot;booleanArray&quot;: {
15792 &quot;booleanValues&quot;: [
15793 True or False,
15794 ],
15795 },
15796 &quot;booleanValue&quot;: True or False,
15797 &quot;doubleArray&quot;: {
15798 &quot;doubleValues&quot;: [
15799 3.14,
15800 ],
15801 },
15802 &quot;doubleValue&quot;: 3.14,
15803 &quot;intArray&quot;: {
15804 &quot;intValues&quot;: [
15805 &quot;A String&quot;,
15806 ],
15807 },
15808 &quot;intValue&quot;: &quot;A String&quot;,
15809 &quot;jsonValue&quot;: &quot;A String&quot;,
15810 &quot;protoArray&quot;: {
15811 &quot;protoValues&quot;: [
15812 {
15813 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
15814 },
15815 ],
15816 },
15817 &quot;protoValue&quot;: {
15818 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
15819 },
15820 &quot;serializedObjectValue&quot;: {
15821 &quot;objectValue&quot;: &quot;A String&quot;,
15822 },
15823 &quot;stringArray&quot;: {
15824 &quot;stringValues&quot;: [
15825 &quot;A String&quot;,
15826 ],
15827 },
15828 &quot;stringValue&quot;: &quot;A String&quot;,
15829 },
15830 &quot;isDeprecated&quot;: True or False, # If set, this entry is deprecated, so further use of this parameter should be prohibited.
15831 &quot;isOutput&quot;: True or False,
15832 &quot;jsonSchema&quot;: &quot;A String&quot;, # If the data_type is JSON_VALUE, then this will define its schema.
15833 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given task. These parameters must be predefined in the workflow definition.
15834 &quot;protoDef&quot;: { # Populated if this represents a proto or proto array.
15835 &quot;fullName&quot;: &quot;A String&quot;, # The fully-qualified proto name. This message, for example, would be &quot;enterprise.crm.eventbus.proto.ParamSpecEntry.ProtoDefinition&quot;.
15836 &quot;path&quot;: &quot;A String&quot;, # Path to the proto file that contains the message type&#x27;s definition.
15837 },
15838 &quot;required&quot;: True or False, # If set, the user must provide an input value for this parameter.
15839 &quot;validationRule&quot;: { # Rule used to validate inputs (individual values and collection elements) for this parameter.
15840 &quot;doubleRange&quot;: { # Range used to validate doubles and floats.
15841 &quot;max&quot;: 3.14, # The inclusive maximum of the acceptable range.
15842 &quot;min&quot;: 3.14, # The inclusive minimum of the acceptable range.
15843 },
15844 &quot;intRange&quot;: { # Range used to validate longs and ints.
15845 &quot;max&quot;: &quot;A String&quot;, # The inclusive maximum of the acceptable range.
15846 &quot;min&quot;: &quot;A String&quot;, # The inclusive minimum of the acceptable range.
15847 },
15848 &quot;stringRegex&quot;: { # Rule used to validate strings.
15849 &quot;exclusive&quot;: True or False, # Whether the regex matcher is applied exclusively (if true, matching values will be rejected).
15850 &quot;regex&quot;: &quot;A String&quot;, # The regex applied to the input value(s).
15851 },
15852 },
15853 },
15854 ],
15855 },
15856 &quot;stats&quot;: { # Stats for the requested dimensions: QPS, duration, and error/warning rate # Deprecated - statistics from the Monarch query.
15857 &quot;dimensions&quot;: { # Dimensions that these stats have been aggregated on.
15858 &quot;clientId&quot;: &quot;A String&quot;,
15859 &quot;enumFilterType&quot;: &quot;A String&quot;, # Whether to include or exclude the enums matching the regex.
15860 &quot;errorEnumString&quot;: &quot;A String&quot;,
15861 &quot;retryAttempt&quot;: &quot;A String&quot;,
15862 &quot;taskName&quot;: &quot;A String&quot;,
15863 &quot;taskNumber&quot;: &quot;A String&quot;,
15864 &quot;triggerId&quot;: &quot;A String&quot;, # Stats have been or will be aggregated on set fields for any semantically-meaningful combination.
15865 &quot;warningEnumString&quot;: &quot;A String&quot;,
15866 &quot;workflowId&quot;: &quot;A String&quot;,
15867 &quot;workflowName&quot;: &quot;A String&quot;,
15868 },
15869 &quot;durationInSeconds&quot;: 3.14, # Average duration in seconds.
15870 &quot;errorRate&quot;: 3.14, # Average error rate.
15871 &quot;qps&quot;: 3.14, # Queries per second.
15872 &quot;warningRate&quot;: 3.14, # Average warning rate.
15873 },
15874 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
15875 &quot;uiConfig&quot;: { # Task authors would use this type to configure the UI for a particular task by specifying what UI config modules should be included to compose the UI. Learn more about config module framework: # UI configuration for this task Also associated with the METADATA mask.
15876 &quot;taskUiModuleConfigs&quot;: [ # Configurations of included config modules.
15877 { # Task author would use this type to configure a config module.
15878 &quot;moduleId&quot;: &quot;A String&quot;, # ID of the config module.
15879 },
15880 ],
15881 },
15882 },
15883 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # The policy dictating the execution strategy of this task.
15884 &quot;taskName&quot;: &quot;A String&quot;, # The name for the task.
15885 &quot;taskNumber&quot;: &quot;A String&quot;, # REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`).
15886 &quot;taskSpec&quot;: &quot;A String&quot;, # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old &quot;parameters&quot; field.
15887 &quot;taskTemplateName&quot;: &quot;A String&quot;, # Used to define task-template name if task is of type task-template
15888 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
15889 },
15890 ],
15891 &quot;teardown&quot;: { # Optional. Contains a graph of tasks that will be executed before putting the event in a terminal state (SUCCEEDED/FAILED/FATAL), regardless of success or failure, similar to &quot;finally&quot; in code.
15892 &quot;teardownTaskConfigs&quot;: [ # Required.
15893 {
15894 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address.
15895 &quot;name&quot;: &quot;A String&quot;, # Required. Unique identifier of the teardown task within this Config. We use this field as the identifier to find next teardown tasks.
15896 &quot;nextTeardownTask&quot;: { # The teardown task that is next in line to be executed. We support only sequential execution of teardown tasks (i.e. no branching).
15897 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the next teardown task.
15898 },
15899 &quot;parameters&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 the user can pass to this task.
15900 &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.
15901 { # Key-value pair of EventBus parameters.
15902 &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.
15903 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
15904 &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.
15905 &quot;booleanArray&quot;: {
15906 &quot;booleanValues&quot;: [
15907 True or False,
15908 ],
15909 },
15910 &quot;booleanValue&quot;: True or False,
15911 &quot;doubleArray&quot;: {
15912 &quot;doubleValues&quot;: [
15913 3.14,
15914 ],
15915 },
15916 &quot;doubleValue&quot;: 3.14,
15917 &quot;intArray&quot;: {
15918 &quot;intValues&quot;: [
15919 &quot;A String&quot;,
15920 ],
15921 },
15922 &quot;intValue&quot;: &quot;A String&quot;,
15923 &quot;protoArray&quot;: {
15924 &quot;protoValues&quot;: [
15925 {
15926 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
15927 },
15928 ],
15929 },
15930 &quot;protoValue&quot;: {
15931 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
15932 },
15933 &quot;serializedObjectValue&quot;: {
15934 &quot;objectValue&quot;: &quot;A String&quot;,
15935 },
15936 &quot;stringArray&quot;: {
15937 &quot;stringValues&quot;: [
15938 &quot;A String&quot;,
15939 ],
15940 },
15941 &quot;stringValue&quot;: &quot;A String&quot;,
15942 },
15943 },
15944 ],
15945 },
15946 &quot;properties&quot;: { # LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus.
15947 &quot;properties&quot;: [ # An unordered list of property entries.
15948 { # Key-value pair of EventBus property.
15949 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding property value. This should be unique for a given fired event. The Tasks should be aware of the keys used while firing the events for them to be able to retrieve the values.
15950 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Values for the defined keys. Each value can either be string, int, double or any proto message.
15951 &quot;booleanValue&quot;: True or False,
15952 &quot;doubleArray&quot;: {
15953 &quot;values&quot;: [
15954 3.14,
15955 ],
15956 },
15957 &quot;doubleValue&quot;: 3.14,
15958 &quot;intArray&quot;: {
15959 &quot;values&quot;: [
15960 &quot;A String&quot;,
15961 ],
15962 },
15963 &quot;intValue&quot;: &quot;A String&quot;,
15964 &quot;protoValue&quot;: {
15965 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
15966 },
15967 &quot;stringArray&quot;: {
15968 &quot;values&quot;: [
15969 &quot;A String&quot;,
15970 ],
15971 },
15972 &quot;stringValue&quot;: &quot;A String&quot;,
15973 },
15974 },
15975 ],
15976 },
15977 &quot;teardownTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. Implementation class name.
15978 },
15979 ],
15980 },
15981 &quot;triggerConfigs&quot;: [ # Optional. Trigger configurations.
15982 { # Configuration detail of a trigger.
15983 &quot;alertConfig&quot;: [ # Optional. An alert threshold configuration for the [trigger + client + integration] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + integration] when published.
15984 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
15985 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
15986 &quot;alertThreshold&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
15987 &quot;disableAlert&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this integration alert.
15988 &quot;displayName&quot;: &quot;A String&quot;, # Name of the alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the integration.
15989 &quot;durationThreshold&quot;: &quot;A String&quot;, # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
15990 &quot;metricType&quot;: &quot;A String&quot;, # The type of metric.
15991 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
15992 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
15993 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
15994 &quot;absolute&quot;: &quot;A String&quot;, # Absolute value threshold.
15995 &quot;percentage&quot;: 42, # Percentage threshold.
15996 },
15997 },
15998 ],
15999 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration # Optional. Cloud Scheduler Trigger related metadata
16000 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
16001 &quot;errorMessage&quot;: &quot;A String&quot;, # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations
16002 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
16003 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
16004 },
16005 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
16006 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
16007 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
16008 &quot;names&quot;: [ # Optional. List of variable names.
16009 &quot;A String&quot;,
16010 ],
16011 },
16012 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular trigger.
16013 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. Dictates how next tasks will be executed.
16014 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
16015 &quot;names&quot;: [ # Optional. List of variable names.
16016 &quot;A String&quot;,
16017 ],
16018 },
16019 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
16020 &quot;x&quot;: 42, # Required. X axis of the coordinate
16021 &quot;y&quot;: 42, # Required. Y axis of the coordinate
16022 },
16023 &quot;properties&quot;: { # Optional. Configurable properties of the trigger, not to be confused with integration parameters. E.g. &quot;name&quot; is a property for API triggers and &quot;subscription&quot; is a property for Pub/sub triggers.
16024 &quot;a_key&quot;: &quot;A String&quot;,
16025 },
16026 &quot;startTasks&quot;: [ # Optional. Set of tasks numbers from where the integration execution is started by this trigger. If this is empty, then integration is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same integration execution graph).
16027 { # The task that is next in line to be executed, if the condition specified evaluated to true.
16028 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
16029 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
16030 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
16031 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
16032 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
16033 },
16034 ],
16035 &quot;trigger&quot;: &quot;A String&quot;, # Optional. Name of the trigger. Example: &quot;API Trigger&quot;, &quot;Cloud Pub Sub Trigger&quot; When set will be sent out to monitoring dashabord for tracking purpose.
16036 &quot;triggerId&quot;: &quot;A String&quot;, # Optional. Auto-generated trigger ID. The ID is based on the properties that you define in the trigger config. For example, for an API trigger, the trigger ID follows the format: api_trigger/TRIGGER_NAME Where trigger config has properties with value {&quot;Trigger name&quot;: TRIGGER_NAME}
16037 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the integration on UI.
16038 &quot;triggerType&quot;: &quot;A String&quot;, # Optional. Type of trigger
16039 },
16040 ],
16041 &quot;triggerConfigsInternal&quot;: [ # Optional. Trigger configurations.
16042 { # Configuration detail of a trigger. Next available id: 22
16043 &quot;alertConfig&quot;: [ # An alert threshold configuration for the [trigger + client + workflow] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + workflow] when published.
16044 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
16045 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
16046 &quot;alertDisabled&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.
16047 &quot;alertName&quot;: &quot;A String&quot;, # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the workflow.
16048 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration.
16049 &quot;durationThresholdMs&quot;: &quot;A String&quot;, # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
16050 &quot;errorEnumList&quot;: { # List of error enums for alerts.
16051 &quot;enumStrings&quot;: [
16052 &quot;A String&quot;,
16053 ],
16054 &quot;filterType&quot;: &quot;A String&quot;,
16055 },
16056 &quot;metricType&quot;: &quot;A String&quot;,
16057 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
16058 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
16059 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
16060 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
16061 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
16062 &quot;absolute&quot;: &quot;A String&quot;,
16063 &quot;percentage&quot;: 42,
16064 },
16065 &quot;warningEnumList&quot;: { # List of error enums for alerts.
16066 &quot;enumStrings&quot;: [
16067 &quot;A String&quot;,
16068 ],
16069 &quot;filterType&quot;: &quot;A String&quot;,
16070 },
16071 },
16072 ],
16073 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration
16074 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
16075 &quot;errorMessage&quot;: &quot;A String&quot;, # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations
16076 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
16077 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
16078 },
16079 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
16080 &quot;enabledClients&quot;: [ # Required. The list of client ids which are enabled to execute the workflow using this trigger. In other words, these clients have the workflow execution privledges for this trigger. For API trigger, the client id in the incoming request is validated against the list of enabled clients. For non-API triggers, one workflow execution is triggered on behalf of each enabled client.
16081 &quot;A String&quot;,
16082 ],
16083 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
16084 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
16085 &quot;names&quot;: [ # Optional. List of variable names.
16086 &quot;A String&quot;,
16087 ],
16088 },
16089 &quot;label&quot;: &quot;A String&quot;, # The user created label for a particular trigger.
16090 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Dictates how next tasks will be executed.
16091 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
16092 &quot;names&quot;: [ # Optional. List of variable names.
16093 &quot;A String&quot;,
16094 ],
16095 },
16096 &quot;pauseWorkflowExecutions&quot;: True or False, # Optional. If set to true, any upcoming requests for this trigger config will be paused and the executions will be resumed later when the flag is reset. The workflow to which this trigger config belongs has to be in ACTIVE status for the executions to be paused or resumed.
16097 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this trigger config on the UI.
16098 &quot;x&quot;: 42,
16099 &quot;y&quot;: 42,
16100 },
16101 &quot;properties&quot;: { # Configurable properties of the trigger, not to be confused with workflow parameters. E.g. &quot;name&quot; is a property for API triggers and &quot;subscription&quot; is a property for Cloud Pubsub triggers.
16102 &quot;a_key&quot;: &quot;A String&quot;,
16103 },
16104 &quot;startTasks&quot;: [ # Set of tasks numbers from where the workflow execution is started by this trigger. If this is empty, then workflow is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same workflow execution graph).
16105 { # The task that is next in line to be executed, if the condition specified evaluated to true.
16106 &quot;combinedConditions&quot;: [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
16107 { # This message recursively combines constituent conditions using logical AND.
16108 &quot;conditions&quot;: [ # A set of individual constituent conditions.
16109 { # Condition that uses `operator` to evaluate the key against the value.
16110 &quot;eventPropertyKey&quot;: &quot;A String&quot;, # Key that&#x27;s evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.
16111 &quot;operator&quot;: &quot;A String&quot;, # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
16112 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that&#x27;s checked for the key.
16113 &quot;booleanValue&quot;: True or False,
16114 &quot;doubleArray&quot;: {
16115 &quot;values&quot;: [
16116 3.14,
16117 ],
16118 },
16119 &quot;doubleValue&quot;: 3.14,
16120 &quot;intArray&quot;: {
16121 &quot;values&quot;: [
16122 &quot;A String&quot;,
16123 ],
16124 },
16125 &quot;intValue&quot;: &quot;A String&quot;,
16126 &quot;protoValue&quot;: {
16127 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
16128 },
16129 &quot;stringArray&quot;: {
16130 &quot;values&quot;: [
16131 &quot;A String&quot;,
16132 ],
16133 },
16134 &quot;stringValue&quot;: &quot;A String&quot;,
16135 },
16136 },
16137 ],
16138 },
16139 ],
16140 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
16141 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
16142 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
16143 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
16144 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
16145 },
16146 ],
16147 &quot;triggerCriteria&quot;: { # Optional. When set, Eventbus will run the task specified in the trigger_criteria and validate the result using the trigger_criteria.condition, and only execute the workflow when result is true.
16148 &quot;condition&quot;: &quot;A String&quot;, # Required. Standard filter expression, when true the workflow will be executed. If there&#x27;s no trigger_criteria_task_implementation_class_name specified, the condition will be validated directly.
16149 &quot;parameters&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 # Optional. To be used in TaskConfig for the implementation class.
16150 &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.
16151 { # Key-value pair of EventBus parameters.
16152 &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.
16153 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
16154 &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.
16155 &quot;booleanArray&quot;: {
16156 &quot;booleanValues&quot;: [
16157 True or False,
16158 ],
16159 },
16160 &quot;booleanValue&quot;: True or False,
16161 &quot;doubleArray&quot;: {
16162 &quot;doubleValues&quot;: [
16163 3.14,
16164 ],
16165 },
16166 &quot;doubleValue&quot;: 3.14,
16167 &quot;intArray&quot;: {
16168 &quot;intValues&quot;: [
16169 &quot;A String&quot;,
16170 ],
16171 },
16172 &quot;intValue&quot;: &quot;A String&quot;,
16173 &quot;protoArray&quot;: {
16174 &quot;protoValues&quot;: [
16175 {
16176 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
16177 },
16178 ],
16179 },
16180 &quot;protoValue&quot;: {
16181 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
16182 },
16183 &quot;serializedObjectValue&quot;: {
16184 &quot;objectValue&quot;: &quot;A String&quot;,
16185 },
16186 &quot;stringArray&quot;: {
16187 &quot;stringValues&quot;: [
16188 &quot;A String&quot;,
16189 ],
16190 },
16191 &quot;stringValue&quot;: &quot;A String&quot;,
16192 },
16193 },
16194 ],
16195 },
16196 &quot;triggerCriteriaTaskImplementationClassName&quot;: &quot;A String&quot;, # Optional. Implementation class name. The class should implement the “TypedTask” interface.
16197 },
16198 &quot;triggerId&quot;: &quot;A String&quot;, # The backend trigger ID.
16199 &quot;triggerName&quot;: &quot;A String&quot;, # Optional. Name of the trigger This is added to identify the type of trigger. This is avoid the logic on triggerId to identify the trigger_type and push the same to monitoring.
16200 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the workflow on UI.
16201 &quot;triggerType&quot;: &quot;A String&quot;,
16202 },
16203 ],
16204 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
16205 &quot;userLabel&quot;: &quot;A String&quot;, # Optional. A user-defined label that annotates an integration version. Typically, this is only set when the integration version is created.
16206 },
16207 &quot;key&quot;: &quot;A String&quot;, # Required. Unique Key of the IntegrationVersion.
16208 },
16209 &quot;subIntegrationVersionTemplates&quot;: [ # Optional. Sub integration templates which would be added along with main integration.
16210 { # Define the template of IntegrationVersion.
16211 &quot;integrationVersion&quot;: { # The integration version definition. # Required. Templatized version of integration.
16212 &quot;cloudKmsKey&quot;: &quot;A String&quot;, # Optional. Cloud KMS resource name for the CMEK encryption key.
16213 &quot;cloudLoggingDetails&quot;: { # Cloud Logging details for execution info # Optional. Cloud Logging details for the integration version
16214 &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.
16215 &quot;enableCloudLogging&quot;: True or False, # Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.
16216 },
16217 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
16218 &quot;createdFromTemplate&quot;: &quot;A String&quot;, # Optional. Optional. The resource name of the template from which the integration is created.
16219 &quot;databasePersistencePolicy&quot;: &quot;A String&quot;, # Optional. Flag to disable database persistence for execution data, including event execution info, execution export info, execution metadata index and execution param index.
16220 &quot;description&quot;: &quot;A String&quot;, # Optional. The integration description.
16221 &quot;enableVariableMasking&quot;: True or False, # Optional. True if variable masking feature should be turned on for this version
16222 &quot;errorCatcherConfigs&quot;: [ # Optional. Error Catch Task configuration for the integration. It&#x27;s optional.
16223 { # Configuration detail of a error catch task
16224 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give more business context about the error catcher config.
16225 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Required. An error catcher id is string representation for the error catcher config. Within a workflow, error_catcher_id uniquely identifies an error catcher config among all error catcher configs for the workflow
16226 &quot;errorCatcherNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each error catcher config within the workflow on UI.
16227 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular error catcher. Optional.
16228 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
16229 &quot;x&quot;: 42, # Required. X axis of the coordinate
16230 &quot;y&quot;: 42, # Required. Y axis of the coordinate
16231 },
16232 &quot;startErrorTasks&quot;: [ # Required. The set of start tasks that are to be executed for the error catch flow
16233 { # The task that is next in line to be executed, if the condition specified evaluated to true.
16234 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
16235 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
16236 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
16237 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
16238 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
16239 },
16240 ],
16241 },
16242 ],
16243 &quot;integrationConfigParameters&quot;: [ # Optional. Config Parameters that are expected to be passed to the integration when an integration is published. This consists of all the parameters that are expected to provide configuration in the integration execution. This gives the user the ability to provide default values, value, add information like connection url, project based configuration value and also provide data types of each parameter.
16244 { # Integration Config Parameter is defined in the integration config and are used to provide external configuration for integration. It provide information about data types of the expected parameters and provide any default values or value. They can also be used to add custom attributes.
16245 &quot;parameter&quot;: { # 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. # Optional. Integration Parameter to provide the default value, data type and attributes required for the Integration config variables.
16246 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
16247 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
16248 &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.
16249 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
16250 &quot;booleanValues&quot;: [ # Boolean array.
16251 True or False,
16252 ],
16253 },
16254 &quot;booleanValue&quot;: True or False, # Boolean.
16255 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
16256 &quot;doubleValues&quot;: [ # Double number array.
16257 3.14,
16258 ],
16259 },
16260 &quot;doubleValue&quot;: 3.14, # Double Number.
16261 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
16262 &quot;intValues&quot;: [ # Integer array.
16263 &quot;A String&quot;,
16264 ],
16265 },
16266 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
16267 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
16268 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
16269 &quot;stringValues&quot;: [ # String array.
16270 &quot;A String&quot;,
16271 ],
16272 },
16273 &quot;stringValue&quot;: &quot;A String&quot;, # String.
16274 },
16275 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
16276 &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;.
16277 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
16278 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
16279 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
16280 &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.
16281 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
16282 &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.
16283 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
16284 },
16285 &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 or a serialized object.
16286 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
16287 &quot;booleanValues&quot;: [ # Boolean array.
16288 True or False,
16289 ],
16290 },
16291 &quot;booleanValue&quot;: True or False, # Boolean.
16292 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
16293 &quot;doubleValues&quot;: [ # Double number array.
16294 3.14,
16295 ],
16296 },
16297 &quot;doubleValue&quot;: 3.14, # Double Number.
16298 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
16299 &quot;intValues&quot;: [ # Integer array.
16300 &quot;A String&quot;,
16301 ],
16302 },
16303 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
16304 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
16305 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
16306 &quot;stringValues&quot;: [ # String array.
16307 &quot;A String&quot;,
16308 ],
16309 },
16310 &quot;stringValue&quot;: &quot;A String&quot;, # String.
16311 },
16312 },
16313 ],
16314 &quot;integrationParameters&quot;: [ # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
16315 { # 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.
16316 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
16317 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
16318 &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.
16319 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
16320 &quot;booleanValues&quot;: [ # Boolean array.
16321 True or False,
16322 ],
16323 },
16324 &quot;booleanValue&quot;: True or False, # Boolean.
16325 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
16326 &quot;doubleValues&quot;: [ # Double number array.
16327 3.14,
16328 ],
16329 },
16330 &quot;doubleValue&quot;: 3.14, # Double Number.
16331 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
16332 &quot;intValues&quot;: [ # Integer array.
16333 &quot;A String&quot;,
16334 ],
16335 },
16336 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
16337 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
16338 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
16339 &quot;stringValues&quot;: [ # String array.
16340 &quot;A String&quot;,
16341 ],
16342 },
16343 &quot;stringValue&quot;: &quot;A String&quot;, # String.
16344 },
16345 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
16346 &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;.
16347 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
16348 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
16349 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
16350 &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.
16351 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
16352 &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.
16353 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
16354 },
16355 ],
16356 &quot;integrationParametersInternal&quot;: { # LINT.IfChange This is the frontend version of WorkflowParameters. It&#x27;s exactly like the backend version except that instead of flattening protobuf parameters and treating every field and subfield of a protobuf parameter as a separate parameter, the fields/subfields of a protobuf parameter will be nested as &quot;children&quot; (see &#x27;children&#x27; field below) parameters of the parent parameter. Please refer to enterprise/crm/eventbus/proto/workflow_parameters.proto for more information about WorkflowParameters. # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
16357 &quot;parameters&quot;: [ # Parameters are a part of Event and can be used to communiticate between different tasks that are part of the same workflow execution.
16358 {
16359 &quot;attributes&quot;: { # Attributes are additional options that can be associated with each event property. For more information, see # Metadata information about the parameters.
16360 &quot;dataType&quot;: &quot;A String&quot;, # Things like URL, Email, Currency, Timestamp (rather than string, int64...)
16361 &quot;defaultValue&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Used to define defaults.
16362 &quot;booleanValue&quot;: True or False,
16363 &quot;doubleArray&quot;: {
16364 &quot;values&quot;: [
16365 3.14,
16366 ],
16367 },
16368 &quot;doubleValue&quot;: 3.14,
16369 &quot;intArray&quot;: {
16370 &quot;values&quot;: [
16371 &quot;A String&quot;,
16372 ],
16373 },
16374 &quot;intValue&quot;: &quot;A String&quot;,
16375 &quot;protoValue&quot;: {
16376 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
16377 },
16378 &quot;stringArray&quot;: {
16379 &quot;values&quot;: [
16380 &quot;A String&quot;,
16381 ],
16382 },
16383 &quot;stringValue&quot;: &quot;A String&quot;,
16384 },
16385 &quot;isRequired&quot;: True or False, # Required for event execution. The validation will be done by the event bus when the event is triggered.
16386 &quot;isSearchable&quot;: True or False, # Used to indicate if a ParameterEntry should be converted to ParamIndexes for ST-Spanner full-text search. DEPRECATED: use searchable.
16387 &quot;logSettings&quot;: { # The LogSettings define the logging attributes for an event property. These attributes are used to map the property to the parameter in the log proto. Also used to define scrubbing/truncation behavior and PII information. # See
16388 &quot;logFieldName&quot;: &quot;A String&quot;, # The name of corresponding logging field of the event property. If omitted, assumes the same name as the event property key.
16389 &quot;seedPeriod&quot;: &quot;A String&quot;,
16390 &quot;seedScope&quot;: &quot;A String&quot;,
16391 },
16392 &quot;masked&quot;: True or False, # True if this workflow parameter should be masked in the logs
16393 &quot;readOnly&quot;: True or False, # Used to indicate if the ParameterEntry is a read only field or not.
16394 &quot;searchable&quot;: &quot;A String&quot;,
16395 &quot;taskVisibility&quot;: [ # List of tasks that can view this property, if empty then all.
16396 &quot;A String&quot;,
16397 ],
16398 },
16399 &quot;children&quot;: [ # Child parameters nested within this parameter. This field only applies to protobuf parameters
16400 # Object with schema name: EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
16401 ],
16402 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
16403 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
16404 &quot;defaultValue&quot;: { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
16405 &quot;booleanArray&quot;: {
16406 &quot;booleanValues&quot;: [
16407 True or False,
16408 ],
16409 },
16410 &quot;booleanValue&quot;: True or False,
16411 &quot;doubleArray&quot;: {
16412 &quot;doubleValues&quot;: [
16413 3.14,
16414 ],
16415 },
16416 &quot;doubleValue&quot;: 3.14,
16417 &quot;intArray&quot;: {
16418 &quot;intValues&quot;: [
16419 &quot;A String&quot;,
16420 ],
16421 },
16422 &quot;intValue&quot;: &quot;A String&quot;,
16423 &quot;jsonValue&quot;: &quot;A String&quot;,
16424 &quot;protoArray&quot;: {
16425 &quot;protoValues&quot;: [
16426 {
16427 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
16428 },
16429 ],
16430 },
16431 &quot;protoValue&quot;: {
16432 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
16433 },
16434 &quot;serializedObjectValue&quot;: {
16435 &quot;objectValue&quot;: &quot;A String&quot;,
16436 },
16437 &quot;stringArray&quot;: {
16438 &quot;stringValues&quot;: [
16439 &quot;A String&quot;,
16440 ],
16441 },
16442 &quot;stringValue&quot;: &quot;A String&quot;,
16443 },
16444 &quot;description&quot;: &quot;A String&quot;, # Optional. The description about the parameter
16445 &quot;inOutType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
16446 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
16447 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
16448 &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.
16449 &quot;name&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;.
16450 &quot;producedBy&quot;: { # Represents a node identifier (type + id). Next highest id: 3 # 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.
16451 &quot;elementIdentifier&quot;: &quot;A String&quot;, # Configuration of the edge.
16452 &quot;elementType&quot;: &quot;A String&quot;, # Destination node where the edge ends. It can only be a task config.
16453 },
16454 &quot;producer&quot;: &quot;A String&quot;,
16455 &quot;protoDefName&quot;: &quot;A String&quot;, # The name of the protobuf type if the parameter has a protobuf data type.
16456 &quot;protoDefPath&quot;: &quot;A String&quot;, # If the data type is of type proto or proto array, this field needs to be populated with the fully qualified proto name. This message, for example, would be &quot;enterprise.crm.frontends.eventbus.proto.WorkflowParameterEntry&quot;.
16457 &quot;required&quot;: True or False,
16458 },
16459 ],
16460 },
16461 &quot;lastModifierEmail&quot;: &quot;A String&quot;, # Optional. The last modifier&#x27;s email address. Generated based on the End User Credentials/LOAS role of the user making the call.
16462 &quot;lockHolder&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.
16463 &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
16464 &quot;origin&quot;: &quot;A String&quot;, # Optional. The origin that indicates where this integration is coming from.
16465 &quot;parentTemplateId&quot;: &quot;A String&quot;, # Optional. The id of the template which was used to create this integration_version.
16466 &quot;runAsServiceAccount&quot;: &quot;A String&quot;, # Optional. The run-as service account email, if set and auth config is not configured, that will be used to generate auth token to be used in Connector task, Rest caller task and Cloud function task.
16467 &quot;snapshotNumber&quot;: &quot;A String&quot;, # Output only. An increasing sequence that is set when a new snapshot is created. The last created snapshot can be identified by [workflow_name, org_id latest(snapshot_number)]. However, last created snapshot need not be same as the HEAD. So users should always use &quot;HEAD&quot; tag to identify the head.
16468 &quot;state&quot;: &quot;A String&quot;, # Output only. User should not set it as an input.
16469 &quot;status&quot;: &quot;A String&quot;, # Output only. Generated by eventbus. User should not set it as an input.
16470 &quot;taskConfigs&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
16471 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
16472 &quot;conditionalFailurePolicies&quot;: { # Conditional task failur retry strategies # Optional. The list of conditional failure policies that will be applied to the task in order.
16473 &quot;defaultFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # The default failure policy to be applied if no conditional failure policy matches.
16474 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
16475 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
16476 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
16477 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
16478 },
16479 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
16480 { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
16481 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
16482 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
16483 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
16484 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
16485 },
16486 ],
16487 },
16488 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
16489 &quot;displayName&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to this TaskConfig in the UI.
16490 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
16491 &quot;externalTaskType&quot;: &quot;A String&quot;, # Optional. External task type of the task
16492 &quot;failurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
16493 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
16494 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
16495 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
16496 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
16497 },
16498 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # Optional. If set, overrides the option configured in the Task implementation class.
16499 &quot;nextTasks&quot;: [ # Optional. The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
16500 { # The task that is next in line to be executed, if the condition specified evaluated to true.
16501 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
16502 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
16503 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
16504 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
16505 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
16506 },
16507 ],
16508 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution of the next set of tasks for the current task.
16509 &quot;parameters&quot;: { # Optional. The customized parameters the user can pass to this task.
16510 &quot;a_key&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
16511 &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.
16512 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
16513 &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.
16514 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
16515 &quot;booleanValues&quot;: [ # Boolean array.
16516 True or False,
16517 ],
16518 },
16519 &quot;booleanValue&quot;: True or False, # Boolean.
16520 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
16521 &quot;doubleValues&quot;: [ # Double number array.
16522 3.14,
16523 ],
16524 },
16525 &quot;doubleValue&quot;: 3.14, # Double Number.
16526 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
16527 &quot;intValues&quot;: [ # Integer array.
16528 &quot;A String&quot;,
16529 ],
16530 },
16531 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
16532 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
16533 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
16534 &quot;stringValues&quot;: [ # String array.
16535 &quot;A String&quot;,
16536 ],
16537 },
16538 &quot;stringValue&quot;: &quot;A String&quot;, # String.
16539 },
16540 },
16541 },
16542 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
16543 &quot;x&quot;: 42, # Required. X axis of the coordinate
16544 &quot;y&quot;: 42, # Required. Y axis of the coordinate
16545 },
16546 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Optional. Determines what action to take upon successful task completion.
16547 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
16548 },
16549 &quot;synchronousCallFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
16550 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
16551 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
16552 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
16553 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
16554 },
16555 &quot;task&quot;: &quot;A String&quot;, # Optional. The name for the task.
16556 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution strategy of this task.
16557 &quot;taskId&quot;: &quot;A String&quot;, # Required. The identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_id`).
16558 &quot;taskTemplate&quot;: &quot;A String&quot;, # Optional. Used to define task-template name if task is of type task-template
16559 },
16560 ],
16561 &quot;taskConfigsInternal&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
16562 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
16563 &quot;alertConfigs&quot;: [ # Alert configurations on error rate, warning rate, number of runs, durations, etc.
16564 { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event.
16565 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week).
16566 &quot;alertDisabled&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.
16567 &quot;alertName&quot;: &quot;A String&quot;, # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique in within the scope of the containing workflow.
16568 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration. Must be a client enabled in one of the containing workflow&#x27;s triggers.
16569 &quot;durationThresholdMs&quot;: &quot;A String&quot;, # Should be specified only for TASK_AVERAGE_DURATION and TASK_PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
16570 &quot;errorEnumList&quot;: { # List of error enums for alerts.
16571 &quot;enumStrings&quot;: [
16572 &quot;A String&quot;,
16573 ],
16574 &quot;filterType&quot;: &quot;A String&quot;,
16575 },
16576 &quot;metricType&quot;: &quot;A String&quot;,
16577 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
16578 &quot;onlyFinalAttempt&quot;: True or False, # Only count final task attempts, not retries.
16579 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
16580 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
16581 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
16582 &quot;absolute&quot;: &quot;A String&quot;,
16583 &quot;percentage&quot;: 42,
16584 },
16585 &quot;warningEnumList&quot;: { # List of error enums for alerts.
16586 &quot;enumStrings&quot;: [
16587 &quot;A String&quot;,
16588 ],
16589 &quot;filterType&quot;: &quot;A String&quot;,
16590 },
16591 },
16592 ],
16593 &quot;conditionalFailurePolicies&quot;: { # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
16594 &quot;defaultFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # The default failure policy to be applied if no conditional failure policy matches
16595 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
16596 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
16597 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
16598 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
16599 },
16600 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
16601 { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
16602 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
16603 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
16604 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
16605 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
16606 },
16607 ],
16608 },
16609 &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
16610 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address. Auto-generated from the user&#x27;s email.
16611 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
16612 &quot;disableStrictTypeValidation&quot;: True or False, # If this config contains a TypedTask, allow validation to succeed if an input is read from the output of another TypedTask whose output type is declared as a superclass of the requested input type. For instance, if the previous task declares an output of type Message, any task with this flag enabled will pass validation when attempting to read any proto Message type from the resultant Event parameter.
16613 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
16614 &quot;externalTaskType&quot;: &quot;A String&quot;,
16615 &quot;failurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
16616 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
16617 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
16618 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
16619 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
16620 },
16621 &quot;incomingEdgeCount&quot;: 42, # The number of edges leading into this TaskConfig.
16622 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # If set, overrides the option configured in the Task implementation class.
16623 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this TaskConfig in the UI.
16624 &quot;lastModifiedTime&quot;: &quot;A String&quot;, # Auto-generated.
16625 &quot;nextTasks&quot;: [ # The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
16626 { # The task that is next in line to be executed, if the condition specified evaluated to true.
16627 &quot;combinedConditions&quot;: [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
16628 { # This message recursively combines constituent conditions using logical AND.
16629 &quot;conditions&quot;: [ # A set of individual constituent conditions.
16630 { # Condition that uses `operator` to evaluate the key against the value.
16631 &quot;eventPropertyKey&quot;: &quot;A String&quot;, # Key that&#x27;s evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.
16632 &quot;operator&quot;: &quot;A String&quot;, # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
16633 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that&#x27;s checked for the key.
16634 &quot;booleanValue&quot;: True or False,
16635 &quot;doubleArray&quot;: {
16636 &quot;values&quot;: [
16637 3.14,
16638 ],
16639 },
16640 &quot;doubleValue&quot;: 3.14,
16641 &quot;intArray&quot;: {
16642 &quot;values&quot;: [
16643 &quot;A String&quot;,
16644 ],
16645 },
16646 &quot;intValue&quot;: &quot;A String&quot;,
16647 &quot;protoValue&quot;: {
16648 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
16649 },
16650 &quot;stringArray&quot;: {
16651 &quot;values&quot;: [
16652 &quot;A String&quot;,
16653 ],
16654 },
16655 &quot;stringValue&quot;: &quot;A String&quot;,
16656 },
16657 },
16658 ],
16659 },
16660 ],
16661 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
16662 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
16663 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
16664 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
16665 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
16666 },
16667 ],
16668 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # The policy dictating the execution of the next set of tasks for the current task.
16669 &quot;parameters&quot;: { # The customized parameters the user can pass to this task.
16670 &quot;a_key&quot;: { # Key-value pair of EventBus parameters.
16671 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
16672 &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.
16673 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
16674 &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.
16675 &quot;booleanArray&quot;: {
16676 &quot;booleanValues&quot;: [
16677 True or False,
16678 ],
16679 },
16680 &quot;booleanValue&quot;: True or False,
16681 &quot;doubleArray&quot;: {
16682 &quot;doubleValues&quot;: [
16683 3.14,
16684 ],
16685 },
16686 &quot;doubleValue&quot;: 3.14,
16687 &quot;intArray&quot;: {
16688 &quot;intValues&quot;: [
16689 &quot;A String&quot;,
16690 ],
16691 },
16692 &quot;intValue&quot;: &quot;A String&quot;,
16693 &quot;jsonValue&quot;: &quot;A String&quot;,
16694 &quot;protoArray&quot;: {
16695 &quot;protoValues&quot;: [
16696 {
16697 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
16698 },
16699 ],
16700 },
16701 &quot;protoValue&quot;: {
16702 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
16703 },
16704 &quot;serializedObjectValue&quot;: {
16705 &quot;objectValue&quot;: &quot;A String&quot;,
16706 },
16707 &quot;stringArray&quot;: {
16708 &quot;stringValues&quot;: [
16709 &quot;A String&quot;,
16710 ],
16711 },
16712 &quot;stringValue&quot;: &quot;A String&quot;,
16713 },
16714 },
16715 },
16716 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this task config on the UI.
16717 &quot;x&quot;: 42,
16718 &quot;y&quot;: 42,
16719 },
16720 &quot;precondition&quot;: &quot;A String&quot;, # Optional. Standard filter expression evaluated before execution. Independent of other conditions and tasks. Can be used to enable rollout. e.g. &quot;rollout(5)&quot; will only allow 5% of incoming traffic to task.
16721 &quot;preconditionLabel&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to precondition in the UI.
16722 &quot;rollbackStrategy&quot;: { # Next available id: 4 # Optional. Contains information about what needs to be done upon failure (either a permanent error or after it has been retried too many times).
16723 &quot;parameters&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 # Optional. The customized parameters the user can pass to this task.
16724 &quot;parameters&quot;: [ # Parameters are a part of Event and can be used to communicate between different tasks that are part of the same workflow execution.
16725 { # Key-value pair of EventBus parameters.
16726 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
16727 &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.
16728 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
16729 &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.
16730 &quot;booleanArray&quot;: {
16731 &quot;booleanValues&quot;: [
16732 True or False,
16733 ],
16734 },
16735 &quot;booleanValue&quot;: True or False,
16736 &quot;doubleArray&quot;: {
16737 &quot;doubleValues&quot;: [
16738 3.14,
16739 ],
16740 },
16741 &quot;doubleValue&quot;: 3.14,
16742 &quot;intArray&quot;: {
16743 &quot;intValues&quot;: [
16744 &quot;A String&quot;,
16745 ],
16746 },
16747 &quot;intValue&quot;: &quot;A String&quot;,
16748 &quot;jsonValue&quot;: &quot;A String&quot;,
16749 &quot;protoArray&quot;: {
16750 &quot;protoValues&quot;: [
16751 {
16752 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
16753 },
16754 ],
16755 },
16756 &quot;protoValue&quot;: {
16757 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
16758 },
16759 &quot;serializedObjectValue&quot;: {
16760 &quot;objectValue&quot;: &quot;A String&quot;,
16761 },
16762 &quot;stringArray&quot;: {
16763 &quot;stringValues&quot;: [
16764 &quot;A String&quot;,
16765 ],
16766 },
16767 &quot;stringValue&quot;: &quot;A String&quot;,
16768 },
16769 },
16770 ],
16771 },
16772 &quot;rollbackTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. This is the name of the task that needs to be executed upon rollback of this task.
16773 &quot;taskNumbersToRollback&quot;: [ # Required. These are the tasks numbers of the tasks whose `rollback_strategy.rollback_task_implementation_class_name` needs to be executed upon failure of this task.
16774 &quot;A String&quot;,
16775 ],
16776 },
16777 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Determines what action to take upon successful task completion.
16778 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
16779 },
16780 &quot;synchronousCallFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
16781 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
16782 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
16783 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
16784 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
16785 },
16786 &quot;taskEntity&quot;: { # Contains a task&#x27;s metadata and associated information. Next available id: 7 # Copy of the task entity that this task config is an instance of.
16787 &quot;disabledForVpcSc&quot;: True or False, # True if the task has conflict with vpcsc
16788 &quot;metadata&quot;: { # TaskMetadata are attributes that are associated to every common Task we have. # Metadata inclueds the task name, author and so on.
16789 &quot;activeTaskName&quot;: &quot;A String&quot;, # The new task name to replace the current task if it is deprecated. Otherwise, it is the same as the current task name.
16790 &quot;admins&quot;: [
16791 { # Admins are owners of a Task, and have all permissions on a particular task identified by the task name. By default, Eventbus periodically scans all task metadata and syncs (adds) any new admins defined here to Zanzibar.
16792 &quot;googleGroupEmail&quot;: &quot;A String&quot;,
16793 &quot;userEmail&quot;: &quot;A String&quot;,
16794 },
16795 ],
16796 &quot;category&quot;: &quot;A String&quot;,
16797 &quot;codeSearchLink&quot;: &quot;A String&quot;, # The Code Search link to the Task Java file.
16798 &quot;defaultJsonValidationOption&quot;: &quot;A String&quot;, # Controls whether JSON workflow parameters are validated against provided schemas before and/or after this task&#x27;s execution.
16799 &quot;defaultSpec&quot;: &quot;A String&quot;, # Contains the initial configuration of the task with default values set. For now, The string should be compatible to an ASCII-proto format.
16800 &quot;description&quot;: &quot;A String&quot;, # In a few sentences, describe the purpose and usage of the task.
16801 &quot;descriptiveName&quot;: &quot;A String&quot;, # The string name to show on the task list on the Workflow editor screen. This should be a very short, one to two words name for the task. (e.g. &quot;Send Mail&quot;)
16802 &quot;docMarkdown&quot;: &quot;A String&quot;, # Snippet of markdown documentation to embed in the RHP for this task.
16803 &quot;externalCategory&quot;: &quot;A String&quot;,
16804 &quot;externalCategorySequence&quot;: 42, # Sequence with which the task in specific category to be displayed in task discovery panel for external users.
16805 &quot;externalDocHtml&quot;: &quot;A String&quot;, # External-facing documention embedded in the RHP for this task.
16806 &quot;externalDocLink&quot;: &quot;A String&quot;, # Doc link for external-facing documentation (separate from g3doc).
16807 &quot;externalDocMarkdown&quot;: &quot;A String&quot;, # DEPRECATED: Use external_doc_html.
16808 &quot;g3DocLink&quot;: &quot;A String&quot;, # URL to the associated G3 Doc for the task if available
16809 &quot;iconLink&quot;: &quot;A String&quot;, # URL to gstatic image icon for this task. This icon shows up on the task list panel along with the task name in the Workflow Editor screen. Use the 24p, 2x, gray color icon image format.
16810 &quot;isDeprecated&quot;: True or False, # The deprecation status of the current task. Default value is false;
16811 &quot;name&quot;: &quot;A String&quot;, # The actual class name or the annotated name of the task. Task Author should initialize this field with value from the getName() method of the Task class.
16812 &quot;standaloneExternalDocHtml&quot;: &quot;A String&quot;, # External-facing documention for standalone IP in pantheon embedded in the RHP for this task. Non null only if different from external_doc_html
16813 &quot;status&quot;: &quot;A String&quot;, # Allows author to indicate if the task is ready to use or not. If not set, then it will default to INACTIVE.
16814 &quot;system&quot;: &quot;A String&quot;,
16815 &quot;tags&quot;: [ # A set of tags that pertain to a particular task. This can be used to improve the searchability of tasks with several names (&quot;REST Caller&quot; vs. &quot;Call REST Endpoint&quot;) or to help users find tasks based on related words.
16816 &quot;A String&quot;,
16817 ],
16818 },
16819 &quot;paramSpecs&quot;: { # Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask.
16820 &quot;parameters&quot;: [
16821 { # Key-value pair of EventBus task parameters. Next id: 13
16822 &quot;className&quot;: &quot;A String&quot;, # The FQCN of the Java object this represents. A string, for example, would be &quot;java.lang.String&quot;. If this is &quot;java.lang.Object&quot;, the parameter can be of any type.
16823 &quot;collectionElementClassName&quot;: &quot;A String&quot;, # If it is a collection of objects, this would be the FCQN of every individual element in the collection. If this is &quot;java.lang.Object&quot;, the parameter is a collection of any type.
16824 &quot;config&quot;: { # Optional fields, such as help text and other useful info.
16825 &quot;descriptivePhrase&quot;: &quot;A String&quot;, # A short phrase to describe what this parameter contains.
16826 &quot;helpText&quot;: &quot;A String&quot;, # Detailed help text for this parameter containing information not provided elsewhere. For example, instructions on how to migrate from a deprecated parameter.
16827 &quot;hideDefaultValue&quot;: True or False, # Whether the default value is hidden in the UI.
16828 &quot;inputDisplayOption&quot;: &quot;A String&quot;,
16829 &quot;isHidden&quot;: True or False, # Whether this field is hidden in the UI.
16830 &quot;label&quot;: &quot;A String&quot;, # A user-friendly label for the parameter.
16831 &quot;parameterNameOption&quot;: &quot;A String&quot;,
16832 &quot;subSectionLabel&quot;: &quot;A String&quot;, # A user-friendly label for subSection under which the parameter will be displayed.
16833 &quot;uiPlaceholderText&quot;: &quot;A String&quot;, # Placeholder text which will appear in the UI input form for this parameter.
16834 },
16835 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
16836 &quot;defaultValue&quot;: { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
16837 &quot;booleanArray&quot;: {
16838 &quot;booleanValues&quot;: [
16839 True or False,
16840 ],
16841 },
16842 &quot;booleanValue&quot;: True or False,
16843 &quot;doubleArray&quot;: {
16844 &quot;doubleValues&quot;: [
16845 3.14,
16846 ],
16847 },
16848 &quot;doubleValue&quot;: 3.14,
16849 &quot;intArray&quot;: {
16850 &quot;intValues&quot;: [
16851 &quot;A String&quot;,
16852 ],
16853 },
16854 &quot;intValue&quot;: &quot;A String&quot;,
16855 &quot;jsonValue&quot;: &quot;A String&quot;,
16856 &quot;protoArray&quot;: {
16857 &quot;protoValues&quot;: [
16858 {
16859 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
16860 },
16861 ],
16862 },
16863 &quot;protoValue&quot;: {
16864 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
16865 },
16866 &quot;serializedObjectValue&quot;: {
16867 &quot;objectValue&quot;: &quot;A String&quot;,
16868 },
16869 &quot;stringArray&quot;: {
16870 &quot;stringValues&quot;: [
16871 &quot;A String&quot;,
16872 ],
16873 },
16874 &quot;stringValue&quot;: &quot;A String&quot;,
16875 },
16876 &quot;isDeprecated&quot;: True or False, # If set, this entry is deprecated, so further use of this parameter should be prohibited.
16877 &quot;isOutput&quot;: True or False,
16878 &quot;jsonSchema&quot;: &quot;A String&quot;, # If the data_type is JSON_VALUE, then this will define its schema.
16879 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given task. These parameters must be predefined in the workflow definition.
16880 &quot;protoDef&quot;: { # Populated if this represents a proto or proto array.
16881 &quot;fullName&quot;: &quot;A String&quot;, # The fully-qualified proto name. This message, for example, would be &quot;enterprise.crm.eventbus.proto.ParamSpecEntry.ProtoDefinition&quot;.
16882 &quot;path&quot;: &quot;A String&quot;, # Path to the proto file that contains the message type&#x27;s definition.
16883 },
16884 &quot;required&quot;: True or False, # If set, the user must provide an input value for this parameter.
16885 &quot;validationRule&quot;: { # Rule used to validate inputs (individual values and collection elements) for this parameter.
16886 &quot;doubleRange&quot;: { # Range used to validate doubles and floats.
16887 &quot;max&quot;: 3.14, # The inclusive maximum of the acceptable range.
16888 &quot;min&quot;: 3.14, # The inclusive minimum of the acceptable range.
16889 },
16890 &quot;intRange&quot;: { # Range used to validate longs and ints.
16891 &quot;max&quot;: &quot;A String&quot;, # The inclusive maximum of the acceptable range.
16892 &quot;min&quot;: &quot;A String&quot;, # The inclusive minimum of the acceptable range.
16893 },
16894 &quot;stringRegex&quot;: { # Rule used to validate strings.
16895 &quot;exclusive&quot;: True or False, # Whether the regex matcher is applied exclusively (if true, matching values will be rejected).
16896 &quot;regex&quot;: &quot;A String&quot;, # The regex applied to the input value(s).
16897 },
16898 },
16899 },
16900 ],
16901 },
16902 &quot;stats&quot;: { # Stats for the requested dimensions: QPS, duration, and error/warning rate # Deprecated - statistics from the Monarch query.
16903 &quot;dimensions&quot;: { # Dimensions that these stats have been aggregated on.
16904 &quot;clientId&quot;: &quot;A String&quot;,
16905 &quot;enumFilterType&quot;: &quot;A String&quot;, # Whether to include or exclude the enums matching the regex.
16906 &quot;errorEnumString&quot;: &quot;A String&quot;,
16907 &quot;retryAttempt&quot;: &quot;A String&quot;,
16908 &quot;taskName&quot;: &quot;A String&quot;,
16909 &quot;taskNumber&quot;: &quot;A String&quot;,
16910 &quot;triggerId&quot;: &quot;A String&quot;, # Stats have been or will be aggregated on set fields for any semantically-meaningful combination.
16911 &quot;warningEnumString&quot;: &quot;A String&quot;,
16912 &quot;workflowId&quot;: &quot;A String&quot;,
16913 &quot;workflowName&quot;: &quot;A String&quot;,
16914 },
16915 &quot;durationInSeconds&quot;: 3.14, # Average duration in seconds.
16916 &quot;errorRate&quot;: 3.14, # Average error rate.
16917 &quot;qps&quot;: 3.14, # Queries per second.
16918 &quot;warningRate&quot;: 3.14, # Average warning rate.
16919 },
16920 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
16921 &quot;uiConfig&quot;: { # Task authors would use this type to configure the UI for a particular task by specifying what UI config modules should be included to compose the UI. Learn more about config module framework: # UI configuration for this task Also associated with the METADATA mask.
16922 &quot;taskUiModuleConfigs&quot;: [ # Configurations of included config modules.
16923 { # Task author would use this type to configure a config module.
16924 &quot;moduleId&quot;: &quot;A String&quot;, # ID of the config module.
16925 },
16926 ],
16927 },
16928 },
16929 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # The policy dictating the execution strategy of this task.
16930 &quot;taskName&quot;: &quot;A String&quot;, # The name for the task.
16931 &quot;taskNumber&quot;: &quot;A String&quot;, # REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`).
16932 &quot;taskSpec&quot;: &quot;A String&quot;, # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old &quot;parameters&quot; field.
16933 &quot;taskTemplateName&quot;: &quot;A String&quot;, # Used to define task-template name if task is of type task-template
16934 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
16935 },
16936 ],
16937 &quot;teardown&quot;: { # Optional. Contains a graph of tasks that will be executed before putting the event in a terminal state (SUCCEEDED/FAILED/FATAL), regardless of success or failure, similar to &quot;finally&quot; in code.
16938 &quot;teardownTaskConfigs&quot;: [ # Required.
16939 {
16940 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address.
16941 &quot;name&quot;: &quot;A String&quot;, # Required. Unique identifier of the teardown task within this Config. We use this field as the identifier to find next teardown tasks.
16942 &quot;nextTeardownTask&quot;: { # The teardown task that is next in line to be executed. We support only sequential execution of teardown tasks (i.e. no branching).
16943 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the next teardown task.
16944 },
16945 &quot;parameters&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 the user can pass to this task.
16946 &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.
16947 { # Key-value pair of EventBus parameters.
16948 &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.
16949 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
16950 &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.
16951 &quot;booleanArray&quot;: {
16952 &quot;booleanValues&quot;: [
16953 True or False,
16954 ],
16955 },
16956 &quot;booleanValue&quot;: True or False,
16957 &quot;doubleArray&quot;: {
16958 &quot;doubleValues&quot;: [
16959 3.14,
16960 ],
16961 },
16962 &quot;doubleValue&quot;: 3.14,
16963 &quot;intArray&quot;: {
16964 &quot;intValues&quot;: [
16965 &quot;A String&quot;,
16966 ],
16967 },
16968 &quot;intValue&quot;: &quot;A String&quot;,
16969 &quot;protoArray&quot;: {
16970 &quot;protoValues&quot;: [
16971 {
16972 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
16973 },
16974 ],
16975 },
16976 &quot;protoValue&quot;: {
16977 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
16978 },
16979 &quot;serializedObjectValue&quot;: {
16980 &quot;objectValue&quot;: &quot;A String&quot;,
16981 },
16982 &quot;stringArray&quot;: {
16983 &quot;stringValues&quot;: [
16984 &quot;A String&quot;,
16985 ],
16986 },
16987 &quot;stringValue&quot;: &quot;A String&quot;,
16988 },
16989 },
16990 ],
16991 },
16992 &quot;properties&quot;: { # LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus.
16993 &quot;properties&quot;: [ # An unordered list of property entries.
16994 { # Key-value pair of EventBus property.
16995 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding property value. This should be unique for a given fired event. The Tasks should be aware of the keys used while firing the events for them to be able to retrieve the values.
16996 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Values for the defined keys. Each value can either be string, int, double or any proto message.
16997 &quot;booleanValue&quot;: True or False,
16998 &quot;doubleArray&quot;: {
16999 &quot;values&quot;: [
17000 3.14,
17001 ],
17002 },
17003 &quot;doubleValue&quot;: 3.14,
17004 &quot;intArray&quot;: {
17005 &quot;values&quot;: [
17006 &quot;A String&quot;,
17007 ],
17008 },
17009 &quot;intValue&quot;: &quot;A String&quot;,
17010 &quot;protoValue&quot;: {
17011 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
17012 },
17013 &quot;stringArray&quot;: {
17014 &quot;values&quot;: [
17015 &quot;A String&quot;,
17016 ],
17017 },
17018 &quot;stringValue&quot;: &quot;A String&quot;,
17019 },
17020 },
17021 ],
17022 },
17023 &quot;teardownTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. Implementation class name.
17024 },
17025 ],
17026 },
17027 &quot;triggerConfigs&quot;: [ # Optional. Trigger configurations.
17028 { # Configuration detail of a trigger.
17029 &quot;alertConfig&quot;: [ # Optional. An alert threshold configuration for the [trigger + client + integration] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + integration] when published.
17030 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
17031 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
17032 &quot;alertThreshold&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
17033 &quot;disableAlert&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this integration alert.
17034 &quot;displayName&quot;: &quot;A String&quot;, # Name of the alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the integration.
17035 &quot;durationThreshold&quot;: &quot;A String&quot;, # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
17036 &quot;metricType&quot;: &quot;A String&quot;, # The type of metric.
17037 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
17038 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
17039 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
17040 &quot;absolute&quot;: &quot;A String&quot;, # Absolute value threshold.
17041 &quot;percentage&quot;: 42, # Percentage threshold.
17042 },
17043 },
17044 ],
17045 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration # Optional. Cloud Scheduler Trigger related metadata
17046 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
17047 &quot;errorMessage&quot;: &quot;A String&quot;, # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations
17048 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
17049 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
17050 },
17051 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
17052 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
17053 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
17054 &quot;names&quot;: [ # Optional. List of variable names.
17055 &quot;A String&quot;,
17056 ],
17057 },
17058 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular trigger.
17059 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. Dictates how next tasks will be executed.
17060 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
17061 &quot;names&quot;: [ # Optional. List of variable names.
17062 &quot;A String&quot;,
17063 ],
17064 },
17065 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
17066 &quot;x&quot;: 42, # Required. X axis of the coordinate
17067 &quot;y&quot;: 42, # Required. Y axis of the coordinate
17068 },
17069 &quot;properties&quot;: { # Optional. Configurable properties of the trigger, not to be confused with integration parameters. E.g. &quot;name&quot; is a property for API triggers and &quot;subscription&quot; is a property for Pub/sub triggers.
17070 &quot;a_key&quot;: &quot;A String&quot;,
17071 },
17072 &quot;startTasks&quot;: [ # Optional. Set of tasks numbers from where the integration execution is started by this trigger. If this is empty, then integration is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same integration execution graph).
17073 { # The task that is next in line to be executed, if the condition specified evaluated to true.
17074 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
17075 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
17076 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
17077 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
17078 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
17079 },
17080 ],
17081 &quot;trigger&quot;: &quot;A String&quot;, # Optional. Name of the trigger. Example: &quot;API Trigger&quot;, &quot;Cloud Pub Sub Trigger&quot; When set will be sent out to monitoring dashabord for tracking purpose.
17082 &quot;triggerId&quot;: &quot;A String&quot;, # Optional. Auto-generated trigger ID. The ID is based on the properties that you define in the trigger config. For example, for an API trigger, the trigger ID follows the format: api_trigger/TRIGGER_NAME Where trigger config has properties with value {&quot;Trigger name&quot;: TRIGGER_NAME}
17083 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the integration on UI.
17084 &quot;triggerType&quot;: &quot;A String&quot;, # Optional. Type of trigger
17085 },
17086 ],
17087 &quot;triggerConfigsInternal&quot;: [ # Optional. Trigger configurations.
17088 { # Configuration detail of a trigger. Next available id: 22
17089 &quot;alertConfig&quot;: [ # An alert threshold configuration for the [trigger + client + workflow] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + workflow] when published.
17090 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
17091 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
17092 &quot;alertDisabled&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.
17093 &quot;alertName&quot;: &quot;A String&quot;, # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the workflow.
17094 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration.
17095 &quot;durationThresholdMs&quot;: &quot;A String&quot;, # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
17096 &quot;errorEnumList&quot;: { # List of error enums for alerts.
17097 &quot;enumStrings&quot;: [
17098 &quot;A String&quot;,
17099 ],
17100 &quot;filterType&quot;: &quot;A String&quot;,
17101 },
17102 &quot;metricType&quot;: &quot;A String&quot;,
17103 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
17104 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
17105 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
17106 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
17107 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
17108 &quot;absolute&quot;: &quot;A String&quot;,
17109 &quot;percentage&quot;: 42,
17110 },
17111 &quot;warningEnumList&quot;: { # List of error enums for alerts.
17112 &quot;enumStrings&quot;: [
17113 &quot;A String&quot;,
17114 ],
17115 &quot;filterType&quot;: &quot;A String&quot;,
17116 },
17117 },
17118 ],
17119 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration
17120 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
17121 &quot;errorMessage&quot;: &quot;A String&quot;, # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations
17122 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
17123 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
17124 },
17125 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
17126 &quot;enabledClients&quot;: [ # Required. The list of client ids which are enabled to execute the workflow using this trigger. In other words, these clients have the workflow execution privledges for this trigger. For API trigger, the client id in the incoming request is validated against the list of enabled clients. For non-API triggers, one workflow execution is triggered on behalf of each enabled client.
17127 &quot;A String&quot;,
17128 ],
17129 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
17130 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
17131 &quot;names&quot;: [ # Optional. List of variable names.
17132 &quot;A String&quot;,
17133 ],
17134 },
17135 &quot;label&quot;: &quot;A String&quot;, # The user created label for a particular trigger.
17136 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Dictates how next tasks will be executed.
17137 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
17138 &quot;names&quot;: [ # Optional. List of variable names.
17139 &quot;A String&quot;,
17140 ],
17141 },
17142 &quot;pauseWorkflowExecutions&quot;: True or False, # Optional. If set to true, any upcoming requests for this trigger config will be paused and the executions will be resumed later when the flag is reset. The workflow to which this trigger config belongs has to be in ACTIVE status for the executions to be paused or resumed.
17143 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this trigger config on the UI.
17144 &quot;x&quot;: 42,
17145 &quot;y&quot;: 42,
17146 },
17147 &quot;properties&quot;: { # Configurable properties of the trigger, not to be confused with workflow parameters. E.g. &quot;name&quot; is a property for API triggers and &quot;subscription&quot; is a property for Cloud Pubsub triggers.
17148 &quot;a_key&quot;: &quot;A String&quot;,
17149 },
17150 &quot;startTasks&quot;: [ # Set of tasks numbers from where the workflow execution is started by this trigger. If this is empty, then workflow is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same workflow execution graph).
17151 { # The task that is next in line to be executed, if the condition specified evaluated to true.
17152 &quot;combinedConditions&quot;: [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
17153 { # This message recursively combines constituent conditions using logical AND.
17154 &quot;conditions&quot;: [ # A set of individual constituent conditions.
17155 { # Condition that uses `operator` to evaluate the key against the value.
17156 &quot;eventPropertyKey&quot;: &quot;A String&quot;, # Key that&#x27;s evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.
17157 &quot;operator&quot;: &quot;A String&quot;, # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
17158 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that&#x27;s checked for the key.
17159 &quot;booleanValue&quot;: True or False,
17160 &quot;doubleArray&quot;: {
17161 &quot;values&quot;: [
17162 3.14,
17163 ],
17164 },
17165 &quot;doubleValue&quot;: 3.14,
17166 &quot;intArray&quot;: {
17167 &quot;values&quot;: [
17168 &quot;A String&quot;,
17169 ],
17170 },
17171 &quot;intValue&quot;: &quot;A String&quot;,
17172 &quot;protoValue&quot;: {
17173 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
17174 },
17175 &quot;stringArray&quot;: {
17176 &quot;values&quot;: [
17177 &quot;A String&quot;,
17178 ],
17179 },
17180 &quot;stringValue&quot;: &quot;A String&quot;,
17181 },
17182 },
17183 ],
17184 },
17185 ],
17186 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
17187 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
17188 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
17189 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
17190 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
17191 },
17192 ],
17193 &quot;triggerCriteria&quot;: { # Optional. When set, Eventbus will run the task specified in the trigger_criteria and validate the result using the trigger_criteria.condition, and only execute the workflow when result is true.
17194 &quot;condition&quot;: &quot;A String&quot;, # Required. Standard filter expression, when true the workflow will be executed. If there&#x27;s no trigger_criteria_task_implementation_class_name specified, the condition will be validated directly.
17195 &quot;parameters&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 # Optional. To be used in TaskConfig for the implementation class.
17196 &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.
17197 { # Key-value pair of EventBus parameters.
17198 &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.
17199 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
17200 &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.
17201 &quot;booleanArray&quot;: {
17202 &quot;booleanValues&quot;: [
17203 True or False,
17204 ],
17205 },
17206 &quot;booleanValue&quot;: True or False,
17207 &quot;doubleArray&quot;: {
17208 &quot;doubleValues&quot;: [
17209 3.14,
17210 ],
17211 },
17212 &quot;doubleValue&quot;: 3.14,
17213 &quot;intArray&quot;: {
17214 &quot;intValues&quot;: [
17215 &quot;A String&quot;,
17216 ],
17217 },
17218 &quot;intValue&quot;: &quot;A String&quot;,
17219 &quot;protoArray&quot;: {
17220 &quot;protoValues&quot;: [
17221 {
17222 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
17223 },
17224 ],
17225 },
17226 &quot;protoValue&quot;: {
17227 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
17228 },
17229 &quot;serializedObjectValue&quot;: {
17230 &quot;objectValue&quot;: &quot;A String&quot;,
17231 },
17232 &quot;stringArray&quot;: {
17233 &quot;stringValues&quot;: [
17234 &quot;A String&quot;,
17235 ],
17236 },
17237 &quot;stringValue&quot;: &quot;A String&quot;,
17238 },
17239 },
17240 ],
17241 },
17242 &quot;triggerCriteriaTaskImplementationClassName&quot;: &quot;A String&quot;, # Optional. Implementation class name. The class should implement the “TypedTask” interface.
17243 },
17244 &quot;triggerId&quot;: &quot;A String&quot;, # The backend trigger ID.
17245 &quot;triggerName&quot;: &quot;A String&quot;, # Optional. Name of the trigger This is added to identify the type of trigger. This is avoid the logic on triggerId to identify the trigger_type and push the same to monitoring.
17246 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the workflow on UI.
17247 &quot;triggerType&quot;: &quot;A String&quot;,
17248 },
17249 ],
17250 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
17251 &quot;userLabel&quot;: &quot;A String&quot;, # Optional. A user-defined label that annotates an integration version. Typically, this is only set when the integration version is created.
17252 },
17253 &quot;key&quot;: &quot;A String&quot;, # Required. Unique Key of the IntegrationVersion.
17254 },
17255 ],
17256 },
17257 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated
17258 &quot;usageCount&quot;: &quot;A String&quot;, # Optional. Number of template usages.
17259 &quot;usageInfo&quot;: &quot;A String&quot;, # Optional. Information on how to use the template. This should contain detailed information about usage of the template.
17260 &quot;visibility&quot;: &quot;A String&quot;, # Required. Visibility of the template.
17261 },
17262 ],
17263 }</pre>
17264 </div>
17265
17266 <div class="method">
17267 <code class="details" id="search_next">search_next()</code>
17268 <pre>Retrieves the next page of results.
17269
17270 Args:
17271 previous_request: The request for the previous page. (required)
17272 previous_response: The response from the request for the previous page. (required)
17273
17274 Returns:
17275 A request object that you can call &#x27;execute()&#x27; on to request the next
17276 page. Returns None if there are no more items in the collection.
17277 </pre>
17278 </div>
17279
17280 <div class="method">
17281 <code class="details" id="share">share(name, body=None, x__xgafv=None)</code>
17282 <pre>Share a template with other clients. Only the template owner can share the templates with other projects. PERMISSION_DENIED would be thrown if the request is not from the owner.
17283
17284 Args:
17285 name: string, Required. The name that is associated with the Template. (required)
17286 body: object, The request body.
17287 The object takes the form of:
17288
17289 { # Request to Share template
17290 &quot;resourceNames&quot;: [ # Optional. Project name resources to share the template. The project names is expected in resource format Ex: projects/{project-number} or organization/{org-id}
17291 &quot;A String&quot;,
17292 ],
17293 }
17294
17295 x__xgafv: string, V1 error format.
17296 Allowed values
17297 1 - v1 error format
17298 2 - v2 error format
17299
17300 Returns:
17301 An object of the form:
17302
17303 { # 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); }
17304 }</pre>
17305 </div>
17306
17307 <div class="method">
17308 <code class="details" id="unshare">unshare(name, body=None, x__xgafv=None)</code>
17309 <pre>Unshare a template from given clients. Owner of the template can unshare template with clients. Shared client can only unshare the template from itself. PERMISSION_DENIED would be thrown if request is not from owner or for unsharing itself.
17310
17311 Args:
17312 name: string, Required. The name that is associated with the Template. (required)
17313 body: object, The request body.
17314 The object takes the form of:
17315
17316 { # Request to Unshare template
17317 &quot;resourceNames&quot;: [ # Optional. Project name resources to unshare the template. The project names is expected in resource format Ex: projects/{project-number}
17318 &quot;A String&quot;,
17319 ],
17320 }
17321
17322 x__xgafv: string, V1 error format.
17323 Allowed values
17324 1 - v1 error format
17325 2 - v2 error format
17326
17327 Returns:
17328 An object of the form:
17329
17330 { # 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); }
17331 }</pre>
17332 </div>
17333
17334 <div class="method">
17335 <code class="details" id="upload">upload(parent, body=None, x__xgafv=None)</code>
17336 <pre>Uploads a template. The content can be a previously downloaded template. Performs the same function as CreateTemplate, but accepts input in a string format, which holds the complete representation of the Template content.
17337
17338 Args:
17339 parent: string, Required. The template to upload. Format: projects/{project}/locations/{location} (required)
17340 body: object, The request body.
17341 The object takes the form of:
17342
17343 { # Request for UploadTemplate.
17344 &quot;content&quot;: &quot;A String&quot;, # Required. The textproto of the template.
17345 &quot;fileFormat&quot;: &quot;A String&quot;, # Required. File format for upload request.
17346 }
17347
17348 x__xgafv: string, V1 error format.
17349 Allowed values
17350 1 - v1 error format
17351 2 - v2 error format
17352
17353 Returns:
17354 An object of the form:
17355
17356 { # Response for UploadTemplate.
17357 &quot;template&quot;: { # Defines the template for Application Integration # The uploaded Template
17358 &quot;author&quot;: &quot;A String&quot;, # Optional. Creator of the template.
17359 &quot;categories&quot;: [ # Required. Categories associated with the Template. The categories listed below will be utilized for the Template listing.
17360 &quot;A String&quot;,
17361 ],
17362 &quot;components&quot;: [ # Optional. Components being used in the template. This could be used to categorize and filter.
17363 { # Define the components that are present in a template.
17364 &quot;name&quot;: &quot;A String&quot;, # Optional. Name of the component.
17365 &quot;type&quot;: &quot;A String&quot;, # Optional. Type of the component.
17366 },
17367 ],
17368 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
17369 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the template. The length should not be more than 255 characters
17370 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of the template
17371 &quot;docLink&quot;: &quot;A String&quot;, # Optional. Link to template documentation.
17372 &quot;lastUsedTime&quot;: &quot;A String&quot;, # Optional. Time the template was last used.
17373 &quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the template.
17374 &quot;sharedWith&quot;: [ # Required. Resource names with which the template is shared for example ProjectNumber/Ord id
17375 &quot;A String&quot;,
17376 ],
17377 &quot;tags&quot;: [ # Required. Tags which are used to identify templates. These tags could be for business use case, connectors etc.
17378 &quot;A String&quot;,
17379 ],
17380 &quot;templateBundle&quot;: { # Define the bundle of the template. # Required. Bundle which is part of the templates. The template entities in the bundle would be converted to an actual entity.
17381 &quot;integrationVersionTemplate&quot;: { # Define the template of IntegrationVersion. # Required. Main integration templates of the template bundle.
17382 &quot;integrationVersion&quot;: { # The integration version definition. # Required. Templatized version of integration.
17383 &quot;cloudKmsKey&quot;: &quot;A String&quot;, # Optional. Cloud KMS resource name for the CMEK encryption key.
17384 &quot;cloudLoggingDetails&quot;: { # Cloud Logging details for execution info # Optional. Cloud Logging details for the integration version
17385 &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.
17386 &quot;enableCloudLogging&quot;: True or False, # Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.
17387 },
17388 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
17389 &quot;createdFromTemplate&quot;: &quot;A String&quot;, # Optional. Optional. The resource name of the template from which the integration is created.
17390 &quot;databasePersistencePolicy&quot;: &quot;A String&quot;, # Optional. Flag to disable database persistence for execution data, including event execution info, execution export info, execution metadata index and execution param index.
17391 &quot;description&quot;: &quot;A String&quot;, # Optional. The integration description.
17392 &quot;enableVariableMasking&quot;: True or False, # Optional. True if variable masking feature should be turned on for this version
17393 &quot;errorCatcherConfigs&quot;: [ # Optional. Error Catch Task configuration for the integration. It&#x27;s optional.
17394 { # Configuration detail of a error catch task
17395 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give more business context about the error catcher config.
17396 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Required. An error catcher id is string representation for the error catcher config. Within a workflow, error_catcher_id uniquely identifies an error catcher config among all error catcher configs for the workflow
17397 &quot;errorCatcherNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each error catcher config within the workflow on UI.
17398 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular error catcher. Optional.
17399 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
17400 &quot;x&quot;: 42, # Required. X axis of the coordinate
17401 &quot;y&quot;: 42, # Required. Y axis of the coordinate
17402 },
17403 &quot;startErrorTasks&quot;: [ # Required. The set of start tasks that are to be executed for the error catch flow
17404 { # The task that is next in line to be executed, if the condition specified evaluated to true.
17405 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
17406 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
17407 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
17408 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
17409 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
17410 },
17411 ],
17412 },
17413 ],
17414 &quot;integrationConfigParameters&quot;: [ # Optional. Config Parameters that are expected to be passed to the integration when an integration is published. This consists of all the parameters that are expected to provide configuration in the integration execution. This gives the user the ability to provide default values, value, add information like connection url, project based configuration value and also provide data types of each parameter.
17415 { # Integration Config Parameter is defined in the integration config and are used to provide external configuration for integration. It provide information about data types of the expected parameters and provide any default values or value. They can also be used to add custom attributes.
17416 &quot;parameter&quot;: { # 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. # Optional. Integration Parameter to provide the default value, data type and attributes required for the Integration config variables.
17417 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
17418 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
17419 &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.
17420 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
17421 &quot;booleanValues&quot;: [ # Boolean array.
17422 True or False,
17423 ],
17424 },
17425 &quot;booleanValue&quot;: True or False, # Boolean.
17426 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
17427 &quot;doubleValues&quot;: [ # Double number array.
17428 3.14,
17429 ],
17430 },
17431 &quot;doubleValue&quot;: 3.14, # Double Number.
17432 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
17433 &quot;intValues&quot;: [ # Integer array.
17434 &quot;A String&quot;,
17435 ],
17436 },
17437 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
17438 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
17439 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
17440 &quot;stringValues&quot;: [ # String array.
17441 &quot;A String&quot;,
17442 ],
17443 },
17444 &quot;stringValue&quot;: &quot;A String&quot;, # String.
17445 },
17446 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
17447 &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;.
17448 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
17449 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
17450 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
17451 &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.
17452 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
17453 &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.
17454 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
17455 },
17456 &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 or a serialized object.
17457 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
17458 &quot;booleanValues&quot;: [ # Boolean array.
17459 True or False,
17460 ],
17461 },
17462 &quot;booleanValue&quot;: True or False, # Boolean.
17463 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
17464 &quot;doubleValues&quot;: [ # Double number array.
17465 3.14,
17466 ],
17467 },
17468 &quot;doubleValue&quot;: 3.14, # Double Number.
17469 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
17470 &quot;intValues&quot;: [ # Integer array.
17471 &quot;A String&quot;,
17472 ],
17473 },
17474 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
17475 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
17476 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
17477 &quot;stringValues&quot;: [ # String array.
17478 &quot;A String&quot;,
17479 ],
17480 },
17481 &quot;stringValue&quot;: &quot;A String&quot;, # String.
17482 },
17483 },
17484 ],
17485 &quot;integrationParameters&quot;: [ # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
17486 { # 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.
17487 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
17488 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
17489 &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.
17490 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
17491 &quot;booleanValues&quot;: [ # Boolean array.
17492 True or False,
17493 ],
17494 },
17495 &quot;booleanValue&quot;: True or False, # Boolean.
17496 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
17497 &quot;doubleValues&quot;: [ # Double number array.
17498 3.14,
17499 ],
17500 },
17501 &quot;doubleValue&quot;: 3.14, # Double Number.
17502 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
17503 &quot;intValues&quot;: [ # Integer array.
17504 &quot;A String&quot;,
17505 ],
17506 },
17507 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
17508 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
17509 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
17510 &quot;stringValues&quot;: [ # String array.
17511 &quot;A String&quot;,
17512 ],
17513 },
17514 &quot;stringValue&quot;: &quot;A String&quot;, # String.
17515 },
17516 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
17517 &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;.
17518 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
17519 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
17520 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
17521 &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.
17522 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
17523 &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.
17524 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
17525 },
17526 ],
17527 &quot;integrationParametersInternal&quot;: { # LINT.IfChange This is the frontend version of WorkflowParameters. It&#x27;s exactly like the backend version except that instead of flattening protobuf parameters and treating every field and subfield of a protobuf parameter as a separate parameter, the fields/subfields of a protobuf parameter will be nested as &quot;children&quot; (see &#x27;children&#x27; field below) parameters of the parent parameter. Please refer to enterprise/crm/eventbus/proto/workflow_parameters.proto for more information about WorkflowParameters. # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
17528 &quot;parameters&quot;: [ # Parameters are a part of Event and can be used to communiticate between different tasks that are part of the same workflow execution.
17529 {
17530 &quot;attributes&quot;: { # Attributes are additional options that can be associated with each event property. For more information, see # Metadata information about the parameters.
17531 &quot;dataType&quot;: &quot;A String&quot;, # Things like URL, Email, Currency, Timestamp (rather than string, int64...)
17532 &quot;defaultValue&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Used to define defaults.
17533 &quot;booleanValue&quot;: True or False,
17534 &quot;doubleArray&quot;: {
17535 &quot;values&quot;: [
17536 3.14,
17537 ],
17538 },
17539 &quot;doubleValue&quot;: 3.14,
17540 &quot;intArray&quot;: {
17541 &quot;values&quot;: [
17542 &quot;A String&quot;,
17543 ],
17544 },
17545 &quot;intValue&quot;: &quot;A String&quot;,
17546 &quot;protoValue&quot;: {
17547 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
17548 },
17549 &quot;stringArray&quot;: {
17550 &quot;values&quot;: [
17551 &quot;A String&quot;,
17552 ],
17553 },
17554 &quot;stringValue&quot;: &quot;A String&quot;,
17555 },
17556 &quot;isRequired&quot;: True or False, # Required for event execution. The validation will be done by the event bus when the event is triggered.
17557 &quot;isSearchable&quot;: True or False, # Used to indicate if a ParameterEntry should be converted to ParamIndexes for ST-Spanner full-text search. DEPRECATED: use searchable.
17558 &quot;logSettings&quot;: { # The LogSettings define the logging attributes for an event property. These attributes are used to map the property to the parameter in the log proto. Also used to define scrubbing/truncation behavior and PII information. # See
17559 &quot;logFieldName&quot;: &quot;A String&quot;, # The name of corresponding logging field of the event property. If omitted, assumes the same name as the event property key.
17560 &quot;seedPeriod&quot;: &quot;A String&quot;,
17561 &quot;seedScope&quot;: &quot;A String&quot;,
17562 },
17563 &quot;masked&quot;: True or False, # True if this workflow parameter should be masked in the logs
17564 &quot;readOnly&quot;: True or False, # Used to indicate if the ParameterEntry is a read only field or not.
17565 &quot;searchable&quot;: &quot;A String&quot;,
17566 &quot;taskVisibility&quot;: [ # List of tasks that can view this property, if empty then all.
17567 &quot;A String&quot;,
17568 ],
17569 },
17570 &quot;children&quot;: [ # Child parameters nested within this parameter. This field only applies to protobuf parameters
17571 # Object with schema name: EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
17572 ],
17573 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
17574 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
17575 &quot;defaultValue&quot;: { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
17576 &quot;booleanArray&quot;: {
17577 &quot;booleanValues&quot;: [
17578 True or False,
17579 ],
17580 },
17581 &quot;booleanValue&quot;: True or False,
17582 &quot;doubleArray&quot;: {
17583 &quot;doubleValues&quot;: [
17584 3.14,
17585 ],
17586 },
17587 &quot;doubleValue&quot;: 3.14,
17588 &quot;intArray&quot;: {
17589 &quot;intValues&quot;: [
17590 &quot;A String&quot;,
17591 ],
17592 },
17593 &quot;intValue&quot;: &quot;A String&quot;,
17594 &quot;jsonValue&quot;: &quot;A String&quot;,
17595 &quot;protoArray&quot;: {
17596 &quot;protoValues&quot;: [
17597 {
17598 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
17599 },
17600 ],
17601 },
17602 &quot;protoValue&quot;: {
17603 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
17604 },
17605 &quot;serializedObjectValue&quot;: {
17606 &quot;objectValue&quot;: &quot;A String&quot;,
17607 },
17608 &quot;stringArray&quot;: {
17609 &quot;stringValues&quot;: [
17610 &quot;A String&quot;,
17611 ],
17612 },
17613 &quot;stringValue&quot;: &quot;A String&quot;,
17614 },
17615 &quot;description&quot;: &quot;A String&quot;, # Optional. The description about the parameter
17616 &quot;inOutType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
17617 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
17618 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
17619 &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.
17620 &quot;name&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;.
17621 &quot;producedBy&quot;: { # Represents a node identifier (type + id). Next highest id: 3 # 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.
17622 &quot;elementIdentifier&quot;: &quot;A String&quot;, # Configuration of the edge.
17623 &quot;elementType&quot;: &quot;A String&quot;, # Destination node where the edge ends. It can only be a task config.
17624 },
17625 &quot;producer&quot;: &quot;A String&quot;,
17626 &quot;protoDefName&quot;: &quot;A String&quot;, # The name of the protobuf type if the parameter has a protobuf data type.
17627 &quot;protoDefPath&quot;: &quot;A String&quot;, # If the data type is of type proto or proto array, this field needs to be populated with the fully qualified proto name. This message, for example, would be &quot;enterprise.crm.frontends.eventbus.proto.WorkflowParameterEntry&quot;.
17628 &quot;required&quot;: True or False,
17629 },
17630 ],
17631 },
17632 &quot;lastModifierEmail&quot;: &quot;A String&quot;, # Optional. The last modifier&#x27;s email address. Generated based on the End User Credentials/LOAS role of the user making the call.
17633 &quot;lockHolder&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.
17634 &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
17635 &quot;origin&quot;: &quot;A String&quot;, # Optional. The origin that indicates where this integration is coming from.
17636 &quot;parentTemplateId&quot;: &quot;A String&quot;, # Optional. The id of the template which was used to create this integration_version.
17637 &quot;runAsServiceAccount&quot;: &quot;A String&quot;, # Optional. The run-as service account email, if set and auth config is not configured, that will be used to generate auth token to be used in Connector task, Rest caller task and Cloud function task.
17638 &quot;snapshotNumber&quot;: &quot;A String&quot;, # Output only. An increasing sequence that is set when a new snapshot is created. The last created snapshot can be identified by [workflow_name, org_id latest(snapshot_number)]. However, last created snapshot need not be same as the HEAD. So users should always use &quot;HEAD&quot; tag to identify the head.
17639 &quot;state&quot;: &quot;A String&quot;, # Output only. User should not set it as an input.
17640 &quot;status&quot;: &quot;A String&quot;, # Output only. Generated by eventbus. User should not set it as an input.
17641 &quot;taskConfigs&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
17642 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
17643 &quot;conditionalFailurePolicies&quot;: { # Conditional task failur retry strategies # Optional. The list of conditional failure policies that will be applied to the task in order.
17644 &quot;defaultFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # The default failure policy to be applied if no conditional failure policy matches.
17645 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
17646 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
17647 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
17648 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
17649 },
17650 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
17651 { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
17652 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
17653 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
17654 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
17655 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
17656 },
17657 ],
17658 },
17659 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
17660 &quot;displayName&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to this TaskConfig in the UI.
17661 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
17662 &quot;externalTaskType&quot;: &quot;A String&quot;, # Optional. External task type of the task
17663 &quot;failurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
17664 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
17665 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
17666 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
17667 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
17668 },
17669 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # Optional. If set, overrides the option configured in the Task implementation class.
17670 &quot;nextTasks&quot;: [ # Optional. The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
17671 { # The task that is next in line to be executed, if the condition specified evaluated to true.
17672 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
17673 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
17674 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
17675 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
17676 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
17677 },
17678 ],
17679 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution of the next set of tasks for the current task.
17680 &quot;parameters&quot;: { # Optional. The customized parameters the user can pass to this task.
17681 &quot;a_key&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
17682 &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.
17683 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
17684 &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.
17685 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
17686 &quot;booleanValues&quot;: [ # Boolean array.
17687 True or False,
17688 ],
17689 },
17690 &quot;booleanValue&quot;: True or False, # Boolean.
17691 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
17692 &quot;doubleValues&quot;: [ # Double number array.
17693 3.14,
17694 ],
17695 },
17696 &quot;doubleValue&quot;: 3.14, # Double Number.
17697 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
17698 &quot;intValues&quot;: [ # Integer array.
17699 &quot;A String&quot;,
17700 ],
17701 },
17702 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
17703 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
17704 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
17705 &quot;stringValues&quot;: [ # String array.
17706 &quot;A String&quot;,
17707 ],
17708 },
17709 &quot;stringValue&quot;: &quot;A String&quot;, # String.
17710 },
17711 },
17712 },
17713 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
17714 &quot;x&quot;: 42, # Required. X axis of the coordinate
17715 &quot;y&quot;: 42, # Required. Y axis of the coordinate
17716 },
17717 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Optional. Determines what action to take upon successful task completion.
17718 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
17719 },
17720 &quot;synchronousCallFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
17721 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
17722 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
17723 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
17724 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
17725 },
17726 &quot;task&quot;: &quot;A String&quot;, # Optional. The name for the task.
17727 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution strategy of this task.
17728 &quot;taskId&quot;: &quot;A String&quot;, # Required. The identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_id`).
17729 &quot;taskTemplate&quot;: &quot;A String&quot;, # Optional. Used to define task-template name if task is of type task-template
17730 },
17731 ],
17732 &quot;taskConfigsInternal&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
17733 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
17734 &quot;alertConfigs&quot;: [ # Alert configurations on error rate, warning rate, number of runs, durations, etc.
17735 { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event.
17736 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week).
17737 &quot;alertDisabled&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.
17738 &quot;alertName&quot;: &quot;A String&quot;, # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique in within the scope of the containing workflow.
17739 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration. Must be a client enabled in one of the containing workflow&#x27;s triggers.
17740 &quot;durationThresholdMs&quot;: &quot;A String&quot;, # Should be specified only for TASK_AVERAGE_DURATION and TASK_PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
17741 &quot;errorEnumList&quot;: { # List of error enums for alerts.
17742 &quot;enumStrings&quot;: [
17743 &quot;A String&quot;,
17744 ],
17745 &quot;filterType&quot;: &quot;A String&quot;,
17746 },
17747 &quot;metricType&quot;: &quot;A String&quot;,
17748 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
17749 &quot;onlyFinalAttempt&quot;: True or False, # Only count final task attempts, not retries.
17750 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
17751 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
17752 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
17753 &quot;absolute&quot;: &quot;A String&quot;,
17754 &quot;percentage&quot;: 42,
17755 },
17756 &quot;warningEnumList&quot;: { # List of error enums for alerts.
17757 &quot;enumStrings&quot;: [
17758 &quot;A String&quot;,
17759 ],
17760 &quot;filterType&quot;: &quot;A String&quot;,
17761 },
17762 },
17763 ],
17764 &quot;conditionalFailurePolicies&quot;: { # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
17765 &quot;defaultFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # The default failure policy to be applied if no conditional failure policy matches
17766 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
17767 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
17768 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
17769 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
17770 },
17771 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
17772 { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
17773 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
17774 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
17775 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
17776 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
17777 },
17778 ],
17779 },
17780 &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
17781 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address. Auto-generated from the user&#x27;s email.
17782 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
17783 &quot;disableStrictTypeValidation&quot;: True or False, # If this config contains a TypedTask, allow validation to succeed if an input is read from the output of another TypedTask whose output type is declared as a superclass of the requested input type. For instance, if the previous task declares an output of type Message, any task with this flag enabled will pass validation when attempting to read any proto Message type from the resultant Event parameter.
17784 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
17785 &quot;externalTaskType&quot;: &quot;A String&quot;,
17786 &quot;failurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
17787 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
17788 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
17789 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
17790 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
17791 },
17792 &quot;incomingEdgeCount&quot;: 42, # The number of edges leading into this TaskConfig.
17793 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # If set, overrides the option configured in the Task implementation class.
17794 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this TaskConfig in the UI.
17795 &quot;lastModifiedTime&quot;: &quot;A String&quot;, # Auto-generated.
17796 &quot;nextTasks&quot;: [ # The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
17797 { # The task that is next in line to be executed, if the condition specified evaluated to true.
17798 &quot;combinedConditions&quot;: [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
17799 { # This message recursively combines constituent conditions using logical AND.
17800 &quot;conditions&quot;: [ # A set of individual constituent conditions.
17801 { # Condition that uses `operator` to evaluate the key against the value.
17802 &quot;eventPropertyKey&quot;: &quot;A String&quot;, # Key that&#x27;s evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.
17803 &quot;operator&quot;: &quot;A String&quot;, # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
17804 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that&#x27;s checked for the key.
17805 &quot;booleanValue&quot;: True or False,
17806 &quot;doubleArray&quot;: {
17807 &quot;values&quot;: [
17808 3.14,
17809 ],
17810 },
17811 &quot;doubleValue&quot;: 3.14,
17812 &quot;intArray&quot;: {
17813 &quot;values&quot;: [
17814 &quot;A String&quot;,
17815 ],
17816 },
17817 &quot;intValue&quot;: &quot;A String&quot;,
17818 &quot;protoValue&quot;: {
17819 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
17820 },
17821 &quot;stringArray&quot;: {
17822 &quot;values&quot;: [
17823 &quot;A String&quot;,
17824 ],
17825 },
17826 &quot;stringValue&quot;: &quot;A String&quot;,
17827 },
17828 },
17829 ],
17830 },
17831 ],
17832 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
17833 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
17834 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
17835 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
17836 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
17837 },
17838 ],
17839 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # The policy dictating the execution of the next set of tasks for the current task.
17840 &quot;parameters&quot;: { # The customized parameters the user can pass to this task.
17841 &quot;a_key&quot;: { # Key-value pair of EventBus parameters.
17842 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
17843 &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.
17844 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
17845 &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.
17846 &quot;booleanArray&quot;: {
17847 &quot;booleanValues&quot;: [
17848 True or False,
17849 ],
17850 },
17851 &quot;booleanValue&quot;: True or False,
17852 &quot;doubleArray&quot;: {
17853 &quot;doubleValues&quot;: [
17854 3.14,
17855 ],
17856 },
17857 &quot;doubleValue&quot;: 3.14,
17858 &quot;intArray&quot;: {
17859 &quot;intValues&quot;: [
17860 &quot;A String&quot;,
17861 ],
17862 },
17863 &quot;intValue&quot;: &quot;A String&quot;,
17864 &quot;jsonValue&quot;: &quot;A String&quot;,
17865 &quot;protoArray&quot;: {
17866 &quot;protoValues&quot;: [
17867 {
17868 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
17869 },
17870 ],
17871 },
17872 &quot;protoValue&quot;: {
17873 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
17874 },
17875 &quot;serializedObjectValue&quot;: {
17876 &quot;objectValue&quot;: &quot;A String&quot;,
17877 },
17878 &quot;stringArray&quot;: {
17879 &quot;stringValues&quot;: [
17880 &quot;A String&quot;,
17881 ],
17882 },
17883 &quot;stringValue&quot;: &quot;A String&quot;,
17884 },
17885 },
17886 },
17887 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this task config on the UI.
17888 &quot;x&quot;: 42,
17889 &quot;y&quot;: 42,
17890 },
17891 &quot;precondition&quot;: &quot;A String&quot;, # Optional. Standard filter expression evaluated before execution. Independent of other conditions and tasks. Can be used to enable rollout. e.g. &quot;rollout(5)&quot; will only allow 5% of incoming traffic to task.
17892 &quot;preconditionLabel&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to precondition in the UI.
17893 &quot;rollbackStrategy&quot;: { # Next available id: 4 # Optional. Contains information about what needs to be done upon failure (either a permanent error or after it has been retried too many times).
17894 &quot;parameters&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 # Optional. The customized parameters the user can pass to this task.
17895 &quot;parameters&quot;: [ # Parameters are a part of Event and can be used to communicate between different tasks that are part of the same workflow execution.
17896 { # Key-value pair of EventBus parameters.
17897 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
17898 &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.
17899 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
17900 &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.
17901 &quot;booleanArray&quot;: {
17902 &quot;booleanValues&quot;: [
17903 True or False,
17904 ],
17905 },
17906 &quot;booleanValue&quot;: True or False,
17907 &quot;doubleArray&quot;: {
17908 &quot;doubleValues&quot;: [
17909 3.14,
17910 ],
17911 },
17912 &quot;doubleValue&quot;: 3.14,
17913 &quot;intArray&quot;: {
17914 &quot;intValues&quot;: [
17915 &quot;A String&quot;,
17916 ],
17917 },
17918 &quot;intValue&quot;: &quot;A String&quot;,
17919 &quot;jsonValue&quot;: &quot;A String&quot;,
17920 &quot;protoArray&quot;: {
17921 &quot;protoValues&quot;: [
17922 {
17923 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
17924 },
17925 ],
17926 },
17927 &quot;protoValue&quot;: {
17928 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
17929 },
17930 &quot;serializedObjectValue&quot;: {
17931 &quot;objectValue&quot;: &quot;A String&quot;,
17932 },
17933 &quot;stringArray&quot;: {
17934 &quot;stringValues&quot;: [
17935 &quot;A String&quot;,
17936 ],
17937 },
17938 &quot;stringValue&quot;: &quot;A String&quot;,
17939 },
17940 },
17941 ],
17942 },
17943 &quot;rollbackTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. This is the name of the task that needs to be executed upon rollback of this task.
17944 &quot;taskNumbersToRollback&quot;: [ # Required. These are the tasks numbers of the tasks whose `rollback_strategy.rollback_task_implementation_class_name` needs to be executed upon failure of this task.
17945 &quot;A String&quot;,
17946 ],
17947 },
17948 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Determines what action to take upon successful task completion.
17949 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
17950 },
17951 &quot;synchronousCallFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
17952 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
17953 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
17954 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
17955 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
17956 },
17957 &quot;taskEntity&quot;: { # Contains a task&#x27;s metadata and associated information. Next available id: 7 # Copy of the task entity that this task config is an instance of.
17958 &quot;disabledForVpcSc&quot;: True or False, # True if the task has conflict with vpcsc
17959 &quot;metadata&quot;: { # TaskMetadata are attributes that are associated to every common Task we have. # Metadata inclueds the task name, author and so on.
17960 &quot;activeTaskName&quot;: &quot;A String&quot;, # The new task name to replace the current task if it is deprecated. Otherwise, it is the same as the current task name.
17961 &quot;admins&quot;: [
17962 { # Admins are owners of a Task, and have all permissions on a particular task identified by the task name. By default, Eventbus periodically scans all task metadata and syncs (adds) any new admins defined here to Zanzibar.
17963 &quot;googleGroupEmail&quot;: &quot;A String&quot;,
17964 &quot;userEmail&quot;: &quot;A String&quot;,
17965 },
17966 ],
17967 &quot;category&quot;: &quot;A String&quot;,
17968 &quot;codeSearchLink&quot;: &quot;A String&quot;, # The Code Search link to the Task Java file.
17969 &quot;defaultJsonValidationOption&quot;: &quot;A String&quot;, # Controls whether JSON workflow parameters are validated against provided schemas before and/or after this task&#x27;s execution.
17970 &quot;defaultSpec&quot;: &quot;A String&quot;, # Contains the initial configuration of the task with default values set. For now, The string should be compatible to an ASCII-proto format.
17971 &quot;description&quot;: &quot;A String&quot;, # In a few sentences, describe the purpose and usage of the task.
17972 &quot;descriptiveName&quot;: &quot;A String&quot;, # The string name to show on the task list on the Workflow editor screen. This should be a very short, one to two words name for the task. (e.g. &quot;Send Mail&quot;)
17973 &quot;docMarkdown&quot;: &quot;A String&quot;, # Snippet of markdown documentation to embed in the RHP for this task.
17974 &quot;externalCategory&quot;: &quot;A String&quot;,
17975 &quot;externalCategorySequence&quot;: 42, # Sequence with which the task in specific category to be displayed in task discovery panel for external users.
17976 &quot;externalDocHtml&quot;: &quot;A String&quot;, # External-facing documention embedded in the RHP for this task.
17977 &quot;externalDocLink&quot;: &quot;A String&quot;, # Doc link for external-facing documentation (separate from g3doc).
17978 &quot;externalDocMarkdown&quot;: &quot;A String&quot;, # DEPRECATED: Use external_doc_html.
17979 &quot;g3DocLink&quot;: &quot;A String&quot;, # URL to the associated G3 Doc for the task if available
17980 &quot;iconLink&quot;: &quot;A String&quot;, # URL to gstatic image icon for this task. This icon shows up on the task list panel along with the task name in the Workflow Editor screen. Use the 24p, 2x, gray color icon image format.
17981 &quot;isDeprecated&quot;: True or False, # The deprecation status of the current task. Default value is false;
17982 &quot;name&quot;: &quot;A String&quot;, # The actual class name or the annotated name of the task. Task Author should initialize this field with value from the getName() method of the Task class.
17983 &quot;standaloneExternalDocHtml&quot;: &quot;A String&quot;, # External-facing documention for standalone IP in pantheon embedded in the RHP for this task. Non null only if different from external_doc_html
17984 &quot;status&quot;: &quot;A String&quot;, # Allows author to indicate if the task is ready to use or not. If not set, then it will default to INACTIVE.
17985 &quot;system&quot;: &quot;A String&quot;,
17986 &quot;tags&quot;: [ # A set of tags that pertain to a particular task. This can be used to improve the searchability of tasks with several names (&quot;REST Caller&quot; vs. &quot;Call REST Endpoint&quot;) or to help users find tasks based on related words.
17987 &quot;A String&quot;,
17988 ],
17989 },
17990 &quot;paramSpecs&quot;: { # Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask.
17991 &quot;parameters&quot;: [
17992 { # Key-value pair of EventBus task parameters. Next id: 13
17993 &quot;className&quot;: &quot;A String&quot;, # The FQCN of the Java object this represents. A string, for example, would be &quot;java.lang.String&quot;. If this is &quot;java.lang.Object&quot;, the parameter can be of any type.
17994 &quot;collectionElementClassName&quot;: &quot;A String&quot;, # If it is a collection of objects, this would be the FCQN of every individual element in the collection. If this is &quot;java.lang.Object&quot;, the parameter is a collection of any type.
17995 &quot;config&quot;: { # Optional fields, such as help text and other useful info.
17996 &quot;descriptivePhrase&quot;: &quot;A String&quot;, # A short phrase to describe what this parameter contains.
17997 &quot;helpText&quot;: &quot;A String&quot;, # Detailed help text for this parameter containing information not provided elsewhere. For example, instructions on how to migrate from a deprecated parameter.
17998 &quot;hideDefaultValue&quot;: True or False, # Whether the default value is hidden in the UI.
17999 &quot;inputDisplayOption&quot;: &quot;A String&quot;,
18000 &quot;isHidden&quot;: True or False, # Whether this field is hidden in the UI.
18001 &quot;label&quot;: &quot;A String&quot;, # A user-friendly label for the parameter.
18002 &quot;parameterNameOption&quot;: &quot;A String&quot;,
18003 &quot;subSectionLabel&quot;: &quot;A String&quot;, # A user-friendly label for subSection under which the parameter will be displayed.
18004 &quot;uiPlaceholderText&quot;: &quot;A String&quot;, # Placeholder text which will appear in the UI input form for this parameter.
18005 },
18006 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
18007 &quot;defaultValue&quot;: { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
18008 &quot;booleanArray&quot;: {
18009 &quot;booleanValues&quot;: [
18010 True or False,
18011 ],
18012 },
18013 &quot;booleanValue&quot;: True or False,
18014 &quot;doubleArray&quot;: {
18015 &quot;doubleValues&quot;: [
18016 3.14,
18017 ],
18018 },
18019 &quot;doubleValue&quot;: 3.14,
18020 &quot;intArray&quot;: {
18021 &quot;intValues&quot;: [
18022 &quot;A String&quot;,
18023 ],
18024 },
18025 &quot;intValue&quot;: &quot;A String&quot;,
18026 &quot;jsonValue&quot;: &quot;A String&quot;,
18027 &quot;protoArray&quot;: {
18028 &quot;protoValues&quot;: [
18029 {
18030 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
18031 },
18032 ],
18033 },
18034 &quot;protoValue&quot;: {
18035 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
18036 },
18037 &quot;serializedObjectValue&quot;: {
18038 &quot;objectValue&quot;: &quot;A String&quot;,
18039 },
18040 &quot;stringArray&quot;: {
18041 &quot;stringValues&quot;: [
18042 &quot;A String&quot;,
18043 ],
18044 },
18045 &quot;stringValue&quot;: &quot;A String&quot;,
18046 },
18047 &quot;isDeprecated&quot;: True or False, # If set, this entry is deprecated, so further use of this parameter should be prohibited.
18048 &quot;isOutput&quot;: True or False,
18049 &quot;jsonSchema&quot;: &quot;A String&quot;, # If the data_type is JSON_VALUE, then this will define its schema.
18050 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given task. These parameters must be predefined in the workflow definition.
18051 &quot;protoDef&quot;: { # Populated if this represents a proto or proto array.
18052 &quot;fullName&quot;: &quot;A String&quot;, # The fully-qualified proto name. This message, for example, would be &quot;enterprise.crm.eventbus.proto.ParamSpecEntry.ProtoDefinition&quot;.
18053 &quot;path&quot;: &quot;A String&quot;, # Path to the proto file that contains the message type&#x27;s definition.
18054 },
18055 &quot;required&quot;: True or False, # If set, the user must provide an input value for this parameter.
18056 &quot;validationRule&quot;: { # Rule used to validate inputs (individual values and collection elements) for this parameter.
18057 &quot;doubleRange&quot;: { # Range used to validate doubles and floats.
18058 &quot;max&quot;: 3.14, # The inclusive maximum of the acceptable range.
18059 &quot;min&quot;: 3.14, # The inclusive minimum of the acceptable range.
18060 },
18061 &quot;intRange&quot;: { # Range used to validate longs and ints.
18062 &quot;max&quot;: &quot;A String&quot;, # The inclusive maximum of the acceptable range.
18063 &quot;min&quot;: &quot;A String&quot;, # The inclusive minimum of the acceptable range.
18064 },
18065 &quot;stringRegex&quot;: { # Rule used to validate strings.
18066 &quot;exclusive&quot;: True or False, # Whether the regex matcher is applied exclusively (if true, matching values will be rejected).
18067 &quot;regex&quot;: &quot;A String&quot;, # The regex applied to the input value(s).
18068 },
18069 },
18070 },
18071 ],
18072 },
18073 &quot;stats&quot;: { # Stats for the requested dimensions: QPS, duration, and error/warning rate # Deprecated - statistics from the Monarch query.
18074 &quot;dimensions&quot;: { # Dimensions that these stats have been aggregated on.
18075 &quot;clientId&quot;: &quot;A String&quot;,
18076 &quot;enumFilterType&quot;: &quot;A String&quot;, # Whether to include or exclude the enums matching the regex.
18077 &quot;errorEnumString&quot;: &quot;A String&quot;,
18078 &quot;retryAttempt&quot;: &quot;A String&quot;,
18079 &quot;taskName&quot;: &quot;A String&quot;,
18080 &quot;taskNumber&quot;: &quot;A String&quot;,
18081 &quot;triggerId&quot;: &quot;A String&quot;, # Stats have been or will be aggregated on set fields for any semantically-meaningful combination.
18082 &quot;warningEnumString&quot;: &quot;A String&quot;,
18083 &quot;workflowId&quot;: &quot;A String&quot;,
18084 &quot;workflowName&quot;: &quot;A String&quot;,
18085 },
18086 &quot;durationInSeconds&quot;: 3.14, # Average duration in seconds.
18087 &quot;errorRate&quot;: 3.14, # Average error rate.
18088 &quot;qps&quot;: 3.14, # Queries per second.
18089 &quot;warningRate&quot;: 3.14, # Average warning rate.
18090 },
18091 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
18092 &quot;uiConfig&quot;: { # Task authors would use this type to configure the UI for a particular task by specifying what UI config modules should be included to compose the UI. Learn more about config module framework: # UI configuration for this task Also associated with the METADATA mask.
18093 &quot;taskUiModuleConfigs&quot;: [ # Configurations of included config modules.
18094 { # Task author would use this type to configure a config module.
18095 &quot;moduleId&quot;: &quot;A String&quot;, # ID of the config module.
18096 },
18097 ],
18098 },
18099 },
18100 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # The policy dictating the execution strategy of this task.
18101 &quot;taskName&quot;: &quot;A String&quot;, # The name for the task.
18102 &quot;taskNumber&quot;: &quot;A String&quot;, # REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`).
18103 &quot;taskSpec&quot;: &quot;A String&quot;, # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old &quot;parameters&quot; field.
18104 &quot;taskTemplateName&quot;: &quot;A String&quot;, # Used to define task-template name if task is of type task-template
18105 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
18106 },
18107 ],
18108 &quot;teardown&quot;: { # Optional. Contains a graph of tasks that will be executed before putting the event in a terminal state (SUCCEEDED/FAILED/FATAL), regardless of success or failure, similar to &quot;finally&quot; in code.
18109 &quot;teardownTaskConfigs&quot;: [ # Required.
18110 {
18111 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address.
18112 &quot;name&quot;: &quot;A String&quot;, # Required. Unique identifier of the teardown task within this Config. We use this field as the identifier to find next teardown tasks.
18113 &quot;nextTeardownTask&quot;: { # The teardown task that is next in line to be executed. We support only sequential execution of teardown tasks (i.e. no branching).
18114 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the next teardown task.
18115 },
18116 &quot;parameters&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 the user can pass to this task.
18117 &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.
18118 { # Key-value pair of EventBus parameters.
18119 &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.
18120 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
18121 &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.
18122 &quot;booleanArray&quot;: {
18123 &quot;booleanValues&quot;: [
18124 True or False,
18125 ],
18126 },
18127 &quot;booleanValue&quot;: True or False,
18128 &quot;doubleArray&quot;: {
18129 &quot;doubleValues&quot;: [
18130 3.14,
18131 ],
18132 },
18133 &quot;doubleValue&quot;: 3.14,
18134 &quot;intArray&quot;: {
18135 &quot;intValues&quot;: [
18136 &quot;A String&quot;,
18137 ],
18138 },
18139 &quot;intValue&quot;: &quot;A String&quot;,
18140 &quot;protoArray&quot;: {
18141 &quot;protoValues&quot;: [
18142 {
18143 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
18144 },
18145 ],
18146 },
18147 &quot;protoValue&quot;: {
18148 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
18149 },
18150 &quot;serializedObjectValue&quot;: {
18151 &quot;objectValue&quot;: &quot;A String&quot;,
18152 },
18153 &quot;stringArray&quot;: {
18154 &quot;stringValues&quot;: [
18155 &quot;A String&quot;,
18156 ],
18157 },
18158 &quot;stringValue&quot;: &quot;A String&quot;,
18159 },
18160 },
18161 ],
18162 },
18163 &quot;properties&quot;: { # LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus.
18164 &quot;properties&quot;: [ # An unordered list of property entries.
18165 { # Key-value pair of EventBus property.
18166 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding property value. This should be unique for a given fired event. The Tasks should be aware of the keys used while firing the events for them to be able to retrieve the values.
18167 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Values for the defined keys. Each value can either be string, int, double or any proto message.
18168 &quot;booleanValue&quot;: True or False,
18169 &quot;doubleArray&quot;: {
18170 &quot;values&quot;: [
18171 3.14,
18172 ],
18173 },
18174 &quot;doubleValue&quot;: 3.14,
18175 &quot;intArray&quot;: {
18176 &quot;values&quot;: [
18177 &quot;A String&quot;,
18178 ],
18179 },
18180 &quot;intValue&quot;: &quot;A String&quot;,
18181 &quot;protoValue&quot;: {
18182 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
18183 },
18184 &quot;stringArray&quot;: {
18185 &quot;values&quot;: [
18186 &quot;A String&quot;,
18187 ],
18188 },
18189 &quot;stringValue&quot;: &quot;A String&quot;,
18190 },
18191 },
18192 ],
18193 },
18194 &quot;teardownTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. Implementation class name.
18195 },
18196 ],
18197 },
18198 &quot;triggerConfigs&quot;: [ # Optional. Trigger configurations.
18199 { # Configuration detail of a trigger.
18200 &quot;alertConfig&quot;: [ # Optional. An alert threshold configuration for the [trigger + client + integration] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + integration] when published.
18201 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
18202 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
18203 &quot;alertThreshold&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
18204 &quot;disableAlert&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this integration alert.
18205 &quot;displayName&quot;: &quot;A String&quot;, # Name of the alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the integration.
18206 &quot;durationThreshold&quot;: &quot;A String&quot;, # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
18207 &quot;metricType&quot;: &quot;A String&quot;, # The type of metric.
18208 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
18209 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
18210 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
18211 &quot;absolute&quot;: &quot;A String&quot;, # Absolute value threshold.
18212 &quot;percentage&quot;: 42, # Percentage threshold.
18213 },
18214 },
18215 ],
18216 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration # Optional. Cloud Scheduler Trigger related metadata
18217 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
18218 &quot;errorMessage&quot;: &quot;A String&quot;, # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations
18219 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
18220 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
18221 },
18222 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
18223 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
18224 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
18225 &quot;names&quot;: [ # Optional. List of variable names.
18226 &quot;A String&quot;,
18227 ],
18228 },
18229 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular trigger.
18230 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. Dictates how next tasks will be executed.
18231 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
18232 &quot;names&quot;: [ # Optional. List of variable names.
18233 &quot;A String&quot;,
18234 ],
18235 },
18236 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
18237 &quot;x&quot;: 42, # Required. X axis of the coordinate
18238 &quot;y&quot;: 42, # Required. Y axis of the coordinate
18239 },
18240 &quot;properties&quot;: { # Optional. Configurable properties of the trigger, not to be confused with integration parameters. E.g. &quot;name&quot; is a property for API triggers and &quot;subscription&quot; is a property for Pub/sub triggers.
18241 &quot;a_key&quot;: &quot;A String&quot;,
18242 },
18243 &quot;startTasks&quot;: [ # Optional. Set of tasks numbers from where the integration execution is started by this trigger. If this is empty, then integration is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same integration execution graph).
18244 { # The task that is next in line to be executed, if the condition specified evaluated to true.
18245 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
18246 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
18247 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
18248 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
18249 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
18250 },
18251 ],
18252 &quot;trigger&quot;: &quot;A String&quot;, # Optional. Name of the trigger. Example: &quot;API Trigger&quot;, &quot;Cloud Pub Sub Trigger&quot; When set will be sent out to monitoring dashabord for tracking purpose.
18253 &quot;triggerId&quot;: &quot;A String&quot;, # Optional. Auto-generated trigger ID. The ID is based on the properties that you define in the trigger config. For example, for an API trigger, the trigger ID follows the format: api_trigger/TRIGGER_NAME Where trigger config has properties with value {&quot;Trigger name&quot;: TRIGGER_NAME}
18254 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the integration on UI.
18255 &quot;triggerType&quot;: &quot;A String&quot;, # Optional. Type of trigger
18256 },
18257 ],
18258 &quot;triggerConfigsInternal&quot;: [ # Optional. Trigger configurations.
18259 { # Configuration detail of a trigger. Next available id: 22
18260 &quot;alertConfig&quot;: [ # An alert threshold configuration for the [trigger + client + workflow] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + workflow] when published.
18261 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
18262 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
18263 &quot;alertDisabled&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.
18264 &quot;alertName&quot;: &quot;A String&quot;, # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the workflow.
18265 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration.
18266 &quot;durationThresholdMs&quot;: &quot;A String&quot;, # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
18267 &quot;errorEnumList&quot;: { # List of error enums for alerts.
18268 &quot;enumStrings&quot;: [
18269 &quot;A String&quot;,
18270 ],
18271 &quot;filterType&quot;: &quot;A String&quot;,
18272 },
18273 &quot;metricType&quot;: &quot;A String&quot;,
18274 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
18275 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
18276 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
18277 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
18278 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
18279 &quot;absolute&quot;: &quot;A String&quot;,
18280 &quot;percentage&quot;: 42,
18281 },
18282 &quot;warningEnumList&quot;: { # List of error enums for alerts.
18283 &quot;enumStrings&quot;: [
18284 &quot;A String&quot;,
18285 ],
18286 &quot;filterType&quot;: &quot;A String&quot;,
18287 },
18288 },
18289 ],
18290 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration
18291 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
18292 &quot;errorMessage&quot;: &quot;A String&quot;, # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations
18293 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
18294 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
18295 },
18296 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
18297 &quot;enabledClients&quot;: [ # Required. The list of client ids which are enabled to execute the workflow using this trigger. In other words, these clients have the workflow execution privledges for this trigger. For API trigger, the client id in the incoming request is validated against the list of enabled clients. For non-API triggers, one workflow execution is triggered on behalf of each enabled client.
18298 &quot;A String&quot;,
18299 ],
18300 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
18301 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
18302 &quot;names&quot;: [ # Optional. List of variable names.
18303 &quot;A String&quot;,
18304 ],
18305 },
18306 &quot;label&quot;: &quot;A String&quot;, # The user created label for a particular trigger.
18307 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Dictates how next tasks will be executed.
18308 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
18309 &quot;names&quot;: [ # Optional. List of variable names.
18310 &quot;A String&quot;,
18311 ],
18312 },
18313 &quot;pauseWorkflowExecutions&quot;: True or False, # Optional. If set to true, any upcoming requests for this trigger config will be paused and the executions will be resumed later when the flag is reset. The workflow to which this trigger config belongs has to be in ACTIVE status for the executions to be paused or resumed.
18314 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this trigger config on the UI.
18315 &quot;x&quot;: 42,
18316 &quot;y&quot;: 42,
18317 },
18318 &quot;properties&quot;: { # Configurable properties of the trigger, not to be confused with workflow parameters. E.g. &quot;name&quot; is a property for API triggers and &quot;subscription&quot; is a property for Cloud Pubsub triggers.
18319 &quot;a_key&quot;: &quot;A String&quot;,
18320 },
18321 &quot;startTasks&quot;: [ # Set of tasks numbers from where the workflow execution is started by this trigger. If this is empty, then workflow is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same workflow execution graph).
18322 { # The task that is next in line to be executed, if the condition specified evaluated to true.
18323 &quot;combinedConditions&quot;: [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
18324 { # This message recursively combines constituent conditions using logical AND.
18325 &quot;conditions&quot;: [ # A set of individual constituent conditions.
18326 { # Condition that uses `operator` to evaluate the key against the value.
18327 &quot;eventPropertyKey&quot;: &quot;A String&quot;, # Key that&#x27;s evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.
18328 &quot;operator&quot;: &quot;A String&quot;, # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
18329 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that&#x27;s checked for the key.
18330 &quot;booleanValue&quot;: True or False,
18331 &quot;doubleArray&quot;: {
18332 &quot;values&quot;: [
18333 3.14,
18334 ],
18335 },
18336 &quot;doubleValue&quot;: 3.14,
18337 &quot;intArray&quot;: {
18338 &quot;values&quot;: [
18339 &quot;A String&quot;,
18340 ],
18341 },
18342 &quot;intValue&quot;: &quot;A String&quot;,
18343 &quot;protoValue&quot;: {
18344 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
18345 },
18346 &quot;stringArray&quot;: {
18347 &quot;values&quot;: [
18348 &quot;A String&quot;,
18349 ],
18350 },
18351 &quot;stringValue&quot;: &quot;A String&quot;,
18352 },
18353 },
18354 ],
18355 },
18356 ],
18357 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
18358 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
18359 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
18360 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
18361 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
18362 },
18363 ],
18364 &quot;triggerCriteria&quot;: { # Optional. When set, Eventbus will run the task specified in the trigger_criteria and validate the result using the trigger_criteria.condition, and only execute the workflow when result is true.
18365 &quot;condition&quot;: &quot;A String&quot;, # Required. Standard filter expression, when true the workflow will be executed. If there&#x27;s no trigger_criteria_task_implementation_class_name specified, the condition will be validated directly.
18366 &quot;parameters&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 # Optional. To be used in TaskConfig for the implementation class.
18367 &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.
18368 { # Key-value pair of EventBus parameters.
18369 &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.
18370 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
18371 &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.
18372 &quot;booleanArray&quot;: {
18373 &quot;booleanValues&quot;: [
18374 True or False,
18375 ],
18376 },
18377 &quot;booleanValue&quot;: True or False,
18378 &quot;doubleArray&quot;: {
18379 &quot;doubleValues&quot;: [
18380 3.14,
18381 ],
18382 },
18383 &quot;doubleValue&quot;: 3.14,
18384 &quot;intArray&quot;: {
18385 &quot;intValues&quot;: [
18386 &quot;A String&quot;,
18387 ],
18388 },
18389 &quot;intValue&quot;: &quot;A String&quot;,
18390 &quot;protoArray&quot;: {
18391 &quot;protoValues&quot;: [
18392 {
18393 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
18394 },
18395 ],
18396 },
18397 &quot;protoValue&quot;: {
18398 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
18399 },
18400 &quot;serializedObjectValue&quot;: {
18401 &quot;objectValue&quot;: &quot;A String&quot;,
18402 },
18403 &quot;stringArray&quot;: {
18404 &quot;stringValues&quot;: [
18405 &quot;A String&quot;,
18406 ],
18407 },
18408 &quot;stringValue&quot;: &quot;A String&quot;,
18409 },
18410 },
18411 ],
18412 },
18413 &quot;triggerCriteriaTaskImplementationClassName&quot;: &quot;A String&quot;, # Optional. Implementation class name. The class should implement the “TypedTask” interface.
18414 },
18415 &quot;triggerId&quot;: &quot;A String&quot;, # The backend trigger ID.
18416 &quot;triggerName&quot;: &quot;A String&quot;, # Optional. Name of the trigger This is added to identify the type of trigger. This is avoid the logic on triggerId to identify the trigger_type and push the same to monitoring.
18417 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the workflow on UI.
18418 &quot;triggerType&quot;: &quot;A String&quot;,
18419 },
18420 ],
18421 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
18422 &quot;userLabel&quot;: &quot;A String&quot;, # Optional. A user-defined label that annotates an integration version. Typically, this is only set when the integration version is created.
18423 },
18424 &quot;key&quot;: &quot;A String&quot;, # Required. Unique Key of the IntegrationVersion.
18425 },
18426 &quot;subIntegrationVersionTemplates&quot;: [ # Optional. Sub integration templates which would be added along with main integration.
18427 { # Define the template of IntegrationVersion.
18428 &quot;integrationVersion&quot;: { # The integration version definition. # Required. Templatized version of integration.
18429 &quot;cloudKmsKey&quot;: &quot;A String&quot;, # Optional. Cloud KMS resource name for the CMEK encryption key.
18430 &quot;cloudLoggingDetails&quot;: { # Cloud Logging details for execution info # Optional. Cloud Logging details for the integration version
18431 &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.
18432 &quot;enableCloudLogging&quot;: True or False, # Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.
18433 },
18434 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
18435 &quot;createdFromTemplate&quot;: &quot;A String&quot;, # Optional. Optional. The resource name of the template from which the integration is created.
18436 &quot;databasePersistencePolicy&quot;: &quot;A String&quot;, # Optional. Flag to disable database persistence for execution data, including event execution info, execution export info, execution metadata index and execution param index.
18437 &quot;description&quot;: &quot;A String&quot;, # Optional. The integration description.
18438 &quot;enableVariableMasking&quot;: True or False, # Optional. True if variable masking feature should be turned on for this version
18439 &quot;errorCatcherConfigs&quot;: [ # Optional. Error Catch Task configuration for the integration. It&#x27;s optional.
18440 { # Configuration detail of a error catch task
18441 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give more business context about the error catcher config.
18442 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Required. An error catcher id is string representation for the error catcher config. Within a workflow, error_catcher_id uniquely identifies an error catcher config among all error catcher configs for the workflow
18443 &quot;errorCatcherNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each error catcher config within the workflow on UI.
18444 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular error catcher. Optional.
18445 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
18446 &quot;x&quot;: 42, # Required. X axis of the coordinate
18447 &quot;y&quot;: 42, # Required. Y axis of the coordinate
18448 },
18449 &quot;startErrorTasks&quot;: [ # Required. The set of start tasks that are to be executed for the error catch flow
18450 { # The task that is next in line to be executed, if the condition specified evaluated to true.
18451 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
18452 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
18453 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
18454 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
18455 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
18456 },
18457 ],
18458 },
18459 ],
18460 &quot;integrationConfigParameters&quot;: [ # Optional. Config Parameters that are expected to be passed to the integration when an integration is published. This consists of all the parameters that are expected to provide configuration in the integration execution. This gives the user the ability to provide default values, value, add information like connection url, project based configuration value and also provide data types of each parameter.
18461 { # Integration Config Parameter is defined in the integration config and are used to provide external configuration for integration. It provide information about data types of the expected parameters and provide any default values or value. They can also be used to add custom attributes.
18462 &quot;parameter&quot;: { # 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. # Optional. Integration Parameter to provide the default value, data type and attributes required for the Integration config variables.
18463 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
18464 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
18465 &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.
18466 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
18467 &quot;booleanValues&quot;: [ # Boolean array.
18468 True or False,
18469 ],
18470 },
18471 &quot;booleanValue&quot;: True or False, # Boolean.
18472 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
18473 &quot;doubleValues&quot;: [ # Double number array.
18474 3.14,
18475 ],
18476 },
18477 &quot;doubleValue&quot;: 3.14, # Double Number.
18478 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
18479 &quot;intValues&quot;: [ # Integer array.
18480 &quot;A String&quot;,
18481 ],
18482 },
18483 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
18484 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
18485 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
18486 &quot;stringValues&quot;: [ # String array.
18487 &quot;A String&quot;,
18488 ],
18489 },
18490 &quot;stringValue&quot;: &quot;A String&quot;, # String.
18491 },
18492 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
18493 &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;.
18494 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
18495 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
18496 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
18497 &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.
18498 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
18499 &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.
18500 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
18501 },
18502 &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 or a serialized object.
18503 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
18504 &quot;booleanValues&quot;: [ # Boolean array.
18505 True or False,
18506 ],
18507 },
18508 &quot;booleanValue&quot;: True or False, # Boolean.
18509 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
18510 &quot;doubleValues&quot;: [ # Double number array.
18511 3.14,
18512 ],
18513 },
18514 &quot;doubleValue&quot;: 3.14, # Double Number.
18515 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
18516 &quot;intValues&quot;: [ # Integer array.
18517 &quot;A String&quot;,
18518 ],
18519 },
18520 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
18521 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
18522 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
18523 &quot;stringValues&quot;: [ # String array.
18524 &quot;A String&quot;,
18525 ],
18526 },
18527 &quot;stringValue&quot;: &quot;A String&quot;, # String.
18528 },
18529 },
18530 ],
18531 &quot;integrationParameters&quot;: [ # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
18532 { # 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.
18533 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
18534 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
18535 &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.
18536 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
18537 &quot;booleanValues&quot;: [ # Boolean array.
18538 True or False,
18539 ],
18540 },
18541 &quot;booleanValue&quot;: True or False, # Boolean.
18542 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
18543 &quot;doubleValues&quot;: [ # Double number array.
18544 3.14,
18545 ],
18546 },
18547 &quot;doubleValue&quot;: 3.14, # Double Number.
18548 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
18549 &quot;intValues&quot;: [ # Integer array.
18550 &quot;A String&quot;,
18551 ],
18552 },
18553 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
18554 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
18555 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
18556 &quot;stringValues&quot;: [ # String array.
18557 &quot;A String&quot;,
18558 ],
18559 },
18560 &quot;stringValue&quot;: &quot;A String&quot;, # String.
18561 },
18562 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
18563 &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;.
18564 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
18565 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
18566 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
18567 &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.
18568 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
18569 &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.
18570 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
18571 },
18572 ],
18573 &quot;integrationParametersInternal&quot;: { # LINT.IfChange This is the frontend version of WorkflowParameters. It&#x27;s exactly like the backend version except that instead of flattening protobuf parameters and treating every field and subfield of a protobuf parameter as a separate parameter, the fields/subfields of a protobuf parameter will be nested as &quot;children&quot; (see &#x27;children&#x27; field below) parameters of the parent parameter. Please refer to enterprise/crm/eventbus/proto/workflow_parameters.proto for more information about WorkflowParameters. # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
18574 &quot;parameters&quot;: [ # Parameters are a part of Event and can be used to communiticate between different tasks that are part of the same workflow execution.
18575 {
18576 &quot;attributes&quot;: { # Attributes are additional options that can be associated with each event property. For more information, see # Metadata information about the parameters.
18577 &quot;dataType&quot;: &quot;A String&quot;, # Things like URL, Email, Currency, Timestamp (rather than string, int64...)
18578 &quot;defaultValue&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Used to define defaults.
18579 &quot;booleanValue&quot;: True or False,
18580 &quot;doubleArray&quot;: {
18581 &quot;values&quot;: [
18582 3.14,
18583 ],
18584 },
18585 &quot;doubleValue&quot;: 3.14,
18586 &quot;intArray&quot;: {
18587 &quot;values&quot;: [
18588 &quot;A String&quot;,
18589 ],
18590 },
18591 &quot;intValue&quot;: &quot;A String&quot;,
18592 &quot;protoValue&quot;: {
18593 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
18594 },
18595 &quot;stringArray&quot;: {
18596 &quot;values&quot;: [
18597 &quot;A String&quot;,
18598 ],
18599 },
18600 &quot;stringValue&quot;: &quot;A String&quot;,
18601 },
18602 &quot;isRequired&quot;: True or False, # Required for event execution. The validation will be done by the event bus when the event is triggered.
18603 &quot;isSearchable&quot;: True or False, # Used to indicate if a ParameterEntry should be converted to ParamIndexes for ST-Spanner full-text search. DEPRECATED: use searchable.
18604 &quot;logSettings&quot;: { # The LogSettings define the logging attributes for an event property. These attributes are used to map the property to the parameter in the log proto. Also used to define scrubbing/truncation behavior and PII information. # See
18605 &quot;logFieldName&quot;: &quot;A String&quot;, # The name of corresponding logging field of the event property. If omitted, assumes the same name as the event property key.
18606 &quot;seedPeriod&quot;: &quot;A String&quot;,
18607 &quot;seedScope&quot;: &quot;A String&quot;,
18608 },
18609 &quot;masked&quot;: True or False, # True if this workflow parameter should be masked in the logs
18610 &quot;readOnly&quot;: True or False, # Used to indicate if the ParameterEntry is a read only field or not.
18611 &quot;searchable&quot;: &quot;A String&quot;,
18612 &quot;taskVisibility&quot;: [ # List of tasks that can view this property, if empty then all.
18613 &quot;A String&quot;,
18614 ],
18615 },
18616 &quot;children&quot;: [ # Child parameters nested within this parameter. This field only applies to protobuf parameters
18617 # Object with schema name: EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
18618 ],
18619 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
18620 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
18621 &quot;defaultValue&quot;: { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
18622 &quot;booleanArray&quot;: {
18623 &quot;booleanValues&quot;: [
18624 True or False,
18625 ],
18626 },
18627 &quot;booleanValue&quot;: True or False,
18628 &quot;doubleArray&quot;: {
18629 &quot;doubleValues&quot;: [
18630 3.14,
18631 ],
18632 },
18633 &quot;doubleValue&quot;: 3.14,
18634 &quot;intArray&quot;: {
18635 &quot;intValues&quot;: [
18636 &quot;A String&quot;,
18637 ],
18638 },
18639 &quot;intValue&quot;: &quot;A String&quot;,
18640 &quot;jsonValue&quot;: &quot;A String&quot;,
18641 &quot;protoArray&quot;: {
18642 &quot;protoValues&quot;: [
18643 {
18644 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
18645 },
18646 ],
18647 },
18648 &quot;protoValue&quot;: {
18649 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
18650 },
18651 &quot;serializedObjectValue&quot;: {
18652 &quot;objectValue&quot;: &quot;A String&quot;,
18653 },
18654 &quot;stringArray&quot;: {
18655 &quot;stringValues&quot;: [
18656 &quot;A String&quot;,
18657 ],
18658 },
18659 &quot;stringValue&quot;: &quot;A String&quot;,
18660 },
18661 &quot;description&quot;: &quot;A String&quot;, # Optional. The description about the parameter
18662 &quot;inOutType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
18663 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
18664 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
18665 &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.
18666 &quot;name&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;.
18667 &quot;producedBy&quot;: { # Represents a node identifier (type + id). Next highest id: 3 # 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.
18668 &quot;elementIdentifier&quot;: &quot;A String&quot;, # Configuration of the edge.
18669 &quot;elementType&quot;: &quot;A String&quot;, # Destination node where the edge ends. It can only be a task config.
18670 },
18671 &quot;producer&quot;: &quot;A String&quot;,
18672 &quot;protoDefName&quot;: &quot;A String&quot;, # The name of the protobuf type if the parameter has a protobuf data type.
18673 &quot;protoDefPath&quot;: &quot;A String&quot;, # If the data type is of type proto or proto array, this field needs to be populated with the fully qualified proto name. This message, for example, would be &quot;enterprise.crm.frontends.eventbus.proto.WorkflowParameterEntry&quot;.
18674 &quot;required&quot;: True or False,
18675 },
18676 ],
18677 },
18678 &quot;lastModifierEmail&quot;: &quot;A String&quot;, # Optional. The last modifier&#x27;s email address. Generated based on the End User Credentials/LOAS role of the user making the call.
18679 &quot;lockHolder&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.
18680 &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
18681 &quot;origin&quot;: &quot;A String&quot;, # Optional. The origin that indicates where this integration is coming from.
18682 &quot;parentTemplateId&quot;: &quot;A String&quot;, # Optional. The id of the template which was used to create this integration_version.
18683 &quot;runAsServiceAccount&quot;: &quot;A String&quot;, # Optional. The run-as service account email, if set and auth config is not configured, that will be used to generate auth token to be used in Connector task, Rest caller task and Cloud function task.
18684 &quot;snapshotNumber&quot;: &quot;A String&quot;, # Output only. An increasing sequence that is set when a new snapshot is created. The last created snapshot can be identified by [workflow_name, org_id latest(snapshot_number)]. However, last created snapshot need not be same as the HEAD. So users should always use &quot;HEAD&quot; tag to identify the head.
18685 &quot;state&quot;: &quot;A String&quot;, # Output only. User should not set it as an input.
18686 &quot;status&quot;: &quot;A String&quot;, # Output only. Generated by eventbus. User should not set it as an input.
18687 &quot;taskConfigs&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
18688 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
18689 &quot;conditionalFailurePolicies&quot;: { # Conditional task failur retry strategies # Optional. The list of conditional failure policies that will be applied to the task in order.
18690 &quot;defaultFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # The default failure policy to be applied if no conditional failure policy matches.
18691 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
18692 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
18693 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
18694 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
18695 },
18696 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
18697 { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
18698 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
18699 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
18700 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
18701 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
18702 },
18703 ],
18704 },
18705 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
18706 &quot;displayName&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to this TaskConfig in the UI.
18707 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
18708 &quot;externalTaskType&quot;: &quot;A String&quot;, # Optional. External task type of the task
18709 &quot;failurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
18710 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
18711 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
18712 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
18713 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
18714 },
18715 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # Optional. If set, overrides the option configured in the Task implementation class.
18716 &quot;nextTasks&quot;: [ # Optional. The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
18717 { # The task that is next in line to be executed, if the condition specified evaluated to true.
18718 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
18719 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
18720 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
18721 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
18722 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
18723 },
18724 ],
18725 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution of the next set of tasks for the current task.
18726 &quot;parameters&quot;: { # Optional. The customized parameters the user can pass to this task.
18727 &quot;a_key&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
18728 &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.
18729 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
18730 &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.
18731 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
18732 &quot;booleanValues&quot;: [ # Boolean array.
18733 True or False,
18734 ],
18735 },
18736 &quot;booleanValue&quot;: True or False, # Boolean.
18737 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
18738 &quot;doubleValues&quot;: [ # Double number array.
18739 3.14,
18740 ],
18741 },
18742 &quot;doubleValue&quot;: 3.14, # Double Number.
18743 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
18744 &quot;intValues&quot;: [ # Integer array.
18745 &quot;A String&quot;,
18746 ],
18747 },
18748 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
18749 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
18750 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
18751 &quot;stringValues&quot;: [ # String array.
18752 &quot;A String&quot;,
18753 ],
18754 },
18755 &quot;stringValue&quot;: &quot;A String&quot;, # String.
18756 },
18757 },
18758 },
18759 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
18760 &quot;x&quot;: 42, # Required. X axis of the coordinate
18761 &quot;y&quot;: 42, # Required. Y axis of the coordinate
18762 },
18763 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Optional. Determines what action to take upon successful task completion.
18764 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
18765 },
18766 &quot;synchronousCallFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
18767 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
18768 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
18769 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
18770 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
18771 },
18772 &quot;task&quot;: &quot;A String&quot;, # Optional. The name for the task.
18773 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution strategy of this task.
18774 &quot;taskId&quot;: &quot;A String&quot;, # Required. The identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_id`).
18775 &quot;taskTemplate&quot;: &quot;A String&quot;, # Optional. Used to define task-template name if task is of type task-template
18776 },
18777 ],
18778 &quot;taskConfigsInternal&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
18779 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
18780 &quot;alertConfigs&quot;: [ # Alert configurations on error rate, warning rate, number of runs, durations, etc.
18781 { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event.
18782 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week).
18783 &quot;alertDisabled&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.
18784 &quot;alertName&quot;: &quot;A String&quot;, # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique in within the scope of the containing workflow.
18785 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration. Must be a client enabled in one of the containing workflow&#x27;s triggers.
18786 &quot;durationThresholdMs&quot;: &quot;A String&quot;, # Should be specified only for TASK_AVERAGE_DURATION and TASK_PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
18787 &quot;errorEnumList&quot;: { # List of error enums for alerts.
18788 &quot;enumStrings&quot;: [
18789 &quot;A String&quot;,
18790 ],
18791 &quot;filterType&quot;: &quot;A String&quot;,
18792 },
18793 &quot;metricType&quot;: &quot;A String&quot;,
18794 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
18795 &quot;onlyFinalAttempt&quot;: True or False, # Only count final task attempts, not retries.
18796 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
18797 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
18798 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
18799 &quot;absolute&quot;: &quot;A String&quot;,
18800 &quot;percentage&quot;: 42,
18801 },
18802 &quot;warningEnumList&quot;: { # List of error enums for alerts.
18803 &quot;enumStrings&quot;: [
18804 &quot;A String&quot;,
18805 ],
18806 &quot;filterType&quot;: &quot;A String&quot;,
18807 },
18808 },
18809 ],
18810 &quot;conditionalFailurePolicies&quot;: { # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
18811 &quot;defaultFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # The default failure policy to be applied if no conditional failure policy matches
18812 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
18813 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
18814 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
18815 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
18816 },
18817 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
18818 { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
18819 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
18820 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
18821 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
18822 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
18823 },
18824 ],
18825 },
18826 &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
18827 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address. Auto-generated from the user&#x27;s email.
18828 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
18829 &quot;disableStrictTypeValidation&quot;: True or False, # If this config contains a TypedTask, allow validation to succeed if an input is read from the output of another TypedTask whose output type is declared as a superclass of the requested input type. For instance, if the previous task declares an output of type Message, any task with this flag enabled will pass validation when attempting to read any proto Message type from the resultant Event parameter.
18830 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
18831 &quot;externalTaskType&quot;: &quot;A String&quot;,
18832 &quot;failurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
18833 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
18834 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
18835 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
18836 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
18837 },
18838 &quot;incomingEdgeCount&quot;: 42, # The number of edges leading into this TaskConfig.
18839 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # If set, overrides the option configured in the Task implementation class.
18840 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this TaskConfig in the UI.
18841 &quot;lastModifiedTime&quot;: &quot;A String&quot;, # Auto-generated.
18842 &quot;nextTasks&quot;: [ # The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
18843 { # The task that is next in line to be executed, if the condition specified evaluated to true.
18844 &quot;combinedConditions&quot;: [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
18845 { # This message recursively combines constituent conditions using logical AND.
18846 &quot;conditions&quot;: [ # A set of individual constituent conditions.
18847 { # Condition that uses `operator` to evaluate the key against the value.
18848 &quot;eventPropertyKey&quot;: &quot;A String&quot;, # Key that&#x27;s evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.
18849 &quot;operator&quot;: &quot;A String&quot;, # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
18850 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that&#x27;s checked for the key.
18851 &quot;booleanValue&quot;: True or False,
18852 &quot;doubleArray&quot;: {
18853 &quot;values&quot;: [
18854 3.14,
18855 ],
18856 },
18857 &quot;doubleValue&quot;: 3.14,
18858 &quot;intArray&quot;: {
18859 &quot;values&quot;: [
18860 &quot;A String&quot;,
18861 ],
18862 },
18863 &quot;intValue&quot;: &quot;A String&quot;,
18864 &quot;protoValue&quot;: {
18865 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
18866 },
18867 &quot;stringArray&quot;: {
18868 &quot;values&quot;: [
18869 &quot;A String&quot;,
18870 ],
18871 },
18872 &quot;stringValue&quot;: &quot;A String&quot;,
18873 },
18874 },
18875 ],
18876 },
18877 ],
18878 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
18879 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
18880 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
18881 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
18882 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
18883 },
18884 ],
18885 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # The policy dictating the execution of the next set of tasks for the current task.
18886 &quot;parameters&quot;: { # The customized parameters the user can pass to this task.
18887 &quot;a_key&quot;: { # Key-value pair of EventBus parameters.
18888 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
18889 &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.
18890 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
18891 &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.
18892 &quot;booleanArray&quot;: {
18893 &quot;booleanValues&quot;: [
18894 True or False,
18895 ],
18896 },
18897 &quot;booleanValue&quot;: True or False,
18898 &quot;doubleArray&quot;: {
18899 &quot;doubleValues&quot;: [
18900 3.14,
18901 ],
18902 },
18903 &quot;doubleValue&quot;: 3.14,
18904 &quot;intArray&quot;: {
18905 &quot;intValues&quot;: [
18906 &quot;A String&quot;,
18907 ],
18908 },
18909 &quot;intValue&quot;: &quot;A String&quot;,
18910 &quot;jsonValue&quot;: &quot;A String&quot;,
18911 &quot;protoArray&quot;: {
18912 &quot;protoValues&quot;: [
18913 {
18914 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
18915 },
18916 ],
18917 },
18918 &quot;protoValue&quot;: {
18919 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
18920 },
18921 &quot;serializedObjectValue&quot;: {
18922 &quot;objectValue&quot;: &quot;A String&quot;,
18923 },
18924 &quot;stringArray&quot;: {
18925 &quot;stringValues&quot;: [
18926 &quot;A String&quot;,
18927 ],
18928 },
18929 &quot;stringValue&quot;: &quot;A String&quot;,
18930 },
18931 },
18932 },
18933 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this task config on the UI.
18934 &quot;x&quot;: 42,
18935 &quot;y&quot;: 42,
18936 },
18937 &quot;precondition&quot;: &quot;A String&quot;, # Optional. Standard filter expression evaluated before execution. Independent of other conditions and tasks. Can be used to enable rollout. e.g. &quot;rollout(5)&quot; will only allow 5% of incoming traffic to task.
18938 &quot;preconditionLabel&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to precondition in the UI.
18939 &quot;rollbackStrategy&quot;: { # Next available id: 4 # Optional. Contains information about what needs to be done upon failure (either a permanent error or after it has been retried too many times).
18940 &quot;parameters&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 # Optional. The customized parameters the user can pass to this task.
18941 &quot;parameters&quot;: [ # Parameters are a part of Event and can be used to communicate between different tasks that are part of the same workflow execution.
18942 { # Key-value pair of EventBus parameters.
18943 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
18944 &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.
18945 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
18946 &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.
18947 &quot;booleanArray&quot;: {
18948 &quot;booleanValues&quot;: [
18949 True or False,
18950 ],
18951 },
18952 &quot;booleanValue&quot;: True or False,
18953 &quot;doubleArray&quot;: {
18954 &quot;doubleValues&quot;: [
18955 3.14,
18956 ],
18957 },
18958 &quot;doubleValue&quot;: 3.14,
18959 &quot;intArray&quot;: {
18960 &quot;intValues&quot;: [
18961 &quot;A String&quot;,
18962 ],
18963 },
18964 &quot;intValue&quot;: &quot;A String&quot;,
18965 &quot;jsonValue&quot;: &quot;A String&quot;,
18966 &quot;protoArray&quot;: {
18967 &quot;protoValues&quot;: [
18968 {
18969 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
18970 },
18971 ],
18972 },
18973 &quot;protoValue&quot;: {
18974 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
18975 },
18976 &quot;serializedObjectValue&quot;: {
18977 &quot;objectValue&quot;: &quot;A String&quot;,
18978 },
18979 &quot;stringArray&quot;: {
18980 &quot;stringValues&quot;: [
18981 &quot;A String&quot;,
18982 ],
18983 },
18984 &quot;stringValue&quot;: &quot;A String&quot;,
18985 },
18986 },
18987 ],
18988 },
18989 &quot;rollbackTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. This is the name of the task that needs to be executed upon rollback of this task.
18990 &quot;taskNumbersToRollback&quot;: [ # Required. These are the tasks numbers of the tasks whose `rollback_strategy.rollback_task_implementation_class_name` needs to be executed upon failure of this task.
18991 &quot;A String&quot;,
18992 ],
18993 },
18994 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Determines what action to take upon successful task completion.
18995 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
18996 },
18997 &quot;synchronousCallFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
18998 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
18999 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
19000 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
19001 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
19002 },
19003 &quot;taskEntity&quot;: { # Contains a task&#x27;s metadata and associated information. Next available id: 7 # Copy of the task entity that this task config is an instance of.
19004 &quot;disabledForVpcSc&quot;: True or False, # True if the task has conflict with vpcsc
19005 &quot;metadata&quot;: { # TaskMetadata are attributes that are associated to every common Task we have. # Metadata inclueds the task name, author and so on.
19006 &quot;activeTaskName&quot;: &quot;A String&quot;, # The new task name to replace the current task if it is deprecated. Otherwise, it is the same as the current task name.
19007 &quot;admins&quot;: [
19008 { # Admins are owners of a Task, and have all permissions on a particular task identified by the task name. By default, Eventbus periodically scans all task metadata and syncs (adds) any new admins defined here to Zanzibar.
19009 &quot;googleGroupEmail&quot;: &quot;A String&quot;,
19010 &quot;userEmail&quot;: &quot;A String&quot;,
19011 },
19012 ],
19013 &quot;category&quot;: &quot;A String&quot;,
19014 &quot;codeSearchLink&quot;: &quot;A String&quot;, # The Code Search link to the Task Java file.
19015 &quot;defaultJsonValidationOption&quot;: &quot;A String&quot;, # Controls whether JSON workflow parameters are validated against provided schemas before and/or after this task&#x27;s execution.
19016 &quot;defaultSpec&quot;: &quot;A String&quot;, # Contains the initial configuration of the task with default values set. For now, The string should be compatible to an ASCII-proto format.
19017 &quot;description&quot;: &quot;A String&quot;, # In a few sentences, describe the purpose and usage of the task.
19018 &quot;descriptiveName&quot;: &quot;A String&quot;, # The string name to show on the task list on the Workflow editor screen. This should be a very short, one to two words name for the task. (e.g. &quot;Send Mail&quot;)
19019 &quot;docMarkdown&quot;: &quot;A String&quot;, # Snippet of markdown documentation to embed in the RHP for this task.
19020 &quot;externalCategory&quot;: &quot;A String&quot;,
19021 &quot;externalCategorySequence&quot;: 42, # Sequence with which the task in specific category to be displayed in task discovery panel for external users.
19022 &quot;externalDocHtml&quot;: &quot;A String&quot;, # External-facing documention embedded in the RHP for this task.
19023 &quot;externalDocLink&quot;: &quot;A String&quot;, # Doc link for external-facing documentation (separate from g3doc).
19024 &quot;externalDocMarkdown&quot;: &quot;A String&quot;, # DEPRECATED: Use external_doc_html.
19025 &quot;g3DocLink&quot;: &quot;A String&quot;, # URL to the associated G3 Doc for the task if available
19026 &quot;iconLink&quot;: &quot;A String&quot;, # URL to gstatic image icon for this task. This icon shows up on the task list panel along with the task name in the Workflow Editor screen. Use the 24p, 2x, gray color icon image format.
19027 &quot;isDeprecated&quot;: True or False, # The deprecation status of the current task. Default value is false;
19028 &quot;name&quot;: &quot;A String&quot;, # The actual class name or the annotated name of the task. Task Author should initialize this field with value from the getName() method of the Task class.
19029 &quot;standaloneExternalDocHtml&quot;: &quot;A String&quot;, # External-facing documention for standalone IP in pantheon embedded in the RHP for this task. Non null only if different from external_doc_html
19030 &quot;status&quot;: &quot;A String&quot;, # Allows author to indicate if the task is ready to use or not. If not set, then it will default to INACTIVE.
19031 &quot;system&quot;: &quot;A String&quot;,
19032 &quot;tags&quot;: [ # A set of tags that pertain to a particular task. This can be used to improve the searchability of tasks with several names (&quot;REST Caller&quot; vs. &quot;Call REST Endpoint&quot;) or to help users find tasks based on related words.
19033 &quot;A String&quot;,
19034 ],
19035 },
19036 &quot;paramSpecs&quot;: { # Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask.
19037 &quot;parameters&quot;: [
19038 { # Key-value pair of EventBus task parameters. Next id: 13
19039 &quot;className&quot;: &quot;A String&quot;, # The FQCN of the Java object this represents. A string, for example, would be &quot;java.lang.String&quot;. If this is &quot;java.lang.Object&quot;, the parameter can be of any type.
19040 &quot;collectionElementClassName&quot;: &quot;A String&quot;, # If it is a collection of objects, this would be the FCQN of every individual element in the collection. If this is &quot;java.lang.Object&quot;, the parameter is a collection of any type.
19041 &quot;config&quot;: { # Optional fields, such as help text and other useful info.
19042 &quot;descriptivePhrase&quot;: &quot;A String&quot;, # A short phrase to describe what this parameter contains.
19043 &quot;helpText&quot;: &quot;A String&quot;, # Detailed help text for this parameter containing information not provided elsewhere. For example, instructions on how to migrate from a deprecated parameter.
19044 &quot;hideDefaultValue&quot;: True or False, # Whether the default value is hidden in the UI.
19045 &quot;inputDisplayOption&quot;: &quot;A String&quot;,
19046 &quot;isHidden&quot;: True or False, # Whether this field is hidden in the UI.
19047 &quot;label&quot;: &quot;A String&quot;, # A user-friendly label for the parameter.
19048 &quot;parameterNameOption&quot;: &quot;A String&quot;,
19049 &quot;subSectionLabel&quot;: &quot;A String&quot;, # A user-friendly label for subSection under which the parameter will be displayed.
19050 &quot;uiPlaceholderText&quot;: &quot;A String&quot;, # Placeholder text which will appear in the UI input form for this parameter.
19051 },
19052 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
19053 &quot;defaultValue&quot;: { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
19054 &quot;booleanArray&quot;: {
19055 &quot;booleanValues&quot;: [
19056 True or False,
19057 ],
19058 },
19059 &quot;booleanValue&quot;: True or False,
19060 &quot;doubleArray&quot;: {
19061 &quot;doubleValues&quot;: [
19062 3.14,
19063 ],
19064 },
19065 &quot;doubleValue&quot;: 3.14,
19066 &quot;intArray&quot;: {
19067 &quot;intValues&quot;: [
19068 &quot;A String&quot;,
19069 ],
19070 },
19071 &quot;intValue&quot;: &quot;A String&quot;,
19072 &quot;jsonValue&quot;: &quot;A String&quot;,
19073 &quot;protoArray&quot;: {
19074 &quot;protoValues&quot;: [
19075 {
19076 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
19077 },
19078 ],
19079 },
19080 &quot;protoValue&quot;: {
19081 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
19082 },
19083 &quot;serializedObjectValue&quot;: {
19084 &quot;objectValue&quot;: &quot;A String&quot;,
19085 },
19086 &quot;stringArray&quot;: {
19087 &quot;stringValues&quot;: [
19088 &quot;A String&quot;,
19089 ],
19090 },
19091 &quot;stringValue&quot;: &quot;A String&quot;,
19092 },
19093 &quot;isDeprecated&quot;: True or False, # If set, this entry is deprecated, so further use of this parameter should be prohibited.
19094 &quot;isOutput&quot;: True or False,
19095 &quot;jsonSchema&quot;: &quot;A String&quot;, # If the data_type is JSON_VALUE, then this will define its schema.
19096 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given task. These parameters must be predefined in the workflow definition.
19097 &quot;protoDef&quot;: { # Populated if this represents a proto or proto array.
19098 &quot;fullName&quot;: &quot;A String&quot;, # The fully-qualified proto name. This message, for example, would be &quot;enterprise.crm.eventbus.proto.ParamSpecEntry.ProtoDefinition&quot;.
19099 &quot;path&quot;: &quot;A String&quot;, # Path to the proto file that contains the message type&#x27;s definition.
19100 },
19101 &quot;required&quot;: True or False, # If set, the user must provide an input value for this parameter.
19102 &quot;validationRule&quot;: { # Rule used to validate inputs (individual values and collection elements) for this parameter.
19103 &quot;doubleRange&quot;: { # Range used to validate doubles and floats.
19104 &quot;max&quot;: 3.14, # The inclusive maximum of the acceptable range.
19105 &quot;min&quot;: 3.14, # The inclusive minimum of the acceptable range.
19106 },
19107 &quot;intRange&quot;: { # Range used to validate longs and ints.
19108 &quot;max&quot;: &quot;A String&quot;, # The inclusive maximum of the acceptable range.
19109 &quot;min&quot;: &quot;A String&quot;, # The inclusive minimum of the acceptable range.
19110 },
19111 &quot;stringRegex&quot;: { # Rule used to validate strings.
19112 &quot;exclusive&quot;: True or False, # Whether the regex matcher is applied exclusively (if true, matching values will be rejected).
19113 &quot;regex&quot;: &quot;A String&quot;, # The regex applied to the input value(s).
19114 },
19115 },
19116 },
19117 ],
19118 },
19119 &quot;stats&quot;: { # Stats for the requested dimensions: QPS, duration, and error/warning rate # Deprecated - statistics from the Monarch query.
19120 &quot;dimensions&quot;: { # Dimensions that these stats have been aggregated on.
19121 &quot;clientId&quot;: &quot;A String&quot;,
19122 &quot;enumFilterType&quot;: &quot;A String&quot;, # Whether to include or exclude the enums matching the regex.
19123 &quot;errorEnumString&quot;: &quot;A String&quot;,
19124 &quot;retryAttempt&quot;: &quot;A String&quot;,
19125 &quot;taskName&quot;: &quot;A String&quot;,
19126 &quot;taskNumber&quot;: &quot;A String&quot;,
19127 &quot;triggerId&quot;: &quot;A String&quot;, # Stats have been or will be aggregated on set fields for any semantically-meaningful combination.
19128 &quot;warningEnumString&quot;: &quot;A String&quot;,
19129 &quot;workflowId&quot;: &quot;A String&quot;,
19130 &quot;workflowName&quot;: &quot;A String&quot;,
19131 },
19132 &quot;durationInSeconds&quot;: 3.14, # Average duration in seconds.
19133 &quot;errorRate&quot;: 3.14, # Average error rate.
19134 &quot;qps&quot;: 3.14, # Queries per second.
19135 &quot;warningRate&quot;: 3.14, # Average warning rate.
19136 },
19137 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
19138 &quot;uiConfig&quot;: { # Task authors would use this type to configure the UI for a particular task by specifying what UI config modules should be included to compose the UI. Learn more about config module framework: # UI configuration for this task Also associated with the METADATA mask.
19139 &quot;taskUiModuleConfigs&quot;: [ # Configurations of included config modules.
19140 { # Task author would use this type to configure a config module.
19141 &quot;moduleId&quot;: &quot;A String&quot;, # ID of the config module.
19142 },
19143 ],
19144 },
19145 },
19146 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # The policy dictating the execution strategy of this task.
19147 &quot;taskName&quot;: &quot;A String&quot;, # The name for the task.
19148 &quot;taskNumber&quot;: &quot;A String&quot;, # REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`).
19149 &quot;taskSpec&quot;: &quot;A String&quot;, # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old &quot;parameters&quot; field.
19150 &quot;taskTemplateName&quot;: &quot;A String&quot;, # Used to define task-template name if task is of type task-template
19151 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
19152 },
19153 ],
19154 &quot;teardown&quot;: { # Optional. Contains a graph of tasks that will be executed before putting the event in a terminal state (SUCCEEDED/FAILED/FATAL), regardless of success or failure, similar to &quot;finally&quot; in code.
19155 &quot;teardownTaskConfigs&quot;: [ # Required.
19156 {
19157 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address.
19158 &quot;name&quot;: &quot;A String&quot;, # Required. Unique identifier of the teardown task within this Config. We use this field as the identifier to find next teardown tasks.
19159 &quot;nextTeardownTask&quot;: { # The teardown task that is next in line to be executed. We support only sequential execution of teardown tasks (i.e. no branching).
19160 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the next teardown task.
19161 },
19162 &quot;parameters&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 the user can pass to this task.
19163 &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.
19164 { # Key-value pair of EventBus parameters.
19165 &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.
19166 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
19167 &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.
19168 &quot;booleanArray&quot;: {
19169 &quot;booleanValues&quot;: [
19170 True or False,
19171 ],
19172 },
19173 &quot;booleanValue&quot;: True or False,
19174 &quot;doubleArray&quot;: {
19175 &quot;doubleValues&quot;: [
19176 3.14,
19177 ],
19178 },
19179 &quot;doubleValue&quot;: 3.14,
19180 &quot;intArray&quot;: {
19181 &quot;intValues&quot;: [
19182 &quot;A String&quot;,
19183 ],
19184 },
19185 &quot;intValue&quot;: &quot;A String&quot;,
19186 &quot;protoArray&quot;: {
19187 &quot;protoValues&quot;: [
19188 {
19189 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
19190 },
19191 ],
19192 },
19193 &quot;protoValue&quot;: {
19194 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
19195 },
19196 &quot;serializedObjectValue&quot;: {
19197 &quot;objectValue&quot;: &quot;A String&quot;,
19198 },
19199 &quot;stringArray&quot;: {
19200 &quot;stringValues&quot;: [
19201 &quot;A String&quot;,
19202 ],
19203 },
19204 &quot;stringValue&quot;: &quot;A String&quot;,
19205 },
19206 },
19207 ],
19208 },
19209 &quot;properties&quot;: { # LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus.
19210 &quot;properties&quot;: [ # An unordered list of property entries.
19211 { # Key-value pair of EventBus property.
19212 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding property value. This should be unique for a given fired event. The Tasks should be aware of the keys used while firing the events for them to be able to retrieve the values.
19213 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Values for the defined keys. Each value can either be string, int, double or any proto message.
19214 &quot;booleanValue&quot;: True or False,
19215 &quot;doubleArray&quot;: {
19216 &quot;values&quot;: [
19217 3.14,
19218 ],
19219 },
19220 &quot;doubleValue&quot;: 3.14,
19221 &quot;intArray&quot;: {
19222 &quot;values&quot;: [
19223 &quot;A String&quot;,
19224 ],
19225 },
19226 &quot;intValue&quot;: &quot;A String&quot;,
19227 &quot;protoValue&quot;: {
19228 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
19229 },
19230 &quot;stringArray&quot;: {
19231 &quot;values&quot;: [
19232 &quot;A String&quot;,
19233 ],
19234 },
19235 &quot;stringValue&quot;: &quot;A String&quot;,
19236 },
19237 },
19238 ],
19239 },
19240 &quot;teardownTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. Implementation class name.
19241 },
19242 ],
19243 },
19244 &quot;triggerConfigs&quot;: [ # Optional. Trigger configurations.
19245 { # Configuration detail of a trigger.
19246 &quot;alertConfig&quot;: [ # Optional. An alert threshold configuration for the [trigger + client + integration] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + integration] when published.
19247 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
19248 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
19249 &quot;alertThreshold&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
19250 &quot;disableAlert&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this integration alert.
19251 &quot;displayName&quot;: &quot;A String&quot;, # Name of the alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the integration.
19252 &quot;durationThreshold&quot;: &quot;A String&quot;, # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
19253 &quot;metricType&quot;: &quot;A String&quot;, # The type of metric.
19254 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
19255 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
19256 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
19257 &quot;absolute&quot;: &quot;A String&quot;, # Absolute value threshold.
19258 &quot;percentage&quot;: 42, # Percentage threshold.
19259 },
19260 },
19261 ],
19262 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration # Optional. Cloud Scheduler Trigger related metadata
19263 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
19264 &quot;errorMessage&quot;: &quot;A String&quot;, # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations
19265 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
19266 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
19267 },
19268 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
19269 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
19270 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
19271 &quot;names&quot;: [ # Optional. List of variable names.
19272 &quot;A String&quot;,
19273 ],
19274 },
19275 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular trigger.
19276 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. Dictates how next tasks will be executed.
19277 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
19278 &quot;names&quot;: [ # Optional. List of variable names.
19279 &quot;A String&quot;,
19280 ],
19281 },
19282 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
19283 &quot;x&quot;: 42, # Required. X axis of the coordinate
19284 &quot;y&quot;: 42, # Required. Y axis of the coordinate
19285 },
19286 &quot;properties&quot;: { # Optional. Configurable properties of the trigger, not to be confused with integration parameters. E.g. &quot;name&quot; is a property for API triggers and &quot;subscription&quot; is a property for Pub/sub triggers.
19287 &quot;a_key&quot;: &quot;A String&quot;,
19288 },
19289 &quot;startTasks&quot;: [ # Optional. Set of tasks numbers from where the integration execution is started by this trigger. If this is empty, then integration is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same integration execution graph).
19290 { # The task that is next in line to be executed, if the condition specified evaluated to true.
19291 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
19292 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
19293 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
19294 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
19295 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
19296 },
19297 ],
19298 &quot;trigger&quot;: &quot;A String&quot;, # Optional. Name of the trigger. Example: &quot;API Trigger&quot;, &quot;Cloud Pub Sub Trigger&quot; When set will be sent out to monitoring dashabord for tracking purpose.
19299 &quot;triggerId&quot;: &quot;A String&quot;, # Optional. Auto-generated trigger ID. The ID is based on the properties that you define in the trigger config. For example, for an API trigger, the trigger ID follows the format: api_trigger/TRIGGER_NAME Where trigger config has properties with value {&quot;Trigger name&quot;: TRIGGER_NAME}
19300 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the integration on UI.
19301 &quot;triggerType&quot;: &quot;A String&quot;, # Optional. Type of trigger
19302 },
19303 ],
19304 &quot;triggerConfigsInternal&quot;: [ # Optional. Trigger configurations.
19305 { # Configuration detail of a trigger. Next available id: 22
19306 &quot;alertConfig&quot;: [ # An alert threshold configuration for the [trigger + client + workflow] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + workflow] when published.
19307 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
19308 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
19309 &quot;alertDisabled&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.
19310 &quot;alertName&quot;: &quot;A String&quot;, # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the workflow.
19311 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration.
19312 &quot;durationThresholdMs&quot;: &quot;A String&quot;, # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
19313 &quot;errorEnumList&quot;: { # List of error enums for alerts.
19314 &quot;enumStrings&quot;: [
19315 &quot;A String&quot;,
19316 ],
19317 &quot;filterType&quot;: &quot;A String&quot;,
19318 },
19319 &quot;metricType&quot;: &quot;A String&quot;,
19320 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
19321 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
19322 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
19323 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
19324 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
19325 &quot;absolute&quot;: &quot;A String&quot;,
19326 &quot;percentage&quot;: 42,
19327 },
19328 &quot;warningEnumList&quot;: { # List of error enums for alerts.
19329 &quot;enumStrings&quot;: [
19330 &quot;A String&quot;,
19331 ],
19332 &quot;filterType&quot;: &quot;A String&quot;,
19333 },
19334 },
19335 ],
19336 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration
19337 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
19338 &quot;errorMessage&quot;: &quot;A String&quot;, # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations
19339 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
19340 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
19341 },
19342 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
19343 &quot;enabledClients&quot;: [ # Required. The list of client ids which are enabled to execute the workflow using this trigger. In other words, these clients have the workflow execution privledges for this trigger. For API trigger, the client id in the incoming request is validated against the list of enabled clients. For non-API triggers, one workflow execution is triggered on behalf of each enabled client.
19344 &quot;A String&quot;,
19345 ],
19346 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
19347 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
19348 &quot;names&quot;: [ # Optional. List of variable names.
19349 &quot;A String&quot;,
19350 ],
19351 },
19352 &quot;label&quot;: &quot;A String&quot;, # The user created label for a particular trigger.
19353 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Dictates how next tasks will be executed.
19354 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
19355 &quot;names&quot;: [ # Optional. List of variable names.
19356 &quot;A String&quot;,
19357 ],
19358 },
19359 &quot;pauseWorkflowExecutions&quot;: True or False, # Optional. If set to true, any upcoming requests for this trigger config will be paused and the executions will be resumed later when the flag is reset. The workflow to which this trigger config belongs has to be in ACTIVE status for the executions to be paused or resumed.
19360 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this trigger config on the UI.
19361 &quot;x&quot;: 42,
19362 &quot;y&quot;: 42,
19363 },
19364 &quot;properties&quot;: { # Configurable properties of the trigger, not to be confused with workflow parameters. E.g. &quot;name&quot; is a property for API triggers and &quot;subscription&quot; is a property for Cloud Pubsub triggers.
19365 &quot;a_key&quot;: &quot;A String&quot;,
19366 },
19367 &quot;startTasks&quot;: [ # Set of tasks numbers from where the workflow execution is started by this trigger. If this is empty, then workflow is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same workflow execution graph).
19368 { # The task that is next in line to be executed, if the condition specified evaluated to true.
19369 &quot;combinedConditions&quot;: [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
19370 { # This message recursively combines constituent conditions using logical AND.
19371 &quot;conditions&quot;: [ # A set of individual constituent conditions.
19372 { # Condition that uses `operator` to evaluate the key against the value.
19373 &quot;eventPropertyKey&quot;: &quot;A String&quot;, # Key that&#x27;s evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.
19374 &quot;operator&quot;: &quot;A String&quot;, # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
19375 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that&#x27;s checked for the key.
19376 &quot;booleanValue&quot;: True or False,
19377 &quot;doubleArray&quot;: {
19378 &quot;values&quot;: [
19379 3.14,
19380 ],
19381 },
19382 &quot;doubleValue&quot;: 3.14,
19383 &quot;intArray&quot;: {
19384 &quot;values&quot;: [
19385 &quot;A String&quot;,
19386 ],
19387 },
19388 &quot;intValue&quot;: &quot;A String&quot;,
19389 &quot;protoValue&quot;: {
19390 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
19391 },
19392 &quot;stringArray&quot;: {
19393 &quot;values&quot;: [
19394 &quot;A String&quot;,
19395 ],
19396 },
19397 &quot;stringValue&quot;: &quot;A String&quot;,
19398 },
19399 },
19400 ],
19401 },
19402 ],
19403 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
19404 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
19405 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
19406 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
19407 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
19408 },
19409 ],
19410 &quot;triggerCriteria&quot;: { # Optional. When set, Eventbus will run the task specified in the trigger_criteria and validate the result using the trigger_criteria.condition, and only execute the workflow when result is true.
19411 &quot;condition&quot;: &quot;A String&quot;, # Required. Standard filter expression, when true the workflow will be executed. If there&#x27;s no trigger_criteria_task_implementation_class_name specified, the condition will be validated directly.
19412 &quot;parameters&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 # Optional. To be used in TaskConfig for the implementation class.
19413 &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.
19414 { # Key-value pair of EventBus parameters.
19415 &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.
19416 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
19417 &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.
19418 &quot;booleanArray&quot;: {
19419 &quot;booleanValues&quot;: [
19420 True or False,
19421 ],
19422 },
19423 &quot;booleanValue&quot;: True or False,
19424 &quot;doubleArray&quot;: {
19425 &quot;doubleValues&quot;: [
19426 3.14,
19427 ],
19428 },
19429 &quot;doubleValue&quot;: 3.14,
19430 &quot;intArray&quot;: {
19431 &quot;intValues&quot;: [
19432 &quot;A String&quot;,
19433 ],
19434 },
19435 &quot;intValue&quot;: &quot;A String&quot;,
19436 &quot;protoArray&quot;: {
19437 &quot;protoValues&quot;: [
19438 {
19439 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
19440 },
19441 ],
19442 },
19443 &quot;protoValue&quot;: {
19444 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
19445 },
19446 &quot;serializedObjectValue&quot;: {
19447 &quot;objectValue&quot;: &quot;A String&quot;,
19448 },
19449 &quot;stringArray&quot;: {
19450 &quot;stringValues&quot;: [
19451 &quot;A String&quot;,
19452 ],
19453 },
19454 &quot;stringValue&quot;: &quot;A String&quot;,
19455 },
19456 },
19457 ],
19458 },
19459 &quot;triggerCriteriaTaskImplementationClassName&quot;: &quot;A String&quot;, # Optional. Implementation class name. The class should implement the “TypedTask” interface.
19460 },
19461 &quot;triggerId&quot;: &quot;A String&quot;, # The backend trigger ID.
19462 &quot;triggerName&quot;: &quot;A String&quot;, # Optional. Name of the trigger This is added to identify the type of trigger. This is avoid the logic on triggerId to identify the trigger_type and push the same to monitoring.
19463 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the workflow on UI.
19464 &quot;triggerType&quot;: &quot;A String&quot;,
19465 },
19466 ],
19467 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
19468 &quot;userLabel&quot;: &quot;A String&quot;, # Optional. A user-defined label that annotates an integration version. Typically, this is only set when the integration version is created.
19469 },
19470 &quot;key&quot;: &quot;A String&quot;, # Required. Unique Key of the IntegrationVersion.
19471 },
19472 ],
19473 },
19474 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated
19475 &quot;usageCount&quot;: &quot;A String&quot;, # Optional. Number of template usages.
19476 &quot;usageInfo&quot;: &quot;A String&quot;, # Optional. Information on how to use the template. This should contain detailed information about usage of the template.
19477 &quot;visibility&quot;: &quot;A String&quot;, # Required. Visibility of the template.
19478 },
19479 }</pre>
19480 </div>
19481
19482 <div class="method">
19483 <code class="details" id="use">use(name, body=None, x__xgafv=None)</code>
19484 <pre>Use the template to create integration. This api would keep track of usage_count and last_used_time. PERMISSION_DENIED would be thrown if template is not accessible by client.
19485
19486 Args:
19487 name: string, Required. The name that is associated with the Template. (required)
19488 body: object, The request body.
19489 The object takes the form of:
19490
19491 { # Request to Use template
19492 &quot;integrationDetails&quot;: { # Sub Integration which would be created via templates. # Required. Integration details which would be created via templates.
19493 &quot;integration&quot;: &quot;A String&quot;, # Required. Name of the sub integration which would be created via templates.
19494 &quot;integrationDescription&quot;: &quot;A String&quot;, # Optional. Description of the sub integration which would be created via templates.
19495 },
19496 &quot;integrationRegion&quot;: &quot;A String&quot;, # Required. The region of the Integration to be created.
19497 &quot;subIntegrations&quot;: { # Optional. Sub Integration which would be created via templates.
19498 &quot;a_key&quot;: { # Sub Integration which would be created via templates.
19499 &quot;integration&quot;: &quot;A String&quot;, # Required. Name of the sub integration which would be created via templates.
19500 &quot;integrationDescription&quot;: &quot;A String&quot;, # Optional. Description of the sub integration which would be created via templates.
19501 },
19502 },
19503 }
19504
19505 x__xgafv: string, V1 error format.
19506 Allowed values
19507 1 - v1 error format
19508 2 - v2 error format
19509
19510 Returns:
19511 An object of the form:
19512
19513 { # Response for use template
19514 &quot;integrationVersion&quot;: { # The integration version definition. # IntegrationVersion which is created.
19515 &quot;cloudKmsKey&quot;: &quot;A String&quot;, # Optional. Cloud KMS resource name for the CMEK encryption key.
19516 &quot;cloudLoggingDetails&quot;: { # Cloud Logging details for execution info # Optional. Cloud Logging details for the integration version
19517 &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.
19518 &quot;enableCloudLogging&quot;: True or False, # Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.
19519 },
19520 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
19521 &quot;createdFromTemplate&quot;: &quot;A String&quot;, # Optional. Optional. The resource name of the template from which the integration is created.
19522 &quot;databasePersistencePolicy&quot;: &quot;A String&quot;, # Optional. Flag to disable database persistence for execution data, including event execution info, execution export info, execution metadata index and execution param index.
19523 &quot;description&quot;: &quot;A String&quot;, # Optional. The integration description.
19524 &quot;enableVariableMasking&quot;: True or False, # Optional. True if variable masking feature should be turned on for this version
19525 &quot;errorCatcherConfigs&quot;: [ # Optional. Error Catch Task configuration for the integration. It&#x27;s optional.
19526 { # Configuration detail of a error catch task
19527 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give more business context about the error catcher config.
19528 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Required. An error catcher id is string representation for the error catcher config. Within a workflow, error_catcher_id uniquely identifies an error catcher config among all error catcher configs for the workflow
19529 &quot;errorCatcherNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each error catcher config within the workflow on UI.
19530 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular error catcher. Optional.
19531 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
19532 &quot;x&quot;: 42, # Required. X axis of the coordinate
19533 &quot;y&quot;: 42, # Required. Y axis of the coordinate
19534 },
19535 &quot;startErrorTasks&quot;: [ # Required. The set of start tasks that are to be executed for the error catch flow
19536 { # The task that is next in line to be executed, if the condition specified evaluated to true.
19537 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
19538 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
19539 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
19540 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
19541 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
19542 },
19543 ],
19544 },
19545 ],
19546 &quot;integrationConfigParameters&quot;: [ # Optional. Config Parameters that are expected to be passed to the integration when an integration is published. This consists of all the parameters that are expected to provide configuration in the integration execution. This gives the user the ability to provide default values, value, add information like connection url, project based configuration value and also provide data types of each parameter.
19547 { # Integration Config Parameter is defined in the integration config and are used to provide external configuration for integration. It provide information about data types of the expected parameters and provide any default values or value. They can also be used to add custom attributes.
19548 &quot;parameter&quot;: { # 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. # Optional. Integration Parameter to provide the default value, data type and attributes required for the Integration config variables.
19549 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
19550 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
19551 &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.
19552 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
19553 &quot;booleanValues&quot;: [ # Boolean array.
19554 True or False,
19555 ],
19556 },
19557 &quot;booleanValue&quot;: True or False, # Boolean.
19558 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
19559 &quot;doubleValues&quot;: [ # Double number array.
19560 3.14,
19561 ],
19562 },
19563 &quot;doubleValue&quot;: 3.14, # Double Number.
19564 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
19565 &quot;intValues&quot;: [ # Integer array.
19566 &quot;A String&quot;,
19567 ],
19568 },
19569 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
19570 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
19571 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
19572 &quot;stringValues&quot;: [ # String array.
19573 &quot;A String&quot;,
19574 ],
19575 },
19576 &quot;stringValue&quot;: &quot;A String&quot;, # String.
19577 },
19578 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
19579 &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;.
19580 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
19581 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
19582 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
19583 &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.
19584 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
19585 &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.
19586 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
19587 },
19588 &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 or a serialized object.
19589 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
19590 &quot;booleanValues&quot;: [ # Boolean array.
19591 True or False,
19592 ],
19593 },
19594 &quot;booleanValue&quot;: True or False, # Boolean.
19595 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
19596 &quot;doubleValues&quot;: [ # Double number array.
19597 3.14,
19598 ],
19599 },
19600 &quot;doubleValue&quot;: 3.14, # Double Number.
19601 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
19602 &quot;intValues&quot;: [ # Integer array.
19603 &quot;A String&quot;,
19604 ],
19605 },
19606 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
19607 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
19608 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
19609 &quot;stringValues&quot;: [ # String array.
19610 &quot;A String&quot;,
19611 ],
19612 },
19613 &quot;stringValue&quot;: &quot;A String&quot;, # String.
19614 },
19615 },
19616 ],
19617 &quot;integrationParameters&quot;: [ # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
19618 { # 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.
19619 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
19620 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
19621 &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.
19622 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
19623 &quot;booleanValues&quot;: [ # Boolean array.
19624 True or False,
19625 ],
19626 },
19627 &quot;booleanValue&quot;: True or False, # Boolean.
19628 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
19629 &quot;doubleValues&quot;: [ # Double number array.
19630 3.14,
19631 ],
19632 },
19633 &quot;doubleValue&quot;: 3.14, # Double Number.
19634 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
19635 &quot;intValues&quot;: [ # Integer array.
19636 &quot;A String&quot;,
19637 ],
19638 },
19639 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
19640 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
19641 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
19642 &quot;stringValues&quot;: [ # String array.
19643 &quot;A String&quot;,
19644 ],
19645 },
19646 &quot;stringValue&quot;: &quot;A String&quot;, # String.
19647 },
19648 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
19649 &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;.
19650 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
19651 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
19652 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
19653 &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.
19654 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
19655 &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.
19656 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
19657 },
19658 ],
19659 &quot;integrationParametersInternal&quot;: { # LINT.IfChange This is the frontend version of WorkflowParameters. It&#x27;s exactly like the backend version except that instead of flattening protobuf parameters and treating every field and subfield of a protobuf parameter as a separate parameter, the fields/subfields of a protobuf parameter will be nested as &quot;children&quot; (see &#x27;children&#x27; field below) parameters of the parent parameter. Please refer to enterprise/crm/eventbus/proto/workflow_parameters.proto for more information about WorkflowParameters. # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
19660 &quot;parameters&quot;: [ # Parameters are a part of Event and can be used to communiticate between different tasks that are part of the same workflow execution.
19661 {
19662 &quot;attributes&quot;: { # Attributes are additional options that can be associated with each event property. For more information, see # Metadata information about the parameters.
19663 &quot;dataType&quot;: &quot;A String&quot;, # Things like URL, Email, Currency, Timestamp (rather than string, int64...)
19664 &quot;defaultValue&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Used to define defaults.
19665 &quot;booleanValue&quot;: True or False,
19666 &quot;doubleArray&quot;: {
19667 &quot;values&quot;: [
19668 3.14,
19669 ],
19670 },
19671 &quot;doubleValue&quot;: 3.14,
19672 &quot;intArray&quot;: {
19673 &quot;values&quot;: [
19674 &quot;A String&quot;,
19675 ],
19676 },
19677 &quot;intValue&quot;: &quot;A String&quot;,
19678 &quot;protoValue&quot;: {
19679 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
19680 },
19681 &quot;stringArray&quot;: {
19682 &quot;values&quot;: [
19683 &quot;A String&quot;,
19684 ],
19685 },
19686 &quot;stringValue&quot;: &quot;A String&quot;,
19687 },
19688 &quot;isRequired&quot;: True or False, # Required for event execution. The validation will be done by the event bus when the event is triggered.
19689 &quot;isSearchable&quot;: True or False, # Used to indicate if a ParameterEntry should be converted to ParamIndexes for ST-Spanner full-text search. DEPRECATED: use searchable.
19690 &quot;logSettings&quot;: { # The LogSettings define the logging attributes for an event property. These attributes are used to map the property to the parameter in the log proto. Also used to define scrubbing/truncation behavior and PII information. # See
19691 &quot;logFieldName&quot;: &quot;A String&quot;, # The name of corresponding logging field of the event property. If omitted, assumes the same name as the event property key.
19692 &quot;seedPeriod&quot;: &quot;A String&quot;,
19693 &quot;seedScope&quot;: &quot;A String&quot;,
19694 },
19695 &quot;masked&quot;: True or False, # True if this workflow parameter should be masked in the logs
19696 &quot;readOnly&quot;: True or False, # Used to indicate if the ParameterEntry is a read only field or not.
19697 &quot;searchable&quot;: &quot;A String&quot;,
19698 &quot;taskVisibility&quot;: [ # List of tasks that can view this property, if empty then all.
19699 &quot;A String&quot;,
19700 ],
19701 },
19702 &quot;children&quot;: [ # Child parameters nested within this parameter. This field only applies to protobuf parameters
19703 # Object with schema name: EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
19704 ],
19705 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
19706 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
19707 &quot;defaultValue&quot;: { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
19708 &quot;booleanArray&quot;: {
19709 &quot;booleanValues&quot;: [
19710 True or False,
19711 ],
19712 },
19713 &quot;booleanValue&quot;: True or False,
19714 &quot;doubleArray&quot;: {
19715 &quot;doubleValues&quot;: [
19716 3.14,
19717 ],
19718 },
19719 &quot;doubleValue&quot;: 3.14,
19720 &quot;intArray&quot;: {
19721 &quot;intValues&quot;: [
19722 &quot;A String&quot;,
19723 ],
19724 },
19725 &quot;intValue&quot;: &quot;A String&quot;,
19726 &quot;jsonValue&quot;: &quot;A String&quot;,
19727 &quot;protoArray&quot;: {
19728 &quot;protoValues&quot;: [
19729 {
19730 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
19731 },
19732 ],
19733 },
19734 &quot;protoValue&quot;: {
19735 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
19736 },
19737 &quot;serializedObjectValue&quot;: {
19738 &quot;objectValue&quot;: &quot;A String&quot;,
19739 },
19740 &quot;stringArray&quot;: {
19741 &quot;stringValues&quot;: [
19742 &quot;A String&quot;,
19743 ],
19744 },
19745 &quot;stringValue&quot;: &quot;A String&quot;,
19746 },
19747 &quot;description&quot;: &quot;A String&quot;, # Optional. The description about the parameter
19748 &quot;inOutType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
19749 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
19750 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
19751 &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.
19752 &quot;name&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;.
19753 &quot;producedBy&quot;: { # Represents a node identifier (type + id). Next highest id: 3 # 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.
19754 &quot;elementIdentifier&quot;: &quot;A String&quot;, # Configuration of the edge.
19755 &quot;elementType&quot;: &quot;A String&quot;, # Destination node where the edge ends. It can only be a task config.
19756 },
19757 &quot;producer&quot;: &quot;A String&quot;,
19758 &quot;protoDefName&quot;: &quot;A String&quot;, # The name of the protobuf type if the parameter has a protobuf data type.
19759 &quot;protoDefPath&quot;: &quot;A String&quot;, # If the data type is of type proto or proto array, this field needs to be populated with the fully qualified proto name. This message, for example, would be &quot;enterprise.crm.frontends.eventbus.proto.WorkflowParameterEntry&quot;.
19760 &quot;required&quot;: True or False,
19761 },
19762 ],
19763 },
19764 &quot;lastModifierEmail&quot;: &quot;A String&quot;, # Optional. The last modifier&#x27;s email address. Generated based on the End User Credentials/LOAS role of the user making the call.
19765 &quot;lockHolder&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.
19766 &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
19767 &quot;origin&quot;: &quot;A String&quot;, # Optional. The origin that indicates where this integration is coming from.
19768 &quot;parentTemplateId&quot;: &quot;A String&quot;, # Optional. The id of the template which was used to create this integration_version.
19769 &quot;runAsServiceAccount&quot;: &quot;A String&quot;, # Optional. The run-as service account email, if set and auth config is not configured, that will be used to generate auth token to be used in Connector task, Rest caller task and Cloud function task.
19770 &quot;snapshotNumber&quot;: &quot;A String&quot;, # Output only. An increasing sequence that is set when a new snapshot is created. The last created snapshot can be identified by [workflow_name, org_id latest(snapshot_number)]. However, last created snapshot need not be same as the HEAD. So users should always use &quot;HEAD&quot; tag to identify the head.
19771 &quot;state&quot;: &quot;A String&quot;, # Output only. User should not set it as an input.
19772 &quot;status&quot;: &quot;A String&quot;, # Output only. Generated by eventbus. User should not set it as an input.
19773 &quot;taskConfigs&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
19774 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
19775 &quot;conditionalFailurePolicies&quot;: { # Conditional task failur retry strategies # Optional. The list of conditional failure policies that will be applied to the task in order.
19776 &quot;defaultFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # The default failure policy to be applied if no conditional failure policy matches.
19777 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
19778 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
19779 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
19780 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
19781 },
19782 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
19783 { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
19784 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
19785 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
19786 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
19787 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
19788 },
19789 ],
19790 },
19791 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
19792 &quot;displayName&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to this TaskConfig in the UI.
19793 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
19794 &quot;externalTaskType&quot;: &quot;A String&quot;, # Optional. External task type of the task
19795 &quot;failurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
19796 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
19797 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
19798 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
19799 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
19800 },
19801 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # Optional. If set, overrides the option configured in the Task implementation class.
19802 &quot;nextTasks&quot;: [ # Optional. The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
19803 { # The task that is next in line to be executed, if the condition specified evaluated to true.
19804 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
19805 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
19806 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
19807 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
19808 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
19809 },
19810 ],
19811 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution of the next set of tasks for the current task.
19812 &quot;parameters&quot;: { # Optional. The customized parameters the user can pass to this task.
19813 &quot;a_key&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
19814 &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.
19815 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
19816 &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.
19817 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
19818 &quot;booleanValues&quot;: [ # Boolean array.
19819 True or False,
19820 ],
19821 },
19822 &quot;booleanValue&quot;: True or False, # Boolean.
19823 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
19824 &quot;doubleValues&quot;: [ # Double number array.
19825 3.14,
19826 ],
19827 },
19828 &quot;doubleValue&quot;: 3.14, # Double Number.
19829 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
19830 &quot;intValues&quot;: [ # Integer array.
19831 &quot;A String&quot;,
19832 ],
19833 },
19834 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
19835 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
19836 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
19837 &quot;stringValues&quot;: [ # String array.
19838 &quot;A String&quot;,
19839 ],
19840 },
19841 &quot;stringValue&quot;: &quot;A String&quot;, # String.
19842 },
19843 },
19844 },
19845 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
19846 &quot;x&quot;: 42, # Required. X axis of the coordinate
19847 &quot;y&quot;: 42, # Required. Y axis of the coordinate
19848 },
19849 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Optional. Determines what action to take upon successful task completion.
19850 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
19851 },
19852 &quot;synchronousCallFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
19853 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
19854 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
19855 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
19856 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
19857 },
19858 &quot;task&quot;: &quot;A String&quot;, # Optional. The name for the task.
19859 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution strategy of this task.
19860 &quot;taskId&quot;: &quot;A String&quot;, # Required. The identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_id`).
19861 &quot;taskTemplate&quot;: &quot;A String&quot;, # Optional. Used to define task-template name if task is of type task-template
19862 },
19863 ],
19864 &quot;taskConfigsInternal&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
19865 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
19866 &quot;alertConfigs&quot;: [ # Alert configurations on error rate, warning rate, number of runs, durations, etc.
19867 { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event.
19868 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week).
19869 &quot;alertDisabled&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.
19870 &quot;alertName&quot;: &quot;A String&quot;, # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique in within the scope of the containing workflow.
19871 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration. Must be a client enabled in one of the containing workflow&#x27;s triggers.
19872 &quot;durationThresholdMs&quot;: &quot;A String&quot;, # Should be specified only for TASK_AVERAGE_DURATION and TASK_PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
19873 &quot;errorEnumList&quot;: { # List of error enums for alerts.
19874 &quot;enumStrings&quot;: [
19875 &quot;A String&quot;,
19876 ],
19877 &quot;filterType&quot;: &quot;A String&quot;,
19878 },
19879 &quot;metricType&quot;: &quot;A String&quot;,
19880 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
19881 &quot;onlyFinalAttempt&quot;: True or False, # Only count final task attempts, not retries.
19882 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
19883 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
19884 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
19885 &quot;absolute&quot;: &quot;A String&quot;,
19886 &quot;percentage&quot;: 42,
19887 },
19888 &quot;warningEnumList&quot;: { # List of error enums for alerts.
19889 &quot;enumStrings&quot;: [
19890 &quot;A String&quot;,
19891 ],
19892 &quot;filterType&quot;: &quot;A String&quot;,
19893 },
19894 },
19895 ],
19896 &quot;conditionalFailurePolicies&quot;: { # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
19897 &quot;defaultFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # The default failure policy to be applied if no conditional failure policy matches
19898 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
19899 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
19900 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
19901 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
19902 },
19903 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
19904 { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
19905 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
19906 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
19907 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
19908 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
19909 },
19910 ],
19911 },
19912 &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
19913 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address. Auto-generated from the user&#x27;s email.
19914 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
19915 &quot;disableStrictTypeValidation&quot;: True or False, # If this config contains a TypedTask, allow validation to succeed if an input is read from the output of another TypedTask whose output type is declared as a superclass of the requested input type. For instance, if the previous task declares an output of type Message, any task with this flag enabled will pass validation when attempting to read any proto Message type from the resultant Event parameter.
19916 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
19917 &quot;externalTaskType&quot;: &quot;A String&quot;,
19918 &quot;failurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
19919 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
19920 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
19921 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
19922 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
19923 },
19924 &quot;incomingEdgeCount&quot;: 42, # The number of edges leading into this TaskConfig.
19925 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # If set, overrides the option configured in the Task implementation class.
19926 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this TaskConfig in the UI.
19927 &quot;lastModifiedTime&quot;: &quot;A String&quot;, # Auto-generated.
19928 &quot;nextTasks&quot;: [ # The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
19929 { # The task that is next in line to be executed, if the condition specified evaluated to true.
19930 &quot;combinedConditions&quot;: [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
19931 { # This message recursively combines constituent conditions using logical AND.
19932 &quot;conditions&quot;: [ # A set of individual constituent conditions.
19933 { # Condition that uses `operator` to evaluate the key against the value.
19934 &quot;eventPropertyKey&quot;: &quot;A String&quot;, # Key that&#x27;s evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.
19935 &quot;operator&quot;: &quot;A String&quot;, # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
19936 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that&#x27;s checked for the key.
19937 &quot;booleanValue&quot;: True or False,
19938 &quot;doubleArray&quot;: {
19939 &quot;values&quot;: [
19940 3.14,
19941 ],
19942 },
19943 &quot;doubleValue&quot;: 3.14,
19944 &quot;intArray&quot;: {
19945 &quot;values&quot;: [
19946 &quot;A String&quot;,
19947 ],
19948 },
19949 &quot;intValue&quot;: &quot;A String&quot;,
19950 &quot;protoValue&quot;: {
19951 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
19952 },
19953 &quot;stringArray&quot;: {
19954 &quot;values&quot;: [
19955 &quot;A String&quot;,
19956 ],
19957 },
19958 &quot;stringValue&quot;: &quot;A String&quot;,
19959 },
19960 },
19961 ],
19962 },
19963 ],
19964 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
19965 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
19966 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
19967 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
19968 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
19969 },
19970 ],
19971 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # The policy dictating the execution of the next set of tasks for the current task.
19972 &quot;parameters&quot;: { # The customized parameters the user can pass to this task.
19973 &quot;a_key&quot;: { # Key-value pair of EventBus parameters.
19974 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
19975 &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.
19976 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
19977 &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.
19978 &quot;booleanArray&quot;: {
19979 &quot;booleanValues&quot;: [
19980 True or False,
19981 ],
19982 },
19983 &quot;booleanValue&quot;: True or False,
19984 &quot;doubleArray&quot;: {
19985 &quot;doubleValues&quot;: [
19986 3.14,
19987 ],
19988 },
19989 &quot;doubleValue&quot;: 3.14,
19990 &quot;intArray&quot;: {
19991 &quot;intValues&quot;: [
19992 &quot;A String&quot;,
19993 ],
19994 },
19995 &quot;intValue&quot;: &quot;A String&quot;,
19996 &quot;jsonValue&quot;: &quot;A String&quot;,
19997 &quot;protoArray&quot;: {
19998 &quot;protoValues&quot;: [
19999 {
20000 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
20001 },
20002 ],
20003 },
20004 &quot;protoValue&quot;: {
20005 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
20006 },
20007 &quot;serializedObjectValue&quot;: {
20008 &quot;objectValue&quot;: &quot;A String&quot;,
20009 },
20010 &quot;stringArray&quot;: {
20011 &quot;stringValues&quot;: [
20012 &quot;A String&quot;,
20013 ],
20014 },
20015 &quot;stringValue&quot;: &quot;A String&quot;,
20016 },
20017 },
20018 },
20019 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this task config on the UI.
20020 &quot;x&quot;: 42,
20021 &quot;y&quot;: 42,
20022 },
20023 &quot;precondition&quot;: &quot;A String&quot;, # Optional. Standard filter expression evaluated before execution. Independent of other conditions and tasks. Can be used to enable rollout. e.g. &quot;rollout(5)&quot; will only allow 5% of incoming traffic to task.
20024 &quot;preconditionLabel&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to precondition in the UI.
20025 &quot;rollbackStrategy&quot;: { # Next available id: 4 # Optional. Contains information about what needs to be done upon failure (either a permanent error or after it has been retried too many times).
20026 &quot;parameters&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 # Optional. The customized parameters the user can pass to this task.
20027 &quot;parameters&quot;: [ # Parameters are a part of Event and can be used to communicate between different tasks that are part of the same workflow execution.
20028 { # Key-value pair of EventBus parameters.
20029 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
20030 &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.
20031 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
20032 &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.
20033 &quot;booleanArray&quot;: {
20034 &quot;booleanValues&quot;: [
20035 True or False,
20036 ],
20037 },
20038 &quot;booleanValue&quot;: True or False,
20039 &quot;doubleArray&quot;: {
20040 &quot;doubleValues&quot;: [
20041 3.14,
20042 ],
20043 },
20044 &quot;doubleValue&quot;: 3.14,
20045 &quot;intArray&quot;: {
20046 &quot;intValues&quot;: [
20047 &quot;A String&quot;,
20048 ],
20049 },
20050 &quot;intValue&quot;: &quot;A String&quot;,
20051 &quot;jsonValue&quot;: &quot;A String&quot;,
20052 &quot;protoArray&quot;: {
20053 &quot;protoValues&quot;: [
20054 {
20055 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
20056 },
20057 ],
20058 },
20059 &quot;protoValue&quot;: {
20060 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
20061 },
20062 &quot;serializedObjectValue&quot;: {
20063 &quot;objectValue&quot;: &quot;A String&quot;,
20064 },
20065 &quot;stringArray&quot;: {
20066 &quot;stringValues&quot;: [
20067 &quot;A String&quot;,
20068 ],
20069 },
20070 &quot;stringValue&quot;: &quot;A String&quot;,
20071 },
20072 },
20073 ],
20074 },
20075 &quot;rollbackTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. This is the name of the task that needs to be executed upon rollback of this task.
20076 &quot;taskNumbersToRollback&quot;: [ # Required. These are the tasks numbers of the tasks whose `rollback_strategy.rollback_task_implementation_class_name` needs to be executed upon failure of this task.
20077 &quot;A String&quot;,
20078 ],
20079 },
20080 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Determines what action to take upon successful task completion.
20081 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
20082 },
20083 &quot;synchronousCallFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
20084 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
20085 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
20086 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
20087 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
20088 },
20089 &quot;taskEntity&quot;: { # Contains a task&#x27;s metadata and associated information. Next available id: 7 # Copy of the task entity that this task config is an instance of.
20090 &quot;disabledForVpcSc&quot;: True or False, # True if the task has conflict with vpcsc
20091 &quot;metadata&quot;: { # TaskMetadata are attributes that are associated to every common Task we have. # Metadata inclueds the task name, author and so on.
20092 &quot;activeTaskName&quot;: &quot;A String&quot;, # The new task name to replace the current task if it is deprecated. Otherwise, it is the same as the current task name.
20093 &quot;admins&quot;: [
20094 { # Admins are owners of a Task, and have all permissions on a particular task identified by the task name. By default, Eventbus periodically scans all task metadata and syncs (adds) any new admins defined here to Zanzibar.
20095 &quot;googleGroupEmail&quot;: &quot;A String&quot;,
20096 &quot;userEmail&quot;: &quot;A String&quot;,
20097 },
20098 ],
20099 &quot;category&quot;: &quot;A String&quot;,
20100 &quot;codeSearchLink&quot;: &quot;A String&quot;, # The Code Search link to the Task Java file.
20101 &quot;defaultJsonValidationOption&quot;: &quot;A String&quot;, # Controls whether JSON workflow parameters are validated against provided schemas before and/or after this task&#x27;s execution.
20102 &quot;defaultSpec&quot;: &quot;A String&quot;, # Contains the initial configuration of the task with default values set. For now, The string should be compatible to an ASCII-proto format.
20103 &quot;description&quot;: &quot;A String&quot;, # In a few sentences, describe the purpose and usage of the task.
20104 &quot;descriptiveName&quot;: &quot;A String&quot;, # The string name to show on the task list on the Workflow editor screen. This should be a very short, one to two words name for the task. (e.g. &quot;Send Mail&quot;)
20105 &quot;docMarkdown&quot;: &quot;A String&quot;, # Snippet of markdown documentation to embed in the RHP for this task.
20106 &quot;externalCategory&quot;: &quot;A String&quot;,
20107 &quot;externalCategorySequence&quot;: 42, # Sequence with which the task in specific category to be displayed in task discovery panel for external users.
20108 &quot;externalDocHtml&quot;: &quot;A String&quot;, # External-facing documention embedded in the RHP for this task.
20109 &quot;externalDocLink&quot;: &quot;A String&quot;, # Doc link for external-facing documentation (separate from g3doc).
20110 &quot;externalDocMarkdown&quot;: &quot;A String&quot;, # DEPRECATED: Use external_doc_html.
20111 &quot;g3DocLink&quot;: &quot;A String&quot;, # URL to the associated G3 Doc for the task if available
20112 &quot;iconLink&quot;: &quot;A String&quot;, # URL to gstatic image icon for this task. This icon shows up on the task list panel along with the task name in the Workflow Editor screen. Use the 24p, 2x, gray color icon image format.
20113 &quot;isDeprecated&quot;: True or False, # The deprecation status of the current task. Default value is false;
20114 &quot;name&quot;: &quot;A String&quot;, # The actual class name or the annotated name of the task. Task Author should initialize this field with value from the getName() method of the Task class.
20115 &quot;standaloneExternalDocHtml&quot;: &quot;A String&quot;, # External-facing documention for standalone IP in pantheon embedded in the RHP for this task. Non null only if different from external_doc_html
20116 &quot;status&quot;: &quot;A String&quot;, # Allows author to indicate if the task is ready to use or not. If not set, then it will default to INACTIVE.
20117 &quot;system&quot;: &quot;A String&quot;,
20118 &quot;tags&quot;: [ # A set of tags that pertain to a particular task. This can be used to improve the searchability of tasks with several names (&quot;REST Caller&quot; vs. &quot;Call REST Endpoint&quot;) or to help users find tasks based on related words.
20119 &quot;A String&quot;,
20120 ],
20121 },
20122 &quot;paramSpecs&quot;: { # Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask.
20123 &quot;parameters&quot;: [
20124 { # Key-value pair of EventBus task parameters. Next id: 13
20125 &quot;className&quot;: &quot;A String&quot;, # The FQCN of the Java object this represents. A string, for example, would be &quot;java.lang.String&quot;. If this is &quot;java.lang.Object&quot;, the parameter can be of any type.
20126 &quot;collectionElementClassName&quot;: &quot;A String&quot;, # If it is a collection of objects, this would be the FCQN of every individual element in the collection. If this is &quot;java.lang.Object&quot;, the parameter is a collection of any type.
20127 &quot;config&quot;: { # Optional fields, such as help text and other useful info.
20128 &quot;descriptivePhrase&quot;: &quot;A String&quot;, # A short phrase to describe what this parameter contains.
20129 &quot;helpText&quot;: &quot;A String&quot;, # Detailed help text for this parameter containing information not provided elsewhere. For example, instructions on how to migrate from a deprecated parameter.
20130 &quot;hideDefaultValue&quot;: True or False, # Whether the default value is hidden in the UI.
20131 &quot;inputDisplayOption&quot;: &quot;A String&quot;,
20132 &quot;isHidden&quot;: True or False, # Whether this field is hidden in the UI.
20133 &quot;label&quot;: &quot;A String&quot;, # A user-friendly label for the parameter.
20134 &quot;parameterNameOption&quot;: &quot;A String&quot;,
20135 &quot;subSectionLabel&quot;: &quot;A String&quot;, # A user-friendly label for subSection under which the parameter will be displayed.
20136 &quot;uiPlaceholderText&quot;: &quot;A String&quot;, # Placeholder text which will appear in the UI input form for this parameter.
20137 },
20138 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
20139 &quot;defaultValue&quot;: { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
20140 &quot;booleanArray&quot;: {
20141 &quot;booleanValues&quot;: [
20142 True or False,
20143 ],
20144 },
20145 &quot;booleanValue&quot;: True or False,
20146 &quot;doubleArray&quot;: {
20147 &quot;doubleValues&quot;: [
20148 3.14,
20149 ],
20150 },
20151 &quot;doubleValue&quot;: 3.14,
20152 &quot;intArray&quot;: {
20153 &quot;intValues&quot;: [
20154 &quot;A String&quot;,
20155 ],
20156 },
20157 &quot;intValue&quot;: &quot;A String&quot;,
20158 &quot;jsonValue&quot;: &quot;A String&quot;,
20159 &quot;protoArray&quot;: {
20160 &quot;protoValues&quot;: [
20161 {
20162 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
20163 },
20164 ],
20165 },
20166 &quot;protoValue&quot;: {
20167 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
20168 },
20169 &quot;serializedObjectValue&quot;: {
20170 &quot;objectValue&quot;: &quot;A String&quot;,
20171 },
20172 &quot;stringArray&quot;: {
20173 &quot;stringValues&quot;: [
20174 &quot;A String&quot;,
20175 ],
20176 },
20177 &quot;stringValue&quot;: &quot;A String&quot;,
20178 },
20179 &quot;isDeprecated&quot;: True or False, # If set, this entry is deprecated, so further use of this parameter should be prohibited.
20180 &quot;isOutput&quot;: True or False,
20181 &quot;jsonSchema&quot;: &quot;A String&quot;, # If the data_type is JSON_VALUE, then this will define its schema.
20182 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given task. These parameters must be predefined in the workflow definition.
20183 &quot;protoDef&quot;: { # Populated if this represents a proto or proto array.
20184 &quot;fullName&quot;: &quot;A String&quot;, # The fully-qualified proto name. This message, for example, would be &quot;enterprise.crm.eventbus.proto.ParamSpecEntry.ProtoDefinition&quot;.
20185 &quot;path&quot;: &quot;A String&quot;, # Path to the proto file that contains the message type&#x27;s definition.
20186 },
20187 &quot;required&quot;: True or False, # If set, the user must provide an input value for this parameter.
20188 &quot;validationRule&quot;: { # Rule used to validate inputs (individual values and collection elements) for this parameter.
20189 &quot;doubleRange&quot;: { # Range used to validate doubles and floats.
20190 &quot;max&quot;: 3.14, # The inclusive maximum of the acceptable range.
20191 &quot;min&quot;: 3.14, # The inclusive minimum of the acceptable range.
20192 },
20193 &quot;intRange&quot;: { # Range used to validate longs and ints.
20194 &quot;max&quot;: &quot;A String&quot;, # The inclusive maximum of the acceptable range.
20195 &quot;min&quot;: &quot;A String&quot;, # The inclusive minimum of the acceptable range.
20196 },
20197 &quot;stringRegex&quot;: { # Rule used to validate strings.
20198 &quot;exclusive&quot;: True or False, # Whether the regex matcher is applied exclusively (if true, matching values will be rejected).
20199 &quot;regex&quot;: &quot;A String&quot;, # The regex applied to the input value(s).
20200 },
20201 },
20202 },
20203 ],
20204 },
20205 &quot;stats&quot;: { # Stats for the requested dimensions: QPS, duration, and error/warning rate # Deprecated - statistics from the Monarch query.
20206 &quot;dimensions&quot;: { # Dimensions that these stats have been aggregated on.
20207 &quot;clientId&quot;: &quot;A String&quot;,
20208 &quot;enumFilterType&quot;: &quot;A String&quot;, # Whether to include or exclude the enums matching the regex.
20209 &quot;errorEnumString&quot;: &quot;A String&quot;,
20210 &quot;retryAttempt&quot;: &quot;A String&quot;,
20211 &quot;taskName&quot;: &quot;A String&quot;,
20212 &quot;taskNumber&quot;: &quot;A String&quot;,
20213 &quot;triggerId&quot;: &quot;A String&quot;, # Stats have been or will be aggregated on set fields for any semantically-meaningful combination.
20214 &quot;warningEnumString&quot;: &quot;A String&quot;,
20215 &quot;workflowId&quot;: &quot;A String&quot;,
20216 &quot;workflowName&quot;: &quot;A String&quot;,
20217 },
20218 &quot;durationInSeconds&quot;: 3.14, # Average duration in seconds.
20219 &quot;errorRate&quot;: 3.14, # Average error rate.
20220 &quot;qps&quot;: 3.14, # Queries per second.
20221 &quot;warningRate&quot;: 3.14, # Average warning rate.
20222 },
20223 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
20224 &quot;uiConfig&quot;: { # Task authors would use this type to configure the UI for a particular task by specifying what UI config modules should be included to compose the UI. Learn more about config module framework: # UI configuration for this task Also associated with the METADATA mask.
20225 &quot;taskUiModuleConfigs&quot;: [ # Configurations of included config modules.
20226 { # Task author would use this type to configure a config module.
20227 &quot;moduleId&quot;: &quot;A String&quot;, # ID of the config module.
20228 },
20229 ],
20230 },
20231 },
20232 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # The policy dictating the execution strategy of this task.
20233 &quot;taskName&quot;: &quot;A String&quot;, # The name for the task.
20234 &quot;taskNumber&quot;: &quot;A String&quot;, # REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`).
20235 &quot;taskSpec&quot;: &quot;A String&quot;, # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old &quot;parameters&quot; field.
20236 &quot;taskTemplateName&quot;: &quot;A String&quot;, # Used to define task-template name if task is of type task-template
20237 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
20238 },
20239 ],
20240 &quot;teardown&quot;: { # Optional. Contains a graph of tasks that will be executed before putting the event in a terminal state (SUCCEEDED/FAILED/FATAL), regardless of success or failure, similar to &quot;finally&quot; in code.
20241 &quot;teardownTaskConfigs&quot;: [ # Required.
20242 {
20243 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address.
20244 &quot;name&quot;: &quot;A String&quot;, # Required. Unique identifier of the teardown task within this Config. We use this field as the identifier to find next teardown tasks.
20245 &quot;nextTeardownTask&quot;: { # The teardown task that is next in line to be executed. We support only sequential execution of teardown tasks (i.e. no branching).
20246 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the next teardown task.
20247 },
20248 &quot;parameters&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 the user can pass to this task.
20249 &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.
20250 { # Key-value pair of EventBus parameters.
20251 &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.
20252 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
20253 &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.
20254 &quot;booleanArray&quot;: {
20255 &quot;booleanValues&quot;: [
20256 True or False,
20257 ],
20258 },
20259 &quot;booleanValue&quot;: True or False,
20260 &quot;doubleArray&quot;: {
20261 &quot;doubleValues&quot;: [
20262 3.14,
20263 ],
20264 },
20265 &quot;doubleValue&quot;: 3.14,
20266 &quot;intArray&quot;: {
20267 &quot;intValues&quot;: [
20268 &quot;A String&quot;,
20269 ],
20270 },
20271 &quot;intValue&quot;: &quot;A String&quot;,
20272 &quot;protoArray&quot;: {
20273 &quot;protoValues&quot;: [
20274 {
20275 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
20276 },
20277 ],
20278 },
20279 &quot;protoValue&quot;: {
20280 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
20281 },
20282 &quot;serializedObjectValue&quot;: {
20283 &quot;objectValue&quot;: &quot;A String&quot;,
20284 },
20285 &quot;stringArray&quot;: {
20286 &quot;stringValues&quot;: [
20287 &quot;A String&quot;,
20288 ],
20289 },
20290 &quot;stringValue&quot;: &quot;A String&quot;,
20291 },
20292 },
20293 ],
20294 },
20295 &quot;properties&quot;: { # LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus.
20296 &quot;properties&quot;: [ # An unordered list of property entries.
20297 { # Key-value pair of EventBus property.
20298 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding property value. This should be unique for a given fired event. The Tasks should be aware of the keys used while firing the events for them to be able to retrieve the values.
20299 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Values for the defined keys. Each value can either be string, int, double or any proto message.
20300 &quot;booleanValue&quot;: True or False,
20301 &quot;doubleArray&quot;: {
20302 &quot;values&quot;: [
20303 3.14,
20304 ],
20305 },
20306 &quot;doubleValue&quot;: 3.14,
20307 &quot;intArray&quot;: {
20308 &quot;values&quot;: [
20309 &quot;A String&quot;,
20310 ],
20311 },
20312 &quot;intValue&quot;: &quot;A String&quot;,
20313 &quot;protoValue&quot;: {
20314 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
20315 },
20316 &quot;stringArray&quot;: {
20317 &quot;values&quot;: [
20318 &quot;A String&quot;,
20319 ],
20320 },
20321 &quot;stringValue&quot;: &quot;A String&quot;,
20322 },
20323 },
20324 ],
20325 },
20326 &quot;teardownTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. Implementation class name.
20327 },
20328 ],
20329 },
20330 &quot;triggerConfigs&quot;: [ # Optional. Trigger configurations.
20331 { # Configuration detail of a trigger.
20332 &quot;alertConfig&quot;: [ # Optional. An alert threshold configuration for the [trigger + client + integration] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + integration] when published.
20333 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
20334 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
20335 &quot;alertThreshold&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
20336 &quot;disableAlert&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this integration alert.
20337 &quot;displayName&quot;: &quot;A String&quot;, # Name of the alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the integration.
20338 &quot;durationThreshold&quot;: &quot;A String&quot;, # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
20339 &quot;metricType&quot;: &quot;A String&quot;, # The type of metric.
20340 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
20341 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
20342 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
20343 &quot;absolute&quot;: &quot;A String&quot;, # Absolute value threshold.
20344 &quot;percentage&quot;: 42, # Percentage threshold.
20345 },
20346 },
20347 ],
20348 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration # Optional. Cloud Scheduler Trigger related metadata
20349 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
20350 &quot;errorMessage&quot;: &quot;A String&quot;, # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations
20351 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
20352 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
20353 },
20354 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
20355 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
20356 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
20357 &quot;names&quot;: [ # Optional. List of variable names.
20358 &quot;A String&quot;,
20359 ],
20360 },
20361 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular trigger.
20362 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. Dictates how next tasks will be executed.
20363 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
20364 &quot;names&quot;: [ # Optional. List of variable names.
20365 &quot;A String&quot;,
20366 ],
20367 },
20368 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
20369 &quot;x&quot;: 42, # Required. X axis of the coordinate
20370 &quot;y&quot;: 42, # Required. Y axis of the coordinate
20371 },
20372 &quot;properties&quot;: { # Optional. Configurable properties of the trigger, not to be confused with integration parameters. E.g. &quot;name&quot; is a property for API triggers and &quot;subscription&quot; is a property for Pub/sub triggers.
20373 &quot;a_key&quot;: &quot;A String&quot;,
20374 },
20375 &quot;startTasks&quot;: [ # Optional. Set of tasks numbers from where the integration execution is started by this trigger. If this is empty, then integration is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same integration execution graph).
20376 { # The task that is next in line to be executed, if the condition specified evaluated to true.
20377 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
20378 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
20379 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
20380 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
20381 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
20382 },
20383 ],
20384 &quot;trigger&quot;: &quot;A String&quot;, # Optional. Name of the trigger. Example: &quot;API Trigger&quot;, &quot;Cloud Pub Sub Trigger&quot; When set will be sent out to monitoring dashabord for tracking purpose.
20385 &quot;triggerId&quot;: &quot;A String&quot;, # Optional. Auto-generated trigger ID. The ID is based on the properties that you define in the trigger config. For example, for an API trigger, the trigger ID follows the format: api_trigger/TRIGGER_NAME Where trigger config has properties with value {&quot;Trigger name&quot;: TRIGGER_NAME}
20386 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the integration on UI.
20387 &quot;triggerType&quot;: &quot;A String&quot;, # Optional. Type of trigger
20388 },
20389 ],
20390 &quot;triggerConfigsInternal&quot;: [ # Optional. Trigger configurations.
20391 { # Configuration detail of a trigger. Next available id: 22
20392 &quot;alertConfig&quot;: [ # An alert threshold configuration for the [trigger + client + workflow] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + workflow] when published.
20393 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
20394 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
20395 &quot;alertDisabled&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.
20396 &quot;alertName&quot;: &quot;A String&quot;, # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the workflow.
20397 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration.
20398 &quot;durationThresholdMs&quot;: &quot;A String&quot;, # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
20399 &quot;errorEnumList&quot;: { # List of error enums for alerts.
20400 &quot;enumStrings&quot;: [
20401 &quot;A String&quot;,
20402 ],
20403 &quot;filterType&quot;: &quot;A String&quot;,
20404 },
20405 &quot;metricType&quot;: &quot;A String&quot;,
20406 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
20407 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
20408 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
20409 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
20410 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
20411 &quot;absolute&quot;: &quot;A String&quot;,
20412 &quot;percentage&quot;: 42,
20413 },
20414 &quot;warningEnumList&quot;: { # List of error enums for alerts.
20415 &quot;enumStrings&quot;: [
20416 &quot;A String&quot;,
20417 ],
20418 &quot;filterType&quot;: &quot;A String&quot;,
20419 },
20420 },
20421 ],
20422 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration
20423 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
20424 &quot;errorMessage&quot;: &quot;A String&quot;, # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations
20425 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
20426 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
20427 },
20428 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
20429 &quot;enabledClients&quot;: [ # Required. The list of client ids which are enabled to execute the workflow using this trigger. In other words, these clients have the workflow execution privledges for this trigger. For API trigger, the client id in the incoming request is validated against the list of enabled clients. For non-API triggers, one workflow execution is triggered on behalf of each enabled client.
20430 &quot;A String&quot;,
20431 ],
20432 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
20433 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
20434 &quot;names&quot;: [ # Optional. List of variable names.
20435 &quot;A String&quot;,
20436 ],
20437 },
20438 &quot;label&quot;: &quot;A String&quot;, # The user created label for a particular trigger.
20439 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Dictates how next tasks will be executed.
20440 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
20441 &quot;names&quot;: [ # Optional. List of variable names.
20442 &quot;A String&quot;,
20443 ],
20444 },
20445 &quot;pauseWorkflowExecutions&quot;: True or False, # Optional. If set to true, any upcoming requests for this trigger config will be paused and the executions will be resumed later when the flag is reset. The workflow to which this trigger config belongs has to be in ACTIVE status for the executions to be paused or resumed.
20446 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this trigger config on the UI.
20447 &quot;x&quot;: 42,
20448 &quot;y&quot;: 42,
20449 },
20450 &quot;properties&quot;: { # Configurable properties of the trigger, not to be confused with workflow parameters. E.g. &quot;name&quot; is a property for API triggers and &quot;subscription&quot; is a property for Cloud Pubsub triggers.
20451 &quot;a_key&quot;: &quot;A String&quot;,
20452 },
20453 &quot;startTasks&quot;: [ # Set of tasks numbers from where the workflow execution is started by this trigger. If this is empty, then workflow is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same workflow execution graph).
20454 { # The task that is next in line to be executed, if the condition specified evaluated to true.
20455 &quot;combinedConditions&quot;: [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
20456 { # This message recursively combines constituent conditions using logical AND.
20457 &quot;conditions&quot;: [ # A set of individual constituent conditions.
20458 { # Condition that uses `operator` to evaluate the key against the value.
20459 &quot;eventPropertyKey&quot;: &quot;A String&quot;, # Key that&#x27;s evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.
20460 &quot;operator&quot;: &quot;A String&quot;, # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
20461 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that&#x27;s checked for the key.
20462 &quot;booleanValue&quot;: True or False,
20463 &quot;doubleArray&quot;: {
20464 &quot;values&quot;: [
20465 3.14,
20466 ],
20467 },
20468 &quot;doubleValue&quot;: 3.14,
20469 &quot;intArray&quot;: {
20470 &quot;values&quot;: [
20471 &quot;A String&quot;,
20472 ],
20473 },
20474 &quot;intValue&quot;: &quot;A String&quot;,
20475 &quot;protoValue&quot;: {
20476 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
20477 },
20478 &quot;stringArray&quot;: {
20479 &quot;values&quot;: [
20480 &quot;A String&quot;,
20481 ],
20482 },
20483 &quot;stringValue&quot;: &quot;A String&quot;,
20484 },
20485 },
20486 ],
20487 },
20488 ],
20489 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
20490 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
20491 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
20492 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
20493 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
20494 },
20495 ],
20496 &quot;triggerCriteria&quot;: { # Optional. When set, Eventbus will run the task specified in the trigger_criteria and validate the result using the trigger_criteria.condition, and only execute the workflow when result is true.
20497 &quot;condition&quot;: &quot;A String&quot;, # Required. Standard filter expression, when true the workflow will be executed. If there&#x27;s no trigger_criteria_task_implementation_class_name specified, the condition will be validated directly.
20498 &quot;parameters&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 # Optional. To be used in TaskConfig for the implementation class.
20499 &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.
20500 { # Key-value pair of EventBus parameters.
20501 &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.
20502 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
20503 &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.
20504 &quot;booleanArray&quot;: {
20505 &quot;booleanValues&quot;: [
20506 True or False,
20507 ],
20508 },
20509 &quot;booleanValue&quot;: True or False,
20510 &quot;doubleArray&quot;: {
20511 &quot;doubleValues&quot;: [
20512 3.14,
20513 ],
20514 },
20515 &quot;doubleValue&quot;: 3.14,
20516 &quot;intArray&quot;: {
20517 &quot;intValues&quot;: [
20518 &quot;A String&quot;,
20519 ],
20520 },
20521 &quot;intValue&quot;: &quot;A String&quot;,
20522 &quot;protoArray&quot;: {
20523 &quot;protoValues&quot;: [
20524 {
20525 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
20526 },
20527 ],
20528 },
20529 &quot;protoValue&quot;: {
20530 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
20531 },
20532 &quot;serializedObjectValue&quot;: {
20533 &quot;objectValue&quot;: &quot;A String&quot;,
20534 },
20535 &quot;stringArray&quot;: {
20536 &quot;stringValues&quot;: [
20537 &quot;A String&quot;,
20538 ],
20539 },
20540 &quot;stringValue&quot;: &quot;A String&quot;,
20541 },
20542 },
20543 ],
20544 },
20545 &quot;triggerCriteriaTaskImplementationClassName&quot;: &quot;A String&quot;, # Optional. Implementation class name. The class should implement the “TypedTask” interface.
20546 },
20547 &quot;triggerId&quot;: &quot;A String&quot;, # The backend trigger ID.
20548 &quot;triggerName&quot;: &quot;A String&quot;, # Optional. Name of the trigger This is added to identify the type of trigger. This is avoid the logic on triggerId to identify the trigger_type and push the same to monitoring.
20549 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the workflow on UI.
20550 &quot;triggerType&quot;: &quot;A String&quot;,
20551 },
20552 ],
20553 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
20554 &quot;userLabel&quot;: &quot;A String&quot;, # Optional. A user-defined label that annotates an integration version. Typically, this is only set when the integration version is created.
20555 },
20556 &quot;subIntegrationVersions&quot;: [ # Sub integration versions which are created.
20557 { # The integration version definition.
20558 &quot;cloudKmsKey&quot;: &quot;A String&quot;, # Optional. Cloud KMS resource name for the CMEK encryption key.
20559 &quot;cloudLoggingDetails&quot;: { # Cloud Logging details for execution info # Optional. Cloud Logging details for the integration version
20560 &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.
20561 &quot;enableCloudLogging&quot;: True or False, # Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.
20562 },
20563 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
20564 &quot;createdFromTemplate&quot;: &quot;A String&quot;, # Optional. Optional. The resource name of the template from which the integration is created.
20565 &quot;databasePersistencePolicy&quot;: &quot;A String&quot;, # Optional. Flag to disable database persistence for execution data, including event execution info, execution export info, execution metadata index and execution param index.
20566 &quot;description&quot;: &quot;A String&quot;, # Optional. The integration description.
20567 &quot;enableVariableMasking&quot;: True or False, # Optional. True if variable masking feature should be turned on for this version
20568 &quot;errorCatcherConfigs&quot;: [ # Optional. Error Catch Task configuration for the integration. It&#x27;s optional.
20569 { # Configuration detail of a error catch task
20570 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give more business context about the error catcher config.
20571 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Required. An error catcher id is string representation for the error catcher config. Within a workflow, error_catcher_id uniquely identifies an error catcher config among all error catcher configs for the workflow
20572 &quot;errorCatcherNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each error catcher config within the workflow on UI.
20573 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular error catcher. Optional.
20574 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
20575 &quot;x&quot;: 42, # Required. X axis of the coordinate
20576 &quot;y&quot;: 42, # Required. Y axis of the coordinate
20577 },
20578 &quot;startErrorTasks&quot;: [ # Required. The set of start tasks that are to be executed for the error catch flow
20579 { # The task that is next in line to be executed, if the condition specified evaluated to true.
20580 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
20581 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
20582 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
20583 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
20584 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
20585 },
20586 ],
20587 },
20588 ],
20589 &quot;integrationConfigParameters&quot;: [ # Optional. Config Parameters that are expected to be passed to the integration when an integration is published. This consists of all the parameters that are expected to provide configuration in the integration execution. This gives the user the ability to provide default values, value, add information like connection url, project based configuration value and also provide data types of each parameter.
20590 { # Integration Config Parameter is defined in the integration config and are used to provide external configuration for integration. It provide information about data types of the expected parameters and provide any default values or value. They can also be used to add custom attributes.
20591 &quot;parameter&quot;: { # 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. # Optional. Integration Parameter to provide the default value, data type and attributes required for the Integration config variables.
20592 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
20593 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
20594 &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.
20595 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
20596 &quot;booleanValues&quot;: [ # Boolean array.
20597 True or False,
20598 ],
20599 },
20600 &quot;booleanValue&quot;: True or False, # Boolean.
20601 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
20602 &quot;doubleValues&quot;: [ # Double number array.
20603 3.14,
20604 ],
20605 },
20606 &quot;doubleValue&quot;: 3.14, # Double Number.
20607 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
20608 &quot;intValues&quot;: [ # Integer array.
20609 &quot;A String&quot;,
20610 ],
20611 },
20612 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
20613 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
20614 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
20615 &quot;stringValues&quot;: [ # String array.
20616 &quot;A String&quot;,
20617 ],
20618 },
20619 &quot;stringValue&quot;: &quot;A String&quot;, # String.
20620 },
20621 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
20622 &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;.
20623 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
20624 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
20625 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
20626 &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.
20627 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
20628 &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.
20629 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
20630 },
20631 &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 or a serialized object.
20632 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
20633 &quot;booleanValues&quot;: [ # Boolean array.
20634 True or False,
20635 ],
20636 },
20637 &quot;booleanValue&quot;: True or False, # Boolean.
20638 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
20639 &quot;doubleValues&quot;: [ # Double number array.
20640 3.14,
20641 ],
20642 },
20643 &quot;doubleValue&quot;: 3.14, # Double Number.
20644 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
20645 &quot;intValues&quot;: [ # Integer array.
20646 &quot;A String&quot;,
20647 ],
20648 },
20649 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
20650 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
20651 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
20652 &quot;stringValues&quot;: [ # String array.
20653 &quot;A String&quot;,
20654 ],
20655 },
20656 &quot;stringValue&quot;: &quot;A String&quot;, # String.
20657 },
20658 },
20659 ],
20660 &quot;integrationParameters&quot;: [ # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
20661 { # 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.
20662 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
20663 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
20664 &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.
20665 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
20666 &quot;booleanValues&quot;: [ # Boolean array.
20667 True or False,
20668 ],
20669 },
20670 &quot;booleanValue&quot;: True or False, # Boolean.
20671 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
20672 &quot;doubleValues&quot;: [ # Double number array.
20673 3.14,
20674 ],
20675 },
20676 &quot;doubleValue&quot;: 3.14, # Double Number.
20677 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
20678 &quot;intValues&quot;: [ # Integer array.
20679 &quot;A String&quot;,
20680 ],
20681 },
20682 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
20683 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
20684 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
20685 &quot;stringValues&quot;: [ # String array.
20686 &quot;A String&quot;,
20687 ],
20688 },
20689 &quot;stringValue&quot;: &quot;A String&quot;, # String.
20690 },
20691 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
20692 &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;.
20693 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
20694 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
20695 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
20696 &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.
20697 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
20698 &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.
20699 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
20700 },
20701 ],
20702 &quot;integrationParametersInternal&quot;: { # LINT.IfChange This is the frontend version of WorkflowParameters. It&#x27;s exactly like the backend version except that instead of flattening protobuf parameters and treating every field and subfield of a protobuf parameter as a separate parameter, the fields/subfields of a protobuf parameter will be nested as &quot;children&quot; (see &#x27;children&#x27; field below) parameters of the parent parameter. Please refer to enterprise/crm/eventbus/proto/workflow_parameters.proto for more information about WorkflowParameters. # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
20703 &quot;parameters&quot;: [ # Parameters are a part of Event and can be used to communiticate between different tasks that are part of the same workflow execution.
20704 {
20705 &quot;attributes&quot;: { # Attributes are additional options that can be associated with each event property. For more information, see # Metadata information about the parameters.
20706 &quot;dataType&quot;: &quot;A String&quot;, # Things like URL, Email, Currency, Timestamp (rather than string, int64...)
20707 &quot;defaultValue&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Used to define defaults.
20708 &quot;booleanValue&quot;: True or False,
20709 &quot;doubleArray&quot;: {
20710 &quot;values&quot;: [
20711 3.14,
20712 ],
20713 },
20714 &quot;doubleValue&quot;: 3.14,
20715 &quot;intArray&quot;: {
20716 &quot;values&quot;: [
20717 &quot;A String&quot;,
20718 ],
20719 },
20720 &quot;intValue&quot;: &quot;A String&quot;,
20721 &quot;protoValue&quot;: {
20722 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
20723 },
20724 &quot;stringArray&quot;: {
20725 &quot;values&quot;: [
20726 &quot;A String&quot;,
20727 ],
20728 },
20729 &quot;stringValue&quot;: &quot;A String&quot;,
20730 },
20731 &quot;isRequired&quot;: True or False, # Required for event execution. The validation will be done by the event bus when the event is triggered.
20732 &quot;isSearchable&quot;: True or False, # Used to indicate if a ParameterEntry should be converted to ParamIndexes for ST-Spanner full-text search. DEPRECATED: use searchable.
20733 &quot;logSettings&quot;: { # The LogSettings define the logging attributes for an event property. These attributes are used to map the property to the parameter in the log proto. Also used to define scrubbing/truncation behavior and PII information. # See
20734 &quot;logFieldName&quot;: &quot;A String&quot;, # The name of corresponding logging field of the event property. If omitted, assumes the same name as the event property key.
20735 &quot;seedPeriod&quot;: &quot;A String&quot;,
20736 &quot;seedScope&quot;: &quot;A String&quot;,
20737 },
20738 &quot;masked&quot;: True or False, # True if this workflow parameter should be masked in the logs
20739 &quot;readOnly&quot;: True or False, # Used to indicate if the ParameterEntry is a read only field or not.
20740 &quot;searchable&quot;: &quot;A String&quot;,
20741 &quot;taskVisibility&quot;: [ # List of tasks that can view this property, if empty then all.
20742 &quot;A String&quot;,
20743 ],
20744 },
20745 &quot;children&quot;: [ # Child parameters nested within this parameter. This field only applies to protobuf parameters
20746 # Object with schema name: EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
20747 ],
20748 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
20749 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
20750 &quot;defaultValue&quot;: { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
20751 &quot;booleanArray&quot;: {
20752 &quot;booleanValues&quot;: [
20753 True or False,
20754 ],
20755 },
20756 &quot;booleanValue&quot;: True or False,
20757 &quot;doubleArray&quot;: {
20758 &quot;doubleValues&quot;: [
20759 3.14,
20760 ],
20761 },
20762 &quot;doubleValue&quot;: 3.14,
20763 &quot;intArray&quot;: {
20764 &quot;intValues&quot;: [
20765 &quot;A String&quot;,
20766 ],
20767 },
20768 &quot;intValue&quot;: &quot;A String&quot;,
20769 &quot;jsonValue&quot;: &quot;A String&quot;,
20770 &quot;protoArray&quot;: {
20771 &quot;protoValues&quot;: [
20772 {
20773 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
20774 },
20775 ],
20776 },
20777 &quot;protoValue&quot;: {
20778 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
20779 },
20780 &quot;serializedObjectValue&quot;: {
20781 &quot;objectValue&quot;: &quot;A String&quot;,
20782 },
20783 &quot;stringArray&quot;: {
20784 &quot;stringValues&quot;: [
20785 &quot;A String&quot;,
20786 ],
20787 },
20788 &quot;stringValue&quot;: &quot;A String&quot;,
20789 },
20790 &quot;description&quot;: &quot;A String&quot;, # Optional. The description about the parameter
20791 &quot;inOutType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
20792 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
20793 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
20794 &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.
20795 &quot;name&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;.
20796 &quot;producedBy&quot;: { # Represents a node identifier (type + id). Next highest id: 3 # 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.
20797 &quot;elementIdentifier&quot;: &quot;A String&quot;, # Configuration of the edge.
20798 &quot;elementType&quot;: &quot;A String&quot;, # Destination node where the edge ends. It can only be a task config.
20799 },
20800 &quot;producer&quot;: &quot;A String&quot;,
20801 &quot;protoDefName&quot;: &quot;A String&quot;, # The name of the protobuf type if the parameter has a protobuf data type.
20802 &quot;protoDefPath&quot;: &quot;A String&quot;, # If the data type is of type proto or proto array, this field needs to be populated with the fully qualified proto name. This message, for example, would be &quot;enterprise.crm.frontends.eventbus.proto.WorkflowParameterEntry&quot;.
20803 &quot;required&quot;: True or False,
20804 },
20805 ],
20806 },
20807 &quot;lastModifierEmail&quot;: &quot;A String&quot;, # Optional. The last modifier&#x27;s email address. Generated based on the End User Credentials/LOAS role of the user making the call.
20808 &quot;lockHolder&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.
20809 &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
20810 &quot;origin&quot;: &quot;A String&quot;, # Optional. The origin that indicates where this integration is coming from.
20811 &quot;parentTemplateId&quot;: &quot;A String&quot;, # Optional. The id of the template which was used to create this integration_version.
20812 &quot;runAsServiceAccount&quot;: &quot;A String&quot;, # Optional. The run-as service account email, if set and auth config is not configured, that will be used to generate auth token to be used in Connector task, Rest caller task and Cloud function task.
20813 &quot;snapshotNumber&quot;: &quot;A String&quot;, # Output only. An increasing sequence that is set when a new snapshot is created. The last created snapshot can be identified by [workflow_name, org_id latest(snapshot_number)]. However, last created snapshot need not be same as the HEAD. So users should always use &quot;HEAD&quot; tag to identify the head.
20814 &quot;state&quot;: &quot;A String&quot;, # Output only. User should not set it as an input.
20815 &quot;status&quot;: &quot;A String&quot;, # Output only. Generated by eventbus. User should not set it as an input.
20816 &quot;taskConfigs&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
20817 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
20818 &quot;conditionalFailurePolicies&quot;: { # Conditional task failur retry strategies # Optional. The list of conditional failure policies that will be applied to the task in order.
20819 &quot;defaultFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # The default failure policy to be applied if no conditional failure policy matches.
20820 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
20821 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
20822 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
20823 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
20824 },
20825 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
20826 { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
20827 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
20828 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
20829 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
20830 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
20831 },
20832 ],
20833 },
20834 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
20835 &quot;displayName&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to this TaskConfig in the UI.
20836 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
20837 &quot;externalTaskType&quot;: &quot;A String&quot;, # Optional. External task type of the task
20838 &quot;failurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
20839 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
20840 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
20841 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
20842 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
20843 },
20844 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # Optional. If set, overrides the option configured in the Task implementation class.
20845 &quot;nextTasks&quot;: [ # Optional. The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
20846 { # The task that is next in line to be executed, if the condition specified evaluated to true.
20847 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
20848 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
20849 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
20850 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
20851 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
20852 },
20853 ],
20854 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution of the next set of tasks for the current task.
20855 &quot;parameters&quot;: { # Optional. The customized parameters the user can pass to this task.
20856 &quot;a_key&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
20857 &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.
20858 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
20859 &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.
20860 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
20861 &quot;booleanValues&quot;: [ # Boolean array.
20862 True or False,
20863 ],
20864 },
20865 &quot;booleanValue&quot;: True or False, # Boolean.
20866 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
20867 &quot;doubleValues&quot;: [ # Double number array.
20868 3.14,
20869 ],
20870 },
20871 &quot;doubleValue&quot;: 3.14, # Double Number.
20872 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
20873 &quot;intValues&quot;: [ # Integer array.
20874 &quot;A String&quot;,
20875 ],
20876 },
20877 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
20878 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
20879 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
20880 &quot;stringValues&quot;: [ # String array.
20881 &quot;A String&quot;,
20882 ],
20883 },
20884 &quot;stringValue&quot;: &quot;A String&quot;, # String.
20885 },
20886 },
20887 },
20888 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
20889 &quot;x&quot;: 42, # Required. X axis of the coordinate
20890 &quot;y&quot;: 42, # Required. Y axis of the coordinate
20891 },
20892 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Optional. Determines what action to take upon successful task completion.
20893 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
20894 },
20895 &quot;synchronousCallFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
20896 &quot;condition&quot;: &quot;A String&quot;, # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
20897 &quot;intervalTime&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
20898 &quot;maxRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
20899 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
20900 },
20901 &quot;task&quot;: &quot;A String&quot;, # Optional. The name for the task.
20902 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution strategy of this task.
20903 &quot;taskId&quot;: &quot;A String&quot;, # Required. The identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_id`).
20904 &quot;taskTemplate&quot;: &quot;A String&quot;, # Optional. Used to define task-template name if task is of type task-template
20905 },
20906 ],
20907 &quot;taskConfigsInternal&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
20908 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
20909 &quot;alertConfigs&quot;: [ # Alert configurations on error rate, warning rate, number of runs, durations, etc.
20910 { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event.
20911 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week).
20912 &quot;alertDisabled&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.
20913 &quot;alertName&quot;: &quot;A String&quot;, # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique in within the scope of the containing workflow.
20914 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration. Must be a client enabled in one of the containing workflow&#x27;s triggers.
20915 &quot;durationThresholdMs&quot;: &quot;A String&quot;, # Should be specified only for TASK_AVERAGE_DURATION and TASK_PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
20916 &quot;errorEnumList&quot;: { # List of error enums for alerts.
20917 &quot;enumStrings&quot;: [
20918 &quot;A String&quot;,
20919 ],
20920 &quot;filterType&quot;: &quot;A String&quot;,
20921 },
20922 &quot;metricType&quot;: &quot;A String&quot;,
20923 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
20924 &quot;onlyFinalAttempt&quot;: True or False, # Only count final task attempts, not retries.
20925 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
20926 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
20927 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
20928 &quot;absolute&quot;: &quot;A String&quot;,
20929 &quot;percentage&quot;: 42,
20930 },
20931 &quot;warningEnumList&quot;: { # List of error enums for alerts.
20932 &quot;enumStrings&quot;: [
20933 &quot;A String&quot;,
20934 ],
20935 &quot;filterType&quot;: &quot;A String&quot;,
20936 },
20937 },
20938 ],
20939 &quot;conditionalFailurePolicies&quot;: { # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
20940 &quot;defaultFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # The default failure policy to be applied if no conditional failure policy matches
20941 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
20942 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
20943 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
20944 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
20945 },
20946 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
20947 { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
20948 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
20949 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
20950 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
20951 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
20952 },
20953 ],
20954 },
20955 &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
20956 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address. Auto-generated from the user&#x27;s email.
20957 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
20958 &quot;disableStrictTypeValidation&quot;: True or False, # If this config contains a TypedTask, allow validation to succeed if an input is read from the output of another TypedTask whose output type is declared as a superclass of the requested input type. For instance, if the previous task declares an output of type Message, any task with this flag enabled will pass validation when attempting to read any proto Message type from the resultant Event parameter.
20959 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
20960 &quot;externalTaskType&quot;: &quot;A String&quot;,
20961 &quot;failurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
20962 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
20963 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
20964 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
20965 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
20966 },
20967 &quot;incomingEdgeCount&quot;: 42, # The number of edges leading into this TaskConfig.
20968 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # If set, overrides the option configured in the Task implementation class.
20969 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this TaskConfig in the UI.
20970 &quot;lastModifiedTime&quot;: &quot;A String&quot;, # Auto-generated.
20971 &quot;nextTasks&quot;: [ # The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
20972 { # The task that is next in line to be executed, if the condition specified evaluated to true.
20973 &quot;combinedConditions&quot;: [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
20974 { # This message recursively combines constituent conditions using logical AND.
20975 &quot;conditions&quot;: [ # A set of individual constituent conditions.
20976 { # Condition that uses `operator` to evaluate the key against the value.
20977 &quot;eventPropertyKey&quot;: &quot;A String&quot;, # Key that&#x27;s evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.
20978 &quot;operator&quot;: &quot;A String&quot;, # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
20979 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that&#x27;s checked for the key.
20980 &quot;booleanValue&quot;: True or False,
20981 &quot;doubleArray&quot;: {
20982 &quot;values&quot;: [
20983 3.14,
20984 ],
20985 },
20986 &quot;doubleValue&quot;: 3.14,
20987 &quot;intArray&quot;: {
20988 &quot;values&quot;: [
20989 &quot;A String&quot;,
20990 ],
20991 },
20992 &quot;intValue&quot;: &quot;A String&quot;,
20993 &quot;protoValue&quot;: {
20994 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
20995 },
20996 &quot;stringArray&quot;: {
20997 &quot;values&quot;: [
20998 &quot;A String&quot;,
20999 ],
21000 },
21001 &quot;stringValue&quot;: &quot;A String&quot;,
21002 },
21003 },
21004 ],
21005 },
21006 ],
21007 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
21008 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
21009 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
21010 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
21011 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
21012 },
21013 ],
21014 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # The policy dictating the execution of the next set of tasks for the current task.
21015 &quot;parameters&quot;: { # The customized parameters the user can pass to this task.
21016 &quot;a_key&quot;: { # Key-value pair of EventBus parameters.
21017 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
21018 &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.
21019 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
21020 &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.
21021 &quot;booleanArray&quot;: {
21022 &quot;booleanValues&quot;: [
21023 True or False,
21024 ],
21025 },
21026 &quot;booleanValue&quot;: True or False,
21027 &quot;doubleArray&quot;: {
21028 &quot;doubleValues&quot;: [
21029 3.14,
21030 ],
21031 },
21032 &quot;doubleValue&quot;: 3.14,
21033 &quot;intArray&quot;: {
21034 &quot;intValues&quot;: [
21035 &quot;A String&quot;,
21036 ],
21037 },
21038 &quot;intValue&quot;: &quot;A String&quot;,
21039 &quot;jsonValue&quot;: &quot;A String&quot;,
21040 &quot;protoArray&quot;: {
21041 &quot;protoValues&quot;: [
21042 {
21043 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
21044 },
21045 ],
21046 },
21047 &quot;protoValue&quot;: {
21048 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
21049 },
21050 &quot;serializedObjectValue&quot;: {
21051 &quot;objectValue&quot;: &quot;A String&quot;,
21052 },
21053 &quot;stringArray&quot;: {
21054 &quot;stringValues&quot;: [
21055 &quot;A String&quot;,
21056 ],
21057 },
21058 &quot;stringValue&quot;: &quot;A String&quot;,
21059 },
21060 },
21061 },
21062 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this task config on the UI.
21063 &quot;x&quot;: 42,
21064 &quot;y&quot;: 42,
21065 },
21066 &quot;precondition&quot;: &quot;A String&quot;, # Optional. Standard filter expression evaluated before execution. Independent of other conditions and tasks. Can be used to enable rollout. e.g. &quot;rollout(5)&quot; will only allow 5% of incoming traffic to task.
21067 &quot;preconditionLabel&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to precondition in the UI.
21068 &quot;rollbackStrategy&quot;: { # Next available id: 4 # Optional. Contains information about what needs to be done upon failure (either a permanent error or after it has been retried too many times).
21069 &quot;parameters&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 # Optional. The customized parameters the user can pass to this task.
21070 &quot;parameters&quot;: [ # Parameters are a part of Event and can be used to communicate between different tasks that are part of the same workflow execution.
21071 { # Key-value pair of EventBus parameters.
21072 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
21073 &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.
21074 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
21075 &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.
21076 &quot;booleanArray&quot;: {
21077 &quot;booleanValues&quot;: [
21078 True or False,
21079 ],
21080 },
21081 &quot;booleanValue&quot;: True or False,
21082 &quot;doubleArray&quot;: {
21083 &quot;doubleValues&quot;: [
21084 3.14,
21085 ],
21086 },
21087 &quot;doubleValue&quot;: 3.14,
21088 &quot;intArray&quot;: {
21089 &quot;intValues&quot;: [
21090 &quot;A String&quot;,
21091 ],
21092 },
21093 &quot;intValue&quot;: &quot;A String&quot;,
21094 &quot;jsonValue&quot;: &quot;A String&quot;,
21095 &quot;protoArray&quot;: {
21096 &quot;protoValues&quot;: [
21097 {
21098 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
21099 },
21100 ],
21101 },
21102 &quot;protoValue&quot;: {
21103 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
21104 },
21105 &quot;serializedObjectValue&quot;: {
21106 &quot;objectValue&quot;: &quot;A String&quot;,
21107 },
21108 &quot;stringArray&quot;: {
21109 &quot;stringValues&quot;: [
21110 &quot;A String&quot;,
21111 ],
21112 },
21113 &quot;stringValue&quot;: &quot;A String&quot;,
21114 },
21115 },
21116 ],
21117 },
21118 &quot;rollbackTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. This is the name of the task that needs to be executed upon rollback of this task.
21119 &quot;taskNumbersToRollback&quot;: [ # Required. These are the tasks numbers of the tasks whose `rollback_strategy.rollback_task_implementation_class_name` needs to be executed upon failure of this task.
21120 &quot;A String&quot;,
21121 ],
21122 },
21123 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Determines what action to take upon successful task completion.
21124 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
21125 },
21126 &quot;synchronousCallFailurePolicy&quot;: { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
21127 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
21128 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
21129 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
21130 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
21131 },
21132 &quot;taskEntity&quot;: { # Contains a task&#x27;s metadata and associated information. Next available id: 7 # Copy of the task entity that this task config is an instance of.
21133 &quot;disabledForVpcSc&quot;: True or False, # True if the task has conflict with vpcsc
21134 &quot;metadata&quot;: { # TaskMetadata are attributes that are associated to every common Task we have. # Metadata inclueds the task name, author and so on.
21135 &quot;activeTaskName&quot;: &quot;A String&quot;, # The new task name to replace the current task if it is deprecated. Otherwise, it is the same as the current task name.
21136 &quot;admins&quot;: [
21137 { # Admins are owners of a Task, and have all permissions on a particular task identified by the task name. By default, Eventbus periodically scans all task metadata and syncs (adds) any new admins defined here to Zanzibar.
21138 &quot;googleGroupEmail&quot;: &quot;A String&quot;,
21139 &quot;userEmail&quot;: &quot;A String&quot;,
21140 },
21141 ],
21142 &quot;category&quot;: &quot;A String&quot;,
21143 &quot;codeSearchLink&quot;: &quot;A String&quot;, # The Code Search link to the Task Java file.
21144 &quot;defaultJsonValidationOption&quot;: &quot;A String&quot;, # Controls whether JSON workflow parameters are validated against provided schemas before and/or after this task&#x27;s execution.
21145 &quot;defaultSpec&quot;: &quot;A String&quot;, # Contains the initial configuration of the task with default values set. For now, The string should be compatible to an ASCII-proto format.
21146 &quot;description&quot;: &quot;A String&quot;, # In a few sentences, describe the purpose and usage of the task.
21147 &quot;descriptiveName&quot;: &quot;A String&quot;, # The string name to show on the task list on the Workflow editor screen. This should be a very short, one to two words name for the task. (e.g. &quot;Send Mail&quot;)
21148 &quot;docMarkdown&quot;: &quot;A String&quot;, # Snippet of markdown documentation to embed in the RHP for this task.
21149 &quot;externalCategory&quot;: &quot;A String&quot;,
21150 &quot;externalCategorySequence&quot;: 42, # Sequence with which the task in specific category to be displayed in task discovery panel for external users.
21151 &quot;externalDocHtml&quot;: &quot;A String&quot;, # External-facing documention embedded in the RHP for this task.
21152 &quot;externalDocLink&quot;: &quot;A String&quot;, # Doc link for external-facing documentation (separate from g3doc).
21153 &quot;externalDocMarkdown&quot;: &quot;A String&quot;, # DEPRECATED: Use external_doc_html.
21154 &quot;g3DocLink&quot;: &quot;A String&quot;, # URL to the associated G3 Doc for the task if available
21155 &quot;iconLink&quot;: &quot;A String&quot;, # URL to gstatic image icon for this task. This icon shows up on the task list panel along with the task name in the Workflow Editor screen. Use the 24p, 2x, gray color icon image format.
21156 &quot;isDeprecated&quot;: True or False, # The deprecation status of the current task. Default value is false;
21157 &quot;name&quot;: &quot;A String&quot;, # The actual class name or the annotated name of the task. Task Author should initialize this field with value from the getName() method of the Task class.
21158 &quot;standaloneExternalDocHtml&quot;: &quot;A String&quot;, # External-facing documention for standalone IP in pantheon embedded in the RHP for this task. Non null only if different from external_doc_html
21159 &quot;status&quot;: &quot;A String&quot;, # Allows author to indicate if the task is ready to use or not. If not set, then it will default to INACTIVE.
21160 &quot;system&quot;: &quot;A String&quot;,
21161 &quot;tags&quot;: [ # A set of tags that pertain to a particular task. This can be used to improve the searchability of tasks with several names (&quot;REST Caller&quot; vs. &quot;Call REST Endpoint&quot;) or to help users find tasks based on related words.
21162 &quot;A String&quot;,
21163 ],
21164 },
21165 &quot;paramSpecs&quot;: { # Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask.
21166 &quot;parameters&quot;: [
21167 { # Key-value pair of EventBus task parameters. Next id: 13
21168 &quot;className&quot;: &quot;A String&quot;, # The FQCN of the Java object this represents. A string, for example, would be &quot;java.lang.String&quot;. If this is &quot;java.lang.Object&quot;, the parameter can be of any type.
21169 &quot;collectionElementClassName&quot;: &quot;A String&quot;, # If it is a collection of objects, this would be the FCQN of every individual element in the collection. If this is &quot;java.lang.Object&quot;, the parameter is a collection of any type.
21170 &quot;config&quot;: { # Optional fields, such as help text and other useful info.
21171 &quot;descriptivePhrase&quot;: &quot;A String&quot;, # A short phrase to describe what this parameter contains.
21172 &quot;helpText&quot;: &quot;A String&quot;, # Detailed help text for this parameter containing information not provided elsewhere. For example, instructions on how to migrate from a deprecated parameter.
21173 &quot;hideDefaultValue&quot;: True or False, # Whether the default value is hidden in the UI.
21174 &quot;inputDisplayOption&quot;: &quot;A String&quot;,
21175 &quot;isHidden&quot;: True or False, # Whether this field is hidden in the UI.
21176 &quot;label&quot;: &quot;A String&quot;, # A user-friendly label for the parameter.
21177 &quot;parameterNameOption&quot;: &quot;A String&quot;,
21178 &quot;subSectionLabel&quot;: &quot;A String&quot;, # A user-friendly label for subSection under which the parameter will be displayed.
21179 &quot;uiPlaceholderText&quot;: &quot;A String&quot;, # Placeholder text which will appear in the UI input form for this parameter.
21180 },
21181 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
21182 &quot;defaultValue&quot;: { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
21183 &quot;booleanArray&quot;: {
21184 &quot;booleanValues&quot;: [
21185 True or False,
21186 ],
21187 },
21188 &quot;booleanValue&quot;: True or False,
21189 &quot;doubleArray&quot;: {
21190 &quot;doubleValues&quot;: [
21191 3.14,
21192 ],
21193 },
21194 &quot;doubleValue&quot;: 3.14,
21195 &quot;intArray&quot;: {
21196 &quot;intValues&quot;: [
21197 &quot;A String&quot;,
21198 ],
21199 },
21200 &quot;intValue&quot;: &quot;A String&quot;,
21201 &quot;jsonValue&quot;: &quot;A String&quot;,
21202 &quot;protoArray&quot;: {
21203 &quot;protoValues&quot;: [
21204 {
21205 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
21206 },
21207 ],
21208 },
21209 &quot;protoValue&quot;: {
21210 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
21211 },
21212 &quot;serializedObjectValue&quot;: {
21213 &quot;objectValue&quot;: &quot;A String&quot;,
21214 },
21215 &quot;stringArray&quot;: {
21216 &quot;stringValues&quot;: [
21217 &quot;A String&quot;,
21218 ],
21219 },
21220 &quot;stringValue&quot;: &quot;A String&quot;,
21221 },
21222 &quot;isDeprecated&quot;: True or False, # If set, this entry is deprecated, so further use of this parameter should be prohibited.
21223 &quot;isOutput&quot;: True or False,
21224 &quot;jsonSchema&quot;: &quot;A String&quot;, # If the data_type is JSON_VALUE, then this will define its schema.
21225 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given task. These parameters must be predefined in the workflow definition.
21226 &quot;protoDef&quot;: { # Populated if this represents a proto or proto array.
21227 &quot;fullName&quot;: &quot;A String&quot;, # The fully-qualified proto name. This message, for example, would be &quot;enterprise.crm.eventbus.proto.ParamSpecEntry.ProtoDefinition&quot;.
21228 &quot;path&quot;: &quot;A String&quot;, # Path to the proto file that contains the message type&#x27;s definition.
21229 },
21230 &quot;required&quot;: True or False, # If set, the user must provide an input value for this parameter.
21231 &quot;validationRule&quot;: { # Rule used to validate inputs (individual values and collection elements) for this parameter.
21232 &quot;doubleRange&quot;: { # Range used to validate doubles and floats.
21233 &quot;max&quot;: 3.14, # The inclusive maximum of the acceptable range.
21234 &quot;min&quot;: 3.14, # The inclusive minimum of the acceptable range.
21235 },
21236 &quot;intRange&quot;: { # Range used to validate longs and ints.
21237 &quot;max&quot;: &quot;A String&quot;, # The inclusive maximum of the acceptable range.
21238 &quot;min&quot;: &quot;A String&quot;, # The inclusive minimum of the acceptable range.
21239 },
21240 &quot;stringRegex&quot;: { # Rule used to validate strings.
21241 &quot;exclusive&quot;: True or False, # Whether the regex matcher is applied exclusively (if true, matching values will be rejected).
21242 &quot;regex&quot;: &quot;A String&quot;, # The regex applied to the input value(s).
21243 },
21244 },
21245 },
21246 ],
21247 },
21248 &quot;stats&quot;: { # Stats for the requested dimensions: QPS, duration, and error/warning rate # Deprecated - statistics from the Monarch query.
21249 &quot;dimensions&quot;: { # Dimensions that these stats have been aggregated on.
21250 &quot;clientId&quot;: &quot;A String&quot;,
21251 &quot;enumFilterType&quot;: &quot;A String&quot;, # Whether to include or exclude the enums matching the regex.
21252 &quot;errorEnumString&quot;: &quot;A String&quot;,
21253 &quot;retryAttempt&quot;: &quot;A String&quot;,
21254 &quot;taskName&quot;: &quot;A String&quot;,
21255 &quot;taskNumber&quot;: &quot;A String&quot;,
21256 &quot;triggerId&quot;: &quot;A String&quot;, # Stats have been or will be aggregated on set fields for any semantically-meaningful combination.
21257 &quot;warningEnumString&quot;: &quot;A String&quot;,
21258 &quot;workflowId&quot;: &quot;A String&quot;,
21259 &quot;workflowName&quot;: &quot;A String&quot;,
21260 },
21261 &quot;durationInSeconds&quot;: 3.14, # Average duration in seconds.
21262 &quot;errorRate&quot;: 3.14, # Average error rate.
21263 &quot;qps&quot;: 3.14, # Queries per second.
21264 &quot;warningRate&quot;: 3.14, # Average warning rate.
21265 },
21266 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
21267 &quot;uiConfig&quot;: { # Task authors would use this type to configure the UI for a particular task by specifying what UI config modules should be included to compose the UI. Learn more about config module framework: # UI configuration for this task Also associated with the METADATA mask.
21268 &quot;taskUiModuleConfigs&quot;: [ # Configurations of included config modules.
21269 { # Task author would use this type to configure a config module.
21270 &quot;moduleId&quot;: &quot;A String&quot;, # ID of the config module.
21271 },
21272 ],
21273 },
21274 },
21275 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # The policy dictating the execution strategy of this task.
21276 &quot;taskName&quot;: &quot;A String&quot;, # The name for the task.
21277 &quot;taskNumber&quot;: &quot;A String&quot;, # REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`).
21278 &quot;taskSpec&quot;: &quot;A String&quot;, # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old &quot;parameters&quot; field.
21279 &quot;taskTemplateName&quot;: &quot;A String&quot;, # Used to define task-template name if task is of type task-template
21280 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
21281 },
21282 ],
21283 &quot;teardown&quot;: { # Optional. Contains a graph of tasks that will be executed before putting the event in a terminal state (SUCCEEDED/FAILED/FATAL), regardless of success or failure, similar to &quot;finally&quot; in code.
21284 &quot;teardownTaskConfigs&quot;: [ # Required.
21285 {
21286 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address.
21287 &quot;name&quot;: &quot;A String&quot;, # Required. Unique identifier of the teardown task within this Config. We use this field as the identifier to find next teardown tasks.
21288 &quot;nextTeardownTask&quot;: { # The teardown task that is next in line to be executed. We support only sequential execution of teardown tasks (i.e. no branching).
21289 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the next teardown task.
21290 },
21291 &quot;parameters&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 the user can pass to this task.
21292 &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.
21293 { # Key-value pair of EventBus parameters.
21294 &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.
21295 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
21296 &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.
21297 &quot;booleanArray&quot;: {
21298 &quot;booleanValues&quot;: [
21299 True or False,
21300 ],
21301 },
21302 &quot;booleanValue&quot;: True or False,
21303 &quot;doubleArray&quot;: {
21304 &quot;doubleValues&quot;: [
21305 3.14,
21306 ],
21307 },
21308 &quot;doubleValue&quot;: 3.14,
21309 &quot;intArray&quot;: {
21310 &quot;intValues&quot;: [
21311 &quot;A String&quot;,
21312 ],
21313 },
21314 &quot;intValue&quot;: &quot;A String&quot;,
21315 &quot;protoArray&quot;: {
21316 &quot;protoValues&quot;: [
21317 {
21318 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
21319 },
21320 ],
21321 },
21322 &quot;protoValue&quot;: {
21323 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
21324 },
21325 &quot;serializedObjectValue&quot;: {
21326 &quot;objectValue&quot;: &quot;A String&quot;,
21327 },
21328 &quot;stringArray&quot;: {
21329 &quot;stringValues&quot;: [
21330 &quot;A String&quot;,
21331 ],
21332 },
21333 &quot;stringValue&quot;: &quot;A String&quot;,
21334 },
21335 },
21336 ],
21337 },
21338 &quot;properties&quot;: { # LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus.
21339 &quot;properties&quot;: [ # An unordered list of property entries.
21340 { # Key-value pair of EventBus property.
21341 &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding property value. This should be unique for a given fired event. The Tasks should be aware of the keys used while firing the events for them to be able to retrieve the values.
21342 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Values for the defined keys. Each value can either be string, int, double or any proto message.
21343 &quot;booleanValue&quot;: True or False,
21344 &quot;doubleArray&quot;: {
21345 &quot;values&quot;: [
21346 3.14,
21347 ],
21348 },
21349 &quot;doubleValue&quot;: 3.14,
21350 &quot;intArray&quot;: {
21351 &quot;values&quot;: [
21352 &quot;A String&quot;,
21353 ],
21354 },
21355 &quot;intValue&quot;: &quot;A String&quot;,
21356 &quot;protoValue&quot;: {
21357 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
21358 },
21359 &quot;stringArray&quot;: {
21360 &quot;values&quot;: [
21361 &quot;A String&quot;,
21362 ],
21363 },
21364 &quot;stringValue&quot;: &quot;A String&quot;,
21365 },
21366 },
21367 ],
21368 },
21369 &quot;teardownTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. Implementation class name.
21370 },
21371 ],
21372 },
21373 &quot;triggerConfigs&quot;: [ # Optional. Trigger configurations.
21374 { # Configuration detail of a trigger.
21375 &quot;alertConfig&quot;: [ # Optional. An alert threshold configuration for the [trigger + client + integration] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + integration] when published.
21376 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
21377 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
21378 &quot;alertThreshold&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
21379 &quot;disableAlert&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this integration alert.
21380 &quot;displayName&quot;: &quot;A String&quot;, # Name of the alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the integration.
21381 &quot;durationThreshold&quot;: &quot;A String&quot;, # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
21382 &quot;metricType&quot;: &quot;A String&quot;, # The type of metric.
21383 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
21384 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
21385 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
21386 &quot;absolute&quot;: &quot;A String&quot;, # Absolute value threshold.
21387 &quot;percentage&quot;: 42, # Percentage threshold.
21388 },
21389 },
21390 ],
21391 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration # Optional. Cloud Scheduler Trigger related metadata
21392 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
21393 &quot;errorMessage&quot;: &quot;A String&quot;, # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations
21394 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
21395 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
21396 },
21397 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
21398 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
21399 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
21400 &quot;names&quot;: [ # Optional. List of variable names.
21401 &quot;A String&quot;,
21402 ],
21403 },
21404 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular trigger.
21405 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. Dictates how next tasks will be executed.
21406 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
21407 &quot;names&quot;: [ # Optional. List of variable names.
21408 &quot;A String&quot;,
21409 ],
21410 },
21411 &quot;position&quot;: { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
21412 &quot;x&quot;: 42, # Required. X axis of the coordinate
21413 &quot;y&quot;: 42, # Required. Y axis of the coordinate
21414 },
21415 &quot;properties&quot;: { # Optional. Configurable properties of the trigger, not to be confused with integration parameters. E.g. &quot;name&quot; is a property for API triggers and &quot;subscription&quot; is a property for Pub/sub triggers.
21416 &quot;a_key&quot;: &quot;A String&quot;,
21417 },
21418 &quot;startTasks&quot;: [ # Optional. Set of tasks numbers from where the integration execution is started by this trigger. If this is empty, then integration is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same integration execution graph).
21419 { # The task that is next in line to be executed, if the condition specified evaluated to true.
21420 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
21421 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
21422 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
21423 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
21424 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
21425 },
21426 ],
21427 &quot;trigger&quot;: &quot;A String&quot;, # Optional. Name of the trigger. Example: &quot;API Trigger&quot;, &quot;Cloud Pub Sub Trigger&quot; When set will be sent out to monitoring dashabord for tracking purpose.
21428 &quot;triggerId&quot;: &quot;A String&quot;, # Optional. Auto-generated trigger ID. The ID is based on the properties that you define in the trigger config. For example, for an API trigger, the trigger ID follows the format: api_trigger/TRIGGER_NAME Where trigger config has properties with value {&quot;Trigger name&quot;: TRIGGER_NAME}
21429 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the integration on UI.
21430 &quot;triggerType&quot;: &quot;A String&quot;, # Optional. Type of trigger
21431 },
21432 ],
21433 &quot;triggerConfigsInternal&quot;: [ # Optional. Trigger configurations.
21434 { # Configuration detail of a trigger. Next available id: 22
21435 &quot;alertConfig&quot;: [ # An alert threshold configuration for the [trigger + client + workflow] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + workflow] when published.
21436 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
21437 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
21438 &quot;alertDisabled&quot;: True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.
21439 &quot;alertName&quot;: &quot;A String&quot;, # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the workflow.
21440 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration.
21441 &quot;durationThresholdMs&quot;: &quot;A String&quot;, # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
21442 &quot;errorEnumList&quot;: { # List of error enums for alerts.
21443 &quot;enumStrings&quot;: [
21444 &quot;A String&quot;,
21445 ],
21446 &quot;filterType&quot;: &quot;A String&quot;,
21447 },
21448 &quot;metricType&quot;: &quot;A String&quot;,
21449 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
21450 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
21451 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
21452 &quot;thresholdType&quot;: &quot;A String&quot;, # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
21453 &quot;thresholdValue&quot;: { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
21454 &quot;absolute&quot;: &quot;A String&quot;,
21455 &quot;percentage&quot;: 42,
21456 },
21457 &quot;warningEnumList&quot;: { # List of error enums for alerts.
21458 &quot;enumStrings&quot;: [
21459 &quot;A String&quot;,
21460 ],
21461 &quot;filterType&quot;: &quot;A String&quot;,
21462 },
21463 },
21464 ],
21465 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration
21466 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
21467 &quot;errorMessage&quot;: &quot;A String&quot;, # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations
21468 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
21469 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
21470 },
21471 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
21472 &quot;enabledClients&quot;: [ # Required. The list of client ids which are enabled to execute the workflow using this trigger. In other words, these clients have the workflow execution privledges for this trigger. For API trigger, the client id in the incoming request is validated against the list of enabled clients. For non-API triggers, one workflow execution is triggered on behalf of each enabled client.
21473 &quot;A String&quot;,
21474 ],
21475 &quot;errorCatcherId&quot;: &quot;A String&quot;, # Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
21476 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
21477 &quot;names&quot;: [ # Optional. List of variable names.
21478 &quot;A String&quot;,
21479 ],
21480 },
21481 &quot;label&quot;: &quot;A String&quot;, # The user created label for a particular trigger.
21482 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Dictates how next tasks will be executed.
21483 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
21484 &quot;names&quot;: [ # Optional. List of variable names.
21485 &quot;A String&quot;,
21486 ],
21487 },
21488 &quot;pauseWorkflowExecutions&quot;: True or False, # Optional. If set to true, any upcoming requests for this trigger config will be paused and the executions will be resumed later when the flag is reset. The workflow to which this trigger config belongs has to be in ACTIVE status for the executions to be paused or resumed.
21489 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this trigger config on the UI.
21490 &quot;x&quot;: 42,
21491 &quot;y&quot;: 42,
21492 },
21493 &quot;properties&quot;: { # Configurable properties of the trigger, not to be confused with workflow parameters. E.g. &quot;name&quot; is a property for API triggers and &quot;subscription&quot; is a property for Cloud Pubsub triggers.
21494 &quot;a_key&quot;: &quot;A String&quot;,
21495 },
21496 &quot;startTasks&quot;: [ # Set of tasks numbers from where the workflow execution is started by this trigger. If this is empty, then workflow is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same workflow execution graph).
21497 { # The task that is next in line to be executed, if the condition specified evaluated to true.
21498 &quot;combinedConditions&quot;: [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
21499 { # This message recursively combines constituent conditions using logical AND.
21500 &quot;conditions&quot;: [ # A set of individual constituent conditions.
21501 { # Condition that uses `operator` to evaluate the key against the value.
21502 &quot;eventPropertyKey&quot;: &quot;A String&quot;, # Key that&#x27;s evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.
21503 &quot;operator&quot;: &quot;A String&quot;, # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
21504 &quot;value&quot;: { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that&#x27;s checked for the key.
21505 &quot;booleanValue&quot;: True or False,
21506 &quot;doubleArray&quot;: {
21507 &quot;values&quot;: [
21508 3.14,
21509 ],
21510 },
21511 &quot;doubleValue&quot;: 3.14,
21512 &quot;intArray&quot;: {
21513 &quot;values&quot;: [
21514 &quot;A String&quot;,
21515 ],
21516 },
21517 &quot;intValue&quot;: &quot;A String&quot;,
21518 &quot;protoValue&quot;: {
21519 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
21520 },
21521 &quot;stringArray&quot;: {
21522 &quot;values&quot;: [
21523 &quot;A String&quot;,
21524 ],
21525 },
21526 &quot;stringValue&quot;: &quot;A String&quot;,
21527 },
21528 },
21529 ],
21530 },
21531 ],
21532 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
21533 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
21534 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
21535 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
21536 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
21537 },
21538 ],
21539 &quot;triggerCriteria&quot;: { # Optional. When set, Eventbus will run the task specified in the trigger_criteria and validate the result using the trigger_criteria.condition, and only execute the workflow when result is true.
21540 &quot;condition&quot;: &quot;A String&quot;, # Required. Standard filter expression, when true the workflow will be executed. If there&#x27;s no trigger_criteria_task_implementation_class_name specified, the condition will be validated directly.
21541 &quot;parameters&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 # Optional. To be used in TaskConfig for the implementation class.
21542 &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.
21543 { # Key-value pair of EventBus parameters.
21544 &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.
21545 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
21546 &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.
21547 &quot;booleanArray&quot;: {
21548 &quot;booleanValues&quot;: [
21549 True or False,
21550 ],
21551 },
21552 &quot;booleanValue&quot;: True or False,
21553 &quot;doubleArray&quot;: {
21554 &quot;doubleValues&quot;: [
21555 3.14,
21556 ],
21557 },
21558 &quot;doubleValue&quot;: 3.14,
21559 &quot;intArray&quot;: {
21560 &quot;intValues&quot;: [
21561 &quot;A String&quot;,
21562 ],
21563 },
21564 &quot;intValue&quot;: &quot;A String&quot;,
21565 &quot;protoArray&quot;: {
21566 &quot;protoValues&quot;: [
21567 {
21568 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
21569 },
21570 ],
21571 },
21572 &quot;protoValue&quot;: {
21573 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
21574 },
21575 &quot;serializedObjectValue&quot;: {
21576 &quot;objectValue&quot;: &quot;A String&quot;,
21577 },
21578 &quot;stringArray&quot;: {
21579 &quot;stringValues&quot;: [
21580 &quot;A String&quot;,
21581 ],
21582 },
21583 &quot;stringValue&quot;: &quot;A String&quot;,
21584 },
21585 },
21586 ],
21587 },
21588 &quot;triggerCriteriaTaskImplementationClassName&quot;: &quot;A String&quot;, # Optional. Implementation class name. The class should implement the “TypedTask” interface.
21589 },
21590 &quot;triggerId&quot;: &quot;A String&quot;, # The backend trigger ID.
21591 &quot;triggerName&quot;: &quot;A String&quot;, # Optional. Name of the trigger This is added to identify the type of trigger. This is avoid the logic on triggerId to identify the trigger_type and push the same to monitoring.
21592 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the workflow on UI.
21593 &quot;triggerType&quot;: &quot;A String&quot;,
21594 },
21595 ],
21596 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
21597 &quot;userLabel&quot;: &quot;A String&quot;, # Optional. A user-defined label that annotates an integration version. Typically, this is only set when the integration version is created.
21598 },
21599 ],
21600 }</pre>
21601 </div>
21602
21603 </body></html>