Debian Codegraph @

docs/dyn/integrations_v1.projects.locations.integrations.versions.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.integrations.html">integrations</a> . <a href="integrations_v1.projects.locations.integrations.versions.html">versions</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="integrations_v1.projects.locations.integrations.versions.testCases.html">testCases()</a></code>
79 </p>
80 <p class="firstline">Returns the testCases Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="#close">close()</a></code></p>
84 <p class="firstline">Close httplib2 connections.</p>
85 <p class="toc_element">
86 <code><a href="#create">create(parent, body=None, createSampleIntegrations=None, newIntegration=None, x__xgafv=None)</a></code></p>
87 <p class="firstline">Create a integration with a draft version in the specified project.</p>
88 <p class="toc_element">
89 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
90 <p class="firstline">Soft-deletes the integration. Changes the status of the integration to ARCHIVED. If the integration being ARCHIVED is tagged as "HEAD", the tag is removed from this snapshot and set to the previous non-ARCHIVED snapshot. The PUBLISH_REQUESTED, DUE_FOR_DELETION tags are removed too. This RPC throws an exception if the version being deleted is DRAFT, and if the `locked_by` user is not the same as the user performing the Delete. Audit fields updated include last_modified_timestamp, last_modified_by. Any existing lock is released when Deleting a integration. Currently, there is no undelete mechanism.</p>
91 <p class="toc_element">
92 <code><a href="#download">download(name, fileFormat=None, files=None, x__xgafv=None)</a></code></p>
93 <p class="firstline">Downloads an integration. Retrieves the `IntegrationVersion` for a given `integration_id` and returns the response as a string.</p>
94 <p class="toc_element">
95 <code><a href="#downloadJsonPackage">downloadJsonPackage(name, files=None, x__xgafv=None)</a></code></p>
96 <p class="firstline">Downloads an Integration version package like IntegrationVersion,Integration Config etc. Retrieves the IntegrationVersion package for a given `integration_id` and returns the response as a JSON.</p>
97 <p class="toc_element">
98 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
99 <p class="firstline">Get a integration in the specified project.</p>
100 <p class="toc_element">
101 <code><a href="#list">list(parent, fieldMask=None, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
102 <p class="firstline">Returns the list of all integration versions in the specified project.</p>
103 <p class="toc_element">
104 <code><a href="#list_next">list_next()</a></code></p>
105 <p class="firstline">Retrieves the next page of results.</p>
106 <p class="toc_element">
107 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
108 <p class="firstline">Update a integration with a draft version in the specified project.</p>
109 <p class="toc_element">
110 <code><a href="#publish">publish(name, body=None, x__xgafv=None)</a></code></p>
111 <p class="firstline">This RPC throws an exception if the integration is in ARCHIVED or ACTIVE state. This RPC throws an exception if the version being published is DRAFT, and if the `locked_by` user is not the same as the user performing the Publish. Audit fields updated include last_published_timestamp, last_published_by, last_modified_timestamp, last_modified_by. Any existing lock is on this integration is released.</p>
112 <p class="toc_element">
113 <code><a href="#test">test(name, body=None, x__xgafv=None)</a></code></p>
114 <p class="firstline">Execute the integration in draft state</p>
115 <p class="toc_element">
116 <code><a href="#unpublish">unpublish(name, body=None, x__xgafv=None)</a></code></p>
117 <p class="firstline">Sets the status of the ACTIVE integration to SNAPSHOT with a new tag "PREVIOUSLY_PUBLISHED" after validating it. The "HEAD" and "PUBLISH_REQUESTED" tags do not change. This RPC throws an exception if the version being snapshot is not ACTIVE. Audit fields added include action, action_by, action_timestamp.</p>
118 <p class="toc_element">
119 <code><a href="#upload">upload(parent, body=None, x__xgafv=None)</a></code></p>
120 <p class="firstline">Uploads an integration. The content can be a previously downloaded integration. Performs the same function as CreateDraftIntegrationVersion, but accepts input in a string format, which holds the complete representation of the IntegrationVersion content.</p>
121 <h3>Method Details</h3>
122 <div class="method">
123 <code class="details" id="close">close()</code>
124 <pre>Close httplib2 connections.</pre>
125 </div>
126
127 <div class="method">
128 <code class="details" id="create">create(parent, body=None, createSampleIntegrations=None, newIntegration=None, x__xgafv=None)</code>
129 <pre>Create a integration with a draft version in the specified project.
130
131 Args:
132 parent: string, Required. The parent resource where this version will be created. Format: projects/{project}/locations/{location}/integrations/{integration} (required)
133 body: object, The request body.
134 The object takes the form of:
135
136 { # The integration version definition.
137 &quot;cloudKmsKey&quot;: &quot;A String&quot;, # Optional. Cloud KMS resource name for the CMEK encryption key.
138 &quot;cloudLoggingDetails&quot;: { # Cloud Logging details for execution info # Optional. Cloud Logging details for the integration version
139 &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.
140 &quot;enableCloudLogging&quot;: True or False, # Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.
141 },
142 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
143 &quot;createdFromTemplate&quot;: &quot;A String&quot;, # Optional. Optional. The resource name of the template from which the integration is created.
144 &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.
145 &quot;description&quot;: &quot;A String&quot;, # Optional. The integration description.
146 &quot;enableVariableMasking&quot;: True or False, # Optional. True if variable masking feature should be turned on for this version
147 &quot;errorCatcherConfigs&quot;: [ # Optional. Error Catch Task configuration for the integration. It&#x27;s optional.
148 { # Configuration detail of a error catch task
149 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give more business context about the error catcher config.
150 &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
151 &quot;errorCatcherNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each error catcher config within the workflow on UI.
152 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular error catcher. Optional.
153 &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.
154 &quot;x&quot;: 42, # Required. X axis of the coordinate
155 &quot;y&quot;: 42, # Required. Y axis of the coordinate
156 },
157 &quot;startErrorTasks&quot;: [ # Required. The set of start tasks that are to be executed for the error catch flow
158 { # The task that is next in line to be executed, if the condition specified evaluated to true.
159 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
160 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
161 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
162 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
163 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
164 },
165 ],
166 },
167 ],
168 &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.
169 { # 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.
170 &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.
171 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
172 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
173 &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.
174 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
175 &quot;booleanValues&quot;: [ # Boolean array.
176 True or False,
177 ],
178 },
179 &quot;booleanValue&quot;: True or False, # Boolean.
180 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
181 &quot;doubleValues&quot;: [ # Double number array.
182 3.14,
183 ],
184 },
185 &quot;doubleValue&quot;: 3.14, # Double Number.
186 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
187 &quot;intValues&quot;: [ # Integer array.
188 &quot;A String&quot;,
189 ],
190 },
191 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
192 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
193 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
194 &quot;stringValues&quot;: [ # String array.
195 &quot;A String&quot;,
196 ],
197 },
198 &quot;stringValue&quot;: &quot;A String&quot;, # String.
199 },
200 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
201 &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;.
202 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
203 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
204 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
205 &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.
206 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
207 &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.
208 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
209 },
210 &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.
211 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
212 &quot;booleanValues&quot;: [ # Boolean array.
213 True or False,
214 ],
215 },
216 &quot;booleanValue&quot;: True or False, # Boolean.
217 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
218 &quot;doubleValues&quot;: [ # Double number array.
219 3.14,
220 ],
221 },
222 &quot;doubleValue&quot;: 3.14, # Double Number.
223 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
224 &quot;intValues&quot;: [ # Integer array.
225 &quot;A String&quot;,
226 ],
227 },
228 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
229 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
230 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
231 &quot;stringValues&quot;: [ # String array.
232 &quot;A String&quot;,
233 ],
234 },
235 &quot;stringValue&quot;: &quot;A String&quot;, # String.
236 },
237 },
238 ],
239 &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.
240 { # 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.
241 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
242 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
243 &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.
244 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
245 &quot;booleanValues&quot;: [ # Boolean array.
246 True or False,
247 ],
248 },
249 &quot;booleanValue&quot;: True or False, # Boolean.
250 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
251 &quot;doubleValues&quot;: [ # Double number array.
252 3.14,
253 ],
254 },
255 &quot;doubleValue&quot;: 3.14, # Double Number.
256 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
257 &quot;intValues&quot;: [ # Integer array.
258 &quot;A String&quot;,
259 ],
260 },
261 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
262 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
263 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
264 &quot;stringValues&quot;: [ # String array.
265 &quot;A String&quot;,
266 ],
267 },
268 &quot;stringValue&quot;: &quot;A String&quot;, # String.
269 },
270 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
271 &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;.
272 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
273 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
274 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
275 &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.
276 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
277 &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.
278 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
279 },
280 ],
281 &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.
282 &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.
283 {
284 &quot;attributes&quot;: { # Attributes are additional options that can be associated with each event property. For more information, see # Metadata information about the parameters.
285 &quot;dataType&quot;: &quot;A String&quot;, # Things like URL, Email, Currency, Timestamp (rather than string, int64...)
286 &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.
287 &quot;booleanValue&quot;: True or False,
288 &quot;doubleArray&quot;: {
289 &quot;values&quot;: [
290 3.14,
291 ],
292 },
293 &quot;doubleValue&quot;: 3.14,
294 &quot;intArray&quot;: {
295 &quot;values&quot;: [
296 &quot;A String&quot;,
297 ],
298 },
299 &quot;intValue&quot;: &quot;A String&quot;,
300 &quot;protoValue&quot;: {
301 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
302 },
303 &quot;stringArray&quot;: {
304 &quot;values&quot;: [
305 &quot;A String&quot;,
306 ],
307 },
308 &quot;stringValue&quot;: &quot;A String&quot;,
309 },
310 &quot;isRequired&quot;: True or False, # Required for event execution. The validation will be done by the event bus when the event is triggered.
311 &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.
312 &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
313 &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.
314 &quot;seedPeriod&quot;: &quot;A String&quot;,
315 &quot;seedScope&quot;: &quot;A String&quot;,
316 },
317 &quot;masked&quot;: True or False, # True if this workflow parameter should be masked in the logs
318 &quot;readOnly&quot;: True or False, # Used to indicate if the ParameterEntry is a read only field or not.
319 &quot;searchable&quot;: &quot;A String&quot;,
320 &quot;taskVisibility&quot;: [ # List of tasks that can view this property, if empty then all.
321 &quot;A String&quot;,
322 ],
323 },
324 &quot;children&quot;: [ # Child parameters nested within this parameter. This field only applies to protobuf parameters
325 # Object with schema name: EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
326 ],
327 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
328 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
329 &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.
330 &quot;booleanArray&quot;: {
331 &quot;booleanValues&quot;: [
332 True or False,
333 ],
334 },
335 &quot;booleanValue&quot;: True or False,
336 &quot;doubleArray&quot;: {
337 &quot;doubleValues&quot;: [
338 3.14,
339 ],
340 },
341 &quot;doubleValue&quot;: 3.14,
342 &quot;intArray&quot;: {
343 &quot;intValues&quot;: [
344 &quot;A String&quot;,
345 ],
346 },
347 &quot;intValue&quot;: &quot;A String&quot;,
348 &quot;jsonValue&quot;: &quot;A String&quot;,
349 &quot;protoArray&quot;: {
350 &quot;protoValues&quot;: [
351 {
352 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
353 },
354 ],
355 },
356 &quot;protoValue&quot;: {
357 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
358 },
359 &quot;serializedObjectValue&quot;: {
360 &quot;objectValue&quot;: &quot;A String&quot;,
361 },
362 &quot;stringArray&quot;: {
363 &quot;stringValues&quot;: [
364 &quot;A String&quot;,
365 ],
366 },
367 &quot;stringValue&quot;: &quot;A String&quot;,
368 },
369 &quot;description&quot;: &quot;A String&quot;, # Optional. The description about the parameter
370 &quot;inOutType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
371 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
372 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
373 &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.
374 &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;.
375 &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.
376 &quot;elementIdentifier&quot;: &quot;A String&quot;, # Configuration of the edge.
377 &quot;elementType&quot;: &quot;A String&quot;, # Destination node where the edge ends. It can only be a task config.
378 },
379 &quot;producer&quot;: &quot;A String&quot;,
380 &quot;protoDefName&quot;: &quot;A String&quot;, # The name of the protobuf type if the parameter has a protobuf data type.
381 &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;.
382 &quot;required&quot;: True or False,
383 },
384 ],
385 },
386 &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.
387 &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.
388 &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
389 &quot;origin&quot;: &quot;A String&quot;, # Optional. The origin that indicates where this integration is coming from.
390 &quot;parentTemplateId&quot;: &quot;A String&quot;, # Optional. The id of the template which was used to create this integration_version.
391 &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.
392 &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.
393 &quot;state&quot;: &quot;A String&quot;, # Output only. User should not set it as an input.
394 &quot;status&quot;: &quot;A String&quot;, # Output only. Generated by eventbus. User should not set it as an input.
395 &quot;taskConfigs&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
396 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
397 &quot;conditionalFailurePolicies&quot;: { # Conditional task failur retry strategies # Optional. The list of conditional failure policies that will be applied to the task in order.
398 &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.
399 &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.
400 &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.
401 &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.
402 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
403 },
404 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
405 { # 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).
406 &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.
407 &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.
408 &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.
409 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
410 },
411 ],
412 },
413 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
414 &quot;displayName&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to this TaskConfig in the UI.
415 &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
416 &quot;externalTaskType&quot;: &quot;A String&quot;, # Optional. External task type of the task
417 &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.).
418 &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.
419 &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.
420 &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.
421 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
422 },
423 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # Optional. If set, overrides the option configured in the Task implementation class.
424 &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.
425 { # The task that is next in line to be executed, if the condition specified evaluated to true.
426 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
427 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
428 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
429 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
430 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
431 },
432 ],
433 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution of the next set of tasks for the current task.
434 &quot;parameters&quot;: { # Optional. The customized parameters the user can pass to this task.
435 &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
436 &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.
437 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
438 &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.
439 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
440 &quot;booleanValues&quot;: [ # Boolean array.
441 True or False,
442 ],
443 },
444 &quot;booleanValue&quot;: True or False, # Boolean.
445 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
446 &quot;doubleValues&quot;: [ # Double number array.
447 3.14,
448 ],
449 },
450 &quot;doubleValue&quot;: 3.14, # Double Number.
451 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
452 &quot;intValues&quot;: [ # Integer array.
453 &quot;A String&quot;,
454 ],
455 },
456 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
457 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
458 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
459 &quot;stringValues&quot;: [ # String array.
460 &quot;A String&quot;,
461 ],
462 },
463 &quot;stringValue&quot;: &quot;A String&quot;, # String.
464 },
465 },
466 },
467 &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.
468 &quot;x&quot;: 42, # Required. X axis of the coordinate
469 &quot;y&quot;: 42, # Required. Y axis of the coordinate
470 },
471 &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.
472 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
473 },
474 &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).
475 &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.
476 &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.
477 &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.
478 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
479 },
480 &quot;task&quot;: &quot;A String&quot;, # Optional. The name for the task.
481 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution strategy of this task.
482 &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`).
483 &quot;taskTemplate&quot;: &quot;A String&quot;, # Optional. Used to define task-template name if task is of type task-template
484 },
485 ],
486 &quot;taskConfigsInternal&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
487 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
488 &quot;alertConfigs&quot;: [ # Alert configurations on error rate, warning rate, number of runs, durations, etc.
489 { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event.
490 &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).
491 &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.
492 &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.
493 &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.
494 &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.
495 &quot;errorEnumList&quot;: { # List of error enums for alerts.
496 &quot;enumStrings&quot;: [
497 &quot;A String&quot;,
498 ],
499 &quot;filterType&quot;: &quot;A String&quot;,
500 },
501 &quot;metricType&quot;: &quot;A String&quot;,
502 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
503 &quot;onlyFinalAttempt&quot;: True or False, # Only count final task attempts, not retries.
504 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
505 &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.
506 &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.
507 &quot;absolute&quot;: &quot;A String&quot;,
508 &quot;percentage&quot;: 42,
509 },
510 &quot;warningEnumList&quot;: { # List of error enums for alerts.
511 &quot;enumStrings&quot;: [
512 &quot;A String&quot;,
513 ],
514 &quot;filterType&quot;: &quot;A String&quot;,
515 },
516 },
517 ],
518 &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).
519 &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
520 &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.
521 &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.
522 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
523 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
524 },
525 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
526 { # 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).
527 &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.
528 &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.
529 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
530 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
531 },
532 ],
533 },
534 &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
535 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address. Auto-generated from the user&#x27;s email.
536 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
537 &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.
538 &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
539 &quot;externalTaskType&quot;: &quot;A String&quot;,
540 &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.).
541 &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.
542 &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.
543 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
544 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
545 },
546 &quot;incomingEdgeCount&quot;: 42, # The number of edges leading into this TaskConfig.
547 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # If set, overrides the option configured in the Task implementation class.
548 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this TaskConfig in the UI.
549 &quot;lastModifiedTime&quot;: &quot;A String&quot;, # Auto-generated.
550 &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.
551 { # The task that is next in line to be executed, if the condition specified evaluated to true.
552 &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`
553 { # This message recursively combines constituent conditions using logical AND.
554 &quot;conditions&quot;: [ # A set of individual constituent conditions.
555 { # Condition that uses `operator` to evaluate the key against the value.
556 &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.
557 &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.
558 &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.
559 &quot;booleanValue&quot;: True or False,
560 &quot;doubleArray&quot;: {
561 &quot;values&quot;: [
562 3.14,
563 ],
564 },
565 &quot;doubleValue&quot;: 3.14,
566 &quot;intArray&quot;: {
567 &quot;values&quot;: [
568 &quot;A String&quot;,
569 ],
570 },
571 &quot;intValue&quot;: &quot;A String&quot;,
572 &quot;protoValue&quot;: {
573 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
574 },
575 &quot;stringArray&quot;: {
576 &quot;values&quot;: [
577 &quot;A String&quot;,
578 ],
579 },
580 &quot;stringValue&quot;: &quot;A String&quot;,
581 },
582 },
583 ],
584 },
585 ],
586 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
587 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
588 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
589 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
590 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
591 },
592 ],
593 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # The policy dictating the execution of the next set of tasks for the current task.
594 &quot;parameters&quot;: { # The customized parameters the user can pass to this task.
595 &quot;a_key&quot;: { # Key-value pair of EventBus parameters.
596 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
597 &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.
598 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
599 &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.
600 &quot;booleanArray&quot;: {
601 &quot;booleanValues&quot;: [
602 True or False,
603 ],
604 },
605 &quot;booleanValue&quot;: True or False,
606 &quot;doubleArray&quot;: {
607 &quot;doubleValues&quot;: [
608 3.14,
609 ],
610 },
611 &quot;doubleValue&quot;: 3.14,
612 &quot;intArray&quot;: {
613 &quot;intValues&quot;: [
614 &quot;A String&quot;,
615 ],
616 },
617 &quot;intValue&quot;: &quot;A String&quot;,
618 &quot;jsonValue&quot;: &quot;A String&quot;,
619 &quot;protoArray&quot;: {
620 &quot;protoValues&quot;: [
621 {
622 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
623 },
624 ],
625 },
626 &quot;protoValue&quot;: {
627 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
628 },
629 &quot;serializedObjectValue&quot;: {
630 &quot;objectValue&quot;: &quot;A String&quot;,
631 },
632 &quot;stringArray&quot;: {
633 &quot;stringValues&quot;: [
634 &quot;A String&quot;,
635 ],
636 },
637 &quot;stringValue&quot;: &quot;A String&quot;,
638 },
639 },
640 },
641 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this task config on the UI.
642 &quot;x&quot;: 42,
643 &quot;y&quot;: 42,
644 },
645 &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.
646 &quot;preconditionLabel&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to precondition in the UI.
647 &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).
648 &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.
649 &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.
650 { # Key-value pair of EventBus parameters.
651 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
652 &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.
653 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
654 &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.
655 &quot;booleanArray&quot;: {
656 &quot;booleanValues&quot;: [
657 True or False,
658 ],
659 },
660 &quot;booleanValue&quot;: True or False,
661 &quot;doubleArray&quot;: {
662 &quot;doubleValues&quot;: [
663 3.14,
664 ],
665 },
666 &quot;doubleValue&quot;: 3.14,
667 &quot;intArray&quot;: {
668 &quot;intValues&quot;: [
669 &quot;A String&quot;,
670 ],
671 },
672 &quot;intValue&quot;: &quot;A String&quot;,
673 &quot;jsonValue&quot;: &quot;A String&quot;,
674 &quot;protoArray&quot;: {
675 &quot;protoValues&quot;: [
676 {
677 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
678 },
679 ],
680 },
681 &quot;protoValue&quot;: {
682 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
683 },
684 &quot;serializedObjectValue&quot;: {
685 &quot;objectValue&quot;: &quot;A String&quot;,
686 },
687 &quot;stringArray&quot;: {
688 &quot;stringValues&quot;: [
689 &quot;A String&quot;,
690 ],
691 },
692 &quot;stringValue&quot;: &quot;A String&quot;,
693 },
694 },
695 ],
696 },
697 &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.
698 &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.
699 &quot;A String&quot;,
700 ],
701 },
702 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Determines what action to take upon successful task completion.
703 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
704 },
705 &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).
706 &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.
707 &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.
708 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
709 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
710 },
711 &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.
712 &quot;disabledForVpcSc&quot;: True or False, # True if the task has conflict with vpcsc
713 &quot;metadata&quot;: { # TaskMetadata are attributes that are associated to every common Task we have. # Metadata inclueds the task name, author and so on.
714 &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.
715 &quot;admins&quot;: [
716 { # 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.
717 &quot;googleGroupEmail&quot;: &quot;A String&quot;,
718 &quot;userEmail&quot;: &quot;A String&quot;,
719 },
720 ],
721 &quot;category&quot;: &quot;A String&quot;,
722 &quot;codeSearchLink&quot;: &quot;A String&quot;, # The Code Search link to the Task Java file.
723 &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.
724 &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.
725 &quot;description&quot;: &quot;A String&quot;, # In a few sentences, describe the purpose and usage of the task.
726 &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;)
727 &quot;docMarkdown&quot;: &quot;A String&quot;, # Snippet of markdown documentation to embed in the RHP for this task.
728 &quot;externalCategory&quot;: &quot;A String&quot;,
729 &quot;externalCategorySequence&quot;: 42, # Sequence with which the task in specific category to be displayed in task discovery panel for external users.
730 &quot;externalDocHtml&quot;: &quot;A String&quot;, # External-facing documention embedded in the RHP for this task.
731 &quot;externalDocLink&quot;: &quot;A String&quot;, # Doc link for external-facing documentation (separate from g3doc).
732 &quot;externalDocMarkdown&quot;: &quot;A String&quot;, # DEPRECATED: Use external_doc_html.
733 &quot;g3DocLink&quot;: &quot;A String&quot;, # URL to the associated G3 Doc for the task if available
734 &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.
735 &quot;isDeprecated&quot;: True or False, # The deprecation status of the current task. Default value is false;
736 &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.
737 &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
738 &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.
739 &quot;system&quot;: &quot;A String&quot;,
740 &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.
741 &quot;A String&quot;,
742 ],
743 },
744 &quot;paramSpecs&quot;: { # Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask.
745 &quot;parameters&quot;: [
746 { # Key-value pair of EventBus task parameters. Next id: 13
747 &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.
748 &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.
749 &quot;config&quot;: { # Optional fields, such as help text and other useful info.
750 &quot;descriptivePhrase&quot;: &quot;A String&quot;, # A short phrase to describe what this parameter contains.
751 &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.
752 &quot;hideDefaultValue&quot;: True or False, # Whether the default value is hidden in the UI.
753 &quot;inputDisplayOption&quot;: &quot;A String&quot;,
754 &quot;isHidden&quot;: True or False, # Whether this field is hidden in the UI.
755 &quot;label&quot;: &quot;A String&quot;, # A user-friendly label for the parameter.
756 &quot;parameterNameOption&quot;: &quot;A String&quot;,
757 &quot;subSectionLabel&quot;: &quot;A String&quot;, # A user-friendly label for subSection under which the parameter will be displayed.
758 &quot;uiPlaceholderText&quot;: &quot;A String&quot;, # Placeholder text which will appear in the UI input form for this parameter.
759 },
760 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
761 &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.
762 &quot;booleanArray&quot;: {
763 &quot;booleanValues&quot;: [
764 True or False,
765 ],
766 },
767 &quot;booleanValue&quot;: True or False,
768 &quot;doubleArray&quot;: {
769 &quot;doubleValues&quot;: [
770 3.14,
771 ],
772 },
773 &quot;doubleValue&quot;: 3.14,
774 &quot;intArray&quot;: {
775 &quot;intValues&quot;: [
776 &quot;A String&quot;,
777 ],
778 },
779 &quot;intValue&quot;: &quot;A String&quot;,
780 &quot;jsonValue&quot;: &quot;A String&quot;,
781 &quot;protoArray&quot;: {
782 &quot;protoValues&quot;: [
783 {
784 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
785 },
786 ],
787 },
788 &quot;protoValue&quot;: {
789 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
790 },
791 &quot;serializedObjectValue&quot;: {
792 &quot;objectValue&quot;: &quot;A String&quot;,
793 },
794 &quot;stringArray&quot;: {
795 &quot;stringValues&quot;: [
796 &quot;A String&quot;,
797 ],
798 },
799 &quot;stringValue&quot;: &quot;A String&quot;,
800 },
801 &quot;isDeprecated&quot;: True or False, # If set, this entry is deprecated, so further use of this parameter should be prohibited.
802 &quot;isOutput&quot;: True or False,
803 &quot;jsonSchema&quot;: &quot;A String&quot;, # If the data_type is JSON_VALUE, then this will define its schema.
804 &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.
805 &quot;protoDef&quot;: { # Populated if this represents a proto or proto array.
806 &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;.
807 &quot;path&quot;: &quot;A String&quot;, # Path to the proto file that contains the message type&#x27;s definition.
808 },
809 &quot;required&quot;: True or False, # If set, the user must provide an input value for this parameter.
810 &quot;validationRule&quot;: { # Rule used to validate inputs (individual values and collection elements) for this parameter.
811 &quot;doubleRange&quot;: { # Range used to validate doubles and floats.
812 &quot;max&quot;: 3.14, # The inclusive maximum of the acceptable range.
813 &quot;min&quot;: 3.14, # The inclusive minimum of the acceptable range.
814 },
815 &quot;intRange&quot;: { # Range used to validate longs and ints.
816 &quot;max&quot;: &quot;A String&quot;, # The inclusive maximum of the acceptable range.
817 &quot;min&quot;: &quot;A String&quot;, # The inclusive minimum of the acceptable range.
818 },
819 &quot;stringRegex&quot;: { # Rule used to validate strings.
820 &quot;exclusive&quot;: True or False, # Whether the regex matcher is applied exclusively (if true, matching values will be rejected).
821 &quot;regex&quot;: &quot;A String&quot;, # The regex applied to the input value(s).
822 },
823 },
824 },
825 ],
826 },
827 &quot;stats&quot;: { # Stats for the requested dimensions: QPS, duration, and error/warning rate # Deprecated - statistics from the Monarch query.
828 &quot;dimensions&quot;: { # Dimensions that these stats have been aggregated on.
829 &quot;clientId&quot;: &quot;A String&quot;,
830 &quot;enumFilterType&quot;: &quot;A String&quot;, # Whether to include or exclude the enums matching the regex.
831 &quot;errorEnumString&quot;: &quot;A String&quot;,
832 &quot;retryAttempt&quot;: &quot;A String&quot;,
833 &quot;taskName&quot;: &quot;A String&quot;,
834 &quot;taskNumber&quot;: &quot;A String&quot;,
835 &quot;triggerId&quot;: &quot;A String&quot;, # Stats have been or will be aggregated on set fields for any semantically-meaningful combination.
836 &quot;warningEnumString&quot;: &quot;A String&quot;,
837 &quot;workflowId&quot;: &quot;A String&quot;,
838 &quot;workflowName&quot;: &quot;A String&quot;,
839 },
840 &quot;durationInSeconds&quot;: 3.14, # Average duration in seconds.
841 &quot;errorRate&quot;: 3.14, # Average error rate.
842 &quot;qps&quot;: 3.14, # Queries per second.
843 &quot;warningRate&quot;: 3.14, # Average warning rate.
844 },
845 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
846 &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.
847 &quot;taskUiModuleConfigs&quot;: [ # Configurations of included config modules.
848 { # Task author would use this type to configure a config module.
849 &quot;moduleId&quot;: &quot;A String&quot;, # ID of the config module.
850 },
851 ],
852 },
853 },
854 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # The policy dictating the execution strategy of this task.
855 &quot;taskName&quot;: &quot;A String&quot;, # The name for the task.
856 &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`).
857 &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.
858 &quot;taskTemplateName&quot;: &quot;A String&quot;, # Used to define task-template name if task is of type task-template
859 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
860 },
861 ],
862 &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.
863 &quot;teardownTaskConfigs&quot;: [ # Required.
864 {
865 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address.
866 &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.
867 &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).
868 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the next teardown task.
869 },
870 &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.
871 &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.
872 { # Key-value pair of EventBus parameters.
873 &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.
874 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
875 &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.
876 &quot;booleanArray&quot;: {
877 &quot;booleanValues&quot;: [
878 True or False,
879 ],
880 },
881 &quot;booleanValue&quot;: True or False,
882 &quot;doubleArray&quot;: {
883 &quot;doubleValues&quot;: [
884 3.14,
885 ],
886 },
887 &quot;doubleValue&quot;: 3.14,
888 &quot;intArray&quot;: {
889 &quot;intValues&quot;: [
890 &quot;A String&quot;,
891 ],
892 },
893 &quot;intValue&quot;: &quot;A String&quot;,
894 &quot;protoArray&quot;: {
895 &quot;protoValues&quot;: [
896 {
897 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
898 },
899 ],
900 },
901 &quot;protoValue&quot;: {
902 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
903 },
904 &quot;serializedObjectValue&quot;: {
905 &quot;objectValue&quot;: &quot;A String&quot;,
906 },
907 &quot;stringArray&quot;: {
908 &quot;stringValues&quot;: [
909 &quot;A String&quot;,
910 ],
911 },
912 &quot;stringValue&quot;: &quot;A String&quot;,
913 },
914 },
915 ],
916 },
917 &quot;properties&quot;: { # LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus.
918 &quot;properties&quot;: [ # An unordered list of property entries.
919 { # Key-value pair of EventBus property.
920 &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.
921 &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.
922 &quot;booleanValue&quot;: True or False,
923 &quot;doubleArray&quot;: {
924 &quot;values&quot;: [
925 3.14,
926 ],
927 },
928 &quot;doubleValue&quot;: 3.14,
929 &quot;intArray&quot;: {
930 &quot;values&quot;: [
931 &quot;A String&quot;,
932 ],
933 },
934 &quot;intValue&quot;: &quot;A String&quot;,
935 &quot;protoValue&quot;: {
936 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
937 },
938 &quot;stringArray&quot;: {
939 &quot;values&quot;: [
940 &quot;A String&quot;,
941 ],
942 },
943 &quot;stringValue&quot;: &quot;A String&quot;,
944 },
945 },
946 ],
947 },
948 &quot;teardownTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. Implementation class name.
949 },
950 ],
951 },
952 &quot;triggerConfigs&quot;: [ # Optional. Trigger configurations.
953 { # Configuration detail of a trigger.
954 &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.
955 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
956 &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.
957 &quot;alertThreshold&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
958 &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.
959 &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.
960 &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.
961 &quot;metricType&quot;: &quot;A String&quot;, # The type of metric.
962 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
963 &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.
964 &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.
965 &quot;absolute&quot;: &quot;A String&quot;, # Absolute value threshold.
966 &quot;percentage&quot;: 42, # Percentage threshold.
967 },
968 },
969 ],
970 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration # Optional. Cloud Scheduler Trigger related metadata
971 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
972 &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
973 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
974 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
975 },
976 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
977 &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
978 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
979 &quot;names&quot;: [ # Optional. List of variable names.
980 &quot;A String&quot;,
981 ],
982 },
983 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular trigger.
984 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. Dictates how next tasks will be executed.
985 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
986 &quot;names&quot;: [ # Optional. List of variable names.
987 &quot;A String&quot;,
988 ],
989 },
990 &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.
991 &quot;x&quot;: 42, # Required. X axis of the coordinate
992 &quot;y&quot;: 42, # Required. Y axis of the coordinate
993 },
994 &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.
995 &quot;a_key&quot;: &quot;A String&quot;,
996 },
997 &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).
998 { # The task that is next in line to be executed, if the condition specified evaluated to true.
999 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
1000 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
1001 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
1002 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
1003 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
1004 },
1005 ],
1006 &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.
1007 &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}
1008 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the integration on UI.
1009 &quot;triggerType&quot;: &quot;A String&quot;, # Optional. Type of trigger
1010 },
1011 ],
1012 &quot;triggerConfigsInternal&quot;: [ # Optional. Trigger configurations.
1013 { # Configuration detail of a trigger. Next available id: 22
1014 &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.
1015 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
1016 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
1017 &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.
1018 &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.
1019 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration.
1020 &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.
1021 &quot;errorEnumList&quot;: { # List of error enums for alerts.
1022 &quot;enumStrings&quot;: [
1023 &quot;A String&quot;,
1024 ],
1025 &quot;filterType&quot;: &quot;A String&quot;,
1026 },
1027 &quot;metricType&quot;: &quot;A String&quot;,
1028 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
1029 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
1030 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
1031 &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.
1032 &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.
1033 &quot;absolute&quot;: &quot;A String&quot;,
1034 &quot;percentage&quot;: 42,
1035 },
1036 &quot;warningEnumList&quot;: { # List of error enums for alerts.
1037 &quot;enumStrings&quot;: [
1038 &quot;A String&quot;,
1039 ],
1040 &quot;filterType&quot;: &quot;A String&quot;,
1041 },
1042 },
1043 ],
1044 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration
1045 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
1046 &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
1047 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
1048 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
1049 },
1050 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
1051 &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.
1052 &quot;A String&quot;,
1053 ],
1054 &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
1055 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
1056 &quot;names&quot;: [ # Optional. List of variable names.
1057 &quot;A String&quot;,
1058 ],
1059 },
1060 &quot;label&quot;: &quot;A String&quot;, # The user created label for a particular trigger.
1061 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Dictates how next tasks will be executed.
1062 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
1063 &quot;names&quot;: [ # Optional. List of variable names.
1064 &quot;A String&quot;,
1065 ],
1066 },
1067 &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.
1068 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this trigger config on the UI.
1069 &quot;x&quot;: 42,
1070 &quot;y&quot;: 42,
1071 },
1072 &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.
1073 &quot;a_key&quot;: &quot;A String&quot;,
1074 },
1075 &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).
1076 { # The task that is next in line to be executed, if the condition specified evaluated to true.
1077 &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`
1078 { # This message recursively combines constituent conditions using logical AND.
1079 &quot;conditions&quot;: [ # A set of individual constituent conditions.
1080 { # Condition that uses `operator` to evaluate the key against the value.
1081 &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.
1082 &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.
1083 &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.
1084 &quot;booleanValue&quot;: True or False,
1085 &quot;doubleArray&quot;: {
1086 &quot;values&quot;: [
1087 3.14,
1088 ],
1089 },
1090 &quot;doubleValue&quot;: 3.14,
1091 &quot;intArray&quot;: {
1092 &quot;values&quot;: [
1093 &quot;A String&quot;,
1094 ],
1095 },
1096 &quot;intValue&quot;: &quot;A String&quot;,
1097 &quot;protoValue&quot;: {
1098 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1099 },
1100 &quot;stringArray&quot;: {
1101 &quot;values&quot;: [
1102 &quot;A String&quot;,
1103 ],
1104 },
1105 &quot;stringValue&quot;: &quot;A String&quot;,
1106 },
1107 },
1108 ],
1109 },
1110 ],
1111 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
1112 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
1113 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
1114 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
1115 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
1116 },
1117 ],
1118 &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.
1119 &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.
1120 &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.
1121 &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.
1122 { # Key-value pair of EventBus parameters.
1123 &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.
1124 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
1125 &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.
1126 &quot;booleanArray&quot;: {
1127 &quot;booleanValues&quot;: [
1128 True or False,
1129 ],
1130 },
1131 &quot;booleanValue&quot;: True or False,
1132 &quot;doubleArray&quot;: {
1133 &quot;doubleValues&quot;: [
1134 3.14,
1135 ],
1136 },
1137 &quot;doubleValue&quot;: 3.14,
1138 &quot;intArray&quot;: {
1139 &quot;intValues&quot;: [
1140 &quot;A String&quot;,
1141 ],
1142 },
1143 &quot;intValue&quot;: &quot;A String&quot;,
1144 &quot;protoArray&quot;: {
1145 &quot;protoValues&quot;: [
1146 {
1147 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1148 },
1149 ],
1150 },
1151 &quot;protoValue&quot;: {
1152 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1153 },
1154 &quot;serializedObjectValue&quot;: {
1155 &quot;objectValue&quot;: &quot;A String&quot;,
1156 },
1157 &quot;stringArray&quot;: {
1158 &quot;stringValues&quot;: [
1159 &quot;A String&quot;,
1160 ],
1161 },
1162 &quot;stringValue&quot;: &quot;A String&quot;,
1163 },
1164 },
1165 ],
1166 },
1167 &quot;triggerCriteriaTaskImplementationClassName&quot;: &quot;A String&quot;, # Optional. Implementation class name. The class should implement the “TypedTask” interface.
1168 },
1169 &quot;triggerId&quot;: &quot;A String&quot;, # The backend trigger ID.
1170 &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.
1171 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the workflow on UI.
1172 &quot;triggerType&quot;: &quot;A String&quot;,
1173 },
1174 ],
1175 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
1176 &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.
1177 }
1178
1179 createSampleIntegrations: boolean, Optional. Optional. Indicates if sample workflow should be created.
1180 newIntegration: boolean, Set this flag to true, if draft version is to be created for a brand new integration. False, if the request is for an existing integration. For backward compatibility reasons, even if this flag is set to `false` and no existing integration is found, a new draft integration will still be created.
1181 x__xgafv: string, V1 error format.
1182 Allowed values
1183 1 - v1 error format
1184 2 - v2 error format
1185
1186 Returns:
1187 An object of the form:
1188
1189 { # The integration version definition.
1190 &quot;cloudKmsKey&quot;: &quot;A String&quot;, # Optional. Cloud KMS resource name for the CMEK encryption key.
1191 &quot;cloudLoggingDetails&quot;: { # Cloud Logging details for execution info # Optional. Cloud Logging details for the integration version
1192 &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.
1193 &quot;enableCloudLogging&quot;: True or False, # Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.
1194 },
1195 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
1196 &quot;createdFromTemplate&quot;: &quot;A String&quot;, # Optional. Optional. The resource name of the template from which the integration is created.
1197 &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.
1198 &quot;description&quot;: &quot;A String&quot;, # Optional. The integration description.
1199 &quot;enableVariableMasking&quot;: True or False, # Optional. True if variable masking feature should be turned on for this version
1200 &quot;errorCatcherConfigs&quot;: [ # Optional. Error Catch Task configuration for the integration. It&#x27;s optional.
1201 { # Configuration detail of a error catch task
1202 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give more business context about the error catcher config.
1203 &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
1204 &quot;errorCatcherNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each error catcher config within the workflow on UI.
1205 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular error catcher. Optional.
1206 &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.
1207 &quot;x&quot;: 42, # Required. X axis of the coordinate
1208 &quot;y&quot;: 42, # Required. Y axis of the coordinate
1209 },
1210 &quot;startErrorTasks&quot;: [ # Required. The set of start tasks that are to be executed for the error catch flow
1211 { # The task that is next in line to be executed, if the condition specified evaluated to true.
1212 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
1213 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
1214 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
1215 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
1216 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
1217 },
1218 ],
1219 },
1220 ],
1221 &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.
1222 { # 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.
1223 &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.
1224 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
1225 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
1226 &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.
1227 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
1228 &quot;booleanValues&quot;: [ # Boolean array.
1229 True or False,
1230 ],
1231 },
1232 &quot;booleanValue&quot;: True or False, # Boolean.
1233 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
1234 &quot;doubleValues&quot;: [ # Double number array.
1235 3.14,
1236 ],
1237 },
1238 &quot;doubleValue&quot;: 3.14, # Double Number.
1239 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
1240 &quot;intValues&quot;: [ # Integer array.
1241 &quot;A String&quot;,
1242 ],
1243 },
1244 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
1245 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
1246 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
1247 &quot;stringValues&quot;: [ # String array.
1248 &quot;A String&quot;,
1249 ],
1250 },
1251 &quot;stringValue&quot;: &quot;A String&quot;, # String.
1252 },
1253 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
1254 &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;.
1255 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
1256 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
1257 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
1258 &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.
1259 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
1260 &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.
1261 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
1262 },
1263 &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.
1264 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
1265 &quot;booleanValues&quot;: [ # Boolean array.
1266 True or False,
1267 ],
1268 },
1269 &quot;booleanValue&quot;: True or False, # Boolean.
1270 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
1271 &quot;doubleValues&quot;: [ # Double number array.
1272 3.14,
1273 ],
1274 },
1275 &quot;doubleValue&quot;: 3.14, # Double Number.
1276 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
1277 &quot;intValues&quot;: [ # Integer array.
1278 &quot;A String&quot;,
1279 ],
1280 },
1281 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
1282 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
1283 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
1284 &quot;stringValues&quot;: [ # String array.
1285 &quot;A String&quot;,
1286 ],
1287 },
1288 &quot;stringValue&quot;: &quot;A String&quot;, # String.
1289 },
1290 },
1291 ],
1292 &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.
1293 { # 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.
1294 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
1295 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
1296 &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.
1297 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
1298 &quot;booleanValues&quot;: [ # Boolean array.
1299 True or False,
1300 ],
1301 },
1302 &quot;booleanValue&quot;: True or False, # Boolean.
1303 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
1304 &quot;doubleValues&quot;: [ # Double number array.
1305 3.14,
1306 ],
1307 },
1308 &quot;doubleValue&quot;: 3.14, # Double Number.
1309 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
1310 &quot;intValues&quot;: [ # Integer array.
1311 &quot;A String&quot;,
1312 ],
1313 },
1314 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
1315 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
1316 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
1317 &quot;stringValues&quot;: [ # String array.
1318 &quot;A String&quot;,
1319 ],
1320 },
1321 &quot;stringValue&quot;: &quot;A String&quot;, # String.
1322 },
1323 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
1324 &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;.
1325 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
1326 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
1327 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
1328 &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.
1329 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
1330 &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.
1331 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
1332 },
1333 ],
1334 &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.
1335 &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.
1336 {
1337 &quot;attributes&quot;: { # Attributes are additional options that can be associated with each event property. For more information, see # Metadata information about the parameters.
1338 &quot;dataType&quot;: &quot;A String&quot;, # Things like URL, Email, Currency, Timestamp (rather than string, int64...)
1339 &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.
1340 &quot;booleanValue&quot;: True or False,
1341 &quot;doubleArray&quot;: {
1342 &quot;values&quot;: [
1343 3.14,
1344 ],
1345 },
1346 &quot;doubleValue&quot;: 3.14,
1347 &quot;intArray&quot;: {
1348 &quot;values&quot;: [
1349 &quot;A String&quot;,
1350 ],
1351 },
1352 &quot;intValue&quot;: &quot;A String&quot;,
1353 &quot;protoValue&quot;: {
1354 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1355 },
1356 &quot;stringArray&quot;: {
1357 &quot;values&quot;: [
1358 &quot;A String&quot;,
1359 ],
1360 },
1361 &quot;stringValue&quot;: &quot;A String&quot;,
1362 },
1363 &quot;isRequired&quot;: True or False, # Required for event execution. The validation will be done by the event bus when the event is triggered.
1364 &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.
1365 &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
1366 &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.
1367 &quot;seedPeriod&quot;: &quot;A String&quot;,
1368 &quot;seedScope&quot;: &quot;A String&quot;,
1369 },
1370 &quot;masked&quot;: True or False, # True if this workflow parameter should be masked in the logs
1371 &quot;readOnly&quot;: True or False, # Used to indicate if the ParameterEntry is a read only field or not.
1372 &quot;searchable&quot;: &quot;A String&quot;,
1373 &quot;taskVisibility&quot;: [ # List of tasks that can view this property, if empty then all.
1374 &quot;A String&quot;,
1375 ],
1376 },
1377 &quot;children&quot;: [ # Child parameters nested within this parameter. This field only applies to protobuf parameters
1378 # Object with schema name: EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
1379 ],
1380 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
1381 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
1382 &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.
1383 &quot;booleanArray&quot;: {
1384 &quot;booleanValues&quot;: [
1385 True or False,
1386 ],
1387 },
1388 &quot;booleanValue&quot;: True or False,
1389 &quot;doubleArray&quot;: {
1390 &quot;doubleValues&quot;: [
1391 3.14,
1392 ],
1393 },
1394 &quot;doubleValue&quot;: 3.14,
1395 &quot;intArray&quot;: {
1396 &quot;intValues&quot;: [
1397 &quot;A String&quot;,
1398 ],
1399 },
1400 &quot;intValue&quot;: &quot;A String&quot;,
1401 &quot;jsonValue&quot;: &quot;A String&quot;,
1402 &quot;protoArray&quot;: {
1403 &quot;protoValues&quot;: [
1404 {
1405 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1406 },
1407 ],
1408 },
1409 &quot;protoValue&quot;: {
1410 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1411 },
1412 &quot;serializedObjectValue&quot;: {
1413 &quot;objectValue&quot;: &quot;A String&quot;,
1414 },
1415 &quot;stringArray&quot;: {
1416 &quot;stringValues&quot;: [
1417 &quot;A String&quot;,
1418 ],
1419 },
1420 &quot;stringValue&quot;: &quot;A String&quot;,
1421 },
1422 &quot;description&quot;: &quot;A String&quot;, # Optional. The description about the parameter
1423 &quot;inOutType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
1424 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
1425 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
1426 &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.
1427 &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;.
1428 &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.
1429 &quot;elementIdentifier&quot;: &quot;A String&quot;, # Configuration of the edge.
1430 &quot;elementType&quot;: &quot;A String&quot;, # Destination node where the edge ends. It can only be a task config.
1431 },
1432 &quot;producer&quot;: &quot;A String&quot;,
1433 &quot;protoDefName&quot;: &quot;A String&quot;, # The name of the protobuf type if the parameter has a protobuf data type.
1434 &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;.
1435 &quot;required&quot;: True or False,
1436 },
1437 ],
1438 },
1439 &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.
1440 &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.
1441 &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
1442 &quot;origin&quot;: &quot;A String&quot;, # Optional. The origin that indicates where this integration is coming from.
1443 &quot;parentTemplateId&quot;: &quot;A String&quot;, # Optional. The id of the template which was used to create this integration_version.
1444 &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.
1445 &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.
1446 &quot;state&quot;: &quot;A String&quot;, # Output only. User should not set it as an input.
1447 &quot;status&quot;: &quot;A String&quot;, # Output only. Generated by eventbus. User should not set it as an input.
1448 &quot;taskConfigs&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
1449 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
1450 &quot;conditionalFailurePolicies&quot;: { # Conditional task failur retry strategies # Optional. The list of conditional failure policies that will be applied to the task in order.
1451 &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.
1452 &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.
1453 &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.
1454 &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.
1455 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
1456 },
1457 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
1458 { # 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).
1459 &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.
1460 &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.
1461 &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.
1462 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
1463 },
1464 ],
1465 },
1466 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
1467 &quot;displayName&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to this TaskConfig in the UI.
1468 &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
1469 &quot;externalTaskType&quot;: &quot;A String&quot;, # Optional. External task type of the task
1470 &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.).
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;jsonValidationOption&quot;: &quot;A String&quot;, # Optional. If set, overrides the option configured in the Task implementation class.
1477 &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.
1478 { # The task that is next in line to be executed, if the condition specified evaluated to true.
1479 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
1480 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
1481 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
1482 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
1483 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
1484 },
1485 ],
1486 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution of the next set of tasks for the current task.
1487 &quot;parameters&quot;: { # Optional. The customized parameters the user can pass to this task.
1488 &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
1489 &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.
1490 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
1491 &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.
1492 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
1493 &quot;booleanValues&quot;: [ # Boolean array.
1494 True or False,
1495 ],
1496 },
1497 &quot;booleanValue&quot;: True or False, # Boolean.
1498 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
1499 &quot;doubleValues&quot;: [ # Double number array.
1500 3.14,
1501 ],
1502 },
1503 &quot;doubleValue&quot;: 3.14, # Double Number.
1504 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
1505 &quot;intValues&quot;: [ # Integer array.
1506 &quot;A String&quot;,
1507 ],
1508 },
1509 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
1510 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
1511 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
1512 &quot;stringValues&quot;: [ # String array.
1513 &quot;A String&quot;,
1514 ],
1515 },
1516 &quot;stringValue&quot;: &quot;A String&quot;, # String.
1517 },
1518 },
1519 },
1520 &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.
1521 &quot;x&quot;: 42, # Required. X axis of the coordinate
1522 &quot;y&quot;: 42, # Required. Y axis of the coordinate
1523 },
1524 &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.
1525 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
1526 },
1527 &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).
1528 &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.
1529 &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.
1530 &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.
1531 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
1532 },
1533 &quot;task&quot;: &quot;A String&quot;, # Optional. The name for the task.
1534 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution strategy of this task.
1535 &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`).
1536 &quot;taskTemplate&quot;: &quot;A String&quot;, # Optional. Used to define task-template name if task is of type task-template
1537 },
1538 ],
1539 &quot;taskConfigsInternal&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
1540 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
1541 &quot;alertConfigs&quot;: [ # Alert configurations on error rate, warning rate, number of runs, durations, etc.
1542 { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event.
1543 &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).
1544 &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.
1545 &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.
1546 &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.
1547 &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.
1548 &quot;errorEnumList&quot;: { # List of error enums for alerts.
1549 &quot;enumStrings&quot;: [
1550 &quot;A String&quot;,
1551 ],
1552 &quot;filterType&quot;: &quot;A String&quot;,
1553 },
1554 &quot;metricType&quot;: &quot;A String&quot;,
1555 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
1556 &quot;onlyFinalAttempt&quot;: True or False, # Only count final task attempts, not retries.
1557 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
1558 &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.
1559 &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.
1560 &quot;absolute&quot;: &quot;A String&quot;,
1561 &quot;percentage&quot;: 42,
1562 },
1563 &quot;warningEnumList&quot;: { # List of error enums for alerts.
1564 &quot;enumStrings&quot;: [
1565 &quot;A String&quot;,
1566 ],
1567 &quot;filterType&quot;: &quot;A String&quot;,
1568 },
1569 },
1570 ],
1571 &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).
1572 &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
1573 &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.
1574 &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.
1575 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
1576 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
1577 },
1578 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
1579 { # 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).
1580 &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.
1581 &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.
1582 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
1583 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
1584 },
1585 ],
1586 },
1587 &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
1588 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address. Auto-generated from the user&#x27;s email.
1589 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
1590 &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.
1591 &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
1592 &quot;externalTaskType&quot;: &quot;A String&quot;,
1593 &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.).
1594 &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.
1595 &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.
1596 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
1597 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
1598 },
1599 &quot;incomingEdgeCount&quot;: 42, # The number of edges leading into this TaskConfig.
1600 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # If set, overrides the option configured in the Task implementation class.
1601 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this TaskConfig in the UI.
1602 &quot;lastModifiedTime&quot;: &quot;A String&quot;, # Auto-generated.
1603 &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.
1604 { # The task that is next in line to be executed, if the condition specified evaluated to true.
1605 &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`
1606 { # This message recursively combines constituent conditions using logical AND.
1607 &quot;conditions&quot;: [ # A set of individual constituent conditions.
1608 { # Condition that uses `operator` to evaluate the key against the value.
1609 &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.
1610 &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.
1611 &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.
1612 &quot;booleanValue&quot;: True or False,
1613 &quot;doubleArray&quot;: {
1614 &quot;values&quot;: [
1615 3.14,
1616 ],
1617 },
1618 &quot;doubleValue&quot;: 3.14,
1619 &quot;intArray&quot;: {
1620 &quot;values&quot;: [
1621 &quot;A String&quot;,
1622 ],
1623 },
1624 &quot;intValue&quot;: &quot;A String&quot;,
1625 &quot;protoValue&quot;: {
1626 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1627 },
1628 &quot;stringArray&quot;: {
1629 &quot;values&quot;: [
1630 &quot;A String&quot;,
1631 ],
1632 },
1633 &quot;stringValue&quot;: &quot;A String&quot;,
1634 },
1635 },
1636 ],
1637 },
1638 ],
1639 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
1640 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
1641 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
1642 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
1643 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
1644 },
1645 ],
1646 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # The policy dictating the execution of the next set of tasks for the current task.
1647 &quot;parameters&quot;: { # The customized parameters the user can pass to this task.
1648 &quot;a_key&quot;: { # Key-value pair of EventBus parameters.
1649 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
1650 &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.
1651 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
1652 &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.
1653 &quot;booleanArray&quot;: {
1654 &quot;booleanValues&quot;: [
1655 True or False,
1656 ],
1657 },
1658 &quot;booleanValue&quot;: True or False,
1659 &quot;doubleArray&quot;: {
1660 &quot;doubleValues&quot;: [
1661 3.14,
1662 ],
1663 },
1664 &quot;doubleValue&quot;: 3.14,
1665 &quot;intArray&quot;: {
1666 &quot;intValues&quot;: [
1667 &quot;A String&quot;,
1668 ],
1669 },
1670 &quot;intValue&quot;: &quot;A String&quot;,
1671 &quot;jsonValue&quot;: &quot;A String&quot;,
1672 &quot;protoArray&quot;: {
1673 &quot;protoValues&quot;: [
1674 {
1675 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1676 },
1677 ],
1678 },
1679 &quot;protoValue&quot;: {
1680 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1681 },
1682 &quot;serializedObjectValue&quot;: {
1683 &quot;objectValue&quot;: &quot;A String&quot;,
1684 },
1685 &quot;stringArray&quot;: {
1686 &quot;stringValues&quot;: [
1687 &quot;A String&quot;,
1688 ],
1689 },
1690 &quot;stringValue&quot;: &quot;A String&quot;,
1691 },
1692 },
1693 },
1694 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this task config on the UI.
1695 &quot;x&quot;: 42,
1696 &quot;y&quot;: 42,
1697 },
1698 &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.
1699 &quot;preconditionLabel&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to precondition in the UI.
1700 &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).
1701 &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.
1702 &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.
1703 { # Key-value pair of EventBus parameters.
1704 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
1705 &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.
1706 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
1707 &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.
1708 &quot;booleanArray&quot;: {
1709 &quot;booleanValues&quot;: [
1710 True or False,
1711 ],
1712 },
1713 &quot;booleanValue&quot;: True or False,
1714 &quot;doubleArray&quot;: {
1715 &quot;doubleValues&quot;: [
1716 3.14,
1717 ],
1718 },
1719 &quot;doubleValue&quot;: 3.14,
1720 &quot;intArray&quot;: {
1721 &quot;intValues&quot;: [
1722 &quot;A String&quot;,
1723 ],
1724 },
1725 &quot;intValue&quot;: &quot;A String&quot;,
1726 &quot;jsonValue&quot;: &quot;A String&quot;,
1727 &quot;protoArray&quot;: {
1728 &quot;protoValues&quot;: [
1729 {
1730 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1731 },
1732 ],
1733 },
1734 &quot;protoValue&quot;: {
1735 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1736 },
1737 &quot;serializedObjectValue&quot;: {
1738 &quot;objectValue&quot;: &quot;A String&quot;,
1739 },
1740 &quot;stringArray&quot;: {
1741 &quot;stringValues&quot;: [
1742 &quot;A String&quot;,
1743 ],
1744 },
1745 &quot;stringValue&quot;: &quot;A String&quot;,
1746 },
1747 },
1748 ],
1749 },
1750 &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.
1751 &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.
1752 &quot;A String&quot;,
1753 ],
1754 },
1755 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Determines what action to take upon successful task completion.
1756 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
1757 },
1758 &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).
1759 &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.
1760 &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.
1761 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
1762 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
1763 },
1764 &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.
1765 &quot;disabledForVpcSc&quot;: True or False, # True if the task has conflict with vpcsc
1766 &quot;metadata&quot;: { # TaskMetadata are attributes that are associated to every common Task we have. # Metadata inclueds the task name, author and so on.
1767 &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.
1768 &quot;admins&quot;: [
1769 { # 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.
1770 &quot;googleGroupEmail&quot;: &quot;A String&quot;,
1771 &quot;userEmail&quot;: &quot;A String&quot;,
1772 },
1773 ],
1774 &quot;category&quot;: &quot;A String&quot;,
1775 &quot;codeSearchLink&quot;: &quot;A String&quot;, # The Code Search link to the Task Java file.
1776 &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.
1777 &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.
1778 &quot;description&quot;: &quot;A String&quot;, # In a few sentences, describe the purpose and usage of the task.
1779 &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;)
1780 &quot;docMarkdown&quot;: &quot;A String&quot;, # Snippet of markdown documentation to embed in the RHP for this task.
1781 &quot;externalCategory&quot;: &quot;A String&quot;,
1782 &quot;externalCategorySequence&quot;: 42, # Sequence with which the task in specific category to be displayed in task discovery panel for external users.
1783 &quot;externalDocHtml&quot;: &quot;A String&quot;, # External-facing documention embedded in the RHP for this task.
1784 &quot;externalDocLink&quot;: &quot;A String&quot;, # Doc link for external-facing documentation (separate from g3doc).
1785 &quot;externalDocMarkdown&quot;: &quot;A String&quot;, # DEPRECATED: Use external_doc_html.
1786 &quot;g3DocLink&quot;: &quot;A String&quot;, # URL to the associated G3 Doc for the task if available
1787 &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.
1788 &quot;isDeprecated&quot;: True or False, # The deprecation status of the current task. Default value is false;
1789 &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.
1790 &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
1791 &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.
1792 &quot;system&quot;: &quot;A String&quot;,
1793 &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.
1794 &quot;A String&quot;,
1795 ],
1796 },
1797 &quot;paramSpecs&quot;: { # Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask.
1798 &quot;parameters&quot;: [
1799 { # Key-value pair of EventBus task parameters. Next id: 13
1800 &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.
1801 &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.
1802 &quot;config&quot;: { # Optional fields, such as help text and other useful info.
1803 &quot;descriptivePhrase&quot;: &quot;A String&quot;, # A short phrase to describe what this parameter contains.
1804 &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.
1805 &quot;hideDefaultValue&quot;: True or False, # Whether the default value is hidden in the UI.
1806 &quot;inputDisplayOption&quot;: &quot;A String&quot;,
1807 &quot;isHidden&quot;: True or False, # Whether this field is hidden in the UI.
1808 &quot;label&quot;: &quot;A String&quot;, # A user-friendly label for the parameter.
1809 &quot;parameterNameOption&quot;: &quot;A String&quot;,
1810 &quot;subSectionLabel&quot;: &quot;A String&quot;, # A user-friendly label for subSection under which the parameter will be displayed.
1811 &quot;uiPlaceholderText&quot;: &quot;A String&quot;, # Placeholder text which will appear in the UI input form for this parameter.
1812 },
1813 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
1814 &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.
1815 &quot;booleanArray&quot;: {
1816 &quot;booleanValues&quot;: [
1817 True or False,
1818 ],
1819 },
1820 &quot;booleanValue&quot;: True or False,
1821 &quot;doubleArray&quot;: {
1822 &quot;doubleValues&quot;: [
1823 3.14,
1824 ],
1825 },
1826 &quot;doubleValue&quot;: 3.14,
1827 &quot;intArray&quot;: {
1828 &quot;intValues&quot;: [
1829 &quot;A String&quot;,
1830 ],
1831 },
1832 &quot;intValue&quot;: &quot;A String&quot;,
1833 &quot;jsonValue&quot;: &quot;A String&quot;,
1834 &quot;protoArray&quot;: {
1835 &quot;protoValues&quot;: [
1836 {
1837 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1838 },
1839 ],
1840 },
1841 &quot;protoValue&quot;: {
1842 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1843 },
1844 &quot;serializedObjectValue&quot;: {
1845 &quot;objectValue&quot;: &quot;A String&quot;,
1846 },
1847 &quot;stringArray&quot;: {
1848 &quot;stringValues&quot;: [
1849 &quot;A String&quot;,
1850 ],
1851 },
1852 &quot;stringValue&quot;: &quot;A String&quot;,
1853 },
1854 &quot;isDeprecated&quot;: True or False, # If set, this entry is deprecated, so further use of this parameter should be prohibited.
1855 &quot;isOutput&quot;: True or False,
1856 &quot;jsonSchema&quot;: &quot;A String&quot;, # If the data_type is JSON_VALUE, then this will define its schema.
1857 &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.
1858 &quot;protoDef&quot;: { # Populated if this represents a proto or proto array.
1859 &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;.
1860 &quot;path&quot;: &quot;A String&quot;, # Path to the proto file that contains the message type&#x27;s definition.
1861 },
1862 &quot;required&quot;: True or False, # If set, the user must provide an input value for this parameter.
1863 &quot;validationRule&quot;: { # Rule used to validate inputs (individual values and collection elements) for this parameter.
1864 &quot;doubleRange&quot;: { # Range used to validate doubles and floats.
1865 &quot;max&quot;: 3.14, # The inclusive maximum of the acceptable range.
1866 &quot;min&quot;: 3.14, # The inclusive minimum of the acceptable range.
1867 },
1868 &quot;intRange&quot;: { # Range used to validate longs and ints.
1869 &quot;max&quot;: &quot;A String&quot;, # The inclusive maximum of the acceptable range.
1870 &quot;min&quot;: &quot;A String&quot;, # The inclusive minimum of the acceptable range.
1871 },
1872 &quot;stringRegex&quot;: { # Rule used to validate strings.
1873 &quot;exclusive&quot;: True or False, # Whether the regex matcher is applied exclusively (if true, matching values will be rejected).
1874 &quot;regex&quot;: &quot;A String&quot;, # The regex applied to the input value(s).
1875 },
1876 },
1877 },
1878 ],
1879 },
1880 &quot;stats&quot;: { # Stats for the requested dimensions: QPS, duration, and error/warning rate # Deprecated - statistics from the Monarch query.
1881 &quot;dimensions&quot;: { # Dimensions that these stats have been aggregated on.
1882 &quot;clientId&quot;: &quot;A String&quot;,
1883 &quot;enumFilterType&quot;: &quot;A String&quot;, # Whether to include or exclude the enums matching the regex.
1884 &quot;errorEnumString&quot;: &quot;A String&quot;,
1885 &quot;retryAttempt&quot;: &quot;A String&quot;,
1886 &quot;taskName&quot;: &quot;A String&quot;,
1887 &quot;taskNumber&quot;: &quot;A String&quot;,
1888 &quot;triggerId&quot;: &quot;A String&quot;, # Stats have been or will be aggregated on set fields for any semantically-meaningful combination.
1889 &quot;warningEnumString&quot;: &quot;A String&quot;,
1890 &quot;workflowId&quot;: &quot;A String&quot;,
1891 &quot;workflowName&quot;: &quot;A String&quot;,
1892 },
1893 &quot;durationInSeconds&quot;: 3.14, # Average duration in seconds.
1894 &quot;errorRate&quot;: 3.14, # Average error rate.
1895 &quot;qps&quot;: 3.14, # Queries per second.
1896 &quot;warningRate&quot;: 3.14, # Average warning rate.
1897 },
1898 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
1899 &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.
1900 &quot;taskUiModuleConfigs&quot;: [ # Configurations of included config modules.
1901 { # Task author would use this type to configure a config module.
1902 &quot;moduleId&quot;: &quot;A String&quot;, # ID of the config module.
1903 },
1904 ],
1905 },
1906 },
1907 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # The policy dictating the execution strategy of this task.
1908 &quot;taskName&quot;: &quot;A String&quot;, # The name for the task.
1909 &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`).
1910 &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.
1911 &quot;taskTemplateName&quot;: &quot;A String&quot;, # Used to define task-template name if task is of type task-template
1912 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
1913 },
1914 ],
1915 &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.
1916 &quot;teardownTaskConfigs&quot;: [ # Required.
1917 {
1918 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address.
1919 &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.
1920 &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).
1921 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the next teardown task.
1922 },
1923 &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.
1924 &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.
1925 { # Key-value pair of EventBus parameters.
1926 &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.
1927 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
1928 &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.
1929 &quot;booleanArray&quot;: {
1930 &quot;booleanValues&quot;: [
1931 True or False,
1932 ],
1933 },
1934 &quot;booleanValue&quot;: True or False,
1935 &quot;doubleArray&quot;: {
1936 &quot;doubleValues&quot;: [
1937 3.14,
1938 ],
1939 },
1940 &quot;doubleValue&quot;: 3.14,
1941 &quot;intArray&quot;: {
1942 &quot;intValues&quot;: [
1943 &quot;A String&quot;,
1944 ],
1945 },
1946 &quot;intValue&quot;: &quot;A String&quot;,
1947 &quot;protoArray&quot;: {
1948 &quot;protoValues&quot;: [
1949 {
1950 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1951 },
1952 ],
1953 },
1954 &quot;protoValue&quot;: {
1955 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1956 },
1957 &quot;serializedObjectValue&quot;: {
1958 &quot;objectValue&quot;: &quot;A String&quot;,
1959 },
1960 &quot;stringArray&quot;: {
1961 &quot;stringValues&quot;: [
1962 &quot;A String&quot;,
1963 ],
1964 },
1965 &quot;stringValue&quot;: &quot;A String&quot;,
1966 },
1967 },
1968 ],
1969 },
1970 &quot;properties&quot;: { # LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus.
1971 &quot;properties&quot;: [ # An unordered list of property entries.
1972 { # Key-value pair of EventBus property.
1973 &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.
1974 &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.
1975 &quot;booleanValue&quot;: True or False,
1976 &quot;doubleArray&quot;: {
1977 &quot;values&quot;: [
1978 3.14,
1979 ],
1980 },
1981 &quot;doubleValue&quot;: 3.14,
1982 &quot;intArray&quot;: {
1983 &quot;values&quot;: [
1984 &quot;A String&quot;,
1985 ],
1986 },
1987 &quot;intValue&quot;: &quot;A String&quot;,
1988 &quot;protoValue&quot;: {
1989 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1990 },
1991 &quot;stringArray&quot;: {
1992 &quot;values&quot;: [
1993 &quot;A String&quot;,
1994 ],
1995 },
1996 &quot;stringValue&quot;: &quot;A String&quot;,
1997 },
1998 },
1999 ],
2000 },
2001 &quot;teardownTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. Implementation class name.
2002 },
2003 ],
2004 },
2005 &quot;triggerConfigs&quot;: [ # Optional. Trigger configurations.
2006 { # Configuration detail of a trigger.
2007 &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.
2008 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
2009 &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.
2010 &quot;alertThreshold&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
2011 &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.
2012 &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.
2013 &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.
2014 &quot;metricType&quot;: &quot;A String&quot;, # The type of metric.
2015 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
2016 &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.
2017 &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.
2018 &quot;absolute&quot;: &quot;A String&quot;, # Absolute value threshold.
2019 &quot;percentage&quot;: 42, # Percentage threshold.
2020 },
2021 },
2022 ],
2023 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration # Optional. Cloud Scheduler Trigger related metadata
2024 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
2025 &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
2026 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
2027 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
2028 },
2029 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
2030 &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
2031 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
2032 &quot;names&quot;: [ # Optional. List of variable names.
2033 &quot;A String&quot;,
2034 ],
2035 },
2036 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular trigger.
2037 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. Dictates how next tasks will be executed.
2038 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
2039 &quot;names&quot;: [ # Optional. List of variable names.
2040 &quot;A String&quot;,
2041 ],
2042 },
2043 &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.
2044 &quot;x&quot;: 42, # Required. X axis of the coordinate
2045 &quot;y&quot;: 42, # Required. Y axis of the coordinate
2046 },
2047 &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.
2048 &quot;a_key&quot;: &quot;A String&quot;,
2049 },
2050 &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).
2051 { # The task that is next in line to be executed, if the condition specified evaluated to true.
2052 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
2053 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
2054 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
2055 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
2056 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
2057 },
2058 ],
2059 &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.
2060 &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}
2061 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the integration on UI.
2062 &quot;triggerType&quot;: &quot;A String&quot;, # Optional. Type of trigger
2063 },
2064 ],
2065 &quot;triggerConfigsInternal&quot;: [ # Optional. Trigger configurations.
2066 { # Configuration detail of a trigger. Next available id: 22
2067 &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.
2068 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
2069 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
2070 &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.
2071 &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.
2072 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration.
2073 &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.
2074 &quot;errorEnumList&quot;: { # List of error enums for alerts.
2075 &quot;enumStrings&quot;: [
2076 &quot;A String&quot;,
2077 ],
2078 &quot;filterType&quot;: &quot;A String&quot;,
2079 },
2080 &quot;metricType&quot;: &quot;A String&quot;,
2081 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
2082 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
2083 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
2084 &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.
2085 &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.
2086 &quot;absolute&quot;: &quot;A String&quot;,
2087 &quot;percentage&quot;: 42,
2088 },
2089 &quot;warningEnumList&quot;: { # List of error enums for alerts.
2090 &quot;enumStrings&quot;: [
2091 &quot;A String&quot;,
2092 ],
2093 &quot;filterType&quot;: &quot;A String&quot;,
2094 },
2095 },
2096 ],
2097 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration
2098 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
2099 &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
2100 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
2101 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
2102 },
2103 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
2104 &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.
2105 &quot;A String&quot;,
2106 ],
2107 &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
2108 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
2109 &quot;names&quot;: [ # Optional. List of variable names.
2110 &quot;A String&quot;,
2111 ],
2112 },
2113 &quot;label&quot;: &quot;A String&quot;, # The user created label for a particular trigger.
2114 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Dictates how next tasks will be executed.
2115 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
2116 &quot;names&quot;: [ # Optional. List of variable names.
2117 &quot;A String&quot;,
2118 ],
2119 },
2120 &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.
2121 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this trigger config on the UI.
2122 &quot;x&quot;: 42,
2123 &quot;y&quot;: 42,
2124 },
2125 &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.
2126 &quot;a_key&quot;: &quot;A String&quot;,
2127 },
2128 &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).
2129 { # The task that is next in line to be executed, if the condition specified evaluated to true.
2130 &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`
2131 { # This message recursively combines constituent conditions using logical AND.
2132 &quot;conditions&quot;: [ # A set of individual constituent conditions.
2133 { # Condition that uses `operator` to evaluate the key against the value.
2134 &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.
2135 &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.
2136 &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.
2137 &quot;booleanValue&quot;: True or False,
2138 &quot;doubleArray&quot;: {
2139 &quot;values&quot;: [
2140 3.14,
2141 ],
2142 },
2143 &quot;doubleValue&quot;: 3.14,
2144 &quot;intArray&quot;: {
2145 &quot;values&quot;: [
2146 &quot;A String&quot;,
2147 ],
2148 },
2149 &quot;intValue&quot;: &quot;A String&quot;,
2150 &quot;protoValue&quot;: {
2151 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2152 },
2153 &quot;stringArray&quot;: {
2154 &quot;values&quot;: [
2155 &quot;A String&quot;,
2156 ],
2157 },
2158 &quot;stringValue&quot;: &quot;A String&quot;,
2159 },
2160 },
2161 ],
2162 },
2163 ],
2164 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
2165 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
2166 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
2167 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
2168 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
2169 },
2170 ],
2171 &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.
2172 &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.
2173 &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.
2174 &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.
2175 { # Key-value pair of EventBus parameters.
2176 &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.
2177 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
2178 &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.
2179 &quot;booleanArray&quot;: {
2180 &quot;booleanValues&quot;: [
2181 True or False,
2182 ],
2183 },
2184 &quot;booleanValue&quot;: True or False,
2185 &quot;doubleArray&quot;: {
2186 &quot;doubleValues&quot;: [
2187 3.14,
2188 ],
2189 },
2190 &quot;doubleValue&quot;: 3.14,
2191 &quot;intArray&quot;: {
2192 &quot;intValues&quot;: [
2193 &quot;A String&quot;,
2194 ],
2195 },
2196 &quot;intValue&quot;: &quot;A String&quot;,
2197 &quot;protoArray&quot;: {
2198 &quot;protoValues&quot;: [
2199 {
2200 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2201 },
2202 ],
2203 },
2204 &quot;protoValue&quot;: {
2205 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2206 },
2207 &quot;serializedObjectValue&quot;: {
2208 &quot;objectValue&quot;: &quot;A String&quot;,
2209 },
2210 &quot;stringArray&quot;: {
2211 &quot;stringValues&quot;: [
2212 &quot;A String&quot;,
2213 ],
2214 },
2215 &quot;stringValue&quot;: &quot;A String&quot;,
2216 },
2217 },
2218 ],
2219 },
2220 &quot;triggerCriteriaTaskImplementationClassName&quot;: &quot;A String&quot;, # Optional. Implementation class name. The class should implement the “TypedTask” interface.
2221 },
2222 &quot;triggerId&quot;: &quot;A String&quot;, # The backend trigger ID.
2223 &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.
2224 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the workflow on UI.
2225 &quot;triggerType&quot;: &quot;A String&quot;,
2226 },
2227 ],
2228 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
2229 &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.
2230 }</pre>
2231 </div>
2232
2233 <div class="method">
2234 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
2235 <pre>Soft-deletes the integration. Changes the status of the integration to ARCHIVED. If the integration being ARCHIVED is tagged as &quot;HEAD&quot;, the tag is removed from this snapshot and set to the previous non-ARCHIVED snapshot. The PUBLISH_REQUESTED, DUE_FOR_DELETION tags are removed too. This RPC throws an exception if the version being deleted is DRAFT, and if the `locked_by` user is not the same as the user performing the Delete. Audit fields updated include last_modified_timestamp, last_modified_by. Any existing lock is released when Deleting a integration. Currently, there is no undelete mechanism.
2236
2237 Args:
2238 name: string, Required. The version to delete. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version} (required)
2239 x__xgafv: string, V1 error format.
2240 Allowed values
2241 1 - v1 error format
2242 2 - v2 error format
2243
2244 Returns:
2245 An object of the form:
2246
2247 { # 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); }
2248 }</pre>
2249 </div>
2250
2251 <div class="method">
2252 <code class="details" id="download">download(name, fileFormat=None, files=None, x__xgafv=None)</code>
2253 <pre>Downloads an integration. Retrieves the `IntegrationVersion` for a given `integration_id` and returns the response as a string.
2254
2255 Args:
2256 name: string, Required. The version to download. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version} (required)
2257 fileFormat: string, File format for download request.
2258 Allowed values
2259 FILE_FORMAT_UNSPECIFIED - Unspecified file format
2260 JSON - JSON File Format
2261 YAML - YAML File Format
2262 files: string, Optional. Integration related file to download like Integration Json, Config variable, testcase etc. (repeated)
2263 Allowed values
2264 INTEGRATION_FILE_UNSPECIFIED - Default value.
2265 INTEGRATION - Integration file.
2266 INTEGRATION_CONFIG_VARIABLES - Integration Config variables.
2267 x__xgafv: string, V1 error format.
2268 Allowed values
2269 1 - v1 error format
2270 2 - v2 error format
2271
2272 Returns:
2273 An object of the form:
2274
2275 { # Response for DownloadIntegrationVersion.
2276 &quot;content&quot;: &quot;A String&quot;, # String representation of the requested file.
2277 &quot;files&quot;: [ # List containing String represendation for multiple file with type.
2278 { # To store string representation of Integration file.
2279 &quot;content&quot;: &quot;A String&quot;, # String representation of the file content.
2280 &quot;file&quot;: &quot;A String&quot;, # File information like Integration version, Integration Config variables etc.
2281 },
2282 ],
2283 }</pre>
2284 </div>
2285
2286 <div class="method">
2287 <code class="details" id="downloadJsonPackage">downloadJsonPackage(name, files=None, x__xgafv=None)</code>
2288 <pre>Downloads an Integration version package like IntegrationVersion,Integration Config etc. Retrieves the IntegrationVersion package for a given `integration_id` and returns the response as a JSON.
2289
2290 Args:
2291 name: string, Required. Integration version name Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version} (required)
2292 files: string, Optional. Integration related file to download like Integration Version, Config variable, testcase etc. (repeated)
2293 Allowed values
2294 INTEGRATION_FILE_UNSPECIFIED - Default value.
2295 INTEGRATION - Integration file.
2296 INTEGRATION_CONFIG_VARIABLES - Integration Config variables.
2297 x__xgafv: string, V1 error format.
2298 Allowed values
2299 1 - v1 error format
2300 2 - v2 error format
2301
2302 Returns:
2303 An object of the form:
2304
2305 { # Response for DownloadJsonPackage.
2306 &quot;files&quot;: [ # List containing JSON for multiple file with type information.
2307 { # To store Integration version related file i.e. Integration Version, Config variable etc.
2308 &quot;integrationConfig&quot;: { # Integration version config file
2309 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
2310 },
2311 &quot;integrationVersion&quot;: { # The integration version definition. # Integration version
2312 &quot;cloudKmsKey&quot;: &quot;A String&quot;, # Optional. Cloud KMS resource name for the CMEK encryption key.
2313 &quot;cloudLoggingDetails&quot;: { # Cloud Logging details for execution info # Optional. Cloud Logging details for the integration version
2314 &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.
2315 &quot;enableCloudLogging&quot;: True or False, # Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.
2316 },
2317 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
2318 &quot;createdFromTemplate&quot;: &quot;A String&quot;, # Optional. Optional. The resource name of the template from which the integration is created.
2319 &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.
2320 &quot;description&quot;: &quot;A String&quot;, # Optional. The integration description.
2321 &quot;enableVariableMasking&quot;: True or False, # Optional. True if variable masking feature should be turned on for this version
2322 &quot;errorCatcherConfigs&quot;: [ # Optional. Error Catch Task configuration for the integration. It&#x27;s optional.
2323 { # Configuration detail of a error catch task
2324 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give more business context about the error catcher config.
2325 &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
2326 &quot;errorCatcherNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each error catcher config within the workflow on UI.
2327 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular error catcher. Optional.
2328 &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.
2329 &quot;x&quot;: 42, # Required. X axis of the coordinate
2330 &quot;y&quot;: 42, # Required. Y axis of the coordinate
2331 },
2332 &quot;startErrorTasks&quot;: [ # Required. The set of start tasks that are to be executed for the error catch flow
2333 { # The task that is next in line to be executed, if the condition specified evaluated to true.
2334 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
2335 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
2336 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
2337 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
2338 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
2339 },
2340 ],
2341 },
2342 ],
2343 &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.
2344 { # 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.
2345 &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.
2346 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
2347 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
2348 &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.
2349 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
2350 &quot;booleanValues&quot;: [ # Boolean array.
2351 True or False,
2352 ],
2353 },
2354 &quot;booleanValue&quot;: True or False, # Boolean.
2355 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
2356 &quot;doubleValues&quot;: [ # Double number array.
2357 3.14,
2358 ],
2359 },
2360 &quot;doubleValue&quot;: 3.14, # Double Number.
2361 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
2362 &quot;intValues&quot;: [ # Integer array.
2363 &quot;A String&quot;,
2364 ],
2365 },
2366 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
2367 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
2368 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
2369 &quot;stringValues&quot;: [ # String array.
2370 &quot;A String&quot;,
2371 ],
2372 },
2373 &quot;stringValue&quot;: &quot;A String&quot;, # String.
2374 },
2375 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
2376 &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;.
2377 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
2378 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
2379 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
2380 &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.
2381 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
2382 &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.
2383 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
2384 },
2385 &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.
2386 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
2387 &quot;booleanValues&quot;: [ # Boolean array.
2388 True or False,
2389 ],
2390 },
2391 &quot;booleanValue&quot;: True or False, # Boolean.
2392 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
2393 &quot;doubleValues&quot;: [ # Double number array.
2394 3.14,
2395 ],
2396 },
2397 &quot;doubleValue&quot;: 3.14, # Double Number.
2398 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
2399 &quot;intValues&quot;: [ # Integer array.
2400 &quot;A String&quot;,
2401 ],
2402 },
2403 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
2404 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
2405 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
2406 &quot;stringValues&quot;: [ # String array.
2407 &quot;A String&quot;,
2408 ],
2409 },
2410 &quot;stringValue&quot;: &quot;A String&quot;, # String.
2411 },
2412 },
2413 ],
2414 &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.
2415 { # 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.
2416 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
2417 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
2418 &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.
2419 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
2420 &quot;booleanValues&quot;: [ # Boolean array.
2421 True or False,
2422 ],
2423 },
2424 &quot;booleanValue&quot;: True or False, # Boolean.
2425 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
2426 &quot;doubleValues&quot;: [ # Double number array.
2427 3.14,
2428 ],
2429 },
2430 &quot;doubleValue&quot;: 3.14, # Double Number.
2431 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
2432 &quot;intValues&quot;: [ # Integer array.
2433 &quot;A String&quot;,
2434 ],
2435 },
2436 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
2437 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
2438 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
2439 &quot;stringValues&quot;: [ # String array.
2440 &quot;A String&quot;,
2441 ],
2442 },
2443 &quot;stringValue&quot;: &quot;A String&quot;, # String.
2444 },
2445 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
2446 &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;.
2447 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
2448 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
2449 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
2450 &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.
2451 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
2452 &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.
2453 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
2454 },
2455 ],
2456 &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.
2457 &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.
2458 {
2459 &quot;attributes&quot;: { # Attributes are additional options that can be associated with each event property. For more information, see # Metadata information about the parameters.
2460 &quot;dataType&quot;: &quot;A String&quot;, # Things like URL, Email, Currency, Timestamp (rather than string, int64...)
2461 &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.
2462 &quot;booleanValue&quot;: True or False,
2463 &quot;doubleArray&quot;: {
2464 &quot;values&quot;: [
2465 3.14,
2466 ],
2467 },
2468 &quot;doubleValue&quot;: 3.14,
2469 &quot;intArray&quot;: {
2470 &quot;values&quot;: [
2471 &quot;A String&quot;,
2472 ],
2473 },
2474 &quot;intValue&quot;: &quot;A String&quot;,
2475 &quot;protoValue&quot;: {
2476 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2477 },
2478 &quot;stringArray&quot;: {
2479 &quot;values&quot;: [
2480 &quot;A String&quot;,
2481 ],
2482 },
2483 &quot;stringValue&quot;: &quot;A String&quot;,
2484 },
2485 &quot;isRequired&quot;: True or False, # Required for event execution. The validation will be done by the event bus when the event is triggered.
2486 &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.
2487 &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
2488 &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.
2489 &quot;seedPeriod&quot;: &quot;A String&quot;,
2490 &quot;seedScope&quot;: &quot;A String&quot;,
2491 },
2492 &quot;masked&quot;: True or False, # True if this workflow parameter should be masked in the logs
2493 &quot;readOnly&quot;: True or False, # Used to indicate if the ParameterEntry is a read only field or not.
2494 &quot;searchable&quot;: &quot;A String&quot;,
2495 &quot;taskVisibility&quot;: [ # List of tasks that can view this property, if empty then all.
2496 &quot;A String&quot;,
2497 ],
2498 },
2499 &quot;children&quot;: [ # Child parameters nested within this parameter. This field only applies to protobuf parameters
2500 # Object with schema name: EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
2501 ],
2502 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
2503 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
2504 &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.
2505 &quot;booleanArray&quot;: {
2506 &quot;booleanValues&quot;: [
2507 True or False,
2508 ],
2509 },
2510 &quot;booleanValue&quot;: True or False,
2511 &quot;doubleArray&quot;: {
2512 &quot;doubleValues&quot;: [
2513 3.14,
2514 ],
2515 },
2516 &quot;doubleValue&quot;: 3.14,
2517 &quot;intArray&quot;: {
2518 &quot;intValues&quot;: [
2519 &quot;A String&quot;,
2520 ],
2521 },
2522 &quot;intValue&quot;: &quot;A String&quot;,
2523 &quot;jsonValue&quot;: &quot;A String&quot;,
2524 &quot;protoArray&quot;: {
2525 &quot;protoValues&quot;: [
2526 {
2527 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2528 },
2529 ],
2530 },
2531 &quot;protoValue&quot;: {
2532 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2533 },
2534 &quot;serializedObjectValue&quot;: {
2535 &quot;objectValue&quot;: &quot;A String&quot;,
2536 },
2537 &quot;stringArray&quot;: {
2538 &quot;stringValues&quot;: [
2539 &quot;A String&quot;,
2540 ],
2541 },
2542 &quot;stringValue&quot;: &quot;A String&quot;,
2543 },
2544 &quot;description&quot;: &quot;A String&quot;, # Optional. The description about the parameter
2545 &quot;inOutType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
2546 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
2547 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
2548 &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.
2549 &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;.
2550 &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.
2551 &quot;elementIdentifier&quot;: &quot;A String&quot;, # Configuration of the edge.
2552 &quot;elementType&quot;: &quot;A String&quot;, # Destination node where the edge ends. It can only be a task config.
2553 },
2554 &quot;producer&quot;: &quot;A String&quot;,
2555 &quot;protoDefName&quot;: &quot;A String&quot;, # The name of the protobuf type if the parameter has a protobuf data type.
2556 &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;.
2557 &quot;required&quot;: True or False,
2558 },
2559 ],
2560 },
2561 &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.
2562 &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.
2563 &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
2564 &quot;origin&quot;: &quot;A String&quot;, # Optional. The origin that indicates where this integration is coming from.
2565 &quot;parentTemplateId&quot;: &quot;A String&quot;, # Optional. The id of the template which was used to create this integration_version.
2566 &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.
2567 &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.
2568 &quot;state&quot;: &quot;A String&quot;, # Output only. User should not set it as an input.
2569 &quot;status&quot;: &quot;A String&quot;, # Output only. Generated by eventbus. User should not set it as an input.
2570 &quot;taskConfigs&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
2571 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
2572 &quot;conditionalFailurePolicies&quot;: { # Conditional task failur retry strategies # Optional. The list of conditional failure policies that will be applied to the task in order.
2573 &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.
2574 &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.
2575 &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.
2576 &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.
2577 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
2578 },
2579 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
2580 { # 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).
2581 &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.
2582 &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.
2583 &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.
2584 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
2585 },
2586 ],
2587 },
2588 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
2589 &quot;displayName&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to this TaskConfig in the UI.
2590 &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
2591 &quot;externalTaskType&quot;: &quot;A String&quot;, # Optional. External task type of the task
2592 &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.).
2593 &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.
2594 &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.
2595 &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.
2596 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
2597 },
2598 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # Optional. If set, overrides the option configured in the Task implementation class.
2599 &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.
2600 { # The task that is next in line to be executed, if the condition specified evaluated to true.
2601 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
2602 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
2603 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
2604 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
2605 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
2606 },
2607 ],
2608 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution of the next set of tasks for the current task.
2609 &quot;parameters&quot;: { # Optional. The customized parameters the user can pass to this task.
2610 &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
2611 &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.
2612 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
2613 &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.
2614 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
2615 &quot;booleanValues&quot;: [ # Boolean array.
2616 True or False,
2617 ],
2618 },
2619 &quot;booleanValue&quot;: True or False, # Boolean.
2620 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
2621 &quot;doubleValues&quot;: [ # Double number array.
2622 3.14,
2623 ],
2624 },
2625 &quot;doubleValue&quot;: 3.14, # Double Number.
2626 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
2627 &quot;intValues&quot;: [ # Integer array.
2628 &quot;A String&quot;,
2629 ],
2630 },
2631 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
2632 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
2633 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
2634 &quot;stringValues&quot;: [ # String array.
2635 &quot;A String&quot;,
2636 ],
2637 },
2638 &quot;stringValue&quot;: &quot;A String&quot;, # String.
2639 },
2640 },
2641 },
2642 &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.
2643 &quot;x&quot;: 42, # Required. X axis of the coordinate
2644 &quot;y&quot;: 42, # Required. Y axis of the coordinate
2645 },
2646 &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.
2647 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
2648 },
2649 &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).
2650 &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.
2651 &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.
2652 &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.
2653 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
2654 },
2655 &quot;task&quot;: &quot;A String&quot;, # Optional. The name for the task.
2656 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution strategy of this task.
2657 &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`).
2658 &quot;taskTemplate&quot;: &quot;A String&quot;, # Optional. Used to define task-template name if task is of type task-template
2659 },
2660 ],
2661 &quot;taskConfigsInternal&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
2662 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
2663 &quot;alertConfigs&quot;: [ # Alert configurations on error rate, warning rate, number of runs, durations, etc.
2664 { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event.
2665 &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).
2666 &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.
2667 &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.
2668 &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.
2669 &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.
2670 &quot;errorEnumList&quot;: { # List of error enums for alerts.
2671 &quot;enumStrings&quot;: [
2672 &quot;A String&quot;,
2673 ],
2674 &quot;filterType&quot;: &quot;A String&quot;,
2675 },
2676 &quot;metricType&quot;: &quot;A String&quot;,
2677 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
2678 &quot;onlyFinalAttempt&quot;: True or False, # Only count final task attempts, not retries.
2679 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
2680 &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.
2681 &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.
2682 &quot;absolute&quot;: &quot;A String&quot;,
2683 &quot;percentage&quot;: 42,
2684 },
2685 &quot;warningEnumList&quot;: { # List of error enums for alerts.
2686 &quot;enumStrings&quot;: [
2687 &quot;A String&quot;,
2688 ],
2689 &quot;filterType&quot;: &quot;A String&quot;,
2690 },
2691 },
2692 ],
2693 &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).
2694 &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
2695 &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.
2696 &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.
2697 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
2698 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
2699 },
2700 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
2701 { # 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).
2702 &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.
2703 &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.
2704 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
2705 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
2706 },
2707 ],
2708 },
2709 &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
2710 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address. Auto-generated from the user&#x27;s email.
2711 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
2712 &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.
2713 &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
2714 &quot;externalTaskType&quot;: &quot;A String&quot;,
2715 &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.).
2716 &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.
2717 &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.
2718 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
2719 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
2720 },
2721 &quot;incomingEdgeCount&quot;: 42, # The number of edges leading into this TaskConfig.
2722 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # If set, overrides the option configured in the Task implementation class.
2723 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this TaskConfig in the UI.
2724 &quot;lastModifiedTime&quot;: &quot;A String&quot;, # Auto-generated.
2725 &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.
2726 { # The task that is next in line to be executed, if the condition specified evaluated to true.
2727 &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`
2728 { # This message recursively combines constituent conditions using logical AND.
2729 &quot;conditions&quot;: [ # A set of individual constituent conditions.
2730 { # Condition that uses `operator` to evaluate the key against the value.
2731 &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.
2732 &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.
2733 &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.
2734 &quot;booleanValue&quot;: True or False,
2735 &quot;doubleArray&quot;: {
2736 &quot;values&quot;: [
2737 3.14,
2738 ],
2739 },
2740 &quot;doubleValue&quot;: 3.14,
2741 &quot;intArray&quot;: {
2742 &quot;values&quot;: [
2743 &quot;A String&quot;,
2744 ],
2745 },
2746 &quot;intValue&quot;: &quot;A String&quot;,
2747 &quot;protoValue&quot;: {
2748 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2749 },
2750 &quot;stringArray&quot;: {
2751 &quot;values&quot;: [
2752 &quot;A String&quot;,
2753 ],
2754 },
2755 &quot;stringValue&quot;: &quot;A String&quot;,
2756 },
2757 },
2758 ],
2759 },
2760 ],
2761 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
2762 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
2763 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
2764 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
2765 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
2766 },
2767 ],
2768 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # The policy dictating the execution of the next set of tasks for the current task.
2769 &quot;parameters&quot;: { # The customized parameters the user can pass to this task.
2770 &quot;a_key&quot;: { # Key-value pair of EventBus parameters.
2771 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
2772 &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.
2773 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
2774 &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.
2775 &quot;booleanArray&quot;: {
2776 &quot;booleanValues&quot;: [
2777 True or False,
2778 ],
2779 },
2780 &quot;booleanValue&quot;: True or False,
2781 &quot;doubleArray&quot;: {
2782 &quot;doubleValues&quot;: [
2783 3.14,
2784 ],
2785 },
2786 &quot;doubleValue&quot;: 3.14,
2787 &quot;intArray&quot;: {
2788 &quot;intValues&quot;: [
2789 &quot;A String&quot;,
2790 ],
2791 },
2792 &quot;intValue&quot;: &quot;A String&quot;,
2793 &quot;jsonValue&quot;: &quot;A String&quot;,
2794 &quot;protoArray&quot;: {
2795 &quot;protoValues&quot;: [
2796 {
2797 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2798 },
2799 ],
2800 },
2801 &quot;protoValue&quot;: {
2802 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2803 },
2804 &quot;serializedObjectValue&quot;: {
2805 &quot;objectValue&quot;: &quot;A String&quot;,
2806 },
2807 &quot;stringArray&quot;: {
2808 &quot;stringValues&quot;: [
2809 &quot;A String&quot;,
2810 ],
2811 },
2812 &quot;stringValue&quot;: &quot;A String&quot;,
2813 },
2814 },
2815 },
2816 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this task config on the UI.
2817 &quot;x&quot;: 42,
2818 &quot;y&quot;: 42,
2819 },
2820 &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.
2821 &quot;preconditionLabel&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to precondition in the UI.
2822 &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).
2823 &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.
2824 &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.
2825 { # Key-value pair of EventBus parameters.
2826 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
2827 &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.
2828 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
2829 &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.
2830 &quot;booleanArray&quot;: {
2831 &quot;booleanValues&quot;: [
2832 True or False,
2833 ],
2834 },
2835 &quot;booleanValue&quot;: True or False,
2836 &quot;doubleArray&quot;: {
2837 &quot;doubleValues&quot;: [
2838 3.14,
2839 ],
2840 },
2841 &quot;doubleValue&quot;: 3.14,
2842 &quot;intArray&quot;: {
2843 &quot;intValues&quot;: [
2844 &quot;A String&quot;,
2845 ],
2846 },
2847 &quot;intValue&quot;: &quot;A String&quot;,
2848 &quot;jsonValue&quot;: &quot;A String&quot;,
2849 &quot;protoArray&quot;: {
2850 &quot;protoValues&quot;: [
2851 {
2852 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2853 },
2854 ],
2855 },
2856 &quot;protoValue&quot;: {
2857 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2858 },
2859 &quot;serializedObjectValue&quot;: {
2860 &quot;objectValue&quot;: &quot;A String&quot;,
2861 },
2862 &quot;stringArray&quot;: {
2863 &quot;stringValues&quot;: [
2864 &quot;A String&quot;,
2865 ],
2866 },
2867 &quot;stringValue&quot;: &quot;A String&quot;,
2868 },
2869 },
2870 ],
2871 },
2872 &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.
2873 &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.
2874 &quot;A String&quot;,
2875 ],
2876 },
2877 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Determines what action to take upon successful task completion.
2878 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
2879 },
2880 &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).
2881 &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.
2882 &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.
2883 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
2884 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
2885 },
2886 &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.
2887 &quot;disabledForVpcSc&quot;: True or False, # True if the task has conflict with vpcsc
2888 &quot;metadata&quot;: { # TaskMetadata are attributes that are associated to every common Task we have. # Metadata inclueds the task name, author and so on.
2889 &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.
2890 &quot;admins&quot;: [
2891 { # 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.
2892 &quot;googleGroupEmail&quot;: &quot;A String&quot;,
2893 &quot;userEmail&quot;: &quot;A String&quot;,
2894 },
2895 ],
2896 &quot;category&quot;: &quot;A String&quot;,
2897 &quot;codeSearchLink&quot;: &quot;A String&quot;, # The Code Search link to the Task Java file.
2898 &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.
2899 &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.
2900 &quot;description&quot;: &quot;A String&quot;, # In a few sentences, describe the purpose and usage of the task.
2901 &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;)
2902 &quot;docMarkdown&quot;: &quot;A String&quot;, # Snippet of markdown documentation to embed in the RHP for this task.
2903 &quot;externalCategory&quot;: &quot;A String&quot;,
2904 &quot;externalCategorySequence&quot;: 42, # Sequence with which the task in specific category to be displayed in task discovery panel for external users.
2905 &quot;externalDocHtml&quot;: &quot;A String&quot;, # External-facing documention embedded in the RHP for this task.
2906 &quot;externalDocLink&quot;: &quot;A String&quot;, # Doc link for external-facing documentation (separate from g3doc).
2907 &quot;externalDocMarkdown&quot;: &quot;A String&quot;, # DEPRECATED: Use external_doc_html.
2908 &quot;g3DocLink&quot;: &quot;A String&quot;, # URL to the associated G3 Doc for the task if available
2909 &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.
2910 &quot;isDeprecated&quot;: True or False, # The deprecation status of the current task. Default value is false;
2911 &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.
2912 &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
2913 &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.
2914 &quot;system&quot;: &quot;A String&quot;,
2915 &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.
2916 &quot;A String&quot;,
2917 ],
2918 },
2919 &quot;paramSpecs&quot;: { # Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask.
2920 &quot;parameters&quot;: [
2921 { # Key-value pair of EventBus task parameters. Next id: 13
2922 &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.
2923 &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.
2924 &quot;config&quot;: { # Optional fields, such as help text and other useful info.
2925 &quot;descriptivePhrase&quot;: &quot;A String&quot;, # A short phrase to describe what this parameter contains.
2926 &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.
2927 &quot;hideDefaultValue&quot;: True or False, # Whether the default value is hidden in the UI.
2928 &quot;inputDisplayOption&quot;: &quot;A String&quot;,
2929 &quot;isHidden&quot;: True or False, # Whether this field is hidden in the UI.
2930 &quot;label&quot;: &quot;A String&quot;, # A user-friendly label for the parameter.
2931 &quot;parameterNameOption&quot;: &quot;A String&quot;,
2932 &quot;subSectionLabel&quot;: &quot;A String&quot;, # A user-friendly label for subSection under which the parameter will be displayed.
2933 &quot;uiPlaceholderText&quot;: &quot;A String&quot;, # Placeholder text which will appear in the UI input form for this parameter.
2934 },
2935 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
2936 &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.
2937 &quot;booleanArray&quot;: {
2938 &quot;booleanValues&quot;: [
2939 True or False,
2940 ],
2941 },
2942 &quot;booleanValue&quot;: True or False,
2943 &quot;doubleArray&quot;: {
2944 &quot;doubleValues&quot;: [
2945 3.14,
2946 ],
2947 },
2948 &quot;doubleValue&quot;: 3.14,
2949 &quot;intArray&quot;: {
2950 &quot;intValues&quot;: [
2951 &quot;A String&quot;,
2952 ],
2953 },
2954 &quot;intValue&quot;: &quot;A String&quot;,
2955 &quot;jsonValue&quot;: &quot;A String&quot;,
2956 &quot;protoArray&quot;: {
2957 &quot;protoValues&quot;: [
2958 {
2959 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2960 },
2961 ],
2962 },
2963 &quot;protoValue&quot;: {
2964 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2965 },
2966 &quot;serializedObjectValue&quot;: {
2967 &quot;objectValue&quot;: &quot;A String&quot;,
2968 },
2969 &quot;stringArray&quot;: {
2970 &quot;stringValues&quot;: [
2971 &quot;A String&quot;,
2972 ],
2973 },
2974 &quot;stringValue&quot;: &quot;A String&quot;,
2975 },
2976 &quot;isDeprecated&quot;: True or False, # If set, this entry is deprecated, so further use of this parameter should be prohibited.
2977 &quot;isOutput&quot;: True or False,
2978 &quot;jsonSchema&quot;: &quot;A String&quot;, # If the data_type is JSON_VALUE, then this will define its schema.
2979 &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.
2980 &quot;protoDef&quot;: { # Populated if this represents a proto or proto array.
2981 &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;.
2982 &quot;path&quot;: &quot;A String&quot;, # Path to the proto file that contains the message type&#x27;s definition.
2983 },
2984 &quot;required&quot;: True or False, # If set, the user must provide an input value for this parameter.
2985 &quot;validationRule&quot;: { # Rule used to validate inputs (individual values and collection elements) for this parameter.
2986 &quot;doubleRange&quot;: { # Range used to validate doubles and floats.
2987 &quot;max&quot;: 3.14, # The inclusive maximum of the acceptable range.
2988 &quot;min&quot;: 3.14, # The inclusive minimum of the acceptable range.
2989 },
2990 &quot;intRange&quot;: { # Range used to validate longs and ints.
2991 &quot;max&quot;: &quot;A String&quot;, # The inclusive maximum of the acceptable range.
2992 &quot;min&quot;: &quot;A String&quot;, # The inclusive minimum of the acceptable range.
2993 },
2994 &quot;stringRegex&quot;: { # Rule used to validate strings.
2995 &quot;exclusive&quot;: True or False, # Whether the regex matcher is applied exclusively (if true, matching values will be rejected).
2996 &quot;regex&quot;: &quot;A String&quot;, # The regex applied to the input value(s).
2997 },
2998 },
2999 },
3000 ],
3001 },
3002 &quot;stats&quot;: { # Stats for the requested dimensions: QPS, duration, and error/warning rate # Deprecated - statistics from the Monarch query.
3003 &quot;dimensions&quot;: { # Dimensions that these stats have been aggregated on.
3004 &quot;clientId&quot;: &quot;A String&quot;,
3005 &quot;enumFilterType&quot;: &quot;A String&quot;, # Whether to include or exclude the enums matching the regex.
3006 &quot;errorEnumString&quot;: &quot;A String&quot;,
3007 &quot;retryAttempt&quot;: &quot;A String&quot;,
3008 &quot;taskName&quot;: &quot;A String&quot;,
3009 &quot;taskNumber&quot;: &quot;A String&quot;,
3010 &quot;triggerId&quot;: &quot;A String&quot;, # Stats have been or will be aggregated on set fields for any semantically-meaningful combination.
3011 &quot;warningEnumString&quot;: &quot;A String&quot;,
3012 &quot;workflowId&quot;: &quot;A String&quot;,
3013 &quot;workflowName&quot;: &quot;A String&quot;,
3014 },
3015 &quot;durationInSeconds&quot;: 3.14, # Average duration in seconds.
3016 &quot;errorRate&quot;: 3.14, # Average error rate.
3017 &quot;qps&quot;: 3.14, # Queries per second.
3018 &quot;warningRate&quot;: 3.14, # Average warning rate.
3019 },
3020 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
3021 &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.
3022 &quot;taskUiModuleConfigs&quot;: [ # Configurations of included config modules.
3023 { # Task author would use this type to configure a config module.
3024 &quot;moduleId&quot;: &quot;A String&quot;, # ID of the config module.
3025 },
3026 ],
3027 },
3028 },
3029 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # The policy dictating the execution strategy of this task.
3030 &quot;taskName&quot;: &quot;A String&quot;, # The name for the task.
3031 &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`).
3032 &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.
3033 &quot;taskTemplateName&quot;: &quot;A String&quot;, # Used to define task-template name if task is of type task-template
3034 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
3035 },
3036 ],
3037 &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.
3038 &quot;teardownTaskConfigs&quot;: [ # Required.
3039 {
3040 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address.
3041 &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.
3042 &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).
3043 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the next teardown task.
3044 },
3045 &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.
3046 &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.
3047 { # Key-value pair of EventBus parameters.
3048 &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.
3049 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
3050 &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.
3051 &quot;booleanArray&quot;: {
3052 &quot;booleanValues&quot;: [
3053 True or False,
3054 ],
3055 },
3056 &quot;booleanValue&quot;: True or False,
3057 &quot;doubleArray&quot;: {
3058 &quot;doubleValues&quot;: [
3059 3.14,
3060 ],
3061 },
3062 &quot;doubleValue&quot;: 3.14,
3063 &quot;intArray&quot;: {
3064 &quot;intValues&quot;: [
3065 &quot;A String&quot;,
3066 ],
3067 },
3068 &quot;intValue&quot;: &quot;A String&quot;,
3069 &quot;protoArray&quot;: {
3070 &quot;protoValues&quot;: [
3071 {
3072 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3073 },
3074 ],
3075 },
3076 &quot;protoValue&quot;: {
3077 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3078 },
3079 &quot;serializedObjectValue&quot;: {
3080 &quot;objectValue&quot;: &quot;A String&quot;,
3081 },
3082 &quot;stringArray&quot;: {
3083 &quot;stringValues&quot;: [
3084 &quot;A String&quot;,
3085 ],
3086 },
3087 &quot;stringValue&quot;: &quot;A String&quot;,
3088 },
3089 },
3090 ],
3091 },
3092 &quot;properties&quot;: { # LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus.
3093 &quot;properties&quot;: [ # An unordered list of property entries.
3094 { # Key-value pair of EventBus property.
3095 &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.
3096 &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.
3097 &quot;booleanValue&quot;: True or False,
3098 &quot;doubleArray&quot;: {
3099 &quot;values&quot;: [
3100 3.14,
3101 ],
3102 },
3103 &quot;doubleValue&quot;: 3.14,
3104 &quot;intArray&quot;: {
3105 &quot;values&quot;: [
3106 &quot;A String&quot;,
3107 ],
3108 },
3109 &quot;intValue&quot;: &quot;A String&quot;,
3110 &quot;protoValue&quot;: {
3111 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3112 },
3113 &quot;stringArray&quot;: {
3114 &quot;values&quot;: [
3115 &quot;A String&quot;,
3116 ],
3117 },
3118 &quot;stringValue&quot;: &quot;A String&quot;,
3119 },
3120 },
3121 ],
3122 },
3123 &quot;teardownTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. Implementation class name.
3124 },
3125 ],
3126 },
3127 &quot;triggerConfigs&quot;: [ # Optional. Trigger configurations.
3128 { # Configuration detail of a trigger.
3129 &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.
3130 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
3131 &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.
3132 &quot;alertThreshold&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
3133 &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.
3134 &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.
3135 &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.
3136 &quot;metricType&quot;: &quot;A String&quot;, # The type of metric.
3137 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
3138 &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.
3139 &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.
3140 &quot;absolute&quot;: &quot;A String&quot;, # Absolute value threshold.
3141 &quot;percentage&quot;: 42, # Percentage threshold.
3142 },
3143 },
3144 ],
3145 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration # Optional. Cloud Scheduler Trigger related metadata
3146 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
3147 &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
3148 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
3149 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
3150 },
3151 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
3152 &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
3153 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
3154 &quot;names&quot;: [ # Optional. List of variable names.
3155 &quot;A String&quot;,
3156 ],
3157 },
3158 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular trigger.
3159 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. Dictates how next tasks will be executed.
3160 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
3161 &quot;names&quot;: [ # Optional. List of variable names.
3162 &quot;A String&quot;,
3163 ],
3164 },
3165 &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.
3166 &quot;x&quot;: 42, # Required. X axis of the coordinate
3167 &quot;y&quot;: 42, # Required. Y axis of the coordinate
3168 },
3169 &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.
3170 &quot;a_key&quot;: &quot;A String&quot;,
3171 },
3172 &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).
3173 { # The task that is next in line to be executed, if the condition specified evaluated to true.
3174 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
3175 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
3176 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
3177 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
3178 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
3179 },
3180 ],
3181 &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.
3182 &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}
3183 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the integration on UI.
3184 &quot;triggerType&quot;: &quot;A String&quot;, # Optional. Type of trigger
3185 },
3186 ],
3187 &quot;triggerConfigsInternal&quot;: [ # Optional. Trigger configurations.
3188 { # Configuration detail of a trigger. Next available id: 22
3189 &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.
3190 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
3191 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
3192 &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.
3193 &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.
3194 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration.
3195 &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.
3196 &quot;errorEnumList&quot;: { # List of error enums for alerts.
3197 &quot;enumStrings&quot;: [
3198 &quot;A String&quot;,
3199 ],
3200 &quot;filterType&quot;: &quot;A String&quot;,
3201 },
3202 &quot;metricType&quot;: &quot;A String&quot;,
3203 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
3204 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
3205 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
3206 &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.
3207 &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.
3208 &quot;absolute&quot;: &quot;A String&quot;,
3209 &quot;percentage&quot;: 42,
3210 },
3211 &quot;warningEnumList&quot;: { # List of error enums for alerts.
3212 &quot;enumStrings&quot;: [
3213 &quot;A String&quot;,
3214 ],
3215 &quot;filterType&quot;: &quot;A String&quot;,
3216 },
3217 },
3218 ],
3219 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration
3220 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
3221 &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
3222 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
3223 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
3224 },
3225 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
3226 &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.
3227 &quot;A String&quot;,
3228 ],
3229 &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
3230 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
3231 &quot;names&quot;: [ # Optional. List of variable names.
3232 &quot;A String&quot;,
3233 ],
3234 },
3235 &quot;label&quot;: &quot;A String&quot;, # The user created label for a particular trigger.
3236 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Dictates how next tasks will be executed.
3237 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
3238 &quot;names&quot;: [ # Optional. List of variable names.
3239 &quot;A String&quot;,
3240 ],
3241 },
3242 &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.
3243 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this trigger config on the UI.
3244 &quot;x&quot;: 42,
3245 &quot;y&quot;: 42,
3246 },
3247 &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.
3248 &quot;a_key&quot;: &quot;A String&quot;,
3249 },
3250 &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).
3251 { # The task that is next in line to be executed, if the condition specified evaluated to true.
3252 &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`
3253 { # This message recursively combines constituent conditions using logical AND.
3254 &quot;conditions&quot;: [ # A set of individual constituent conditions.
3255 { # Condition that uses `operator` to evaluate the key against the value.
3256 &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.
3257 &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.
3258 &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.
3259 &quot;booleanValue&quot;: True or False,
3260 &quot;doubleArray&quot;: {
3261 &quot;values&quot;: [
3262 3.14,
3263 ],
3264 },
3265 &quot;doubleValue&quot;: 3.14,
3266 &quot;intArray&quot;: {
3267 &quot;values&quot;: [
3268 &quot;A String&quot;,
3269 ],
3270 },
3271 &quot;intValue&quot;: &quot;A String&quot;,
3272 &quot;protoValue&quot;: {
3273 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3274 },
3275 &quot;stringArray&quot;: {
3276 &quot;values&quot;: [
3277 &quot;A String&quot;,
3278 ],
3279 },
3280 &quot;stringValue&quot;: &quot;A String&quot;,
3281 },
3282 },
3283 ],
3284 },
3285 ],
3286 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
3287 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
3288 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
3289 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
3290 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
3291 },
3292 ],
3293 &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.
3294 &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.
3295 &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.
3296 &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.
3297 { # Key-value pair of EventBus parameters.
3298 &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.
3299 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
3300 &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.
3301 &quot;booleanArray&quot;: {
3302 &quot;booleanValues&quot;: [
3303 True or False,
3304 ],
3305 },
3306 &quot;booleanValue&quot;: True or False,
3307 &quot;doubleArray&quot;: {
3308 &quot;doubleValues&quot;: [
3309 3.14,
3310 ],
3311 },
3312 &quot;doubleValue&quot;: 3.14,
3313 &quot;intArray&quot;: {
3314 &quot;intValues&quot;: [
3315 &quot;A String&quot;,
3316 ],
3317 },
3318 &quot;intValue&quot;: &quot;A String&quot;,
3319 &quot;protoArray&quot;: {
3320 &quot;protoValues&quot;: [
3321 {
3322 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3323 },
3324 ],
3325 },
3326 &quot;protoValue&quot;: {
3327 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3328 },
3329 &quot;serializedObjectValue&quot;: {
3330 &quot;objectValue&quot;: &quot;A String&quot;,
3331 },
3332 &quot;stringArray&quot;: {
3333 &quot;stringValues&quot;: [
3334 &quot;A String&quot;,
3335 ],
3336 },
3337 &quot;stringValue&quot;: &quot;A String&quot;,
3338 },
3339 },
3340 ],
3341 },
3342 &quot;triggerCriteriaTaskImplementationClassName&quot;: &quot;A String&quot;, # Optional. Implementation class name. The class should implement the “TypedTask” interface.
3343 },
3344 &quot;triggerId&quot;: &quot;A String&quot;, # The backend trigger ID.
3345 &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.
3346 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the workflow on UI.
3347 &quot;triggerType&quot;: &quot;A String&quot;,
3348 },
3349 ],
3350 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
3351 &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.
3352 },
3353 &quot;type&quot;: &quot;A String&quot;, # File information like Integration version, Integration Config variables etc.
3354 },
3355 ],
3356 }</pre>
3357 </div>
3358
3359 <div class="method">
3360 <code class="details" id="get">get(name, x__xgafv=None)</code>
3361 <pre>Get a integration in the specified project.
3362
3363 Args:
3364 name: string, Required. The version to retrieve. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version} (required)
3365 x__xgafv: string, V1 error format.
3366 Allowed values
3367 1 - v1 error format
3368 2 - v2 error format
3369
3370 Returns:
3371 An object of the form:
3372
3373 { # The integration version definition.
3374 &quot;cloudKmsKey&quot;: &quot;A String&quot;, # Optional. Cloud KMS resource name for the CMEK encryption key.
3375 &quot;cloudLoggingDetails&quot;: { # Cloud Logging details for execution info # Optional. Cloud Logging details for the integration version
3376 &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.
3377 &quot;enableCloudLogging&quot;: True or False, # Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.
3378 },
3379 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
3380 &quot;createdFromTemplate&quot;: &quot;A String&quot;, # Optional. Optional. The resource name of the template from which the integration is created.
3381 &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.
3382 &quot;description&quot;: &quot;A String&quot;, # Optional. The integration description.
3383 &quot;enableVariableMasking&quot;: True or False, # Optional. True if variable masking feature should be turned on for this version
3384 &quot;errorCatcherConfigs&quot;: [ # Optional. Error Catch Task configuration for the integration. It&#x27;s optional.
3385 { # Configuration detail of a error catch task
3386 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give more business context about the error catcher config.
3387 &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
3388 &quot;errorCatcherNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each error catcher config within the workflow on UI.
3389 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular error catcher. Optional.
3390 &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.
3391 &quot;x&quot;: 42, # Required. X axis of the coordinate
3392 &quot;y&quot;: 42, # Required. Y axis of the coordinate
3393 },
3394 &quot;startErrorTasks&quot;: [ # Required. The set of start tasks that are to be executed for the error catch flow
3395 { # The task that is next in line to be executed, if the condition specified evaluated to true.
3396 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
3397 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
3398 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
3399 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
3400 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
3401 },
3402 ],
3403 },
3404 ],
3405 &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.
3406 { # 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.
3407 &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.
3408 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
3409 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
3410 &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.
3411 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
3412 &quot;booleanValues&quot;: [ # Boolean array.
3413 True or False,
3414 ],
3415 },
3416 &quot;booleanValue&quot;: True or False, # Boolean.
3417 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
3418 &quot;doubleValues&quot;: [ # Double number array.
3419 3.14,
3420 ],
3421 },
3422 &quot;doubleValue&quot;: 3.14, # Double Number.
3423 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
3424 &quot;intValues&quot;: [ # Integer array.
3425 &quot;A String&quot;,
3426 ],
3427 },
3428 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
3429 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
3430 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
3431 &quot;stringValues&quot;: [ # String array.
3432 &quot;A String&quot;,
3433 ],
3434 },
3435 &quot;stringValue&quot;: &quot;A String&quot;, # String.
3436 },
3437 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
3438 &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;.
3439 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
3440 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
3441 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
3442 &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.
3443 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
3444 &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.
3445 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
3446 },
3447 &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.
3448 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
3449 &quot;booleanValues&quot;: [ # Boolean array.
3450 True or False,
3451 ],
3452 },
3453 &quot;booleanValue&quot;: True or False, # Boolean.
3454 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
3455 &quot;doubleValues&quot;: [ # Double number array.
3456 3.14,
3457 ],
3458 },
3459 &quot;doubleValue&quot;: 3.14, # Double Number.
3460 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
3461 &quot;intValues&quot;: [ # Integer array.
3462 &quot;A String&quot;,
3463 ],
3464 },
3465 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
3466 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
3467 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
3468 &quot;stringValues&quot;: [ # String array.
3469 &quot;A String&quot;,
3470 ],
3471 },
3472 &quot;stringValue&quot;: &quot;A String&quot;, # String.
3473 },
3474 },
3475 ],
3476 &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.
3477 { # 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.
3478 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
3479 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
3480 &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.
3481 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
3482 &quot;booleanValues&quot;: [ # Boolean array.
3483 True or False,
3484 ],
3485 },
3486 &quot;booleanValue&quot;: True or False, # Boolean.
3487 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
3488 &quot;doubleValues&quot;: [ # Double number array.
3489 3.14,
3490 ],
3491 },
3492 &quot;doubleValue&quot;: 3.14, # Double Number.
3493 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
3494 &quot;intValues&quot;: [ # Integer array.
3495 &quot;A String&quot;,
3496 ],
3497 },
3498 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
3499 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
3500 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
3501 &quot;stringValues&quot;: [ # String array.
3502 &quot;A String&quot;,
3503 ],
3504 },
3505 &quot;stringValue&quot;: &quot;A String&quot;, # String.
3506 },
3507 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
3508 &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;.
3509 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
3510 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
3511 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
3512 &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.
3513 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
3514 &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.
3515 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
3516 },
3517 ],
3518 &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.
3519 &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.
3520 {
3521 &quot;attributes&quot;: { # Attributes are additional options that can be associated with each event property. For more information, see # Metadata information about the parameters.
3522 &quot;dataType&quot;: &quot;A String&quot;, # Things like URL, Email, Currency, Timestamp (rather than string, int64...)
3523 &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.
3524 &quot;booleanValue&quot;: True or False,
3525 &quot;doubleArray&quot;: {
3526 &quot;values&quot;: [
3527 3.14,
3528 ],
3529 },
3530 &quot;doubleValue&quot;: 3.14,
3531 &quot;intArray&quot;: {
3532 &quot;values&quot;: [
3533 &quot;A String&quot;,
3534 ],
3535 },
3536 &quot;intValue&quot;: &quot;A String&quot;,
3537 &quot;protoValue&quot;: {
3538 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3539 },
3540 &quot;stringArray&quot;: {
3541 &quot;values&quot;: [
3542 &quot;A String&quot;,
3543 ],
3544 },
3545 &quot;stringValue&quot;: &quot;A String&quot;,
3546 },
3547 &quot;isRequired&quot;: True or False, # Required for event execution. The validation will be done by the event bus when the event is triggered.
3548 &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.
3549 &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
3550 &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.
3551 &quot;seedPeriod&quot;: &quot;A String&quot;,
3552 &quot;seedScope&quot;: &quot;A String&quot;,
3553 },
3554 &quot;masked&quot;: True or False, # True if this workflow parameter should be masked in the logs
3555 &quot;readOnly&quot;: True or False, # Used to indicate if the ParameterEntry is a read only field or not.
3556 &quot;searchable&quot;: &quot;A String&quot;,
3557 &quot;taskVisibility&quot;: [ # List of tasks that can view this property, if empty then all.
3558 &quot;A String&quot;,
3559 ],
3560 },
3561 &quot;children&quot;: [ # Child parameters nested within this parameter. This field only applies to protobuf parameters
3562 # Object with schema name: EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
3563 ],
3564 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
3565 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
3566 &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.
3567 &quot;booleanArray&quot;: {
3568 &quot;booleanValues&quot;: [
3569 True or False,
3570 ],
3571 },
3572 &quot;booleanValue&quot;: True or False,
3573 &quot;doubleArray&quot;: {
3574 &quot;doubleValues&quot;: [
3575 3.14,
3576 ],
3577 },
3578 &quot;doubleValue&quot;: 3.14,
3579 &quot;intArray&quot;: {
3580 &quot;intValues&quot;: [
3581 &quot;A String&quot;,
3582 ],
3583 },
3584 &quot;intValue&quot;: &quot;A String&quot;,
3585 &quot;jsonValue&quot;: &quot;A String&quot;,
3586 &quot;protoArray&quot;: {
3587 &quot;protoValues&quot;: [
3588 {
3589 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3590 },
3591 ],
3592 },
3593 &quot;protoValue&quot;: {
3594 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3595 },
3596 &quot;serializedObjectValue&quot;: {
3597 &quot;objectValue&quot;: &quot;A String&quot;,
3598 },
3599 &quot;stringArray&quot;: {
3600 &quot;stringValues&quot;: [
3601 &quot;A String&quot;,
3602 ],
3603 },
3604 &quot;stringValue&quot;: &quot;A String&quot;,
3605 },
3606 &quot;description&quot;: &quot;A String&quot;, # Optional. The description about the parameter
3607 &quot;inOutType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
3608 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
3609 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
3610 &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.
3611 &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;.
3612 &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.
3613 &quot;elementIdentifier&quot;: &quot;A String&quot;, # Configuration of the edge.
3614 &quot;elementType&quot;: &quot;A String&quot;, # Destination node where the edge ends. It can only be a task config.
3615 },
3616 &quot;producer&quot;: &quot;A String&quot;,
3617 &quot;protoDefName&quot;: &quot;A String&quot;, # The name of the protobuf type if the parameter has a protobuf data type.
3618 &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;.
3619 &quot;required&quot;: True or False,
3620 },
3621 ],
3622 },
3623 &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.
3624 &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.
3625 &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
3626 &quot;origin&quot;: &quot;A String&quot;, # Optional. The origin that indicates where this integration is coming from.
3627 &quot;parentTemplateId&quot;: &quot;A String&quot;, # Optional. The id of the template which was used to create this integration_version.
3628 &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.
3629 &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.
3630 &quot;state&quot;: &quot;A String&quot;, # Output only. User should not set it as an input.
3631 &quot;status&quot;: &quot;A String&quot;, # Output only. Generated by eventbus. User should not set it as an input.
3632 &quot;taskConfigs&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
3633 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
3634 &quot;conditionalFailurePolicies&quot;: { # Conditional task failur retry strategies # Optional. The list of conditional failure policies that will be applied to the task in order.
3635 &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.
3636 &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.
3637 &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.
3638 &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.
3639 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
3640 },
3641 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
3642 { # 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).
3643 &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.
3644 &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.
3645 &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.
3646 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
3647 },
3648 ],
3649 },
3650 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
3651 &quot;displayName&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to this TaskConfig in the UI.
3652 &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
3653 &quot;externalTaskType&quot;: &quot;A String&quot;, # Optional. External task type of the task
3654 &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.).
3655 &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.
3656 &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.
3657 &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.
3658 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
3659 },
3660 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # Optional. If set, overrides the option configured in the Task implementation class.
3661 &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.
3662 { # The task that is next in line to be executed, if the condition specified evaluated to true.
3663 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
3664 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
3665 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
3666 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
3667 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
3668 },
3669 ],
3670 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution of the next set of tasks for the current task.
3671 &quot;parameters&quot;: { # Optional. The customized parameters the user can pass to this task.
3672 &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
3673 &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.
3674 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
3675 &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.
3676 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
3677 &quot;booleanValues&quot;: [ # Boolean array.
3678 True or False,
3679 ],
3680 },
3681 &quot;booleanValue&quot;: True or False, # Boolean.
3682 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
3683 &quot;doubleValues&quot;: [ # Double number array.
3684 3.14,
3685 ],
3686 },
3687 &quot;doubleValue&quot;: 3.14, # Double Number.
3688 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
3689 &quot;intValues&quot;: [ # Integer array.
3690 &quot;A String&quot;,
3691 ],
3692 },
3693 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
3694 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
3695 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
3696 &quot;stringValues&quot;: [ # String array.
3697 &quot;A String&quot;,
3698 ],
3699 },
3700 &quot;stringValue&quot;: &quot;A String&quot;, # String.
3701 },
3702 },
3703 },
3704 &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.
3705 &quot;x&quot;: 42, # Required. X axis of the coordinate
3706 &quot;y&quot;: 42, # Required. Y axis of the coordinate
3707 },
3708 &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.
3709 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
3710 },
3711 &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).
3712 &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.
3713 &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.
3714 &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.
3715 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
3716 },
3717 &quot;task&quot;: &quot;A String&quot;, # Optional. The name for the task.
3718 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution strategy of this task.
3719 &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`).
3720 &quot;taskTemplate&quot;: &quot;A String&quot;, # Optional. Used to define task-template name if task is of type task-template
3721 },
3722 ],
3723 &quot;taskConfigsInternal&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
3724 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
3725 &quot;alertConfigs&quot;: [ # Alert configurations on error rate, warning rate, number of runs, durations, etc.
3726 { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event.
3727 &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).
3728 &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.
3729 &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.
3730 &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.
3731 &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.
3732 &quot;errorEnumList&quot;: { # List of error enums for alerts.
3733 &quot;enumStrings&quot;: [
3734 &quot;A String&quot;,
3735 ],
3736 &quot;filterType&quot;: &quot;A String&quot;,
3737 },
3738 &quot;metricType&quot;: &quot;A String&quot;,
3739 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
3740 &quot;onlyFinalAttempt&quot;: True or False, # Only count final task attempts, not retries.
3741 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
3742 &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.
3743 &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.
3744 &quot;absolute&quot;: &quot;A String&quot;,
3745 &quot;percentage&quot;: 42,
3746 },
3747 &quot;warningEnumList&quot;: { # List of error enums for alerts.
3748 &quot;enumStrings&quot;: [
3749 &quot;A String&quot;,
3750 ],
3751 &quot;filterType&quot;: &quot;A String&quot;,
3752 },
3753 },
3754 ],
3755 &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).
3756 &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
3757 &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.
3758 &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.
3759 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
3760 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
3761 },
3762 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
3763 { # 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).
3764 &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.
3765 &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.
3766 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
3767 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
3768 },
3769 ],
3770 },
3771 &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
3772 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address. Auto-generated from the user&#x27;s email.
3773 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
3774 &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.
3775 &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
3776 &quot;externalTaskType&quot;: &quot;A String&quot;,
3777 &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.).
3778 &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.
3779 &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.
3780 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
3781 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
3782 },
3783 &quot;incomingEdgeCount&quot;: 42, # The number of edges leading into this TaskConfig.
3784 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # If set, overrides the option configured in the Task implementation class.
3785 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this TaskConfig in the UI.
3786 &quot;lastModifiedTime&quot;: &quot;A String&quot;, # Auto-generated.
3787 &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.
3788 { # The task that is next in line to be executed, if the condition specified evaluated to true.
3789 &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`
3790 { # This message recursively combines constituent conditions using logical AND.
3791 &quot;conditions&quot;: [ # A set of individual constituent conditions.
3792 { # Condition that uses `operator` to evaluate the key against the value.
3793 &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.
3794 &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.
3795 &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.
3796 &quot;booleanValue&quot;: True or False,
3797 &quot;doubleArray&quot;: {
3798 &quot;values&quot;: [
3799 3.14,
3800 ],
3801 },
3802 &quot;doubleValue&quot;: 3.14,
3803 &quot;intArray&quot;: {
3804 &quot;values&quot;: [
3805 &quot;A String&quot;,
3806 ],
3807 },
3808 &quot;intValue&quot;: &quot;A String&quot;,
3809 &quot;protoValue&quot;: {
3810 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3811 },
3812 &quot;stringArray&quot;: {
3813 &quot;values&quot;: [
3814 &quot;A String&quot;,
3815 ],
3816 },
3817 &quot;stringValue&quot;: &quot;A String&quot;,
3818 },
3819 },
3820 ],
3821 },
3822 ],
3823 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
3824 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
3825 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
3826 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
3827 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
3828 },
3829 ],
3830 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # The policy dictating the execution of the next set of tasks for the current task.
3831 &quot;parameters&quot;: { # The customized parameters the user can pass to this task.
3832 &quot;a_key&quot;: { # Key-value pair of EventBus parameters.
3833 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
3834 &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.
3835 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
3836 &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.
3837 &quot;booleanArray&quot;: {
3838 &quot;booleanValues&quot;: [
3839 True or False,
3840 ],
3841 },
3842 &quot;booleanValue&quot;: True or False,
3843 &quot;doubleArray&quot;: {
3844 &quot;doubleValues&quot;: [
3845 3.14,
3846 ],
3847 },
3848 &quot;doubleValue&quot;: 3.14,
3849 &quot;intArray&quot;: {
3850 &quot;intValues&quot;: [
3851 &quot;A String&quot;,
3852 ],
3853 },
3854 &quot;intValue&quot;: &quot;A String&quot;,
3855 &quot;jsonValue&quot;: &quot;A String&quot;,
3856 &quot;protoArray&quot;: {
3857 &quot;protoValues&quot;: [
3858 {
3859 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3860 },
3861 ],
3862 },
3863 &quot;protoValue&quot;: {
3864 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3865 },
3866 &quot;serializedObjectValue&quot;: {
3867 &quot;objectValue&quot;: &quot;A String&quot;,
3868 },
3869 &quot;stringArray&quot;: {
3870 &quot;stringValues&quot;: [
3871 &quot;A String&quot;,
3872 ],
3873 },
3874 &quot;stringValue&quot;: &quot;A String&quot;,
3875 },
3876 },
3877 },
3878 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this task config on the UI.
3879 &quot;x&quot;: 42,
3880 &quot;y&quot;: 42,
3881 },
3882 &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.
3883 &quot;preconditionLabel&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to precondition in the UI.
3884 &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).
3885 &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.
3886 &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.
3887 { # Key-value pair of EventBus parameters.
3888 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
3889 &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.
3890 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
3891 &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.
3892 &quot;booleanArray&quot;: {
3893 &quot;booleanValues&quot;: [
3894 True or False,
3895 ],
3896 },
3897 &quot;booleanValue&quot;: True or False,
3898 &quot;doubleArray&quot;: {
3899 &quot;doubleValues&quot;: [
3900 3.14,
3901 ],
3902 },
3903 &quot;doubleValue&quot;: 3.14,
3904 &quot;intArray&quot;: {
3905 &quot;intValues&quot;: [
3906 &quot;A String&quot;,
3907 ],
3908 },
3909 &quot;intValue&quot;: &quot;A String&quot;,
3910 &quot;jsonValue&quot;: &quot;A String&quot;,
3911 &quot;protoArray&quot;: {
3912 &quot;protoValues&quot;: [
3913 {
3914 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3915 },
3916 ],
3917 },
3918 &quot;protoValue&quot;: {
3919 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3920 },
3921 &quot;serializedObjectValue&quot;: {
3922 &quot;objectValue&quot;: &quot;A String&quot;,
3923 },
3924 &quot;stringArray&quot;: {
3925 &quot;stringValues&quot;: [
3926 &quot;A String&quot;,
3927 ],
3928 },
3929 &quot;stringValue&quot;: &quot;A String&quot;,
3930 },
3931 },
3932 ],
3933 },
3934 &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.
3935 &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.
3936 &quot;A String&quot;,
3937 ],
3938 },
3939 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Determines what action to take upon successful task completion.
3940 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
3941 },
3942 &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).
3943 &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.
3944 &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.
3945 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
3946 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
3947 },
3948 &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.
3949 &quot;disabledForVpcSc&quot;: True or False, # True if the task has conflict with vpcsc
3950 &quot;metadata&quot;: { # TaskMetadata are attributes that are associated to every common Task we have. # Metadata inclueds the task name, author and so on.
3951 &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.
3952 &quot;admins&quot;: [
3953 { # 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.
3954 &quot;googleGroupEmail&quot;: &quot;A String&quot;,
3955 &quot;userEmail&quot;: &quot;A String&quot;,
3956 },
3957 ],
3958 &quot;category&quot;: &quot;A String&quot;,
3959 &quot;codeSearchLink&quot;: &quot;A String&quot;, # The Code Search link to the Task Java file.
3960 &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.
3961 &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.
3962 &quot;description&quot;: &quot;A String&quot;, # In a few sentences, describe the purpose and usage of the task.
3963 &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;)
3964 &quot;docMarkdown&quot;: &quot;A String&quot;, # Snippet of markdown documentation to embed in the RHP for this task.
3965 &quot;externalCategory&quot;: &quot;A String&quot;,
3966 &quot;externalCategorySequence&quot;: 42, # Sequence with which the task in specific category to be displayed in task discovery panel for external users.
3967 &quot;externalDocHtml&quot;: &quot;A String&quot;, # External-facing documention embedded in the RHP for this task.
3968 &quot;externalDocLink&quot;: &quot;A String&quot;, # Doc link for external-facing documentation (separate from g3doc).
3969 &quot;externalDocMarkdown&quot;: &quot;A String&quot;, # DEPRECATED: Use external_doc_html.
3970 &quot;g3DocLink&quot;: &quot;A String&quot;, # URL to the associated G3 Doc for the task if available
3971 &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.
3972 &quot;isDeprecated&quot;: True or False, # The deprecation status of the current task. Default value is false;
3973 &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.
3974 &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
3975 &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.
3976 &quot;system&quot;: &quot;A String&quot;,
3977 &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.
3978 &quot;A String&quot;,
3979 ],
3980 },
3981 &quot;paramSpecs&quot;: { # Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask.
3982 &quot;parameters&quot;: [
3983 { # Key-value pair of EventBus task parameters. Next id: 13
3984 &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.
3985 &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.
3986 &quot;config&quot;: { # Optional fields, such as help text and other useful info.
3987 &quot;descriptivePhrase&quot;: &quot;A String&quot;, # A short phrase to describe what this parameter contains.
3988 &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.
3989 &quot;hideDefaultValue&quot;: True or False, # Whether the default value is hidden in the UI.
3990 &quot;inputDisplayOption&quot;: &quot;A String&quot;,
3991 &quot;isHidden&quot;: True or False, # Whether this field is hidden in the UI.
3992 &quot;label&quot;: &quot;A String&quot;, # A user-friendly label for the parameter.
3993 &quot;parameterNameOption&quot;: &quot;A String&quot;,
3994 &quot;subSectionLabel&quot;: &quot;A String&quot;, # A user-friendly label for subSection under which the parameter will be displayed.
3995 &quot;uiPlaceholderText&quot;: &quot;A String&quot;, # Placeholder text which will appear in the UI input form for this parameter.
3996 },
3997 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
3998 &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.
3999 &quot;booleanArray&quot;: {
4000 &quot;booleanValues&quot;: [
4001 True or False,
4002 ],
4003 },
4004 &quot;booleanValue&quot;: True or False,
4005 &quot;doubleArray&quot;: {
4006 &quot;doubleValues&quot;: [
4007 3.14,
4008 ],
4009 },
4010 &quot;doubleValue&quot;: 3.14,
4011 &quot;intArray&quot;: {
4012 &quot;intValues&quot;: [
4013 &quot;A String&quot;,
4014 ],
4015 },
4016 &quot;intValue&quot;: &quot;A String&quot;,
4017 &quot;jsonValue&quot;: &quot;A String&quot;,
4018 &quot;protoArray&quot;: {
4019 &quot;protoValues&quot;: [
4020 {
4021 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4022 },
4023 ],
4024 },
4025 &quot;protoValue&quot;: {
4026 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4027 },
4028 &quot;serializedObjectValue&quot;: {
4029 &quot;objectValue&quot;: &quot;A String&quot;,
4030 },
4031 &quot;stringArray&quot;: {
4032 &quot;stringValues&quot;: [
4033 &quot;A String&quot;,
4034 ],
4035 },
4036 &quot;stringValue&quot;: &quot;A String&quot;,
4037 },
4038 &quot;isDeprecated&quot;: True or False, # If set, this entry is deprecated, so further use of this parameter should be prohibited.
4039 &quot;isOutput&quot;: True or False,
4040 &quot;jsonSchema&quot;: &quot;A String&quot;, # If the data_type is JSON_VALUE, then this will define its schema.
4041 &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.
4042 &quot;protoDef&quot;: { # Populated if this represents a proto or proto array.
4043 &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;.
4044 &quot;path&quot;: &quot;A String&quot;, # Path to the proto file that contains the message type&#x27;s definition.
4045 },
4046 &quot;required&quot;: True or False, # If set, the user must provide an input value for this parameter.
4047 &quot;validationRule&quot;: { # Rule used to validate inputs (individual values and collection elements) for this parameter.
4048 &quot;doubleRange&quot;: { # Range used to validate doubles and floats.
4049 &quot;max&quot;: 3.14, # The inclusive maximum of the acceptable range.
4050 &quot;min&quot;: 3.14, # The inclusive minimum of the acceptable range.
4051 },
4052 &quot;intRange&quot;: { # Range used to validate longs and ints.
4053 &quot;max&quot;: &quot;A String&quot;, # The inclusive maximum of the acceptable range.
4054 &quot;min&quot;: &quot;A String&quot;, # The inclusive minimum of the acceptable range.
4055 },
4056 &quot;stringRegex&quot;: { # Rule used to validate strings.
4057 &quot;exclusive&quot;: True or False, # Whether the regex matcher is applied exclusively (if true, matching values will be rejected).
4058 &quot;regex&quot;: &quot;A String&quot;, # The regex applied to the input value(s).
4059 },
4060 },
4061 },
4062 ],
4063 },
4064 &quot;stats&quot;: { # Stats for the requested dimensions: QPS, duration, and error/warning rate # Deprecated - statistics from the Monarch query.
4065 &quot;dimensions&quot;: { # Dimensions that these stats have been aggregated on.
4066 &quot;clientId&quot;: &quot;A String&quot;,
4067 &quot;enumFilterType&quot;: &quot;A String&quot;, # Whether to include or exclude the enums matching the regex.
4068 &quot;errorEnumString&quot;: &quot;A String&quot;,
4069 &quot;retryAttempt&quot;: &quot;A String&quot;,
4070 &quot;taskName&quot;: &quot;A String&quot;,
4071 &quot;taskNumber&quot;: &quot;A String&quot;,
4072 &quot;triggerId&quot;: &quot;A String&quot;, # Stats have been or will be aggregated on set fields for any semantically-meaningful combination.
4073 &quot;warningEnumString&quot;: &quot;A String&quot;,
4074 &quot;workflowId&quot;: &quot;A String&quot;,
4075 &quot;workflowName&quot;: &quot;A String&quot;,
4076 },
4077 &quot;durationInSeconds&quot;: 3.14, # Average duration in seconds.
4078 &quot;errorRate&quot;: 3.14, # Average error rate.
4079 &quot;qps&quot;: 3.14, # Queries per second.
4080 &quot;warningRate&quot;: 3.14, # Average warning rate.
4081 },
4082 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
4083 &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.
4084 &quot;taskUiModuleConfigs&quot;: [ # Configurations of included config modules.
4085 { # Task author would use this type to configure a config module.
4086 &quot;moduleId&quot;: &quot;A String&quot;, # ID of the config module.
4087 },
4088 ],
4089 },
4090 },
4091 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # The policy dictating the execution strategy of this task.
4092 &quot;taskName&quot;: &quot;A String&quot;, # The name for the task.
4093 &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`).
4094 &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.
4095 &quot;taskTemplateName&quot;: &quot;A String&quot;, # Used to define task-template name if task is of type task-template
4096 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
4097 },
4098 ],
4099 &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.
4100 &quot;teardownTaskConfigs&quot;: [ # Required.
4101 {
4102 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address.
4103 &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.
4104 &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).
4105 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the next teardown task.
4106 },
4107 &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.
4108 &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.
4109 { # Key-value pair of EventBus parameters.
4110 &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.
4111 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
4112 &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.
4113 &quot;booleanArray&quot;: {
4114 &quot;booleanValues&quot;: [
4115 True or False,
4116 ],
4117 },
4118 &quot;booleanValue&quot;: True or False,
4119 &quot;doubleArray&quot;: {
4120 &quot;doubleValues&quot;: [
4121 3.14,
4122 ],
4123 },
4124 &quot;doubleValue&quot;: 3.14,
4125 &quot;intArray&quot;: {
4126 &quot;intValues&quot;: [
4127 &quot;A String&quot;,
4128 ],
4129 },
4130 &quot;intValue&quot;: &quot;A String&quot;,
4131 &quot;protoArray&quot;: {
4132 &quot;protoValues&quot;: [
4133 {
4134 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4135 },
4136 ],
4137 },
4138 &quot;protoValue&quot;: {
4139 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4140 },
4141 &quot;serializedObjectValue&quot;: {
4142 &quot;objectValue&quot;: &quot;A String&quot;,
4143 },
4144 &quot;stringArray&quot;: {
4145 &quot;stringValues&quot;: [
4146 &quot;A String&quot;,
4147 ],
4148 },
4149 &quot;stringValue&quot;: &quot;A String&quot;,
4150 },
4151 },
4152 ],
4153 },
4154 &quot;properties&quot;: { # LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus.
4155 &quot;properties&quot;: [ # An unordered list of property entries.
4156 { # Key-value pair of EventBus property.
4157 &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.
4158 &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.
4159 &quot;booleanValue&quot;: True or False,
4160 &quot;doubleArray&quot;: {
4161 &quot;values&quot;: [
4162 3.14,
4163 ],
4164 },
4165 &quot;doubleValue&quot;: 3.14,
4166 &quot;intArray&quot;: {
4167 &quot;values&quot;: [
4168 &quot;A String&quot;,
4169 ],
4170 },
4171 &quot;intValue&quot;: &quot;A String&quot;,
4172 &quot;protoValue&quot;: {
4173 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4174 },
4175 &quot;stringArray&quot;: {
4176 &quot;values&quot;: [
4177 &quot;A String&quot;,
4178 ],
4179 },
4180 &quot;stringValue&quot;: &quot;A String&quot;,
4181 },
4182 },
4183 ],
4184 },
4185 &quot;teardownTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. Implementation class name.
4186 },
4187 ],
4188 },
4189 &quot;triggerConfigs&quot;: [ # Optional. Trigger configurations.
4190 { # Configuration detail of a trigger.
4191 &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.
4192 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
4193 &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.
4194 &quot;alertThreshold&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
4195 &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.
4196 &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.
4197 &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.
4198 &quot;metricType&quot;: &quot;A String&quot;, # The type of metric.
4199 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
4200 &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.
4201 &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.
4202 &quot;absolute&quot;: &quot;A String&quot;, # Absolute value threshold.
4203 &quot;percentage&quot;: 42, # Percentage threshold.
4204 },
4205 },
4206 ],
4207 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration # Optional. Cloud Scheduler Trigger related metadata
4208 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
4209 &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
4210 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
4211 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
4212 },
4213 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
4214 &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
4215 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
4216 &quot;names&quot;: [ # Optional. List of variable names.
4217 &quot;A String&quot;,
4218 ],
4219 },
4220 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular trigger.
4221 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. Dictates how next tasks will be executed.
4222 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
4223 &quot;names&quot;: [ # Optional. List of variable names.
4224 &quot;A String&quot;,
4225 ],
4226 },
4227 &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.
4228 &quot;x&quot;: 42, # Required. X axis of the coordinate
4229 &quot;y&quot;: 42, # Required. Y axis of the coordinate
4230 },
4231 &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.
4232 &quot;a_key&quot;: &quot;A String&quot;,
4233 },
4234 &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).
4235 { # The task that is next in line to be executed, if the condition specified evaluated to true.
4236 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
4237 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
4238 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
4239 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
4240 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
4241 },
4242 ],
4243 &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.
4244 &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}
4245 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the integration on UI.
4246 &quot;triggerType&quot;: &quot;A String&quot;, # Optional. Type of trigger
4247 },
4248 ],
4249 &quot;triggerConfigsInternal&quot;: [ # Optional. Trigger configurations.
4250 { # Configuration detail of a trigger. Next available id: 22
4251 &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.
4252 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
4253 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
4254 &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.
4255 &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.
4256 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration.
4257 &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.
4258 &quot;errorEnumList&quot;: { # List of error enums for alerts.
4259 &quot;enumStrings&quot;: [
4260 &quot;A String&quot;,
4261 ],
4262 &quot;filterType&quot;: &quot;A String&quot;,
4263 },
4264 &quot;metricType&quot;: &quot;A String&quot;,
4265 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
4266 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
4267 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
4268 &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.
4269 &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.
4270 &quot;absolute&quot;: &quot;A String&quot;,
4271 &quot;percentage&quot;: 42,
4272 },
4273 &quot;warningEnumList&quot;: { # List of error enums for alerts.
4274 &quot;enumStrings&quot;: [
4275 &quot;A String&quot;,
4276 ],
4277 &quot;filterType&quot;: &quot;A String&quot;,
4278 },
4279 },
4280 ],
4281 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration
4282 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
4283 &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
4284 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
4285 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
4286 },
4287 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
4288 &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.
4289 &quot;A String&quot;,
4290 ],
4291 &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
4292 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
4293 &quot;names&quot;: [ # Optional. List of variable names.
4294 &quot;A String&quot;,
4295 ],
4296 },
4297 &quot;label&quot;: &quot;A String&quot;, # The user created label for a particular trigger.
4298 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Dictates how next tasks will be executed.
4299 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
4300 &quot;names&quot;: [ # Optional. List of variable names.
4301 &quot;A String&quot;,
4302 ],
4303 },
4304 &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.
4305 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this trigger config on the UI.
4306 &quot;x&quot;: 42,
4307 &quot;y&quot;: 42,
4308 },
4309 &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.
4310 &quot;a_key&quot;: &quot;A String&quot;,
4311 },
4312 &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).
4313 { # The task that is next in line to be executed, if the condition specified evaluated to true.
4314 &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`
4315 { # This message recursively combines constituent conditions using logical AND.
4316 &quot;conditions&quot;: [ # A set of individual constituent conditions.
4317 { # Condition that uses `operator` to evaluate the key against the value.
4318 &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.
4319 &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.
4320 &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.
4321 &quot;booleanValue&quot;: True or False,
4322 &quot;doubleArray&quot;: {
4323 &quot;values&quot;: [
4324 3.14,
4325 ],
4326 },
4327 &quot;doubleValue&quot;: 3.14,
4328 &quot;intArray&quot;: {
4329 &quot;values&quot;: [
4330 &quot;A String&quot;,
4331 ],
4332 },
4333 &quot;intValue&quot;: &quot;A String&quot;,
4334 &quot;protoValue&quot;: {
4335 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4336 },
4337 &quot;stringArray&quot;: {
4338 &quot;values&quot;: [
4339 &quot;A String&quot;,
4340 ],
4341 },
4342 &quot;stringValue&quot;: &quot;A String&quot;,
4343 },
4344 },
4345 ],
4346 },
4347 ],
4348 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
4349 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
4350 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
4351 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
4352 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
4353 },
4354 ],
4355 &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.
4356 &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.
4357 &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.
4358 &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.
4359 { # Key-value pair of EventBus parameters.
4360 &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.
4361 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
4362 &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.
4363 &quot;booleanArray&quot;: {
4364 &quot;booleanValues&quot;: [
4365 True or False,
4366 ],
4367 },
4368 &quot;booleanValue&quot;: True or False,
4369 &quot;doubleArray&quot;: {
4370 &quot;doubleValues&quot;: [
4371 3.14,
4372 ],
4373 },
4374 &quot;doubleValue&quot;: 3.14,
4375 &quot;intArray&quot;: {
4376 &quot;intValues&quot;: [
4377 &quot;A String&quot;,
4378 ],
4379 },
4380 &quot;intValue&quot;: &quot;A String&quot;,
4381 &quot;protoArray&quot;: {
4382 &quot;protoValues&quot;: [
4383 {
4384 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4385 },
4386 ],
4387 },
4388 &quot;protoValue&quot;: {
4389 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4390 },
4391 &quot;serializedObjectValue&quot;: {
4392 &quot;objectValue&quot;: &quot;A String&quot;,
4393 },
4394 &quot;stringArray&quot;: {
4395 &quot;stringValues&quot;: [
4396 &quot;A String&quot;,
4397 ],
4398 },
4399 &quot;stringValue&quot;: &quot;A String&quot;,
4400 },
4401 },
4402 ],
4403 },
4404 &quot;triggerCriteriaTaskImplementationClassName&quot;: &quot;A String&quot;, # Optional. Implementation class name. The class should implement the “TypedTask” interface.
4405 },
4406 &quot;triggerId&quot;: &quot;A String&quot;, # The backend trigger ID.
4407 &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.
4408 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the workflow on UI.
4409 &quot;triggerType&quot;: &quot;A String&quot;,
4410 },
4411 ],
4412 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
4413 &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.
4414 }</pre>
4415 </div>
4416
4417 <div class="method">
4418 <code class="details" id="list">list(parent, fieldMask=None, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
4419 <pre>Returns the list of all integration versions in the specified project.
4420
4421 Args:
4422 parent: string, Required. The parent resource where this version will be created. Format: projects/{project}/locations/{location}/integrations/{integration} Specifically, when parent equals: 1. projects//locations//integrations/, Meaning: &quot;List versions (with filter) for a particular integration&quot;. 2. projects//locations//integrations/- Meaning: &quot;List versions (with filter) for a client within a particular region&quot;. (required)
4423 fieldMask: string, The field mask which specifies the particular data to be returned.
4424 filter: string, Filter on fields of IntegrationVersion. Fields can be compared with literal values by use of &quot;:&quot; (containment), &quot;=&quot; (equality), &quot;&gt;&quot; (greater), &quot;&lt;&quot; (less than), &gt;=&quot; (greater than or equal to), &quot;&lt;=&quot; (less than or equal to), and &quot;!=&quot; (inequality) operators. Negation, conjunction, and disjunction are written using NOT, AND, and OR keywords. For example, organization_id=\&quot;1\&quot; AND state=ACTIVE AND description:&quot;test&quot;. Filtering cannot be performed on repeated fields like `task_config`.
4425 orderBy: string, The results would be returned in order you specified here. Currently supported sort keys are: Descending sort order for &quot;last\_modified\_time&quot;, &quot;created\_time&quot;, and &quot;snapshot\_number&quot;. Ascending sort order for `name`.
4426 pageSize: integer, The maximum number of versions to return. The service may return fewer than this value. If unspecified, at most 50 versions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
4427 pageToken: string, A page token, received from a previous `ListIntegrationVersions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListIntegrationVersions` must match the call that provided the page token.
4428 x__xgafv: string, V1 error format.
4429 Allowed values
4430 1 - v1 error format
4431 2 - v2 error format
4432
4433 Returns:
4434 An object of the form:
4435
4436 { # Response for ListIntegrationVersions.
4437 &quot;integrationVersions&quot;: [ # The integrations which match the request.
4438 { # The integration version definition.
4439 &quot;cloudKmsKey&quot;: &quot;A String&quot;, # Optional. Cloud KMS resource name for the CMEK encryption key.
4440 &quot;cloudLoggingDetails&quot;: { # Cloud Logging details for execution info # Optional. Cloud Logging details for the integration version
4441 &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.
4442 &quot;enableCloudLogging&quot;: True or False, # Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.
4443 },
4444 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
4445 &quot;createdFromTemplate&quot;: &quot;A String&quot;, # Optional. Optional. The resource name of the template from which the integration is created.
4446 &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.
4447 &quot;description&quot;: &quot;A String&quot;, # Optional. The integration description.
4448 &quot;enableVariableMasking&quot;: True or False, # Optional. True if variable masking feature should be turned on for this version
4449 &quot;errorCatcherConfigs&quot;: [ # Optional. Error Catch Task configuration for the integration. It&#x27;s optional.
4450 { # Configuration detail of a error catch task
4451 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give more business context about the error catcher config.
4452 &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
4453 &quot;errorCatcherNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each error catcher config within the workflow on UI.
4454 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular error catcher. Optional.
4455 &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.
4456 &quot;x&quot;: 42, # Required. X axis of the coordinate
4457 &quot;y&quot;: 42, # Required. Y axis of the coordinate
4458 },
4459 &quot;startErrorTasks&quot;: [ # Required. The set of start tasks that are to be executed for the error catch flow
4460 { # The task that is next in line to be executed, if the condition specified evaluated to true.
4461 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
4462 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
4463 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
4464 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
4465 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
4466 },
4467 ],
4468 },
4469 ],
4470 &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.
4471 { # 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.
4472 &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.
4473 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
4474 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
4475 &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.
4476 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
4477 &quot;booleanValues&quot;: [ # Boolean array.
4478 True or False,
4479 ],
4480 },
4481 &quot;booleanValue&quot;: True or False, # Boolean.
4482 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
4483 &quot;doubleValues&quot;: [ # Double number array.
4484 3.14,
4485 ],
4486 },
4487 &quot;doubleValue&quot;: 3.14, # Double Number.
4488 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
4489 &quot;intValues&quot;: [ # Integer array.
4490 &quot;A String&quot;,
4491 ],
4492 },
4493 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
4494 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
4495 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
4496 &quot;stringValues&quot;: [ # String array.
4497 &quot;A String&quot;,
4498 ],
4499 },
4500 &quot;stringValue&quot;: &quot;A String&quot;, # String.
4501 },
4502 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
4503 &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;.
4504 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
4505 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
4506 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
4507 &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.
4508 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
4509 &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.
4510 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
4511 },
4512 &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.
4513 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
4514 &quot;booleanValues&quot;: [ # Boolean array.
4515 True or False,
4516 ],
4517 },
4518 &quot;booleanValue&quot;: True or False, # Boolean.
4519 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
4520 &quot;doubleValues&quot;: [ # Double number array.
4521 3.14,
4522 ],
4523 },
4524 &quot;doubleValue&quot;: 3.14, # Double Number.
4525 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
4526 &quot;intValues&quot;: [ # Integer array.
4527 &quot;A String&quot;,
4528 ],
4529 },
4530 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
4531 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
4532 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
4533 &quot;stringValues&quot;: [ # String array.
4534 &quot;A String&quot;,
4535 ],
4536 },
4537 &quot;stringValue&quot;: &quot;A String&quot;, # String.
4538 },
4539 },
4540 ],
4541 &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.
4542 { # 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.
4543 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
4544 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
4545 &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.
4546 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
4547 &quot;booleanValues&quot;: [ # Boolean array.
4548 True or False,
4549 ],
4550 },
4551 &quot;booleanValue&quot;: True or False, # Boolean.
4552 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
4553 &quot;doubleValues&quot;: [ # Double number array.
4554 3.14,
4555 ],
4556 },
4557 &quot;doubleValue&quot;: 3.14, # Double Number.
4558 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
4559 &quot;intValues&quot;: [ # Integer array.
4560 &quot;A String&quot;,
4561 ],
4562 },
4563 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
4564 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
4565 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
4566 &quot;stringValues&quot;: [ # String array.
4567 &quot;A String&quot;,
4568 ],
4569 },
4570 &quot;stringValue&quot;: &quot;A String&quot;, # String.
4571 },
4572 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
4573 &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;.
4574 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
4575 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
4576 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
4577 &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.
4578 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
4579 &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.
4580 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
4581 },
4582 ],
4583 &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.
4584 &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.
4585 {
4586 &quot;attributes&quot;: { # Attributes are additional options that can be associated with each event property. For more information, see # Metadata information about the parameters.
4587 &quot;dataType&quot;: &quot;A String&quot;, # Things like URL, Email, Currency, Timestamp (rather than string, int64...)
4588 &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.
4589 &quot;booleanValue&quot;: True or False,
4590 &quot;doubleArray&quot;: {
4591 &quot;values&quot;: [
4592 3.14,
4593 ],
4594 },
4595 &quot;doubleValue&quot;: 3.14,
4596 &quot;intArray&quot;: {
4597 &quot;values&quot;: [
4598 &quot;A String&quot;,
4599 ],
4600 },
4601 &quot;intValue&quot;: &quot;A String&quot;,
4602 &quot;protoValue&quot;: {
4603 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4604 },
4605 &quot;stringArray&quot;: {
4606 &quot;values&quot;: [
4607 &quot;A String&quot;,
4608 ],
4609 },
4610 &quot;stringValue&quot;: &quot;A String&quot;,
4611 },
4612 &quot;isRequired&quot;: True or False, # Required for event execution. The validation will be done by the event bus when the event is triggered.
4613 &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.
4614 &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
4615 &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.
4616 &quot;seedPeriod&quot;: &quot;A String&quot;,
4617 &quot;seedScope&quot;: &quot;A String&quot;,
4618 },
4619 &quot;masked&quot;: True or False, # True if this workflow parameter should be masked in the logs
4620 &quot;readOnly&quot;: True or False, # Used to indicate if the ParameterEntry is a read only field or not.
4621 &quot;searchable&quot;: &quot;A String&quot;,
4622 &quot;taskVisibility&quot;: [ # List of tasks that can view this property, if empty then all.
4623 &quot;A String&quot;,
4624 ],
4625 },
4626 &quot;children&quot;: [ # Child parameters nested within this parameter. This field only applies to protobuf parameters
4627 # Object with schema name: EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
4628 ],
4629 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
4630 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
4631 &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.
4632 &quot;booleanArray&quot;: {
4633 &quot;booleanValues&quot;: [
4634 True or False,
4635 ],
4636 },
4637 &quot;booleanValue&quot;: True or False,
4638 &quot;doubleArray&quot;: {
4639 &quot;doubleValues&quot;: [
4640 3.14,
4641 ],
4642 },
4643 &quot;doubleValue&quot;: 3.14,
4644 &quot;intArray&quot;: {
4645 &quot;intValues&quot;: [
4646 &quot;A String&quot;,
4647 ],
4648 },
4649 &quot;intValue&quot;: &quot;A String&quot;,
4650 &quot;jsonValue&quot;: &quot;A String&quot;,
4651 &quot;protoArray&quot;: {
4652 &quot;protoValues&quot;: [
4653 {
4654 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4655 },
4656 ],
4657 },
4658 &quot;protoValue&quot;: {
4659 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4660 },
4661 &quot;serializedObjectValue&quot;: {
4662 &quot;objectValue&quot;: &quot;A String&quot;,
4663 },
4664 &quot;stringArray&quot;: {
4665 &quot;stringValues&quot;: [
4666 &quot;A String&quot;,
4667 ],
4668 },
4669 &quot;stringValue&quot;: &quot;A String&quot;,
4670 },
4671 &quot;description&quot;: &quot;A String&quot;, # Optional. The description about the parameter
4672 &quot;inOutType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
4673 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
4674 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
4675 &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.
4676 &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;.
4677 &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.
4678 &quot;elementIdentifier&quot;: &quot;A String&quot;, # Configuration of the edge.
4679 &quot;elementType&quot;: &quot;A String&quot;, # Destination node where the edge ends. It can only be a task config.
4680 },
4681 &quot;producer&quot;: &quot;A String&quot;,
4682 &quot;protoDefName&quot;: &quot;A String&quot;, # The name of the protobuf type if the parameter has a protobuf data type.
4683 &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;.
4684 &quot;required&quot;: True or False,
4685 },
4686 ],
4687 },
4688 &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.
4689 &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.
4690 &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
4691 &quot;origin&quot;: &quot;A String&quot;, # Optional. The origin that indicates where this integration is coming from.
4692 &quot;parentTemplateId&quot;: &quot;A String&quot;, # Optional. The id of the template which was used to create this integration_version.
4693 &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.
4694 &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.
4695 &quot;state&quot;: &quot;A String&quot;, # Output only. User should not set it as an input.
4696 &quot;status&quot;: &quot;A String&quot;, # Output only. Generated by eventbus. User should not set it as an input.
4697 &quot;taskConfigs&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
4698 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
4699 &quot;conditionalFailurePolicies&quot;: { # Conditional task failur retry strategies # Optional. The list of conditional failure policies that will be applied to the task in order.
4700 &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.
4701 &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.
4702 &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.
4703 &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.
4704 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
4705 },
4706 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
4707 { # 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).
4708 &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.
4709 &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.
4710 &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.
4711 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
4712 },
4713 ],
4714 },
4715 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
4716 &quot;displayName&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to this TaskConfig in the UI.
4717 &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
4718 &quot;externalTaskType&quot;: &quot;A String&quot;, # Optional. External task type of the task
4719 &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.).
4720 &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.
4721 &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.
4722 &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.
4723 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
4724 },
4725 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # Optional. If set, overrides the option configured in the Task implementation class.
4726 &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.
4727 { # The task that is next in line to be executed, if the condition specified evaluated to true.
4728 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
4729 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
4730 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
4731 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
4732 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
4733 },
4734 ],
4735 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution of the next set of tasks for the current task.
4736 &quot;parameters&quot;: { # Optional. The customized parameters the user can pass to this task.
4737 &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
4738 &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.
4739 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
4740 &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.
4741 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
4742 &quot;booleanValues&quot;: [ # Boolean array.
4743 True or False,
4744 ],
4745 },
4746 &quot;booleanValue&quot;: True or False, # Boolean.
4747 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
4748 &quot;doubleValues&quot;: [ # Double number array.
4749 3.14,
4750 ],
4751 },
4752 &quot;doubleValue&quot;: 3.14, # Double Number.
4753 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
4754 &quot;intValues&quot;: [ # Integer array.
4755 &quot;A String&quot;,
4756 ],
4757 },
4758 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
4759 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
4760 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
4761 &quot;stringValues&quot;: [ # String array.
4762 &quot;A String&quot;,
4763 ],
4764 },
4765 &quot;stringValue&quot;: &quot;A String&quot;, # String.
4766 },
4767 },
4768 },
4769 &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.
4770 &quot;x&quot;: 42, # Required. X axis of the coordinate
4771 &quot;y&quot;: 42, # Required. Y axis of the coordinate
4772 },
4773 &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.
4774 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
4775 },
4776 &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).
4777 &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.
4778 &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.
4779 &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.
4780 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
4781 },
4782 &quot;task&quot;: &quot;A String&quot;, # Optional. The name for the task.
4783 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution strategy of this task.
4784 &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`).
4785 &quot;taskTemplate&quot;: &quot;A String&quot;, # Optional. Used to define task-template name if task is of type task-template
4786 },
4787 ],
4788 &quot;taskConfigsInternal&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
4789 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
4790 &quot;alertConfigs&quot;: [ # Alert configurations on error rate, warning rate, number of runs, durations, etc.
4791 { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event.
4792 &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).
4793 &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.
4794 &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.
4795 &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.
4796 &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.
4797 &quot;errorEnumList&quot;: { # List of error enums for alerts.
4798 &quot;enumStrings&quot;: [
4799 &quot;A String&quot;,
4800 ],
4801 &quot;filterType&quot;: &quot;A String&quot;,
4802 },
4803 &quot;metricType&quot;: &quot;A String&quot;,
4804 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
4805 &quot;onlyFinalAttempt&quot;: True or False, # Only count final task attempts, not retries.
4806 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
4807 &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.
4808 &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.
4809 &quot;absolute&quot;: &quot;A String&quot;,
4810 &quot;percentage&quot;: 42,
4811 },
4812 &quot;warningEnumList&quot;: { # List of error enums for alerts.
4813 &quot;enumStrings&quot;: [
4814 &quot;A String&quot;,
4815 ],
4816 &quot;filterType&quot;: &quot;A String&quot;,
4817 },
4818 },
4819 ],
4820 &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).
4821 &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
4822 &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.
4823 &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.
4824 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
4825 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
4826 },
4827 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
4828 { # 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).
4829 &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.
4830 &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.
4831 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
4832 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
4833 },
4834 ],
4835 },
4836 &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
4837 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address. Auto-generated from the user&#x27;s email.
4838 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
4839 &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.
4840 &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
4841 &quot;externalTaskType&quot;: &quot;A String&quot;,
4842 &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.).
4843 &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.
4844 &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.
4845 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
4846 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
4847 },
4848 &quot;incomingEdgeCount&quot;: 42, # The number of edges leading into this TaskConfig.
4849 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # If set, overrides the option configured in the Task implementation class.
4850 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this TaskConfig in the UI.
4851 &quot;lastModifiedTime&quot;: &quot;A String&quot;, # Auto-generated.
4852 &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.
4853 { # The task that is next in line to be executed, if the condition specified evaluated to true.
4854 &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`
4855 { # This message recursively combines constituent conditions using logical AND.
4856 &quot;conditions&quot;: [ # A set of individual constituent conditions.
4857 { # Condition that uses `operator` to evaluate the key against the value.
4858 &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.
4859 &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.
4860 &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.
4861 &quot;booleanValue&quot;: True or False,
4862 &quot;doubleArray&quot;: {
4863 &quot;values&quot;: [
4864 3.14,
4865 ],
4866 },
4867 &quot;doubleValue&quot;: 3.14,
4868 &quot;intArray&quot;: {
4869 &quot;values&quot;: [
4870 &quot;A String&quot;,
4871 ],
4872 },
4873 &quot;intValue&quot;: &quot;A String&quot;,
4874 &quot;protoValue&quot;: {
4875 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4876 },
4877 &quot;stringArray&quot;: {
4878 &quot;values&quot;: [
4879 &quot;A String&quot;,
4880 ],
4881 },
4882 &quot;stringValue&quot;: &quot;A String&quot;,
4883 },
4884 },
4885 ],
4886 },
4887 ],
4888 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
4889 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
4890 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
4891 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
4892 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
4893 },
4894 ],
4895 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # The policy dictating the execution of the next set of tasks for the current task.
4896 &quot;parameters&quot;: { # The customized parameters the user can pass to this task.
4897 &quot;a_key&quot;: { # Key-value pair of EventBus parameters.
4898 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
4899 &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.
4900 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
4901 &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.
4902 &quot;booleanArray&quot;: {
4903 &quot;booleanValues&quot;: [
4904 True or False,
4905 ],
4906 },
4907 &quot;booleanValue&quot;: True or False,
4908 &quot;doubleArray&quot;: {
4909 &quot;doubleValues&quot;: [
4910 3.14,
4911 ],
4912 },
4913 &quot;doubleValue&quot;: 3.14,
4914 &quot;intArray&quot;: {
4915 &quot;intValues&quot;: [
4916 &quot;A String&quot;,
4917 ],
4918 },
4919 &quot;intValue&quot;: &quot;A String&quot;,
4920 &quot;jsonValue&quot;: &quot;A String&quot;,
4921 &quot;protoArray&quot;: {
4922 &quot;protoValues&quot;: [
4923 {
4924 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4925 },
4926 ],
4927 },
4928 &quot;protoValue&quot;: {
4929 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4930 },
4931 &quot;serializedObjectValue&quot;: {
4932 &quot;objectValue&quot;: &quot;A String&quot;,
4933 },
4934 &quot;stringArray&quot;: {
4935 &quot;stringValues&quot;: [
4936 &quot;A String&quot;,
4937 ],
4938 },
4939 &quot;stringValue&quot;: &quot;A String&quot;,
4940 },
4941 },
4942 },
4943 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this task config on the UI.
4944 &quot;x&quot;: 42,
4945 &quot;y&quot;: 42,
4946 },
4947 &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.
4948 &quot;preconditionLabel&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to precondition in the UI.
4949 &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).
4950 &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.
4951 &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.
4952 { # Key-value pair of EventBus parameters.
4953 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
4954 &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.
4955 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
4956 &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.
4957 &quot;booleanArray&quot;: {
4958 &quot;booleanValues&quot;: [
4959 True or False,
4960 ],
4961 },
4962 &quot;booleanValue&quot;: True or False,
4963 &quot;doubleArray&quot;: {
4964 &quot;doubleValues&quot;: [
4965 3.14,
4966 ],
4967 },
4968 &quot;doubleValue&quot;: 3.14,
4969 &quot;intArray&quot;: {
4970 &quot;intValues&quot;: [
4971 &quot;A String&quot;,
4972 ],
4973 },
4974 &quot;intValue&quot;: &quot;A String&quot;,
4975 &quot;jsonValue&quot;: &quot;A String&quot;,
4976 &quot;protoArray&quot;: {
4977 &quot;protoValues&quot;: [
4978 {
4979 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4980 },
4981 ],
4982 },
4983 &quot;protoValue&quot;: {
4984 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4985 },
4986 &quot;serializedObjectValue&quot;: {
4987 &quot;objectValue&quot;: &quot;A String&quot;,
4988 },
4989 &quot;stringArray&quot;: {
4990 &quot;stringValues&quot;: [
4991 &quot;A String&quot;,
4992 ],
4993 },
4994 &quot;stringValue&quot;: &quot;A String&quot;,
4995 },
4996 },
4997 ],
4998 },
4999 &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.
5000 &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.
5001 &quot;A String&quot;,
5002 ],
5003 },
5004 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Determines what action to take upon successful task completion.
5005 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
5006 },
5007 &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).
5008 &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.
5009 &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.
5010 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
5011 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
5012 },
5013 &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.
5014 &quot;disabledForVpcSc&quot;: True or False, # True if the task has conflict with vpcsc
5015 &quot;metadata&quot;: { # TaskMetadata are attributes that are associated to every common Task we have. # Metadata inclueds the task name, author and so on.
5016 &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.
5017 &quot;admins&quot;: [
5018 { # 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.
5019 &quot;googleGroupEmail&quot;: &quot;A String&quot;,
5020 &quot;userEmail&quot;: &quot;A String&quot;,
5021 },
5022 ],
5023 &quot;category&quot;: &quot;A String&quot;,
5024 &quot;codeSearchLink&quot;: &quot;A String&quot;, # The Code Search link to the Task Java file.
5025 &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.
5026 &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.
5027 &quot;description&quot;: &quot;A String&quot;, # In a few sentences, describe the purpose and usage of the task.
5028 &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;)
5029 &quot;docMarkdown&quot;: &quot;A String&quot;, # Snippet of markdown documentation to embed in the RHP for this task.
5030 &quot;externalCategory&quot;: &quot;A String&quot;,
5031 &quot;externalCategorySequence&quot;: 42, # Sequence with which the task in specific category to be displayed in task discovery panel for external users.
5032 &quot;externalDocHtml&quot;: &quot;A String&quot;, # External-facing documention embedded in the RHP for this task.
5033 &quot;externalDocLink&quot;: &quot;A String&quot;, # Doc link for external-facing documentation (separate from g3doc).
5034 &quot;externalDocMarkdown&quot;: &quot;A String&quot;, # DEPRECATED: Use external_doc_html.
5035 &quot;g3DocLink&quot;: &quot;A String&quot;, # URL to the associated G3 Doc for the task if available
5036 &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.
5037 &quot;isDeprecated&quot;: True or False, # The deprecation status of the current task. Default value is false;
5038 &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.
5039 &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
5040 &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.
5041 &quot;system&quot;: &quot;A String&quot;,
5042 &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.
5043 &quot;A String&quot;,
5044 ],
5045 },
5046 &quot;paramSpecs&quot;: { # Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask.
5047 &quot;parameters&quot;: [
5048 { # Key-value pair of EventBus task parameters. Next id: 13
5049 &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.
5050 &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.
5051 &quot;config&quot;: { # Optional fields, such as help text and other useful info.
5052 &quot;descriptivePhrase&quot;: &quot;A String&quot;, # A short phrase to describe what this parameter contains.
5053 &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.
5054 &quot;hideDefaultValue&quot;: True or False, # Whether the default value is hidden in the UI.
5055 &quot;inputDisplayOption&quot;: &quot;A String&quot;,
5056 &quot;isHidden&quot;: True or False, # Whether this field is hidden in the UI.
5057 &quot;label&quot;: &quot;A String&quot;, # A user-friendly label for the parameter.
5058 &quot;parameterNameOption&quot;: &quot;A String&quot;,
5059 &quot;subSectionLabel&quot;: &quot;A String&quot;, # A user-friendly label for subSection under which the parameter will be displayed.
5060 &quot;uiPlaceholderText&quot;: &quot;A String&quot;, # Placeholder text which will appear in the UI input form for this parameter.
5061 },
5062 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
5063 &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.
5064 &quot;booleanArray&quot;: {
5065 &quot;booleanValues&quot;: [
5066 True or False,
5067 ],
5068 },
5069 &quot;booleanValue&quot;: True or False,
5070 &quot;doubleArray&quot;: {
5071 &quot;doubleValues&quot;: [
5072 3.14,
5073 ],
5074 },
5075 &quot;doubleValue&quot;: 3.14,
5076 &quot;intArray&quot;: {
5077 &quot;intValues&quot;: [
5078 &quot;A String&quot;,
5079 ],
5080 },
5081 &quot;intValue&quot;: &quot;A String&quot;,
5082 &quot;jsonValue&quot;: &quot;A String&quot;,
5083 &quot;protoArray&quot;: {
5084 &quot;protoValues&quot;: [
5085 {
5086 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5087 },
5088 ],
5089 },
5090 &quot;protoValue&quot;: {
5091 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5092 },
5093 &quot;serializedObjectValue&quot;: {
5094 &quot;objectValue&quot;: &quot;A String&quot;,
5095 },
5096 &quot;stringArray&quot;: {
5097 &quot;stringValues&quot;: [
5098 &quot;A String&quot;,
5099 ],
5100 },
5101 &quot;stringValue&quot;: &quot;A String&quot;,
5102 },
5103 &quot;isDeprecated&quot;: True or False, # If set, this entry is deprecated, so further use of this parameter should be prohibited.
5104 &quot;isOutput&quot;: True or False,
5105 &quot;jsonSchema&quot;: &quot;A String&quot;, # If the data_type is JSON_VALUE, then this will define its schema.
5106 &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.
5107 &quot;protoDef&quot;: { # Populated if this represents a proto or proto array.
5108 &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;.
5109 &quot;path&quot;: &quot;A String&quot;, # Path to the proto file that contains the message type&#x27;s definition.
5110 },
5111 &quot;required&quot;: True or False, # If set, the user must provide an input value for this parameter.
5112 &quot;validationRule&quot;: { # Rule used to validate inputs (individual values and collection elements) for this parameter.
5113 &quot;doubleRange&quot;: { # Range used to validate doubles and floats.
5114 &quot;max&quot;: 3.14, # The inclusive maximum of the acceptable range.
5115 &quot;min&quot;: 3.14, # The inclusive minimum of the acceptable range.
5116 },
5117 &quot;intRange&quot;: { # Range used to validate longs and ints.
5118 &quot;max&quot;: &quot;A String&quot;, # The inclusive maximum of the acceptable range.
5119 &quot;min&quot;: &quot;A String&quot;, # The inclusive minimum of the acceptable range.
5120 },
5121 &quot;stringRegex&quot;: { # Rule used to validate strings.
5122 &quot;exclusive&quot;: True or False, # Whether the regex matcher is applied exclusively (if true, matching values will be rejected).
5123 &quot;regex&quot;: &quot;A String&quot;, # The regex applied to the input value(s).
5124 },
5125 },
5126 },
5127 ],
5128 },
5129 &quot;stats&quot;: { # Stats for the requested dimensions: QPS, duration, and error/warning rate # Deprecated - statistics from the Monarch query.
5130 &quot;dimensions&quot;: { # Dimensions that these stats have been aggregated on.
5131 &quot;clientId&quot;: &quot;A String&quot;,
5132 &quot;enumFilterType&quot;: &quot;A String&quot;, # Whether to include or exclude the enums matching the regex.
5133 &quot;errorEnumString&quot;: &quot;A String&quot;,
5134 &quot;retryAttempt&quot;: &quot;A String&quot;,
5135 &quot;taskName&quot;: &quot;A String&quot;,
5136 &quot;taskNumber&quot;: &quot;A String&quot;,
5137 &quot;triggerId&quot;: &quot;A String&quot;, # Stats have been or will be aggregated on set fields for any semantically-meaningful combination.
5138 &quot;warningEnumString&quot;: &quot;A String&quot;,
5139 &quot;workflowId&quot;: &quot;A String&quot;,
5140 &quot;workflowName&quot;: &quot;A String&quot;,
5141 },
5142 &quot;durationInSeconds&quot;: 3.14, # Average duration in seconds.
5143 &quot;errorRate&quot;: 3.14, # Average error rate.
5144 &quot;qps&quot;: 3.14, # Queries per second.
5145 &quot;warningRate&quot;: 3.14, # Average warning rate.
5146 },
5147 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
5148 &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.
5149 &quot;taskUiModuleConfigs&quot;: [ # Configurations of included config modules.
5150 { # Task author would use this type to configure a config module.
5151 &quot;moduleId&quot;: &quot;A String&quot;, # ID of the config module.
5152 },
5153 ],
5154 },
5155 },
5156 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # The policy dictating the execution strategy of this task.
5157 &quot;taskName&quot;: &quot;A String&quot;, # The name for the task.
5158 &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`).
5159 &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.
5160 &quot;taskTemplateName&quot;: &quot;A String&quot;, # Used to define task-template name if task is of type task-template
5161 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
5162 },
5163 ],
5164 &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.
5165 &quot;teardownTaskConfigs&quot;: [ # Required.
5166 {
5167 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address.
5168 &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.
5169 &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).
5170 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the next teardown task.
5171 },
5172 &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.
5173 &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.
5174 { # Key-value pair of EventBus parameters.
5175 &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.
5176 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
5177 &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.
5178 &quot;booleanArray&quot;: {
5179 &quot;booleanValues&quot;: [
5180 True or False,
5181 ],
5182 },
5183 &quot;booleanValue&quot;: True or False,
5184 &quot;doubleArray&quot;: {
5185 &quot;doubleValues&quot;: [
5186 3.14,
5187 ],
5188 },
5189 &quot;doubleValue&quot;: 3.14,
5190 &quot;intArray&quot;: {
5191 &quot;intValues&quot;: [
5192 &quot;A String&quot;,
5193 ],
5194 },
5195 &quot;intValue&quot;: &quot;A String&quot;,
5196 &quot;protoArray&quot;: {
5197 &quot;protoValues&quot;: [
5198 {
5199 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5200 },
5201 ],
5202 },
5203 &quot;protoValue&quot;: {
5204 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5205 },
5206 &quot;serializedObjectValue&quot;: {
5207 &quot;objectValue&quot;: &quot;A String&quot;,
5208 },
5209 &quot;stringArray&quot;: {
5210 &quot;stringValues&quot;: [
5211 &quot;A String&quot;,
5212 ],
5213 },
5214 &quot;stringValue&quot;: &quot;A String&quot;,
5215 },
5216 },
5217 ],
5218 },
5219 &quot;properties&quot;: { # LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus.
5220 &quot;properties&quot;: [ # An unordered list of property entries.
5221 { # Key-value pair of EventBus property.
5222 &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.
5223 &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.
5224 &quot;booleanValue&quot;: True or False,
5225 &quot;doubleArray&quot;: {
5226 &quot;values&quot;: [
5227 3.14,
5228 ],
5229 },
5230 &quot;doubleValue&quot;: 3.14,
5231 &quot;intArray&quot;: {
5232 &quot;values&quot;: [
5233 &quot;A String&quot;,
5234 ],
5235 },
5236 &quot;intValue&quot;: &quot;A String&quot;,
5237 &quot;protoValue&quot;: {
5238 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5239 },
5240 &quot;stringArray&quot;: {
5241 &quot;values&quot;: [
5242 &quot;A String&quot;,
5243 ],
5244 },
5245 &quot;stringValue&quot;: &quot;A String&quot;,
5246 },
5247 },
5248 ],
5249 },
5250 &quot;teardownTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. Implementation class name.
5251 },
5252 ],
5253 },
5254 &quot;triggerConfigs&quot;: [ # Optional. Trigger configurations.
5255 { # Configuration detail of a trigger.
5256 &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.
5257 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
5258 &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.
5259 &quot;alertThreshold&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
5260 &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.
5261 &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.
5262 &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.
5263 &quot;metricType&quot;: &quot;A String&quot;, # The type of metric.
5264 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
5265 &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.
5266 &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.
5267 &quot;absolute&quot;: &quot;A String&quot;, # Absolute value threshold.
5268 &quot;percentage&quot;: 42, # Percentage threshold.
5269 },
5270 },
5271 ],
5272 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration # Optional. Cloud Scheduler Trigger related metadata
5273 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
5274 &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
5275 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
5276 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
5277 },
5278 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
5279 &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
5280 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
5281 &quot;names&quot;: [ # Optional. List of variable names.
5282 &quot;A String&quot;,
5283 ],
5284 },
5285 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular trigger.
5286 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. Dictates how next tasks will be executed.
5287 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
5288 &quot;names&quot;: [ # Optional. List of variable names.
5289 &quot;A String&quot;,
5290 ],
5291 },
5292 &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.
5293 &quot;x&quot;: 42, # Required. X axis of the coordinate
5294 &quot;y&quot;: 42, # Required. Y axis of the coordinate
5295 },
5296 &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.
5297 &quot;a_key&quot;: &quot;A String&quot;,
5298 },
5299 &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).
5300 { # The task that is next in line to be executed, if the condition specified evaluated to true.
5301 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
5302 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
5303 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
5304 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
5305 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
5306 },
5307 ],
5308 &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.
5309 &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}
5310 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the integration on UI.
5311 &quot;triggerType&quot;: &quot;A String&quot;, # Optional. Type of trigger
5312 },
5313 ],
5314 &quot;triggerConfigsInternal&quot;: [ # Optional. Trigger configurations.
5315 { # Configuration detail of a trigger. Next available id: 22
5316 &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.
5317 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
5318 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
5319 &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.
5320 &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.
5321 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration.
5322 &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.
5323 &quot;errorEnumList&quot;: { # List of error enums for alerts.
5324 &quot;enumStrings&quot;: [
5325 &quot;A String&quot;,
5326 ],
5327 &quot;filterType&quot;: &quot;A String&quot;,
5328 },
5329 &quot;metricType&quot;: &quot;A String&quot;,
5330 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
5331 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
5332 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
5333 &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.
5334 &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.
5335 &quot;absolute&quot;: &quot;A String&quot;,
5336 &quot;percentage&quot;: 42,
5337 },
5338 &quot;warningEnumList&quot;: { # List of error enums for alerts.
5339 &quot;enumStrings&quot;: [
5340 &quot;A String&quot;,
5341 ],
5342 &quot;filterType&quot;: &quot;A String&quot;,
5343 },
5344 },
5345 ],
5346 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration
5347 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
5348 &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
5349 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
5350 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
5351 },
5352 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
5353 &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.
5354 &quot;A String&quot;,
5355 ],
5356 &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
5357 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
5358 &quot;names&quot;: [ # Optional. List of variable names.
5359 &quot;A String&quot;,
5360 ],
5361 },
5362 &quot;label&quot;: &quot;A String&quot;, # The user created label for a particular trigger.
5363 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Dictates how next tasks will be executed.
5364 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
5365 &quot;names&quot;: [ # Optional. List of variable names.
5366 &quot;A String&quot;,
5367 ],
5368 },
5369 &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.
5370 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this trigger config on the UI.
5371 &quot;x&quot;: 42,
5372 &quot;y&quot;: 42,
5373 },
5374 &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.
5375 &quot;a_key&quot;: &quot;A String&quot;,
5376 },
5377 &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).
5378 { # The task that is next in line to be executed, if the condition specified evaluated to true.
5379 &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`
5380 { # This message recursively combines constituent conditions using logical AND.
5381 &quot;conditions&quot;: [ # A set of individual constituent conditions.
5382 { # Condition that uses `operator` to evaluate the key against the value.
5383 &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.
5384 &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.
5385 &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.
5386 &quot;booleanValue&quot;: True or False,
5387 &quot;doubleArray&quot;: {
5388 &quot;values&quot;: [
5389 3.14,
5390 ],
5391 },
5392 &quot;doubleValue&quot;: 3.14,
5393 &quot;intArray&quot;: {
5394 &quot;values&quot;: [
5395 &quot;A String&quot;,
5396 ],
5397 },
5398 &quot;intValue&quot;: &quot;A String&quot;,
5399 &quot;protoValue&quot;: {
5400 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5401 },
5402 &quot;stringArray&quot;: {
5403 &quot;values&quot;: [
5404 &quot;A String&quot;,
5405 ],
5406 },
5407 &quot;stringValue&quot;: &quot;A String&quot;,
5408 },
5409 },
5410 ],
5411 },
5412 ],
5413 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
5414 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
5415 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
5416 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
5417 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
5418 },
5419 ],
5420 &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.
5421 &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.
5422 &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.
5423 &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.
5424 { # Key-value pair of EventBus parameters.
5425 &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.
5426 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
5427 &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.
5428 &quot;booleanArray&quot;: {
5429 &quot;booleanValues&quot;: [
5430 True or False,
5431 ],
5432 },
5433 &quot;booleanValue&quot;: True or False,
5434 &quot;doubleArray&quot;: {
5435 &quot;doubleValues&quot;: [
5436 3.14,
5437 ],
5438 },
5439 &quot;doubleValue&quot;: 3.14,
5440 &quot;intArray&quot;: {
5441 &quot;intValues&quot;: [
5442 &quot;A String&quot;,
5443 ],
5444 },
5445 &quot;intValue&quot;: &quot;A String&quot;,
5446 &quot;protoArray&quot;: {
5447 &quot;protoValues&quot;: [
5448 {
5449 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5450 },
5451 ],
5452 },
5453 &quot;protoValue&quot;: {
5454 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5455 },
5456 &quot;serializedObjectValue&quot;: {
5457 &quot;objectValue&quot;: &quot;A String&quot;,
5458 },
5459 &quot;stringArray&quot;: {
5460 &quot;stringValues&quot;: [
5461 &quot;A String&quot;,
5462 ],
5463 },
5464 &quot;stringValue&quot;: &quot;A String&quot;,
5465 },
5466 },
5467 ],
5468 },
5469 &quot;triggerCriteriaTaskImplementationClassName&quot;: &quot;A String&quot;, # Optional. Implementation class name. The class should implement the “TypedTask” interface.
5470 },
5471 &quot;triggerId&quot;: &quot;A String&quot;, # The backend trigger ID.
5472 &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.
5473 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the workflow on UI.
5474 &quot;triggerType&quot;: &quot;A String&quot;,
5475 },
5476 ],
5477 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
5478 &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.
5479 },
5480 ],
5481 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
5482 &quot;noPermission&quot;: True or False, # Whether the user has no permission on the version or not.
5483 }</pre>
5484 </div>
5485
5486 <div class="method">
5487 <code class="details" id="list_next">list_next()</code>
5488 <pre>Retrieves the next page of results.
5489
5490 Args:
5491 previous_request: The request for the previous page. (required)
5492 previous_response: The response from the request for the previous page. (required)
5493
5494 Returns:
5495 A request object that you can call &#x27;execute()&#x27; on to request the next
5496 page. Returns None if there are no more items in the collection.
5497 </pre>
5498 </div>
5499
5500 <div class="method">
5501 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
5502 <pre>Update a integration with a draft version in the specified project.
5503
5504 Args:
5505 name: string, Output only. Auto-generated primary key. (required)
5506 body: object, The request body.
5507 The object takes the form of:
5508
5509 { # The integration version definition.
5510 &quot;cloudKmsKey&quot;: &quot;A String&quot;, # Optional. Cloud KMS resource name for the CMEK encryption key.
5511 &quot;cloudLoggingDetails&quot;: { # Cloud Logging details for execution info # Optional. Cloud Logging details for the integration version
5512 &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.
5513 &quot;enableCloudLogging&quot;: True or False, # Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.
5514 },
5515 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
5516 &quot;createdFromTemplate&quot;: &quot;A String&quot;, # Optional. Optional. The resource name of the template from which the integration is created.
5517 &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.
5518 &quot;description&quot;: &quot;A String&quot;, # Optional. The integration description.
5519 &quot;enableVariableMasking&quot;: True or False, # Optional. True if variable masking feature should be turned on for this version
5520 &quot;errorCatcherConfigs&quot;: [ # Optional. Error Catch Task configuration for the integration. It&#x27;s optional.
5521 { # Configuration detail of a error catch task
5522 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give more business context about the error catcher config.
5523 &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
5524 &quot;errorCatcherNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each error catcher config within the workflow on UI.
5525 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular error catcher. Optional.
5526 &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.
5527 &quot;x&quot;: 42, # Required. X axis of the coordinate
5528 &quot;y&quot;: 42, # Required. Y axis of the coordinate
5529 },
5530 &quot;startErrorTasks&quot;: [ # Required. The set of start tasks that are to be executed for the error catch flow
5531 { # The task that is next in line to be executed, if the condition specified evaluated to true.
5532 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
5533 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
5534 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
5535 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
5536 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
5537 },
5538 ],
5539 },
5540 ],
5541 &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.
5542 { # 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.
5543 &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.
5544 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
5545 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
5546 &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.
5547 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
5548 &quot;booleanValues&quot;: [ # Boolean array.
5549 True or False,
5550 ],
5551 },
5552 &quot;booleanValue&quot;: True or False, # Boolean.
5553 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
5554 &quot;doubleValues&quot;: [ # Double number array.
5555 3.14,
5556 ],
5557 },
5558 &quot;doubleValue&quot;: 3.14, # Double Number.
5559 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
5560 &quot;intValues&quot;: [ # Integer array.
5561 &quot;A String&quot;,
5562 ],
5563 },
5564 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
5565 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
5566 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
5567 &quot;stringValues&quot;: [ # String array.
5568 &quot;A String&quot;,
5569 ],
5570 },
5571 &quot;stringValue&quot;: &quot;A String&quot;, # String.
5572 },
5573 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
5574 &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;.
5575 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
5576 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
5577 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
5578 &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.
5579 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
5580 &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.
5581 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
5582 },
5583 &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.
5584 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
5585 &quot;booleanValues&quot;: [ # Boolean array.
5586 True or False,
5587 ],
5588 },
5589 &quot;booleanValue&quot;: True or False, # Boolean.
5590 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
5591 &quot;doubleValues&quot;: [ # Double number array.
5592 3.14,
5593 ],
5594 },
5595 &quot;doubleValue&quot;: 3.14, # Double Number.
5596 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
5597 &quot;intValues&quot;: [ # Integer array.
5598 &quot;A String&quot;,
5599 ],
5600 },
5601 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
5602 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
5603 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
5604 &quot;stringValues&quot;: [ # String array.
5605 &quot;A String&quot;,
5606 ],
5607 },
5608 &quot;stringValue&quot;: &quot;A String&quot;, # String.
5609 },
5610 },
5611 ],
5612 &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.
5613 { # 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.
5614 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
5615 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
5616 &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.
5617 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
5618 &quot;booleanValues&quot;: [ # Boolean array.
5619 True or False,
5620 ],
5621 },
5622 &quot;booleanValue&quot;: True or False, # Boolean.
5623 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
5624 &quot;doubleValues&quot;: [ # Double number array.
5625 3.14,
5626 ],
5627 },
5628 &quot;doubleValue&quot;: 3.14, # Double Number.
5629 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
5630 &quot;intValues&quot;: [ # Integer array.
5631 &quot;A String&quot;,
5632 ],
5633 },
5634 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
5635 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
5636 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
5637 &quot;stringValues&quot;: [ # String array.
5638 &quot;A String&quot;,
5639 ],
5640 },
5641 &quot;stringValue&quot;: &quot;A String&quot;, # String.
5642 },
5643 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
5644 &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;.
5645 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
5646 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
5647 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
5648 &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.
5649 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
5650 &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.
5651 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
5652 },
5653 ],
5654 &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.
5655 &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.
5656 {
5657 &quot;attributes&quot;: { # Attributes are additional options that can be associated with each event property. For more information, see # Metadata information about the parameters.
5658 &quot;dataType&quot;: &quot;A String&quot;, # Things like URL, Email, Currency, Timestamp (rather than string, int64...)
5659 &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.
5660 &quot;booleanValue&quot;: True or False,
5661 &quot;doubleArray&quot;: {
5662 &quot;values&quot;: [
5663 3.14,
5664 ],
5665 },
5666 &quot;doubleValue&quot;: 3.14,
5667 &quot;intArray&quot;: {
5668 &quot;values&quot;: [
5669 &quot;A String&quot;,
5670 ],
5671 },
5672 &quot;intValue&quot;: &quot;A String&quot;,
5673 &quot;protoValue&quot;: {
5674 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5675 },
5676 &quot;stringArray&quot;: {
5677 &quot;values&quot;: [
5678 &quot;A String&quot;,
5679 ],
5680 },
5681 &quot;stringValue&quot;: &quot;A String&quot;,
5682 },
5683 &quot;isRequired&quot;: True or False, # Required for event execution. The validation will be done by the event bus when the event is triggered.
5684 &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.
5685 &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
5686 &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.
5687 &quot;seedPeriod&quot;: &quot;A String&quot;,
5688 &quot;seedScope&quot;: &quot;A String&quot;,
5689 },
5690 &quot;masked&quot;: True or False, # True if this workflow parameter should be masked in the logs
5691 &quot;readOnly&quot;: True or False, # Used to indicate if the ParameterEntry is a read only field or not.
5692 &quot;searchable&quot;: &quot;A String&quot;,
5693 &quot;taskVisibility&quot;: [ # List of tasks that can view this property, if empty then all.
5694 &quot;A String&quot;,
5695 ],
5696 },
5697 &quot;children&quot;: [ # Child parameters nested within this parameter. This field only applies to protobuf parameters
5698 # Object with schema name: EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
5699 ],
5700 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
5701 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
5702 &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.
5703 &quot;booleanArray&quot;: {
5704 &quot;booleanValues&quot;: [
5705 True or False,
5706 ],
5707 },
5708 &quot;booleanValue&quot;: True or False,
5709 &quot;doubleArray&quot;: {
5710 &quot;doubleValues&quot;: [
5711 3.14,
5712 ],
5713 },
5714 &quot;doubleValue&quot;: 3.14,
5715 &quot;intArray&quot;: {
5716 &quot;intValues&quot;: [
5717 &quot;A String&quot;,
5718 ],
5719 },
5720 &quot;intValue&quot;: &quot;A String&quot;,
5721 &quot;jsonValue&quot;: &quot;A String&quot;,
5722 &quot;protoArray&quot;: {
5723 &quot;protoValues&quot;: [
5724 {
5725 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5726 },
5727 ],
5728 },
5729 &quot;protoValue&quot;: {
5730 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5731 },
5732 &quot;serializedObjectValue&quot;: {
5733 &quot;objectValue&quot;: &quot;A String&quot;,
5734 },
5735 &quot;stringArray&quot;: {
5736 &quot;stringValues&quot;: [
5737 &quot;A String&quot;,
5738 ],
5739 },
5740 &quot;stringValue&quot;: &quot;A String&quot;,
5741 },
5742 &quot;description&quot;: &quot;A String&quot;, # Optional. The description about the parameter
5743 &quot;inOutType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
5744 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
5745 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
5746 &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.
5747 &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;.
5748 &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.
5749 &quot;elementIdentifier&quot;: &quot;A String&quot;, # Configuration of the edge.
5750 &quot;elementType&quot;: &quot;A String&quot;, # Destination node where the edge ends. It can only be a task config.
5751 },
5752 &quot;producer&quot;: &quot;A String&quot;,
5753 &quot;protoDefName&quot;: &quot;A String&quot;, # The name of the protobuf type if the parameter has a protobuf data type.
5754 &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;.
5755 &quot;required&quot;: True or False,
5756 },
5757 ],
5758 },
5759 &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.
5760 &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.
5761 &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
5762 &quot;origin&quot;: &quot;A String&quot;, # Optional. The origin that indicates where this integration is coming from.
5763 &quot;parentTemplateId&quot;: &quot;A String&quot;, # Optional. The id of the template which was used to create this integration_version.
5764 &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.
5765 &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.
5766 &quot;state&quot;: &quot;A String&quot;, # Output only. User should not set it as an input.
5767 &quot;status&quot;: &quot;A String&quot;, # Output only. Generated by eventbus. User should not set it as an input.
5768 &quot;taskConfigs&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
5769 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
5770 &quot;conditionalFailurePolicies&quot;: { # Conditional task failur retry strategies # Optional. The list of conditional failure policies that will be applied to the task in order.
5771 &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.
5772 &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.
5773 &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.
5774 &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.
5775 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
5776 },
5777 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
5778 { # 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).
5779 &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.
5780 &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.
5781 &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.
5782 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
5783 },
5784 ],
5785 },
5786 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
5787 &quot;displayName&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to this TaskConfig in the UI.
5788 &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
5789 &quot;externalTaskType&quot;: &quot;A String&quot;, # Optional. External task type of the task
5790 &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.).
5791 &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.
5792 &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.
5793 &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.
5794 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
5795 },
5796 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # Optional. If set, overrides the option configured in the Task implementation class.
5797 &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.
5798 { # The task that is next in line to be executed, if the condition specified evaluated to true.
5799 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
5800 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
5801 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
5802 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
5803 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
5804 },
5805 ],
5806 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution of the next set of tasks for the current task.
5807 &quot;parameters&quot;: { # Optional. The customized parameters the user can pass to this task.
5808 &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
5809 &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.
5810 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
5811 &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.
5812 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
5813 &quot;booleanValues&quot;: [ # Boolean array.
5814 True or False,
5815 ],
5816 },
5817 &quot;booleanValue&quot;: True or False, # Boolean.
5818 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
5819 &quot;doubleValues&quot;: [ # Double number array.
5820 3.14,
5821 ],
5822 },
5823 &quot;doubleValue&quot;: 3.14, # Double Number.
5824 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
5825 &quot;intValues&quot;: [ # Integer array.
5826 &quot;A String&quot;,
5827 ],
5828 },
5829 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
5830 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
5831 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
5832 &quot;stringValues&quot;: [ # String array.
5833 &quot;A String&quot;,
5834 ],
5835 },
5836 &quot;stringValue&quot;: &quot;A String&quot;, # String.
5837 },
5838 },
5839 },
5840 &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.
5841 &quot;x&quot;: 42, # Required. X axis of the coordinate
5842 &quot;y&quot;: 42, # Required. Y axis of the coordinate
5843 },
5844 &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.
5845 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
5846 },
5847 &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).
5848 &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.
5849 &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.
5850 &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.
5851 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
5852 },
5853 &quot;task&quot;: &quot;A String&quot;, # Optional. The name for the task.
5854 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution strategy of this task.
5855 &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`).
5856 &quot;taskTemplate&quot;: &quot;A String&quot;, # Optional. Used to define task-template name if task is of type task-template
5857 },
5858 ],
5859 &quot;taskConfigsInternal&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
5860 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
5861 &quot;alertConfigs&quot;: [ # Alert configurations on error rate, warning rate, number of runs, durations, etc.
5862 { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event.
5863 &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).
5864 &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.
5865 &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.
5866 &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.
5867 &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.
5868 &quot;errorEnumList&quot;: { # List of error enums for alerts.
5869 &quot;enumStrings&quot;: [
5870 &quot;A String&quot;,
5871 ],
5872 &quot;filterType&quot;: &quot;A String&quot;,
5873 },
5874 &quot;metricType&quot;: &quot;A String&quot;,
5875 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
5876 &quot;onlyFinalAttempt&quot;: True or False, # Only count final task attempts, not retries.
5877 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
5878 &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.
5879 &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.
5880 &quot;absolute&quot;: &quot;A String&quot;,
5881 &quot;percentage&quot;: 42,
5882 },
5883 &quot;warningEnumList&quot;: { # List of error enums for alerts.
5884 &quot;enumStrings&quot;: [
5885 &quot;A String&quot;,
5886 ],
5887 &quot;filterType&quot;: &quot;A String&quot;,
5888 },
5889 },
5890 ],
5891 &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).
5892 &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
5893 &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.
5894 &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.
5895 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
5896 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
5897 },
5898 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
5899 { # 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).
5900 &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.
5901 &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.
5902 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
5903 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
5904 },
5905 ],
5906 },
5907 &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
5908 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address. Auto-generated from the user&#x27;s email.
5909 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
5910 &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.
5911 &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
5912 &quot;externalTaskType&quot;: &quot;A String&quot;,
5913 &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.).
5914 &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.
5915 &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.
5916 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
5917 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
5918 },
5919 &quot;incomingEdgeCount&quot;: 42, # The number of edges leading into this TaskConfig.
5920 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # If set, overrides the option configured in the Task implementation class.
5921 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this TaskConfig in the UI.
5922 &quot;lastModifiedTime&quot;: &quot;A String&quot;, # Auto-generated.
5923 &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.
5924 { # The task that is next in line to be executed, if the condition specified evaluated to true.
5925 &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`
5926 { # This message recursively combines constituent conditions using logical AND.
5927 &quot;conditions&quot;: [ # A set of individual constituent conditions.
5928 { # Condition that uses `operator` to evaluate the key against the value.
5929 &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.
5930 &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.
5931 &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.
5932 &quot;booleanValue&quot;: True or False,
5933 &quot;doubleArray&quot;: {
5934 &quot;values&quot;: [
5935 3.14,
5936 ],
5937 },
5938 &quot;doubleValue&quot;: 3.14,
5939 &quot;intArray&quot;: {
5940 &quot;values&quot;: [
5941 &quot;A String&quot;,
5942 ],
5943 },
5944 &quot;intValue&quot;: &quot;A String&quot;,
5945 &quot;protoValue&quot;: {
5946 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5947 },
5948 &quot;stringArray&quot;: {
5949 &quot;values&quot;: [
5950 &quot;A String&quot;,
5951 ],
5952 },
5953 &quot;stringValue&quot;: &quot;A String&quot;,
5954 },
5955 },
5956 ],
5957 },
5958 ],
5959 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
5960 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
5961 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
5962 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
5963 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
5964 },
5965 ],
5966 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # The policy dictating the execution of the next set of tasks for the current task.
5967 &quot;parameters&quot;: { # The customized parameters the user can pass to this task.
5968 &quot;a_key&quot;: { # Key-value pair of EventBus parameters.
5969 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
5970 &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.
5971 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
5972 &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.
5973 &quot;booleanArray&quot;: {
5974 &quot;booleanValues&quot;: [
5975 True or False,
5976 ],
5977 },
5978 &quot;booleanValue&quot;: True or False,
5979 &quot;doubleArray&quot;: {
5980 &quot;doubleValues&quot;: [
5981 3.14,
5982 ],
5983 },
5984 &quot;doubleValue&quot;: 3.14,
5985 &quot;intArray&quot;: {
5986 &quot;intValues&quot;: [
5987 &quot;A String&quot;,
5988 ],
5989 },
5990 &quot;intValue&quot;: &quot;A String&quot;,
5991 &quot;jsonValue&quot;: &quot;A String&quot;,
5992 &quot;protoArray&quot;: {
5993 &quot;protoValues&quot;: [
5994 {
5995 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5996 },
5997 ],
5998 },
5999 &quot;protoValue&quot;: {
6000 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6001 },
6002 &quot;serializedObjectValue&quot;: {
6003 &quot;objectValue&quot;: &quot;A String&quot;,
6004 },
6005 &quot;stringArray&quot;: {
6006 &quot;stringValues&quot;: [
6007 &quot;A String&quot;,
6008 ],
6009 },
6010 &quot;stringValue&quot;: &quot;A String&quot;,
6011 },
6012 },
6013 },
6014 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this task config on the UI.
6015 &quot;x&quot;: 42,
6016 &quot;y&quot;: 42,
6017 },
6018 &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.
6019 &quot;preconditionLabel&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to precondition in the UI.
6020 &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).
6021 &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.
6022 &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.
6023 { # Key-value pair of EventBus parameters.
6024 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
6025 &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.
6026 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
6027 &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.
6028 &quot;booleanArray&quot;: {
6029 &quot;booleanValues&quot;: [
6030 True or False,
6031 ],
6032 },
6033 &quot;booleanValue&quot;: True or False,
6034 &quot;doubleArray&quot;: {
6035 &quot;doubleValues&quot;: [
6036 3.14,
6037 ],
6038 },
6039 &quot;doubleValue&quot;: 3.14,
6040 &quot;intArray&quot;: {
6041 &quot;intValues&quot;: [
6042 &quot;A String&quot;,
6043 ],
6044 },
6045 &quot;intValue&quot;: &quot;A String&quot;,
6046 &quot;jsonValue&quot;: &quot;A String&quot;,
6047 &quot;protoArray&quot;: {
6048 &quot;protoValues&quot;: [
6049 {
6050 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6051 },
6052 ],
6053 },
6054 &quot;protoValue&quot;: {
6055 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6056 },
6057 &quot;serializedObjectValue&quot;: {
6058 &quot;objectValue&quot;: &quot;A String&quot;,
6059 },
6060 &quot;stringArray&quot;: {
6061 &quot;stringValues&quot;: [
6062 &quot;A String&quot;,
6063 ],
6064 },
6065 &quot;stringValue&quot;: &quot;A String&quot;,
6066 },
6067 },
6068 ],
6069 },
6070 &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.
6071 &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.
6072 &quot;A String&quot;,
6073 ],
6074 },
6075 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Determines what action to take upon successful task completion.
6076 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
6077 },
6078 &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).
6079 &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.
6080 &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.
6081 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
6082 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
6083 },
6084 &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.
6085 &quot;disabledForVpcSc&quot;: True or False, # True if the task has conflict with vpcsc
6086 &quot;metadata&quot;: { # TaskMetadata are attributes that are associated to every common Task we have. # Metadata inclueds the task name, author and so on.
6087 &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.
6088 &quot;admins&quot;: [
6089 { # 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.
6090 &quot;googleGroupEmail&quot;: &quot;A String&quot;,
6091 &quot;userEmail&quot;: &quot;A String&quot;,
6092 },
6093 ],
6094 &quot;category&quot;: &quot;A String&quot;,
6095 &quot;codeSearchLink&quot;: &quot;A String&quot;, # The Code Search link to the Task Java file.
6096 &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.
6097 &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.
6098 &quot;description&quot;: &quot;A String&quot;, # In a few sentences, describe the purpose and usage of the task.
6099 &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;)
6100 &quot;docMarkdown&quot;: &quot;A String&quot;, # Snippet of markdown documentation to embed in the RHP for this task.
6101 &quot;externalCategory&quot;: &quot;A String&quot;,
6102 &quot;externalCategorySequence&quot;: 42, # Sequence with which the task in specific category to be displayed in task discovery panel for external users.
6103 &quot;externalDocHtml&quot;: &quot;A String&quot;, # External-facing documention embedded in the RHP for this task.
6104 &quot;externalDocLink&quot;: &quot;A String&quot;, # Doc link for external-facing documentation (separate from g3doc).
6105 &quot;externalDocMarkdown&quot;: &quot;A String&quot;, # DEPRECATED: Use external_doc_html.
6106 &quot;g3DocLink&quot;: &quot;A String&quot;, # URL to the associated G3 Doc for the task if available
6107 &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.
6108 &quot;isDeprecated&quot;: True or False, # The deprecation status of the current task. Default value is false;
6109 &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.
6110 &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
6111 &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.
6112 &quot;system&quot;: &quot;A String&quot;,
6113 &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.
6114 &quot;A String&quot;,
6115 ],
6116 },
6117 &quot;paramSpecs&quot;: { # Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask.
6118 &quot;parameters&quot;: [
6119 { # Key-value pair of EventBus task parameters. Next id: 13
6120 &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.
6121 &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.
6122 &quot;config&quot;: { # Optional fields, such as help text and other useful info.
6123 &quot;descriptivePhrase&quot;: &quot;A String&quot;, # A short phrase to describe what this parameter contains.
6124 &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.
6125 &quot;hideDefaultValue&quot;: True or False, # Whether the default value is hidden in the UI.
6126 &quot;inputDisplayOption&quot;: &quot;A String&quot;,
6127 &quot;isHidden&quot;: True or False, # Whether this field is hidden in the UI.
6128 &quot;label&quot;: &quot;A String&quot;, # A user-friendly label for the parameter.
6129 &quot;parameterNameOption&quot;: &quot;A String&quot;,
6130 &quot;subSectionLabel&quot;: &quot;A String&quot;, # A user-friendly label for subSection under which the parameter will be displayed.
6131 &quot;uiPlaceholderText&quot;: &quot;A String&quot;, # Placeholder text which will appear in the UI input form for this parameter.
6132 },
6133 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
6134 &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.
6135 &quot;booleanArray&quot;: {
6136 &quot;booleanValues&quot;: [
6137 True or False,
6138 ],
6139 },
6140 &quot;booleanValue&quot;: True or False,
6141 &quot;doubleArray&quot;: {
6142 &quot;doubleValues&quot;: [
6143 3.14,
6144 ],
6145 },
6146 &quot;doubleValue&quot;: 3.14,
6147 &quot;intArray&quot;: {
6148 &quot;intValues&quot;: [
6149 &quot;A String&quot;,
6150 ],
6151 },
6152 &quot;intValue&quot;: &quot;A String&quot;,
6153 &quot;jsonValue&quot;: &quot;A String&quot;,
6154 &quot;protoArray&quot;: {
6155 &quot;protoValues&quot;: [
6156 {
6157 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6158 },
6159 ],
6160 },
6161 &quot;protoValue&quot;: {
6162 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6163 },
6164 &quot;serializedObjectValue&quot;: {
6165 &quot;objectValue&quot;: &quot;A String&quot;,
6166 },
6167 &quot;stringArray&quot;: {
6168 &quot;stringValues&quot;: [
6169 &quot;A String&quot;,
6170 ],
6171 },
6172 &quot;stringValue&quot;: &quot;A String&quot;,
6173 },
6174 &quot;isDeprecated&quot;: True or False, # If set, this entry is deprecated, so further use of this parameter should be prohibited.
6175 &quot;isOutput&quot;: True or False,
6176 &quot;jsonSchema&quot;: &quot;A String&quot;, # If the data_type is JSON_VALUE, then this will define its schema.
6177 &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.
6178 &quot;protoDef&quot;: { # Populated if this represents a proto or proto array.
6179 &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;.
6180 &quot;path&quot;: &quot;A String&quot;, # Path to the proto file that contains the message type&#x27;s definition.
6181 },
6182 &quot;required&quot;: True or False, # If set, the user must provide an input value for this parameter.
6183 &quot;validationRule&quot;: { # Rule used to validate inputs (individual values and collection elements) for this parameter.
6184 &quot;doubleRange&quot;: { # Range used to validate doubles and floats.
6185 &quot;max&quot;: 3.14, # The inclusive maximum of the acceptable range.
6186 &quot;min&quot;: 3.14, # The inclusive minimum of the acceptable range.
6187 },
6188 &quot;intRange&quot;: { # Range used to validate longs and ints.
6189 &quot;max&quot;: &quot;A String&quot;, # The inclusive maximum of the acceptable range.
6190 &quot;min&quot;: &quot;A String&quot;, # The inclusive minimum of the acceptable range.
6191 },
6192 &quot;stringRegex&quot;: { # Rule used to validate strings.
6193 &quot;exclusive&quot;: True or False, # Whether the regex matcher is applied exclusively (if true, matching values will be rejected).
6194 &quot;regex&quot;: &quot;A String&quot;, # The regex applied to the input value(s).
6195 },
6196 },
6197 },
6198 ],
6199 },
6200 &quot;stats&quot;: { # Stats for the requested dimensions: QPS, duration, and error/warning rate # Deprecated - statistics from the Monarch query.
6201 &quot;dimensions&quot;: { # Dimensions that these stats have been aggregated on.
6202 &quot;clientId&quot;: &quot;A String&quot;,
6203 &quot;enumFilterType&quot;: &quot;A String&quot;, # Whether to include or exclude the enums matching the regex.
6204 &quot;errorEnumString&quot;: &quot;A String&quot;,
6205 &quot;retryAttempt&quot;: &quot;A String&quot;,
6206 &quot;taskName&quot;: &quot;A String&quot;,
6207 &quot;taskNumber&quot;: &quot;A String&quot;,
6208 &quot;triggerId&quot;: &quot;A String&quot;, # Stats have been or will be aggregated on set fields for any semantically-meaningful combination.
6209 &quot;warningEnumString&quot;: &quot;A String&quot;,
6210 &quot;workflowId&quot;: &quot;A String&quot;,
6211 &quot;workflowName&quot;: &quot;A String&quot;,
6212 },
6213 &quot;durationInSeconds&quot;: 3.14, # Average duration in seconds.
6214 &quot;errorRate&quot;: 3.14, # Average error rate.
6215 &quot;qps&quot;: 3.14, # Queries per second.
6216 &quot;warningRate&quot;: 3.14, # Average warning rate.
6217 },
6218 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
6219 &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.
6220 &quot;taskUiModuleConfigs&quot;: [ # Configurations of included config modules.
6221 { # Task author would use this type to configure a config module.
6222 &quot;moduleId&quot;: &quot;A String&quot;, # ID of the config module.
6223 },
6224 ],
6225 },
6226 },
6227 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # The policy dictating the execution strategy of this task.
6228 &quot;taskName&quot;: &quot;A String&quot;, # The name for the task.
6229 &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`).
6230 &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.
6231 &quot;taskTemplateName&quot;: &quot;A String&quot;, # Used to define task-template name if task is of type task-template
6232 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
6233 },
6234 ],
6235 &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.
6236 &quot;teardownTaskConfigs&quot;: [ # Required.
6237 {
6238 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address.
6239 &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.
6240 &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).
6241 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the next teardown task.
6242 },
6243 &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.
6244 &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.
6245 { # Key-value pair of EventBus parameters.
6246 &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.
6247 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
6248 &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.
6249 &quot;booleanArray&quot;: {
6250 &quot;booleanValues&quot;: [
6251 True or False,
6252 ],
6253 },
6254 &quot;booleanValue&quot;: True or False,
6255 &quot;doubleArray&quot;: {
6256 &quot;doubleValues&quot;: [
6257 3.14,
6258 ],
6259 },
6260 &quot;doubleValue&quot;: 3.14,
6261 &quot;intArray&quot;: {
6262 &quot;intValues&quot;: [
6263 &quot;A String&quot;,
6264 ],
6265 },
6266 &quot;intValue&quot;: &quot;A String&quot;,
6267 &quot;protoArray&quot;: {
6268 &quot;protoValues&quot;: [
6269 {
6270 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6271 },
6272 ],
6273 },
6274 &quot;protoValue&quot;: {
6275 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6276 },
6277 &quot;serializedObjectValue&quot;: {
6278 &quot;objectValue&quot;: &quot;A String&quot;,
6279 },
6280 &quot;stringArray&quot;: {
6281 &quot;stringValues&quot;: [
6282 &quot;A String&quot;,
6283 ],
6284 },
6285 &quot;stringValue&quot;: &quot;A String&quot;,
6286 },
6287 },
6288 ],
6289 },
6290 &quot;properties&quot;: { # LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus.
6291 &quot;properties&quot;: [ # An unordered list of property entries.
6292 { # Key-value pair of EventBus property.
6293 &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.
6294 &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.
6295 &quot;booleanValue&quot;: True or False,
6296 &quot;doubleArray&quot;: {
6297 &quot;values&quot;: [
6298 3.14,
6299 ],
6300 },
6301 &quot;doubleValue&quot;: 3.14,
6302 &quot;intArray&quot;: {
6303 &quot;values&quot;: [
6304 &quot;A String&quot;,
6305 ],
6306 },
6307 &quot;intValue&quot;: &quot;A String&quot;,
6308 &quot;protoValue&quot;: {
6309 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6310 },
6311 &quot;stringArray&quot;: {
6312 &quot;values&quot;: [
6313 &quot;A String&quot;,
6314 ],
6315 },
6316 &quot;stringValue&quot;: &quot;A String&quot;,
6317 },
6318 },
6319 ],
6320 },
6321 &quot;teardownTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. Implementation class name.
6322 },
6323 ],
6324 },
6325 &quot;triggerConfigs&quot;: [ # Optional. Trigger configurations.
6326 { # Configuration detail of a trigger.
6327 &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.
6328 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
6329 &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.
6330 &quot;alertThreshold&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
6331 &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.
6332 &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.
6333 &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.
6334 &quot;metricType&quot;: &quot;A String&quot;, # The type of metric.
6335 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
6336 &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.
6337 &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.
6338 &quot;absolute&quot;: &quot;A String&quot;, # Absolute value threshold.
6339 &quot;percentage&quot;: 42, # Percentage threshold.
6340 },
6341 },
6342 ],
6343 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration # Optional. Cloud Scheduler Trigger related metadata
6344 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
6345 &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
6346 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
6347 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
6348 },
6349 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
6350 &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
6351 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
6352 &quot;names&quot;: [ # Optional. List of variable names.
6353 &quot;A String&quot;,
6354 ],
6355 },
6356 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular trigger.
6357 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. Dictates how next tasks will be executed.
6358 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
6359 &quot;names&quot;: [ # Optional. List of variable names.
6360 &quot;A String&quot;,
6361 ],
6362 },
6363 &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.
6364 &quot;x&quot;: 42, # Required. X axis of the coordinate
6365 &quot;y&quot;: 42, # Required. Y axis of the coordinate
6366 },
6367 &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.
6368 &quot;a_key&quot;: &quot;A String&quot;,
6369 },
6370 &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).
6371 { # The task that is next in line to be executed, if the condition specified evaluated to true.
6372 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
6373 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
6374 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
6375 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
6376 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
6377 },
6378 ],
6379 &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.
6380 &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}
6381 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the integration on UI.
6382 &quot;triggerType&quot;: &quot;A String&quot;, # Optional. Type of trigger
6383 },
6384 ],
6385 &quot;triggerConfigsInternal&quot;: [ # Optional. Trigger configurations.
6386 { # Configuration detail of a trigger. Next available id: 22
6387 &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.
6388 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
6389 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
6390 &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.
6391 &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.
6392 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration.
6393 &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.
6394 &quot;errorEnumList&quot;: { # List of error enums for alerts.
6395 &quot;enumStrings&quot;: [
6396 &quot;A String&quot;,
6397 ],
6398 &quot;filterType&quot;: &quot;A String&quot;,
6399 },
6400 &quot;metricType&quot;: &quot;A String&quot;,
6401 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
6402 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
6403 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
6404 &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.
6405 &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.
6406 &quot;absolute&quot;: &quot;A String&quot;,
6407 &quot;percentage&quot;: 42,
6408 },
6409 &quot;warningEnumList&quot;: { # List of error enums for alerts.
6410 &quot;enumStrings&quot;: [
6411 &quot;A String&quot;,
6412 ],
6413 &quot;filterType&quot;: &quot;A String&quot;,
6414 },
6415 },
6416 ],
6417 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration
6418 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
6419 &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
6420 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
6421 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
6422 },
6423 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
6424 &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.
6425 &quot;A String&quot;,
6426 ],
6427 &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
6428 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
6429 &quot;names&quot;: [ # Optional. List of variable names.
6430 &quot;A String&quot;,
6431 ],
6432 },
6433 &quot;label&quot;: &quot;A String&quot;, # The user created label for a particular trigger.
6434 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Dictates how next tasks will be executed.
6435 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
6436 &quot;names&quot;: [ # Optional. List of variable names.
6437 &quot;A String&quot;,
6438 ],
6439 },
6440 &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.
6441 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this trigger config on the UI.
6442 &quot;x&quot;: 42,
6443 &quot;y&quot;: 42,
6444 },
6445 &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.
6446 &quot;a_key&quot;: &quot;A String&quot;,
6447 },
6448 &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).
6449 { # The task that is next in line to be executed, if the condition specified evaluated to true.
6450 &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`
6451 { # This message recursively combines constituent conditions using logical AND.
6452 &quot;conditions&quot;: [ # A set of individual constituent conditions.
6453 { # Condition that uses `operator` to evaluate the key against the value.
6454 &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.
6455 &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.
6456 &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.
6457 &quot;booleanValue&quot;: True or False,
6458 &quot;doubleArray&quot;: {
6459 &quot;values&quot;: [
6460 3.14,
6461 ],
6462 },
6463 &quot;doubleValue&quot;: 3.14,
6464 &quot;intArray&quot;: {
6465 &quot;values&quot;: [
6466 &quot;A String&quot;,
6467 ],
6468 },
6469 &quot;intValue&quot;: &quot;A String&quot;,
6470 &quot;protoValue&quot;: {
6471 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6472 },
6473 &quot;stringArray&quot;: {
6474 &quot;values&quot;: [
6475 &quot;A String&quot;,
6476 ],
6477 },
6478 &quot;stringValue&quot;: &quot;A String&quot;,
6479 },
6480 },
6481 ],
6482 },
6483 ],
6484 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
6485 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
6486 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
6487 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
6488 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
6489 },
6490 ],
6491 &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.
6492 &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.
6493 &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.
6494 &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.
6495 { # Key-value pair of EventBus parameters.
6496 &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.
6497 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
6498 &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.
6499 &quot;booleanArray&quot;: {
6500 &quot;booleanValues&quot;: [
6501 True or False,
6502 ],
6503 },
6504 &quot;booleanValue&quot;: True or False,
6505 &quot;doubleArray&quot;: {
6506 &quot;doubleValues&quot;: [
6507 3.14,
6508 ],
6509 },
6510 &quot;doubleValue&quot;: 3.14,
6511 &quot;intArray&quot;: {
6512 &quot;intValues&quot;: [
6513 &quot;A String&quot;,
6514 ],
6515 },
6516 &quot;intValue&quot;: &quot;A String&quot;,
6517 &quot;protoArray&quot;: {
6518 &quot;protoValues&quot;: [
6519 {
6520 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6521 },
6522 ],
6523 },
6524 &quot;protoValue&quot;: {
6525 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6526 },
6527 &quot;serializedObjectValue&quot;: {
6528 &quot;objectValue&quot;: &quot;A String&quot;,
6529 },
6530 &quot;stringArray&quot;: {
6531 &quot;stringValues&quot;: [
6532 &quot;A String&quot;,
6533 ],
6534 },
6535 &quot;stringValue&quot;: &quot;A String&quot;,
6536 },
6537 },
6538 ],
6539 },
6540 &quot;triggerCriteriaTaskImplementationClassName&quot;: &quot;A String&quot;, # Optional. Implementation class name. The class should implement the “TypedTask” interface.
6541 },
6542 &quot;triggerId&quot;: &quot;A String&quot;, # The backend trigger ID.
6543 &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.
6544 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the workflow on UI.
6545 &quot;triggerType&quot;: &quot;A String&quot;,
6546 },
6547 ],
6548 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
6549 &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.
6550 }
6551
6552 updateMask: string, Field mask specifying the fields in the above integration that have been modified and need to be updated.
6553 x__xgafv: string, V1 error format.
6554 Allowed values
6555 1 - v1 error format
6556 2 - v2 error format
6557
6558 Returns:
6559 An object of the form:
6560
6561 { # The integration version definition.
6562 &quot;cloudKmsKey&quot;: &quot;A String&quot;, # Optional. Cloud KMS resource name for the CMEK encryption key.
6563 &quot;cloudLoggingDetails&quot;: { # Cloud Logging details for execution info # Optional. Cloud Logging details for the integration version
6564 &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.
6565 &quot;enableCloudLogging&quot;: True or False, # Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.
6566 },
6567 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
6568 &quot;createdFromTemplate&quot;: &quot;A String&quot;, # Optional. Optional. The resource name of the template from which the integration is created.
6569 &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.
6570 &quot;description&quot;: &quot;A String&quot;, # Optional. The integration description.
6571 &quot;enableVariableMasking&quot;: True or False, # Optional. True if variable masking feature should be turned on for this version
6572 &quot;errorCatcherConfigs&quot;: [ # Optional. Error Catch Task configuration for the integration. It&#x27;s optional.
6573 { # Configuration detail of a error catch task
6574 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give more business context about the error catcher config.
6575 &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
6576 &quot;errorCatcherNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each error catcher config within the workflow on UI.
6577 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular error catcher. Optional.
6578 &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.
6579 &quot;x&quot;: 42, # Required. X axis of the coordinate
6580 &quot;y&quot;: 42, # Required. Y axis of the coordinate
6581 },
6582 &quot;startErrorTasks&quot;: [ # Required. The set of start tasks that are to be executed for the error catch flow
6583 { # The task that is next in line to be executed, if the condition specified evaluated to true.
6584 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
6585 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
6586 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
6587 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
6588 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
6589 },
6590 ],
6591 },
6592 ],
6593 &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.
6594 { # 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.
6595 &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.
6596 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
6597 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
6598 &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.
6599 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
6600 &quot;booleanValues&quot;: [ # Boolean array.
6601 True or False,
6602 ],
6603 },
6604 &quot;booleanValue&quot;: True or False, # Boolean.
6605 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
6606 &quot;doubleValues&quot;: [ # Double number array.
6607 3.14,
6608 ],
6609 },
6610 &quot;doubleValue&quot;: 3.14, # Double Number.
6611 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
6612 &quot;intValues&quot;: [ # Integer array.
6613 &quot;A String&quot;,
6614 ],
6615 },
6616 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
6617 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
6618 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
6619 &quot;stringValues&quot;: [ # String array.
6620 &quot;A String&quot;,
6621 ],
6622 },
6623 &quot;stringValue&quot;: &quot;A String&quot;, # String.
6624 },
6625 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
6626 &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;.
6627 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
6628 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
6629 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
6630 &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.
6631 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
6632 &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.
6633 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
6634 },
6635 &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.
6636 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
6637 &quot;booleanValues&quot;: [ # Boolean array.
6638 True or False,
6639 ],
6640 },
6641 &quot;booleanValue&quot;: True or False, # Boolean.
6642 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
6643 &quot;doubleValues&quot;: [ # Double number array.
6644 3.14,
6645 ],
6646 },
6647 &quot;doubleValue&quot;: 3.14, # Double Number.
6648 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
6649 &quot;intValues&quot;: [ # Integer array.
6650 &quot;A String&quot;,
6651 ],
6652 },
6653 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
6654 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
6655 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
6656 &quot;stringValues&quot;: [ # String array.
6657 &quot;A String&quot;,
6658 ],
6659 },
6660 &quot;stringValue&quot;: &quot;A String&quot;, # String.
6661 },
6662 },
6663 ],
6664 &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.
6665 { # 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.
6666 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
6667 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
6668 &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.
6669 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
6670 &quot;booleanValues&quot;: [ # Boolean array.
6671 True or False,
6672 ],
6673 },
6674 &quot;booleanValue&quot;: True or False, # Boolean.
6675 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
6676 &quot;doubleValues&quot;: [ # Double number array.
6677 3.14,
6678 ],
6679 },
6680 &quot;doubleValue&quot;: 3.14, # Double Number.
6681 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
6682 &quot;intValues&quot;: [ # Integer array.
6683 &quot;A String&quot;,
6684 ],
6685 },
6686 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
6687 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
6688 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
6689 &quot;stringValues&quot;: [ # String array.
6690 &quot;A String&quot;,
6691 ],
6692 },
6693 &quot;stringValue&quot;: &quot;A String&quot;, # String.
6694 },
6695 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
6696 &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;.
6697 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
6698 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
6699 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
6700 &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.
6701 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
6702 &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.
6703 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
6704 },
6705 ],
6706 &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.
6707 &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.
6708 {
6709 &quot;attributes&quot;: { # Attributes are additional options that can be associated with each event property. For more information, see # Metadata information about the parameters.
6710 &quot;dataType&quot;: &quot;A String&quot;, # Things like URL, Email, Currency, Timestamp (rather than string, int64...)
6711 &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.
6712 &quot;booleanValue&quot;: True or False,
6713 &quot;doubleArray&quot;: {
6714 &quot;values&quot;: [
6715 3.14,
6716 ],
6717 },
6718 &quot;doubleValue&quot;: 3.14,
6719 &quot;intArray&quot;: {
6720 &quot;values&quot;: [
6721 &quot;A String&quot;,
6722 ],
6723 },
6724 &quot;intValue&quot;: &quot;A String&quot;,
6725 &quot;protoValue&quot;: {
6726 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6727 },
6728 &quot;stringArray&quot;: {
6729 &quot;values&quot;: [
6730 &quot;A String&quot;,
6731 ],
6732 },
6733 &quot;stringValue&quot;: &quot;A String&quot;,
6734 },
6735 &quot;isRequired&quot;: True or False, # Required for event execution. The validation will be done by the event bus when the event is triggered.
6736 &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.
6737 &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
6738 &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.
6739 &quot;seedPeriod&quot;: &quot;A String&quot;,
6740 &quot;seedScope&quot;: &quot;A String&quot;,
6741 },
6742 &quot;masked&quot;: True or False, # True if this workflow parameter should be masked in the logs
6743 &quot;readOnly&quot;: True or False, # Used to indicate if the ParameterEntry is a read only field or not.
6744 &quot;searchable&quot;: &quot;A String&quot;,
6745 &quot;taskVisibility&quot;: [ # List of tasks that can view this property, if empty then all.
6746 &quot;A String&quot;,
6747 ],
6748 },
6749 &quot;children&quot;: [ # Child parameters nested within this parameter. This field only applies to protobuf parameters
6750 # Object with schema name: EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
6751 ],
6752 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
6753 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
6754 &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.
6755 &quot;booleanArray&quot;: {
6756 &quot;booleanValues&quot;: [
6757 True or False,
6758 ],
6759 },
6760 &quot;booleanValue&quot;: True or False,
6761 &quot;doubleArray&quot;: {
6762 &quot;doubleValues&quot;: [
6763 3.14,
6764 ],
6765 },
6766 &quot;doubleValue&quot;: 3.14,
6767 &quot;intArray&quot;: {
6768 &quot;intValues&quot;: [
6769 &quot;A String&quot;,
6770 ],
6771 },
6772 &quot;intValue&quot;: &quot;A String&quot;,
6773 &quot;jsonValue&quot;: &quot;A String&quot;,
6774 &quot;protoArray&quot;: {
6775 &quot;protoValues&quot;: [
6776 {
6777 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6778 },
6779 ],
6780 },
6781 &quot;protoValue&quot;: {
6782 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6783 },
6784 &quot;serializedObjectValue&quot;: {
6785 &quot;objectValue&quot;: &quot;A String&quot;,
6786 },
6787 &quot;stringArray&quot;: {
6788 &quot;stringValues&quot;: [
6789 &quot;A String&quot;,
6790 ],
6791 },
6792 &quot;stringValue&quot;: &quot;A String&quot;,
6793 },
6794 &quot;description&quot;: &quot;A String&quot;, # Optional. The description about the parameter
6795 &quot;inOutType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
6796 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
6797 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
6798 &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.
6799 &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;.
6800 &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.
6801 &quot;elementIdentifier&quot;: &quot;A String&quot;, # Configuration of the edge.
6802 &quot;elementType&quot;: &quot;A String&quot;, # Destination node where the edge ends. It can only be a task config.
6803 },
6804 &quot;producer&quot;: &quot;A String&quot;,
6805 &quot;protoDefName&quot;: &quot;A String&quot;, # The name of the protobuf type if the parameter has a protobuf data type.
6806 &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;.
6807 &quot;required&quot;: True or False,
6808 },
6809 ],
6810 },
6811 &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.
6812 &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.
6813 &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
6814 &quot;origin&quot;: &quot;A String&quot;, # Optional. The origin that indicates where this integration is coming from.
6815 &quot;parentTemplateId&quot;: &quot;A String&quot;, # Optional. The id of the template which was used to create this integration_version.
6816 &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.
6817 &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.
6818 &quot;state&quot;: &quot;A String&quot;, # Output only. User should not set it as an input.
6819 &quot;status&quot;: &quot;A String&quot;, # Output only. Generated by eventbus. User should not set it as an input.
6820 &quot;taskConfigs&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
6821 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
6822 &quot;conditionalFailurePolicies&quot;: { # Conditional task failur retry strategies # Optional. The list of conditional failure policies that will be applied to the task in order.
6823 &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.
6824 &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.
6825 &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.
6826 &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.
6827 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
6828 },
6829 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
6830 { # 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).
6831 &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.
6832 &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.
6833 &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.
6834 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
6835 },
6836 ],
6837 },
6838 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
6839 &quot;displayName&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to this TaskConfig in the UI.
6840 &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
6841 &quot;externalTaskType&quot;: &quot;A String&quot;, # Optional. External task type of the task
6842 &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.).
6843 &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.
6844 &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.
6845 &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.
6846 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
6847 },
6848 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # Optional. If set, overrides the option configured in the Task implementation class.
6849 &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.
6850 { # The task that is next in line to be executed, if the condition specified evaluated to true.
6851 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
6852 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
6853 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
6854 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
6855 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
6856 },
6857 ],
6858 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution of the next set of tasks for the current task.
6859 &quot;parameters&quot;: { # Optional. The customized parameters the user can pass to this task.
6860 &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
6861 &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.
6862 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
6863 &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.
6864 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
6865 &quot;booleanValues&quot;: [ # Boolean array.
6866 True or False,
6867 ],
6868 },
6869 &quot;booleanValue&quot;: True or False, # Boolean.
6870 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
6871 &quot;doubleValues&quot;: [ # Double number array.
6872 3.14,
6873 ],
6874 },
6875 &quot;doubleValue&quot;: 3.14, # Double Number.
6876 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
6877 &quot;intValues&quot;: [ # Integer array.
6878 &quot;A String&quot;,
6879 ],
6880 },
6881 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
6882 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
6883 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
6884 &quot;stringValues&quot;: [ # String array.
6885 &quot;A String&quot;,
6886 ],
6887 },
6888 &quot;stringValue&quot;: &quot;A String&quot;, # String.
6889 },
6890 },
6891 },
6892 &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.
6893 &quot;x&quot;: 42, # Required. X axis of the coordinate
6894 &quot;y&quot;: 42, # Required. Y axis of the coordinate
6895 },
6896 &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.
6897 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
6898 },
6899 &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).
6900 &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.
6901 &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.
6902 &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.
6903 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
6904 },
6905 &quot;task&quot;: &quot;A String&quot;, # Optional. The name for the task.
6906 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution strategy of this task.
6907 &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`).
6908 &quot;taskTemplate&quot;: &quot;A String&quot;, # Optional. Used to define task-template name if task is of type task-template
6909 },
6910 ],
6911 &quot;taskConfigsInternal&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
6912 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
6913 &quot;alertConfigs&quot;: [ # Alert configurations on error rate, warning rate, number of runs, durations, etc.
6914 { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event.
6915 &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).
6916 &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.
6917 &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.
6918 &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.
6919 &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.
6920 &quot;errorEnumList&quot;: { # List of error enums for alerts.
6921 &quot;enumStrings&quot;: [
6922 &quot;A String&quot;,
6923 ],
6924 &quot;filterType&quot;: &quot;A String&quot;,
6925 },
6926 &quot;metricType&quot;: &quot;A String&quot;,
6927 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
6928 &quot;onlyFinalAttempt&quot;: True or False, # Only count final task attempts, not retries.
6929 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
6930 &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.
6931 &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.
6932 &quot;absolute&quot;: &quot;A String&quot;,
6933 &quot;percentage&quot;: 42,
6934 },
6935 &quot;warningEnumList&quot;: { # List of error enums for alerts.
6936 &quot;enumStrings&quot;: [
6937 &quot;A String&quot;,
6938 ],
6939 &quot;filterType&quot;: &quot;A String&quot;,
6940 },
6941 },
6942 ],
6943 &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).
6944 &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
6945 &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.
6946 &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.
6947 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
6948 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
6949 },
6950 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
6951 { # 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).
6952 &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.
6953 &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.
6954 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
6955 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
6956 },
6957 ],
6958 },
6959 &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
6960 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address. Auto-generated from the user&#x27;s email.
6961 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
6962 &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.
6963 &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
6964 &quot;externalTaskType&quot;: &quot;A String&quot;,
6965 &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.).
6966 &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.
6967 &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.
6968 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
6969 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
6970 },
6971 &quot;incomingEdgeCount&quot;: 42, # The number of edges leading into this TaskConfig.
6972 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # If set, overrides the option configured in the Task implementation class.
6973 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this TaskConfig in the UI.
6974 &quot;lastModifiedTime&quot;: &quot;A String&quot;, # Auto-generated.
6975 &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.
6976 { # The task that is next in line to be executed, if the condition specified evaluated to true.
6977 &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`
6978 { # This message recursively combines constituent conditions using logical AND.
6979 &quot;conditions&quot;: [ # A set of individual constituent conditions.
6980 { # Condition that uses `operator` to evaluate the key against the value.
6981 &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.
6982 &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.
6983 &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.
6984 &quot;booleanValue&quot;: True or False,
6985 &quot;doubleArray&quot;: {
6986 &quot;values&quot;: [
6987 3.14,
6988 ],
6989 },
6990 &quot;doubleValue&quot;: 3.14,
6991 &quot;intArray&quot;: {
6992 &quot;values&quot;: [
6993 &quot;A String&quot;,
6994 ],
6995 },
6996 &quot;intValue&quot;: &quot;A String&quot;,
6997 &quot;protoValue&quot;: {
6998 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6999 },
7000 &quot;stringArray&quot;: {
7001 &quot;values&quot;: [
7002 &quot;A String&quot;,
7003 ],
7004 },
7005 &quot;stringValue&quot;: &quot;A String&quot;,
7006 },
7007 },
7008 ],
7009 },
7010 ],
7011 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
7012 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
7013 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
7014 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
7015 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
7016 },
7017 ],
7018 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # The policy dictating the execution of the next set of tasks for the current task.
7019 &quot;parameters&quot;: { # The customized parameters the user can pass to this task.
7020 &quot;a_key&quot;: { # Key-value pair of EventBus parameters.
7021 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
7022 &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.
7023 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
7024 &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.
7025 &quot;booleanArray&quot;: {
7026 &quot;booleanValues&quot;: [
7027 True or False,
7028 ],
7029 },
7030 &quot;booleanValue&quot;: True or False,
7031 &quot;doubleArray&quot;: {
7032 &quot;doubleValues&quot;: [
7033 3.14,
7034 ],
7035 },
7036 &quot;doubleValue&quot;: 3.14,
7037 &quot;intArray&quot;: {
7038 &quot;intValues&quot;: [
7039 &quot;A String&quot;,
7040 ],
7041 },
7042 &quot;intValue&quot;: &quot;A String&quot;,
7043 &quot;jsonValue&quot;: &quot;A String&quot;,
7044 &quot;protoArray&quot;: {
7045 &quot;protoValues&quot;: [
7046 {
7047 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7048 },
7049 ],
7050 },
7051 &quot;protoValue&quot;: {
7052 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7053 },
7054 &quot;serializedObjectValue&quot;: {
7055 &quot;objectValue&quot;: &quot;A String&quot;,
7056 },
7057 &quot;stringArray&quot;: {
7058 &quot;stringValues&quot;: [
7059 &quot;A String&quot;,
7060 ],
7061 },
7062 &quot;stringValue&quot;: &quot;A String&quot;,
7063 },
7064 },
7065 },
7066 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this task config on the UI.
7067 &quot;x&quot;: 42,
7068 &quot;y&quot;: 42,
7069 },
7070 &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.
7071 &quot;preconditionLabel&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to precondition in the UI.
7072 &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).
7073 &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.
7074 &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.
7075 { # Key-value pair of EventBus parameters.
7076 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
7077 &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.
7078 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
7079 &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.
7080 &quot;booleanArray&quot;: {
7081 &quot;booleanValues&quot;: [
7082 True or False,
7083 ],
7084 },
7085 &quot;booleanValue&quot;: True or False,
7086 &quot;doubleArray&quot;: {
7087 &quot;doubleValues&quot;: [
7088 3.14,
7089 ],
7090 },
7091 &quot;doubleValue&quot;: 3.14,
7092 &quot;intArray&quot;: {
7093 &quot;intValues&quot;: [
7094 &quot;A String&quot;,
7095 ],
7096 },
7097 &quot;intValue&quot;: &quot;A String&quot;,
7098 &quot;jsonValue&quot;: &quot;A String&quot;,
7099 &quot;protoArray&quot;: {
7100 &quot;protoValues&quot;: [
7101 {
7102 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7103 },
7104 ],
7105 },
7106 &quot;protoValue&quot;: {
7107 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7108 },
7109 &quot;serializedObjectValue&quot;: {
7110 &quot;objectValue&quot;: &quot;A String&quot;,
7111 },
7112 &quot;stringArray&quot;: {
7113 &quot;stringValues&quot;: [
7114 &quot;A String&quot;,
7115 ],
7116 },
7117 &quot;stringValue&quot;: &quot;A String&quot;,
7118 },
7119 },
7120 ],
7121 },
7122 &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.
7123 &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.
7124 &quot;A String&quot;,
7125 ],
7126 },
7127 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Determines what action to take upon successful task completion.
7128 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
7129 },
7130 &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).
7131 &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.
7132 &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.
7133 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
7134 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
7135 },
7136 &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.
7137 &quot;disabledForVpcSc&quot;: True or False, # True if the task has conflict with vpcsc
7138 &quot;metadata&quot;: { # TaskMetadata are attributes that are associated to every common Task we have. # Metadata inclueds the task name, author and so on.
7139 &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.
7140 &quot;admins&quot;: [
7141 { # 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.
7142 &quot;googleGroupEmail&quot;: &quot;A String&quot;,
7143 &quot;userEmail&quot;: &quot;A String&quot;,
7144 },
7145 ],
7146 &quot;category&quot;: &quot;A String&quot;,
7147 &quot;codeSearchLink&quot;: &quot;A String&quot;, # The Code Search link to the Task Java file.
7148 &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.
7149 &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.
7150 &quot;description&quot;: &quot;A String&quot;, # In a few sentences, describe the purpose and usage of the task.
7151 &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;)
7152 &quot;docMarkdown&quot;: &quot;A String&quot;, # Snippet of markdown documentation to embed in the RHP for this task.
7153 &quot;externalCategory&quot;: &quot;A String&quot;,
7154 &quot;externalCategorySequence&quot;: 42, # Sequence with which the task in specific category to be displayed in task discovery panel for external users.
7155 &quot;externalDocHtml&quot;: &quot;A String&quot;, # External-facing documention embedded in the RHP for this task.
7156 &quot;externalDocLink&quot;: &quot;A String&quot;, # Doc link for external-facing documentation (separate from g3doc).
7157 &quot;externalDocMarkdown&quot;: &quot;A String&quot;, # DEPRECATED: Use external_doc_html.
7158 &quot;g3DocLink&quot;: &quot;A String&quot;, # URL to the associated G3 Doc for the task if available
7159 &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.
7160 &quot;isDeprecated&quot;: True or False, # The deprecation status of the current task. Default value is false;
7161 &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.
7162 &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
7163 &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.
7164 &quot;system&quot;: &quot;A String&quot;,
7165 &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.
7166 &quot;A String&quot;,
7167 ],
7168 },
7169 &quot;paramSpecs&quot;: { # Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask.
7170 &quot;parameters&quot;: [
7171 { # Key-value pair of EventBus task parameters. Next id: 13
7172 &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.
7173 &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.
7174 &quot;config&quot;: { # Optional fields, such as help text and other useful info.
7175 &quot;descriptivePhrase&quot;: &quot;A String&quot;, # A short phrase to describe what this parameter contains.
7176 &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.
7177 &quot;hideDefaultValue&quot;: True or False, # Whether the default value is hidden in the UI.
7178 &quot;inputDisplayOption&quot;: &quot;A String&quot;,
7179 &quot;isHidden&quot;: True or False, # Whether this field is hidden in the UI.
7180 &quot;label&quot;: &quot;A String&quot;, # A user-friendly label for the parameter.
7181 &quot;parameterNameOption&quot;: &quot;A String&quot;,
7182 &quot;subSectionLabel&quot;: &quot;A String&quot;, # A user-friendly label for subSection under which the parameter will be displayed.
7183 &quot;uiPlaceholderText&quot;: &quot;A String&quot;, # Placeholder text which will appear in the UI input form for this parameter.
7184 },
7185 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
7186 &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.
7187 &quot;booleanArray&quot;: {
7188 &quot;booleanValues&quot;: [
7189 True or False,
7190 ],
7191 },
7192 &quot;booleanValue&quot;: True or False,
7193 &quot;doubleArray&quot;: {
7194 &quot;doubleValues&quot;: [
7195 3.14,
7196 ],
7197 },
7198 &quot;doubleValue&quot;: 3.14,
7199 &quot;intArray&quot;: {
7200 &quot;intValues&quot;: [
7201 &quot;A String&quot;,
7202 ],
7203 },
7204 &quot;intValue&quot;: &quot;A String&quot;,
7205 &quot;jsonValue&quot;: &quot;A String&quot;,
7206 &quot;protoArray&quot;: {
7207 &quot;protoValues&quot;: [
7208 {
7209 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7210 },
7211 ],
7212 },
7213 &quot;protoValue&quot;: {
7214 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7215 },
7216 &quot;serializedObjectValue&quot;: {
7217 &quot;objectValue&quot;: &quot;A String&quot;,
7218 },
7219 &quot;stringArray&quot;: {
7220 &quot;stringValues&quot;: [
7221 &quot;A String&quot;,
7222 ],
7223 },
7224 &quot;stringValue&quot;: &quot;A String&quot;,
7225 },
7226 &quot;isDeprecated&quot;: True or False, # If set, this entry is deprecated, so further use of this parameter should be prohibited.
7227 &quot;isOutput&quot;: True or False,
7228 &quot;jsonSchema&quot;: &quot;A String&quot;, # If the data_type is JSON_VALUE, then this will define its schema.
7229 &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.
7230 &quot;protoDef&quot;: { # Populated if this represents a proto or proto array.
7231 &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;.
7232 &quot;path&quot;: &quot;A String&quot;, # Path to the proto file that contains the message type&#x27;s definition.
7233 },
7234 &quot;required&quot;: True or False, # If set, the user must provide an input value for this parameter.
7235 &quot;validationRule&quot;: { # Rule used to validate inputs (individual values and collection elements) for this parameter.
7236 &quot;doubleRange&quot;: { # Range used to validate doubles and floats.
7237 &quot;max&quot;: 3.14, # The inclusive maximum of the acceptable range.
7238 &quot;min&quot;: 3.14, # The inclusive minimum of the acceptable range.
7239 },
7240 &quot;intRange&quot;: { # Range used to validate longs and ints.
7241 &quot;max&quot;: &quot;A String&quot;, # The inclusive maximum of the acceptable range.
7242 &quot;min&quot;: &quot;A String&quot;, # The inclusive minimum of the acceptable range.
7243 },
7244 &quot;stringRegex&quot;: { # Rule used to validate strings.
7245 &quot;exclusive&quot;: True or False, # Whether the regex matcher is applied exclusively (if true, matching values will be rejected).
7246 &quot;regex&quot;: &quot;A String&quot;, # The regex applied to the input value(s).
7247 },
7248 },
7249 },
7250 ],
7251 },
7252 &quot;stats&quot;: { # Stats for the requested dimensions: QPS, duration, and error/warning rate # Deprecated - statistics from the Monarch query.
7253 &quot;dimensions&quot;: { # Dimensions that these stats have been aggregated on.
7254 &quot;clientId&quot;: &quot;A String&quot;,
7255 &quot;enumFilterType&quot;: &quot;A String&quot;, # Whether to include or exclude the enums matching the regex.
7256 &quot;errorEnumString&quot;: &quot;A String&quot;,
7257 &quot;retryAttempt&quot;: &quot;A String&quot;,
7258 &quot;taskName&quot;: &quot;A String&quot;,
7259 &quot;taskNumber&quot;: &quot;A String&quot;,
7260 &quot;triggerId&quot;: &quot;A String&quot;, # Stats have been or will be aggregated on set fields for any semantically-meaningful combination.
7261 &quot;warningEnumString&quot;: &quot;A String&quot;,
7262 &quot;workflowId&quot;: &quot;A String&quot;,
7263 &quot;workflowName&quot;: &quot;A String&quot;,
7264 },
7265 &quot;durationInSeconds&quot;: 3.14, # Average duration in seconds.
7266 &quot;errorRate&quot;: 3.14, # Average error rate.
7267 &quot;qps&quot;: 3.14, # Queries per second.
7268 &quot;warningRate&quot;: 3.14, # Average warning rate.
7269 },
7270 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
7271 &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.
7272 &quot;taskUiModuleConfigs&quot;: [ # Configurations of included config modules.
7273 { # Task author would use this type to configure a config module.
7274 &quot;moduleId&quot;: &quot;A String&quot;, # ID of the config module.
7275 },
7276 ],
7277 },
7278 },
7279 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # The policy dictating the execution strategy of this task.
7280 &quot;taskName&quot;: &quot;A String&quot;, # The name for the task.
7281 &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`).
7282 &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.
7283 &quot;taskTemplateName&quot;: &quot;A String&quot;, # Used to define task-template name if task is of type task-template
7284 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
7285 },
7286 ],
7287 &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.
7288 &quot;teardownTaskConfigs&quot;: [ # Required.
7289 {
7290 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address.
7291 &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.
7292 &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).
7293 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the next teardown task.
7294 },
7295 &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.
7296 &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.
7297 { # Key-value pair of EventBus parameters.
7298 &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.
7299 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
7300 &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.
7301 &quot;booleanArray&quot;: {
7302 &quot;booleanValues&quot;: [
7303 True or False,
7304 ],
7305 },
7306 &quot;booleanValue&quot;: True or False,
7307 &quot;doubleArray&quot;: {
7308 &quot;doubleValues&quot;: [
7309 3.14,
7310 ],
7311 },
7312 &quot;doubleValue&quot;: 3.14,
7313 &quot;intArray&quot;: {
7314 &quot;intValues&quot;: [
7315 &quot;A String&quot;,
7316 ],
7317 },
7318 &quot;intValue&quot;: &quot;A String&quot;,
7319 &quot;protoArray&quot;: {
7320 &quot;protoValues&quot;: [
7321 {
7322 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7323 },
7324 ],
7325 },
7326 &quot;protoValue&quot;: {
7327 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7328 },
7329 &quot;serializedObjectValue&quot;: {
7330 &quot;objectValue&quot;: &quot;A String&quot;,
7331 },
7332 &quot;stringArray&quot;: {
7333 &quot;stringValues&quot;: [
7334 &quot;A String&quot;,
7335 ],
7336 },
7337 &quot;stringValue&quot;: &quot;A String&quot;,
7338 },
7339 },
7340 ],
7341 },
7342 &quot;properties&quot;: { # LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus.
7343 &quot;properties&quot;: [ # An unordered list of property entries.
7344 { # Key-value pair of EventBus property.
7345 &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.
7346 &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.
7347 &quot;booleanValue&quot;: True or False,
7348 &quot;doubleArray&quot;: {
7349 &quot;values&quot;: [
7350 3.14,
7351 ],
7352 },
7353 &quot;doubleValue&quot;: 3.14,
7354 &quot;intArray&quot;: {
7355 &quot;values&quot;: [
7356 &quot;A String&quot;,
7357 ],
7358 },
7359 &quot;intValue&quot;: &quot;A String&quot;,
7360 &quot;protoValue&quot;: {
7361 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7362 },
7363 &quot;stringArray&quot;: {
7364 &quot;values&quot;: [
7365 &quot;A String&quot;,
7366 ],
7367 },
7368 &quot;stringValue&quot;: &quot;A String&quot;,
7369 },
7370 },
7371 ],
7372 },
7373 &quot;teardownTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. Implementation class name.
7374 },
7375 ],
7376 },
7377 &quot;triggerConfigs&quot;: [ # Optional. Trigger configurations.
7378 { # Configuration detail of a trigger.
7379 &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.
7380 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
7381 &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.
7382 &quot;alertThreshold&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
7383 &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.
7384 &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.
7385 &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.
7386 &quot;metricType&quot;: &quot;A String&quot;, # The type of metric.
7387 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
7388 &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.
7389 &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.
7390 &quot;absolute&quot;: &quot;A String&quot;, # Absolute value threshold.
7391 &quot;percentage&quot;: 42, # Percentage threshold.
7392 },
7393 },
7394 ],
7395 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration # Optional. Cloud Scheduler Trigger related metadata
7396 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
7397 &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
7398 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
7399 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
7400 },
7401 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
7402 &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
7403 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
7404 &quot;names&quot;: [ # Optional. List of variable names.
7405 &quot;A String&quot;,
7406 ],
7407 },
7408 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular trigger.
7409 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. Dictates how next tasks will be executed.
7410 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
7411 &quot;names&quot;: [ # Optional. List of variable names.
7412 &quot;A String&quot;,
7413 ],
7414 },
7415 &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.
7416 &quot;x&quot;: 42, # Required. X axis of the coordinate
7417 &quot;y&quot;: 42, # Required. Y axis of the coordinate
7418 },
7419 &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.
7420 &quot;a_key&quot;: &quot;A String&quot;,
7421 },
7422 &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).
7423 { # The task that is next in line to be executed, if the condition specified evaluated to true.
7424 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
7425 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
7426 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
7427 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
7428 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
7429 },
7430 ],
7431 &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.
7432 &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}
7433 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the integration on UI.
7434 &quot;triggerType&quot;: &quot;A String&quot;, # Optional. Type of trigger
7435 },
7436 ],
7437 &quot;triggerConfigsInternal&quot;: [ # Optional. Trigger configurations.
7438 { # Configuration detail of a trigger. Next available id: 22
7439 &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.
7440 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
7441 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
7442 &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.
7443 &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.
7444 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration.
7445 &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.
7446 &quot;errorEnumList&quot;: { # List of error enums for alerts.
7447 &quot;enumStrings&quot;: [
7448 &quot;A String&quot;,
7449 ],
7450 &quot;filterType&quot;: &quot;A String&quot;,
7451 },
7452 &quot;metricType&quot;: &quot;A String&quot;,
7453 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
7454 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
7455 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
7456 &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.
7457 &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.
7458 &quot;absolute&quot;: &quot;A String&quot;,
7459 &quot;percentage&quot;: 42,
7460 },
7461 &quot;warningEnumList&quot;: { # List of error enums for alerts.
7462 &quot;enumStrings&quot;: [
7463 &quot;A String&quot;,
7464 ],
7465 &quot;filterType&quot;: &quot;A String&quot;,
7466 },
7467 },
7468 ],
7469 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration
7470 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
7471 &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
7472 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
7473 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
7474 },
7475 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
7476 &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.
7477 &quot;A String&quot;,
7478 ],
7479 &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
7480 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
7481 &quot;names&quot;: [ # Optional. List of variable names.
7482 &quot;A String&quot;,
7483 ],
7484 },
7485 &quot;label&quot;: &quot;A String&quot;, # The user created label for a particular trigger.
7486 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Dictates how next tasks will be executed.
7487 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
7488 &quot;names&quot;: [ # Optional. List of variable names.
7489 &quot;A String&quot;,
7490 ],
7491 },
7492 &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.
7493 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this trigger config on the UI.
7494 &quot;x&quot;: 42,
7495 &quot;y&quot;: 42,
7496 },
7497 &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.
7498 &quot;a_key&quot;: &quot;A String&quot;,
7499 },
7500 &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).
7501 { # The task that is next in line to be executed, if the condition specified evaluated to true.
7502 &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`
7503 { # This message recursively combines constituent conditions using logical AND.
7504 &quot;conditions&quot;: [ # A set of individual constituent conditions.
7505 { # Condition that uses `operator` to evaluate the key against the value.
7506 &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.
7507 &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.
7508 &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.
7509 &quot;booleanValue&quot;: True or False,
7510 &quot;doubleArray&quot;: {
7511 &quot;values&quot;: [
7512 3.14,
7513 ],
7514 },
7515 &quot;doubleValue&quot;: 3.14,
7516 &quot;intArray&quot;: {
7517 &quot;values&quot;: [
7518 &quot;A String&quot;,
7519 ],
7520 },
7521 &quot;intValue&quot;: &quot;A String&quot;,
7522 &quot;protoValue&quot;: {
7523 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7524 },
7525 &quot;stringArray&quot;: {
7526 &quot;values&quot;: [
7527 &quot;A String&quot;,
7528 ],
7529 },
7530 &quot;stringValue&quot;: &quot;A String&quot;,
7531 },
7532 },
7533 ],
7534 },
7535 ],
7536 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
7537 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
7538 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
7539 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
7540 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
7541 },
7542 ],
7543 &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.
7544 &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.
7545 &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.
7546 &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.
7547 { # Key-value pair of EventBus parameters.
7548 &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.
7549 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
7550 &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.
7551 &quot;booleanArray&quot;: {
7552 &quot;booleanValues&quot;: [
7553 True or False,
7554 ],
7555 },
7556 &quot;booleanValue&quot;: True or False,
7557 &quot;doubleArray&quot;: {
7558 &quot;doubleValues&quot;: [
7559 3.14,
7560 ],
7561 },
7562 &quot;doubleValue&quot;: 3.14,
7563 &quot;intArray&quot;: {
7564 &quot;intValues&quot;: [
7565 &quot;A String&quot;,
7566 ],
7567 },
7568 &quot;intValue&quot;: &quot;A String&quot;,
7569 &quot;protoArray&quot;: {
7570 &quot;protoValues&quot;: [
7571 {
7572 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7573 },
7574 ],
7575 },
7576 &quot;protoValue&quot;: {
7577 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7578 },
7579 &quot;serializedObjectValue&quot;: {
7580 &quot;objectValue&quot;: &quot;A String&quot;,
7581 },
7582 &quot;stringArray&quot;: {
7583 &quot;stringValues&quot;: [
7584 &quot;A String&quot;,
7585 ],
7586 },
7587 &quot;stringValue&quot;: &quot;A String&quot;,
7588 },
7589 },
7590 ],
7591 },
7592 &quot;triggerCriteriaTaskImplementationClassName&quot;: &quot;A String&quot;, # Optional. Implementation class name. The class should implement the “TypedTask” interface.
7593 },
7594 &quot;triggerId&quot;: &quot;A String&quot;, # The backend trigger ID.
7595 &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.
7596 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the workflow on UI.
7597 &quot;triggerType&quot;: &quot;A String&quot;,
7598 },
7599 ],
7600 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
7601 &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.
7602 }</pre>
7603 </div>
7604
7605 <div class="method">
7606 <code class="details" id="publish">publish(name, body=None, x__xgafv=None)</code>
7607 <pre>This RPC throws an exception if the integration is in ARCHIVED or ACTIVE state. This RPC throws an exception if the version being published is DRAFT, and if the `locked_by` user is not the same as the user performing the Publish. Audit fields updated include last_published_timestamp, last_published_by, last_modified_timestamp, last_modified_by. Any existing lock is on this integration is released.
7608
7609 Args:
7610 name: string, Required. The version to publish. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version} (required)
7611 body: object, The request body.
7612 The object takes the form of:
7613
7614 { # Request for PublishIntegrationVersion.
7615 &quot;configParameters&quot;: { # Optional. Config parameters used during integration execution.
7616 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
7617 },
7618 }
7619
7620 x__xgafv: string, V1 error format.
7621 Allowed values
7622 1 - v1 error format
7623 2 - v2 error format
7624
7625 Returns:
7626 An object of the form:
7627
7628 { # Response for PublishIntegrationVersion.
7629 }</pre>
7630 </div>
7631
7632 <div class="method">
7633 <code class="details" id="test">test(name, body=None, x__xgafv=None)</code>
7634 <pre>Execute the integration in draft state
7635
7636 Args:
7637 name: string, Output only. Auto-generated primary key. (required)
7638 body: object, The request body.
7639 The object takes the form of:
7640
7641 { # The request for testing an integration.
7642 &quot;clientId&quot;: &quot;A String&quot;, # Required. This is used to identify the client on whose behalf the event will be executed.
7643 &quot;configParameters&quot;: { # Optional. Config parameters used during integration execution.
7644 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
7645 },
7646 &quot;deadlineSecondsTime&quot;: &quot;A String&quot;, # Optional. custom deadline of the rpc
7647 &quot;inputParameters&quot;: { # Optional. Input parameters used during integration execution.
7648 &quot;a_key&quot;: { # The type of the parameter.
7649 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
7650 &quot;booleanValues&quot;: [ # Boolean array.
7651 True or False,
7652 ],
7653 },
7654 &quot;booleanValue&quot;: True or False, # Boolean.
7655 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
7656 &quot;doubleValues&quot;: [ # Double number array.
7657 3.14,
7658 ],
7659 },
7660 &quot;doubleValue&quot;: 3.14, # Double Number.
7661 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
7662 &quot;intValues&quot;: [ # Integer array.
7663 &quot;A String&quot;,
7664 ],
7665 },
7666 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
7667 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
7668 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
7669 &quot;stringValues&quot;: [ # String array.
7670 &quot;A String&quot;,
7671 ],
7672 },
7673 &quot;stringValue&quot;: &quot;A String&quot;, # String.
7674 },
7675 },
7676 &quot;integrationVersion&quot;: { # The integration version definition. # Required. integration config to execute the workflow
7677 &quot;cloudKmsKey&quot;: &quot;A String&quot;, # Optional. Cloud KMS resource name for the CMEK encryption key.
7678 &quot;cloudLoggingDetails&quot;: { # Cloud Logging details for execution info # Optional. Cloud Logging details for the integration version
7679 &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.
7680 &quot;enableCloudLogging&quot;: True or False, # Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.
7681 },
7682 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
7683 &quot;createdFromTemplate&quot;: &quot;A String&quot;, # Optional. Optional. The resource name of the template from which the integration is created.
7684 &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.
7685 &quot;description&quot;: &quot;A String&quot;, # Optional. The integration description.
7686 &quot;enableVariableMasking&quot;: True or False, # Optional. True if variable masking feature should be turned on for this version
7687 &quot;errorCatcherConfigs&quot;: [ # Optional. Error Catch Task configuration for the integration. It&#x27;s optional.
7688 { # Configuration detail of a error catch task
7689 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give more business context about the error catcher config.
7690 &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
7691 &quot;errorCatcherNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each error catcher config within the workflow on UI.
7692 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular error catcher. Optional.
7693 &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.
7694 &quot;x&quot;: 42, # Required. X axis of the coordinate
7695 &quot;y&quot;: 42, # Required. Y axis of the coordinate
7696 },
7697 &quot;startErrorTasks&quot;: [ # Required. The set of start tasks that are to be executed for the error catch flow
7698 { # The task that is next in line to be executed, if the condition specified evaluated to true.
7699 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
7700 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
7701 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
7702 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
7703 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
7704 },
7705 ],
7706 },
7707 ],
7708 &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.
7709 { # 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.
7710 &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.
7711 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
7712 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
7713 &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.
7714 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
7715 &quot;booleanValues&quot;: [ # Boolean array.
7716 True or False,
7717 ],
7718 },
7719 &quot;booleanValue&quot;: True or False, # Boolean.
7720 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
7721 &quot;doubleValues&quot;: [ # Double number array.
7722 3.14,
7723 ],
7724 },
7725 &quot;doubleValue&quot;: 3.14, # Double Number.
7726 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
7727 &quot;intValues&quot;: [ # Integer array.
7728 &quot;A String&quot;,
7729 ],
7730 },
7731 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
7732 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
7733 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
7734 &quot;stringValues&quot;: [ # String array.
7735 &quot;A String&quot;,
7736 ],
7737 },
7738 &quot;stringValue&quot;: &quot;A String&quot;, # String.
7739 },
7740 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
7741 &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;.
7742 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
7743 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
7744 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
7745 &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.
7746 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
7747 &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.
7748 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
7749 },
7750 &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.
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 },
7778 ],
7779 &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.
7780 { # 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.
7781 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
7782 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
7783 &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.
7784 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
7785 &quot;booleanValues&quot;: [ # Boolean array.
7786 True or False,
7787 ],
7788 },
7789 &quot;booleanValue&quot;: True or False, # Boolean.
7790 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
7791 &quot;doubleValues&quot;: [ # Double number array.
7792 3.14,
7793 ],
7794 },
7795 &quot;doubleValue&quot;: 3.14, # Double Number.
7796 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
7797 &quot;intValues&quot;: [ # Integer array.
7798 &quot;A String&quot;,
7799 ],
7800 },
7801 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
7802 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
7803 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
7804 &quot;stringValues&quot;: [ # String array.
7805 &quot;A String&quot;,
7806 ],
7807 },
7808 &quot;stringValue&quot;: &quot;A String&quot;, # String.
7809 },
7810 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
7811 &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;.
7812 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
7813 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
7814 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
7815 &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.
7816 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
7817 &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.
7818 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
7819 },
7820 ],
7821 &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.
7822 &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.
7823 {
7824 &quot;attributes&quot;: { # Attributes are additional options that can be associated with each event property. For more information, see # Metadata information about the parameters.
7825 &quot;dataType&quot;: &quot;A String&quot;, # Things like URL, Email, Currency, Timestamp (rather than string, int64...)
7826 &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.
7827 &quot;booleanValue&quot;: True or False,
7828 &quot;doubleArray&quot;: {
7829 &quot;values&quot;: [
7830 3.14,
7831 ],
7832 },
7833 &quot;doubleValue&quot;: 3.14,
7834 &quot;intArray&quot;: {
7835 &quot;values&quot;: [
7836 &quot;A String&quot;,
7837 ],
7838 },
7839 &quot;intValue&quot;: &quot;A String&quot;,
7840 &quot;protoValue&quot;: {
7841 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7842 },
7843 &quot;stringArray&quot;: {
7844 &quot;values&quot;: [
7845 &quot;A String&quot;,
7846 ],
7847 },
7848 &quot;stringValue&quot;: &quot;A String&quot;,
7849 },
7850 &quot;isRequired&quot;: True or False, # Required for event execution. The validation will be done by the event bus when the event is triggered.
7851 &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.
7852 &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
7853 &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.
7854 &quot;seedPeriod&quot;: &quot;A String&quot;,
7855 &quot;seedScope&quot;: &quot;A String&quot;,
7856 },
7857 &quot;masked&quot;: True or False, # True if this workflow parameter should be masked in the logs
7858 &quot;readOnly&quot;: True or False, # Used to indicate if the ParameterEntry is a read only field or not.
7859 &quot;searchable&quot;: &quot;A String&quot;,
7860 &quot;taskVisibility&quot;: [ # List of tasks that can view this property, if empty then all.
7861 &quot;A String&quot;,
7862 ],
7863 },
7864 &quot;children&quot;: [ # Child parameters nested within this parameter. This field only applies to protobuf parameters
7865 # Object with schema name: EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
7866 ],
7867 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
7868 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
7869 &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.
7870 &quot;booleanArray&quot;: {
7871 &quot;booleanValues&quot;: [
7872 True or False,
7873 ],
7874 },
7875 &quot;booleanValue&quot;: True or False,
7876 &quot;doubleArray&quot;: {
7877 &quot;doubleValues&quot;: [
7878 3.14,
7879 ],
7880 },
7881 &quot;doubleValue&quot;: 3.14,
7882 &quot;intArray&quot;: {
7883 &quot;intValues&quot;: [
7884 &quot;A String&quot;,
7885 ],
7886 },
7887 &quot;intValue&quot;: &quot;A String&quot;,
7888 &quot;jsonValue&quot;: &quot;A String&quot;,
7889 &quot;protoArray&quot;: {
7890 &quot;protoValues&quot;: [
7891 {
7892 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7893 },
7894 ],
7895 },
7896 &quot;protoValue&quot;: {
7897 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7898 },
7899 &quot;serializedObjectValue&quot;: {
7900 &quot;objectValue&quot;: &quot;A String&quot;,
7901 },
7902 &quot;stringArray&quot;: {
7903 &quot;stringValues&quot;: [
7904 &quot;A String&quot;,
7905 ],
7906 },
7907 &quot;stringValue&quot;: &quot;A String&quot;,
7908 },
7909 &quot;description&quot;: &quot;A String&quot;, # Optional. The description about the parameter
7910 &quot;inOutType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
7911 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
7912 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
7913 &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.
7914 &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;.
7915 &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.
7916 &quot;elementIdentifier&quot;: &quot;A String&quot;, # Configuration of the edge.
7917 &quot;elementType&quot;: &quot;A String&quot;, # Destination node where the edge ends. It can only be a task config.
7918 },
7919 &quot;producer&quot;: &quot;A String&quot;,
7920 &quot;protoDefName&quot;: &quot;A String&quot;, # The name of the protobuf type if the parameter has a protobuf data type.
7921 &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;.
7922 &quot;required&quot;: True or False,
7923 },
7924 ],
7925 },
7926 &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.
7927 &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.
7928 &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
7929 &quot;origin&quot;: &quot;A String&quot;, # Optional. The origin that indicates where this integration is coming from.
7930 &quot;parentTemplateId&quot;: &quot;A String&quot;, # Optional. The id of the template which was used to create this integration_version.
7931 &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.
7932 &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.
7933 &quot;state&quot;: &quot;A String&quot;, # Output only. User should not set it as an input.
7934 &quot;status&quot;: &quot;A String&quot;, # Output only. Generated by eventbus. User should not set it as an input.
7935 &quot;taskConfigs&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
7936 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
7937 &quot;conditionalFailurePolicies&quot;: { # Conditional task failur retry strategies # Optional. The list of conditional failure policies that will be applied to the task in order.
7938 &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.
7939 &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.
7940 &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.
7941 &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.
7942 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
7943 },
7944 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
7945 { # 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).
7946 &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.
7947 &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.
7948 &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.
7949 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
7950 },
7951 ],
7952 },
7953 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
7954 &quot;displayName&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to this TaskConfig in the UI.
7955 &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
7956 &quot;externalTaskType&quot;: &quot;A String&quot;, # Optional. External task type of the task
7957 &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.).
7958 &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.
7959 &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.
7960 &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.
7961 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
7962 },
7963 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # Optional. If set, overrides the option configured in the Task implementation class.
7964 &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.
7965 { # The task that is next in line to be executed, if the condition specified evaluated to true.
7966 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
7967 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
7968 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
7969 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
7970 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
7971 },
7972 ],
7973 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution of the next set of tasks for the current task.
7974 &quot;parameters&quot;: { # Optional. The customized parameters the user can pass to this task.
7975 &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
7976 &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.
7977 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
7978 &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.
7979 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
7980 &quot;booleanValues&quot;: [ # Boolean array.
7981 True or False,
7982 ],
7983 },
7984 &quot;booleanValue&quot;: True or False, # Boolean.
7985 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
7986 &quot;doubleValues&quot;: [ # Double number array.
7987 3.14,
7988 ],
7989 },
7990 &quot;doubleValue&quot;: 3.14, # Double Number.
7991 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
7992 &quot;intValues&quot;: [ # Integer array.
7993 &quot;A String&quot;,
7994 ],
7995 },
7996 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
7997 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
7998 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
7999 &quot;stringValues&quot;: [ # String array.
8000 &quot;A String&quot;,
8001 ],
8002 },
8003 &quot;stringValue&quot;: &quot;A String&quot;, # String.
8004 },
8005 },
8006 },
8007 &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.
8008 &quot;x&quot;: 42, # Required. X axis of the coordinate
8009 &quot;y&quot;: 42, # Required. Y axis of the coordinate
8010 },
8011 &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.
8012 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
8013 },
8014 &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).
8015 &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.
8016 &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.
8017 &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.
8018 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
8019 },
8020 &quot;task&quot;: &quot;A String&quot;, # Optional. The name for the task.
8021 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution strategy of this task.
8022 &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`).
8023 &quot;taskTemplate&quot;: &quot;A String&quot;, # Optional. Used to define task-template name if task is of type task-template
8024 },
8025 ],
8026 &quot;taskConfigsInternal&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
8027 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
8028 &quot;alertConfigs&quot;: [ # Alert configurations on error rate, warning rate, number of runs, durations, etc.
8029 { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event.
8030 &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).
8031 &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.
8032 &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.
8033 &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.
8034 &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.
8035 &quot;errorEnumList&quot;: { # List of error enums for alerts.
8036 &quot;enumStrings&quot;: [
8037 &quot;A String&quot;,
8038 ],
8039 &quot;filterType&quot;: &quot;A String&quot;,
8040 },
8041 &quot;metricType&quot;: &quot;A String&quot;,
8042 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
8043 &quot;onlyFinalAttempt&quot;: True or False, # Only count final task attempts, not retries.
8044 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
8045 &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.
8046 &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.
8047 &quot;absolute&quot;: &quot;A String&quot;,
8048 &quot;percentage&quot;: 42,
8049 },
8050 &quot;warningEnumList&quot;: { # List of error enums for alerts.
8051 &quot;enumStrings&quot;: [
8052 &quot;A String&quot;,
8053 ],
8054 &quot;filterType&quot;: &quot;A String&quot;,
8055 },
8056 },
8057 ],
8058 &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).
8059 &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
8060 &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.
8061 &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.
8062 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
8063 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
8064 },
8065 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
8066 { # 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).
8067 &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.
8068 &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.
8069 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
8070 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
8071 },
8072 ],
8073 },
8074 &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
8075 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address. Auto-generated from the user&#x27;s email.
8076 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
8077 &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.
8078 &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
8079 &quot;externalTaskType&quot;: &quot;A String&quot;,
8080 &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.).
8081 &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.
8082 &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.
8083 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
8084 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
8085 },
8086 &quot;incomingEdgeCount&quot;: 42, # The number of edges leading into this TaskConfig.
8087 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # If set, overrides the option configured in the Task implementation class.
8088 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this TaskConfig in the UI.
8089 &quot;lastModifiedTime&quot;: &quot;A String&quot;, # Auto-generated.
8090 &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.
8091 { # The task that is next in line to be executed, if the condition specified evaluated to true.
8092 &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`
8093 { # This message recursively combines constituent conditions using logical AND.
8094 &quot;conditions&quot;: [ # A set of individual constituent conditions.
8095 { # Condition that uses `operator` to evaluate the key against the value.
8096 &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.
8097 &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.
8098 &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.
8099 &quot;booleanValue&quot;: True or False,
8100 &quot;doubleArray&quot;: {
8101 &quot;values&quot;: [
8102 3.14,
8103 ],
8104 },
8105 &quot;doubleValue&quot;: 3.14,
8106 &quot;intArray&quot;: {
8107 &quot;values&quot;: [
8108 &quot;A String&quot;,
8109 ],
8110 },
8111 &quot;intValue&quot;: &quot;A String&quot;,
8112 &quot;protoValue&quot;: {
8113 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8114 },
8115 &quot;stringArray&quot;: {
8116 &quot;values&quot;: [
8117 &quot;A String&quot;,
8118 ],
8119 },
8120 &quot;stringValue&quot;: &quot;A String&quot;,
8121 },
8122 },
8123 ],
8124 },
8125 ],
8126 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
8127 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
8128 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
8129 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
8130 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
8131 },
8132 ],
8133 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # The policy dictating the execution of the next set of tasks for the current task.
8134 &quot;parameters&quot;: { # The customized parameters the user can pass to this task.
8135 &quot;a_key&quot;: { # Key-value pair of EventBus parameters.
8136 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
8137 &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.
8138 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
8139 &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.
8140 &quot;booleanArray&quot;: {
8141 &quot;booleanValues&quot;: [
8142 True or False,
8143 ],
8144 },
8145 &quot;booleanValue&quot;: True or False,
8146 &quot;doubleArray&quot;: {
8147 &quot;doubleValues&quot;: [
8148 3.14,
8149 ],
8150 },
8151 &quot;doubleValue&quot;: 3.14,
8152 &quot;intArray&quot;: {
8153 &quot;intValues&quot;: [
8154 &quot;A String&quot;,
8155 ],
8156 },
8157 &quot;intValue&quot;: &quot;A String&quot;,
8158 &quot;jsonValue&quot;: &quot;A String&quot;,
8159 &quot;protoArray&quot;: {
8160 &quot;protoValues&quot;: [
8161 {
8162 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8163 },
8164 ],
8165 },
8166 &quot;protoValue&quot;: {
8167 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8168 },
8169 &quot;serializedObjectValue&quot;: {
8170 &quot;objectValue&quot;: &quot;A String&quot;,
8171 },
8172 &quot;stringArray&quot;: {
8173 &quot;stringValues&quot;: [
8174 &quot;A String&quot;,
8175 ],
8176 },
8177 &quot;stringValue&quot;: &quot;A String&quot;,
8178 },
8179 },
8180 },
8181 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this task config on the UI.
8182 &quot;x&quot;: 42,
8183 &quot;y&quot;: 42,
8184 },
8185 &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.
8186 &quot;preconditionLabel&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to precondition in the UI.
8187 &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).
8188 &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.
8189 &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.
8190 { # Key-value pair of EventBus parameters.
8191 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
8192 &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.
8193 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
8194 &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.
8195 &quot;booleanArray&quot;: {
8196 &quot;booleanValues&quot;: [
8197 True or False,
8198 ],
8199 },
8200 &quot;booleanValue&quot;: True or False,
8201 &quot;doubleArray&quot;: {
8202 &quot;doubleValues&quot;: [
8203 3.14,
8204 ],
8205 },
8206 &quot;doubleValue&quot;: 3.14,
8207 &quot;intArray&quot;: {
8208 &quot;intValues&quot;: [
8209 &quot;A String&quot;,
8210 ],
8211 },
8212 &quot;intValue&quot;: &quot;A String&quot;,
8213 &quot;jsonValue&quot;: &quot;A String&quot;,
8214 &quot;protoArray&quot;: {
8215 &quot;protoValues&quot;: [
8216 {
8217 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8218 },
8219 ],
8220 },
8221 &quot;protoValue&quot;: {
8222 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8223 },
8224 &quot;serializedObjectValue&quot;: {
8225 &quot;objectValue&quot;: &quot;A String&quot;,
8226 },
8227 &quot;stringArray&quot;: {
8228 &quot;stringValues&quot;: [
8229 &quot;A String&quot;,
8230 ],
8231 },
8232 &quot;stringValue&quot;: &quot;A String&quot;,
8233 },
8234 },
8235 ],
8236 },
8237 &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.
8238 &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.
8239 &quot;A String&quot;,
8240 ],
8241 },
8242 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Determines what action to take upon successful task completion.
8243 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
8244 },
8245 &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).
8246 &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.
8247 &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.
8248 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
8249 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
8250 },
8251 &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.
8252 &quot;disabledForVpcSc&quot;: True or False, # True if the task has conflict with vpcsc
8253 &quot;metadata&quot;: { # TaskMetadata are attributes that are associated to every common Task we have. # Metadata inclueds the task name, author and so on.
8254 &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.
8255 &quot;admins&quot;: [
8256 { # 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.
8257 &quot;googleGroupEmail&quot;: &quot;A String&quot;,
8258 &quot;userEmail&quot;: &quot;A String&quot;,
8259 },
8260 ],
8261 &quot;category&quot;: &quot;A String&quot;,
8262 &quot;codeSearchLink&quot;: &quot;A String&quot;, # The Code Search link to the Task Java file.
8263 &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.
8264 &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.
8265 &quot;description&quot;: &quot;A String&quot;, # In a few sentences, describe the purpose and usage of the task.
8266 &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;)
8267 &quot;docMarkdown&quot;: &quot;A String&quot;, # Snippet of markdown documentation to embed in the RHP for this task.
8268 &quot;externalCategory&quot;: &quot;A String&quot;,
8269 &quot;externalCategorySequence&quot;: 42, # Sequence with which the task in specific category to be displayed in task discovery panel for external users.
8270 &quot;externalDocHtml&quot;: &quot;A String&quot;, # External-facing documention embedded in the RHP for this task.
8271 &quot;externalDocLink&quot;: &quot;A String&quot;, # Doc link for external-facing documentation (separate from g3doc).
8272 &quot;externalDocMarkdown&quot;: &quot;A String&quot;, # DEPRECATED: Use external_doc_html.
8273 &quot;g3DocLink&quot;: &quot;A String&quot;, # URL to the associated G3 Doc for the task if available
8274 &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.
8275 &quot;isDeprecated&quot;: True or False, # The deprecation status of the current task. Default value is false;
8276 &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.
8277 &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
8278 &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.
8279 &quot;system&quot;: &quot;A String&quot;,
8280 &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.
8281 &quot;A String&quot;,
8282 ],
8283 },
8284 &quot;paramSpecs&quot;: { # Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask.
8285 &quot;parameters&quot;: [
8286 { # Key-value pair of EventBus task parameters. Next id: 13
8287 &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.
8288 &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.
8289 &quot;config&quot;: { # Optional fields, such as help text and other useful info.
8290 &quot;descriptivePhrase&quot;: &quot;A String&quot;, # A short phrase to describe what this parameter contains.
8291 &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.
8292 &quot;hideDefaultValue&quot;: True or False, # Whether the default value is hidden in the UI.
8293 &quot;inputDisplayOption&quot;: &quot;A String&quot;,
8294 &quot;isHidden&quot;: True or False, # Whether this field is hidden in the UI.
8295 &quot;label&quot;: &quot;A String&quot;, # A user-friendly label for the parameter.
8296 &quot;parameterNameOption&quot;: &quot;A String&quot;,
8297 &quot;subSectionLabel&quot;: &quot;A String&quot;, # A user-friendly label for subSection under which the parameter will be displayed.
8298 &quot;uiPlaceholderText&quot;: &quot;A String&quot;, # Placeholder text which will appear in the UI input form for this parameter.
8299 },
8300 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
8301 &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.
8302 &quot;booleanArray&quot;: {
8303 &quot;booleanValues&quot;: [
8304 True or False,
8305 ],
8306 },
8307 &quot;booleanValue&quot;: True or False,
8308 &quot;doubleArray&quot;: {
8309 &quot;doubleValues&quot;: [
8310 3.14,
8311 ],
8312 },
8313 &quot;doubleValue&quot;: 3.14,
8314 &quot;intArray&quot;: {
8315 &quot;intValues&quot;: [
8316 &quot;A String&quot;,
8317 ],
8318 },
8319 &quot;intValue&quot;: &quot;A String&quot;,
8320 &quot;jsonValue&quot;: &quot;A String&quot;,
8321 &quot;protoArray&quot;: {
8322 &quot;protoValues&quot;: [
8323 {
8324 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8325 },
8326 ],
8327 },
8328 &quot;protoValue&quot;: {
8329 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8330 },
8331 &quot;serializedObjectValue&quot;: {
8332 &quot;objectValue&quot;: &quot;A String&quot;,
8333 },
8334 &quot;stringArray&quot;: {
8335 &quot;stringValues&quot;: [
8336 &quot;A String&quot;,
8337 ],
8338 },
8339 &quot;stringValue&quot;: &quot;A String&quot;,
8340 },
8341 &quot;isDeprecated&quot;: True or False, # If set, this entry is deprecated, so further use of this parameter should be prohibited.
8342 &quot;isOutput&quot;: True or False,
8343 &quot;jsonSchema&quot;: &quot;A String&quot;, # If the data_type is JSON_VALUE, then this will define its schema.
8344 &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.
8345 &quot;protoDef&quot;: { # Populated if this represents a proto or proto array.
8346 &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;.
8347 &quot;path&quot;: &quot;A String&quot;, # Path to the proto file that contains the message type&#x27;s definition.
8348 },
8349 &quot;required&quot;: True or False, # If set, the user must provide an input value for this parameter.
8350 &quot;validationRule&quot;: { # Rule used to validate inputs (individual values and collection elements) for this parameter.
8351 &quot;doubleRange&quot;: { # Range used to validate doubles and floats.
8352 &quot;max&quot;: 3.14, # The inclusive maximum of the acceptable range.
8353 &quot;min&quot;: 3.14, # The inclusive minimum of the acceptable range.
8354 },
8355 &quot;intRange&quot;: { # Range used to validate longs and ints.
8356 &quot;max&quot;: &quot;A String&quot;, # The inclusive maximum of the acceptable range.
8357 &quot;min&quot;: &quot;A String&quot;, # The inclusive minimum of the acceptable range.
8358 },
8359 &quot;stringRegex&quot;: { # Rule used to validate strings.
8360 &quot;exclusive&quot;: True or False, # Whether the regex matcher is applied exclusively (if true, matching values will be rejected).
8361 &quot;regex&quot;: &quot;A String&quot;, # The regex applied to the input value(s).
8362 },
8363 },
8364 },
8365 ],
8366 },
8367 &quot;stats&quot;: { # Stats for the requested dimensions: QPS, duration, and error/warning rate # Deprecated - statistics from the Monarch query.
8368 &quot;dimensions&quot;: { # Dimensions that these stats have been aggregated on.
8369 &quot;clientId&quot;: &quot;A String&quot;,
8370 &quot;enumFilterType&quot;: &quot;A String&quot;, # Whether to include or exclude the enums matching the regex.
8371 &quot;errorEnumString&quot;: &quot;A String&quot;,
8372 &quot;retryAttempt&quot;: &quot;A String&quot;,
8373 &quot;taskName&quot;: &quot;A String&quot;,
8374 &quot;taskNumber&quot;: &quot;A String&quot;,
8375 &quot;triggerId&quot;: &quot;A String&quot;, # Stats have been or will be aggregated on set fields for any semantically-meaningful combination.
8376 &quot;warningEnumString&quot;: &quot;A String&quot;,
8377 &quot;workflowId&quot;: &quot;A String&quot;,
8378 &quot;workflowName&quot;: &quot;A String&quot;,
8379 },
8380 &quot;durationInSeconds&quot;: 3.14, # Average duration in seconds.
8381 &quot;errorRate&quot;: 3.14, # Average error rate.
8382 &quot;qps&quot;: 3.14, # Queries per second.
8383 &quot;warningRate&quot;: 3.14, # Average warning rate.
8384 },
8385 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
8386 &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.
8387 &quot;taskUiModuleConfigs&quot;: [ # Configurations of included config modules.
8388 { # Task author would use this type to configure a config module.
8389 &quot;moduleId&quot;: &quot;A String&quot;, # ID of the config module.
8390 },
8391 ],
8392 },
8393 },
8394 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # The policy dictating the execution strategy of this task.
8395 &quot;taskName&quot;: &quot;A String&quot;, # The name for the task.
8396 &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`).
8397 &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.
8398 &quot;taskTemplateName&quot;: &quot;A String&quot;, # Used to define task-template name if task is of type task-template
8399 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
8400 },
8401 ],
8402 &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.
8403 &quot;teardownTaskConfigs&quot;: [ # Required.
8404 {
8405 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address.
8406 &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.
8407 &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).
8408 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the next teardown task.
8409 },
8410 &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.
8411 &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.
8412 { # Key-value pair of EventBus parameters.
8413 &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.
8414 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
8415 &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.
8416 &quot;booleanArray&quot;: {
8417 &quot;booleanValues&quot;: [
8418 True or False,
8419 ],
8420 },
8421 &quot;booleanValue&quot;: True or False,
8422 &quot;doubleArray&quot;: {
8423 &quot;doubleValues&quot;: [
8424 3.14,
8425 ],
8426 },
8427 &quot;doubleValue&quot;: 3.14,
8428 &quot;intArray&quot;: {
8429 &quot;intValues&quot;: [
8430 &quot;A String&quot;,
8431 ],
8432 },
8433 &quot;intValue&quot;: &quot;A String&quot;,
8434 &quot;protoArray&quot;: {
8435 &quot;protoValues&quot;: [
8436 {
8437 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8438 },
8439 ],
8440 },
8441 &quot;protoValue&quot;: {
8442 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8443 },
8444 &quot;serializedObjectValue&quot;: {
8445 &quot;objectValue&quot;: &quot;A String&quot;,
8446 },
8447 &quot;stringArray&quot;: {
8448 &quot;stringValues&quot;: [
8449 &quot;A String&quot;,
8450 ],
8451 },
8452 &quot;stringValue&quot;: &quot;A String&quot;,
8453 },
8454 },
8455 ],
8456 },
8457 &quot;properties&quot;: { # LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus.
8458 &quot;properties&quot;: [ # An unordered list of property entries.
8459 { # Key-value pair of EventBus property.
8460 &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.
8461 &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.
8462 &quot;booleanValue&quot;: True or False,
8463 &quot;doubleArray&quot;: {
8464 &quot;values&quot;: [
8465 3.14,
8466 ],
8467 },
8468 &quot;doubleValue&quot;: 3.14,
8469 &quot;intArray&quot;: {
8470 &quot;values&quot;: [
8471 &quot;A String&quot;,
8472 ],
8473 },
8474 &quot;intValue&quot;: &quot;A String&quot;,
8475 &quot;protoValue&quot;: {
8476 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8477 },
8478 &quot;stringArray&quot;: {
8479 &quot;values&quot;: [
8480 &quot;A String&quot;,
8481 ],
8482 },
8483 &quot;stringValue&quot;: &quot;A String&quot;,
8484 },
8485 },
8486 ],
8487 },
8488 &quot;teardownTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. Implementation class name.
8489 },
8490 ],
8491 },
8492 &quot;triggerConfigs&quot;: [ # Optional. Trigger configurations.
8493 { # Configuration detail of a trigger.
8494 &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.
8495 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
8496 &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.
8497 &quot;alertThreshold&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
8498 &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.
8499 &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.
8500 &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.
8501 &quot;metricType&quot;: &quot;A String&quot;, # The type of metric.
8502 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
8503 &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.
8504 &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.
8505 &quot;absolute&quot;: &quot;A String&quot;, # Absolute value threshold.
8506 &quot;percentage&quot;: 42, # Percentage threshold.
8507 },
8508 },
8509 ],
8510 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration # Optional. Cloud Scheduler Trigger related metadata
8511 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
8512 &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
8513 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
8514 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
8515 },
8516 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
8517 &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
8518 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
8519 &quot;names&quot;: [ # Optional. List of variable names.
8520 &quot;A String&quot;,
8521 ],
8522 },
8523 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular trigger.
8524 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. Dictates how next tasks will be executed.
8525 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
8526 &quot;names&quot;: [ # Optional. List of variable names.
8527 &quot;A String&quot;,
8528 ],
8529 },
8530 &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.
8531 &quot;x&quot;: 42, # Required. X axis of the coordinate
8532 &quot;y&quot;: 42, # Required. Y axis of the coordinate
8533 },
8534 &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.
8535 &quot;a_key&quot;: &quot;A String&quot;,
8536 },
8537 &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).
8538 { # The task that is next in line to be executed, if the condition specified evaluated to true.
8539 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
8540 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
8541 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
8542 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
8543 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
8544 },
8545 ],
8546 &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.
8547 &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}
8548 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the integration on UI.
8549 &quot;triggerType&quot;: &quot;A String&quot;, # Optional. Type of trigger
8550 },
8551 ],
8552 &quot;triggerConfigsInternal&quot;: [ # Optional. Trigger configurations.
8553 { # Configuration detail of a trigger. Next available id: 22
8554 &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.
8555 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
8556 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
8557 &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.
8558 &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.
8559 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration.
8560 &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.
8561 &quot;errorEnumList&quot;: { # List of error enums for alerts.
8562 &quot;enumStrings&quot;: [
8563 &quot;A String&quot;,
8564 ],
8565 &quot;filterType&quot;: &quot;A String&quot;,
8566 },
8567 &quot;metricType&quot;: &quot;A String&quot;,
8568 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
8569 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
8570 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
8571 &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.
8572 &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.
8573 &quot;absolute&quot;: &quot;A String&quot;,
8574 &quot;percentage&quot;: 42,
8575 },
8576 &quot;warningEnumList&quot;: { # List of error enums for alerts.
8577 &quot;enumStrings&quot;: [
8578 &quot;A String&quot;,
8579 ],
8580 &quot;filterType&quot;: &quot;A String&quot;,
8581 },
8582 },
8583 ],
8584 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration
8585 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
8586 &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
8587 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
8588 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
8589 },
8590 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
8591 &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.
8592 &quot;A String&quot;,
8593 ],
8594 &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
8595 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
8596 &quot;names&quot;: [ # Optional. List of variable names.
8597 &quot;A String&quot;,
8598 ],
8599 },
8600 &quot;label&quot;: &quot;A String&quot;, # The user created label for a particular trigger.
8601 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Dictates how next tasks will be executed.
8602 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
8603 &quot;names&quot;: [ # Optional. List of variable names.
8604 &quot;A String&quot;,
8605 ],
8606 },
8607 &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.
8608 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this trigger config on the UI.
8609 &quot;x&quot;: 42,
8610 &quot;y&quot;: 42,
8611 },
8612 &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.
8613 &quot;a_key&quot;: &quot;A String&quot;,
8614 },
8615 &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).
8616 { # The task that is next in line to be executed, if the condition specified evaluated to true.
8617 &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`
8618 { # This message recursively combines constituent conditions using logical AND.
8619 &quot;conditions&quot;: [ # A set of individual constituent conditions.
8620 { # Condition that uses `operator` to evaluate the key against the value.
8621 &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.
8622 &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.
8623 &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.
8624 &quot;booleanValue&quot;: True or False,
8625 &quot;doubleArray&quot;: {
8626 &quot;values&quot;: [
8627 3.14,
8628 ],
8629 },
8630 &quot;doubleValue&quot;: 3.14,
8631 &quot;intArray&quot;: {
8632 &quot;values&quot;: [
8633 &quot;A String&quot;,
8634 ],
8635 },
8636 &quot;intValue&quot;: &quot;A String&quot;,
8637 &quot;protoValue&quot;: {
8638 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8639 },
8640 &quot;stringArray&quot;: {
8641 &quot;values&quot;: [
8642 &quot;A String&quot;,
8643 ],
8644 },
8645 &quot;stringValue&quot;: &quot;A String&quot;,
8646 },
8647 },
8648 ],
8649 },
8650 ],
8651 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
8652 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
8653 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
8654 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
8655 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
8656 },
8657 ],
8658 &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.
8659 &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.
8660 &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.
8661 &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.
8662 { # Key-value pair of EventBus parameters.
8663 &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.
8664 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
8665 &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.
8666 &quot;booleanArray&quot;: {
8667 &quot;booleanValues&quot;: [
8668 True or False,
8669 ],
8670 },
8671 &quot;booleanValue&quot;: True or False,
8672 &quot;doubleArray&quot;: {
8673 &quot;doubleValues&quot;: [
8674 3.14,
8675 ],
8676 },
8677 &quot;doubleValue&quot;: 3.14,
8678 &quot;intArray&quot;: {
8679 &quot;intValues&quot;: [
8680 &quot;A String&quot;,
8681 ],
8682 },
8683 &quot;intValue&quot;: &quot;A String&quot;,
8684 &quot;protoArray&quot;: {
8685 &quot;protoValues&quot;: [
8686 {
8687 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8688 },
8689 ],
8690 },
8691 &quot;protoValue&quot;: {
8692 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8693 },
8694 &quot;serializedObjectValue&quot;: {
8695 &quot;objectValue&quot;: &quot;A String&quot;,
8696 },
8697 &quot;stringArray&quot;: {
8698 &quot;stringValues&quot;: [
8699 &quot;A String&quot;,
8700 ],
8701 },
8702 &quot;stringValue&quot;: &quot;A String&quot;,
8703 },
8704 },
8705 ],
8706 },
8707 &quot;triggerCriteriaTaskImplementationClassName&quot;: &quot;A String&quot;, # Optional. Implementation class name. The class should implement the “TypedTask” interface.
8708 },
8709 &quot;triggerId&quot;: &quot;A String&quot;, # The backend trigger ID.
8710 &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.
8711 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the workflow on UI.
8712 &quot;triggerType&quot;: &quot;A String&quot;,
8713 },
8714 ],
8715 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
8716 &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.
8717 },
8718 &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. Passed in as parameters to each integration execution.
8719 &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.
8720 { # Key-value pair of EventBus parameters.
8721 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
8722 &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.
8723 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
8724 &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.
8725 &quot;booleanArray&quot;: {
8726 &quot;booleanValues&quot;: [
8727 True or False,
8728 ],
8729 },
8730 &quot;booleanValue&quot;: True or False,
8731 &quot;doubleArray&quot;: {
8732 &quot;doubleValues&quot;: [
8733 3.14,
8734 ],
8735 },
8736 &quot;doubleValue&quot;: 3.14,
8737 &quot;intArray&quot;: {
8738 &quot;intValues&quot;: [
8739 &quot;A String&quot;,
8740 ],
8741 },
8742 &quot;intValue&quot;: &quot;A String&quot;,
8743 &quot;jsonValue&quot;: &quot;A String&quot;,
8744 &quot;protoArray&quot;: {
8745 &quot;protoValues&quot;: [
8746 {
8747 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8748 },
8749 ],
8750 },
8751 &quot;protoValue&quot;: {
8752 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8753 },
8754 &quot;serializedObjectValue&quot;: {
8755 &quot;objectValue&quot;: &quot;A String&quot;,
8756 },
8757 &quot;stringArray&quot;: {
8758 &quot;stringValues&quot;: [
8759 &quot;A String&quot;,
8760 ],
8761 },
8762 &quot;stringValue&quot;: &quot;A String&quot;,
8763 },
8764 },
8765 ],
8766 },
8767 &quot;testMode&quot;: True or False, # Optional. Can be specified in the event request, otherwise false (default). If true, enables tasks with condition &quot;test_mode = true&quot;. If false, disables tasks with condition &quot;test_mode = true&quot; if global test mode (set by platform) is also false {@link EventBusConfig}.
8768 &quot;triggerId&quot;: &quot;A String&quot;, # Required. The trigger id of the integration trigger config. If both trigger_id and client_id is present, the integration is executed from the start tasks provided by the matching trigger config otherwise it is executed from the default start tasks.
8769 }
8770
8771 x__xgafv: string, V1 error format.
8772 Allowed values
8773 1 - v1 error format
8774 2 - v2 error format
8775
8776 Returns:
8777 An object of the form:
8778
8779 { # The response for testing an integration.
8780 &quot;eventParameters&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 # Details for the integration that were executed.
8781 &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.
8782 { # Key-value pair of EventBus parameters.
8783 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
8784 &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.
8785 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
8786 &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.
8787 &quot;booleanArray&quot;: {
8788 &quot;booleanValues&quot;: [
8789 True or False,
8790 ],
8791 },
8792 &quot;booleanValue&quot;: True or False,
8793 &quot;doubleArray&quot;: {
8794 &quot;doubleValues&quot;: [
8795 3.14,
8796 ],
8797 },
8798 &quot;doubleValue&quot;: 3.14,
8799 &quot;intArray&quot;: {
8800 &quot;intValues&quot;: [
8801 &quot;A String&quot;,
8802 ],
8803 },
8804 &quot;intValue&quot;: &quot;A String&quot;,
8805 &quot;jsonValue&quot;: &quot;A String&quot;,
8806 &quot;protoArray&quot;: {
8807 &quot;protoValues&quot;: [
8808 {
8809 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8810 },
8811 ],
8812 },
8813 &quot;protoValue&quot;: {
8814 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8815 },
8816 &quot;serializedObjectValue&quot;: {
8817 &quot;objectValue&quot;: &quot;A String&quot;,
8818 },
8819 &quot;stringArray&quot;: {
8820 &quot;stringValues&quot;: [
8821 &quot;A String&quot;,
8822 ],
8823 },
8824 &quot;stringValue&quot;: &quot;A String&quot;,
8825 },
8826 },
8827 ],
8828 },
8829 &quot;executionFailed&quot;: True or False, # Is true if any execution in the integration failed. False otherwise.
8830 &quot;executionId&quot;: &quot;A String&quot;, # The id of the execution corresponding to this run of integration.
8831 &quot;parameterEntries&quot;: [ # Parameters are a part of Event and can be used to communicate between different tasks that are part of the same integration execution.
8832 { # Key-value pair of EventBus parameters.
8833 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
8834 &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.
8835 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
8836 &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.
8837 &quot;booleanArray&quot;: {
8838 &quot;booleanValues&quot;: [
8839 True or False,
8840 ],
8841 },
8842 &quot;booleanValue&quot;: True or False,
8843 &quot;doubleArray&quot;: {
8844 &quot;doubleValues&quot;: [
8845 3.14,
8846 ],
8847 },
8848 &quot;doubleValue&quot;: 3.14,
8849 &quot;intArray&quot;: {
8850 &quot;intValues&quot;: [
8851 &quot;A String&quot;,
8852 ],
8853 },
8854 &quot;intValue&quot;: &quot;A String&quot;,
8855 &quot;jsonValue&quot;: &quot;A String&quot;,
8856 &quot;protoArray&quot;: {
8857 &quot;protoValues&quot;: [
8858 {
8859 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8860 },
8861 ],
8862 },
8863 &quot;protoValue&quot;: {
8864 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8865 },
8866 &quot;serializedObjectValue&quot;: {
8867 &quot;objectValue&quot;: &quot;A String&quot;,
8868 },
8869 &quot;stringArray&quot;: {
8870 &quot;stringValues&quot;: [
8871 &quot;A String&quot;,
8872 ],
8873 },
8874 &quot;stringValue&quot;: &quot;A String&quot;,
8875 },
8876 },
8877 ],
8878 &quot;parameters&quot;: { # Optional. Parameters are a part of Event and can be used to communicate between different tasks that are part of the same integration execution.
8879 &quot;a_key&quot;: { # The type of the parameter.
8880 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
8881 &quot;booleanValues&quot;: [ # Boolean array.
8882 True or False,
8883 ],
8884 },
8885 &quot;booleanValue&quot;: True or False, # Boolean.
8886 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
8887 &quot;doubleValues&quot;: [ # Double number array.
8888 3.14,
8889 ],
8890 },
8891 &quot;doubleValue&quot;: 3.14, # Double Number.
8892 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
8893 &quot;intValues&quot;: [ # Integer array.
8894 &quot;A String&quot;,
8895 ],
8896 },
8897 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
8898 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
8899 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
8900 &quot;stringValues&quot;: [ # String array.
8901 &quot;A String&quot;,
8902 ],
8903 },
8904 &quot;stringValue&quot;: &quot;A String&quot;, # String.
8905 },
8906 },
8907 }</pre>
8908 </div>
8909
8910 <div class="method">
8911 <code class="details" id="unpublish">unpublish(name, body=None, x__xgafv=None)</code>
8912 <pre>Sets the status of the ACTIVE integration to SNAPSHOT with a new tag &quot;PREVIOUSLY_PUBLISHED&quot; after validating it. The &quot;HEAD&quot; and &quot;PUBLISH_REQUESTED&quot; tags do not change. This RPC throws an exception if the version being snapshot is not ACTIVE. Audit fields added include action, action_by, action_timestamp.
8913
8914 Args:
8915 name: string, Required. The version to deactivate. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version} (required)
8916 body: object, The request body.
8917 The object takes the form of:
8918
8919 { # Request for UnpublishIntegrationVersion.
8920 }
8921
8922 x__xgafv: string, V1 error format.
8923 Allowed values
8924 1 - v1 error format
8925 2 - v2 error format
8926
8927 Returns:
8928 An object of the form:
8929
8930 { # 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); }
8931 }</pre>
8932 </div>
8933
8934 <div class="method">
8935 <code class="details" id="upload">upload(parent, body=None, x__xgafv=None)</code>
8936 <pre>Uploads an integration. The content can be a previously downloaded integration. Performs the same function as CreateDraftIntegrationVersion, but accepts input in a string format, which holds the complete representation of the IntegrationVersion content.
8937
8938 Args:
8939 parent: string, Required. The version to upload. Format: projects/{project}/locations/{location}/integrations/{integration} (required)
8940 body: object, The request body.
8941 The object takes the form of:
8942
8943 { # Request for UploadIntegrationVersion.
8944 &quot;content&quot;: &quot;A String&quot;, # The textproto of the IntegrationVersion.
8945 &quot;fileFormat&quot;: &quot;A String&quot;, # File format for upload request.
8946 }
8947
8948 x__xgafv: string, V1 error format.
8949 Allowed values
8950 1 - v1 error format
8951 2 - v2 error format
8952
8953 Returns:
8954 An object of the form:
8955
8956 { # Response for UploadIntegrationVersion.
8957 &quot;integrationVersion&quot;: { # The integration version definition. # The uploaded integration.
8958 &quot;cloudKmsKey&quot;: &quot;A String&quot;, # Optional. Cloud KMS resource name for the CMEK encryption key.
8959 &quot;cloudLoggingDetails&quot;: { # Cloud Logging details for execution info # Optional. Cloud Logging details for the integration version
8960 &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.
8961 &quot;enableCloudLogging&quot;: True or False, # Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.
8962 },
8963 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
8964 &quot;createdFromTemplate&quot;: &quot;A String&quot;, # Optional. Optional. The resource name of the template from which the integration is created.
8965 &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.
8966 &quot;description&quot;: &quot;A String&quot;, # Optional. The integration description.
8967 &quot;enableVariableMasking&quot;: True or False, # Optional. True if variable masking feature should be turned on for this version
8968 &quot;errorCatcherConfigs&quot;: [ # Optional. Error Catch Task configuration for the integration. It&#x27;s optional.
8969 { # Configuration detail of a error catch task
8970 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give more business context about the error catcher config.
8971 &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
8972 &quot;errorCatcherNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each error catcher config within the workflow on UI.
8973 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular error catcher. Optional.
8974 &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.
8975 &quot;x&quot;: 42, # Required. X axis of the coordinate
8976 &quot;y&quot;: 42, # Required. Y axis of the coordinate
8977 },
8978 &quot;startErrorTasks&quot;: [ # Required. The set of start tasks that are to be executed for the error catch flow
8979 { # The task that is next in line to be executed, if the condition specified evaluated to true.
8980 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
8981 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
8982 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
8983 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
8984 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
8985 },
8986 ],
8987 },
8988 ],
8989 &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.
8990 { # 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.
8991 &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.
8992 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
8993 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
8994 &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.
8995 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
8996 &quot;booleanValues&quot;: [ # Boolean array.
8997 True or False,
8998 ],
8999 },
9000 &quot;booleanValue&quot;: True or False, # Boolean.
9001 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
9002 &quot;doubleValues&quot;: [ # Double number array.
9003 3.14,
9004 ],
9005 },
9006 &quot;doubleValue&quot;: 3.14, # Double Number.
9007 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
9008 &quot;intValues&quot;: [ # Integer array.
9009 &quot;A String&quot;,
9010 ],
9011 },
9012 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
9013 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
9014 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
9015 &quot;stringValues&quot;: [ # String array.
9016 &quot;A String&quot;,
9017 ],
9018 },
9019 &quot;stringValue&quot;: &quot;A String&quot;, # String.
9020 },
9021 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
9022 &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;.
9023 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
9024 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
9025 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
9026 &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.
9027 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
9028 &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.
9029 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
9030 },
9031 &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.
9032 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
9033 &quot;booleanValues&quot;: [ # Boolean array.
9034 True or False,
9035 ],
9036 },
9037 &quot;booleanValue&quot;: True or False, # Boolean.
9038 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
9039 &quot;doubleValues&quot;: [ # Double number array.
9040 3.14,
9041 ],
9042 },
9043 &quot;doubleValue&quot;: 3.14, # Double Number.
9044 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
9045 &quot;intValues&quot;: [ # Integer array.
9046 &quot;A String&quot;,
9047 ],
9048 },
9049 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
9050 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
9051 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
9052 &quot;stringValues&quot;: [ # String array.
9053 &quot;A String&quot;,
9054 ],
9055 },
9056 &quot;stringValue&quot;: &quot;A String&quot;, # String.
9057 },
9058 },
9059 ],
9060 &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.
9061 { # 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.
9062 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
9063 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
9064 &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.
9065 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
9066 &quot;booleanValues&quot;: [ # Boolean array.
9067 True or False,
9068 ],
9069 },
9070 &quot;booleanValue&quot;: True or False, # Boolean.
9071 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
9072 &quot;doubleValues&quot;: [ # Double number array.
9073 3.14,
9074 ],
9075 },
9076 &quot;doubleValue&quot;: 3.14, # Double Number.
9077 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
9078 &quot;intValues&quot;: [ # Integer array.
9079 &quot;A String&quot;,
9080 ],
9081 },
9082 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
9083 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
9084 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
9085 &quot;stringValues&quot;: [ # String array.
9086 &quot;A String&quot;,
9087 ],
9088 },
9089 &quot;stringValue&quot;: &quot;A String&quot;, # String.
9090 },
9091 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
9092 &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;.
9093 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
9094 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
9095 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
9096 &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.
9097 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
9098 &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.
9099 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
9100 },
9101 ],
9102 &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.
9103 &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.
9104 {
9105 &quot;attributes&quot;: { # Attributes are additional options that can be associated with each event property. For more information, see # Metadata information about the parameters.
9106 &quot;dataType&quot;: &quot;A String&quot;, # Things like URL, Email, Currency, Timestamp (rather than string, int64...)
9107 &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.
9108 &quot;booleanValue&quot;: True or False,
9109 &quot;doubleArray&quot;: {
9110 &quot;values&quot;: [
9111 3.14,
9112 ],
9113 },
9114 &quot;doubleValue&quot;: 3.14,
9115 &quot;intArray&quot;: {
9116 &quot;values&quot;: [
9117 &quot;A String&quot;,
9118 ],
9119 },
9120 &quot;intValue&quot;: &quot;A String&quot;,
9121 &quot;protoValue&quot;: {
9122 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
9123 },
9124 &quot;stringArray&quot;: {
9125 &quot;values&quot;: [
9126 &quot;A String&quot;,
9127 ],
9128 },
9129 &quot;stringValue&quot;: &quot;A String&quot;,
9130 },
9131 &quot;isRequired&quot;: True or False, # Required for event execution. The validation will be done by the event bus when the event is triggered.
9132 &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.
9133 &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
9134 &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.
9135 &quot;seedPeriod&quot;: &quot;A String&quot;,
9136 &quot;seedScope&quot;: &quot;A String&quot;,
9137 },
9138 &quot;masked&quot;: True or False, # True if this workflow parameter should be masked in the logs
9139 &quot;readOnly&quot;: True or False, # Used to indicate if the ParameterEntry is a read only field or not.
9140 &quot;searchable&quot;: &quot;A String&quot;,
9141 &quot;taskVisibility&quot;: [ # List of tasks that can view this property, if empty then all.
9142 &quot;A String&quot;,
9143 ],
9144 },
9145 &quot;children&quot;: [ # Child parameters nested within this parameter. This field only applies to protobuf parameters
9146 # Object with schema name: EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
9147 ],
9148 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
9149 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
9150 &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.
9151 &quot;booleanArray&quot;: {
9152 &quot;booleanValues&quot;: [
9153 True or False,
9154 ],
9155 },
9156 &quot;booleanValue&quot;: True or False,
9157 &quot;doubleArray&quot;: {
9158 &quot;doubleValues&quot;: [
9159 3.14,
9160 ],
9161 },
9162 &quot;doubleValue&quot;: 3.14,
9163 &quot;intArray&quot;: {
9164 &quot;intValues&quot;: [
9165 &quot;A String&quot;,
9166 ],
9167 },
9168 &quot;intValue&quot;: &quot;A String&quot;,
9169 &quot;jsonValue&quot;: &quot;A String&quot;,
9170 &quot;protoArray&quot;: {
9171 &quot;protoValues&quot;: [
9172 {
9173 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
9174 },
9175 ],
9176 },
9177 &quot;protoValue&quot;: {
9178 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
9179 },
9180 &quot;serializedObjectValue&quot;: {
9181 &quot;objectValue&quot;: &quot;A String&quot;,
9182 },
9183 &quot;stringArray&quot;: {
9184 &quot;stringValues&quot;: [
9185 &quot;A String&quot;,
9186 ],
9187 },
9188 &quot;stringValue&quot;: &quot;A String&quot;,
9189 },
9190 &quot;description&quot;: &quot;A String&quot;, # Optional. The description about the parameter
9191 &quot;inOutType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
9192 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
9193 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
9194 &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.
9195 &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;.
9196 &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.
9197 &quot;elementIdentifier&quot;: &quot;A String&quot;, # Configuration of the edge.
9198 &quot;elementType&quot;: &quot;A String&quot;, # Destination node where the edge ends. It can only be a task config.
9199 },
9200 &quot;producer&quot;: &quot;A String&quot;,
9201 &quot;protoDefName&quot;: &quot;A String&quot;, # The name of the protobuf type if the parameter has a protobuf data type.
9202 &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;.
9203 &quot;required&quot;: True or False,
9204 },
9205 ],
9206 },
9207 &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.
9208 &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.
9209 &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
9210 &quot;origin&quot;: &quot;A String&quot;, # Optional. The origin that indicates where this integration is coming from.
9211 &quot;parentTemplateId&quot;: &quot;A String&quot;, # Optional. The id of the template which was used to create this integration_version.
9212 &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.
9213 &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.
9214 &quot;state&quot;: &quot;A String&quot;, # Output only. User should not set it as an input.
9215 &quot;status&quot;: &quot;A String&quot;, # Output only. Generated by eventbus. User should not set it as an input.
9216 &quot;taskConfigs&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
9217 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
9218 &quot;conditionalFailurePolicies&quot;: { # Conditional task failur retry strategies # Optional. The list of conditional failure policies that will be applied to the task in order.
9219 &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.
9220 &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.
9221 &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.
9222 &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.
9223 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
9224 },
9225 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
9226 { # 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).
9227 &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.
9228 &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.
9229 &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.
9230 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
9231 },
9232 ],
9233 },
9234 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
9235 &quot;displayName&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to this TaskConfig in the UI.
9236 &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
9237 &quot;externalTaskType&quot;: &quot;A String&quot;, # Optional. External task type of the task
9238 &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.).
9239 &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.
9240 &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.
9241 &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.
9242 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
9243 },
9244 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # Optional. If set, overrides the option configured in the Task implementation class.
9245 &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.
9246 { # The task that is next in line to be executed, if the condition specified evaluated to true.
9247 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
9248 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
9249 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
9250 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
9251 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
9252 },
9253 ],
9254 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution of the next set of tasks for the current task.
9255 &quot;parameters&quot;: { # Optional. The customized parameters the user can pass to this task.
9256 &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
9257 &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.
9258 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
9259 &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.
9260 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
9261 &quot;booleanValues&quot;: [ # Boolean array.
9262 True or False,
9263 ],
9264 },
9265 &quot;booleanValue&quot;: True or False, # Boolean.
9266 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
9267 &quot;doubleValues&quot;: [ # Double number array.
9268 3.14,
9269 ],
9270 },
9271 &quot;doubleValue&quot;: 3.14, # Double Number.
9272 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
9273 &quot;intValues&quot;: [ # Integer array.
9274 &quot;A String&quot;,
9275 ],
9276 },
9277 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
9278 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
9279 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
9280 &quot;stringValues&quot;: [ # String array.
9281 &quot;A String&quot;,
9282 ],
9283 },
9284 &quot;stringValue&quot;: &quot;A String&quot;, # String.
9285 },
9286 },
9287 },
9288 &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.
9289 &quot;x&quot;: 42, # Required. X axis of the coordinate
9290 &quot;y&quot;: 42, # Required. Y axis of the coordinate
9291 },
9292 &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.
9293 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
9294 },
9295 &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).
9296 &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.
9297 &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.
9298 &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.
9299 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
9300 },
9301 &quot;task&quot;: &quot;A String&quot;, # Optional. The name for the task.
9302 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution strategy of this task.
9303 &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`).
9304 &quot;taskTemplate&quot;: &quot;A String&quot;, # Optional. Used to define task-template name if task is of type task-template
9305 },
9306 ],
9307 &quot;taskConfigsInternal&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
9308 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
9309 &quot;alertConfigs&quot;: [ # Alert configurations on error rate, warning rate, number of runs, durations, etc.
9310 { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event.
9311 &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).
9312 &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.
9313 &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.
9314 &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.
9315 &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.
9316 &quot;errorEnumList&quot;: { # List of error enums for alerts.
9317 &quot;enumStrings&quot;: [
9318 &quot;A String&quot;,
9319 ],
9320 &quot;filterType&quot;: &quot;A String&quot;,
9321 },
9322 &quot;metricType&quot;: &quot;A String&quot;,
9323 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
9324 &quot;onlyFinalAttempt&quot;: True or False, # Only count final task attempts, not retries.
9325 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
9326 &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.
9327 &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.
9328 &quot;absolute&quot;: &quot;A String&quot;,
9329 &quot;percentage&quot;: 42,
9330 },
9331 &quot;warningEnumList&quot;: { # List of error enums for alerts.
9332 &quot;enumStrings&quot;: [
9333 &quot;A String&quot;,
9334 ],
9335 &quot;filterType&quot;: &quot;A String&quot;,
9336 },
9337 },
9338 ],
9339 &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).
9340 &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
9341 &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.
9342 &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.
9343 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
9344 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
9345 },
9346 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
9347 { # 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).
9348 &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.
9349 &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.
9350 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
9351 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
9352 },
9353 ],
9354 },
9355 &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
9356 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address. Auto-generated from the user&#x27;s email.
9357 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
9358 &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.
9359 &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
9360 &quot;externalTaskType&quot;: &quot;A String&quot;,
9361 &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.).
9362 &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.
9363 &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.
9364 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
9365 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
9366 },
9367 &quot;incomingEdgeCount&quot;: 42, # The number of edges leading into this TaskConfig.
9368 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # If set, overrides the option configured in the Task implementation class.
9369 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this TaskConfig in the UI.
9370 &quot;lastModifiedTime&quot;: &quot;A String&quot;, # Auto-generated.
9371 &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.
9372 { # The task that is next in line to be executed, if the condition specified evaluated to true.
9373 &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`
9374 { # This message recursively combines constituent conditions using logical AND.
9375 &quot;conditions&quot;: [ # A set of individual constituent conditions.
9376 { # Condition that uses `operator` to evaluate the key against the value.
9377 &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.
9378 &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.
9379 &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.
9380 &quot;booleanValue&quot;: True or False,
9381 &quot;doubleArray&quot;: {
9382 &quot;values&quot;: [
9383 3.14,
9384 ],
9385 },
9386 &quot;doubleValue&quot;: 3.14,
9387 &quot;intArray&quot;: {
9388 &quot;values&quot;: [
9389 &quot;A String&quot;,
9390 ],
9391 },
9392 &quot;intValue&quot;: &quot;A String&quot;,
9393 &quot;protoValue&quot;: {
9394 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
9395 },
9396 &quot;stringArray&quot;: {
9397 &quot;values&quot;: [
9398 &quot;A String&quot;,
9399 ],
9400 },
9401 &quot;stringValue&quot;: &quot;A String&quot;,
9402 },
9403 },
9404 ],
9405 },
9406 ],
9407 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
9408 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
9409 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
9410 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
9411 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
9412 },
9413 ],
9414 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # The policy dictating the execution of the next set of tasks for the current task.
9415 &quot;parameters&quot;: { # The customized parameters the user can pass to this task.
9416 &quot;a_key&quot;: { # Key-value pair of EventBus parameters.
9417 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
9418 &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.
9419 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
9420 &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.
9421 &quot;booleanArray&quot;: {
9422 &quot;booleanValues&quot;: [
9423 True or False,
9424 ],
9425 },
9426 &quot;booleanValue&quot;: True or False,
9427 &quot;doubleArray&quot;: {
9428 &quot;doubleValues&quot;: [
9429 3.14,
9430 ],
9431 },
9432 &quot;doubleValue&quot;: 3.14,
9433 &quot;intArray&quot;: {
9434 &quot;intValues&quot;: [
9435 &quot;A String&quot;,
9436 ],
9437 },
9438 &quot;intValue&quot;: &quot;A String&quot;,
9439 &quot;jsonValue&quot;: &quot;A String&quot;,
9440 &quot;protoArray&quot;: {
9441 &quot;protoValues&quot;: [
9442 {
9443 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
9444 },
9445 ],
9446 },
9447 &quot;protoValue&quot;: {
9448 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
9449 },
9450 &quot;serializedObjectValue&quot;: {
9451 &quot;objectValue&quot;: &quot;A String&quot;,
9452 },
9453 &quot;stringArray&quot;: {
9454 &quot;stringValues&quot;: [
9455 &quot;A String&quot;,
9456 ],
9457 },
9458 &quot;stringValue&quot;: &quot;A String&quot;,
9459 },
9460 },
9461 },
9462 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this task config on the UI.
9463 &quot;x&quot;: 42,
9464 &quot;y&quot;: 42,
9465 },
9466 &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.
9467 &quot;preconditionLabel&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to precondition in the UI.
9468 &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).
9469 &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.
9470 &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.
9471 { # Key-value pair of EventBus parameters.
9472 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
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 workflow definition.
9474 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
9475 &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.
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;jsonValue&quot;: &quot;A String&quot;,
9495 &quot;protoArray&quot;: {
9496 &quot;protoValues&quot;: [
9497 {
9498 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
9499 },
9500 ],
9501 },
9502 &quot;protoValue&quot;: {
9503 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
9504 },
9505 &quot;serializedObjectValue&quot;: {
9506 &quot;objectValue&quot;: &quot;A String&quot;,
9507 },
9508 &quot;stringArray&quot;: {
9509 &quot;stringValues&quot;: [
9510 &quot;A String&quot;,
9511 ],
9512 },
9513 &quot;stringValue&quot;: &quot;A String&quot;,
9514 },
9515 },
9516 ],
9517 },
9518 &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.
9519 &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.
9520 &quot;A String&quot;,
9521 ],
9522 },
9523 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Determines what action to take upon successful task completion.
9524 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
9525 },
9526 &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).
9527 &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.
9528 &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.
9529 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
9530 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
9531 },
9532 &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.
9533 &quot;disabledForVpcSc&quot;: True or False, # True if the task has conflict with vpcsc
9534 &quot;metadata&quot;: { # TaskMetadata are attributes that are associated to every common Task we have. # Metadata inclueds the task name, author and so on.
9535 &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.
9536 &quot;admins&quot;: [
9537 { # 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.
9538 &quot;googleGroupEmail&quot;: &quot;A String&quot;,
9539 &quot;userEmail&quot;: &quot;A String&quot;,
9540 },
9541 ],
9542 &quot;category&quot;: &quot;A String&quot;,
9543 &quot;codeSearchLink&quot;: &quot;A String&quot;, # The Code Search link to the Task Java file.
9544 &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.
9545 &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.
9546 &quot;description&quot;: &quot;A String&quot;, # In a few sentences, describe the purpose and usage of the task.
9547 &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;)
9548 &quot;docMarkdown&quot;: &quot;A String&quot;, # Snippet of markdown documentation to embed in the RHP for this task.
9549 &quot;externalCategory&quot;: &quot;A String&quot;,
9550 &quot;externalCategorySequence&quot;: 42, # Sequence with which the task in specific category to be displayed in task discovery panel for external users.
9551 &quot;externalDocHtml&quot;: &quot;A String&quot;, # External-facing documention embedded in the RHP for this task.
9552 &quot;externalDocLink&quot;: &quot;A String&quot;, # Doc link for external-facing documentation (separate from g3doc).
9553 &quot;externalDocMarkdown&quot;: &quot;A String&quot;, # DEPRECATED: Use external_doc_html.
9554 &quot;g3DocLink&quot;: &quot;A String&quot;, # URL to the associated G3 Doc for the task if available
9555 &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.
9556 &quot;isDeprecated&quot;: True or False, # The deprecation status of the current task. Default value is false;
9557 &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.
9558 &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
9559 &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.
9560 &quot;system&quot;: &quot;A String&quot;,
9561 &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.
9562 &quot;A String&quot;,
9563 ],
9564 },
9565 &quot;paramSpecs&quot;: { # Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask.
9566 &quot;parameters&quot;: [
9567 { # Key-value pair of EventBus task parameters. Next id: 13
9568 &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.
9569 &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.
9570 &quot;config&quot;: { # Optional fields, such as help text and other useful info.
9571 &quot;descriptivePhrase&quot;: &quot;A String&quot;, # A short phrase to describe what this parameter contains.
9572 &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.
9573 &quot;hideDefaultValue&quot;: True or False, # Whether the default value is hidden in the UI.
9574 &quot;inputDisplayOption&quot;: &quot;A String&quot;,
9575 &quot;isHidden&quot;: True or False, # Whether this field is hidden in the UI.
9576 &quot;label&quot;: &quot;A String&quot;, # A user-friendly label for the parameter.
9577 &quot;parameterNameOption&quot;: &quot;A String&quot;,
9578 &quot;subSectionLabel&quot;: &quot;A String&quot;, # A user-friendly label for subSection under which the parameter will be displayed.
9579 &quot;uiPlaceholderText&quot;: &quot;A String&quot;, # Placeholder text which will appear in the UI input form for this parameter.
9580 },
9581 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
9582 &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.
9583 &quot;booleanArray&quot;: {
9584 &quot;booleanValues&quot;: [
9585 True or False,
9586 ],
9587 },
9588 &quot;booleanValue&quot;: True or False,
9589 &quot;doubleArray&quot;: {
9590 &quot;doubleValues&quot;: [
9591 3.14,
9592 ],
9593 },
9594 &quot;doubleValue&quot;: 3.14,
9595 &quot;intArray&quot;: {
9596 &quot;intValues&quot;: [
9597 &quot;A String&quot;,
9598 ],
9599 },
9600 &quot;intValue&quot;: &quot;A String&quot;,
9601 &quot;jsonValue&quot;: &quot;A String&quot;,
9602 &quot;protoArray&quot;: {
9603 &quot;protoValues&quot;: [
9604 {
9605 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
9606 },
9607 ],
9608 },
9609 &quot;protoValue&quot;: {
9610 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
9611 },
9612 &quot;serializedObjectValue&quot;: {
9613 &quot;objectValue&quot;: &quot;A String&quot;,
9614 },
9615 &quot;stringArray&quot;: {
9616 &quot;stringValues&quot;: [
9617 &quot;A String&quot;,
9618 ],
9619 },
9620 &quot;stringValue&quot;: &quot;A String&quot;,
9621 },
9622 &quot;isDeprecated&quot;: True or False, # If set, this entry is deprecated, so further use of this parameter should be prohibited.
9623 &quot;isOutput&quot;: True or False,
9624 &quot;jsonSchema&quot;: &quot;A String&quot;, # If the data_type is JSON_VALUE, then this will define its schema.
9625 &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.
9626 &quot;protoDef&quot;: { # Populated if this represents a proto or proto array.
9627 &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;.
9628 &quot;path&quot;: &quot;A String&quot;, # Path to the proto file that contains the message type&#x27;s definition.
9629 },
9630 &quot;required&quot;: True or False, # If set, the user must provide an input value for this parameter.
9631 &quot;validationRule&quot;: { # Rule used to validate inputs (individual values and collection elements) for this parameter.
9632 &quot;doubleRange&quot;: { # Range used to validate doubles and floats.
9633 &quot;max&quot;: 3.14, # The inclusive maximum of the acceptable range.
9634 &quot;min&quot;: 3.14, # The inclusive minimum of the acceptable range.
9635 },
9636 &quot;intRange&quot;: { # Range used to validate longs and ints.
9637 &quot;max&quot;: &quot;A String&quot;, # The inclusive maximum of the acceptable range.
9638 &quot;min&quot;: &quot;A String&quot;, # The inclusive minimum of the acceptable range.
9639 },
9640 &quot;stringRegex&quot;: { # Rule used to validate strings.
9641 &quot;exclusive&quot;: True or False, # Whether the regex matcher is applied exclusively (if true, matching values will be rejected).
9642 &quot;regex&quot;: &quot;A String&quot;, # The regex applied to the input value(s).
9643 },
9644 },
9645 },
9646 ],
9647 },
9648 &quot;stats&quot;: { # Stats for the requested dimensions: QPS, duration, and error/warning rate # Deprecated - statistics from the Monarch query.
9649 &quot;dimensions&quot;: { # Dimensions that these stats have been aggregated on.
9650 &quot;clientId&quot;: &quot;A String&quot;,
9651 &quot;enumFilterType&quot;: &quot;A String&quot;, # Whether to include or exclude the enums matching the regex.
9652 &quot;errorEnumString&quot;: &quot;A String&quot;,
9653 &quot;retryAttempt&quot;: &quot;A String&quot;,
9654 &quot;taskName&quot;: &quot;A String&quot;,
9655 &quot;taskNumber&quot;: &quot;A String&quot;,
9656 &quot;triggerId&quot;: &quot;A String&quot;, # Stats have been or will be aggregated on set fields for any semantically-meaningful combination.
9657 &quot;warningEnumString&quot;: &quot;A String&quot;,
9658 &quot;workflowId&quot;: &quot;A String&quot;,
9659 &quot;workflowName&quot;: &quot;A String&quot;,
9660 },
9661 &quot;durationInSeconds&quot;: 3.14, # Average duration in seconds.
9662 &quot;errorRate&quot;: 3.14, # Average error rate.
9663 &quot;qps&quot;: 3.14, # Queries per second.
9664 &quot;warningRate&quot;: 3.14, # Average warning rate.
9665 },
9666 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
9667 &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.
9668 &quot;taskUiModuleConfigs&quot;: [ # Configurations of included config modules.
9669 { # Task author would use this type to configure a config module.
9670 &quot;moduleId&quot;: &quot;A String&quot;, # ID of the config module.
9671 },
9672 ],
9673 },
9674 },
9675 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # The policy dictating the execution strategy of this task.
9676 &quot;taskName&quot;: &quot;A String&quot;, # The name for the task.
9677 &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`).
9678 &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.
9679 &quot;taskTemplateName&quot;: &quot;A String&quot;, # Used to define task-template name if task is of type task-template
9680 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
9681 },
9682 ],
9683 &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.
9684 &quot;teardownTaskConfigs&quot;: [ # Required.
9685 {
9686 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address.
9687 &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.
9688 &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).
9689 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the next teardown task.
9690 },
9691 &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.
9692 &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.
9693 { # Key-value pair of EventBus parameters.
9694 &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.
9695 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
9696 &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.
9697 &quot;booleanArray&quot;: {
9698 &quot;booleanValues&quot;: [
9699 True or False,
9700 ],
9701 },
9702 &quot;booleanValue&quot;: True or False,
9703 &quot;doubleArray&quot;: {
9704 &quot;doubleValues&quot;: [
9705 3.14,
9706 ],
9707 },
9708 &quot;doubleValue&quot;: 3.14,
9709 &quot;intArray&quot;: {
9710 &quot;intValues&quot;: [
9711 &quot;A String&quot;,
9712 ],
9713 },
9714 &quot;intValue&quot;: &quot;A String&quot;,
9715 &quot;protoArray&quot;: {
9716 &quot;protoValues&quot;: [
9717 {
9718 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
9719 },
9720 ],
9721 },
9722 &quot;protoValue&quot;: {
9723 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
9724 },
9725 &quot;serializedObjectValue&quot;: {
9726 &quot;objectValue&quot;: &quot;A String&quot;,
9727 },
9728 &quot;stringArray&quot;: {
9729 &quot;stringValues&quot;: [
9730 &quot;A String&quot;,
9731 ],
9732 },
9733 &quot;stringValue&quot;: &quot;A String&quot;,
9734 },
9735 },
9736 ],
9737 },
9738 &quot;properties&quot;: { # LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus.
9739 &quot;properties&quot;: [ # An unordered list of property entries.
9740 { # Key-value pair of EventBus property.
9741 &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.
9742 &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.
9743 &quot;booleanValue&quot;: True or False,
9744 &quot;doubleArray&quot;: {
9745 &quot;values&quot;: [
9746 3.14,
9747 ],
9748 },
9749 &quot;doubleValue&quot;: 3.14,
9750 &quot;intArray&quot;: {
9751 &quot;values&quot;: [
9752 &quot;A String&quot;,
9753 ],
9754 },
9755 &quot;intValue&quot;: &quot;A String&quot;,
9756 &quot;protoValue&quot;: {
9757 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
9758 },
9759 &quot;stringArray&quot;: {
9760 &quot;values&quot;: [
9761 &quot;A String&quot;,
9762 ],
9763 },
9764 &quot;stringValue&quot;: &quot;A String&quot;,
9765 },
9766 },
9767 ],
9768 },
9769 &quot;teardownTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. Implementation class name.
9770 },
9771 ],
9772 },
9773 &quot;triggerConfigs&quot;: [ # Optional. Trigger configurations.
9774 { # Configuration detail of a trigger.
9775 &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.
9776 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
9777 &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.
9778 &quot;alertThreshold&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
9779 &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.
9780 &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.
9781 &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.
9782 &quot;metricType&quot;: &quot;A String&quot;, # The type of metric.
9783 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
9784 &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.
9785 &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.
9786 &quot;absolute&quot;: &quot;A String&quot;, # Absolute value threshold.
9787 &quot;percentage&quot;: 42, # Percentage threshold.
9788 },
9789 },
9790 ],
9791 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration # Optional. Cloud Scheduler Trigger related metadata
9792 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
9793 &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
9794 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
9795 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
9796 },
9797 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
9798 &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
9799 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
9800 &quot;names&quot;: [ # Optional. List of variable names.
9801 &quot;A String&quot;,
9802 ],
9803 },
9804 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular trigger.
9805 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. Dictates how next tasks will be executed.
9806 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
9807 &quot;names&quot;: [ # Optional. List of variable names.
9808 &quot;A String&quot;,
9809 ],
9810 },
9811 &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.
9812 &quot;x&quot;: 42, # Required. X axis of the coordinate
9813 &quot;y&quot;: 42, # Required. Y axis of the coordinate
9814 },
9815 &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.
9816 &quot;a_key&quot;: &quot;A String&quot;,
9817 },
9818 &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).
9819 { # The task that is next in line to be executed, if the condition specified evaluated to true.
9820 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
9821 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
9822 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
9823 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
9824 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
9825 },
9826 ],
9827 &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.
9828 &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}
9829 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the integration on UI.
9830 &quot;triggerType&quot;: &quot;A String&quot;, # Optional. Type of trigger
9831 },
9832 ],
9833 &quot;triggerConfigsInternal&quot;: [ # Optional. Trigger configurations.
9834 { # Configuration detail of a trigger. Next available id: 22
9835 &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.
9836 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
9837 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
9838 &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.
9839 &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.
9840 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration.
9841 &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.
9842 &quot;errorEnumList&quot;: { # List of error enums for alerts.
9843 &quot;enumStrings&quot;: [
9844 &quot;A String&quot;,
9845 ],
9846 &quot;filterType&quot;: &quot;A String&quot;,
9847 },
9848 &quot;metricType&quot;: &quot;A String&quot;,
9849 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
9850 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
9851 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
9852 &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.
9853 &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.
9854 &quot;absolute&quot;: &quot;A String&quot;,
9855 &quot;percentage&quot;: 42,
9856 },
9857 &quot;warningEnumList&quot;: { # List of error enums for alerts.
9858 &quot;enumStrings&quot;: [
9859 &quot;A String&quot;,
9860 ],
9861 &quot;filterType&quot;: &quot;A String&quot;,
9862 },
9863 },
9864 ],
9865 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration
9866 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
9867 &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
9868 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
9869 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
9870 },
9871 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
9872 &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.
9873 &quot;A String&quot;,
9874 ],
9875 &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
9876 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
9877 &quot;names&quot;: [ # Optional. List of variable names.
9878 &quot;A String&quot;,
9879 ],
9880 },
9881 &quot;label&quot;: &quot;A String&quot;, # The user created label for a particular trigger.
9882 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Dictates how next tasks will be executed.
9883 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
9884 &quot;names&quot;: [ # Optional. List of variable names.
9885 &quot;A String&quot;,
9886 ],
9887 },
9888 &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.
9889 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this trigger config on the UI.
9890 &quot;x&quot;: 42,
9891 &quot;y&quot;: 42,
9892 },
9893 &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.
9894 &quot;a_key&quot;: &quot;A String&quot;,
9895 },
9896 &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).
9897 { # The task that is next in line to be executed, if the condition specified evaluated to true.
9898 &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`
9899 { # This message recursively combines constituent conditions using logical AND.
9900 &quot;conditions&quot;: [ # A set of individual constituent conditions.
9901 { # Condition that uses `operator` to evaluate the key against the value.
9902 &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.
9903 &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.
9904 &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.
9905 &quot;booleanValue&quot;: True or False,
9906 &quot;doubleArray&quot;: {
9907 &quot;values&quot;: [
9908 3.14,
9909 ],
9910 },
9911 &quot;doubleValue&quot;: 3.14,
9912 &quot;intArray&quot;: {
9913 &quot;values&quot;: [
9914 &quot;A String&quot;,
9915 ],
9916 },
9917 &quot;intValue&quot;: &quot;A String&quot;,
9918 &quot;protoValue&quot;: {
9919 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
9920 },
9921 &quot;stringArray&quot;: {
9922 &quot;values&quot;: [
9923 &quot;A String&quot;,
9924 ],
9925 },
9926 &quot;stringValue&quot;: &quot;A String&quot;,
9927 },
9928 },
9929 ],
9930 },
9931 ],
9932 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
9933 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
9934 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
9935 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
9936 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
9937 },
9938 ],
9939 &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.
9940 &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.
9941 &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.
9942 &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.
9943 { # Key-value pair of EventBus parameters.
9944 &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.
9945 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
9946 &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.
9947 &quot;booleanArray&quot;: {
9948 &quot;booleanValues&quot;: [
9949 True or False,
9950 ],
9951 },
9952 &quot;booleanValue&quot;: True or False,
9953 &quot;doubleArray&quot;: {
9954 &quot;doubleValues&quot;: [
9955 3.14,
9956 ],
9957 },
9958 &quot;doubleValue&quot;: 3.14,
9959 &quot;intArray&quot;: {
9960 &quot;intValues&quot;: [
9961 &quot;A String&quot;,
9962 ],
9963 },
9964 &quot;intValue&quot;: &quot;A String&quot;,
9965 &quot;protoArray&quot;: {
9966 &quot;protoValues&quot;: [
9967 {
9968 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
9969 },
9970 ],
9971 },
9972 &quot;protoValue&quot;: {
9973 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
9974 },
9975 &quot;serializedObjectValue&quot;: {
9976 &quot;objectValue&quot;: &quot;A String&quot;,
9977 },
9978 &quot;stringArray&quot;: {
9979 &quot;stringValues&quot;: [
9980 &quot;A String&quot;,
9981 ],
9982 },
9983 &quot;stringValue&quot;: &quot;A String&quot;,
9984 },
9985 },
9986 ],
9987 },
9988 &quot;triggerCriteriaTaskImplementationClassName&quot;: &quot;A String&quot;, # Optional. Implementation class name. The class should implement the “TypedTask” interface.
9989 },
9990 &quot;triggerId&quot;: &quot;A String&quot;, # The backend trigger ID.
9991 &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.
9992 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the workflow on UI.
9993 &quot;triggerType&quot;: &quot;A String&quot;,
9994 },
9995 ],
9996 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
9997 &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.
9998 },
9999 }</pre>
10000 </div>
10001
10002 </body></html>