Debian Codegraph @

docs/dyn/integrations_v1.projects.locations.products.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.products.html">products</a> . <a href="integrations_v1.projects.locations.products.integrations.html">integrations</a> . <a href="integrations_v1.projects.locations.products.integrations.versions.html">versions</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#create">create(parent, body=None, createSampleIntegrations=None, newIntegration=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Create a integration with a draft version in the specified project.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
85 <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>
86 <p class="toc_element">
87 <code><a href="#download">download(name, fileFormat=None, files=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Downloads an integration. Retrieves the `IntegrationVersion` for a given `integration_id` and returns the response as a string.</p>
89 <p class="toc_element">
90 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
91 <p class="firstline">Get a integration in the specified project.</p>
92 <p class="toc_element">
93 <code><a href="#list">list(parent, fieldMask=None, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
94 <p class="firstline">Returns the list of all integration versions in the specified project.</p>
95 <p class="toc_element">
96 <code><a href="#list_next">list_next()</a></code></p>
97 <p class="firstline">Retrieves the next page of results.</p>
98 <p class="toc_element">
99 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
100 <p class="firstline">Update a integration with a draft version in the specified project.</p>
101 <p class="toc_element">
102 <code><a href="#publish">publish(name, body=None, x__xgafv=None)</a></code></p>
103 <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>
104 <p class="toc_element">
105 <code><a href="#takeoverEditLock">takeoverEditLock(integrationVersion, body=None, x__xgafv=None)</a></code></p>
106 <p class="firstline">Clears the `locked_by` and `locked_at_timestamp`in the DRAFT version of this integration. It then performs the same action as the CreateDraftIntegrationVersion (i.e., copies the DRAFT version of the integration as a SNAPSHOT and then creates a new DRAFT version with the `locked_by` set to the `user_taking_over` and the `locked_at_timestamp` set to the current timestamp). Both the `locked_by` and `user_taking_over` are notified via email about the takeover. This RPC throws an exception if the integration is not in DRAFT status or if the `locked_by` and `locked_at_timestamp` fields are not set.The TakeoverEdit lock is treated the same as an edit of the integration, and hence shares ACLs with edit. Audit fields updated include last_modified_timestamp, last_modified_by.</p>
107 <p class="toc_element">
108 <code><a href="#unpublish">unpublish(name, body=None, x__xgafv=None)</a></code></p>
109 <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>
110 <p class="toc_element">
111 <code><a href="#upload">upload(parent, body=None, x__xgafv=None)</a></code></p>
112 <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>
113 <h3>Method Details</h3>
114 <div class="method">
115 <code class="details" id="close">close()</code>
116 <pre>Close httplib2 connections.</pre>
117 </div>
118
119 <div class="method">
120 <code class="details" id="create">create(parent, body=None, createSampleIntegrations=None, newIntegration=None, x__xgafv=None)</code>
121 <pre>Create a integration with a draft version in the specified project.
122
123 Args:
124 parent: string, Required. The parent resource where this version will be created. Format: projects/{project}/locations/{location}/integrations/{integration} (required)
125 body: object, The request body.
126 The object takes the form of:
127
128 { # The integration version definition.
129 &quot;cloudKmsKey&quot;: &quot;A String&quot;, # Optional. Cloud KMS resource name for the CMEK encryption key.
130 &quot;cloudLoggingDetails&quot;: { # Cloud Logging details for execution info # Optional. Cloud Logging details for the integration version
131 &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.
132 &quot;enableCloudLogging&quot;: True or False, # Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.
133 },
134 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
135 &quot;createdFromTemplate&quot;: &quot;A String&quot;, # Optional. Optional. The resource name of the template from which the integration is created.
136 &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.
137 &quot;description&quot;: &quot;A String&quot;, # Optional. The integration description.
138 &quot;enableVariableMasking&quot;: True or False, # Optional. True if variable masking feature should be turned on for this version
139 &quot;errorCatcherConfigs&quot;: [ # Optional. Error Catch Task configuration for the integration. It&#x27;s optional.
140 { # Configuration detail of a error catch task
141 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give more business context about the error catcher config.
142 &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
143 &quot;errorCatcherNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each error catcher config within the workflow on UI.
144 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular error catcher. Optional.
145 &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.
146 &quot;x&quot;: 42, # Required. X axis of the coordinate
147 &quot;y&quot;: 42, # Required. Y axis of the coordinate
148 },
149 &quot;startErrorTasks&quot;: [ # Required. The set of start tasks that are to be executed for the error catch flow
150 { # The task that is next in line to be executed, if the condition specified evaluated to true.
151 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
152 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
153 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
154 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
155 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
156 },
157 ],
158 },
159 ],
160 &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.
161 { # 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.
162 &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.
163 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
164 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
165 &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.
166 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
167 &quot;booleanValues&quot;: [ # Boolean array.
168 True or False,
169 ],
170 },
171 &quot;booleanValue&quot;: True or False, # Boolean.
172 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
173 &quot;doubleValues&quot;: [ # Double number array.
174 3.14,
175 ],
176 },
177 &quot;doubleValue&quot;: 3.14, # Double Number.
178 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
179 &quot;intValues&quot;: [ # Integer array.
180 &quot;A String&quot;,
181 ],
182 },
183 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
184 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
185 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
186 &quot;stringValues&quot;: [ # String array.
187 &quot;A String&quot;,
188 ],
189 },
190 &quot;stringValue&quot;: &quot;A String&quot;, # String.
191 },
192 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
193 &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;.
194 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
195 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
196 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
197 &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.
198 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
199 &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.
200 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
201 },
202 &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.
203 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
204 &quot;booleanValues&quot;: [ # Boolean array.
205 True or False,
206 ],
207 },
208 &quot;booleanValue&quot;: True or False, # Boolean.
209 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
210 &quot;doubleValues&quot;: [ # Double number array.
211 3.14,
212 ],
213 },
214 &quot;doubleValue&quot;: 3.14, # Double Number.
215 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
216 &quot;intValues&quot;: [ # Integer array.
217 &quot;A String&quot;,
218 ],
219 },
220 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
221 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
222 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
223 &quot;stringValues&quot;: [ # String array.
224 &quot;A String&quot;,
225 ],
226 },
227 &quot;stringValue&quot;: &quot;A String&quot;, # String.
228 },
229 },
230 ],
231 &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.
232 { # 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.
233 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
234 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
235 &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.
236 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
237 &quot;booleanValues&quot;: [ # Boolean array.
238 True or False,
239 ],
240 },
241 &quot;booleanValue&quot;: True or False, # Boolean.
242 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
243 &quot;doubleValues&quot;: [ # Double number array.
244 3.14,
245 ],
246 },
247 &quot;doubleValue&quot;: 3.14, # Double Number.
248 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
249 &quot;intValues&quot;: [ # Integer array.
250 &quot;A String&quot;,
251 ],
252 },
253 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
254 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
255 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
256 &quot;stringValues&quot;: [ # String array.
257 &quot;A String&quot;,
258 ],
259 },
260 &quot;stringValue&quot;: &quot;A String&quot;, # String.
261 },
262 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
263 &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;.
264 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
265 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
266 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
267 &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.
268 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
269 &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.
270 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
271 },
272 ],
273 &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.
274 &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.
275 {
276 &quot;attributes&quot;: { # Attributes are additional options that can be associated with each event property. For more information, see # Metadata information about the parameters.
277 &quot;dataType&quot;: &quot;A String&quot;, # Things like URL, Email, Currency, Timestamp (rather than string, int64...)
278 &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.
279 &quot;booleanValue&quot;: True or False,
280 &quot;doubleArray&quot;: {
281 &quot;values&quot;: [
282 3.14,
283 ],
284 },
285 &quot;doubleValue&quot;: 3.14,
286 &quot;intArray&quot;: {
287 &quot;values&quot;: [
288 &quot;A String&quot;,
289 ],
290 },
291 &quot;intValue&quot;: &quot;A String&quot;,
292 &quot;protoValue&quot;: {
293 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
294 },
295 &quot;stringArray&quot;: {
296 &quot;values&quot;: [
297 &quot;A String&quot;,
298 ],
299 },
300 &quot;stringValue&quot;: &quot;A String&quot;,
301 },
302 &quot;isRequired&quot;: True or False, # Required for event execution. The validation will be done by the event bus when the event is triggered.
303 &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.
304 &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
305 &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.
306 &quot;seedPeriod&quot;: &quot;A String&quot;,
307 &quot;seedScope&quot;: &quot;A String&quot;,
308 },
309 &quot;masked&quot;: True or False, # True if this workflow parameter should be masked in the logs
310 &quot;readOnly&quot;: True or False, # Used to indicate if the ParameterEntry is a read only field or not.
311 &quot;searchable&quot;: &quot;A String&quot;,
312 &quot;taskVisibility&quot;: [ # List of tasks that can view this property, if empty then all.
313 &quot;A String&quot;,
314 ],
315 },
316 &quot;children&quot;: [ # Child parameters nested within this parameter. This field only applies to protobuf parameters
317 # Object with schema name: EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
318 ],
319 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
320 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
321 &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.
322 &quot;booleanArray&quot;: {
323 &quot;booleanValues&quot;: [
324 True or False,
325 ],
326 },
327 &quot;booleanValue&quot;: True or False,
328 &quot;doubleArray&quot;: {
329 &quot;doubleValues&quot;: [
330 3.14,
331 ],
332 },
333 &quot;doubleValue&quot;: 3.14,
334 &quot;intArray&quot;: {
335 &quot;intValues&quot;: [
336 &quot;A String&quot;,
337 ],
338 },
339 &quot;intValue&quot;: &quot;A String&quot;,
340 &quot;jsonValue&quot;: &quot;A String&quot;,
341 &quot;protoArray&quot;: {
342 &quot;protoValues&quot;: [
343 {
344 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
345 },
346 ],
347 },
348 &quot;protoValue&quot;: {
349 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
350 },
351 &quot;serializedObjectValue&quot;: {
352 &quot;objectValue&quot;: &quot;A String&quot;,
353 },
354 &quot;stringArray&quot;: {
355 &quot;stringValues&quot;: [
356 &quot;A String&quot;,
357 ],
358 },
359 &quot;stringValue&quot;: &quot;A String&quot;,
360 },
361 &quot;description&quot;: &quot;A String&quot;, # Optional. The description about the parameter
362 &quot;inOutType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
363 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
364 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
365 &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.
366 &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;.
367 &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.
368 &quot;elementIdentifier&quot;: &quot;A String&quot;, # Configuration of the edge.
369 &quot;elementType&quot;: &quot;A String&quot;, # Destination node where the edge ends. It can only be a task config.
370 },
371 &quot;producer&quot;: &quot;A String&quot;,
372 &quot;protoDefName&quot;: &quot;A String&quot;, # The name of the protobuf type if the parameter has a protobuf data type.
373 &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;.
374 &quot;required&quot;: True or False,
375 },
376 ],
377 },
378 &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.
379 &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.
380 &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
381 &quot;origin&quot;: &quot;A String&quot;, # Optional. The origin that indicates where this integration is coming from.
382 &quot;parentTemplateId&quot;: &quot;A String&quot;, # Optional. The id of the template which was used to create this integration_version.
383 &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.
384 &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.
385 &quot;state&quot;: &quot;A String&quot;, # Output only. User should not set it as an input.
386 &quot;status&quot;: &quot;A String&quot;, # Output only. Generated by eventbus. User should not set it as an input.
387 &quot;taskConfigs&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
388 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
389 &quot;conditionalFailurePolicies&quot;: { # Conditional task failur retry strategies # Optional. The list of conditional failure policies that will be applied to the task in order.
390 &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.
391 &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.
392 &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.
393 &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.
394 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
395 },
396 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
397 { # 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).
398 &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.
399 &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.
400 &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.
401 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
402 },
403 ],
404 },
405 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
406 &quot;displayName&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to this TaskConfig in the UI.
407 &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
408 &quot;externalTaskType&quot;: &quot;A String&quot;, # Optional. External task type of the task
409 &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.).
410 &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.
411 &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.
412 &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.
413 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
414 },
415 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # Optional. If set, overrides the option configured in the Task implementation class.
416 &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.
417 { # The task that is next in line to be executed, if the condition specified evaluated to true.
418 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
419 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
420 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
421 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
422 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
423 },
424 ],
425 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution of the next set of tasks for the current task.
426 &quot;parameters&quot;: { # Optional. The customized parameters the user can pass to this task.
427 &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
428 &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.
429 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
430 &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.
431 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
432 &quot;booleanValues&quot;: [ # Boolean array.
433 True or False,
434 ],
435 },
436 &quot;booleanValue&quot;: True or False, # Boolean.
437 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
438 &quot;doubleValues&quot;: [ # Double number array.
439 3.14,
440 ],
441 },
442 &quot;doubleValue&quot;: 3.14, # Double Number.
443 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
444 &quot;intValues&quot;: [ # Integer array.
445 &quot;A String&quot;,
446 ],
447 },
448 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
449 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
450 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
451 &quot;stringValues&quot;: [ # String array.
452 &quot;A String&quot;,
453 ],
454 },
455 &quot;stringValue&quot;: &quot;A String&quot;, # String.
456 },
457 },
458 },
459 &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.
460 &quot;x&quot;: 42, # Required. X axis of the coordinate
461 &quot;y&quot;: 42, # Required. Y axis of the coordinate
462 },
463 &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.
464 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
465 },
466 &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).
467 &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.
468 &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.
469 &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.
470 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
471 },
472 &quot;task&quot;: &quot;A String&quot;, # Optional. The name for the task.
473 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution strategy of this task.
474 &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`).
475 &quot;taskTemplate&quot;: &quot;A String&quot;, # Optional. Used to define task-template name if task is of type task-template
476 },
477 ],
478 &quot;taskConfigsInternal&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
479 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
480 &quot;alertConfigs&quot;: [ # Alert configurations on error rate, warning rate, number of runs, durations, etc.
481 { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event.
482 &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).
483 &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.
484 &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.
485 &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.
486 &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.
487 &quot;errorEnumList&quot;: { # List of error enums for alerts.
488 &quot;enumStrings&quot;: [
489 &quot;A String&quot;,
490 ],
491 &quot;filterType&quot;: &quot;A String&quot;,
492 },
493 &quot;metricType&quot;: &quot;A String&quot;,
494 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
495 &quot;onlyFinalAttempt&quot;: True or False, # Only count final task attempts, not retries.
496 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
497 &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.
498 &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.
499 &quot;absolute&quot;: &quot;A String&quot;,
500 &quot;percentage&quot;: 42,
501 },
502 &quot;warningEnumList&quot;: { # List of error enums for alerts.
503 &quot;enumStrings&quot;: [
504 &quot;A String&quot;,
505 ],
506 &quot;filterType&quot;: &quot;A String&quot;,
507 },
508 },
509 ],
510 &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).
511 &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
512 &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.
513 &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.
514 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
515 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
516 },
517 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
518 { # 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).
519 &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.
520 &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.
521 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
522 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
523 },
524 ],
525 },
526 &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
527 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address. Auto-generated from the user&#x27;s email.
528 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
529 &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.
530 &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
531 &quot;externalTaskType&quot;: &quot;A String&quot;,
532 &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.).
533 &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.
534 &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.
535 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
536 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
537 },
538 &quot;incomingEdgeCount&quot;: 42, # The number of edges leading into this TaskConfig.
539 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # If set, overrides the option configured in the Task implementation class.
540 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this TaskConfig in the UI.
541 &quot;lastModifiedTime&quot;: &quot;A String&quot;, # Auto-generated.
542 &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.
543 { # The task that is next in line to be executed, if the condition specified evaluated to true.
544 &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`
545 { # This message recursively combines constituent conditions using logical AND.
546 &quot;conditions&quot;: [ # A set of individual constituent conditions.
547 { # Condition that uses `operator` to evaluate the key against the value.
548 &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.
549 &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.
550 &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.
551 &quot;booleanValue&quot;: True or False,
552 &quot;doubleArray&quot;: {
553 &quot;values&quot;: [
554 3.14,
555 ],
556 },
557 &quot;doubleValue&quot;: 3.14,
558 &quot;intArray&quot;: {
559 &quot;values&quot;: [
560 &quot;A String&quot;,
561 ],
562 },
563 &quot;intValue&quot;: &quot;A String&quot;,
564 &quot;protoValue&quot;: {
565 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
566 },
567 &quot;stringArray&quot;: {
568 &quot;values&quot;: [
569 &quot;A String&quot;,
570 ],
571 },
572 &quot;stringValue&quot;: &quot;A String&quot;,
573 },
574 },
575 ],
576 },
577 ],
578 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
579 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
580 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
581 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
582 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
583 },
584 ],
585 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # The policy dictating the execution of the next set of tasks for the current task.
586 &quot;parameters&quot;: { # The customized parameters the user can pass to this task.
587 &quot;a_key&quot;: { # Key-value pair of EventBus parameters.
588 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
589 &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.
590 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
591 &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.
592 &quot;booleanArray&quot;: {
593 &quot;booleanValues&quot;: [
594 True or False,
595 ],
596 },
597 &quot;booleanValue&quot;: True or False,
598 &quot;doubleArray&quot;: {
599 &quot;doubleValues&quot;: [
600 3.14,
601 ],
602 },
603 &quot;doubleValue&quot;: 3.14,
604 &quot;intArray&quot;: {
605 &quot;intValues&quot;: [
606 &quot;A String&quot;,
607 ],
608 },
609 &quot;intValue&quot;: &quot;A String&quot;,
610 &quot;jsonValue&quot;: &quot;A String&quot;,
611 &quot;protoArray&quot;: {
612 &quot;protoValues&quot;: [
613 {
614 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
615 },
616 ],
617 },
618 &quot;protoValue&quot;: {
619 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
620 },
621 &quot;serializedObjectValue&quot;: {
622 &quot;objectValue&quot;: &quot;A String&quot;,
623 },
624 &quot;stringArray&quot;: {
625 &quot;stringValues&quot;: [
626 &quot;A String&quot;,
627 ],
628 },
629 &quot;stringValue&quot;: &quot;A String&quot;,
630 },
631 },
632 },
633 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this task config on the UI.
634 &quot;x&quot;: 42,
635 &quot;y&quot;: 42,
636 },
637 &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.
638 &quot;preconditionLabel&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to precondition in the UI.
639 &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).
640 &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.
641 &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.
642 { # Key-value pair of EventBus parameters.
643 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
644 &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.
645 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
646 &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.
647 &quot;booleanArray&quot;: {
648 &quot;booleanValues&quot;: [
649 True or False,
650 ],
651 },
652 &quot;booleanValue&quot;: True or False,
653 &quot;doubleArray&quot;: {
654 &quot;doubleValues&quot;: [
655 3.14,
656 ],
657 },
658 &quot;doubleValue&quot;: 3.14,
659 &quot;intArray&quot;: {
660 &quot;intValues&quot;: [
661 &quot;A String&quot;,
662 ],
663 },
664 &quot;intValue&quot;: &quot;A String&quot;,
665 &quot;jsonValue&quot;: &quot;A String&quot;,
666 &quot;protoArray&quot;: {
667 &quot;protoValues&quot;: [
668 {
669 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
670 },
671 ],
672 },
673 &quot;protoValue&quot;: {
674 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
675 },
676 &quot;serializedObjectValue&quot;: {
677 &quot;objectValue&quot;: &quot;A String&quot;,
678 },
679 &quot;stringArray&quot;: {
680 &quot;stringValues&quot;: [
681 &quot;A String&quot;,
682 ],
683 },
684 &quot;stringValue&quot;: &quot;A String&quot;,
685 },
686 },
687 ],
688 },
689 &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.
690 &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.
691 &quot;A String&quot;,
692 ],
693 },
694 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Determines what action to take upon successful task completion.
695 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
696 },
697 &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).
698 &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.
699 &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.
700 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
701 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
702 },
703 &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.
704 &quot;disabledForVpcSc&quot;: True or False, # True if the task has conflict with vpcsc
705 &quot;metadata&quot;: { # TaskMetadata are attributes that are associated to every common Task we have. # Metadata inclueds the task name, author and so on.
706 &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.
707 &quot;admins&quot;: [
708 { # 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.
709 &quot;googleGroupEmail&quot;: &quot;A String&quot;,
710 &quot;userEmail&quot;: &quot;A String&quot;,
711 },
712 ],
713 &quot;category&quot;: &quot;A String&quot;,
714 &quot;codeSearchLink&quot;: &quot;A String&quot;, # The Code Search link to the Task Java file.
715 &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.
716 &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.
717 &quot;description&quot;: &quot;A String&quot;, # In a few sentences, describe the purpose and usage of the task.
718 &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;)
719 &quot;docMarkdown&quot;: &quot;A String&quot;, # Snippet of markdown documentation to embed in the RHP for this task.
720 &quot;externalCategory&quot;: &quot;A String&quot;,
721 &quot;externalCategorySequence&quot;: 42, # Sequence with which the task in specific category to be displayed in task discovery panel for external users.
722 &quot;externalDocHtml&quot;: &quot;A String&quot;, # External-facing documention embedded in the RHP for this task.
723 &quot;externalDocLink&quot;: &quot;A String&quot;, # Doc link for external-facing documentation (separate from g3doc).
724 &quot;externalDocMarkdown&quot;: &quot;A String&quot;, # DEPRECATED: Use external_doc_html.
725 &quot;g3DocLink&quot;: &quot;A String&quot;, # URL to the associated G3 Doc for the task if available
726 &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.
727 &quot;isDeprecated&quot;: True or False, # The deprecation status of the current task. Default value is false;
728 &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.
729 &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
730 &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.
731 &quot;system&quot;: &quot;A String&quot;,
732 &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.
733 &quot;A String&quot;,
734 ],
735 },
736 &quot;paramSpecs&quot;: { # Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask.
737 &quot;parameters&quot;: [
738 { # Key-value pair of EventBus task parameters. Next id: 13
739 &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.
740 &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.
741 &quot;config&quot;: { # Optional fields, such as help text and other useful info.
742 &quot;descriptivePhrase&quot;: &quot;A String&quot;, # A short phrase to describe what this parameter contains.
743 &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.
744 &quot;hideDefaultValue&quot;: True or False, # Whether the default value is hidden in the UI.
745 &quot;inputDisplayOption&quot;: &quot;A String&quot;,
746 &quot;isHidden&quot;: True or False, # Whether this field is hidden in the UI.
747 &quot;label&quot;: &quot;A String&quot;, # A user-friendly label for the parameter.
748 &quot;parameterNameOption&quot;: &quot;A String&quot;,
749 &quot;subSectionLabel&quot;: &quot;A String&quot;, # A user-friendly label for subSection under which the parameter will be displayed.
750 &quot;uiPlaceholderText&quot;: &quot;A String&quot;, # Placeholder text which will appear in the UI input form for this parameter.
751 },
752 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
753 &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.
754 &quot;booleanArray&quot;: {
755 &quot;booleanValues&quot;: [
756 True or False,
757 ],
758 },
759 &quot;booleanValue&quot;: True or False,
760 &quot;doubleArray&quot;: {
761 &quot;doubleValues&quot;: [
762 3.14,
763 ],
764 },
765 &quot;doubleValue&quot;: 3.14,
766 &quot;intArray&quot;: {
767 &quot;intValues&quot;: [
768 &quot;A String&quot;,
769 ],
770 },
771 &quot;intValue&quot;: &quot;A String&quot;,
772 &quot;jsonValue&quot;: &quot;A String&quot;,
773 &quot;protoArray&quot;: {
774 &quot;protoValues&quot;: [
775 {
776 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
777 },
778 ],
779 },
780 &quot;protoValue&quot;: {
781 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
782 },
783 &quot;serializedObjectValue&quot;: {
784 &quot;objectValue&quot;: &quot;A String&quot;,
785 },
786 &quot;stringArray&quot;: {
787 &quot;stringValues&quot;: [
788 &quot;A String&quot;,
789 ],
790 },
791 &quot;stringValue&quot;: &quot;A String&quot;,
792 },
793 &quot;isDeprecated&quot;: True or False, # If set, this entry is deprecated, so further use of this parameter should be prohibited.
794 &quot;isOutput&quot;: True or False,
795 &quot;jsonSchema&quot;: &quot;A String&quot;, # If the data_type is JSON_VALUE, then this will define its schema.
796 &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.
797 &quot;protoDef&quot;: { # Populated if this represents a proto or proto array.
798 &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;.
799 &quot;path&quot;: &quot;A String&quot;, # Path to the proto file that contains the message type&#x27;s definition.
800 },
801 &quot;required&quot;: True or False, # If set, the user must provide an input value for this parameter.
802 &quot;validationRule&quot;: { # Rule used to validate inputs (individual values and collection elements) for this parameter.
803 &quot;doubleRange&quot;: { # Range used to validate doubles and floats.
804 &quot;max&quot;: 3.14, # The inclusive maximum of the acceptable range.
805 &quot;min&quot;: 3.14, # The inclusive minimum of the acceptable range.
806 },
807 &quot;intRange&quot;: { # Range used to validate longs and ints.
808 &quot;max&quot;: &quot;A String&quot;, # The inclusive maximum of the acceptable range.
809 &quot;min&quot;: &quot;A String&quot;, # The inclusive minimum of the acceptable range.
810 },
811 &quot;stringRegex&quot;: { # Rule used to validate strings.
812 &quot;exclusive&quot;: True or False, # Whether the regex matcher is applied exclusively (if true, matching values will be rejected).
813 &quot;regex&quot;: &quot;A String&quot;, # The regex applied to the input value(s).
814 },
815 },
816 },
817 ],
818 },
819 &quot;stats&quot;: { # Stats for the requested dimensions: QPS, duration, and error/warning rate # Deprecated - statistics from the Monarch query.
820 &quot;dimensions&quot;: { # Dimensions that these stats have been aggregated on.
821 &quot;clientId&quot;: &quot;A String&quot;,
822 &quot;enumFilterType&quot;: &quot;A String&quot;, # Whether to include or exclude the enums matching the regex.
823 &quot;errorEnumString&quot;: &quot;A String&quot;,
824 &quot;retryAttempt&quot;: &quot;A String&quot;,
825 &quot;taskName&quot;: &quot;A String&quot;,
826 &quot;taskNumber&quot;: &quot;A String&quot;,
827 &quot;triggerId&quot;: &quot;A String&quot;, # Stats have been or will be aggregated on set fields for any semantically-meaningful combination.
828 &quot;warningEnumString&quot;: &quot;A String&quot;,
829 &quot;workflowId&quot;: &quot;A String&quot;,
830 &quot;workflowName&quot;: &quot;A String&quot;,
831 },
832 &quot;durationInSeconds&quot;: 3.14, # Average duration in seconds.
833 &quot;errorRate&quot;: 3.14, # Average error rate.
834 &quot;qps&quot;: 3.14, # Queries per second.
835 &quot;warningRate&quot;: 3.14, # Average warning rate.
836 },
837 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
838 &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.
839 &quot;taskUiModuleConfigs&quot;: [ # Configurations of included config modules.
840 { # Task author would use this type to configure a config module.
841 &quot;moduleId&quot;: &quot;A String&quot;, # ID of the config module.
842 },
843 ],
844 },
845 },
846 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # The policy dictating the execution strategy of this task.
847 &quot;taskName&quot;: &quot;A String&quot;, # The name for the task.
848 &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`).
849 &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.
850 &quot;taskTemplateName&quot;: &quot;A String&quot;, # Used to define task-template name if task is of type task-template
851 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
852 },
853 ],
854 &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.
855 &quot;teardownTaskConfigs&quot;: [ # Required.
856 {
857 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address.
858 &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.
859 &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).
860 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the next teardown task.
861 },
862 &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.
863 &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.
864 { # Key-value pair of EventBus parameters.
865 &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.
866 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
867 &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.
868 &quot;booleanArray&quot;: {
869 &quot;booleanValues&quot;: [
870 True or False,
871 ],
872 },
873 &quot;booleanValue&quot;: True or False,
874 &quot;doubleArray&quot;: {
875 &quot;doubleValues&quot;: [
876 3.14,
877 ],
878 },
879 &quot;doubleValue&quot;: 3.14,
880 &quot;intArray&quot;: {
881 &quot;intValues&quot;: [
882 &quot;A String&quot;,
883 ],
884 },
885 &quot;intValue&quot;: &quot;A String&quot;,
886 &quot;protoArray&quot;: {
887 &quot;protoValues&quot;: [
888 {
889 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
890 },
891 ],
892 },
893 &quot;protoValue&quot;: {
894 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
895 },
896 &quot;serializedObjectValue&quot;: {
897 &quot;objectValue&quot;: &quot;A String&quot;,
898 },
899 &quot;stringArray&quot;: {
900 &quot;stringValues&quot;: [
901 &quot;A String&quot;,
902 ],
903 },
904 &quot;stringValue&quot;: &quot;A String&quot;,
905 },
906 },
907 ],
908 },
909 &quot;properties&quot;: { # LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus.
910 &quot;properties&quot;: [ # An unordered list of property entries.
911 { # Key-value pair of EventBus property.
912 &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.
913 &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.
914 &quot;booleanValue&quot;: True or False,
915 &quot;doubleArray&quot;: {
916 &quot;values&quot;: [
917 3.14,
918 ],
919 },
920 &quot;doubleValue&quot;: 3.14,
921 &quot;intArray&quot;: {
922 &quot;values&quot;: [
923 &quot;A String&quot;,
924 ],
925 },
926 &quot;intValue&quot;: &quot;A String&quot;,
927 &quot;protoValue&quot;: {
928 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
929 },
930 &quot;stringArray&quot;: {
931 &quot;values&quot;: [
932 &quot;A String&quot;,
933 ],
934 },
935 &quot;stringValue&quot;: &quot;A String&quot;,
936 },
937 },
938 ],
939 },
940 &quot;teardownTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. Implementation class name.
941 },
942 ],
943 },
944 &quot;triggerConfigs&quot;: [ # Optional. Trigger configurations.
945 { # Configuration detail of a trigger.
946 &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.
947 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
948 &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.
949 &quot;alertThreshold&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
950 &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.
951 &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.
952 &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.
953 &quot;metricType&quot;: &quot;A String&quot;, # The type of metric.
954 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
955 &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.
956 &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.
957 &quot;absolute&quot;: &quot;A String&quot;, # Absolute value threshold.
958 &quot;percentage&quot;: 42, # Percentage threshold.
959 },
960 },
961 ],
962 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration # Optional. Cloud Scheduler Trigger related metadata
963 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
964 &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
965 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
966 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
967 },
968 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
969 &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
970 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
971 &quot;names&quot;: [ # Optional. List of variable names.
972 &quot;A String&quot;,
973 ],
974 },
975 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular trigger.
976 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. Dictates how next tasks will be executed.
977 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
978 &quot;names&quot;: [ # Optional. List of variable names.
979 &quot;A String&quot;,
980 ],
981 },
982 &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.
983 &quot;x&quot;: 42, # Required. X axis of the coordinate
984 &quot;y&quot;: 42, # Required. Y axis of the coordinate
985 },
986 &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.
987 &quot;a_key&quot;: &quot;A String&quot;,
988 },
989 &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).
990 { # The task that is next in line to be executed, if the condition specified evaluated to true.
991 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
992 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
993 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
994 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
995 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
996 },
997 ],
998 &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.
999 &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}
1000 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the integration on UI.
1001 &quot;triggerType&quot;: &quot;A String&quot;, # Optional. Type of trigger
1002 },
1003 ],
1004 &quot;triggerConfigsInternal&quot;: [ # Optional. Trigger configurations.
1005 { # Configuration detail of a trigger. Next available id: 22
1006 &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.
1007 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
1008 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
1009 &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.
1010 &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.
1011 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration.
1012 &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.
1013 &quot;errorEnumList&quot;: { # List of error enums for alerts.
1014 &quot;enumStrings&quot;: [
1015 &quot;A String&quot;,
1016 ],
1017 &quot;filterType&quot;: &quot;A String&quot;,
1018 },
1019 &quot;metricType&quot;: &quot;A String&quot;,
1020 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
1021 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
1022 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
1023 &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.
1024 &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.
1025 &quot;absolute&quot;: &quot;A String&quot;,
1026 &quot;percentage&quot;: 42,
1027 },
1028 &quot;warningEnumList&quot;: { # List of error enums for alerts.
1029 &quot;enumStrings&quot;: [
1030 &quot;A String&quot;,
1031 ],
1032 &quot;filterType&quot;: &quot;A String&quot;,
1033 },
1034 },
1035 ],
1036 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration
1037 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
1038 &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
1039 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
1040 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
1041 },
1042 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
1043 &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.
1044 &quot;A String&quot;,
1045 ],
1046 &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
1047 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
1048 &quot;names&quot;: [ # Optional. List of variable names.
1049 &quot;A String&quot;,
1050 ],
1051 },
1052 &quot;label&quot;: &quot;A String&quot;, # The user created label for a particular trigger.
1053 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Dictates how next tasks will be executed.
1054 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
1055 &quot;names&quot;: [ # Optional. List of variable names.
1056 &quot;A String&quot;,
1057 ],
1058 },
1059 &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.
1060 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this trigger config on the UI.
1061 &quot;x&quot;: 42,
1062 &quot;y&quot;: 42,
1063 },
1064 &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.
1065 &quot;a_key&quot;: &quot;A String&quot;,
1066 },
1067 &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).
1068 { # The task that is next in line to be executed, if the condition specified evaluated to true.
1069 &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`
1070 { # This message recursively combines constituent conditions using logical AND.
1071 &quot;conditions&quot;: [ # A set of individual constituent conditions.
1072 { # Condition that uses `operator` to evaluate the key against the value.
1073 &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.
1074 &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.
1075 &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.
1076 &quot;booleanValue&quot;: True or False,
1077 &quot;doubleArray&quot;: {
1078 &quot;values&quot;: [
1079 3.14,
1080 ],
1081 },
1082 &quot;doubleValue&quot;: 3.14,
1083 &quot;intArray&quot;: {
1084 &quot;values&quot;: [
1085 &quot;A String&quot;,
1086 ],
1087 },
1088 &quot;intValue&quot;: &quot;A String&quot;,
1089 &quot;protoValue&quot;: {
1090 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1091 },
1092 &quot;stringArray&quot;: {
1093 &quot;values&quot;: [
1094 &quot;A String&quot;,
1095 ],
1096 },
1097 &quot;stringValue&quot;: &quot;A String&quot;,
1098 },
1099 },
1100 ],
1101 },
1102 ],
1103 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
1104 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
1105 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
1106 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
1107 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
1108 },
1109 ],
1110 &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.
1111 &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.
1112 &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.
1113 &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.
1114 { # Key-value pair of EventBus parameters.
1115 &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.
1116 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
1117 &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.
1118 &quot;booleanArray&quot;: {
1119 &quot;booleanValues&quot;: [
1120 True or False,
1121 ],
1122 },
1123 &quot;booleanValue&quot;: True or False,
1124 &quot;doubleArray&quot;: {
1125 &quot;doubleValues&quot;: [
1126 3.14,
1127 ],
1128 },
1129 &quot;doubleValue&quot;: 3.14,
1130 &quot;intArray&quot;: {
1131 &quot;intValues&quot;: [
1132 &quot;A String&quot;,
1133 ],
1134 },
1135 &quot;intValue&quot;: &quot;A String&quot;,
1136 &quot;protoArray&quot;: {
1137 &quot;protoValues&quot;: [
1138 {
1139 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1140 },
1141 ],
1142 },
1143 &quot;protoValue&quot;: {
1144 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1145 },
1146 &quot;serializedObjectValue&quot;: {
1147 &quot;objectValue&quot;: &quot;A String&quot;,
1148 },
1149 &quot;stringArray&quot;: {
1150 &quot;stringValues&quot;: [
1151 &quot;A String&quot;,
1152 ],
1153 },
1154 &quot;stringValue&quot;: &quot;A String&quot;,
1155 },
1156 },
1157 ],
1158 },
1159 &quot;triggerCriteriaTaskImplementationClassName&quot;: &quot;A String&quot;, # Optional. Implementation class name. The class should implement the “TypedTask” interface.
1160 },
1161 &quot;triggerId&quot;: &quot;A String&quot;, # The backend trigger ID.
1162 &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.
1163 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the workflow on UI.
1164 &quot;triggerType&quot;: &quot;A String&quot;,
1165 },
1166 ],
1167 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
1168 &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.
1169 }
1170
1171 createSampleIntegrations: boolean, Optional. Optional. Indicates if sample workflow should be created.
1172 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.
1173 x__xgafv: string, V1 error format.
1174 Allowed values
1175 1 - v1 error format
1176 2 - v2 error format
1177
1178 Returns:
1179 An object of the form:
1180
1181 { # The integration version definition.
1182 &quot;cloudKmsKey&quot;: &quot;A String&quot;, # Optional. Cloud KMS resource name for the CMEK encryption key.
1183 &quot;cloudLoggingDetails&quot;: { # Cloud Logging details for execution info # Optional. Cloud Logging details for the integration version
1184 &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.
1185 &quot;enableCloudLogging&quot;: True or False, # Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.
1186 },
1187 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
1188 &quot;createdFromTemplate&quot;: &quot;A String&quot;, # Optional. Optional. The resource name of the template from which the integration is created.
1189 &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.
1190 &quot;description&quot;: &quot;A String&quot;, # Optional. The integration description.
1191 &quot;enableVariableMasking&quot;: True or False, # Optional. True if variable masking feature should be turned on for this version
1192 &quot;errorCatcherConfigs&quot;: [ # Optional. Error Catch Task configuration for the integration. It&#x27;s optional.
1193 { # Configuration detail of a error catch task
1194 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give more business context about the error catcher config.
1195 &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
1196 &quot;errorCatcherNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each error catcher config within the workflow on UI.
1197 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular error catcher. Optional.
1198 &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.
1199 &quot;x&quot;: 42, # Required. X axis of the coordinate
1200 &quot;y&quot;: 42, # Required. Y axis of the coordinate
1201 },
1202 &quot;startErrorTasks&quot;: [ # Required. The set of start tasks that are to be executed for the error catch flow
1203 { # The task that is next in line to be executed, if the condition specified evaluated to true.
1204 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
1205 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
1206 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
1207 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
1208 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
1209 },
1210 ],
1211 },
1212 ],
1213 &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.
1214 { # 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.
1215 &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.
1216 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
1217 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
1218 &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.
1219 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
1220 &quot;booleanValues&quot;: [ # Boolean array.
1221 True or False,
1222 ],
1223 },
1224 &quot;booleanValue&quot;: True or False, # Boolean.
1225 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
1226 &quot;doubleValues&quot;: [ # Double number array.
1227 3.14,
1228 ],
1229 },
1230 &quot;doubleValue&quot;: 3.14, # Double Number.
1231 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
1232 &quot;intValues&quot;: [ # Integer array.
1233 &quot;A String&quot;,
1234 ],
1235 },
1236 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
1237 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
1238 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
1239 &quot;stringValues&quot;: [ # String array.
1240 &quot;A String&quot;,
1241 ],
1242 },
1243 &quot;stringValue&quot;: &quot;A String&quot;, # String.
1244 },
1245 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
1246 &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;.
1247 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
1248 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
1249 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
1250 &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.
1251 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
1252 &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.
1253 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
1254 },
1255 &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.
1256 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
1257 &quot;booleanValues&quot;: [ # Boolean array.
1258 True or False,
1259 ],
1260 },
1261 &quot;booleanValue&quot;: True or False, # Boolean.
1262 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
1263 &quot;doubleValues&quot;: [ # Double number array.
1264 3.14,
1265 ],
1266 },
1267 &quot;doubleValue&quot;: 3.14, # Double Number.
1268 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
1269 &quot;intValues&quot;: [ # Integer array.
1270 &quot;A String&quot;,
1271 ],
1272 },
1273 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
1274 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
1275 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
1276 &quot;stringValues&quot;: [ # String array.
1277 &quot;A String&quot;,
1278 ],
1279 },
1280 &quot;stringValue&quot;: &quot;A String&quot;, # String.
1281 },
1282 },
1283 ],
1284 &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.
1285 { # 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.
1286 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
1287 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
1288 &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.
1289 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
1290 &quot;booleanValues&quot;: [ # Boolean array.
1291 True or False,
1292 ],
1293 },
1294 &quot;booleanValue&quot;: True or False, # Boolean.
1295 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
1296 &quot;doubleValues&quot;: [ # Double number array.
1297 3.14,
1298 ],
1299 },
1300 &quot;doubleValue&quot;: 3.14, # Double Number.
1301 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
1302 &quot;intValues&quot;: [ # Integer array.
1303 &quot;A String&quot;,
1304 ],
1305 },
1306 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
1307 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
1308 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
1309 &quot;stringValues&quot;: [ # String array.
1310 &quot;A String&quot;,
1311 ],
1312 },
1313 &quot;stringValue&quot;: &quot;A String&quot;, # String.
1314 },
1315 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
1316 &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;.
1317 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
1318 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
1319 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
1320 &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.
1321 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
1322 &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.
1323 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
1324 },
1325 ],
1326 &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.
1327 &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.
1328 {
1329 &quot;attributes&quot;: { # Attributes are additional options that can be associated with each event property. For more information, see # Metadata information about the parameters.
1330 &quot;dataType&quot;: &quot;A String&quot;, # Things like URL, Email, Currency, Timestamp (rather than string, int64...)
1331 &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.
1332 &quot;booleanValue&quot;: True or False,
1333 &quot;doubleArray&quot;: {
1334 &quot;values&quot;: [
1335 3.14,
1336 ],
1337 },
1338 &quot;doubleValue&quot;: 3.14,
1339 &quot;intArray&quot;: {
1340 &quot;values&quot;: [
1341 &quot;A String&quot;,
1342 ],
1343 },
1344 &quot;intValue&quot;: &quot;A String&quot;,
1345 &quot;protoValue&quot;: {
1346 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1347 },
1348 &quot;stringArray&quot;: {
1349 &quot;values&quot;: [
1350 &quot;A String&quot;,
1351 ],
1352 },
1353 &quot;stringValue&quot;: &quot;A String&quot;,
1354 },
1355 &quot;isRequired&quot;: True or False, # Required for event execution. The validation will be done by the event bus when the event is triggered.
1356 &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.
1357 &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
1358 &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.
1359 &quot;seedPeriod&quot;: &quot;A String&quot;,
1360 &quot;seedScope&quot;: &quot;A String&quot;,
1361 },
1362 &quot;masked&quot;: True or False, # True if this workflow parameter should be masked in the logs
1363 &quot;readOnly&quot;: True or False, # Used to indicate if the ParameterEntry is a read only field or not.
1364 &quot;searchable&quot;: &quot;A String&quot;,
1365 &quot;taskVisibility&quot;: [ # List of tasks that can view this property, if empty then all.
1366 &quot;A String&quot;,
1367 ],
1368 },
1369 &quot;children&quot;: [ # Child parameters nested within this parameter. This field only applies to protobuf parameters
1370 # Object with schema name: EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
1371 ],
1372 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
1373 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
1374 &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.
1375 &quot;booleanArray&quot;: {
1376 &quot;booleanValues&quot;: [
1377 True or False,
1378 ],
1379 },
1380 &quot;booleanValue&quot;: True or False,
1381 &quot;doubleArray&quot;: {
1382 &quot;doubleValues&quot;: [
1383 3.14,
1384 ],
1385 },
1386 &quot;doubleValue&quot;: 3.14,
1387 &quot;intArray&quot;: {
1388 &quot;intValues&quot;: [
1389 &quot;A String&quot;,
1390 ],
1391 },
1392 &quot;intValue&quot;: &quot;A String&quot;,
1393 &quot;jsonValue&quot;: &quot;A String&quot;,
1394 &quot;protoArray&quot;: {
1395 &quot;protoValues&quot;: [
1396 {
1397 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1398 },
1399 ],
1400 },
1401 &quot;protoValue&quot;: {
1402 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1403 },
1404 &quot;serializedObjectValue&quot;: {
1405 &quot;objectValue&quot;: &quot;A String&quot;,
1406 },
1407 &quot;stringArray&quot;: {
1408 &quot;stringValues&quot;: [
1409 &quot;A String&quot;,
1410 ],
1411 },
1412 &quot;stringValue&quot;: &quot;A String&quot;,
1413 },
1414 &quot;description&quot;: &quot;A String&quot;, # Optional. The description about the parameter
1415 &quot;inOutType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
1416 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
1417 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
1418 &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.
1419 &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;.
1420 &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.
1421 &quot;elementIdentifier&quot;: &quot;A String&quot;, # Configuration of the edge.
1422 &quot;elementType&quot;: &quot;A String&quot;, # Destination node where the edge ends. It can only be a task config.
1423 },
1424 &quot;producer&quot;: &quot;A String&quot;,
1425 &quot;protoDefName&quot;: &quot;A String&quot;, # The name of the protobuf type if the parameter has a protobuf data type.
1426 &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;.
1427 &quot;required&quot;: True or False,
1428 },
1429 ],
1430 },
1431 &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.
1432 &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.
1433 &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
1434 &quot;origin&quot;: &quot;A String&quot;, # Optional. The origin that indicates where this integration is coming from.
1435 &quot;parentTemplateId&quot;: &quot;A String&quot;, # Optional. The id of the template which was used to create this integration_version.
1436 &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.
1437 &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.
1438 &quot;state&quot;: &quot;A String&quot;, # Output only. User should not set it as an input.
1439 &quot;status&quot;: &quot;A String&quot;, # Output only. Generated by eventbus. User should not set it as an input.
1440 &quot;taskConfigs&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
1441 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
1442 &quot;conditionalFailurePolicies&quot;: { # Conditional task failur retry strategies # Optional. The list of conditional failure policies that will be applied to the task in order.
1443 &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.
1444 &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.
1445 &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.
1446 &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.
1447 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
1448 },
1449 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
1450 { # 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).
1451 &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.
1452 &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.
1453 &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.
1454 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
1455 },
1456 ],
1457 },
1458 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
1459 &quot;displayName&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to this TaskConfig in the UI.
1460 &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
1461 &quot;externalTaskType&quot;: &quot;A String&quot;, # Optional. External task type of the task
1462 &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.).
1463 &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.
1464 &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.
1465 &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.
1466 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
1467 },
1468 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # Optional. If set, overrides the option configured in the Task implementation class.
1469 &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.
1470 { # The task that is next in line to be executed, if the condition specified evaluated to true.
1471 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
1472 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
1473 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
1474 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
1475 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
1476 },
1477 ],
1478 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution of the next set of tasks for the current task.
1479 &quot;parameters&quot;: { # Optional. The customized parameters the user can pass to this task.
1480 &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
1481 &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.
1482 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
1483 &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.
1484 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
1485 &quot;booleanValues&quot;: [ # Boolean array.
1486 True or False,
1487 ],
1488 },
1489 &quot;booleanValue&quot;: True or False, # Boolean.
1490 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
1491 &quot;doubleValues&quot;: [ # Double number array.
1492 3.14,
1493 ],
1494 },
1495 &quot;doubleValue&quot;: 3.14, # Double Number.
1496 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
1497 &quot;intValues&quot;: [ # Integer array.
1498 &quot;A String&quot;,
1499 ],
1500 },
1501 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
1502 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
1503 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
1504 &quot;stringValues&quot;: [ # String array.
1505 &quot;A String&quot;,
1506 ],
1507 },
1508 &quot;stringValue&quot;: &quot;A String&quot;, # String.
1509 },
1510 },
1511 },
1512 &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.
1513 &quot;x&quot;: 42, # Required. X axis of the coordinate
1514 &quot;y&quot;: 42, # Required. Y axis of the coordinate
1515 },
1516 &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.
1517 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
1518 },
1519 &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).
1520 &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.
1521 &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.
1522 &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.
1523 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
1524 },
1525 &quot;task&quot;: &quot;A String&quot;, # Optional. The name for the task.
1526 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution strategy of this task.
1527 &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`).
1528 &quot;taskTemplate&quot;: &quot;A String&quot;, # Optional. Used to define task-template name if task is of type task-template
1529 },
1530 ],
1531 &quot;taskConfigsInternal&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
1532 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
1533 &quot;alertConfigs&quot;: [ # Alert configurations on error rate, warning rate, number of runs, durations, etc.
1534 { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event.
1535 &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).
1536 &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.
1537 &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.
1538 &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.
1539 &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.
1540 &quot;errorEnumList&quot;: { # List of error enums for alerts.
1541 &quot;enumStrings&quot;: [
1542 &quot;A String&quot;,
1543 ],
1544 &quot;filterType&quot;: &quot;A String&quot;,
1545 },
1546 &quot;metricType&quot;: &quot;A String&quot;,
1547 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
1548 &quot;onlyFinalAttempt&quot;: True or False, # Only count final task attempts, not retries.
1549 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
1550 &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.
1551 &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.
1552 &quot;absolute&quot;: &quot;A String&quot;,
1553 &quot;percentage&quot;: 42,
1554 },
1555 &quot;warningEnumList&quot;: { # List of error enums for alerts.
1556 &quot;enumStrings&quot;: [
1557 &quot;A String&quot;,
1558 ],
1559 &quot;filterType&quot;: &quot;A String&quot;,
1560 },
1561 },
1562 ],
1563 &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).
1564 &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
1565 &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.
1566 &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.
1567 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
1568 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
1569 },
1570 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
1571 { # 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).
1572 &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.
1573 &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.
1574 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
1575 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
1576 },
1577 ],
1578 },
1579 &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
1580 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address. Auto-generated from the user&#x27;s email.
1581 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
1582 &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.
1583 &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
1584 &quot;externalTaskType&quot;: &quot;A String&quot;,
1585 &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.).
1586 &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.
1587 &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.
1588 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
1589 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
1590 },
1591 &quot;incomingEdgeCount&quot;: 42, # The number of edges leading into this TaskConfig.
1592 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # If set, overrides the option configured in the Task implementation class.
1593 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this TaskConfig in the UI.
1594 &quot;lastModifiedTime&quot;: &quot;A String&quot;, # Auto-generated.
1595 &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.
1596 { # The task that is next in line to be executed, if the condition specified evaluated to true.
1597 &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`
1598 { # This message recursively combines constituent conditions using logical AND.
1599 &quot;conditions&quot;: [ # A set of individual constituent conditions.
1600 { # Condition that uses `operator` to evaluate the key against the value.
1601 &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.
1602 &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.
1603 &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.
1604 &quot;booleanValue&quot;: True or False,
1605 &quot;doubleArray&quot;: {
1606 &quot;values&quot;: [
1607 3.14,
1608 ],
1609 },
1610 &quot;doubleValue&quot;: 3.14,
1611 &quot;intArray&quot;: {
1612 &quot;values&quot;: [
1613 &quot;A String&quot;,
1614 ],
1615 },
1616 &quot;intValue&quot;: &quot;A String&quot;,
1617 &quot;protoValue&quot;: {
1618 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1619 },
1620 &quot;stringArray&quot;: {
1621 &quot;values&quot;: [
1622 &quot;A String&quot;,
1623 ],
1624 },
1625 &quot;stringValue&quot;: &quot;A String&quot;,
1626 },
1627 },
1628 ],
1629 },
1630 ],
1631 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
1632 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
1633 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
1634 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
1635 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
1636 },
1637 ],
1638 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # The policy dictating the execution of the next set of tasks for the current task.
1639 &quot;parameters&quot;: { # The customized parameters the user can pass to this task.
1640 &quot;a_key&quot;: { # Key-value pair of EventBus parameters.
1641 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
1642 &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.
1643 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
1644 &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.
1645 &quot;booleanArray&quot;: {
1646 &quot;booleanValues&quot;: [
1647 True or False,
1648 ],
1649 },
1650 &quot;booleanValue&quot;: True or False,
1651 &quot;doubleArray&quot;: {
1652 &quot;doubleValues&quot;: [
1653 3.14,
1654 ],
1655 },
1656 &quot;doubleValue&quot;: 3.14,
1657 &quot;intArray&quot;: {
1658 &quot;intValues&quot;: [
1659 &quot;A String&quot;,
1660 ],
1661 },
1662 &quot;intValue&quot;: &quot;A String&quot;,
1663 &quot;jsonValue&quot;: &quot;A String&quot;,
1664 &quot;protoArray&quot;: {
1665 &quot;protoValues&quot;: [
1666 {
1667 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1668 },
1669 ],
1670 },
1671 &quot;protoValue&quot;: {
1672 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1673 },
1674 &quot;serializedObjectValue&quot;: {
1675 &quot;objectValue&quot;: &quot;A String&quot;,
1676 },
1677 &quot;stringArray&quot;: {
1678 &quot;stringValues&quot;: [
1679 &quot;A String&quot;,
1680 ],
1681 },
1682 &quot;stringValue&quot;: &quot;A String&quot;,
1683 },
1684 },
1685 },
1686 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this task config on the UI.
1687 &quot;x&quot;: 42,
1688 &quot;y&quot;: 42,
1689 },
1690 &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.
1691 &quot;preconditionLabel&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to precondition in the UI.
1692 &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).
1693 &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.
1694 &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.
1695 { # Key-value pair of EventBus parameters.
1696 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
1697 &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.
1698 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
1699 &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.
1700 &quot;booleanArray&quot;: {
1701 &quot;booleanValues&quot;: [
1702 True or False,
1703 ],
1704 },
1705 &quot;booleanValue&quot;: True or False,
1706 &quot;doubleArray&quot;: {
1707 &quot;doubleValues&quot;: [
1708 3.14,
1709 ],
1710 },
1711 &quot;doubleValue&quot;: 3.14,
1712 &quot;intArray&quot;: {
1713 &quot;intValues&quot;: [
1714 &quot;A String&quot;,
1715 ],
1716 },
1717 &quot;intValue&quot;: &quot;A String&quot;,
1718 &quot;jsonValue&quot;: &quot;A String&quot;,
1719 &quot;protoArray&quot;: {
1720 &quot;protoValues&quot;: [
1721 {
1722 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1723 },
1724 ],
1725 },
1726 &quot;protoValue&quot;: {
1727 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1728 },
1729 &quot;serializedObjectValue&quot;: {
1730 &quot;objectValue&quot;: &quot;A String&quot;,
1731 },
1732 &quot;stringArray&quot;: {
1733 &quot;stringValues&quot;: [
1734 &quot;A String&quot;,
1735 ],
1736 },
1737 &quot;stringValue&quot;: &quot;A String&quot;,
1738 },
1739 },
1740 ],
1741 },
1742 &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.
1743 &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.
1744 &quot;A String&quot;,
1745 ],
1746 },
1747 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Determines what action to take upon successful task completion.
1748 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
1749 },
1750 &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).
1751 &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.
1752 &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.
1753 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
1754 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
1755 },
1756 &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.
1757 &quot;disabledForVpcSc&quot;: True or False, # True if the task has conflict with vpcsc
1758 &quot;metadata&quot;: { # TaskMetadata are attributes that are associated to every common Task we have. # Metadata inclueds the task name, author and so on.
1759 &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.
1760 &quot;admins&quot;: [
1761 { # 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.
1762 &quot;googleGroupEmail&quot;: &quot;A String&quot;,
1763 &quot;userEmail&quot;: &quot;A String&quot;,
1764 },
1765 ],
1766 &quot;category&quot;: &quot;A String&quot;,
1767 &quot;codeSearchLink&quot;: &quot;A String&quot;, # The Code Search link to the Task Java file.
1768 &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.
1769 &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.
1770 &quot;description&quot;: &quot;A String&quot;, # In a few sentences, describe the purpose and usage of the task.
1771 &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;)
1772 &quot;docMarkdown&quot;: &quot;A String&quot;, # Snippet of markdown documentation to embed in the RHP for this task.
1773 &quot;externalCategory&quot;: &quot;A String&quot;,
1774 &quot;externalCategorySequence&quot;: 42, # Sequence with which the task in specific category to be displayed in task discovery panel for external users.
1775 &quot;externalDocHtml&quot;: &quot;A String&quot;, # External-facing documention embedded in the RHP for this task.
1776 &quot;externalDocLink&quot;: &quot;A String&quot;, # Doc link for external-facing documentation (separate from g3doc).
1777 &quot;externalDocMarkdown&quot;: &quot;A String&quot;, # DEPRECATED: Use external_doc_html.
1778 &quot;g3DocLink&quot;: &quot;A String&quot;, # URL to the associated G3 Doc for the task if available
1779 &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.
1780 &quot;isDeprecated&quot;: True or False, # The deprecation status of the current task. Default value is false;
1781 &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.
1782 &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
1783 &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.
1784 &quot;system&quot;: &quot;A String&quot;,
1785 &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.
1786 &quot;A String&quot;,
1787 ],
1788 },
1789 &quot;paramSpecs&quot;: { # Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask.
1790 &quot;parameters&quot;: [
1791 { # Key-value pair of EventBus task parameters. Next id: 13
1792 &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.
1793 &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.
1794 &quot;config&quot;: { # Optional fields, such as help text and other useful info.
1795 &quot;descriptivePhrase&quot;: &quot;A String&quot;, # A short phrase to describe what this parameter contains.
1796 &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.
1797 &quot;hideDefaultValue&quot;: True or False, # Whether the default value is hidden in the UI.
1798 &quot;inputDisplayOption&quot;: &quot;A String&quot;,
1799 &quot;isHidden&quot;: True or False, # Whether this field is hidden in the UI.
1800 &quot;label&quot;: &quot;A String&quot;, # A user-friendly label for the parameter.
1801 &quot;parameterNameOption&quot;: &quot;A String&quot;,
1802 &quot;subSectionLabel&quot;: &quot;A String&quot;, # A user-friendly label for subSection under which the parameter will be displayed.
1803 &quot;uiPlaceholderText&quot;: &quot;A String&quot;, # Placeholder text which will appear in the UI input form for this parameter.
1804 },
1805 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
1806 &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.
1807 &quot;booleanArray&quot;: {
1808 &quot;booleanValues&quot;: [
1809 True or False,
1810 ],
1811 },
1812 &quot;booleanValue&quot;: True or False,
1813 &quot;doubleArray&quot;: {
1814 &quot;doubleValues&quot;: [
1815 3.14,
1816 ],
1817 },
1818 &quot;doubleValue&quot;: 3.14,
1819 &quot;intArray&quot;: {
1820 &quot;intValues&quot;: [
1821 &quot;A String&quot;,
1822 ],
1823 },
1824 &quot;intValue&quot;: &quot;A String&quot;,
1825 &quot;jsonValue&quot;: &quot;A String&quot;,
1826 &quot;protoArray&quot;: {
1827 &quot;protoValues&quot;: [
1828 {
1829 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1830 },
1831 ],
1832 },
1833 &quot;protoValue&quot;: {
1834 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1835 },
1836 &quot;serializedObjectValue&quot;: {
1837 &quot;objectValue&quot;: &quot;A String&quot;,
1838 },
1839 &quot;stringArray&quot;: {
1840 &quot;stringValues&quot;: [
1841 &quot;A String&quot;,
1842 ],
1843 },
1844 &quot;stringValue&quot;: &quot;A String&quot;,
1845 },
1846 &quot;isDeprecated&quot;: True or False, # If set, this entry is deprecated, so further use of this parameter should be prohibited.
1847 &quot;isOutput&quot;: True or False,
1848 &quot;jsonSchema&quot;: &quot;A String&quot;, # If the data_type is JSON_VALUE, then this will define its schema.
1849 &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.
1850 &quot;protoDef&quot;: { # Populated if this represents a proto or proto array.
1851 &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;.
1852 &quot;path&quot;: &quot;A String&quot;, # Path to the proto file that contains the message type&#x27;s definition.
1853 },
1854 &quot;required&quot;: True or False, # If set, the user must provide an input value for this parameter.
1855 &quot;validationRule&quot;: { # Rule used to validate inputs (individual values and collection elements) for this parameter.
1856 &quot;doubleRange&quot;: { # Range used to validate doubles and floats.
1857 &quot;max&quot;: 3.14, # The inclusive maximum of the acceptable range.
1858 &quot;min&quot;: 3.14, # The inclusive minimum of the acceptable range.
1859 },
1860 &quot;intRange&quot;: { # Range used to validate longs and ints.
1861 &quot;max&quot;: &quot;A String&quot;, # The inclusive maximum of the acceptable range.
1862 &quot;min&quot;: &quot;A String&quot;, # The inclusive minimum of the acceptable range.
1863 },
1864 &quot;stringRegex&quot;: { # Rule used to validate strings.
1865 &quot;exclusive&quot;: True or False, # Whether the regex matcher is applied exclusively (if true, matching values will be rejected).
1866 &quot;regex&quot;: &quot;A String&quot;, # The regex applied to the input value(s).
1867 },
1868 },
1869 },
1870 ],
1871 },
1872 &quot;stats&quot;: { # Stats for the requested dimensions: QPS, duration, and error/warning rate # Deprecated - statistics from the Monarch query.
1873 &quot;dimensions&quot;: { # Dimensions that these stats have been aggregated on.
1874 &quot;clientId&quot;: &quot;A String&quot;,
1875 &quot;enumFilterType&quot;: &quot;A String&quot;, # Whether to include or exclude the enums matching the regex.
1876 &quot;errorEnumString&quot;: &quot;A String&quot;,
1877 &quot;retryAttempt&quot;: &quot;A String&quot;,
1878 &quot;taskName&quot;: &quot;A String&quot;,
1879 &quot;taskNumber&quot;: &quot;A String&quot;,
1880 &quot;triggerId&quot;: &quot;A String&quot;, # Stats have been or will be aggregated on set fields for any semantically-meaningful combination.
1881 &quot;warningEnumString&quot;: &quot;A String&quot;,
1882 &quot;workflowId&quot;: &quot;A String&quot;,
1883 &quot;workflowName&quot;: &quot;A String&quot;,
1884 },
1885 &quot;durationInSeconds&quot;: 3.14, # Average duration in seconds.
1886 &quot;errorRate&quot;: 3.14, # Average error rate.
1887 &quot;qps&quot;: 3.14, # Queries per second.
1888 &quot;warningRate&quot;: 3.14, # Average warning rate.
1889 },
1890 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
1891 &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.
1892 &quot;taskUiModuleConfigs&quot;: [ # Configurations of included config modules.
1893 { # Task author would use this type to configure a config module.
1894 &quot;moduleId&quot;: &quot;A String&quot;, # ID of the config module.
1895 },
1896 ],
1897 },
1898 },
1899 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # The policy dictating the execution strategy of this task.
1900 &quot;taskName&quot;: &quot;A String&quot;, # The name for the task.
1901 &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`).
1902 &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.
1903 &quot;taskTemplateName&quot;: &quot;A String&quot;, # Used to define task-template name if task is of type task-template
1904 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
1905 },
1906 ],
1907 &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.
1908 &quot;teardownTaskConfigs&quot;: [ # Required.
1909 {
1910 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address.
1911 &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.
1912 &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).
1913 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the next teardown task.
1914 },
1915 &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.
1916 &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.
1917 { # Key-value pair of EventBus parameters.
1918 &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.
1919 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
1920 &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.
1921 &quot;booleanArray&quot;: {
1922 &quot;booleanValues&quot;: [
1923 True or False,
1924 ],
1925 },
1926 &quot;booleanValue&quot;: True or False,
1927 &quot;doubleArray&quot;: {
1928 &quot;doubleValues&quot;: [
1929 3.14,
1930 ],
1931 },
1932 &quot;doubleValue&quot;: 3.14,
1933 &quot;intArray&quot;: {
1934 &quot;intValues&quot;: [
1935 &quot;A String&quot;,
1936 ],
1937 },
1938 &quot;intValue&quot;: &quot;A String&quot;,
1939 &quot;protoArray&quot;: {
1940 &quot;protoValues&quot;: [
1941 {
1942 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1943 },
1944 ],
1945 },
1946 &quot;protoValue&quot;: {
1947 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1948 },
1949 &quot;serializedObjectValue&quot;: {
1950 &quot;objectValue&quot;: &quot;A String&quot;,
1951 },
1952 &quot;stringArray&quot;: {
1953 &quot;stringValues&quot;: [
1954 &quot;A String&quot;,
1955 ],
1956 },
1957 &quot;stringValue&quot;: &quot;A String&quot;,
1958 },
1959 },
1960 ],
1961 },
1962 &quot;properties&quot;: { # LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus.
1963 &quot;properties&quot;: [ # An unordered list of property entries.
1964 { # Key-value pair of EventBus property.
1965 &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.
1966 &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.
1967 &quot;booleanValue&quot;: True or False,
1968 &quot;doubleArray&quot;: {
1969 &quot;values&quot;: [
1970 3.14,
1971 ],
1972 },
1973 &quot;doubleValue&quot;: 3.14,
1974 &quot;intArray&quot;: {
1975 &quot;values&quot;: [
1976 &quot;A String&quot;,
1977 ],
1978 },
1979 &quot;intValue&quot;: &quot;A String&quot;,
1980 &quot;protoValue&quot;: {
1981 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1982 },
1983 &quot;stringArray&quot;: {
1984 &quot;values&quot;: [
1985 &quot;A String&quot;,
1986 ],
1987 },
1988 &quot;stringValue&quot;: &quot;A String&quot;,
1989 },
1990 },
1991 ],
1992 },
1993 &quot;teardownTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. Implementation class name.
1994 },
1995 ],
1996 },
1997 &quot;triggerConfigs&quot;: [ # Optional. Trigger configurations.
1998 { # Configuration detail of a trigger.
1999 &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.
2000 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
2001 &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.
2002 &quot;alertThreshold&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
2003 &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.
2004 &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.
2005 &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.
2006 &quot;metricType&quot;: &quot;A String&quot;, # The type of metric.
2007 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
2008 &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.
2009 &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.
2010 &quot;absolute&quot;: &quot;A String&quot;, # Absolute value threshold.
2011 &quot;percentage&quot;: 42, # Percentage threshold.
2012 },
2013 },
2014 ],
2015 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration # Optional. Cloud Scheduler Trigger related metadata
2016 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
2017 &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
2018 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
2019 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
2020 },
2021 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
2022 &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
2023 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
2024 &quot;names&quot;: [ # Optional. List of variable names.
2025 &quot;A String&quot;,
2026 ],
2027 },
2028 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular trigger.
2029 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. Dictates how next tasks will be executed.
2030 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
2031 &quot;names&quot;: [ # Optional. List of variable names.
2032 &quot;A String&quot;,
2033 ],
2034 },
2035 &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.
2036 &quot;x&quot;: 42, # Required. X axis of the coordinate
2037 &quot;y&quot;: 42, # Required. Y axis of the coordinate
2038 },
2039 &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.
2040 &quot;a_key&quot;: &quot;A String&quot;,
2041 },
2042 &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).
2043 { # The task that is next in line to be executed, if the condition specified evaluated to true.
2044 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
2045 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
2046 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
2047 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
2048 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
2049 },
2050 ],
2051 &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.
2052 &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}
2053 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the integration on UI.
2054 &quot;triggerType&quot;: &quot;A String&quot;, # Optional. Type of trigger
2055 },
2056 ],
2057 &quot;triggerConfigsInternal&quot;: [ # Optional. Trigger configurations.
2058 { # Configuration detail of a trigger. Next available id: 22
2059 &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.
2060 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
2061 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
2062 &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.
2063 &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.
2064 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration.
2065 &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.
2066 &quot;errorEnumList&quot;: { # List of error enums for alerts.
2067 &quot;enumStrings&quot;: [
2068 &quot;A String&quot;,
2069 ],
2070 &quot;filterType&quot;: &quot;A String&quot;,
2071 },
2072 &quot;metricType&quot;: &quot;A String&quot;,
2073 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
2074 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
2075 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
2076 &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.
2077 &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.
2078 &quot;absolute&quot;: &quot;A String&quot;,
2079 &quot;percentage&quot;: 42,
2080 },
2081 &quot;warningEnumList&quot;: { # List of error enums for alerts.
2082 &quot;enumStrings&quot;: [
2083 &quot;A String&quot;,
2084 ],
2085 &quot;filterType&quot;: &quot;A String&quot;,
2086 },
2087 },
2088 ],
2089 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration
2090 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
2091 &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
2092 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
2093 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
2094 },
2095 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
2096 &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.
2097 &quot;A String&quot;,
2098 ],
2099 &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
2100 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
2101 &quot;names&quot;: [ # Optional. List of variable names.
2102 &quot;A String&quot;,
2103 ],
2104 },
2105 &quot;label&quot;: &quot;A String&quot;, # The user created label for a particular trigger.
2106 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Dictates how next tasks will be executed.
2107 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
2108 &quot;names&quot;: [ # Optional. List of variable names.
2109 &quot;A String&quot;,
2110 ],
2111 },
2112 &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.
2113 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this trigger config on the UI.
2114 &quot;x&quot;: 42,
2115 &quot;y&quot;: 42,
2116 },
2117 &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.
2118 &quot;a_key&quot;: &quot;A String&quot;,
2119 },
2120 &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).
2121 { # The task that is next in line to be executed, if the condition specified evaluated to true.
2122 &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`
2123 { # This message recursively combines constituent conditions using logical AND.
2124 &quot;conditions&quot;: [ # A set of individual constituent conditions.
2125 { # Condition that uses `operator` to evaluate the key against the value.
2126 &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.
2127 &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.
2128 &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.
2129 &quot;booleanValue&quot;: True or False,
2130 &quot;doubleArray&quot;: {
2131 &quot;values&quot;: [
2132 3.14,
2133 ],
2134 },
2135 &quot;doubleValue&quot;: 3.14,
2136 &quot;intArray&quot;: {
2137 &quot;values&quot;: [
2138 &quot;A String&quot;,
2139 ],
2140 },
2141 &quot;intValue&quot;: &quot;A String&quot;,
2142 &quot;protoValue&quot;: {
2143 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2144 },
2145 &quot;stringArray&quot;: {
2146 &quot;values&quot;: [
2147 &quot;A String&quot;,
2148 ],
2149 },
2150 &quot;stringValue&quot;: &quot;A String&quot;,
2151 },
2152 },
2153 ],
2154 },
2155 ],
2156 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
2157 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
2158 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
2159 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
2160 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
2161 },
2162 ],
2163 &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.
2164 &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.
2165 &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.
2166 &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.
2167 { # Key-value pair of EventBus parameters.
2168 &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.
2169 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
2170 &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.
2171 &quot;booleanArray&quot;: {
2172 &quot;booleanValues&quot;: [
2173 True or False,
2174 ],
2175 },
2176 &quot;booleanValue&quot;: True or False,
2177 &quot;doubleArray&quot;: {
2178 &quot;doubleValues&quot;: [
2179 3.14,
2180 ],
2181 },
2182 &quot;doubleValue&quot;: 3.14,
2183 &quot;intArray&quot;: {
2184 &quot;intValues&quot;: [
2185 &quot;A String&quot;,
2186 ],
2187 },
2188 &quot;intValue&quot;: &quot;A String&quot;,
2189 &quot;protoArray&quot;: {
2190 &quot;protoValues&quot;: [
2191 {
2192 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2193 },
2194 ],
2195 },
2196 &quot;protoValue&quot;: {
2197 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2198 },
2199 &quot;serializedObjectValue&quot;: {
2200 &quot;objectValue&quot;: &quot;A String&quot;,
2201 },
2202 &quot;stringArray&quot;: {
2203 &quot;stringValues&quot;: [
2204 &quot;A String&quot;,
2205 ],
2206 },
2207 &quot;stringValue&quot;: &quot;A String&quot;,
2208 },
2209 },
2210 ],
2211 },
2212 &quot;triggerCriteriaTaskImplementationClassName&quot;: &quot;A String&quot;, # Optional. Implementation class name. The class should implement the “TypedTask” interface.
2213 },
2214 &quot;triggerId&quot;: &quot;A String&quot;, # The backend trigger ID.
2215 &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.
2216 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the workflow on UI.
2217 &quot;triggerType&quot;: &quot;A String&quot;,
2218 },
2219 ],
2220 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
2221 &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.
2222 }</pre>
2223 </div>
2224
2225 <div class="method">
2226 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
2227 <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.
2228
2229 Args:
2230 name: string, Required. The version to delete. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version} (required)
2231 x__xgafv: string, V1 error format.
2232 Allowed values
2233 1 - v1 error format
2234 2 - v2 error format
2235
2236 Returns:
2237 An object of the form:
2238
2239 { # 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); }
2240 }</pre>
2241 </div>
2242
2243 <div class="method">
2244 <code class="details" id="download">download(name, fileFormat=None, files=None, x__xgafv=None)</code>
2245 <pre>Downloads an integration. Retrieves the `IntegrationVersion` for a given `integration_id` and returns the response as a string.
2246
2247 Args:
2248 name: string, Required. The version to download. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version} (required)
2249 fileFormat: string, File format for download request.
2250 Allowed values
2251 FILE_FORMAT_UNSPECIFIED - Unspecified file format
2252 JSON - JSON File Format
2253 YAML - YAML File Format
2254 files: string, Optional. Integration related file to download like Integration Json, Config variable, testcase etc. (repeated)
2255 Allowed values
2256 INTEGRATION_FILE_UNSPECIFIED - Default value.
2257 INTEGRATION - Integration file.
2258 INTEGRATION_CONFIG_VARIABLES - Integration Config variables.
2259 x__xgafv: string, V1 error format.
2260 Allowed values
2261 1 - v1 error format
2262 2 - v2 error format
2263
2264 Returns:
2265 An object of the form:
2266
2267 { # Response for DownloadIntegrationVersion.
2268 &quot;content&quot;: &quot;A String&quot;, # String representation of the requested file.
2269 &quot;files&quot;: [ # List containing String represendation for multiple file with type.
2270 { # To store string representation of Integration file.
2271 &quot;content&quot;: &quot;A String&quot;, # String representation of the file content.
2272 &quot;file&quot;: &quot;A String&quot;, # File information like Integration version, Integration Config variables etc.
2273 },
2274 ],
2275 }</pre>
2276 </div>
2277
2278 <div class="method">
2279 <code class="details" id="get">get(name, x__xgafv=None)</code>
2280 <pre>Get a integration in the specified project.
2281
2282 Args:
2283 name: string, Required. The version to retrieve. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version} (required)
2284 x__xgafv: string, V1 error format.
2285 Allowed values
2286 1 - v1 error format
2287 2 - v2 error format
2288
2289 Returns:
2290 An object of the form:
2291
2292 { # The integration version definition.
2293 &quot;cloudKmsKey&quot;: &quot;A String&quot;, # Optional. Cloud KMS resource name for the CMEK encryption key.
2294 &quot;cloudLoggingDetails&quot;: { # Cloud Logging details for execution info # Optional. Cloud Logging details for the integration version
2295 &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.
2296 &quot;enableCloudLogging&quot;: True or False, # Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.
2297 },
2298 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
2299 &quot;createdFromTemplate&quot;: &quot;A String&quot;, # Optional. Optional. The resource name of the template from which the integration is created.
2300 &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.
2301 &quot;description&quot;: &quot;A String&quot;, # Optional. The integration description.
2302 &quot;enableVariableMasking&quot;: True or False, # Optional. True if variable masking feature should be turned on for this version
2303 &quot;errorCatcherConfigs&quot;: [ # Optional. Error Catch Task configuration for the integration. It&#x27;s optional.
2304 { # Configuration detail of a error catch task
2305 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give more business context about the error catcher config.
2306 &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
2307 &quot;errorCatcherNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each error catcher config within the workflow on UI.
2308 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular error catcher. Optional.
2309 &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.
2310 &quot;x&quot;: 42, # Required. X axis of the coordinate
2311 &quot;y&quot;: 42, # Required. Y axis of the coordinate
2312 },
2313 &quot;startErrorTasks&quot;: [ # Required. The set of start tasks that are to be executed for the error catch flow
2314 { # The task that is next in line to be executed, if the condition specified evaluated to true.
2315 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
2316 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
2317 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
2318 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
2319 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
2320 },
2321 ],
2322 },
2323 ],
2324 &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.
2325 { # 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.
2326 &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.
2327 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
2328 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
2329 &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.
2330 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
2331 &quot;booleanValues&quot;: [ # Boolean array.
2332 True or False,
2333 ],
2334 },
2335 &quot;booleanValue&quot;: True or False, # Boolean.
2336 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
2337 &quot;doubleValues&quot;: [ # Double number array.
2338 3.14,
2339 ],
2340 },
2341 &quot;doubleValue&quot;: 3.14, # Double Number.
2342 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
2343 &quot;intValues&quot;: [ # Integer array.
2344 &quot;A String&quot;,
2345 ],
2346 },
2347 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
2348 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
2349 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
2350 &quot;stringValues&quot;: [ # String array.
2351 &quot;A String&quot;,
2352 ],
2353 },
2354 &quot;stringValue&quot;: &quot;A String&quot;, # String.
2355 },
2356 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
2357 &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;.
2358 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
2359 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
2360 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
2361 &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.
2362 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
2363 &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.
2364 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
2365 },
2366 &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.
2367 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
2368 &quot;booleanValues&quot;: [ # Boolean array.
2369 True or False,
2370 ],
2371 },
2372 &quot;booleanValue&quot;: True or False, # Boolean.
2373 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
2374 &quot;doubleValues&quot;: [ # Double number array.
2375 3.14,
2376 ],
2377 },
2378 &quot;doubleValue&quot;: 3.14, # Double Number.
2379 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
2380 &quot;intValues&quot;: [ # Integer array.
2381 &quot;A String&quot;,
2382 ],
2383 },
2384 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
2385 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
2386 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
2387 &quot;stringValues&quot;: [ # String array.
2388 &quot;A String&quot;,
2389 ],
2390 },
2391 &quot;stringValue&quot;: &quot;A String&quot;, # String.
2392 },
2393 },
2394 ],
2395 &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.
2396 { # 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.
2397 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
2398 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
2399 &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.
2400 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
2401 &quot;booleanValues&quot;: [ # Boolean array.
2402 True or False,
2403 ],
2404 },
2405 &quot;booleanValue&quot;: True or False, # Boolean.
2406 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
2407 &quot;doubleValues&quot;: [ # Double number array.
2408 3.14,
2409 ],
2410 },
2411 &quot;doubleValue&quot;: 3.14, # Double Number.
2412 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
2413 &quot;intValues&quot;: [ # Integer array.
2414 &quot;A String&quot;,
2415 ],
2416 },
2417 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
2418 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
2419 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
2420 &quot;stringValues&quot;: [ # String array.
2421 &quot;A String&quot;,
2422 ],
2423 },
2424 &quot;stringValue&quot;: &quot;A String&quot;, # String.
2425 },
2426 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
2427 &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;.
2428 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
2429 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
2430 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
2431 &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.
2432 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
2433 &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.
2434 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
2435 },
2436 ],
2437 &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.
2438 &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.
2439 {
2440 &quot;attributes&quot;: { # Attributes are additional options that can be associated with each event property. For more information, see # Metadata information about the parameters.
2441 &quot;dataType&quot;: &quot;A String&quot;, # Things like URL, Email, Currency, Timestamp (rather than string, int64...)
2442 &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.
2443 &quot;booleanValue&quot;: True or False,
2444 &quot;doubleArray&quot;: {
2445 &quot;values&quot;: [
2446 3.14,
2447 ],
2448 },
2449 &quot;doubleValue&quot;: 3.14,
2450 &quot;intArray&quot;: {
2451 &quot;values&quot;: [
2452 &quot;A String&quot;,
2453 ],
2454 },
2455 &quot;intValue&quot;: &quot;A String&quot;,
2456 &quot;protoValue&quot;: {
2457 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2458 },
2459 &quot;stringArray&quot;: {
2460 &quot;values&quot;: [
2461 &quot;A String&quot;,
2462 ],
2463 },
2464 &quot;stringValue&quot;: &quot;A String&quot;,
2465 },
2466 &quot;isRequired&quot;: True or False, # Required for event execution. The validation will be done by the event bus when the event is triggered.
2467 &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.
2468 &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
2469 &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.
2470 &quot;seedPeriod&quot;: &quot;A String&quot;,
2471 &quot;seedScope&quot;: &quot;A String&quot;,
2472 },
2473 &quot;masked&quot;: True or False, # True if this workflow parameter should be masked in the logs
2474 &quot;readOnly&quot;: True or False, # Used to indicate if the ParameterEntry is a read only field or not.
2475 &quot;searchable&quot;: &quot;A String&quot;,
2476 &quot;taskVisibility&quot;: [ # List of tasks that can view this property, if empty then all.
2477 &quot;A String&quot;,
2478 ],
2479 },
2480 &quot;children&quot;: [ # Child parameters nested within this parameter. This field only applies to protobuf parameters
2481 # Object with schema name: EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
2482 ],
2483 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
2484 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
2485 &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.
2486 &quot;booleanArray&quot;: {
2487 &quot;booleanValues&quot;: [
2488 True or False,
2489 ],
2490 },
2491 &quot;booleanValue&quot;: True or False,
2492 &quot;doubleArray&quot;: {
2493 &quot;doubleValues&quot;: [
2494 3.14,
2495 ],
2496 },
2497 &quot;doubleValue&quot;: 3.14,
2498 &quot;intArray&quot;: {
2499 &quot;intValues&quot;: [
2500 &quot;A String&quot;,
2501 ],
2502 },
2503 &quot;intValue&quot;: &quot;A String&quot;,
2504 &quot;jsonValue&quot;: &quot;A String&quot;,
2505 &quot;protoArray&quot;: {
2506 &quot;protoValues&quot;: [
2507 {
2508 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2509 },
2510 ],
2511 },
2512 &quot;protoValue&quot;: {
2513 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2514 },
2515 &quot;serializedObjectValue&quot;: {
2516 &quot;objectValue&quot;: &quot;A String&quot;,
2517 },
2518 &quot;stringArray&quot;: {
2519 &quot;stringValues&quot;: [
2520 &quot;A String&quot;,
2521 ],
2522 },
2523 &quot;stringValue&quot;: &quot;A String&quot;,
2524 },
2525 &quot;description&quot;: &quot;A String&quot;, # Optional. The description about the parameter
2526 &quot;inOutType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
2527 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
2528 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
2529 &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.
2530 &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;.
2531 &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.
2532 &quot;elementIdentifier&quot;: &quot;A String&quot;, # Configuration of the edge.
2533 &quot;elementType&quot;: &quot;A String&quot;, # Destination node where the edge ends. It can only be a task config.
2534 },
2535 &quot;producer&quot;: &quot;A String&quot;,
2536 &quot;protoDefName&quot;: &quot;A String&quot;, # The name of the protobuf type if the parameter has a protobuf data type.
2537 &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;.
2538 &quot;required&quot;: True or False,
2539 },
2540 ],
2541 },
2542 &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.
2543 &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.
2544 &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
2545 &quot;origin&quot;: &quot;A String&quot;, # Optional. The origin that indicates where this integration is coming from.
2546 &quot;parentTemplateId&quot;: &quot;A String&quot;, # Optional. The id of the template which was used to create this integration_version.
2547 &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.
2548 &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.
2549 &quot;state&quot;: &quot;A String&quot;, # Output only. User should not set it as an input.
2550 &quot;status&quot;: &quot;A String&quot;, # Output only. Generated by eventbus. User should not set it as an input.
2551 &quot;taskConfigs&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
2552 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
2553 &quot;conditionalFailurePolicies&quot;: { # Conditional task failur retry strategies # Optional. The list of conditional failure policies that will be applied to the task in order.
2554 &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.
2555 &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.
2556 &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.
2557 &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.
2558 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
2559 },
2560 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
2561 { # 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).
2562 &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.
2563 &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.
2564 &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.
2565 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
2566 },
2567 ],
2568 },
2569 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
2570 &quot;displayName&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to this TaskConfig in the UI.
2571 &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
2572 &quot;externalTaskType&quot;: &quot;A String&quot;, # Optional. External task type of the task
2573 &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.).
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;jsonValidationOption&quot;: &quot;A String&quot;, # Optional. If set, overrides the option configured in the Task implementation class.
2580 &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.
2581 { # The task that is next in line to be executed, if the condition specified evaluated to true.
2582 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
2583 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
2584 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
2585 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
2586 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
2587 },
2588 ],
2589 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution of the next set of tasks for the current task.
2590 &quot;parameters&quot;: { # Optional. The customized parameters the user can pass to this task.
2591 &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
2592 &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.
2593 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
2594 &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.
2595 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
2596 &quot;booleanValues&quot;: [ # Boolean array.
2597 True or False,
2598 ],
2599 },
2600 &quot;booleanValue&quot;: True or False, # Boolean.
2601 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
2602 &quot;doubleValues&quot;: [ # Double number array.
2603 3.14,
2604 ],
2605 },
2606 &quot;doubleValue&quot;: 3.14, # Double Number.
2607 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
2608 &quot;intValues&quot;: [ # Integer array.
2609 &quot;A String&quot;,
2610 ],
2611 },
2612 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
2613 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
2614 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
2615 &quot;stringValues&quot;: [ # String array.
2616 &quot;A String&quot;,
2617 ],
2618 },
2619 &quot;stringValue&quot;: &quot;A String&quot;, # String.
2620 },
2621 },
2622 },
2623 &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.
2624 &quot;x&quot;: 42, # Required. X axis of the coordinate
2625 &quot;y&quot;: 42, # Required. Y axis of the coordinate
2626 },
2627 &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.
2628 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
2629 },
2630 &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).
2631 &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.
2632 &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.
2633 &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.
2634 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
2635 },
2636 &quot;task&quot;: &quot;A String&quot;, # Optional. The name for the task.
2637 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution strategy of this task.
2638 &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`).
2639 &quot;taskTemplate&quot;: &quot;A String&quot;, # Optional. Used to define task-template name if task is of type task-template
2640 },
2641 ],
2642 &quot;taskConfigsInternal&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
2643 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
2644 &quot;alertConfigs&quot;: [ # Alert configurations on error rate, warning rate, number of runs, durations, etc.
2645 { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event.
2646 &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).
2647 &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.
2648 &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.
2649 &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.
2650 &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.
2651 &quot;errorEnumList&quot;: { # List of error enums for alerts.
2652 &quot;enumStrings&quot;: [
2653 &quot;A String&quot;,
2654 ],
2655 &quot;filterType&quot;: &quot;A String&quot;,
2656 },
2657 &quot;metricType&quot;: &quot;A String&quot;,
2658 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
2659 &quot;onlyFinalAttempt&quot;: True or False, # Only count final task attempts, not retries.
2660 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
2661 &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.
2662 &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.
2663 &quot;absolute&quot;: &quot;A String&quot;,
2664 &quot;percentage&quot;: 42,
2665 },
2666 &quot;warningEnumList&quot;: { # List of error enums for alerts.
2667 &quot;enumStrings&quot;: [
2668 &quot;A String&quot;,
2669 ],
2670 &quot;filterType&quot;: &quot;A String&quot;,
2671 },
2672 },
2673 ],
2674 &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).
2675 &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
2676 &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.
2677 &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.
2678 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
2679 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
2680 },
2681 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
2682 { # 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).
2683 &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.
2684 &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.
2685 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
2686 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
2687 },
2688 ],
2689 },
2690 &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
2691 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address. Auto-generated from the user&#x27;s email.
2692 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
2693 &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.
2694 &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
2695 &quot;externalTaskType&quot;: &quot;A String&quot;,
2696 &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.).
2697 &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.
2698 &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.
2699 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
2700 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
2701 },
2702 &quot;incomingEdgeCount&quot;: 42, # The number of edges leading into this TaskConfig.
2703 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # If set, overrides the option configured in the Task implementation class.
2704 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this TaskConfig in the UI.
2705 &quot;lastModifiedTime&quot;: &quot;A String&quot;, # Auto-generated.
2706 &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.
2707 { # The task that is next in line to be executed, if the condition specified evaluated to true.
2708 &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`
2709 { # This message recursively combines constituent conditions using logical AND.
2710 &quot;conditions&quot;: [ # A set of individual constituent conditions.
2711 { # Condition that uses `operator` to evaluate the key against the value.
2712 &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.
2713 &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.
2714 &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.
2715 &quot;booleanValue&quot;: True or False,
2716 &quot;doubleArray&quot;: {
2717 &quot;values&quot;: [
2718 3.14,
2719 ],
2720 },
2721 &quot;doubleValue&quot;: 3.14,
2722 &quot;intArray&quot;: {
2723 &quot;values&quot;: [
2724 &quot;A String&quot;,
2725 ],
2726 },
2727 &quot;intValue&quot;: &quot;A String&quot;,
2728 &quot;protoValue&quot;: {
2729 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2730 },
2731 &quot;stringArray&quot;: {
2732 &quot;values&quot;: [
2733 &quot;A String&quot;,
2734 ],
2735 },
2736 &quot;stringValue&quot;: &quot;A String&quot;,
2737 },
2738 },
2739 ],
2740 },
2741 ],
2742 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
2743 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
2744 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
2745 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
2746 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
2747 },
2748 ],
2749 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # The policy dictating the execution of the next set of tasks for the current task.
2750 &quot;parameters&quot;: { # The customized parameters the user can pass to this task.
2751 &quot;a_key&quot;: { # Key-value pair of EventBus parameters.
2752 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
2753 &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.
2754 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
2755 &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.
2756 &quot;booleanArray&quot;: {
2757 &quot;booleanValues&quot;: [
2758 True or False,
2759 ],
2760 },
2761 &quot;booleanValue&quot;: True or False,
2762 &quot;doubleArray&quot;: {
2763 &quot;doubleValues&quot;: [
2764 3.14,
2765 ],
2766 },
2767 &quot;doubleValue&quot;: 3.14,
2768 &quot;intArray&quot;: {
2769 &quot;intValues&quot;: [
2770 &quot;A String&quot;,
2771 ],
2772 },
2773 &quot;intValue&quot;: &quot;A String&quot;,
2774 &quot;jsonValue&quot;: &quot;A String&quot;,
2775 &quot;protoArray&quot;: {
2776 &quot;protoValues&quot;: [
2777 {
2778 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2779 },
2780 ],
2781 },
2782 &quot;protoValue&quot;: {
2783 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2784 },
2785 &quot;serializedObjectValue&quot;: {
2786 &quot;objectValue&quot;: &quot;A String&quot;,
2787 },
2788 &quot;stringArray&quot;: {
2789 &quot;stringValues&quot;: [
2790 &quot;A String&quot;,
2791 ],
2792 },
2793 &quot;stringValue&quot;: &quot;A String&quot;,
2794 },
2795 },
2796 },
2797 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this task config on the UI.
2798 &quot;x&quot;: 42,
2799 &quot;y&quot;: 42,
2800 },
2801 &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.
2802 &quot;preconditionLabel&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to precondition in the UI.
2803 &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).
2804 &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.
2805 &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.
2806 { # Key-value pair of EventBus parameters.
2807 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
2808 &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.
2809 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
2810 &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.
2811 &quot;booleanArray&quot;: {
2812 &quot;booleanValues&quot;: [
2813 True or False,
2814 ],
2815 },
2816 &quot;booleanValue&quot;: True or False,
2817 &quot;doubleArray&quot;: {
2818 &quot;doubleValues&quot;: [
2819 3.14,
2820 ],
2821 },
2822 &quot;doubleValue&quot;: 3.14,
2823 &quot;intArray&quot;: {
2824 &quot;intValues&quot;: [
2825 &quot;A String&quot;,
2826 ],
2827 },
2828 &quot;intValue&quot;: &quot;A String&quot;,
2829 &quot;jsonValue&quot;: &quot;A String&quot;,
2830 &quot;protoArray&quot;: {
2831 &quot;protoValues&quot;: [
2832 {
2833 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2834 },
2835 ],
2836 },
2837 &quot;protoValue&quot;: {
2838 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2839 },
2840 &quot;serializedObjectValue&quot;: {
2841 &quot;objectValue&quot;: &quot;A String&quot;,
2842 },
2843 &quot;stringArray&quot;: {
2844 &quot;stringValues&quot;: [
2845 &quot;A String&quot;,
2846 ],
2847 },
2848 &quot;stringValue&quot;: &quot;A String&quot;,
2849 },
2850 },
2851 ],
2852 },
2853 &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.
2854 &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.
2855 &quot;A String&quot;,
2856 ],
2857 },
2858 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Determines what action to take upon successful task completion.
2859 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
2860 },
2861 &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).
2862 &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.
2863 &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.
2864 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
2865 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
2866 },
2867 &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.
2868 &quot;disabledForVpcSc&quot;: True or False, # True if the task has conflict with vpcsc
2869 &quot;metadata&quot;: { # TaskMetadata are attributes that are associated to every common Task we have. # Metadata inclueds the task name, author and so on.
2870 &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.
2871 &quot;admins&quot;: [
2872 { # 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.
2873 &quot;googleGroupEmail&quot;: &quot;A String&quot;,
2874 &quot;userEmail&quot;: &quot;A String&quot;,
2875 },
2876 ],
2877 &quot;category&quot;: &quot;A String&quot;,
2878 &quot;codeSearchLink&quot;: &quot;A String&quot;, # The Code Search link to the Task Java file.
2879 &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.
2880 &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.
2881 &quot;description&quot;: &quot;A String&quot;, # In a few sentences, describe the purpose and usage of the task.
2882 &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;)
2883 &quot;docMarkdown&quot;: &quot;A String&quot;, # Snippet of markdown documentation to embed in the RHP for this task.
2884 &quot;externalCategory&quot;: &quot;A String&quot;,
2885 &quot;externalCategorySequence&quot;: 42, # Sequence with which the task in specific category to be displayed in task discovery panel for external users.
2886 &quot;externalDocHtml&quot;: &quot;A String&quot;, # External-facing documention embedded in the RHP for this task.
2887 &quot;externalDocLink&quot;: &quot;A String&quot;, # Doc link for external-facing documentation (separate from g3doc).
2888 &quot;externalDocMarkdown&quot;: &quot;A String&quot;, # DEPRECATED: Use external_doc_html.
2889 &quot;g3DocLink&quot;: &quot;A String&quot;, # URL to the associated G3 Doc for the task if available
2890 &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.
2891 &quot;isDeprecated&quot;: True or False, # The deprecation status of the current task. Default value is false;
2892 &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.
2893 &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
2894 &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.
2895 &quot;system&quot;: &quot;A String&quot;,
2896 &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.
2897 &quot;A String&quot;,
2898 ],
2899 },
2900 &quot;paramSpecs&quot;: { # Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask.
2901 &quot;parameters&quot;: [
2902 { # Key-value pair of EventBus task parameters. Next id: 13
2903 &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.
2904 &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.
2905 &quot;config&quot;: { # Optional fields, such as help text and other useful info.
2906 &quot;descriptivePhrase&quot;: &quot;A String&quot;, # A short phrase to describe what this parameter contains.
2907 &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.
2908 &quot;hideDefaultValue&quot;: True or False, # Whether the default value is hidden in the UI.
2909 &quot;inputDisplayOption&quot;: &quot;A String&quot;,
2910 &quot;isHidden&quot;: True or False, # Whether this field is hidden in the UI.
2911 &quot;label&quot;: &quot;A String&quot;, # A user-friendly label for the parameter.
2912 &quot;parameterNameOption&quot;: &quot;A String&quot;,
2913 &quot;subSectionLabel&quot;: &quot;A String&quot;, # A user-friendly label for subSection under which the parameter will be displayed.
2914 &quot;uiPlaceholderText&quot;: &quot;A String&quot;, # Placeholder text which will appear in the UI input form for this parameter.
2915 },
2916 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
2917 &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.
2918 &quot;booleanArray&quot;: {
2919 &quot;booleanValues&quot;: [
2920 True or False,
2921 ],
2922 },
2923 &quot;booleanValue&quot;: True or False,
2924 &quot;doubleArray&quot;: {
2925 &quot;doubleValues&quot;: [
2926 3.14,
2927 ],
2928 },
2929 &quot;doubleValue&quot;: 3.14,
2930 &quot;intArray&quot;: {
2931 &quot;intValues&quot;: [
2932 &quot;A String&quot;,
2933 ],
2934 },
2935 &quot;intValue&quot;: &quot;A String&quot;,
2936 &quot;jsonValue&quot;: &quot;A String&quot;,
2937 &quot;protoArray&quot;: {
2938 &quot;protoValues&quot;: [
2939 {
2940 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2941 },
2942 ],
2943 },
2944 &quot;protoValue&quot;: {
2945 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2946 },
2947 &quot;serializedObjectValue&quot;: {
2948 &quot;objectValue&quot;: &quot;A String&quot;,
2949 },
2950 &quot;stringArray&quot;: {
2951 &quot;stringValues&quot;: [
2952 &quot;A String&quot;,
2953 ],
2954 },
2955 &quot;stringValue&quot;: &quot;A String&quot;,
2956 },
2957 &quot;isDeprecated&quot;: True or False, # If set, this entry is deprecated, so further use of this parameter should be prohibited.
2958 &quot;isOutput&quot;: True or False,
2959 &quot;jsonSchema&quot;: &quot;A String&quot;, # If the data_type is JSON_VALUE, then this will define its schema.
2960 &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.
2961 &quot;protoDef&quot;: { # Populated if this represents a proto or proto array.
2962 &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;.
2963 &quot;path&quot;: &quot;A String&quot;, # Path to the proto file that contains the message type&#x27;s definition.
2964 },
2965 &quot;required&quot;: True or False, # If set, the user must provide an input value for this parameter.
2966 &quot;validationRule&quot;: { # Rule used to validate inputs (individual values and collection elements) for this parameter.
2967 &quot;doubleRange&quot;: { # Range used to validate doubles and floats.
2968 &quot;max&quot;: 3.14, # The inclusive maximum of the acceptable range.
2969 &quot;min&quot;: 3.14, # The inclusive minimum of the acceptable range.
2970 },
2971 &quot;intRange&quot;: { # Range used to validate longs and ints.
2972 &quot;max&quot;: &quot;A String&quot;, # The inclusive maximum of the acceptable range.
2973 &quot;min&quot;: &quot;A String&quot;, # The inclusive minimum of the acceptable range.
2974 },
2975 &quot;stringRegex&quot;: { # Rule used to validate strings.
2976 &quot;exclusive&quot;: True or False, # Whether the regex matcher is applied exclusively (if true, matching values will be rejected).
2977 &quot;regex&quot;: &quot;A String&quot;, # The regex applied to the input value(s).
2978 },
2979 },
2980 },
2981 ],
2982 },
2983 &quot;stats&quot;: { # Stats for the requested dimensions: QPS, duration, and error/warning rate # Deprecated - statistics from the Monarch query.
2984 &quot;dimensions&quot;: { # Dimensions that these stats have been aggregated on.
2985 &quot;clientId&quot;: &quot;A String&quot;,
2986 &quot;enumFilterType&quot;: &quot;A String&quot;, # Whether to include or exclude the enums matching the regex.
2987 &quot;errorEnumString&quot;: &quot;A String&quot;,
2988 &quot;retryAttempt&quot;: &quot;A String&quot;,
2989 &quot;taskName&quot;: &quot;A String&quot;,
2990 &quot;taskNumber&quot;: &quot;A String&quot;,
2991 &quot;triggerId&quot;: &quot;A String&quot;, # Stats have been or will be aggregated on set fields for any semantically-meaningful combination.
2992 &quot;warningEnumString&quot;: &quot;A String&quot;,
2993 &quot;workflowId&quot;: &quot;A String&quot;,
2994 &quot;workflowName&quot;: &quot;A String&quot;,
2995 },
2996 &quot;durationInSeconds&quot;: 3.14, # Average duration in seconds.
2997 &quot;errorRate&quot;: 3.14, # Average error rate.
2998 &quot;qps&quot;: 3.14, # Queries per second.
2999 &quot;warningRate&quot;: 3.14, # Average warning rate.
3000 },
3001 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
3002 &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.
3003 &quot;taskUiModuleConfigs&quot;: [ # Configurations of included config modules.
3004 { # Task author would use this type to configure a config module.
3005 &quot;moduleId&quot;: &quot;A String&quot;, # ID of the config module.
3006 },
3007 ],
3008 },
3009 },
3010 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # The policy dictating the execution strategy of this task.
3011 &quot;taskName&quot;: &quot;A String&quot;, # The name for the task.
3012 &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`).
3013 &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.
3014 &quot;taskTemplateName&quot;: &quot;A String&quot;, # Used to define task-template name if task is of type task-template
3015 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
3016 },
3017 ],
3018 &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.
3019 &quot;teardownTaskConfigs&quot;: [ # Required.
3020 {
3021 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address.
3022 &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.
3023 &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).
3024 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the next teardown task.
3025 },
3026 &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.
3027 &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.
3028 { # Key-value pair of EventBus parameters.
3029 &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.
3030 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
3031 &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.
3032 &quot;booleanArray&quot;: {
3033 &quot;booleanValues&quot;: [
3034 True or False,
3035 ],
3036 },
3037 &quot;booleanValue&quot;: True or False,
3038 &quot;doubleArray&quot;: {
3039 &quot;doubleValues&quot;: [
3040 3.14,
3041 ],
3042 },
3043 &quot;doubleValue&quot;: 3.14,
3044 &quot;intArray&quot;: {
3045 &quot;intValues&quot;: [
3046 &quot;A String&quot;,
3047 ],
3048 },
3049 &quot;intValue&quot;: &quot;A String&quot;,
3050 &quot;protoArray&quot;: {
3051 &quot;protoValues&quot;: [
3052 {
3053 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3054 },
3055 ],
3056 },
3057 &quot;protoValue&quot;: {
3058 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3059 },
3060 &quot;serializedObjectValue&quot;: {
3061 &quot;objectValue&quot;: &quot;A String&quot;,
3062 },
3063 &quot;stringArray&quot;: {
3064 &quot;stringValues&quot;: [
3065 &quot;A String&quot;,
3066 ],
3067 },
3068 &quot;stringValue&quot;: &quot;A String&quot;,
3069 },
3070 },
3071 ],
3072 },
3073 &quot;properties&quot;: { # LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus.
3074 &quot;properties&quot;: [ # An unordered list of property entries.
3075 { # Key-value pair of EventBus property.
3076 &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.
3077 &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.
3078 &quot;booleanValue&quot;: True or False,
3079 &quot;doubleArray&quot;: {
3080 &quot;values&quot;: [
3081 3.14,
3082 ],
3083 },
3084 &quot;doubleValue&quot;: 3.14,
3085 &quot;intArray&quot;: {
3086 &quot;values&quot;: [
3087 &quot;A String&quot;,
3088 ],
3089 },
3090 &quot;intValue&quot;: &quot;A String&quot;,
3091 &quot;protoValue&quot;: {
3092 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3093 },
3094 &quot;stringArray&quot;: {
3095 &quot;values&quot;: [
3096 &quot;A String&quot;,
3097 ],
3098 },
3099 &quot;stringValue&quot;: &quot;A String&quot;,
3100 },
3101 },
3102 ],
3103 },
3104 &quot;teardownTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. Implementation class name.
3105 },
3106 ],
3107 },
3108 &quot;triggerConfigs&quot;: [ # Optional. Trigger configurations.
3109 { # Configuration detail of a trigger.
3110 &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.
3111 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
3112 &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.
3113 &quot;alertThreshold&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
3114 &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.
3115 &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.
3116 &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.
3117 &quot;metricType&quot;: &quot;A String&quot;, # The type of metric.
3118 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
3119 &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.
3120 &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.
3121 &quot;absolute&quot;: &quot;A String&quot;, # Absolute value threshold.
3122 &quot;percentage&quot;: 42, # Percentage threshold.
3123 },
3124 },
3125 ],
3126 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration # Optional. Cloud Scheduler Trigger related metadata
3127 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
3128 &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
3129 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
3130 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
3131 },
3132 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
3133 &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
3134 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
3135 &quot;names&quot;: [ # Optional. List of variable names.
3136 &quot;A String&quot;,
3137 ],
3138 },
3139 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular trigger.
3140 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. Dictates how next tasks will be executed.
3141 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
3142 &quot;names&quot;: [ # Optional. List of variable names.
3143 &quot;A String&quot;,
3144 ],
3145 },
3146 &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.
3147 &quot;x&quot;: 42, # Required. X axis of the coordinate
3148 &quot;y&quot;: 42, # Required. Y axis of the coordinate
3149 },
3150 &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.
3151 &quot;a_key&quot;: &quot;A String&quot;,
3152 },
3153 &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).
3154 { # The task that is next in line to be executed, if the condition specified evaluated to true.
3155 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
3156 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
3157 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
3158 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
3159 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
3160 },
3161 ],
3162 &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.
3163 &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}
3164 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the integration on UI.
3165 &quot;triggerType&quot;: &quot;A String&quot;, # Optional. Type of trigger
3166 },
3167 ],
3168 &quot;triggerConfigsInternal&quot;: [ # Optional. Trigger configurations.
3169 { # Configuration detail of a trigger. Next available id: 22
3170 &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.
3171 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
3172 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
3173 &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.
3174 &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.
3175 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration.
3176 &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.
3177 &quot;errorEnumList&quot;: { # List of error enums for alerts.
3178 &quot;enumStrings&quot;: [
3179 &quot;A String&quot;,
3180 ],
3181 &quot;filterType&quot;: &quot;A String&quot;,
3182 },
3183 &quot;metricType&quot;: &quot;A String&quot;,
3184 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
3185 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
3186 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
3187 &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.
3188 &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.
3189 &quot;absolute&quot;: &quot;A String&quot;,
3190 &quot;percentage&quot;: 42,
3191 },
3192 &quot;warningEnumList&quot;: { # List of error enums for alerts.
3193 &quot;enumStrings&quot;: [
3194 &quot;A String&quot;,
3195 ],
3196 &quot;filterType&quot;: &quot;A String&quot;,
3197 },
3198 },
3199 ],
3200 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration
3201 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
3202 &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
3203 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
3204 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
3205 },
3206 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
3207 &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.
3208 &quot;A String&quot;,
3209 ],
3210 &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
3211 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
3212 &quot;names&quot;: [ # Optional. List of variable names.
3213 &quot;A String&quot;,
3214 ],
3215 },
3216 &quot;label&quot;: &quot;A String&quot;, # The user created label for a particular trigger.
3217 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Dictates how next tasks will be executed.
3218 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
3219 &quot;names&quot;: [ # Optional. List of variable names.
3220 &quot;A String&quot;,
3221 ],
3222 },
3223 &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.
3224 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this trigger config on the UI.
3225 &quot;x&quot;: 42,
3226 &quot;y&quot;: 42,
3227 },
3228 &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.
3229 &quot;a_key&quot;: &quot;A String&quot;,
3230 },
3231 &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).
3232 { # The task that is next in line to be executed, if the condition specified evaluated to true.
3233 &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`
3234 { # This message recursively combines constituent conditions using logical AND.
3235 &quot;conditions&quot;: [ # A set of individual constituent conditions.
3236 { # Condition that uses `operator` to evaluate the key against the value.
3237 &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.
3238 &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.
3239 &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.
3240 &quot;booleanValue&quot;: True or False,
3241 &quot;doubleArray&quot;: {
3242 &quot;values&quot;: [
3243 3.14,
3244 ],
3245 },
3246 &quot;doubleValue&quot;: 3.14,
3247 &quot;intArray&quot;: {
3248 &quot;values&quot;: [
3249 &quot;A String&quot;,
3250 ],
3251 },
3252 &quot;intValue&quot;: &quot;A String&quot;,
3253 &quot;protoValue&quot;: {
3254 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3255 },
3256 &quot;stringArray&quot;: {
3257 &quot;values&quot;: [
3258 &quot;A String&quot;,
3259 ],
3260 },
3261 &quot;stringValue&quot;: &quot;A String&quot;,
3262 },
3263 },
3264 ],
3265 },
3266 ],
3267 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
3268 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
3269 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
3270 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
3271 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
3272 },
3273 ],
3274 &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.
3275 &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.
3276 &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.
3277 &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.
3278 { # Key-value pair of EventBus parameters.
3279 &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.
3280 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
3281 &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.
3282 &quot;booleanArray&quot;: {
3283 &quot;booleanValues&quot;: [
3284 True or False,
3285 ],
3286 },
3287 &quot;booleanValue&quot;: True or False,
3288 &quot;doubleArray&quot;: {
3289 &quot;doubleValues&quot;: [
3290 3.14,
3291 ],
3292 },
3293 &quot;doubleValue&quot;: 3.14,
3294 &quot;intArray&quot;: {
3295 &quot;intValues&quot;: [
3296 &quot;A String&quot;,
3297 ],
3298 },
3299 &quot;intValue&quot;: &quot;A String&quot;,
3300 &quot;protoArray&quot;: {
3301 &quot;protoValues&quot;: [
3302 {
3303 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3304 },
3305 ],
3306 },
3307 &quot;protoValue&quot;: {
3308 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3309 },
3310 &quot;serializedObjectValue&quot;: {
3311 &quot;objectValue&quot;: &quot;A String&quot;,
3312 },
3313 &quot;stringArray&quot;: {
3314 &quot;stringValues&quot;: [
3315 &quot;A String&quot;,
3316 ],
3317 },
3318 &quot;stringValue&quot;: &quot;A String&quot;,
3319 },
3320 },
3321 ],
3322 },
3323 &quot;triggerCriteriaTaskImplementationClassName&quot;: &quot;A String&quot;, # Optional. Implementation class name. The class should implement the “TypedTask” interface.
3324 },
3325 &quot;triggerId&quot;: &quot;A String&quot;, # The backend trigger ID.
3326 &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.
3327 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the workflow on UI.
3328 &quot;triggerType&quot;: &quot;A String&quot;,
3329 },
3330 ],
3331 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
3332 &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.
3333 }</pre>
3334 </div>
3335
3336 <div class="method">
3337 <code class="details" id="list">list(parent, fieldMask=None, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
3338 <pre>Returns the list of all integration versions in the specified project.
3339
3340 Args:
3341 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)
3342 fieldMask: string, The field mask which specifies the particular data to be returned.
3343 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`.
3344 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`.
3345 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.
3346 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.
3347 x__xgafv: string, V1 error format.
3348 Allowed values
3349 1 - v1 error format
3350 2 - v2 error format
3351
3352 Returns:
3353 An object of the form:
3354
3355 { # Response for ListIntegrationVersions.
3356 &quot;integrationVersions&quot;: [ # The integrations which match the request.
3357 { # The integration version definition.
3358 &quot;cloudKmsKey&quot;: &quot;A String&quot;, # Optional. Cloud KMS resource name for the CMEK encryption key.
3359 &quot;cloudLoggingDetails&quot;: { # Cloud Logging details for execution info # Optional. Cloud Logging details for the integration version
3360 &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.
3361 &quot;enableCloudLogging&quot;: True or False, # Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.
3362 },
3363 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
3364 &quot;createdFromTemplate&quot;: &quot;A String&quot;, # Optional. Optional. The resource name of the template from which the integration is created.
3365 &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.
3366 &quot;description&quot;: &quot;A String&quot;, # Optional. The integration description.
3367 &quot;enableVariableMasking&quot;: True or False, # Optional. True if variable masking feature should be turned on for this version
3368 &quot;errorCatcherConfigs&quot;: [ # Optional. Error Catch Task configuration for the integration. It&#x27;s optional.
3369 { # Configuration detail of a error catch task
3370 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give more business context about the error catcher config.
3371 &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
3372 &quot;errorCatcherNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each error catcher config within the workflow on UI.
3373 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular error catcher. Optional.
3374 &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.
3375 &quot;x&quot;: 42, # Required. X axis of the coordinate
3376 &quot;y&quot;: 42, # Required. Y axis of the coordinate
3377 },
3378 &quot;startErrorTasks&quot;: [ # Required. The set of start tasks that are to be executed for the error catch flow
3379 { # The task that is next in line to be executed, if the condition specified evaluated to true.
3380 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
3381 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
3382 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
3383 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
3384 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
3385 },
3386 ],
3387 },
3388 ],
3389 &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.
3390 { # 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.
3391 &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.
3392 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
3393 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
3394 &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.
3395 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
3396 &quot;booleanValues&quot;: [ # Boolean array.
3397 True or False,
3398 ],
3399 },
3400 &quot;booleanValue&quot;: True or False, # Boolean.
3401 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
3402 &quot;doubleValues&quot;: [ # Double number array.
3403 3.14,
3404 ],
3405 },
3406 &quot;doubleValue&quot;: 3.14, # Double Number.
3407 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
3408 &quot;intValues&quot;: [ # Integer array.
3409 &quot;A String&quot;,
3410 ],
3411 },
3412 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
3413 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
3414 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
3415 &quot;stringValues&quot;: [ # String array.
3416 &quot;A String&quot;,
3417 ],
3418 },
3419 &quot;stringValue&quot;: &quot;A String&quot;, # String.
3420 },
3421 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
3422 &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;.
3423 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
3424 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
3425 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
3426 &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.
3427 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
3428 &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.
3429 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
3430 },
3431 &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.
3432 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
3433 &quot;booleanValues&quot;: [ # Boolean array.
3434 True or False,
3435 ],
3436 },
3437 &quot;booleanValue&quot;: True or False, # Boolean.
3438 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
3439 &quot;doubleValues&quot;: [ # Double number array.
3440 3.14,
3441 ],
3442 },
3443 &quot;doubleValue&quot;: 3.14, # Double Number.
3444 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
3445 &quot;intValues&quot;: [ # Integer array.
3446 &quot;A String&quot;,
3447 ],
3448 },
3449 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
3450 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
3451 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
3452 &quot;stringValues&quot;: [ # String array.
3453 &quot;A String&quot;,
3454 ],
3455 },
3456 &quot;stringValue&quot;: &quot;A String&quot;, # String.
3457 },
3458 },
3459 ],
3460 &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.
3461 { # 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.
3462 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
3463 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
3464 &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.
3465 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
3466 &quot;booleanValues&quot;: [ # Boolean array.
3467 True or False,
3468 ],
3469 },
3470 &quot;booleanValue&quot;: True or False, # Boolean.
3471 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
3472 &quot;doubleValues&quot;: [ # Double number array.
3473 3.14,
3474 ],
3475 },
3476 &quot;doubleValue&quot;: 3.14, # Double Number.
3477 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
3478 &quot;intValues&quot;: [ # Integer array.
3479 &quot;A String&quot;,
3480 ],
3481 },
3482 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
3483 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
3484 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
3485 &quot;stringValues&quot;: [ # String array.
3486 &quot;A String&quot;,
3487 ],
3488 },
3489 &quot;stringValue&quot;: &quot;A String&quot;, # String.
3490 },
3491 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
3492 &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;.
3493 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
3494 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
3495 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
3496 &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.
3497 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
3498 &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.
3499 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
3500 },
3501 ],
3502 &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.
3503 &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.
3504 {
3505 &quot;attributes&quot;: { # Attributes are additional options that can be associated with each event property. For more information, see # Metadata information about the parameters.
3506 &quot;dataType&quot;: &quot;A String&quot;, # Things like URL, Email, Currency, Timestamp (rather than string, int64...)
3507 &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.
3508 &quot;booleanValue&quot;: True or False,
3509 &quot;doubleArray&quot;: {
3510 &quot;values&quot;: [
3511 3.14,
3512 ],
3513 },
3514 &quot;doubleValue&quot;: 3.14,
3515 &quot;intArray&quot;: {
3516 &quot;values&quot;: [
3517 &quot;A String&quot;,
3518 ],
3519 },
3520 &quot;intValue&quot;: &quot;A String&quot;,
3521 &quot;protoValue&quot;: {
3522 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3523 },
3524 &quot;stringArray&quot;: {
3525 &quot;values&quot;: [
3526 &quot;A String&quot;,
3527 ],
3528 },
3529 &quot;stringValue&quot;: &quot;A String&quot;,
3530 },
3531 &quot;isRequired&quot;: True or False, # Required for event execution. The validation will be done by the event bus when the event is triggered.
3532 &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.
3533 &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
3534 &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.
3535 &quot;seedPeriod&quot;: &quot;A String&quot;,
3536 &quot;seedScope&quot;: &quot;A String&quot;,
3537 },
3538 &quot;masked&quot;: True or False, # True if this workflow parameter should be masked in the logs
3539 &quot;readOnly&quot;: True or False, # Used to indicate if the ParameterEntry is a read only field or not.
3540 &quot;searchable&quot;: &quot;A String&quot;,
3541 &quot;taskVisibility&quot;: [ # List of tasks that can view this property, if empty then all.
3542 &quot;A String&quot;,
3543 ],
3544 },
3545 &quot;children&quot;: [ # Child parameters nested within this parameter. This field only applies to protobuf parameters
3546 # Object with schema name: EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
3547 ],
3548 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
3549 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
3550 &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.
3551 &quot;booleanArray&quot;: {
3552 &quot;booleanValues&quot;: [
3553 True or False,
3554 ],
3555 },
3556 &quot;booleanValue&quot;: True or False,
3557 &quot;doubleArray&quot;: {
3558 &quot;doubleValues&quot;: [
3559 3.14,
3560 ],
3561 },
3562 &quot;doubleValue&quot;: 3.14,
3563 &quot;intArray&quot;: {
3564 &quot;intValues&quot;: [
3565 &quot;A String&quot;,
3566 ],
3567 },
3568 &quot;intValue&quot;: &quot;A String&quot;,
3569 &quot;jsonValue&quot;: &quot;A String&quot;,
3570 &quot;protoArray&quot;: {
3571 &quot;protoValues&quot;: [
3572 {
3573 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3574 },
3575 ],
3576 },
3577 &quot;protoValue&quot;: {
3578 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3579 },
3580 &quot;serializedObjectValue&quot;: {
3581 &quot;objectValue&quot;: &quot;A String&quot;,
3582 },
3583 &quot;stringArray&quot;: {
3584 &quot;stringValues&quot;: [
3585 &quot;A String&quot;,
3586 ],
3587 },
3588 &quot;stringValue&quot;: &quot;A String&quot;,
3589 },
3590 &quot;description&quot;: &quot;A String&quot;, # Optional. The description about the parameter
3591 &quot;inOutType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
3592 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
3593 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
3594 &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.
3595 &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;.
3596 &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.
3597 &quot;elementIdentifier&quot;: &quot;A String&quot;, # Configuration of the edge.
3598 &quot;elementType&quot;: &quot;A String&quot;, # Destination node where the edge ends. It can only be a task config.
3599 },
3600 &quot;producer&quot;: &quot;A String&quot;,
3601 &quot;protoDefName&quot;: &quot;A String&quot;, # The name of the protobuf type if the parameter has a protobuf data type.
3602 &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;.
3603 &quot;required&quot;: True or False,
3604 },
3605 ],
3606 },
3607 &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.
3608 &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.
3609 &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
3610 &quot;origin&quot;: &quot;A String&quot;, # Optional. The origin that indicates where this integration is coming from.
3611 &quot;parentTemplateId&quot;: &quot;A String&quot;, # Optional. The id of the template which was used to create this integration_version.
3612 &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.
3613 &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.
3614 &quot;state&quot;: &quot;A String&quot;, # Output only. User should not set it as an input.
3615 &quot;status&quot;: &quot;A String&quot;, # Output only. Generated by eventbus. User should not set it as an input.
3616 &quot;taskConfigs&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
3617 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
3618 &quot;conditionalFailurePolicies&quot;: { # Conditional task failur retry strategies # Optional. The list of conditional failure policies that will be applied to the task in order.
3619 &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.
3620 &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.
3621 &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.
3622 &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.
3623 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
3624 },
3625 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
3626 { # 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).
3627 &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.
3628 &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.
3629 &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.
3630 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
3631 },
3632 ],
3633 },
3634 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
3635 &quot;displayName&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to this TaskConfig in the UI.
3636 &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
3637 &quot;externalTaskType&quot;: &quot;A String&quot;, # Optional. External task type of the task
3638 &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.).
3639 &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.
3640 &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.
3641 &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.
3642 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
3643 },
3644 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # Optional. If set, overrides the option configured in the Task implementation class.
3645 &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.
3646 { # The task that is next in line to be executed, if the condition specified evaluated to true.
3647 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
3648 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
3649 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
3650 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
3651 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
3652 },
3653 ],
3654 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution of the next set of tasks for the current task.
3655 &quot;parameters&quot;: { # Optional. The customized parameters the user can pass to this task.
3656 &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
3657 &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.
3658 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
3659 &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.
3660 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
3661 &quot;booleanValues&quot;: [ # Boolean array.
3662 True or False,
3663 ],
3664 },
3665 &quot;booleanValue&quot;: True or False, # Boolean.
3666 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
3667 &quot;doubleValues&quot;: [ # Double number array.
3668 3.14,
3669 ],
3670 },
3671 &quot;doubleValue&quot;: 3.14, # Double Number.
3672 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
3673 &quot;intValues&quot;: [ # Integer array.
3674 &quot;A String&quot;,
3675 ],
3676 },
3677 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
3678 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
3679 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
3680 &quot;stringValues&quot;: [ # String array.
3681 &quot;A String&quot;,
3682 ],
3683 },
3684 &quot;stringValue&quot;: &quot;A String&quot;, # String.
3685 },
3686 },
3687 },
3688 &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.
3689 &quot;x&quot;: 42, # Required. X axis of the coordinate
3690 &quot;y&quot;: 42, # Required. Y axis of the coordinate
3691 },
3692 &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.
3693 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
3694 },
3695 &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).
3696 &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.
3697 &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.
3698 &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.
3699 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
3700 },
3701 &quot;task&quot;: &quot;A String&quot;, # Optional. The name for the task.
3702 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution strategy of this task.
3703 &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`).
3704 &quot;taskTemplate&quot;: &quot;A String&quot;, # Optional. Used to define task-template name if task is of type task-template
3705 },
3706 ],
3707 &quot;taskConfigsInternal&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
3708 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
3709 &quot;alertConfigs&quot;: [ # Alert configurations on error rate, warning rate, number of runs, durations, etc.
3710 { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event.
3711 &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).
3712 &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.
3713 &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.
3714 &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.
3715 &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.
3716 &quot;errorEnumList&quot;: { # List of error enums for alerts.
3717 &quot;enumStrings&quot;: [
3718 &quot;A String&quot;,
3719 ],
3720 &quot;filterType&quot;: &quot;A String&quot;,
3721 },
3722 &quot;metricType&quot;: &quot;A String&quot;,
3723 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
3724 &quot;onlyFinalAttempt&quot;: True or False, # Only count final task attempts, not retries.
3725 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
3726 &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.
3727 &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.
3728 &quot;absolute&quot;: &quot;A String&quot;,
3729 &quot;percentage&quot;: 42,
3730 },
3731 &quot;warningEnumList&quot;: { # List of error enums for alerts.
3732 &quot;enumStrings&quot;: [
3733 &quot;A String&quot;,
3734 ],
3735 &quot;filterType&quot;: &quot;A String&quot;,
3736 },
3737 },
3738 ],
3739 &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).
3740 &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
3741 &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.
3742 &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.
3743 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
3744 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
3745 },
3746 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
3747 { # 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).
3748 &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.
3749 &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.
3750 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
3751 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
3752 },
3753 ],
3754 },
3755 &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
3756 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address. Auto-generated from the user&#x27;s email.
3757 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
3758 &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.
3759 &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
3760 &quot;externalTaskType&quot;: &quot;A String&quot;,
3761 &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.).
3762 &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.
3763 &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.
3764 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
3765 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
3766 },
3767 &quot;incomingEdgeCount&quot;: 42, # The number of edges leading into this TaskConfig.
3768 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # If set, overrides the option configured in the Task implementation class.
3769 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this TaskConfig in the UI.
3770 &quot;lastModifiedTime&quot;: &quot;A String&quot;, # Auto-generated.
3771 &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.
3772 { # The task that is next in line to be executed, if the condition specified evaluated to true.
3773 &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`
3774 { # This message recursively combines constituent conditions using logical AND.
3775 &quot;conditions&quot;: [ # A set of individual constituent conditions.
3776 { # Condition that uses `operator` to evaluate the key against the value.
3777 &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.
3778 &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.
3779 &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.
3780 &quot;booleanValue&quot;: True or False,
3781 &quot;doubleArray&quot;: {
3782 &quot;values&quot;: [
3783 3.14,
3784 ],
3785 },
3786 &quot;doubleValue&quot;: 3.14,
3787 &quot;intArray&quot;: {
3788 &quot;values&quot;: [
3789 &quot;A String&quot;,
3790 ],
3791 },
3792 &quot;intValue&quot;: &quot;A String&quot;,
3793 &quot;protoValue&quot;: {
3794 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3795 },
3796 &quot;stringArray&quot;: {
3797 &quot;values&quot;: [
3798 &quot;A String&quot;,
3799 ],
3800 },
3801 &quot;stringValue&quot;: &quot;A String&quot;,
3802 },
3803 },
3804 ],
3805 },
3806 ],
3807 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
3808 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
3809 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
3810 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
3811 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
3812 },
3813 ],
3814 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # The policy dictating the execution of the next set of tasks for the current task.
3815 &quot;parameters&quot;: { # The customized parameters the user can pass to this task.
3816 &quot;a_key&quot;: { # Key-value pair of EventBus parameters.
3817 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
3818 &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.
3819 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
3820 &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.
3821 &quot;booleanArray&quot;: {
3822 &quot;booleanValues&quot;: [
3823 True or False,
3824 ],
3825 },
3826 &quot;booleanValue&quot;: True or False,
3827 &quot;doubleArray&quot;: {
3828 &quot;doubleValues&quot;: [
3829 3.14,
3830 ],
3831 },
3832 &quot;doubleValue&quot;: 3.14,
3833 &quot;intArray&quot;: {
3834 &quot;intValues&quot;: [
3835 &quot;A String&quot;,
3836 ],
3837 },
3838 &quot;intValue&quot;: &quot;A String&quot;,
3839 &quot;jsonValue&quot;: &quot;A String&quot;,
3840 &quot;protoArray&quot;: {
3841 &quot;protoValues&quot;: [
3842 {
3843 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3844 },
3845 ],
3846 },
3847 &quot;protoValue&quot;: {
3848 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3849 },
3850 &quot;serializedObjectValue&quot;: {
3851 &quot;objectValue&quot;: &quot;A String&quot;,
3852 },
3853 &quot;stringArray&quot;: {
3854 &quot;stringValues&quot;: [
3855 &quot;A String&quot;,
3856 ],
3857 },
3858 &quot;stringValue&quot;: &quot;A String&quot;,
3859 },
3860 },
3861 },
3862 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this task config on the UI.
3863 &quot;x&quot;: 42,
3864 &quot;y&quot;: 42,
3865 },
3866 &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.
3867 &quot;preconditionLabel&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to precondition in the UI.
3868 &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).
3869 &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.
3870 &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.
3871 { # Key-value pair of EventBus parameters.
3872 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
3873 &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.
3874 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
3875 &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.
3876 &quot;booleanArray&quot;: {
3877 &quot;booleanValues&quot;: [
3878 True or False,
3879 ],
3880 },
3881 &quot;booleanValue&quot;: True or False,
3882 &quot;doubleArray&quot;: {
3883 &quot;doubleValues&quot;: [
3884 3.14,
3885 ],
3886 },
3887 &quot;doubleValue&quot;: 3.14,
3888 &quot;intArray&quot;: {
3889 &quot;intValues&quot;: [
3890 &quot;A String&quot;,
3891 ],
3892 },
3893 &quot;intValue&quot;: &quot;A String&quot;,
3894 &quot;jsonValue&quot;: &quot;A String&quot;,
3895 &quot;protoArray&quot;: {
3896 &quot;protoValues&quot;: [
3897 {
3898 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3899 },
3900 ],
3901 },
3902 &quot;protoValue&quot;: {
3903 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3904 },
3905 &quot;serializedObjectValue&quot;: {
3906 &quot;objectValue&quot;: &quot;A String&quot;,
3907 },
3908 &quot;stringArray&quot;: {
3909 &quot;stringValues&quot;: [
3910 &quot;A String&quot;,
3911 ],
3912 },
3913 &quot;stringValue&quot;: &quot;A String&quot;,
3914 },
3915 },
3916 ],
3917 },
3918 &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.
3919 &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.
3920 &quot;A String&quot;,
3921 ],
3922 },
3923 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Determines what action to take upon successful task completion.
3924 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
3925 },
3926 &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).
3927 &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.
3928 &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.
3929 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
3930 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
3931 },
3932 &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.
3933 &quot;disabledForVpcSc&quot;: True or False, # True if the task has conflict with vpcsc
3934 &quot;metadata&quot;: { # TaskMetadata are attributes that are associated to every common Task we have. # Metadata inclueds the task name, author and so on.
3935 &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.
3936 &quot;admins&quot;: [
3937 { # 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.
3938 &quot;googleGroupEmail&quot;: &quot;A String&quot;,
3939 &quot;userEmail&quot;: &quot;A String&quot;,
3940 },
3941 ],
3942 &quot;category&quot;: &quot;A String&quot;,
3943 &quot;codeSearchLink&quot;: &quot;A String&quot;, # The Code Search link to the Task Java file.
3944 &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.
3945 &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.
3946 &quot;description&quot;: &quot;A String&quot;, # In a few sentences, describe the purpose and usage of the task.
3947 &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;)
3948 &quot;docMarkdown&quot;: &quot;A String&quot;, # Snippet of markdown documentation to embed in the RHP for this task.
3949 &quot;externalCategory&quot;: &quot;A String&quot;,
3950 &quot;externalCategorySequence&quot;: 42, # Sequence with which the task in specific category to be displayed in task discovery panel for external users.
3951 &quot;externalDocHtml&quot;: &quot;A String&quot;, # External-facing documention embedded in the RHP for this task.
3952 &quot;externalDocLink&quot;: &quot;A String&quot;, # Doc link for external-facing documentation (separate from g3doc).
3953 &quot;externalDocMarkdown&quot;: &quot;A String&quot;, # DEPRECATED: Use external_doc_html.
3954 &quot;g3DocLink&quot;: &quot;A String&quot;, # URL to the associated G3 Doc for the task if available
3955 &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.
3956 &quot;isDeprecated&quot;: True or False, # The deprecation status of the current task. Default value is false;
3957 &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.
3958 &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
3959 &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.
3960 &quot;system&quot;: &quot;A String&quot;,
3961 &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.
3962 &quot;A String&quot;,
3963 ],
3964 },
3965 &quot;paramSpecs&quot;: { # Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask.
3966 &quot;parameters&quot;: [
3967 { # Key-value pair of EventBus task parameters. Next id: 13
3968 &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.
3969 &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.
3970 &quot;config&quot;: { # Optional fields, such as help text and other useful info.
3971 &quot;descriptivePhrase&quot;: &quot;A String&quot;, # A short phrase to describe what this parameter contains.
3972 &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.
3973 &quot;hideDefaultValue&quot;: True or False, # Whether the default value is hidden in the UI.
3974 &quot;inputDisplayOption&quot;: &quot;A String&quot;,
3975 &quot;isHidden&quot;: True or False, # Whether this field is hidden in the UI.
3976 &quot;label&quot;: &quot;A String&quot;, # A user-friendly label for the parameter.
3977 &quot;parameterNameOption&quot;: &quot;A String&quot;,
3978 &quot;subSectionLabel&quot;: &quot;A String&quot;, # A user-friendly label for subSection under which the parameter will be displayed.
3979 &quot;uiPlaceholderText&quot;: &quot;A String&quot;, # Placeholder text which will appear in the UI input form for this parameter.
3980 },
3981 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
3982 &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.
3983 &quot;booleanArray&quot;: {
3984 &quot;booleanValues&quot;: [
3985 True or False,
3986 ],
3987 },
3988 &quot;booleanValue&quot;: True or False,
3989 &quot;doubleArray&quot;: {
3990 &quot;doubleValues&quot;: [
3991 3.14,
3992 ],
3993 },
3994 &quot;doubleValue&quot;: 3.14,
3995 &quot;intArray&quot;: {
3996 &quot;intValues&quot;: [
3997 &quot;A String&quot;,
3998 ],
3999 },
4000 &quot;intValue&quot;: &quot;A String&quot;,
4001 &quot;jsonValue&quot;: &quot;A String&quot;,
4002 &quot;protoArray&quot;: {
4003 &quot;protoValues&quot;: [
4004 {
4005 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4006 },
4007 ],
4008 },
4009 &quot;protoValue&quot;: {
4010 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4011 },
4012 &quot;serializedObjectValue&quot;: {
4013 &quot;objectValue&quot;: &quot;A String&quot;,
4014 },
4015 &quot;stringArray&quot;: {
4016 &quot;stringValues&quot;: [
4017 &quot;A String&quot;,
4018 ],
4019 },
4020 &quot;stringValue&quot;: &quot;A String&quot;,
4021 },
4022 &quot;isDeprecated&quot;: True or False, # If set, this entry is deprecated, so further use of this parameter should be prohibited.
4023 &quot;isOutput&quot;: True or False,
4024 &quot;jsonSchema&quot;: &quot;A String&quot;, # If the data_type is JSON_VALUE, then this will define its schema.
4025 &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.
4026 &quot;protoDef&quot;: { # Populated if this represents a proto or proto array.
4027 &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;.
4028 &quot;path&quot;: &quot;A String&quot;, # Path to the proto file that contains the message type&#x27;s definition.
4029 },
4030 &quot;required&quot;: True or False, # If set, the user must provide an input value for this parameter.
4031 &quot;validationRule&quot;: { # Rule used to validate inputs (individual values and collection elements) for this parameter.
4032 &quot;doubleRange&quot;: { # Range used to validate doubles and floats.
4033 &quot;max&quot;: 3.14, # The inclusive maximum of the acceptable range.
4034 &quot;min&quot;: 3.14, # The inclusive minimum of the acceptable range.
4035 },
4036 &quot;intRange&quot;: { # Range used to validate longs and ints.
4037 &quot;max&quot;: &quot;A String&quot;, # The inclusive maximum of the acceptable range.
4038 &quot;min&quot;: &quot;A String&quot;, # The inclusive minimum of the acceptable range.
4039 },
4040 &quot;stringRegex&quot;: { # Rule used to validate strings.
4041 &quot;exclusive&quot;: True or False, # Whether the regex matcher is applied exclusively (if true, matching values will be rejected).
4042 &quot;regex&quot;: &quot;A String&quot;, # The regex applied to the input value(s).
4043 },
4044 },
4045 },
4046 ],
4047 },
4048 &quot;stats&quot;: { # Stats for the requested dimensions: QPS, duration, and error/warning rate # Deprecated - statistics from the Monarch query.
4049 &quot;dimensions&quot;: { # Dimensions that these stats have been aggregated on.
4050 &quot;clientId&quot;: &quot;A String&quot;,
4051 &quot;enumFilterType&quot;: &quot;A String&quot;, # Whether to include or exclude the enums matching the regex.
4052 &quot;errorEnumString&quot;: &quot;A String&quot;,
4053 &quot;retryAttempt&quot;: &quot;A String&quot;,
4054 &quot;taskName&quot;: &quot;A String&quot;,
4055 &quot;taskNumber&quot;: &quot;A String&quot;,
4056 &quot;triggerId&quot;: &quot;A String&quot;, # Stats have been or will be aggregated on set fields for any semantically-meaningful combination.
4057 &quot;warningEnumString&quot;: &quot;A String&quot;,
4058 &quot;workflowId&quot;: &quot;A String&quot;,
4059 &quot;workflowName&quot;: &quot;A String&quot;,
4060 },
4061 &quot;durationInSeconds&quot;: 3.14, # Average duration in seconds.
4062 &quot;errorRate&quot;: 3.14, # Average error rate.
4063 &quot;qps&quot;: 3.14, # Queries per second.
4064 &quot;warningRate&quot;: 3.14, # Average warning rate.
4065 },
4066 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
4067 &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.
4068 &quot;taskUiModuleConfigs&quot;: [ # Configurations of included config modules.
4069 { # Task author would use this type to configure a config module.
4070 &quot;moduleId&quot;: &quot;A String&quot;, # ID of the config module.
4071 },
4072 ],
4073 },
4074 },
4075 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # The policy dictating the execution strategy of this task.
4076 &quot;taskName&quot;: &quot;A String&quot;, # The name for the task.
4077 &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`).
4078 &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.
4079 &quot;taskTemplateName&quot;: &quot;A String&quot;, # Used to define task-template name if task is of type task-template
4080 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
4081 },
4082 ],
4083 &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.
4084 &quot;teardownTaskConfigs&quot;: [ # Required.
4085 {
4086 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address.
4087 &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.
4088 &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).
4089 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the next teardown task.
4090 },
4091 &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.
4092 &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.
4093 { # Key-value pair of EventBus parameters.
4094 &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.
4095 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
4096 &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.
4097 &quot;booleanArray&quot;: {
4098 &quot;booleanValues&quot;: [
4099 True or False,
4100 ],
4101 },
4102 &quot;booleanValue&quot;: True or False,
4103 &quot;doubleArray&quot;: {
4104 &quot;doubleValues&quot;: [
4105 3.14,
4106 ],
4107 },
4108 &quot;doubleValue&quot;: 3.14,
4109 &quot;intArray&quot;: {
4110 &quot;intValues&quot;: [
4111 &quot;A String&quot;,
4112 ],
4113 },
4114 &quot;intValue&quot;: &quot;A String&quot;,
4115 &quot;protoArray&quot;: {
4116 &quot;protoValues&quot;: [
4117 {
4118 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4119 },
4120 ],
4121 },
4122 &quot;protoValue&quot;: {
4123 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4124 },
4125 &quot;serializedObjectValue&quot;: {
4126 &quot;objectValue&quot;: &quot;A String&quot;,
4127 },
4128 &quot;stringArray&quot;: {
4129 &quot;stringValues&quot;: [
4130 &quot;A String&quot;,
4131 ],
4132 },
4133 &quot;stringValue&quot;: &quot;A String&quot;,
4134 },
4135 },
4136 ],
4137 },
4138 &quot;properties&quot;: { # LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus.
4139 &quot;properties&quot;: [ # An unordered list of property entries.
4140 { # Key-value pair of EventBus property.
4141 &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.
4142 &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.
4143 &quot;booleanValue&quot;: True or False,
4144 &quot;doubleArray&quot;: {
4145 &quot;values&quot;: [
4146 3.14,
4147 ],
4148 },
4149 &quot;doubleValue&quot;: 3.14,
4150 &quot;intArray&quot;: {
4151 &quot;values&quot;: [
4152 &quot;A String&quot;,
4153 ],
4154 },
4155 &quot;intValue&quot;: &quot;A String&quot;,
4156 &quot;protoValue&quot;: {
4157 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4158 },
4159 &quot;stringArray&quot;: {
4160 &quot;values&quot;: [
4161 &quot;A String&quot;,
4162 ],
4163 },
4164 &quot;stringValue&quot;: &quot;A String&quot;,
4165 },
4166 },
4167 ],
4168 },
4169 &quot;teardownTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. Implementation class name.
4170 },
4171 ],
4172 },
4173 &quot;triggerConfigs&quot;: [ # Optional. Trigger configurations.
4174 { # Configuration detail of a trigger.
4175 &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.
4176 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
4177 &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.
4178 &quot;alertThreshold&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
4179 &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.
4180 &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.
4181 &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.
4182 &quot;metricType&quot;: &quot;A String&quot;, # The type of metric.
4183 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
4184 &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.
4185 &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.
4186 &quot;absolute&quot;: &quot;A String&quot;, # Absolute value threshold.
4187 &quot;percentage&quot;: 42, # Percentage threshold.
4188 },
4189 },
4190 ],
4191 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration # Optional. Cloud Scheduler Trigger related metadata
4192 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
4193 &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
4194 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
4195 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
4196 },
4197 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
4198 &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
4199 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
4200 &quot;names&quot;: [ # Optional. List of variable names.
4201 &quot;A String&quot;,
4202 ],
4203 },
4204 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular trigger.
4205 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. Dictates how next tasks will be executed.
4206 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
4207 &quot;names&quot;: [ # Optional. List of variable names.
4208 &quot;A String&quot;,
4209 ],
4210 },
4211 &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.
4212 &quot;x&quot;: 42, # Required. X axis of the coordinate
4213 &quot;y&quot;: 42, # Required. Y axis of the coordinate
4214 },
4215 &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.
4216 &quot;a_key&quot;: &quot;A String&quot;,
4217 },
4218 &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).
4219 { # The task that is next in line to be executed, if the condition specified evaluated to true.
4220 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
4221 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
4222 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
4223 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
4224 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
4225 },
4226 ],
4227 &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.
4228 &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}
4229 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the integration on UI.
4230 &quot;triggerType&quot;: &quot;A String&quot;, # Optional. Type of trigger
4231 },
4232 ],
4233 &quot;triggerConfigsInternal&quot;: [ # Optional. Trigger configurations.
4234 { # Configuration detail of a trigger. Next available id: 22
4235 &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.
4236 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
4237 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
4238 &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.
4239 &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.
4240 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration.
4241 &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.
4242 &quot;errorEnumList&quot;: { # List of error enums for alerts.
4243 &quot;enumStrings&quot;: [
4244 &quot;A String&quot;,
4245 ],
4246 &quot;filterType&quot;: &quot;A String&quot;,
4247 },
4248 &quot;metricType&quot;: &quot;A String&quot;,
4249 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
4250 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
4251 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
4252 &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.
4253 &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.
4254 &quot;absolute&quot;: &quot;A String&quot;,
4255 &quot;percentage&quot;: 42,
4256 },
4257 &quot;warningEnumList&quot;: { # List of error enums for alerts.
4258 &quot;enumStrings&quot;: [
4259 &quot;A String&quot;,
4260 ],
4261 &quot;filterType&quot;: &quot;A String&quot;,
4262 },
4263 },
4264 ],
4265 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration
4266 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
4267 &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
4268 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
4269 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
4270 },
4271 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
4272 &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.
4273 &quot;A String&quot;,
4274 ],
4275 &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
4276 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
4277 &quot;names&quot;: [ # Optional. List of variable names.
4278 &quot;A String&quot;,
4279 ],
4280 },
4281 &quot;label&quot;: &quot;A String&quot;, # The user created label for a particular trigger.
4282 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Dictates how next tasks will be executed.
4283 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
4284 &quot;names&quot;: [ # Optional. List of variable names.
4285 &quot;A String&quot;,
4286 ],
4287 },
4288 &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.
4289 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this trigger config on the UI.
4290 &quot;x&quot;: 42,
4291 &quot;y&quot;: 42,
4292 },
4293 &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.
4294 &quot;a_key&quot;: &quot;A String&quot;,
4295 },
4296 &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).
4297 { # The task that is next in line to be executed, if the condition specified evaluated to true.
4298 &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`
4299 { # This message recursively combines constituent conditions using logical AND.
4300 &quot;conditions&quot;: [ # A set of individual constituent conditions.
4301 { # Condition that uses `operator` to evaluate the key against the value.
4302 &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.
4303 &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.
4304 &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.
4305 &quot;booleanValue&quot;: True or False,
4306 &quot;doubleArray&quot;: {
4307 &quot;values&quot;: [
4308 3.14,
4309 ],
4310 },
4311 &quot;doubleValue&quot;: 3.14,
4312 &quot;intArray&quot;: {
4313 &quot;values&quot;: [
4314 &quot;A String&quot;,
4315 ],
4316 },
4317 &quot;intValue&quot;: &quot;A String&quot;,
4318 &quot;protoValue&quot;: {
4319 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4320 },
4321 &quot;stringArray&quot;: {
4322 &quot;values&quot;: [
4323 &quot;A String&quot;,
4324 ],
4325 },
4326 &quot;stringValue&quot;: &quot;A String&quot;,
4327 },
4328 },
4329 ],
4330 },
4331 ],
4332 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
4333 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
4334 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
4335 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
4336 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
4337 },
4338 ],
4339 &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.
4340 &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.
4341 &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.
4342 &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.
4343 { # Key-value pair of EventBus parameters.
4344 &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.
4345 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
4346 &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.
4347 &quot;booleanArray&quot;: {
4348 &quot;booleanValues&quot;: [
4349 True or False,
4350 ],
4351 },
4352 &quot;booleanValue&quot;: True or False,
4353 &quot;doubleArray&quot;: {
4354 &quot;doubleValues&quot;: [
4355 3.14,
4356 ],
4357 },
4358 &quot;doubleValue&quot;: 3.14,
4359 &quot;intArray&quot;: {
4360 &quot;intValues&quot;: [
4361 &quot;A String&quot;,
4362 ],
4363 },
4364 &quot;intValue&quot;: &quot;A String&quot;,
4365 &quot;protoArray&quot;: {
4366 &quot;protoValues&quot;: [
4367 {
4368 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4369 },
4370 ],
4371 },
4372 &quot;protoValue&quot;: {
4373 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4374 },
4375 &quot;serializedObjectValue&quot;: {
4376 &quot;objectValue&quot;: &quot;A String&quot;,
4377 },
4378 &quot;stringArray&quot;: {
4379 &quot;stringValues&quot;: [
4380 &quot;A String&quot;,
4381 ],
4382 },
4383 &quot;stringValue&quot;: &quot;A String&quot;,
4384 },
4385 },
4386 ],
4387 },
4388 &quot;triggerCriteriaTaskImplementationClassName&quot;: &quot;A String&quot;, # Optional. Implementation class name. The class should implement the “TypedTask” interface.
4389 },
4390 &quot;triggerId&quot;: &quot;A String&quot;, # The backend trigger ID.
4391 &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.
4392 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the workflow on UI.
4393 &quot;triggerType&quot;: &quot;A String&quot;,
4394 },
4395 ],
4396 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
4397 &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.
4398 },
4399 ],
4400 &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.
4401 &quot;noPermission&quot;: True or False, # Whether the user has no permission on the version or not.
4402 }</pre>
4403 </div>
4404
4405 <div class="method">
4406 <code class="details" id="list_next">list_next()</code>
4407 <pre>Retrieves the next page of results.
4408
4409 Args:
4410 previous_request: The request for the previous page. (required)
4411 previous_response: The response from the request for the previous page. (required)
4412
4413 Returns:
4414 A request object that you can call &#x27;execute()&#x27; on to request the next
4415 page. Returns None if there are no more items in the collection.
4416 </pre>
4417 </div>
4418
4419 <div class="method">
4420 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
4421 <pre>Update a integration with a draft version in the specified project.
4422
4423 Args:
4424 name: string, Output only. Auto-generated primary key. (required)
4425 body: object, The request body.
4426 The object takes the form of:
4427
4428 { # The integration version definition.
4429 &quot;cloudKmsKey&quot;: &quot;A String&quot;, # Optional. Cloud KMS resource name for the CMEK encryption key.
4430 &quot;cloudLoggingDetails&quot;: { # Cloud Logging details for execution info # Optional. Cloud Logging details for the integration version
4431 &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.
4432 &quot;enableCloudLogging&quot;: True or False, # Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.
4433 },
4434 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
4435 &quot;createdFromTemplate&quot;: &quot;A String&quot;, # Optional. Optional. The resource name of the template from which the integration is created.
4436 &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.
4437 &quot;description&quot;: &quot;A String&quot;, # Optional. The integration description.
4438 &quot;enableVariableMasking&quot;: True or False, # Optional. True if variable masking feature should be turned on for this version
4439 &quot;errorCatcherConfigs&quot;: [ # Optional. Error Catch Task configuration for the integration. It&#x27;s optional.
4440 { # Configuration detail of a error catch task
4441 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give more business context about the error catcher config.
4442 &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
4443 &quot;errorCatcherNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each error catcher config within the workflow on UI.
4444 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular error catcher. Optional.
4445 &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.
4446 &quot;x&quot;: 42, # Required. X axis of the coordinate
4447 &quot;y&quot;: 42, # Required. Y axis of the coordinate
4448 },
4449 &quot;startErrorTasks&quot;: [ # Required. The set of start tasks that are to be executed for the error catch flow
4450 { # The task that is next in line to be executed, if the condition specified evaluated to true.
4451 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
4452 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
4453 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
4454 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
4455 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
4456 },
4457 ],
4458 },
4459 ],
4460 &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.
4461 { # 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.
4462 &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.
4463 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
4464 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
4465 &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.
4466 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
4467 &quot;booleanValues&quot;: [ # Boolean array.
4468 True or False,
4469 ],
4470 },
4471 &quot;booleanValue&quot;: True or False, # Boolean.
4472 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
4473 &quot;doubleValues&quot;: [ # Double number array.
4474 3.14,
4475 ],
4476 },
4477 &quot;doubleValue&quot;: 3.14, # Double Number.
4478 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
4479 &quot;intValues&quot;: [ # Integer array.
4480 &quot;A String&quot;,
4481 ],
4482 },
4483 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
4484 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
4485 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
4486 &quot;stringValues&quot;: [ # String array.
4487 &quot;A String&quot;,
4488 ],
4489 },
4490 &quot;stringValue&quot;: &quot;A String&quot;, # String.
4491 },
4492 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
4493 &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;.
4494 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
4495 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
4496 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
4497 &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.
4498 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
4499 &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.
4500 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
4501 },
4502 &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.
4503 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
4504 &quot;booleanValues&quot;: [ # Boolean array.
4505 True or False,
4506 ],
4507 },
4508 &quot;booleanValue&quot;: True or False, # Boolean.
4509 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
4510 &quot;doubleValues&quot;: [ # Double number array.
4511 3.14,
4512 ],
4513 },
4514 &quot;doubleValue&quot;: 3.14, # Double Number.
4515 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
4516 &quot;intValues&quot;: [ # Integer array.
4517 &quot;A String&quot;,
4518 ],
4519 },
4520 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
4521 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
4522 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
4523 &quot;stringValues&quot;: [ # String array.
4524 &quot;A String&quot;,
4525 ],
4526 },
4527 &quot;stringValue&quot;: &quot;A String&quot;, # String.
4528 },
4529 },
4530 ],
4531 &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.
4532 { # 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.
4533 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
4534 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
4535 &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.
4536 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
4537 &quot;booleanValues&quot;: [ # Boolean array.
4538 True or False,
4539 ],
4540 },
4541 &quot;booleanValue&quot;: True or False, # Boolean.
4542 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
4543 &quot;doubleValues&quot;: [ # Double number array.
4544 3.14,
4545 ],
4546 },
4547 &quot;doubleValue&quot;: 3.14, # Double Number.
4548 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
4549 &quot;intValues&quot;: [ # Integer array.
4550 &quot;A String&quot;,
4551 ],
4552 },
4553 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
4554 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
4555 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
4556 &quot;stringValues&quot;: [ # String array.
4557 &quot;A String&quot;,
4558 ],
4559 },
4560 &quot;stringValue&quot;: &quot;A String&quot;, # String.
4561 },
4562 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
4563 &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;.
4564 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
4565 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
4566 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
4567 &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.
4568 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
4569 &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.
4570 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
4571 },
4572 ],
4573 &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.
4574 &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.
4575 {
4576 &quot;attributes&quot;: { # Attributes are additional options that can be associated with each event property. For more information, see # Metadata information about the parameters.
4577 &quot;dataType&quot;: &quot;A String&quot;, # Things like URL, Email, Currency, Timestamp (rather than string, int64...)
4578 &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.
4579 &quot;booleanValue&quot;: True or False,
4580 &quot;doubleArray&quot;: {
4581 &quot;values&quot;: [
4582 3.14,
4583 ],
4584 },
4585 &quot;doubleValue&quot;: 3.14,
4586 &quot;intArray&quot;: {
4587 &quot;values&quot;: [
4588 &quot;A String&quot;,
4589 ],
4590 },
4591 &quot;intValue&quot;: &quot;A String&quot;,
4592 &quot;protoValue&quot;: {
4593 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4594 },
4595 &quot;stringArray&quot;: {
4596 &quot;values&quot;: [
4597 &quot;A String&quot;,
4598 ],
4599 },
4600 &quot;stringValue&quot;: &quot;A String&quot;,
4601 },
4602 &quot;isRequired&quot;: True or False, # Required for event execution. The validation will be done by the event bus when the event is triggered.
4603 &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.
4604 &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
4605 &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.
4606 &quot;seedPeriod&quot;: &quot;A String&quot;,
4607 &quot;seedScope&quot;: &quot;A String&quot;,
4608 },
4609 &quot;masked&quot;: True or False, # True if this workflow parameter should be masked in the logs
4610 &quot;readOnly&quot;: True or False, # Used to indicate if the ParameterEntry is a read only field or not.
4611 &quot;searchable&quot;: &quot;A String&quot;,
4612 &quot;taskVisibility&quot;: [ # List of tasks that can view this property, if empty then all.
4613 &quot;A String&quot;,
4614 ],
4615 },
4616 &quot;children&quot;: [ # Child parameters nested within this parameter. This field only applies to protobuf parameters
4617 # Object with schema name: EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
4618 ],
4619 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
4620 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
4621 &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.
4622 &quot;booleanArray&quot;: {
4623 &quot;booleanValues&quot;: [
4624 True or False,
4625 ],
4626 },
4627 &quot;booleanValue&quot;: True or False,
4628 &quot;doubleArray&quot;: {
4629 &quot;doubleValues&quot;: [
4630 3.14,
4631 ],
4632 },
4633 &quot;doubleValue&quot;: 3.14,
4634 &quot;intArray&quot;: {
4635 &quot;intValues&quot;: [
4636 &quot;A String&quot;,
4637 ],
4638 },
4639 &quot;intValue&quot;: &quot;A String&quot;,
4640 &quot;jsonValue&quot;: &quot;A String&quot;,
4641 &quot;protoArray&quot;: {
4642 &quot;protoValues&quot;: [
4643 {
4644 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4645 },
4646 ],
4647 },
4648 &quot;protoValue&quot;: {
4649 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4650 },
4651 &quot;serializedObjectValue&quot;: {
4652 &quot;objectValue&quot;: &quot;A String&quot;,
4653 },
4654 &quot;stringArray&quot;: {
4655 &quot;stringValues&quot;: [
4656 &quot;A String&quot;,
4657 ],
4658 },
4659 &quot;stringValue&quot;: &quot;A String&quot;,
4660 },
4661 &quot;description&quot;: &quot;A String&quot;, # Optional. The description about the parameter
4662 &quot;inOutType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
4663 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
4664 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
4665 &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.
4666 &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;.
4667 &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.
4668 &quot;elementIdentifier&quot;: &quot;A String&quot;, # Configuration of the edge.
4669 &quot;elementType&quot;: &quot;A String&quot;, # Destination node where the edge ends. It can only be a task config.
4670 },
4671 &quot;producer&quot;: &quot;A String&quot;,
4672 &quot;protoDefName&quot;: &quot;A String&quot;, # The name of the protobuf type if the parameter has a protobuf data type.
4673 &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;.
4674 &quot;required&quot;: True or False,
4675 },
4676 ],
4677 },
4678 &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.
4679 &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.
4680 &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
4681 &quot;origin&quot;: &quot;A String&quot;, # Optional. The origin that indicates where this integration is coming from.
4682 &quot;parentTemplateId&quot;: &quot;A String&quot;, # Optional. The id of the template which was used to create this integration_version.
4683 &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.
4684 &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.
4685 &quot;state&quot;: &quot;A String&quot;, # Output only. User should not set it as an input.
4686 &quot;status&quot;: &quot;A String&quot;, # Output only. Generated by eventbus. User should not set it as an input.
4687 &quot;taskConfigs&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
4688 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
4689 &quot;conditionalFailurePolicies&quot;: { # Conditional task failur retry strategies # Optional. The list of conditional failure policies that will be applied to the task in order.
4690 &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.
4691 &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.
4692 &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.
4693 &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.
4694 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
4695 },
4696 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
4697 { # 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).
4698 &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.
4699 &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.
4700 &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.
4701 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
4702 },
4703 ],
4704 },
4705 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
4706 &quot;displayName&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to this TaskConfig in the UI.
4707 &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
4708 &quot;externalTaskType&quot;: &quot;A String&quot;, # Optional. External task type of the task
4709 &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.).
4710 &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.
4711 &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.
4712 &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.
4713 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
4714 },
4715 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # Optional. If set, overrides the option configured in the Task implementation class.
4716 &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.
4717 { # The task that is next in line to be executed, if the condition specified evaluated to true.
4718 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
4719 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
4720 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
4721 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
4722 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
4723 },
4724 ],
4725 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution of the next set of tasks for the current task.
4726 &quot;parameters&quot;: { # Optional. The customized parameters the user can pass to this task.
4727 &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
4728 &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.
4729 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
4730 &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.
4731 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
4732 &quot;booleanValues&quot;: [ # Boolean array.
4733 True or False,
4734 ],
4735 },
4736 &quot;booleanValue&quot;: True or False, # Boolean.
4737 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
4738 &quot;doubleValues&quot;: [ # Double number array.
4739 3.14,
4740 ],
4741 },
4742 &quot;doubleValue&quot;: 3.14, # Double Number.
4743 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
4744 &quot;intValues&quot;: [ # Integer array.
4745 &quot;A String&quot;,
4746 ],
4747 },
4748 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
4749 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
4750 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
4751 &quot;stringValues&quot;: [ # String array.
4752 &quot;A String&quot;,
4753 ],
4754 },
4755 &quot;stringValue&quot;: &quot;A String&quot;, # String.
4756 },
4757 },
4758 },
4759 &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.
4760 &quot;x&quot;: 42, # Required. X axis of the coordinate
4761 &quot;y&quot;: 42, # Required. Y axis of the coordinate
4762 },
4763 &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.
4764 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
4765 },
4766 &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).
4767 &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.
4768 &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.
4769 &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.
4770 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
4771 },
4772 &quot;task&quot;: &quot;A String&quot;, # Optional. The name for the task.
4773 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution strategy of this task.
4774 &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`).
4775 &quot;taskTemplate&quot;: &quot;A String&quot;, # Optional. Used to define task-template name if task is of type task-template
4776 },
4777 ],
4778 &quot;taskConfigsInternal&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
4779 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
4780 &quot;alertConfigs&quot;: [ # Alert configurations on error rate, warning rate, number of runs, durations, etc.
4781 { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event.
4782 &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).
4783 &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.
4784 &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.
4785 &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.
4786 &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.
4787 &quot;errorEnumList&quot;: { # List of error enums for alerts.
4788 &quot;enumStrings&quot;: [
4789 &quot;A String&quot;,
4790 ],
4791 &quot;filterType&quot;: &quot;A String&quot;,
4792 },
4793 &quot;metricType&quot;: &quot;A String&quot;,
4794 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
4795 &quot;onlyFinalAttempt&quot;: True or False, # Only count final task attempts, not retries.
4796 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
4797 &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.
4798 &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.
4799 &quot;absolute&quot;: &quot;A String&quot;,
4800 &quot;percentage&quot;: 42,
4801 },
4802 &quot;warningEnumList&quot;: { # List of error enums for alerts.
4803 &quot;enumStrings&quot;: [
4804 &quot;A String&quot;,
4805 ],
4806 &quot;filterType&quot;: &quot;A String&quot;,
4807 },
4808 },
4809 ],
4810 &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).
4811 &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
4812 &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.
4813 &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.
4814 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
4815 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
4816 },
4817 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
4818 { # 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).
4819 &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.
4820 &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.
4821 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
4822 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
4823 },
4824 ],
4825 },
4826 &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
4827 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address. Auto-generated from the user&#x27;s email.
4828 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
4829 &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.
4830 &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
4831 &quot;externalTaskType&quot;: &quot;A String&quot;,
4832 &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.).
4833 &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.
4834 &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.
4835 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
4836 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
4837 },
4838 &quot;incomingEdgeCount&quot;: 42, # The number of edges leading into this TaskConfig.
4839 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # If set, overrides the option configured in the Task implementation class.
4840 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this TaskConfig in the UI.
4841 &quot;lastModifiedTime&quot;: &quot;A String&quot;, # Auto-generated.
4842 &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.
4843 { # The task that is next in line to be executed, if the condition specified evaluated to true.
4844 &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`
4845 { # This message recursively combines constituent conditions using logical AND.
4846 &quot;conditions&quot;: [ # A set of individual constituent conditions.
4847 { # Condition that uses `operator` to evaluate the key against the value.
4848 &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.
4849 &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.
4850 &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.
4851 &quot;booleanValue&quot;: True or False,
4852 &quot;doubleArray&quot;: {
4853 &quot;values&quot;: [
4854 3.14,
4855 ],
4856 },
4857 &quot;doubleValue&quot;: 3.14,
4858 &quot;intArray&quot;: {
4859 &quot;values&quot;: [
4860 &quot;A String&quot;,
4861 ],
4862 },
4863 &quot;intValue&quot;: &quot;A String&quot;,
4864 &quot;protoValue&quot;: {
4865 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4866 },
4867 &quot;stringArray&quot;: {
4868 &quot;values&quot;: [
4869 &quot;A String&quot;,
4870 ],
4871 },
4872 &quot;stringValue&quot;: &quot;A String&quot;,
4873 },
4874 },
4875 ],
4876 },
4877 ],
4878 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
4879 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
4880 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
4881 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
4882 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
4883 },
4884 ],
4885 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # The policy dictating the execution of the next set of tasks for the current task.
4886 &quot;parameters&quot;: { # The customized parameters the user can pass to this task.
4887 &quot;a_key&quot;: { # Key-value pair of EventBus parameters.
4888 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
4889 &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.
4890 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
4891 &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.
4892 &quot;booleanArray&quot;: {
4893 &quot;booleanValues&quot;: [
4894 True or False,
4895 ],
4896 },
4897 &quot;booleanValue&quot;: True or False,
4898 &quot;doubleArray&quot;: {
4899 &quot;doubleValues&quot;: [
4900 3.14,
4901 ],
4902 },
4903 &quot;doubleValue&quot;: 3.14,
4904 &quot;intArray&quot;: {
4905 &quot;intValues&quot;: [
4906 &quot;A String&quot;,
4907 ],
4908 },
4909 &quot;intValue&quot;: &quot;A String&quot;,
4910 &quot;jsonValue&quot;: &quot;A String&quot;,
4911 &quot;protoArray&quot;: {
4912 &quot;protoValues&quot;: [
4913 {
4914 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4915 },
4916 ],
4917 },
4918 &quot;protoValue&quot;: {
4919 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4920 },
4921 &quot;serializedObjectValue&quot;: {
4922 &quot;objectValue&quot;: &quot;A String&quot;,
4923 },
4924 &quot;stringArray&quot;: {
4925 &quot;stringValues&quot;: [
4926 &quot;A String&quot;,
4927 ],
4928 },
4929 &quot;stringValue&quot;: &quot;A String&quot;,
4930 },
4931 },
4932 },
4933 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this task config on the UI.
4934 &quot;x&quot;: 42,
4935 &quot;y&quot;: 42,
4936 },
4937 &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.
4938 &quot;preconditionLabel&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to precondition in the UI.
4939 &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).
4940 &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.
4941 &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.
4942 { # Key-value pair of EventBus parameters.
4943 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
4944 &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.
4945 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
4946 &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.
4947 &quot;booleanArray&quot;: {
4948 &quot;booleanValues&quot;: [
4949 True or False,
4950 ],
4951 },
4952 &quot;booleanValue&quot;: True or False,
4953 &quot;doubleArray&quot;: {
4954 &quot;doubleValues&quot;: [
4955 3.14,
4956 ],
4957 },
4958 &quot;doubleValue&quot;: 3.14,
4959 &quot;intArray&quot;: {
4960 &quot;intValues&quot;: [
4961 &quot;A String&quot;,
4962 ],
4963 },
4964 &quot;intValue&quot;: &quot;A String&quot;,
4965 &quot;jsonValue&quot;: &quot;A String&quot;,
4966 &quot;protoArray&quot;: {
4967 &quot;protoValues&quot;: [
4968 {
4969 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4970 },
4971 ],
4972 },
4973 &quot;protoValue&quot;: {
4974 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4975 },
4976 &quot;serializedObjectValue&quot;: {
4977 &quot;objectValue&quot;: &quot;A String&quot;,
4978 },
4979 &quot;stringArray&quot;: {
4980 &quot;stringValues&quot;: [
4981 &quot;A String&quot;,
4982 ],
4983 },
4984 &quot;stringValue&quot;: &quot;A String&quot;,
4985 },
4986 },
4987 ],
4988 },
4989 &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.
4990 &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.
4991 &quot;A String&quot;,
4992 ],
4993 },
4994 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Determines what action to take upon successful task completion.
4995 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
4996 },
4997 &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).
4998 &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.
4999 &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.
5000 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
5001 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
5002 },
5003 &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.
5004 &quot;disabledForVpcSc&quot;: True or False, # True if the task has conflict with vpcsc
5005 &quot;metadata&quot;: { # TaskMetadata are attributes that are associated to every common Task we have. # Metadata inclueds the task name, author and so on.
5006 &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.
5007 &quot;admins&quot;: [
5008 { # 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.
5009 &quot;googleGroupEmail&quot;: &quot;A String&quot;,
5010 &quot;userEmail&quot;: &quot;A String&quot;,
5011 },
5012 ],
5013 &quot;category&quot;: &quot;A String&quot;,
5014 &quot;codeSearchLink&quot;: &quot;A String&quot;, # The Code Search link to the Task Java file.
5015 &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.
5016 &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.
5017 &quot;description&quot;: &quot;A String&quot;, # In a few sentences, describe the purpose and usage of the task.
5018 &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;)
5019 &quot;docMarkdown&quot;: &quot;A String&quot;, # Snippet of markdown documentation to embed in the RHP for this task.
5020 &quot;externalCategory&quot;: &quot;A String&quot;,
5021 &quot;externalCategorySequence&quot;: 42, # Sequence with which the task in specific category to be displayed in task discovery panel for external users.
5022 &quot;externalDocHtml&quot;: &quot;A String&quot;, # External-facing documention embedded in the RHP for this task.
5023 &quot;externalDocLink&quot;: &quot;A String&quot;, # Doc link for external-facing documentation (separate from g3doc).
5024 &quot;externalDocMarkdown&quot;: &quot;A String&quot;, # DEPRECATED: Use external_doc_html.
5025 &quot;g3DocLink&quot;: &quot;A String&quot;, # URL to the associated G3 Doc for the task if available
5026 &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.
5027 &quot;isDeprecated&quot;: True or False, # The deprecation status of the current task. Default value is false;
5028 &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.
5029 &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
5030 &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.
5031 &quot;system&quot;: &quot;A String&quot;,
5032 &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.
5033 &quot;A String&quot;,
5034 ],
5035 },
5036 &quot;paramSpecs&quot;: { # Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask.
5037 &quot;parameters&quot;: [
5038 { # Key-value pair of EventBus task parameters. Next id: 13
5039 &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.
5040 &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.
5041 &quot;config&quot;: { # Optional fields, such as help text and other useful info.
5042 &quot;descriptivePhrase&quot;: &quot;A String&quot;, # A short phrase to describe what this parameter contains.
5043 &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.
5044 &quot;hideDefaultValue&quot;: True or False, # Whether the default value is hidden in the UI.
5045 &quot;inputDisplayOption&quot;: &quot;A String&quot;,
5046 &quot;isHidden&quot;: True or False, # Whether this field is hidden in the UI.
5047 &quot;label&quot;: &quot;A String&quot;, # A user-friendly label for the parameter.
5048 &quot;parameterNameOption&quot;: &quot;A String&quot;,
5049 &quot;subSectionLabel&quot;: &quot;A String&quot;, # A user-friendly label for subSection under which the parameter will be displayed.
5050 &quot;uiPlaceholderText&quot;: &quot;A String&quot;, # Placeholder text which will appear in the UI input form for this parameter.
5051 },
5052 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
5053 &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.
5054 &quot;booleanArray&quot;: {
5055 &quot;booleanValues&quot;: [
5056 True or False,
5057 ],
5058 },
5059 &quot;booleanValue&quot;: True or False,
5060 &quot;doubleArray&quot;: {
5061 &quot;doubleValues&quot;: [
5062 3.14,
5063 ],
5064 },
5065 &quot;doubleValue&quot;: 3.14,
5066 &quot;intArray&quot;: {
5067 &quot;intValues&quot;: [
5068 &quot;A String&quot;,
5069 ],
5070 },
5071 &quot;intValue&quot;: &quot;A String&quot;,
5072 &quot;jsonValue&quot;: &quot;A String&quot;,
5073 &quot;protoArray&quot;: {
5074 &quot;protoValues&quot;: [
5075 {
5076 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5077 },
5078 ],
5079 },
5080 &quot;protoValue&quot;: {
5081 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5082 },
5083 &quot;serializedObjectValue&quot;: {
5084 &quot;objectValue&quot;: &quot;A String&quot;,
5085 },
5086 &quot;stringArray&quot;: {
5087 &quot;stringValues&quot;: [
5088 &quot;A String&quot;,
5089 ],
5090 },
5091 &quot;stringValue&quot;: &quot;A String&quot;,
5092 },
5093 &quot;isDeprecated&quot;: True or False, # If set, this entry is deprecated, so further use of this parameter should be prohibited.
5094 &quot;isOutput&quot;: True or False,
5095 &quot;jsonSchema&quot;: &quot;A String&quot;, # If the data_type is JSON_VALUE, then this will define its schema.
5096 &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.
5097 &quot;protoDef&quot;: { # Populated if this represents a proto or proto array.
5098 &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;.
5099 &quot;path&quot;: &quot;A String&quot;, # Path to the proto file that contains the message type&#x27;s definition.
5100 },
5101 &quot;required&quot;: True or False, # If set, the user must provide an input value for this parameter.
5102 &quot;validationRule&quot;: { # Rule used to validate inputs (individual values and collection elements) for this parameter.
5103 &quot;doubleRange&quot;: { # Range used to validate doubles and floats.
5104 &quot;max&quot;: 3.14, # The inclusive maximum of the acceptable range.
5105 &quot;min&quot;: 3.14, # The inclusive minimum of the acceptable range.
5106 },
5107 &quot;intRange&quot;: { # Range used to validate longs and ints.
5108 &quot;max&quot;: &quot;A String&quot;, # The inclusive maximum of the acceptable range.
5109 &quot;min&quot;: &quot;A String&quot;, # The inclusive minimum of the acceptable range.
5110 },
5111 &quot;stringRegex&quot;: { # Rule used to validate strings.
5112 &quot;exclusive&quot;: True or False, # Whether the regex matcher is applied exclusively (if true, matching values will be rejected).
5113 &quot;regex&quot;: &quot;A String&quot;, # The regex applied to the input value(s).
5114 },
5115 },
5116 },
5117 ],
5118 },
5119 &quot;stats&quot;: { # Stats for the requested dimensions: QPS, duration, and error/warning rate # Deprecated - statistics from the Monarch query.
5120 &quot;dimensions&quot;: { # Dimensions that these stats have been aggregated on.
5121 &quot;clientId&quot;: &quot;A String&quot;,
5122 &quot;enumFilterType&quot;: &quot;A String&quot;, # Whether to include or exclude the enums matching the regex.
5123 &quot;errorEnumString&quot;: &quot;A String&quot;,
5124 &quot;retryAttempt&quot;: &quot;A String&quot;,
5125 &quot;taskName&quot;: &quot;A String&quot;,
5126 &quot;taskNumber&quot;: &quot;A String&quot;,
5127 &quot;triggerId&quot;: &quot;A String&quot;, # Stats have been or will be aggregated on set fields for any semantically-meaningful combination.
5128 &quot;warningEnumString&quot;: &quot;A String&quot;,
5129 &quot;workflowId&quot;: &quot;A String&quot;,
5130 &quot;workflowName&quot;: &quot;A String&quot;,
5131 },
5132 &quot;durationInSeconds&quot;: 3.14, # Average duration in seconds.
5133 &quot;errorRate&quot;: 3.14, # Average error rate.
5134 &quot;qps&quot;: 3.14, # Queries per second.
5135 &quot;warningRate&quot;: 3.14, # Average warning rate.
5136 },
5137 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
5138 &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.
5139 &quot;taskUiModuleConfigs&quot;: [ # Configurations of included config modules.
5140 { # Task author would use this type to configure a config module.
5141 &quot;moduleId&quot;: &quot;A String&quot;, # ID of the config module.
5142 },
5143 ],
5144 },
5145 },
5146 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # The policy dictating the execution strategy of this task.
5147 &quot;taskName&quot;: &quot;A String&quot;, # The name for the task.
5148 &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`).
5149 &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.
5150 &quot;taskTemplateName&quot;: &quot;A String&quot;, # Used to define task-template name if task is of type task-template
5151 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
5152 },
5153 ],
5154 &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.
5155 &quot;teardownTaskConfigs&quot;: [ # Required.
5156 {
5157 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address.
5158 &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.
5159 &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).
5160 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the next teardown task.
5161 },
5162 &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.
5163 &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.
5164 { # Key-value pair of EventBus parameters.
5165 &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.
5166 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
5167 &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.
5168 &quot;booleanArray&quot;: {
5169 &quot;booleanValues&quot;: [
5170 True or False,
5171 ],
5172 },
5173 &quot;booleanValue&quot;: True or False,
5174 &quot;doubleArray&quot;: {
5175 &quot;doubleValues&quot;: [
5176 3.14,
5177 ],
5178 },
5179 &quot;doubleValue&quot;: 3.14,
5180 &quot;intArray&quot;: {
5181 &quot;intValues&quot;: [
5182 &quot;A String&quot;,
5183 ],
5184 },
5185 &quot;intValue&quot;: &quot;A String&quot;,
5186 &quot;protoArray&quot;: {
5187 &quot;protoValues&quot;: [
5188 {
5189 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5190 },
5191 ],
5192 },
5193 &quot;protoValue&quot;: {
5194 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5195 },
5196 &quot;serializedObjectValue&quot;: {
5197 &quot;objectValue&quot;: &quot;A String&quot;,
5198 },
5199 &quot;stringArray&quot;: {
5200 &quot;stringValues&quot;: [
5201 &quot;A String&quot;,
5202 ],
5203 },
5204 &quot;stringValue&quot;: &quot;A String&quot;,
5205 },
5206 },
5207 ],
5208 },
5209 &quot;properties&quot;: { # LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus.
5210 &quot;properties&quot;: [ # An unordered list of property entries.
5211 { # Key-value pair of EventBus property.
5212 &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.
5213 &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.
5214 &quot;booleanValue&quot;: True or False,
5215 &quot;doubleArray&quot;: {
5216 &quot;values&quot;: [
5217 3.14,
5218 ],
5219 },
5220 &quot;doubleValue&quot;: 3.14,
5221 &quot;intArray&quot;: {
5222 &quot;values&quot;: [
5223 &quot;A String&quot;,
5224 ],
5225 },
5226 &quot;intValue&quot;: &quot;A String&quot;,
5227 &quot;protoValue&quot;: {
5228 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5229 },
5230 &quot;stringArray&quot;: {
5231 &quot;values&quot;: [
5232 &quot;A String&quot;,
5233 ],
5234 },
5235 &quot;stringValue&quot;: &quot;A String&quot;,
5236 },
5237 },
5238 ],
5239 },
5240 &quot;teardownTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. Implementation class name.
5241 },
5242 ],
5243 },
5244 &quot;triggerConfigs&quot;: [ # Optional. Trigger configurations.
5245 { # Configuration detail of a trigger.
5246 &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.
5247 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
5248 &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.
5249 &quot;alertThreshold&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
5250 &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.
5251 &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.
5252 &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.
5253 &quot;metricType&quot;: &quot;A String&quot;, # The type of metric.
5254 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
5255 &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.
5256 &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.
5257 &quot;absolute&quot;: &quot;A String&quot;, # Absolute value threshold.
5258 &quot;percentage&quot;: 42, # Percentage threshold.
5259 },
5260 },
5261 ],
5262 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration # Optional. Cloud Scheduler Trigger related metadata
5263 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
5264 &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
5265 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
5266 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
5267 },
5268 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
5269 &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
5270 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
5271 &quot;names&quot;: [ # Optional. List of variable names.
5272 &quot;A String&quot;,
5273 ],
5274 },
5275 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular trigger.
5276 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. Dictates how next tasks will be executed.
5277 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
5278 &quot;names&quot;: [ # Optional. List of variable names.
5279 &quot;A String&quot;,
5280 ],
5281 },
5282 &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.
5283 &quot;x&quot;: 42, # Required. X axis of the coordinate
5284 &quot;y&quot;: 42, # Required. Y axis of the coordinate
5285 },
5286 &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.
5287 &quot;a_key&quot;: &quot;A String&quot;,
5288 },
5289 &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).
5290 { # The task that is next in line to be executed, if the condition specified evaluated to true.
5291 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
5292 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
5293 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
5294 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
5295 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
5296 },
5297 ],
5298 &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.
5299 &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}
5300 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the integration on UI.
5301 &quot;triggerType&quot;: &quot;A String&quot;, # Optional. Type of trigger
5302 },
5303 ],
5304 &quot;triggerConfigsInternal&quot;: [ # Optional. Trigger configurations.
5305 { # Configuration detail of a trigger. Next available id: 22
5306 &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.
5307 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
5308 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
5309 &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.
5310 &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.
5311 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration.
5312 &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.
5313 &quot;errorEnumList&quot;: { # List of error enums for alerts.
5314 &quot;enumStrings&quot;: [
5315 &quot;A String&quot;,
5316 ],
5317 &quot;filterType&quot;: &quot;A String&quot;,
5318 },
5319 &quot;metricType&quot;: &quot;A String&quot;,
5320 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
5321 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
5322 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
5323 &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.
5324 &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.
5325 &quot;absolute&quot;: &quot;A String&quot;,
5326 &quot;percentage&quot;: 42,
5327 },
5328 &quot;warningEnumList&quot;: { # List of error enums for alerts.
5329 &quot;enumStrings&quot;: [
5330 &quot;A String&quot;,
5331 ],
5332 &quot;filterType&quot;: &quot;A String&quot;,
5333 },
5334 },
5335 ],
5336 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration
5337 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
5338 &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
5339 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
5340 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
5341 },
5342 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
5343 &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.
5344 &quot;A String&quot;,
5345 ],
5346 &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
5347 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
5348 &quot;names&quot;: [ # Optional. List of variable names.
5349 &quot;A String&quot;,
5350 ],
5351 },
5352 &quot;label&quot;: &quot;A String&quot;, # The user created label for a particular trigger.
5353 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Dictates how next tasks will be executed.
5354 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
5355 &quot;names&quot;: [ # Optional. List of variable names.
5356 &quot;A String&quot;,
5357 ],
5358 },
5359 &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.
5360 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this trigger config on the UI.
5361 &quot;x&quot;: 42,
5362 &quot;y&quot;: 42,
5363 },
5364 &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.
5365 &quot;a_key&quot;: &quot;A String&quot;,
5366 },
5367 &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).
5368 { # The task that is next in line to be executed, if the condition specified evaluated to true.
5369 &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`
5370 { # This message recursively combines constituent conditions using logical AND.
5371 &quot;conditions&quot;: [ # A set of individual constituent conditions.
5372 { # Condition that uses `operator` to evaluate the key against the value.
5373 &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.
5374 &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.
5375 &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.
5376 &quot;booleanValue&quot;: True or False,
5377 &quot;doubleArray&quot;: {
5378 &quot;values&quot;: [
5379 3.14,
5380 ],
5381 },
5382 &quot;doubleValue&quot;: 3.14,
5383 &quot;intArray&quot;: {
5384 &quot;values&quot;: [
5385 &quot;A String&quot;,
5386 ],
5387 },
5388 &quot;intValue&quot;: &quot;A String&quot;,
5389 &quot;protoValue&quot;: {
5390 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5391 },
5392 &quot;stringArray&quot;: {
5393 &quot;values&quot;: [
5394 &quot;A String&quot;,
5395 ],
5396 },
5397 &quot;stringValue&quot;: &quot;A String&quot;,
5398 },
5399 },
5400 ],
5401 },
5402 ],
5403 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
5404 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
5405 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
5406 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
5407 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
5408 },
5409 ],
5410 &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.
5411 &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.
5412 &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.
5413 &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.
5414 { # Key-value pair of EventBus parameters.
5415 &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.
5416 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
5417 &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.
5418 &quot;booleanArray&quot;: {
5419 &quot;booleanValues&quot;: [
5420 True or False,
5421 ],
5422 },
5423 &quot;booleanValue&quot;: True or False,
5424 &quot;doubleArray&quot;: {
5425 &quot;doubleValues&quot;: [
5426 3.14,
5427 ],
5428 },
5429 &quot;doubleValue&quot;: 3.14,
5430 &quot;intArray&quot;: {
5431 &quot;intValues&quot;: [
5432 &quot;A String&quot;,
5433 ],
5434 },
5435 &quot;intValue&quot;: &quot;A String&quot;,
5436 &quot;protoArray&quot;: {
5437 &quot;protoValues&quot;: [
5438 {
5439 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5440 },
5441 ],
5442 },
5443 &quot;protoValue&quot;: {
5444 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5445 },
5446 &quot;serializedObjectValue&quot;: {
5447 &quot;objectValue&quot;: &quot;A String&quot;,
5448 },
5449 &quot;stringArray&quot;: {
5450 &quot;stringValues&quot;: [
5451 &quot;A String&quot;,
5452 ],
5453 },
5454 &quot;stringValue&quot;: &quot;A String&quot;,
5455 },
5456 },
5457 ],
5458 },
5459 &quot;triggerCriteriaTaskImplementationClassName&quot;: &quot;A String&quot;, # Optional. Implementation class name. The class should implement the “TypedTask” interface.
5460 },
5461 &quot;triggerId&quot;: &quot;A String&quot;, # The backend trigger ID.
5462 &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.
5463 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the workflow on UI.
5464 &quot;triggerType&quot;: &quot;A String&quot;,
5465 },
5466 ],
5467 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
5468 &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.
5469 }
5470
5471 updateMask: string, Field mask specifying the fields in the above integration that have been modified and need to be updated.
5472 x__xgafv: string, V1 error format.
5473 Allowed values
5474 1 - v1 error format
5475 2 - v2 error format
5476
5477 Returns:
5478 An object of the form:
5479
5480 { # The integration version definition.
5481 &quot;cloudKmsKey&quot;: &quot;A String&quot;, # Optional. Cloud KMS resource name for the CMEK encryption key.
5482 &quot;cloudLoggingDetails&quot;: { # Cloud Logging details for execution info # Optional. Cloud Logging details for the integration version
5483 &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.
5484 &quot;enableCloudLogging&quot;: True or False, # Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.
5485 },
5486 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
5487 &quot;createdFromTemplate&quot;: &quot;A String&quot;, # Optional. Optional. The resource name of the template from which the integration is created.
5488 &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.
5489 &quot;description&quot;: &quot;A String&quot;, # Optional. The integration description.
5490 &quot;enableVariableMasking&quot;: True or False, # Optional. True if variable masking feature should be turned on for this version
5491 &quot;errorCatcherConfigs&quot;: [ # Optional. Error Catch Task configuration for the integration. It&#x27;s optional.
5492 { # Configuration detail of a error catch task
5493 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give more business context about the error catcher config.
5494 &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
5495 &quot;errorCatcherNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each error catcher config within the workflow on UI.
5496 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular error catcher. Optional.
5497 &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.
5498 &quot;x&quot;: 42, # Required. X axis of the coordinate
5499 &quot;y&quot;: 42, # Required. Y axis of the coordinate
5500 },
5501 &quot;startErrorTasks&quot;: [ # Required. The set of start tasks that are to be executed for the error catch flow
5502 { # The task that is next in line to be executed, if the condition specified evaluated to true.
5503 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
5504 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
5505 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
5506 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
5507 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
5508 },
5509 ],
5510 },
5511 ],
5512 &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.
5513 { # 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.
5514 &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.
5515 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
5516 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
5517 &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.
5518 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
5519 &quot;booleanValues&quot;: [ # Boolean array.
5520 True or False,
5521 ],
5522 },
5523 &quot;booleanValue&quot;: True or False, # Boolean.
5524 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
5525 &quot;doubleValues&quot;: [ # Double number array.
5526 3.14,
5527 ],
5528 },
5529 &quot;doubleValue&quot;: 3.14, # Double Number.
5530 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
5531 &quot;intValues&quot;: [ # Integer array.
5532 &quot;A String&quot;,
5533 ],
5534 },
5535 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
5536 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
5537 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
5538 &quot;stringValues&quot;: [ # String array.
5539 &quot;A String&quot;,
5540 ],
5541 },
5542 &quot;stringValue&quot;: &quot;A String&quot;, # String.
5543 },
5544 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
5545 &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;.
5546 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
5547 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
5548 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
5549 &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.
5550 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
5551 &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.
5552 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
5553 },
5554 &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.
5555 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
5556 &quot;booleanValues&quot;: [ # Boolean array.
5557 True or False,
5558 ],
5559 },
5560 &quot;booleanValue&quot;: True or False, # Boolean.
5561 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
5562 &quot;doubleValues&quot;: [ # Double number array.
5563 3.14,
5564 ],
5565 },
5566 &quot;doubleValue&quot;: 3.14, # Double Number.
5567 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
5568 &quot;intValues&quot;: [ # Integer array.
5569 &quot;A String&quot;,
5570 ],
5571 },
5572 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
5573 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
5574 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
5575 &quot;stringValues&quot;: [ # String array.
5576 &quot;A String&quot;,
5577 ],
5578 },
5579 &quot;stringValue&quot;: &quot;A String&quot;, # String.
5580 },
5581 },
5582 ],
5583 &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.
5584 { # 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.
5585 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
5586 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
5587 &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.
5588 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
5589 &quot;booleanValues&quot;: [ # Boolean array.
5590 True or False,
5591 ],
5592 },
5593 &quot;booleanValue&quot;: True or False, # Boolean.
5594 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
5595 &quot;doubleValues&quot;: [ # Double number array.
5596 3.14,
5597 ],
5598 },
5599 &quot;doubleValue&quot;: 3.14, # Double Number.
5600 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
5601 &quot;intValues&quot;: [ # Integer array.
5602 &quot;A String&quot;,
5603 ],
5604 },
5605 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
5606 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
5607 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
5608 &quot;stringValues&quot;: [ # String array.
5609 &quot;A String&quot;,
5610 ],
5611 },
5612 &quot;stringValue&quot;: &quot;A String&quot;, # String.
5613 },
5614 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
5615 &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;.
5616 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
5617 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
5618 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
5619 &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.
5620 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
5621 &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.
5622 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
5623 },
5624 ],
5625 &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.
5626 &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.
5627 {
5628 &quot;attributes&quot;: { # Attributes are additional options that can be associated with each event property. For more information, see # Metadata information about the parameters.
5629 &quot;dataType&quot;: &quot;A String&quot;, # Things like URL, Email, Currency, Timestamp (rather than string, int64...)
5630 &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.
5631 &quot;booleanValue&quot;: True or False,
5632 &quot;doubleArray&quot;: {
5633 &quot;values&quot;: [
5634 3.14,
5635 ],
5636 },
5637 &quot;doubleValue&quot;: 3.14,
5638 &quot;intArray&quot;: {
5639 &quot;values&quot;: [
5640 &quot;A String&quot;,
5641 ],
5642 },
5643 &quot;intValue&quot;: &quot;A String&quot;,
5644 &quot;protoValue&quot;: {
5645 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5646 },
5647 &quot;stringArray&quot;: {
5648 &quot;values&quot;: [
5649 &quot;A String&quot;,
5650 ],
5651 },
5652 &quot;stringValue&quot;: &quot;A String&quot;,
5653 },
5654 &quot;isRequired&quot;: True or False, # Required for event execution. The validation will be done by the event bus when the event is triggered.
5655 &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.
5656 &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
5657 &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.
5658 &quot;seedPeriod&quot;: &quot;A String&quot;,
5659 &quot;seedScope&quot;: &quot;A String&quot;,
5660 },
5661 &quot;masked&quot;: True or False, # True if this workflow parameter should be masked in the logs
5662 &quot;readOnly&quot;: True or False, # Used to indicate if the ParameterEntry is a read only field or not.
5663 &quot;searchable&quot;: &quot;A String&quot;,
5664 &quot;taskVisibility&quot;: [ # List of tasks that can view this property, if empty then all.
5665 &quot;A String&quot;,
5666 ],
5667 },
5668 &quot;children&quot;: [ # Child parameters nested within this parameter. This field only applies to protobuf parameters
5669 # Object with schema name: EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
5670 ],
5671 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
5672 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
5673 &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.
5674 &quot;booleanArray&quot;: {
5675 &quot;booleanValues&quot;: [
5676 True or False,
5677 ],
5678 },
5679 &quot;booleanValue&quot;: True or False,
5680 &quot;doubleArray&quot;: {
5681 &quot;doubleValues&quot;: [
5682 3.14,
5683 ],
5684 },
5685 &quot;doubleValue&quot;: 3.14,
5686 &quot;intArray&quot;: {
5687 &quot;intValues&quot;: [
5688 &quot;A String&quot;,
5689 ],
5690 },
5691 &quot;intValue&quot;: &quot;A String&quot;,
5692 &quot;jsonValue&quot;: &quot;A String&quot;,
5693 &quot;protoArray&quot;: {
5694 &quot;protoValues&quot;: [
5695 {
5696 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5697 },
5698 ],
5699 },
5700 &quot;protoValue&quot;: {
5701 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5702 },
5703 &quot;serializedObjectValue&quot;: {
5704 &quot;objectValue&quot;: &quot;A String&quot;,
5705 },
5706 &quot;stringArray&quot;: {
5707 &quot;stringValues&quot;: [
5708 &quot;A String&quot;,
5709 ],
5710 },
5711 &quot;stringValue&quot;: &quot;A String&quot;,
5712 },
5713 &quot;description&quot;: &quot;A String&quot;, # Optional. The description about the parameter
5714 &quot;inOutType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
5715 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
5716 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
5717 &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.
5718 &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;.
5719 &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.
5720 &quot;elementIdentifier&quot;: &quot;A String&quot;, # Configuration of the edge.
5721 &quot;elementType&quot;: &quot;A String&quot;, # Destination node where the edge ends. It can only be a task config.
5722 },
5723 &quot;producer&quot;: &quot;A String&quot;,
5724 &quot;protoDefName&quot;: &quot;A String&quot;, # The name of the protobuf type if the parameter has a protobuf data type.
5725 &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;.
5726 &quot;required&quot;: True or False,
5727 },
5728 ],
5729 },
5730 &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.
5731 &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.
5732 &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
5733 &quot;origin&quot;: &quot;A String&quot;, # Optional. The origin that indicates where this integration is coming from.
5734 &quot;parentTemplateId&quot;: &quot;A String&quot;, # Optional. The id of the template which was used to create this integration_version.
5735 &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.
5736 &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.
5737 &quot;state&quot;: &quot;A String&quot;, # Output only. User should not set it as an input.
5738 &quot;status&quot;: &quot;A String&quot;, # Output only. Generated by eventbus. User should not set it as an input.
5739 &quot;taskConfigs&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
5740 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
5741 &quot;conditionalFailurePolicies&quot;: { # Conditional task failur retry strategies # Optional. The list of conditional failure policies that will be applied to the task in order.
5742 &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.
5743 &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.
5744 &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.
5745 &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.
5746 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
5747 },
5748 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
5749 { # 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).
5750 &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.
5751 &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.
5752 &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.
5753 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
5754 },
5755 ],
5756 },
5757 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
5758 &quot;displayName&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to this TaskConfig in the UI.
5759 &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
5760 &quot;externalTaskType&quot;: &quot;A String&quot;, # Optional. External task type of the task
5761 &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.).
5762 &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.
5763 &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.
5764 &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.
5765 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
5766 },
5767 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # Optional. If set, overrides the option configured in the Task implementation class.
5768 &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.
5769 { # The task that is next in line to be executed, if the condition specified evaluated to true.
5770 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
5771 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
5772 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
5773 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
5774 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
5775 },
5776 ],
5777 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution of the next set of tasks for the current task.
5778 &quot;parameters&quot;: { # Optional. The customized parameters the user can pass to this task.
5779 &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
5780 &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.
5781 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
5782 &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.
5783 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
5784 &quot;booleanValues&quot;: [ # Boolean array.
5785 True or False,
5786 ],
5787 },
5788 &quot;booleanValue&quot;: True or False, # Boolean.
5789 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
5790 &quot;doubleValues&quot;: [ # Double number array.
5791 3.14,
5792 ],
5793 },
5794 &quot;doubleValue&quot;: 3.14, # Double Number.
5795 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
5796 &quot;intValues&quot;: [ # Integer array.
5797 &quot;A String&quot;,
5798 ],
5799 },
5800 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
5801 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
5802 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
5803 &quot;stringValues&quot;: [ # String array.
5804 &quot;A String&quot;,
5805 ],
5806 },
5807 &quot;stringValue&quot;: &quot;A String&quot;, # String.
5808 },
5809 },
5810 },
5811 &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.
5812 &quot;x&quot;: 42, # Required. X axis of the coordinate
5813 &quot;y&quot;: 42, # Required. Y axis of the coordinate
5814 },
5815 &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.
5816 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
5817 },
5818 &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).
5819 &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.
5820 &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.
5821 &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.
5822 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
5823 },
5824 &quot;task&quot;: &quot;A String&quot;, # Optional. The name for the task.
5825 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution strategy of this task.
5826 &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`).
5827 &quot;taskTemplate&quot;: &quot;A String&quot;, # Optional. Used to define task-template name if task is of type task-template
5828 },
5829 ],
5830 &quot;taskConfigsInternal&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
5831 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
5832 &quot;alertConfigs&quot;: [ # Alert configurations on error rate, warning rate, number of runs, durations, etc.
5833 { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event.
5834 &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).
5835 &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.
5836 &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.
5837 &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.
5838 &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.
5839 &quot;errorEnumList&quot;: { # List of error enums for alerts.
5840 &quot;enumStrings&quot;: [
5841 &quot;A String&quot;,
5842 ],
5843 &quot;filterType&quot;: &quot;A String&quot;,
5844 },
5845 &quot;metricType&quot;: &quot;A String&quot;,
5846 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
5847 &quot;onlyFinalAttempt&quot;: True or False, # Only count final task attempts, not retries.
5848 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
5849 &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.
5850 &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.
5851 &quot;absolute&quot;: &quot;A String&quot;,
5852 &quot;percentage&quot;: 42,
5853 },
5854 &quot;warningEnumList&quot;: { # List of error enums for alerts.
5855 &quot;enumStrings&quot;: [
5856 &quot;A String&quot;,
5857 ],
5858 &quot;filterType&quot;: &quot;A String&quot;,
5859 },
5860 },
5861 ],
5862 &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).
5863 &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
5864 &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.
5865 &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.
5866 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
5867 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
5868 },
5869 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
5870 { # 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).
5871 &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.
5872 &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.
5873 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
5874 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
5875 },
5876 ],
5877 },
5878 &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
5879 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address. Auto-generated from the user&#x27;s email.
5880 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
5881 &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.
5882 &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
5883 &quot;externalTaskType&quot;: &quot;A String&quot;,
5884 &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.).
5885 &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.
5886 &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.
5887 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
5888 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
5889 },
5890 &quot;incomingEdgeCount&quot;: 42, # The number of edges leading into this TaskConfig.
5891 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # If set, overrides the option configured in the Task implementation class.
5892 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this TaskConfig in the UI.
5893 &quot;lastModifiedTime&quot;: &quot;A String&quot;, # Auto-generated.
5894 &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.
5895 { # The task that is next in line to be executed, if the condition specified evaluated to true.
5896 &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`
5897 { # This message recursively combines constituent conditions using logical AND.
5898 &quot;conditions&quot;: [ # A set of individual constituent conditions.
5899 { # Condition that uses `operator` to evaluate the key against the value.
5900 &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.
5901 &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.
5902 &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.
5903 &quot;booleanValue&quot;: True or False,
5904 &quot;doubleArray&quot;: {
5905 &quot;values&quot;: [
5906 3.14,
5907 ],
5908 },
5909 &quot;doubleValue&quot;: 3.14,
5910 &quot;intArray&quot;: {
5911 &quot;values&quot;: [
5912 &quot;A String&quot;,
5913 ],
5914 },
5915 &quot;intValue&quot;: &quot;A String&quot;,
5916 &quot;protoValue&quot;: {
5917 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5918 },
5919 &quot;stringArray&quot;: {
5920 &quot;values&quot;: [
5921 &quot;A String&quot;,
5922 ],
5923 },
5924 &quot;stringValue&quot;: &quot;A String&quot;,
5925 },
5926 },
5927 ],
5928 },
5929 ],
5930 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
5931 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
5932 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
5933 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
5934 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
5935 },
5936 ],
5937 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # The policy dictating the execution of the next set of tasks for the current task.
5938 &quot;parameters&quot;: { # The customized parameters the user can pass to this task.
5939 &quot;a_key&quot;: { # Key-value pair of EventBus parameters.
5940 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
5941 &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.
5942 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
5943 &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.
5944 &quot;booleanArray&quot;: {
5945 &quot;booleanValues&quot;: [
5946 True or False,
5947 ],
5948 },
5949 &quot;booleanValue&quot;: True or False,
5950 &quot;doubleArray&quot;: {
5951 &quot;doubleValues&quot;: [
5952 3.14,
5953 ],
5954 },
5955 &quot;doubleValue&quot;: 3.14,
5956 &quot;intArray&quot;: {
5957 &quot;intValues&quot;: [
5958 &quot;A String&quot;,
5959 ],
5960 },
5961 &quot;intValue&quot;: &quot;A String&quot;,
5962 &quot;jsonValue&quot;: &quot;A String&quot;,
5963 &quot;protoArray&quot;: {
5964 &quot;protoValues&quot;: [
5965 {
5966 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5967 },
5968 ],
5969 },
5970 &quot;protoValue&quot;: {
5971 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5972 },
5973 &quot;serializedObjectValue&quot;: {
5974 &quot;objectValue&quot;: &quot;A String&quot;,
5975 },
5976 &quot;stringArray&quot;: {
5977 &quot;stringValues&quot;: [
5978 &quot;A String&quot;,
5979 ],
5980 },
5981 &quot;stringValue&quot;: &quot;A String&quot;,
5982 },
5983 },
5984 },
5985 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this task config on the UI.
5986 &quot;x&quot;: 42,
5987 &quot;y&quot;: 42,
5988 },
5989 &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.
5990 &quot;preconditionLabel&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to precondition in the UI.
5991 &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).
5992 &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.
5993 &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.
5994 { # Key-value pair of EventBus parameters.
5995 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
5996 &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.
5997 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
5998 &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.
5999 &quot;booleanArray&quot;: {
6000 &quot;booleanValues&quot;: [
6001 True or False,
6002 ],
6003 },
6004 &quot;booleanValue&quot;: True or False,
6005 &quot;doubleArray&quot;: {
6006 &quot;doubleValues&quot;: [
6007 3.14,
6008 ],
6009 },
6010 &quot;doubleValue&quot;: 3.14,
6011 &quot;intArray&quot;: {
6012 &quot;intValues&quot;: [
6013 &quot;A String&quot;,
6014 ],
6015 },
6016 &quot;intValue&quot;: &quot;A String&quot;,
6017 &quot;jsonValue&quot;: &quot;A String&quot;,
6018 &quot;protoArray&quot;: {
6019 &quot;protoValues&quot;: [
6020 {
6021 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6022 },
6023 ],
6024 },
6025 &quot;protoValue&quot;: {
6026 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6027 },
6028 &quot;serializedObjectValue&quot;: {
6029 &quot;objectValue&quot;: &quot;A String&quot;,
6030 },
6031 &quot;stringArray&quot;: {
6032 &quot;stringValues&quot;: [
6033 &quot;A String&quot;,
6034 ],
6035 },
6036 &quot;stringValue&quot;: &quot;A String&quot;,
6037 },
6038 },
6039 ],
6040 },
6041 &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.
6042 &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.
6043 &quot;A String&quot;,
6044 ],
6045 },
6046 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Determines what action to take upon successful task completion.
6047 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
6048 },
6049 &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).
6050 &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.
6051 &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.
6052 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
6053 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
6054 },
6055 &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.
6056 &quot;disabledForVpcSc&quot;: True or False, # True if the task has conflict with vpcsc
6057 &quot;metadata&quot;: { # TaskMetadata are attributes that are associated to every common Task we have. # Metadata inclueds the task name, author and so on.
6058 &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.
6059 &quot;admins&quot;: [
6060 { # 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.
6061 &quot;googleGroupEmail&quot;: &quot;A String&quot;,
6062 &quot;userEmail&quot;: &quot;A String&quot;,
6063 },
6064 ],
6065 &quot;category&quot;: &quot;A String&quot;,
6066 &quot;codeSearchLink&quot;: &quot;A String&quot;, # The Code Search link to the Task Java file.
6067 &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.
6068 &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.
6069 &quot;description&quot;: &quot;A String&quot;, # In a few sentences, describe the purpose and usage of the task.
6070 &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;)
6071 &quot;docMarkdown&quot;: &quot;A String&quot;, # Snippet of markdown documentation to embed in the RHP for this task.
6072 &quot;externalCategory&quot;: &quot;A String&quot;,
6073 &quot;externalCategorySequence&quot;: 42, # Sequence with which the task in specific category to be displayed in task discovery panel for external users.
6074 &quot;externalDocHtml&quot;: &quot;A String&quot;, # External-facing documention embedded in the RHP for this task.
6075 &quot;externalDocLink&quot;: &quot;A String&quot;, # Doc link for external-facing documentation (separate from g3doc).
6076 &quot;externalDocMarkdown&quot;: &quot;A String&quot;, # DEPRECATED: Use external_doc_html.
6077 &quot;g3DocLink&quot;: &quot;A String&quot;, # URL to the associated G3 Doc for the task if available
6078 &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.
6079 &quot;isDeprecated&quot;: True or False, # The deprecation status of the current task. Default value is false;
6080 &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.
6081 &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
6082 &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.
6083 &quot;system&quot;: &quot;A String&quot;,
6084 &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.
6085 &quot;A String&quot;,
6086 ],
6087 },
6088 &quot;paramSpecs&quot;: { # Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask.
6089 &quot;parameters&quot;: [
6090 { # Key-value pair of EventBus task parameters. Next id: 13
6091 &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.
6092 &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.
6093 &quot;config&quot;: { # Optional fields, such as help text and other useful info.
6094 &quot;descriptivePhrase&quot;: &quot;A String&quot;, # A short phrase to describe what this parameter contains.
6095 &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.
6096 &quot;hideDefaultValue&quot;: True or False, # Whether the default value is hidden in the UI.
6097 &quot;inputDisplayOption&quot;: &quot;A String&quot;,
6098 &quot;isHidden&quot;: True or False, # Whether this field is hidden in the UI.
6099 &quot;label&quot;: &quot;A String&quot;, # A user-friendly label for the parameter.
6100 &quot;parameterNameOption&quot;: &quot;A String&quot;,
6101 &quot;subSectionLabel&quot;: &quot;A String&quot;, # A user-friendly label for subSection under which the parameter will be displayed.
6102 &quot;uiPlaceholderText&quot;: &quot;A String&quot;, # Placeholder text which will appear in the UI input form for this parameter.
6103 },
6104 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
6105 &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.
6106 &quot;booleanArray&quot;: {
6107 &quot;booleanValues&quot;: [
6108 True or False,
6109 ],
6110 },
6111 &quot;booleanValue&quot;: True or False,
6112 &quot;doubleArray&quot;: {
6113 &quot;doubleValues&quot;: [
6114 3.14,
6115 ],
6116 },
6117 &quot;doubleValue&quot;: 3.14,
6118 &quot;intArray&quot;: {
6119 &quot;intValues&quot;: [
6120 &quot;A String&quot;,
6121 ],
6122 },
6123 &quot;intValue&quot;: &quot;A String&quot;,
6124 &quot;jsonValue&quot;: &quot;A String&quot;,
6125 &quot;protoArray&quot;: {
6126 &quot;protoValues&quot;: [
6127 {
6128 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6129 },
6130 ],
6131 },
6132 &quot;protoValue&quot;: {
6133 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6134 },
6135 &quot;serializedObjectValue&quot;: {
6136 &quot;objectValue&quot;: &quot;A String&quot;,
6137 },
6138 &quot;stringArray&quot;: {
6139 &quot;stringValues&quot;: [
6140 &quot;A String&quot;,
6141 ],
6142 },
6143 &quot;stringValue&quot;: &quot;A String&quot;,
6144 },
6145 &quot;isDeprecated&quot;: True or False, # If set, this entry is deprecated, so further use of this parameter should be prohibited.
6146 &quot;isOutput&quot;: True or False,
6147 &quot;jsonSchema&quot;: &quot;A String&quot;, # If the data_type is JSON_VALUE, then this will define its schema.
6148 &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.
6149 &quot;protoDef&quot;: { # Populated if this represents a proto or proto array.
6150 &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;.
6151 &quot;path&quot;: &quot;A String&quot;, # Path to the proto file that contains the message type&#x27;s definition.
6152 },
6153 &quot;required&quot;: True or False, # If set, the user must provide an input value for this parameter.
6154 &quot;validationRule&quot;: { # Rule used to validate inputs (individual values and collection elements) for this parameter.
6155 &quot;doubleRange&quot;: { # Range used to validate doubles and floats.
6156 &quot;max&quot;: 3.14, # The inclusive maximum of the acceptable range.
6157 &quot;min&quot;: 3.14, # The inclusive minimum of the acceptable range.
6158 },
6159 &quot;intRange&quot;: { # Range used to validate longs and ints.
6160 &quot;max&quot;: &quot;A String&quot;, # The inclusive maximum of the acceptable range.
6161 &quot;min&quot;: &quot;A String&quot;, # The inclusive minimum of the acceptable range.
6162 },
6163 &quot;stringRegex&quot;: { # Rule used to validate strings.
6164 &quot;exclusive&quot;: True or False, # Whether the regex matcher is applied exclusively (if true, matching values will be rejected).
6165 &quot;regex&quot;: &quot;A String&quot;, # The regex applied to the input value(s).
6166 },
6167 },
6168 },
6169 ],
6170 },
6171 &quot;stats&quot;: { # Stats for the requested dimensions: QPS, duration, and error/warning rate # Deprecated - statistics from the Monarch query.
6172 &quot;dimensions&quot;: { # Dimensions that these stats have been aggregated on.
6173 &quot;clientId&quot;: &quot;A String&quot;,
6174 &quot;enumFilterType&quot;: &quot;A String&quot;, # Whether to include or exclude the enums matching the regex.
6175 &quot;errorEnumString&quot;: &quot;A String&quot;,
6176 &quot;retryAttempt&quot;: &quot;A String&quot;,
6177 &quot;taskName&quot;: &quot;A String&quot;,
6178 &quot;taskNumber&quot;: &quot;A String&quot;,
6179 &quot;triggerId&quot;: &quot;A String&quot;, # Stats have been or will be aggregated on set fields for any semantically-meaningful combination.
6180 &quot;warningEnumString&quot;: &quot;A String&quot;,
6181 &quot;workflowId&quot;: &quot;A String&quot;,
6182 &quot;workflowName&quot;: &quot;A String&quot;,
6183 },
6184 &quot;durationInSeconds&quot;: 3.14, # Average duration in seconds.
6185 &quot;errorRate&quot;: 3.14, # Average error rate.
6186 &quot;qps&quot;: 3.14, # Queries per second.
6187 &quot;warningRate&quot;: 3.14, # Average warning rate.
6188 },
6189 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
6190 &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.
6191 &quot;taskUiModuleConfigs&quot;: [ # Configurations of included config modules.
6192 { # Task author would use this type to configure a config module.
6193 &quot;moduleId&quot;: &quot;A String&quot;, # ID of the config module.
6194 },
6195 ],
6196 },
6197 },
6198 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # The policy dictating the execution strategy of this task.
6199 &quot;taskName&quot;: &quot;A String&quot;, # The name for the task.
6200 &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`).
6201 &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.
6202 &quot;taskTemplateName&quot;: &quot;A String&quot;, # Used to define task-template name if task is of type task-template
6203 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
6204 },
6205 ],
6206 &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.
6207 &quot;teardownTaskConfigs&quot;: [ # Required.
6208 {
6209 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address.
6210 &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.
6211 &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).
6212 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the next teardown task.
6213 },
6214 &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.
6215 &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.
6216 { # Key-value pair of EventBus parameters.
6217 &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.
6218 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
6219 &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.
6220 &quot;booleanArray&quot;: {
6221 &quot;booleanValues&quot;: [
6222 True or False,
6223 ],
6224 },
6225 &quot;booleanValue&quot;: True or False,
6226 &quot;doubleArray&quot;: {
6227 &quot;doubleValues&quot;: [
6228 3.14,
6229 ],
6230 },
6231 &quot;doubleValue&quot;: 3.14,
6232 &quot;intArray&quot;: {
6233 &quot;intValues&quot;: [
6234 &quot;A String&quot;,
6235 ],
6236 },
6237 &quot;intValue&quot;: &quot;A String&quot;,
6238 &quot;protoArray&quot;: {
6239 &quot;protoValues&quot;: [
6240 {
6241 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6242 },
6243 ],
6244 },
6245 &quot;protoValue&quot;: {
6246 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6247 },
6248 &quot;serializedObjectValue&quot;: {
6249 &quot;objectValue&quot;: &quot;A String&quot;,
6250 },
6251 &quot;stringArray&quot;: {
6252 &quot;stringValues&quot;: [
6253 &quot;A String&quot;,
6254 ],
6255 },
6256 &quot;stringValue&quot;: &quot;A String&quot;,
6257 },
6258 },
6259 ],
6260 },
6261 &quot;properties&quot;: { # LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus.
6262 &quot;properties&quot;: [ # An unordered list of property entries.
6263 { # Key-value pair of EventBus property.
6264 &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.
6265 &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.
6266 &quot;booleanValue&quot;: True or False,
6267 &quot;doubleArray&quot;: {
6268 &quot;values&quot;: [
6269 3.14,
6270 ],
6271 },
6272 &quot;doubleValue&quot;: 3.14,
6273 &quot;intArray&quot;: {
6274 &quot;values&quot;: [
6275 &quot;A String&quot;,
6276 ],
6277 },
6278 &quot;intValue&quot;: &quot;A String&quot;,
6279 &quot;protoValue&quot;: {
6280 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6281 },
6282 &quot;stringArray&quot;: {
6283 &quot;values&quot;: [
6284 &quot;A String&quot;,
6285 ],
6286 },
6287 &quot;stringValue&quot;: &quot;A String&quot;,
6288 },
6289 },
6290 ],
6291 },
6292 &quot;teardownTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. Implementation class name.
6293 },
6294 ],
6295 },
6296 &quot;triggerConfigs&quot;: [ # Optional. Trigger configurations.
6297 { # Configuration detail of a trigger.
6298 &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.
6299 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
6300 &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.
6301 &quot;alertThreshold&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
6302 &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.
6303 &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.
6304 &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.
6305 &quot;metricType&quot;: &quot;A String&quot;, # The type of metric.
6306 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
6307 &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.
6308 &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.
6309 &quot;absolute&quot;: &quot;A String&quot;, # Absolute value threshold.
6310 &quot;percentage&quot;: 42, # Percentage threshold.
6311 },
6312 },
6313 ],
6314 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration # Optional. Cloud Scheduler Trigger related metadata
6315 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
6316 &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
6317 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
6318 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
6319 },
6320 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
6321 &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
6322 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
6323 &quot;names&quot;: [ # Optional. List of variable names.
6324 &quot;A String&quot;,
6325 ],
6326 },
6327 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular trigger.
6328 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. Dictates how next tasks will be executed.
6329 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
6330 &quot;names&quot;: [ # Optional. List of variable names.
6331 &quot;A String&quot;,
6332 ],
6333 },
6334 &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.
6335 &quot;x&quot;: 42, # Required. X axis of the coordinate
6336 &quot;y&quot;: 42, # Required. Y axis of the coordinate
6337 },
6338 &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.
6339 &quot;a_key&quot;: &quot;A String&quot;,
6340 },
6341 &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).
6342 { # The task that is next in line to be executed, if the condition specified evaluated to true.
6343 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
6344 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
6345 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
6346 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
6347 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
6348 },
6349 ],
6350 &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.
6351 &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}
6352 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the integration on UI.
6353 &quot;triggerType&quot;: &quot;A String&quot;, # Optional. Type of trigger
6354 },
6355 ],
6356 &quot;triggerConfigsInternal&quot;: [ # Optional. Trigger configurations.
6357 { # Configuration detail of a trigger. Next available id: 22
6358 &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.
6359 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
6360 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
6361 &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.
6362 &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.
6363 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration.
6364 &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.
6365 &quot;errorEnumList&quot;: { # List of error enums for alerts.
6366 &quot;enumStrings&quot;: [
6367 &quot;A String&quot;,
6368 ],
6369 &quot;filterType&quot;: &quot;A String&quot;,
6370 },
6371 &quot;metricType&quot;: &quot;A String&quot;,
6372 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
6373 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
6374 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
6375 &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.
6376 &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.
6377 &quot;absolute&quot;: &quot;A String&quot;,
6378 &quot;percentage&quot;: 42,
6379 },
6380 &quot;warningEnumList&quot;: { # List of error enums for alerts.
6381 &quot;enumStrings&quot;: [
6382 &quot;A String&quot;,
6383 ],
6384 &quot;filterType&quot;: &quot;A String&quot;,
6385 },
6386 },
6387 ],
6388 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration
6389 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
6390 &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
6391 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
6392 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
6393 },
6394 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
6395 &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.
6396 &quot;A String&quot;,
6397 ],
6398 &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
6399 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
6400 &quot;names&quot;: [ # Optional. List of variable names.
6401 &quot;A String&quot;,
6402 ],
6403 },
6404 &quot;label&quot;: &quot;A String&quot;, # The user created label for a particular trigger.
6405 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Dictates how next tasks will be executed.
6406 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
6407 &quot;names&quot;: [ # Optional. List of variable names.
6408 &quot;A String&quot;,
6409 ],
6410 },
6411 &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.
6412 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this trigger config on the UI.
6413 &quot;x&quot;: 42,
6414 &quot;y&quot;: 42,
6415 },
6416 &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.
6417 &quot;a_key&quot;: &quot;A String&quot;,
6418 },
6419 &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).
6420 { # The task that is next in line to be executed, if the condition specified evaluated to true.
6421 &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`
6422 { # This message recursively combines constituent conditions using logical AND.
6423 &quot;conditions&quot;: [ # A set of individual constituent conditions.
6424 { # Condition that uses `operator` to evaluate the key against the value.
6425 &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.
6426 &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.
6427 &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.
6428 &quot;booleanValue&quot;: True or False,
6429 &quot;doubleArray&quot;: {
6430 &quot;values&quot;: [
6431 3.14,
6432 ],
6433 },
6434 &quot;doubleValue&quot;: 3.14,
6435 &quot;intArray&quot;: {
6436 &quot;values&quot;: [
6437 &quot;A String&quot;,
6438 ],
6439 },
6440 &quot;intValue&quot;: &quot;A String&quot;,
6441 &quot;protoValue&quot;: {
6442 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6443 },
6444 &quot;stringArray&quot;: {
6445 &quot;values&quot;: [
6446 &quot;A String&quot;,
6447 ],
6448 },
6449 &quot;stringValue&quot;: &quot;A String&quot;,
6450 },
6451 },
6452 ],
6453 },
6454 ],
6455 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
6456 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
6457 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
6458 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
6459 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
6460 },
6461 ],
6462 &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.
6463 &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.
6464 &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.
6465 &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.
6466 { # Key-value pair of EventBus parameters.
6467 &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.
6468 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
6469 &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.
6470 &quot;booleanArray&quot;: {
6471 &quot;booleanValues&quot;: [
6472 True or False,
6473 ],
6474 },
6475 &quot;booleanValue&quot;: True or False,
6476 &quot;doubleArray&quot;: {
6477 &quot;doubleValues&quot;: [
6478 3.14,
6479 ],
6480 },
6481 &quot;doubleValue&quot;: 3.14,
6482 &quot;intArray&quot;: {
6483 &quot;intValues&quot;: [
6484 &quot;A String&quot;,
6485 ],
6486 },
6487 &quot;intValue&quot;: &quot;A String&quot;,
6488 &quot;protoArray&quot;: {
6489 &quot;protoValues&quot;: [
6490 {
6491 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6492 },
6493 ],
6494 },
6495 &quot;protoValue&quot;: {
6496 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6497 },
6498 &quot;serializedObjectValue&quot;: {
6499 &quot;objectValue&quot;: &quot;A String&quot;,
6500 },
6501 &quot;stringArray&quot;: {
6502 &quot;stringValues&quot;: [
6503 &quot;A String&quot;,
6504 ],
6505 },
6506 &quot;stringValue&quot;: &quot;A String&quot;,
6507 },
6508 },
6509 ],
6510 },
6511 &quot;triggerCriteriaTaskImplementationClassName&quot;: &quot;A String&quot;, # Optional. Implementation class name. The class should implement the “TypedTask” interface.
6512 },
6513 &quot;triggerId&quot;: &quot;A String&quot;, # The backend trigger ID.
6514 &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.
6515 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the workflow on UI.
6516 &quot;triggerType&quot;: &quot;A String&quot;,
6517 },
6518 ],
6519 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
6520 &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.
6521 }</pre>
6522 </div>
6523
6524 <div class="method">
6525 <code class="details" id="publish">publish(name, body=None, x__xgafv=None)</code>
6526 <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.
6527
6528 Args:
6529 name: string, Required. The version to publish. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version} (required)
6530 body: object, The request body.
6531 The object takes the form of:
6532
6533 { # Request for PublishIntegrationVersion.
6534 &quot;configParameters&quot;: { # Optional. Config parameters used during integration execution.
6535 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
6536 },
6537 }
6538
6539 x__xgafv: string, V1 error format.
6540 Allowed values
6541 1 - v1 error format
6542 2 - v2 error format
6543
6544 Returns:
6545 An object of the form:
6546
6547 { # Response for PublishIntegrationVersion.
6548 }</pre>
6549 </div>
6550
6551 <div class="method">
6552 <code class="details" id="takeoverEditLock">takeoverEditLock(integrationVersion, body=None, x__xgafv=None)</code>
6553 <pre>Clears the `locked_by` and `locked_at_timestamp`in the DRAFT version of this integration. It then performs the same action as the CreateDraftIntegrationVersion (i.e., copies the DRAFT version of the integration as a SNAPSHOT and then creates a new DRAFT version with the `locked_by` set to the `user_taking_over` and the `locked_at_timestamp` set to the current timestamp). Both the `locked_by` and `user_taking_over` are notified via email about the takeover. This RPC throws an exception if the integration is not in DRAFT status or if the `locked_by` and `locked_at_timestamp` fields are not set.The TakeoverEdit lock is treated the same as an edit of the integration, and hence shares ACLs with edit. Audit fields updated include last_modified_timestamp, last_modified_by.
6554
6555 Args:
6556 integrationVersion: string, Required. The version to take over edit lock. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version} (required)
6557 body: object, The request body.
6558 The object takes the form of:
6559
6560 { # Request for TakeoverEditLock.
6561 }
6562
6563 x__xgafv: string, V1 error format.
6564 Allowed values
6565 1 - v1 error format
6566 2 - v2 error format
6567
6568 Returns:
6569 An object of the form:
6570
6571 { # Response for TakeoverEditLock.
6572 &quot;integrationVersion&quot;: { # The integration version definition. # Version after the lock is acquired by the new user.
6573 &quot;cloudKmsKey&quot;: &quot;A String&quot;, # Optional. Cloud KMS resource name for the CMEK encryption key.
6574 &quot;cloudLoggingDetails&quot;: { # Cloud Logging details for execution info # Optional. Cloud Logging details for the integration version
6575 &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.
6576 &quot;enableCloudLogging&quot;: True or False, # Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.
6577 },
6578 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
6579 &quot;createdFromTemplate&quot;: &quot;A String&quot;, # Optional. Optional. The resource name of the template from which the integration is created.
6580 &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.
6581 &quot;description&quot;: &quot;A String&quot;, # Optional. The integration description.
6582 &quot;enableVariableMasking&quot;: True or False, # Optional. True if variable masking feature should be turned on for this version
6583 &quot;errorCatcherConfigs&quot;: [ # Optional. Error Catch Task configuration for the integration. It&#x27;s optional.
6584 { # Configuration detail of a error catch task
6585 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give more business context about the error catcher config.
6586 &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
6587 &quot;errorCatcherNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each error catcher config within the workflow on UI.
6588 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular error catcher. Optional.
6589 &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.
6590 &quot;x&quot;: 42, # Required. X axis of the coordinate
6591 &quot;y&quot;: 42, # Required. Y axis of the coordinate
6592 },
6593 &quot;startErrorTasks&quot;: [ # Required. The set of start tasks that are to be executed for the error catch flow
6594 { # The task that is next in line to be executed, if the condition specified evaluated to true.
6595 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
6596 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
6597 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
6598 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
6599 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
6600 },
6601 ],
6602 },
6603 ],
6604 &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.
6605 { # 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.
6606 &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.
6607 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
6608 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
6609 &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.
6610 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
6611 &quot;booleanValues&quot;: [ # Boolean array.
6612 True or False,
6613 ],
6614 },
6615 &quot;booleanValue&quot;: True or False, # Boolean.
6616 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
6617 &quot;doubleValues&quot;: [ # Double number array.
6618 3.14,
6619 ],
6620 },
6621 &quot;doubleValue&quot;: 3.14, # Double Number.
6622 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
6623 &quot;intValues&quot;: [ # Integer array.
6624 &quot;A String&quot;,
6625 ],
6626 },
6627 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
6628 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
6629 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
6630 &quot;stringValues&quot;: [ # String array.
6631 &quot;A String&quot;,
6632 ],
6633 },
6634 &quot;stringValue&quot;: &quot;A String&quot;, # String.
6635 },
6636 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
6637 &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;.
6638 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
6639 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
6640 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
6641 &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.
6642 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
6643 &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.
6644 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
6645 },
6646 &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.
6647 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
6648 &quot;booleanValues&quot;: [ # Boolean array.
6649 True or False,
6650 ],
6651 },
6652 &quot;booleanValue&quot;: True or False, # Boolean.
6653 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
6654 &quot;doubleValues&quot;: [ # Double number array.
6655 3.14,
6656 ],
6657 },
6658 &quot;doubleValue&quot;: 3.14, # Double Number.
6659 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
6660 &quot;intValues&quot;: [ # Integer array.
6661 &quot;A String&quot;,
6662 ],
6663 },
6664 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
6665 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
6666 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
6667 &quot;stringValues&quot;: [ # String array.
6668 &quot;A String&quot;,
6669 ],
6670 },
6671 &quot;stringValue&quot;: &quot;A String&quot;, # String.
6672 },
6673 },
6674 ],
6675 &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.
6676 { # 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.
6677 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
6678 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
6679 &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.
6680 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
6681 &quot;booleanValues&quot;: [ # Boolean array.
6682 True or False,
6683 ],
6684 },
6685 &quot;booleanValue&quot;: True or False, # Boolean.
6686 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
6687 &quot;doubleValues&quot;: [ # Double number array.
6688 3.14,
6689 ],
6690 },
6691 &quot;doubleValue&quot;: 3.14, # Double Number.
6692 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
6693 &quot;intValues&quot;: [ # Integer array.
6694 &quot;A String&quot;,
6695 ],
6696 },
6697 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
6698 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
6699 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
6700 &quot;stringValues&quot;: [ # String array.
6701 &quot;A String&quot;,
6702 ],
6703 },
6704 &quot;stringValue&quot;: &quot;A String&quot;, # String.
6705 },
6706 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
6707 &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;.
6708 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
6709 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
6710 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
6711 &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.
6712 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
6713 &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.
6714 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
6715 },
6716 ],
6717 &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.
6718 &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.
6719 {
6720 &quot;attributes&quot;: { # Attributes are additional options that can be associated with each event property. For more information, see # Metadata information about the parameters.
6721 &quot;dataType&quot;: &quot;A String&quot;, # Things like URL, Email, Currency, Timestamp (rather than string, int64...)
6722 &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.
6723 &quot;booleanValue&quot;: True or False,
6724 &quot;doubleArray&quot;: {
6725 &quot;values&quot;: [
6726 3.14,
6727 ],
6728 },
6729 &quot;doubleValue&quot;: 3.14,
6730 &quot;intArray&quot;: {
6731 &quot;values&quot;: [
6732 &quot;A String&quot;,
6733 ],
6734 },
6735 &quot;intValue&quot;: &quot;A String&quot;,
6736 &quot;protoValue&quot;: {
6737 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6738 },
6739 &quot;stringArray&quot;: {
6740 &quot;values&quot;: [
6741 &quot;A String&quot;,
6742 ],
6743 },
6744 &quot;stringValue&quot;: &quot;A String&quot;,
6745 },
6746 &quot;isRequired&quot;: True or False, # Required for event execution. The validation will be done by the event bus when the event is triggered.
6747 &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.
6748 &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
6749 &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.
6750 &quot;seedPeriod&quot;: &quot;A String&quot;,
6751 &quot;seedScope&quot;: &quot;A String&quot;,
6752 },
6753 &quot;masked&quot;: True or False, # True if this workflow parameter should be masked in the logs
6754 &quot;readOnly&quot;: True or False, # Used to indicate if the ParameterEntry is a read only field or not.
6755 &quot;searchable&quot;: &quot;A String&quot;,
6756 &quot;taskVisibility&quot;: [ # List of tasks that can view this property, if empty then all.
6757 &quot;A String&quot;,
6758 ],
6759 },
6760 &quot;children&quot;: [ # Child parameters nested within this parameter. This field only applies to protobuf parameters
6761 # Object with schema name: EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
6762 ],
6763 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
6764 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
6765 &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.
6766 &quot;booleanArray&quot;: {
6767 &quot;booleanValues&quot;: [
6768 True or False,
6769 ],
6770 },
6771 &quot;booleanValue&quot;: True or False,
6772 &quot;doubleArray&quot;: {
6773 &quot;doubleValues&quot;: [
6774 3.14,
6775 ],
6776 },
6777 &quot;doubleValue&quot;: 3.14,
6778 &quot;intArray&quot;: {
6779 &quot;intValues&quot;: [
6780 &quot;A String&quot;,
6781 ],
6782 },
6783 &quot;intValue&quot;: &quot;A String&quot;,
6784 &quot;jsonValue&quot;: &quot;A String&quot;,
6785 &quot;protoArray&quot;: {
6786 &quot;protoValues&quot;: [
6787 {
6788 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6789 },
6790 ],
6791 },
6792 &quot;protoValue&quot;: {
6793 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6794 },
6795 &quot;serializedObjectValue&quot;: {
6796 &quot;objectValue&quot;: &quot;A String&quot;,
6797 },
6798 &quot;stringArray&quot;: {
6799 &quot;stringValues&quot;: [
6800 &quot;A String&quot;,
6801 ],
6802 },
6803 &quot;stringValue&quot;: &quot;A String&quot;,
6804 },
6805 &quot;description&quot;: &quot;A String&quot;, # Optional. The description about the parameter
6806 &quot;inOutType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
6807 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
6808 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
6809 &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.
6810 &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;.
6811 &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.
6812 &quot;elementIdentifier&quot;: &quot;A String&quot;, # Configuration of the edge.
6813 &quot;elementType&quot;: &quot;A String&quot;, # Destination node where the edge ends. It can only be a task config.
6814 },
6815 &quot;producer&quot;: &quot;A String&quot;,
6816 &quot;protoDefName&quot;: &quot;A String&quot;, # The name of the protobuf type if the parameter has a protobuf data type.
6817 &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;.
6818 &quot;required&quot;: True or False,
6819 },
6820 ],
6821 },
6822 &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.
6823 &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.
6824 &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
6825 &quot;origin&quot;: &quot;A String&quot;, # Optional. The origin that indicates where this integration is coming from.
6826 &quot;parentTemplateId&quot;: &quot;A String&quot;, # Optional. The id of the template which was used to create this integration_version.
6827 &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.
6828 &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.
6829 &quot;state&quot;: &quot;A String&quot;, # Output only. User should not set it as an input.
6830 &quot;status&quot;: &quot;A String&quot;, # Output only. Generated by eventbus. User should not set it as an input.
6831 &quot;taskConfigs&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
6832 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
6833 &quot;conditionalFailurePolicies&quot;: { # Conditional task failur retry strategies # Optional. The list of conditional failure policies that will be applied to the task in order.
6834 &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.
6835 &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.
6836 &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.
6837 &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.
6838 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
6839 },
6840 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
6841 { # 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).
6842 &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.
6843 &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.
6844 &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.
6845 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
6846 },
6847 ],
6848 },
6849 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
6850 &quot;displayName&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to this TaskConfig in the UI.
6851 &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
6852 &quot;externalTaskType&quot;: &quot;A String&quot;, # Optional. External task type of the task
6853 &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.).
6854 &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.
6855 &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.
6856 &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.
6857 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
6858 },
6859 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # Optional. If set, overrides the option configured in the Task implementation class.
6860 &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.
6861 { # The task that is next in line to be executed, if the condition specified evaluated to true.
6862 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
6863 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
6864 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
6865 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
6866 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
6867 },
6868 ],
6869 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution of the next set of tasks for the current task.
6870 &quot;parameters&quot;: { # Optional. The customized parameters the user can pass to this task.
6871 &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
6872 &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.
6873 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
6874 &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.
6875 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
6876 &quot;booleanValues&quot;: [ # Boolean array.
6877 True or False,
6878 ],
6879 },
6880 &quot;booleanValue&quot;: True or False, # Boolean.
6881 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
6882 &quot;doubleValues&quot;: [ # Double number array.
6883 3.14,
6884 ],
6885 },
6886 &quot;doubleValue&quot;: 3.14, # Double Number.
6887 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
6888 &quot;intValues&quot;: [ # Integer array.
6889 &quot;A String&quot;,
6890 ],
6891 },
6892 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
6893 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
6894 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
6895 &quot;stringValues&quot;: [ # String array.
6896 &quot;A String&quot;,
6897 ],
6898 },
6899 &quot;stringValue&quot;: &quot;A String&quot;, # String.
6900 },
6901 },
6902 },
6903 &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.
6904 &quot;x&quot;: 42, # Required. X axis of the coordinate
6905 &quot;y&quot;: 42, # Required. Y axis of the coordinate
6906 },
6907 &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.
6908 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
6909 },
6910 &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).
6911 &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.
6912 &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.
6913 &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.
6914 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
6915 },
6916 &quot;task&quot;: &quot;A String&quot;, # Optional. The name for the task.
6917 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution strategy of this task.
6918 &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`).
6919 &quot;taskTemplate&quot;: &quot;A String&quot;, # Optional. Used to define task-template name if task is of type task-template
6920 },
6921 ],
6922 &quot;taskConfigsInternal&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
6923 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
6924 &quot;alertConfigs&quot;: [ # Alert configurations on error rate, warning rate, number of runs, durations, etc.
6925 { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event.
6926 &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).
6927 &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.
6928 &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.
6929 &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.
6930 &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.
6931 &quot;errorEnumList&quot;: { # List of error enums for alerts.
6932 &quot;enumStrings&quot;: [
6933 &quot;A String&quot;,
6934 ],
6935 &quot;filterType&quot;: &quot;A String&quot;,
6936 },
6937 &quot;metricType&quot;: &quot;A String&quot;,
6938 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
6939 &quot;onlyFinalAttempt&quot;: True or False, # Only count final task attempts, not retries.
6940 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
6941 &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.
6942 &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.
6943 &quot;absolute&quot;: &quot;A String&quot;,
6944 &quot;percentage&quot;: 42,
6945 },
6946 &quot;warningEnumList&quot;: { # List of error enums for alerts.
6947 &quot;enumStrings&quot;: [
6948 &quot;A String&quot;,
6949 ],
6950 &quot;filterType&quot;: &quot;A String&quot;,
6951 },
6952 },
6953 ],
6954 &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).
6955 &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
6956 &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.
6957 &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.
6958 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
6959 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
6960 },
6961 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
6962 { # 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).
6963 &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.
6964 &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.
6965 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
6966 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
6967 },
6968 ],
6969 },
6970 &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
6971 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address. Auto-generated from the user&#x27;s email.
6972 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
6973 &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.
6974 &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
6975 &quot;externalTaskType&quot;: &quot;A String&quot;,
6976 &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.).
6977 &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.
6978 &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.
6979 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
6980 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
6981 },
6982 &quot;incomingEdgeCount&quot;: 42, # The number of edges leading into this TaskConfig.
6983 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # If set, overrides the option configured in the Task implementation class.
6984 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this TaskConfig in the UI.
6985 &quot;lastModifiedTime&quot;: &quot;A String&quot;, # Auto-generated.
6986 &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.
6987 { # The task that is next in line to be executed, if the condition specified evaluated to true.
6988 &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`
6989 { # This message recursively combines constituent conditions using logical AND.
6990 &quot;conditions&quot;: [ # A set of individual constituent conditions.
6991 { # Condition that uses `operator` to evaluate the key against the value.
6992 &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.
6993 &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.
6994 &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.
6995 &quot;booleanValue&quot;: True or False,
6996 &quot;doubleArray&quot;: {
6997 &quot;values&quot;: [
6998 3.14,
6999 ],
7000 },
7001 &quot;doubleValue&quot;: 3.14,
7002 &quot;intArray&quot;: {
7003 &quot;values&quot;: [
7004 &quot;A String&quot;,
7005 ],
7006 },
7007 &quot;intValue&quot;: &quot;A String&quot;,
7008 &quot;protoValue&quot;: {
7009 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7010 },
7011 &quot;stringArray&quot;: {
7012 &quot;values&quot;: [
7013 &quot;A String&quot;,
7014 ],
7015 },
7016 &quot;stringValue&quot;: &quot;A String&quot;,
7017 },
7018 },
7019 ],
7020 },
7021 ],
7022 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
7023 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
7024 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
7025 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
7026 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
7027 },
7028 ],
7029 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # The policy dictating the execution of the next set of tasks for the current task.
7030 &quot;parameters&quot;: { # The customized parameters the user can pass to this task.
7031 &quot;a_key&quot;: { # Key-value pair of EventBus parameters.
7032 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
7033 &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.
7034 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
7035 &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.
7036 &quot;booleanArray&quot;: {
7037 &quot;booleanValues&quot;: [
7038 True or False,
7039 ],
7040 },
7041 &quot;booleanValue&quot;: True or False,
7042 &quot;doubleArray&quot;: {
7043 &quot;doubleValues&quot;: [
7044 3.14,
7045 ],
7046 },
7047 &quot;doubleValue&quot;: 3.14,
7048 &quot;intArray&quot;: {
7049 &quot;intValues&quot;: [
7050 &quot;A String&quot;,
7051 ],
7052 },
7053 &quot;intValue&quot;: &quot;A String&quot;,
7054 &quot;jsonValue&quot;: &quot;A String&quot;,
7055 &quot;protoArray&quot;: {
7056 &quot;protoValues&quot;: [
7057 {
7058 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7059 },
7060 ],
7061 },
7062 &quot;protoValue&quot;: {
7063 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7064 },
7065 &quot;serializedObjectValue&quot;: {
7066 &quot;objectValue&quot;: &quot;A String&quot;,
7067 },
7068 &quot;stringArray&quot;: {
7069 &quot;stringValues&quot;: [
7070 &quot;A String&quot;,
7071 ],
7072 },
7073 &quot;stringValue&quot;: &quot;A String&quot;,
7074 },
7075 },
7076 },
7077 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this task config on the UI.
7078 &quot;x&quot;: 42,
7079 &quot;y&quot;: 42,
7080 },
7081 &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.
7082 &quot;preconditionLabel&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to precondition in the UI.
7083 &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).
7084 &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.
7085 &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.
7086 { # Key-value pair of EventBus parameters.
7087 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
7088 &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.
7089 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
7090 &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.
7091 &quot;booleanArray&quot;: {
7092 &quot;booleanValues&quot;: [
7093 True or False,
7094 ],
7095 },
7096 &quot;booleanValue&quot;: True or False,
7097 &quot;doubleArray&quot;: {
7098 &quot;doubleValues&quot;: [
7099 3.14,
7100 ],
7101 },
7102 &quot;doubleValue&quot;: 3.14,
7103 &quot;intArray&quot;: {
7104 &quot;intValues&quot;: [
7105 &quot;A String&quot;,
7106 ],
7107 },
7108 &quot;intValue&quot;: &quot;A String&quot;,
7109 &quot;jsonValue&quot;: &quot;A String&quot;,
7110 &quot;protoArray&quot;: {
7111 &quot;protoValues&quot;: [
7112 {
7113 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7114 },
7115 ],
7116 },
7117 &quot;protoValue&quot;: {
7118 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7119 },
7120 &quot;serializedObjectValue&quot;: {
7121 &quot;objectValue&quot;: &quot;A String&quot;,
7122 },
7123 &quot;stringArray&quot;: {
7124 &quot;stringValues&quot;: [
7125 &quot;A String&quot;,
7126 ],
7127 },
7128 &quot;stringValue&quot;: &quot;A String&quot;,
7129 },
7130 },
7131 ],
7132 },
7133 &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.
7134 &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.
7135 &quot;A String&quot;,
7136 ],
7137 },
7138 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Determines what action to take upon successful task completion.
7139 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
7140 },
7141 &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).
7142 &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.
7143 &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.
7144 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
7145 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
7146 },
7147 &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.
7148 &quot;disabledForVpcSc&quot;: True or False, # True if the task has conflict with vpcsc
7149 &quot;metadata&quot;: { # TaskMetadata are attributes that are associated to every common Task we have. # Metadata inclueds the task name, author and so on.
7150 &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.
7151 &quot;admins&quot;: [
7152 { # 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.
7153 &quot;googleGroupEmail&quot;: &quot;A String&quot;,
7154 &quot;userEmail&quot;: &quot;A String&quot;,
7155 },
7156 ],
7157 &quot;category&quot;: &quot;A String&quot;,
7158 &quot;codeSearchLink&quot;: &quot;A String&quot;, # The Code Search link to the Task Java file.
7159 &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.
7160 &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.
7161 &quot;description&quot;: &quot;A String&quot;, # In a few sentences, describe the purpose and usage of the task.
7162 &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;)
7163 &quot;docMarkdown&quot;: &quot;A String&quot;, # Snippet of markdown documentation to embed in the RHP for this task.
7164 &quot;externalCategory&quot;: &quot;A String&quot;,
7165 &quot;externalCategorySequence&quot;: 42, # Sequence with which the task in specific category to be displayed in task discovery panel for external users.
7166 &quot;externalDocHtml&quot;: &quot;A String&quot;, # External-facing documention embedded in the RHP for this task.
7167 &quot;externalDocLink&quot;: &quot;A String&quot;, # Doc link for external-facing documentation (separate from g3doc).
7168 &quot;externalDocMarkdown&quot;: &quot;A String&quot;, # DEPRECATED: Use external_doc_html.
7169 &quot;g3DocLink&quot;: &quot;A String&quot;, # URL to the associated G3 Doc for the task if available
7170 &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.
7171 &quot;isDeprecated&quot;: True or False, # The deprecation status of the current task. Default value is false;
7172 &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.
7173 &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
7174 &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.
7175 &quot;system&quot;: &quot;A String&quot;,
7176 &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.
7177 &quot;A String&quot;,
7178 ],
7179 },
7180 &quot;paramSpecs&quot;: { # Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask.
7181 &quot;parameters&quot;: [
7182 { # Key-value pair of EventBus task parameters. Next id: 13
7183 &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.
7184 &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.
7185 &quot;config&quot;: { # Optional fields, such as help text and other useful info.
7186 &quot;descriptivePhrase&quot;: &quot;A String&quot;, # A short phrase to describe what this parameter contains.
7187 &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.
7188 &quot;hideDefaultValue&quot;: True or False, # Whether the default value is hidden in the UI.
7189 &quot;inputDisplayOption&quot;: &quot;A String&quot;,
7190 &quot;isHidden&quot;: True or False, # Whether this field is hidden in the UI.
7191 &quot;label&quot;: &quot;A String&quot;, # A user-friendly label for the parameter.
7192 &quot;parameterNameOption&quot;: &quot;A String&quot;,
7193 &quot;subSectionLabel&quot;: &quot;A String&quot;, # A user-friendly label for subSection under which the parameter will be displayed.
7194 &quot;uiPlaceholderText&quot;: &quot;A String&quot;, # Placeholder text which will appear in the UI input form for this parameter.
7195 },
7196 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
7197 &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.
7198 &quot;booleanArray&quot;: {
7199 &quot;booleanValues&quot;: [
7200 True or False,
7201 ],
7202 },
7203 &quot;booleanValue&quot;: True or False,
7204 &quot;doubleArray&quot;: {
7205 &quot;doubleValues&quot;: [
7206 3.14,
7207 ],
7208 },
7209 &quot;doubleValue&quot;: 3.14,
7210 &quot;intArray&quot;: {
7211 &quot;intValues&quot;: [
7212 &quot;A String&quot;,
7213 ],
7214 },
7215 &quot;intValue&quot;: &quot;A String&quot;,
7216 &quot;jsonValue&quot;: &quot;A String&quot;,
7217 &quot;protoArray&quot;: {
7218 &quot;protoValues&quot;: [
7219 {
7220 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7221 },
7222 ],
7223 },
7224 &quot;protoValue&quot;: {
7225 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7226 },
7227 &quot;serializedObjectValue&quot;: {
7228 &quot;objectValue&quot;: &quot;A String&quot;,
7229 },
7230 &quot;stringArray&quot;: {
7231 &quot;stringValues&quot;: [
7232 &quot;A String&quot;,
7233 ],
7234 },
7235 &quot;stringValue&quot;: &quot;A String&quot;,
7236 },
7237 &quot;isDeprecated&quot;: True or False, # If set, this entry is deprecated, so further use of this parameter should be prohibited.
7238 &quot;isOutput&quot;: True or False,
7239 &quot;jsonSchema&quot;: &quot;A String&quot;, # If the data_type is JSON_VALUE, then this will define its schema.
7240 &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.
7241 &quot;protoDef&quot;: { # Populated if this represents a proto or proto array.
7242 &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;.
7243 &quot;path&quot;: &quot;A String&quot;, # Path to the proto file that contains the message type&#x27;s definition.
7244 },
7245 &quot;required&quot;: True or False, # If set, the user must provide an input value for this parameter.
7246 &quot;validationRule&quot;: { # Rule used to validate inputs (individual values and collection elements) for this parameter.
7247 &quot;doubleRange&quot;: { # Range used to validate doubles and floats.
7248 &quot;max&quot;: 3.14, # The inclusive maximum of the acceptable range.
7249 &quot;min&quot;: 3.14, # The inclusive minimum of the acceptable range.
7250 },
7251 &quot;intRange&quot;: { # Range used to validate longs and ints.
7252 &quot;max&quot;: &quot;A String&quot;, # The inclusive maximum of the acceptable range.
7253 &quot;min&quot;: &quot;A String&quot;, # The inclusive minimum of the acceptable range.
7254 },
7255 &quot;stringRegex&quot;: { # Rule used to validate strings.
7256 &quot;exclusive&quot;: True or False, # Whether the regex matcher is applied exclusively (if true, matching values will be rejected).
7257 &quot;regex&quot;: &quot;A String&quot;, # The regex applied to the input value(s).
7258 },
7259 },
7260 },
7261 ],
7262 },
7263 &quot;stats&quot;: { # Stats for the requested dimensions: QPS, duration, and error/warning rate # Deprecated - statistics from the Monarch query.
7264 &quot;dimensions&quot;: { # Dimensions that these stats have been aggregated on.
7265 &quot;clientId&quot;: &quot;A String&quot;,
7266 &quot;enumFilterType&quot;: &quot;A String&quot;, # Whether to include or exclude the enums matching the regex.
7267 &quot;errorEnumString&quot;: &quot;A String&quot;,
7268 &quot;retryAttempt&quot;: &quot;A String&quot;,
7269 &quot;taskName&quot;: &quot;A String&quot;,
7270 &quot;taskNumber&quot;: &quot;A String&quot;,
7271 &quot;triggerId&quot;: &quot;A String&quot;, # Stats have been or will be aggregated on set fields for any semantically-meaningful combination.
7272 &quot;warningEnumString&quot;: &quot;A String&quot;,
7273 &quot;workflowId&quot;: &quot;A String&quot;,
7274 &quot;workflowName&quot;: &quot;A String&quot;,
7275 },
7276 &quot;durationInSeconds&quot;: 3.14, # Average duration in seconds.
7277 &quot;errorRate&quot;: 3.14, # Average error rate.
7278 &quot;qps&quot;: 3.14, # Queries per second.
7279 &quot;warningRate&quot;: 3.14, # Average warning rate.
7280 },
7281 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
7282 &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.
7283 &quot;taskUiModuleConfigs&quot;: [ # Configurations of included config modules.
7284 { # Task author would use this type to configure a config module.
7285 &quot;moduleId&quot;: &quot;A String&quot;, # ID of the config module.
7286 },
7287 ],
7288 },
7289 },
7290 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # The policy dictating the execution strategy of this task.
7291 &quot;taskName&quot;: &quot;A String&quot;, # The name for the task.
7292 &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`).
7293 &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.
7294 &quot;taskTemplateName&quot;: &quot;A String&quot;, # Used to define task-template name if task is of type task-template
7295 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
7296 },
7297 ],
7298 &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.
7299 &quot;teardownTaskConfigs&quot;: [ # Required.
7300 {
7301 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address.
7302 &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.
7303 &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).
7304 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the next teardown task.
7305 },
7306 &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.
7307 &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.
7308 { # Key-value pair of EventBus parameters.
7309 &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.
7310 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
7311 &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.
7312 &quot;booleanArray&quot;: {
7313 &quot;booleanValues&quot;: [
7314 True or False,
7315 ],
7316 },
7317 &quot;booleanValue&quot;: True or False,
7318 &quot;doubleArray&quot;: {
7319 &quot;doubleValues&quot;: [
7320 3.14,
7321 ],
7322 },
7323 &quot;doubleValue&quot;: 3.14,
7324 &quot;intArray&quot;: {
7325 &quot;intValues&quot;: [
7326 &quot;A String&quot;,
7327 ],
7328 },
7329 &quot;intValue&quot;: &quot;A String&quot;,
7330 &quot;protoArray&quot;: {
7331 &quot;protoValues&quot;: [
7332 {
7333 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7334 },
7335 ],
7336 },
7337 &quot;protoValue&quot;: {
7338 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7339 },
7340 &quot;serializedObjectValue&quot;: {
7341 &quot;objectValue&quot;: &quot;A String&quot;,
7342 },
7343 &quot;stringArray&quot;: {
7344 &quot;stringValues&quot;: [
7345 &quot;A String&quot;,
7346 ],
7347 },
7348 &quot;stringValue&quot;: &quot;A String&quot;,
7349 },
7350 },
7351 ],
7352 },
7353 &quot;properties&quot;: { # LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus.
7354 &quot;properties&quot;: [ # An unordered list of property entries.
7355 { # Key-value pair of EventBus property.
7356 &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.
7357 &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.
7358 &quot;booleanValue&quot;: True or False,
7359 &quot;doubleArray&quot;: {
7360 &quot;values&quot;: [
7361 3.14,
7362 ],
7363 },
7364 &quot;doubleValue&quot;: 3.14,
7365 &quot;intArray&quot;: {
7366 &quot;values&quot;: [
7367 &quot;A String&quot;,
7368 ],
7369 },
7370 &quot;intValue&quot;: &quot;A String&quot;,
7371 &quot;protoValue&quot;: {
7372 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7373 },
7374 &quot;stringArray&quot;: {
7375 &quot;values&quot;: [
7376 &quot;A String&quot;,
7377 ],
7378 },
7379 &quot;stringValue&quot;: &quot;A String&quot;,
7380 },
7381 },
7382 ],
7383 },
7384 &quot;teardownTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. Implementation class name.
7385 },
7386 ],
7387 },
7388 &quot;triggerConfigs&quot;: [ # Optional. Trigger configurations.
7389 { # Configuration detail of a trigger.
7390 &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.
7391 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
7392 &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.
7393 &quot;alertThreshold&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
7394 &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.
7395 &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.
7396 &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.
7397 &quot;metricType&quot;: &quot;A String&quot;, # The type of metric.
7398 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
7399 &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.
7400 &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.
7401 &quot;absolute&quot;: &quot;A String&quot;, # Absolute value threshold.
7402 &quot;percentage&quot;: 42, # Percentage threshold.
7403 },
7404 },
7405 ],
7406 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration # Optional. Cloud Scheduler Trigger related metadata
7407 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
7408 &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
7409 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
7410 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
7411 },
7412 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
7413 &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
7414 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
7415 &quot;names&quot;: [ # Optional. List of variable names.
7416 &quot;A String&quot;,
7417 ],
7418 },
7419 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular trigger.
7420 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. Dictates how next tasks will be executed.
7421 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
7422 &quot;names&quot;: [ # Optional. List of variable names.
7423 &quot;A String&quot;,
7424 ],
7425 },
7426 &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.
7427 &quot;x&quot;: 42, # Required. X axis of the coordinate
7428 &quot;y&quot;: 42, # Required. Y axis of the coordinate
7429 },
7430 &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.
7431 &quot;a_key&quot;: &quot;A String&quot;,
7432 },
7433 &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).
7434 { # The task that is next in line to be executed, if the condition specified evaluated to true.
7435 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
7436 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
7437 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
7438 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
7439 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
7440 },
7441 ],
7442 &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.
7443 &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}
7444 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the integration on UI.
7445 &quot;triggerType&quot;: &quot;A String&quot;, # Optional. Type of trigger
7446 },
7447 ],
7448 &quot;triggerConfigsInternal&quot;: [ # Optional. Trigger configurations.
7449 { # Configuration detail of a trigger. Next available id: 22
7450 &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.
7451 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
7452 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
7453 &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.
7454 &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.
7455 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration.
7456 &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.
7457 &quot;errorEnumList&quot;: { # List of error enums for alerts.
7458 &quot;enumStrings&quot;: [
7459 &quot;A String&quot;,
7460 ],
7461 &quot;filterType&quot;: &quot;A String&quot;,
7462 },
7463 &quot;metricType&quot;: &quot;A String&quot;,
7464 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
7465 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
7466 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
7467 &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.
7468 &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.
7469 &quot;absolute&quot;: &quot;A String&quot;,
7470 &quot;percentage&quot;: 42,
7471 },
7472 &quot;warningEnumList&quot;: { # List of error enums for alerts.
7473 &quot;enumStrings&quot;: [
7474 &quot;A String&quot;,
7475 ],
7476 &quot;filterType&quot;: &quot;A String&quot;,
7477 },
7478 },
7479 ],
7480 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration
7481 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
7482 &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
7483 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
7484 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
7485 },
7486 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
7487 &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.
7488 &quot;A String&quot;,
7489 ],
7490 &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
7491 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
7492 &quot;names&quot;: [ # Optional. List of variable names.
7493 &quot;A String&quot;,
7494 ],
7495 },
7496 &quot;label&quot;: &quot;A String&quot;, # The user created label for a particular trigger.
7497 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Dictates how next tasks will be executed.
7498 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
7499 &quot;names&quot;: [ # Optional. List of variable names.
7500 &quot;A String&quot;,
7501 ],
7502 },
7503 &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.
7504 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this trigger config on the UI.
7505 &quot;x&quot;: 42,
7506 &quot;y&quot;: 42,
7507 },
7508 &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.
7509 &quot;a_key&quot;: &quot;A String&quot;,
7510 },
7511 &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).
7512 { # The task that is next in line to be executed, if the condition specified evaluated to true.
7513 &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`
7514 { # This message recursively combines constituent conditions using logical AND.
7515 &quot;conditions&quot;: [ # A set of individual constituent conditions.
7516 { # Condition that uses `operator` to evaluate the key against the value.
7517 &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.
7518 &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.
7519 &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.
7520 &quot;booleanValue&quot;: True or False,
7521 &quot;doubleArray&quot;: {
7522 &quot;values&quot;: [
7523 3.14,
7524 ],
7525 },
7526 &quot;doubleValue&quot;: 3.14,
7527 &quot;intArray&quot;: {
7528 &quot;values&quot;: [
7529 &quot;A String&quot;,
7530 ],
7531 },
7532 &quot;intValue&quot;: &quot;A String&quot;,
7533 &quot;protoValue&quot;: {
7534 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7535 },
7536 &quot;stringArray&quot;: {
7537 &quot;values&quot;: [
7538 &quot;A String&quot;,
7539 ],
7540 },
7541 &quot;stringValue&quot;: &quot;A String&quot;,
7542 },
7543 },
7544 ],
7545 },
7546 ],
7547 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
7548 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
7549 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
7550 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
7551 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
7552 },
7553 ],
7554 &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.
7555 &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.
7556 &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.
7557 &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.
7558 { # Key-value pair of EventBus parameters.
7559 &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.
7560 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
7561 &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.
7562 &quot;booleanArray&quot;: {
7563 &quot;booleanValues&quot;: [
7564 True or False,
7565 ],
7566 },
7567 &quot;booleanValue&quot;: True or False,
7568 &quot;doubleArray&quot;: {
7569 &quot;doubleValues&quot;: [
7570 3.14,
7571 ],
7572 },
7573 &quot;doubleValue&quot;: 3.14,
7574 &quot;intArray&quot;: {
7575 &quot;intValues&quot;: [
7576 &quot;A String&quot;,
7577 ],
7578 },
7579 &quot;intValue&quot;: &quot;A String&quot;,
7580 &quot;protoArray&quot;: {
7581 &quot;protoValues&quot;: [
7582 {
7583 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7584 },
7585 ],
7586 },
7587 &quot;protoValue&quot;: {
7588 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7589 },
7590 &quot;serializedObjectValue&quot;: {
7591 &quot;objectValue&quot;: &quot;A String&quot;,
7592 },
7593 &quot;stringArray&quot;: {
7594 &quot;stringValues&quot;: [
7595 &quot;A String&quot;,
7596 ],
7597 },
7598 &quot;stringValue&quot;: &quot;A String&quot;,
7599 },
7600 },
7601 ],
7602 },
7603 &quot;triggerCriteriaTaskImplementationClassName&quot;: &quot;A String&quot;, # Optional. Implementation class name. The class should implement the “TypedTask” interface.
7604 },
7605 &quot;triggerId&quot;: &quot;A String&quot;, # The backend trigger ID.
7606 &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.
7607 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the workflow on UI.
7608 &quot;triggerType&quot;: &quot;A String&quot;,
7609 },
7610 ],
7611 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
7612 &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.
7613 },
7614 }</pre>
7615 </div>
7616
7617 <div class="method">
7618 <code class="details" id="unpublish">unpublish(name, body=None, x__xgafv=None)</code>
7619 <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.
7620
7621 Args:
7622 name: string, Required. The version to deactivate. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version} (required)
7623 body: object, The request body.
7624 The object takes the form of:
7625
7626 { # Request for UnpublishIntegrationVersion.
7627 }
7628
7629 x__xgafv: string, V1 error format.
7630 Allowed values
7631 1 - v1 error format
7632 2 - v2 error format
7633
7634 Returns:
7635 An object of the form:
7636
7637 { # 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); }
7638 }</pre>
7639 </div>
7640
7641 <div class="method">
7642 <code class="details" id="upload">upload(parent, body=None, x__xgafv=None)</code>
7643 <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.
7644
7645 Args:
7646 parent: string, Required. The version to upload. Format: projects/{project}/locations/{location}/integrations/{integration} (required)
7647 body: object, The request body.
7648 The object takes the form of:
7649
7650 { # Request for UploadIntegrationVersion.
7651 &quot;content&quot;: &quot;A String&quot;, # The textproto of the IntegrationVersion.
7652 &quot;fileFormat&quot;: &quot;A String&quot;, # File format for upload request.
7653 }
7654
7655 x__xgafv: string, V1 error format.
7656 Allowed values
7657 1 - v1 error format
7658 2 - v2 error format
7659
7660 Returns:
7661 An object of the form:
7662
7663 { # Response for UploadIntegrationVersion.
7664 &quot;integrationVersion&quot;: { # The integration version definition. # The uploaded integration.
7665 &quot;cloudKmsKey&quot;: &quot;A String&quot;, # Optional. Cloud KMS resource name for the CMEK encryption key.
7666 &quot;cloudLoggingDetails&quot;: { # Cloud Logging details for execution info # Optional. Cloud Logging details for the integration version
7667 &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.
7668 &quot;enableCloudLogging&quot;: True or False, # Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.
7669 },
7670 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
7671 &quot;createdFromTemplate&quot;: &quot;A String&quot;, # Optional. Optional. The resource name of the template from which the integration is created.
7672 &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.
7673 &quot;description&quot;: &quot;A String&quot;, # Optional. The integration description.
7674 &quot;enableVariableMasking&quot;: True or False, # Optional. True if variable masking feature should be turned on for this version
7675 &quot;errorCatcherConfigs&quot;: [ # Optional. Error Catch Task configuration for the integration. It&#x27;s optional.
7676 { # Configuration detail of a error catch task
7677 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give more business context about the error catcher config.
7678 &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
7679 &quot;errorCatcherNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each error catcher config within the workflow on UI.
7680 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular error catcher. Optional.
7681 &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.
7682 &quot;x&quot;: 42, # Required. X axis of the coordinate
7683 &quot;y&quot;: 42, # Required. Y axis of the coordinate
7684 },
7685 &quot;startErrorTasks&quot;: [ # Required. The set of start tasks that are to be executed for the error catch flow
7686 { # The task that is next in line to be executed, if the condition specified evaluated to true.
7687 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
7688 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
7689 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
7690 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
7691 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
7692 },
7693 ],
7694 },
7695 ],
7696 &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.
7697 { # 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.
7698 &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.
7699 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
7700 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
7701 &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.
7702 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
7703 &quot;booleanValues&quot;: [ # Boolean array.
7704 True or False,
7705 ],
7706 },
7707 &quot;booleanValue&quot;: True or False, # Boolean.
7708 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
7709 &quot;doubleValues&quot;: [ # Double number array.
7710 3.14,
7711 ],
7712 },
7713 &quot;doubleValue&quot;: 3.14, # Double Number.
7714 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
7715 &quot;intValues&quot;: [ # Integer array.
7716 &quot;A String&quot;,
7717 ],
7718 },
7719 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
7720 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
7721 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
7722 &quot;stringValues&quot;: [ # String array.
7723 &quot;A String&quot;,
7724 ],
7725 },
7726 &quot;stringValue&quot;: &quot;A String&quot;, # String.
7727 },
7728 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
7729 &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;.
7730 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
7731 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
7732 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
7733 &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.
7734 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
7735 &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.
7736 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
7737 },
7738 &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.
7739 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
7740 &quot;booleanValues&quot;: [ # Boolean array.
7741 True or False,
7742 ],
7743 },
7744 &quot;booleanValue&quot;: True or False, # Boolean.
7745 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
7746 &quot;doubleValues&quot;: [ # Double number array.
7747 3.14,
7748 ],
7749 },
7750 &quot;doubleValue&quot;: 3.14, # Double Number.
7751 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
7752 &quot;intValues&quot;: [ # Integer array.
7753 &quot;A String&quot;,
7754 ],
7755 },
7756 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
7757 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
7758 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
7759 &quot;stringValues&quot;: [ # String array.
7760 &quot;A String&quot;,
7761 ],
7762 },
7763 &quot;stringValue&quot;: &quot;A String&quot;, # String.
7764 },
7765 },
7766 ],
7767 &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.
7768 { # 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.
7769 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
7770 &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
7771 &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.
7772 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
7773 &quot;booleanValues&quot;: [ # Boolean array.
7774 True or False,
7775 ],
7776 },
7777 &quot;booleanValue&quot;: True or False, # Boolean.
7778 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
7779 &quot;doubleValues&quot;: [ # Double number array.
7780 3.14,
7781 ],
7782 },
7783 &quot;doubleValue&quot;: 3.14, # Double Number.
7784 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
7785 &quot;intValues&quot;: [ # Integer array.
7786 &quot;A String&quot;,
7787 ],
7788 },
7789 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
7790 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
7791 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
7792 &quot;stringValues&quot;: [ # String array.
7793 &quot;A String&quot;,
7794 ],
7795 },
7796 &quot;stringValue&quot;: &quot;A String&quot;, # String.
7797 },
7798 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the parameter.
7799 &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;.
7800 &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
7801 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
7802 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
7803 &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.
7804 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
7805 &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.
7806 &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
7807 },
7808 ],
7809 &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.
7810 &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.
7811 {
7812 &quot;attributes&quot;: { # Attributes are additional options that can be associated with each event property. For more information, see # Metadata information about the parameters.
7813 &quot;dataType&quot;: &quot;A String&quot;, # Things like URL, Email, Currency, Timestamp (rather than string, int64...)
7814 &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.
7815 &quot;booleanValue&quot;: True or False,
7816 &quot;doubleArray&quot;: {
7817 &quot;values&quot;: [
7818 3.14,
7819 ],
7820 },
7821 &quot;doubleValue&quot;: 3.14,
7822 &quot;intArray&quot;: {
7823 &quot;values&quot;: [
7824 &quot;A String&quot;,
7825 ],
7826 },
7827 &quot;intValue&quot;: &quot;A String&quot;,
7828 &quot;protoValue&quot;: {
7829 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7830 },
7831 &quot;stringArray&quot;: {
7832 &quot;values&quot;: [
7833 &quot;A String&quot;,
7834 ],
7835 },
7836 &quot;stringValue&quot;: &quot;A String&quot;,
7837 },
7838 &quot;isRequired&quot;: True or False, # Required for event execution. The validation will be done by the event bus when the event is triggered.
7839 &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.
7840 &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
7841 &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.
7842 &quot;seedPeriod&quot;: &quot;A String&quot;,
7843 &quot;seedScope&quot;: &quot;A String&quot;,
7844 },
7845 &quot;masked&quot;: True or False, # True if this workflow parameter should be masked in the logs
7846 &quot;readOnly&quot;: True or False, # Used to indicate if the ParameterEntry is a read only field or not.
7847 &quot;searchable&quot;: &quot;A String&quot;,
7848 &quot;taskVisibility&quot;: [ # List of tasks that can view this property, if empty then all.
7849 &quot;A String&quot;,
7850 ],
7851 },
7852 &quot;children&quot;: [ # Child parameters nested within this parameter. This field only applies to protobuf parameters
7853 # Object with schema name: EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
7854 ],
7855 &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
7856 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
7857 &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.
7858 &quot;booleanArray&quot;: {
7859 &quot;booleanValues&quot;: [
7860 True or False,
7861 ],
7862 },
7863 &quot;booleanValue&quot;: True or False,
7864 &quot;doubleArray&quot;: {
7865 &quot;doubleValues&quot;: [
7866 3.14,
7867 ],
7868 },
7869 &quot;doubleValue&quot;: 3.14,
7870 &quot;intArray&quot;: {
7871 &quot;intValues&quot;: [
7872 &quot;A String&quot;,
7873 ],
7874 },
7875 &quot;intValue&quot;: &quot;A String&quot;,
7876 &quot;jsonValue&quot;: &quot;A String&quot;,
7877 &quot;protoArray&quot;: {
7878 &quot;protoValues&quot;: [
7879 {
7880 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7881 },
7882 ],
7883 },
7884 &quot;protoValue&quot;: {
7885 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
7886 },
7887 &quot;serializedObjectValue&quot;: {
7888 &quot;objectValue&quot;: &quot;A String&quot;,
7889 },
7890 &quot;stringArray&quot;: {
7891 &quot;stringValues&quot;: [
7892 &quot;A String&quot;,
7893 ],
7894 },
7895 &quot;stringValue&quot;: &quot;A String&quot;,
7896 },
7897 &quot;description&quot;: &quot;A String&quot;, # Optional. The description about the parameter
7898 &quot;inOutType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
7899 &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
7900 &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
7901 &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.
7902 &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;.
7903 &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.
7904 &quot;elementIdentifier&quot;: &quot;A String&quot;, # Configuration of the edge.
7905 &quot;elementType&quot;: &quot;A String&quot;, # Destination node where the edge ends. It can only be a task config.
7906 },
7907 &quot;producer&quot;: &quot;A String&quot;,
7908 &quot;protoDefName&quot;: &quot;A String&quot;, # The name of the protobuf type if the parameter has a protobuf data type.
7909 &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;.
7910 &quot;required&quot;: True or False,
7911 },
7912 ],
7913 },
7914 &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.
7915 &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.
7916 &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
7917 &quot;origin&quot;: &quot;A String&quot;, # Optional. The origin that indicates where this integration is coming from.
7918 &quot;parentTemplateId&quot;: &quot;A String&quot;, # Optional. The id of the template which was used to create this integration_version.
7919 &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.
7920 &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.
7921 &quot;state&quot;: &quot;A String&quot;, # Output only. User should not set it as an input.
7922 &quot;status&quot;: &quot;A String&quot;, # Output only. Generated by eventbus. User should not set it as an input.
7923 &quot;taskConfigs&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
7924 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
7925 &quot;conditionalFailurePolicies&quot;: { # Conditional task failur retry strategies # Optional. The list of conditional failure policies that will be applied to the task in order.
7926 &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.
7927 &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.
7928 &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.
7929 &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.
7930 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
7931 },
7932 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
7933 { # 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).
7934 &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.
7935 &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.
7936 &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.
7937 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
7938 },
7939 ],
7940 },
7941 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
7942 &quot;displayName&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to this TaskConfig in the UI.
7943 &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
7944 &quot;externalTaskType&quot;: &quot;A String&quot;, # Optional. External task type of the task
7945 &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.).
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 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # Optional. If set, overrides the option configured in the Task implementation class.
7952 &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.
7953 { # The task that is next in line to be executed, if the condition specified evaluated to true.
7954 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
7955 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
7956 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
7957 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
7958 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
7959 },
7960 ],
7961 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution of the next set of tasks for the current task.
7962 &quot;parameters&quot;: { # Optional. The customized parameters the user can pass to this task.
7963 &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
7964 &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.
7965 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
7966 &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.
7967 &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
7968 &quot;booleanValues&quot;: [ # Boolean array.
7969 True or False,
7970 ],
7971 },
7972 &quot;booleanValue&quot;: True or False, # Boolean.
7973 &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
7974 &quot;doubleValues&quot;: [ # Double number array.
7975 3.14,
7976 ],
7977 },
7978 &quot;doubleValue&quot;: 3.14, # Double Number.
7979 &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
7980 &quot;intValues&quot;: [ # Integer array.
7981 &quot;A String&quot;,
7982 ],
7983 },
7984 &quot;intValue&quot;: &quot;A String&quot;, # Integer.
7985 &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
7986 &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
7987 &quot;stringValues&quot;: [ # String array.
7988 &quot;A String&quot;,
7989 ],
7990 },
7991 &quot;stringValue&quot;: &quot;A String&quot;, # String.
7992 },
7993 },
7994 },
7995 &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.
7996 &quot;x&quot;: 42, # Required. X axis of the coordinate
7997 &quot;y&quot;: 42, # Required. Y axis of the coordinate
7998 },
7999 &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.
8000 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
8001 },
8002 &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).
8003 &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.
8004 &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.
8005 &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.
8006 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
8007 },
8008 &quot;task&quot;: &quot;A String&quot;, # Optional. The name for the task.
8009 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # Optional. The policy dictating the execution strategy of this task.
8010 &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`).
8011 &quot;taskTemplate&quot;: &quot;A String&quot;, # Optional. Used to define task-template name if task is of type task-template
8012 },
8013 ],
8014 &quot;taskConfigsInternal&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
8015 { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
8016 &quot;alertConfigs&quot;: [ # Alert configurations on error rate, warning rate, number of runs, durations, etc.
8017 { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event.
8018 &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).
8019 &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.
8020 &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.
8021 &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.
8022 &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.
8023 &quot;errorEnumList&quot;: { # List of error enums for alerts.
8024 &quot;enumStrings&quot;: [
8025 &quot;A String&quot;,
8026 ],
8027 &quot;filterType&quot;: &quot;A String&quot;,
8028 },
8029 &quot;metricType&quot;: &quot;A String&quot;,
8030 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
8031 &quot;onlyFinalAttempt&quot;: True or False, # Only count final task attempts, not retries.
8032 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
8033 &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.
8034 &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.
8035 &quot;absolute&quot;: &quot;A String&quot;,
8036 &quot;percentage&quot;: 42,
8037 },
8038 &quot;warningEnumList&quot;: { # List of error enums for alerts.
8039 &quot;enumStrings&quot;: [
8040 &quot;A String&quot;,
8041 ],
8042 &quot;filterType&quot;: &quot;A String&quot;,
8043 },
8044 },
8045 ],
8046 &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).
8047 &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
8048 &quot;intervalInSeconds&quot;: &quot;A String&quot;, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
8049 &quot;maxNumRetries&quot;: 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
8050 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
8051 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
8052 },
8053 &quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
8054 { # 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).
8055 &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.
8056 &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.
8057 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
8058 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
8059 },
8060 ],
8061 },
8062 &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
8063 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address. Auto-generated from the user&#x27;s email.
8064 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
8065 &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.
8066 &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
8067 &quot;externalTaskType&quot;: &quot;A String&quot;,
8068 &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.).
8069 &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.
8070 &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.
8071 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
8072 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
8073 },
8074 &quot;incomingEdgeCount&quot;: 42, # The number of edges leading into this TaskConfig.
8075 &quot;jsonValidationOption&quot;: &quot;A String&quot;, # If set, overrides the option configured in the Task implementation class.
8076 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this TaskConfig in the UI.
8077 &quot;lastModifiedTime&quot;: &quot;A String&quot;, # Auto-generated.
8078 &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.
8079 { # The task that is next in line to be executed, if the condition specified evaluated to true.
8080 &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`
8081 { # This message recursively combines constituent conditions using logical AND.
8082 &quot;conditions&quot;: [ # A set of individual constituent conditions.
8083 { # Condition that uses `operator` to evaluate the key against the value.
8084 &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.
8085 &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.
8086 &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.
8087 &quot;booleanValue&quot;: True or False,
8088 &quot;doubleArray&quot;: {
8089 &quot;values&quot;: [
8090 3.14,
8091 ],
8092 },
8093 &quot;doubleValue&quot;: 3.14,
8094 &quot;intArray&quot;: {
8095 &quot;values&quot;: [
8096 &quot;A String&quot;,
8097 ],
8098 },
8099 &quot;intValue&quot;: &quot;A String&quot;,
8100 &quot;protoValue&quot;: {
8101 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8102 },
8103 &quot;stringArray&quot;: {
8104 &quot;values&quot;: [
8105 &quot;A String&quot;,
8106 ],
8107 },
8108 &quot;stringValue&quot;: &quot;A String&quot;,
8109 },
8110 },
8111 ],
8112 },
8113 ],
8114 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
8115 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
8116 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
8117 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
8118 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
8119 },
8120 ],
8121 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # The policy dictating the execution of the next set of tasks for the current task.
8122 &quot;parameters&quot;: { # The customized parameters the user can pass to this task.
8123 &quot;a_key&quot;: { # Key-value pair of EventBus parameters.
8124 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
8125 &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.
8126 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
8127 &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.
8128 &quot;booleanArray&quot;: {
8129 &quot;booleanValues&quot;: [
8130 True or False,
8131 ],
8132 },
8133 &quot;booleanValue&quot;: True or False,
8134 &quot;doubleArray&quot;: {
8135 &quot;doubleValues&quot;: [
8136 3.14,
8137 ],
8138 },
8139 &quot;doubleValue&quot;: 3.14,
8140 &quot;intArray&quot;: {
8141 &quot;intValues&quot;: [
8142 &quot;A String&quot;,
8143 ],
8144 },
8145 &quot;intValue&quot;: &quot;A String&quot;,
8146 &quot;jsonValue&quot;: &quot;A String&quot;,
8147 &quot;protoArray&quot;: {
8148 &quot;protoValues&quot;: [
8149 {
8150 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8151 },
8152 ],
8153 },
8154 &quot;protoValue&quot;: {
8155 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8156 },
8157 &quot;serializedObjectValue&quot;: {
8158 &quot;objectValue&quot;: &quot;A String&quot;,
8159 },
8160 &quot;stringArray&quot;: {
8161 &quot;stringValues&quot;: [
8162 &quot;A String&quot;,
8163 ],
8164 },
8165 &quot;stringValue&quot;: &quot;A String&quot;,
8166 },
8167 },
8168 },
8169 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this task config on the UI.
8170 &quot;x&quot;: 42,
8171 &quot;y&quot;: 42,
8172 },
8173 &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.
8174 &quot;preconditionLabel&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to precondition in the UI.
8175 &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).
8176 &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.
8177 &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.
8178 { # Key-value pair of EventBus parameters.
8179 &quot;dataType&quot;: &quot;A String&quot;, # Explicitly getting the type of the parameter.
8180 &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.
8181 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
8182 &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.
8183 &quot;booleanArray&quot;: {
8184 &quot;booleanValues&quot;: [
8185 True or False,
8186 ],
8187 },
8188 &quot;booleanValue&quot;: True or False,
8189 &quot;doubleArray&quot;: {
8190 &quot;doubleValues&quot;: [
8191 3.14,
8192 ],
8193 },
8194 &quot;doubleValue&quot;: 3.14,
8195 &quot;intArray&quot;: {
8196 &quot;intValues&quot;: [
8197 &quot;A String&quot;,
8198 ],
8199 },
8200 &quot;intValue&quot;: &quot;A String&quot;,
8201 &quot;jsonValue&quot;: &quot;A String&quot;,
8202 &quot;protoArray&quot;: {
8203 &quot;protoValues&quot;: [
8204 {
8205 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8206 },
8207 ],
8208 },
8209 &quot;protoValue&quot;: {
8210 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8211 },
8212 &quot;serializedObjectValue&quot;: {
8213 &quot;objectValue&quot;: &quot;A String&quot;,
8214 },
8215 &quot;stringArray&quot;: {
8216 &quot;stringValues&quot;: [
8217 &quot;A String&quot;,
8218 ],
8219 },
8220 &quot;stringValue&quot;: &quot;A String&quot;,
8221 },
8222 },
8223 ],
8224 },
8225 &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.
8226 &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.
8227 &quot;A String&quot;,
8228 ],
8229 },
8230 &quot;successPolicy&quot;: { # Policy that dictates the behavior for the task after it completes successfully. # Determines what action to take upon successful task completion.
8231 &quot;finalState&quot;: &quot;A String&quot;, # State to which the execution snapshot status will be set if the task succeeds.
8232 },
8233 &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).
8234 &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.
8235 &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.
8236 &quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
8237 &quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
8238 },
8239 &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.
8240 &quot;disabledForVpcSc&quot;: True or False, # True if the task has conflict with vpcsc
8241 &quot;metadata&quot;: { # TaskMetadata are attributes that are associated to every common Task we have. # Metadata inclueds the task name, author and so on.
8242 &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.
8243 &quot;admins&quot;: [
8244 { # 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.
8245 &quot;googleGroupEmail&quot;: &quot;A String&quot;,
8246 &quot;userEmail&quot;: &quot;A String&quot;,
8247 },
8248 ],
8249 &quot;category&quot;: &quot;A String&quot;,
8250 &quot;codeSearchLink&quot;: &quot;A String&quot;, # The Code Search link to the Task Java file.
8251 &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.
8252 &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.
8253 &quot;description&quot;: &quot;A String&quot;, # In a few sentences, describe the purpose and usage of the task.
8254 &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;)
8255 &quot;docMarkdown&quot;: &quot;A String&quot;, # Snippet of markdown documentation to embed in the RHP for this task.
8256 &quot;externalCategory&quot;: &quot;A String&quot;,
8257 &quot;externalCategorySequence&quot;: 42, # Sequence with which the task in specific category to be displayed in task discovery panel for external users.
8258 &quot;externalDocHtml&quot;: &quot;A String&quot;, # External-facing documention embedded in the RHP for this task.
8259 &quot;externalDocLink&quot;: &quot;A String&quot;, # Doc link for external-facing documentation (separate from g3doc).
8260 &quot;externalDocMarkdown&quot;: &quot;A String&quot;, # DEPRECATED: Use external_doc_html.
8261 &quot;g3DocLink&quot;: &quot;A String&quot;, # URL to the associated G3 Doc for the task if available
8262 &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.
8263 &quot;isDeprecated&quot;: True or False, # The deprecation status of the current task. Default value is false;
8264 &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.
8265 &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
8266 &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.
8267 &quot;system&quot;: &quot;A String&quot;,
8268 &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.
8269 &quot;A String&quot;,
8270 ],
8271 },
8272 &quot;paramSpecs&quot;: { # Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask.
8273 &quot;parameters&quot;: [
8274 { # Key-value pair of EventBus task parameters. Next id: 13
8275 &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.
8276 &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.
8277 &quot;config&quot;: { # Optional fields, such as help text and other useful info.
8278 &quot;descriptivePhrase&quot;: &quot;A String&quot;, # A short phrase to describe what this parameter contains.
8279 &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.
8280 &quot;hideDefaultValue&quot;: True or False, # Whether the default value is hidden in the UI.
8281 &quot;inputDisplayOption&quot;: &quot;A String&quot;,
8282 &quot;isHidden&quot;: True or False, # Whether this field is hidden in the UI.
8283 &quot;label&quot;: &quot;A String&quot;, # A user-friendly label for the parameter.
8284 &quot;parameterNameOption&quot;: &quot;A String&quot;,
8285 &quot;subSectionLabel&quot;: &quot;A String&quot;, # A user-friendly label for subSection under which the parameter will be displayed.
8286 &quot;uiPlaceholderText&quot;: &quot;A String&quot;, # Placeholder text which will appear in the UI input form for this parameter.
8287 },
8288 &quot;dataType&quot;: &quot;A String&quot;, # The data type of the parameter.
8289 &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.
8290 &quot;booleanArray&quot;: {
8291 &quot;booleanValues&quot;: [
8292 True or False,
8293 ],
8294 },
8295 &quot;booleanValue&quot;: True or False,
8296 &quot;doubleArray&quot;: {
8297 &quot;doubleValues&quot;: [
8298 3.14,
8299 ],
8300 },
8301 &quot;doubleValue&quot;: 3.14,
8302 &quot;intArray&quot;: {
8303 &quot;intValues&quot;: [
8304 &quot;A String&quot;,
8305 ],
8306 },
8307 &quot;intValue&quot;: &quot;A String&quot;,
8308 &quot;jsonValue&quot;: &quot;A String&quot;,
8309 &quot;protoArray&quot;: {
8310 &quot;protoValues&quot;: [
8311 {
8312 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8313 },
8314 ],
8315 },
8316 &quot;protoValue&quot;: {
8317 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8318 },
8319 &quot;serializedObjectValue&quot;: {
8320 &quot;objectValue&quot;: &quot;A String&quot;,
8321 },
8322 &quot;stringArray&quot;: {
8323 &quot;stringValues&quot;: [
8324 &quot;A String&quot;,
8325 ],
8326 },
8327 &quot;stringValue&quot;: &quot;A String&quot;,
8328 },
8329 &quot;isDeprecated&quot;: True or False, # If set, this entry is deprecated, so further use of this parameter should be prohibited.
8330 &quot;isOutput&quot;: True or False,
8331 &quot;jsonSchema&quot;: &quot;A String&quot;, # If the data_type is JSON_VALUE, then this will define its schema.
8332 &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.
8333 &quot;protoDef&quot;: { # Populated if this represents a proto or proto array.
8334 &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;.
8335 &quot;path&quot;: &quot;A String&quot;, # Path to the proto file that contains the message type&#x27;s definition.
8336 },
8337 &quot;required&quot;: True or False, # If set, the user must provide an input value for this parameter.
8338 &quot;validationRule&quot;: { # Rule used to validate inputs (individual values and collection elements) for this parameter.
8339 &quot;doubleRange&quot;: { # Range used to validate doubles and floats.
8340 &quot;max&quot;: 3.14, # The inclusive maximum of the acceptable range.
8341 &quot;min&quot;: 3.14, # The inclusive minimum of the acceptable range.
8342 },
8343 &quot;intRange&quot;: { # Range used to validate longs and ints.
8344 &quot;max&quot;: &quot;A String&quot;, # The inclusive maximum of the acceptable range.
8345 &quot;min&quot;: &quot;A String&quot;, # The inclusive minimum of the acceptable range.
8346 },
8347 &quot;stringRegex&quot;: { # Rule used to validate strings.
8348 &quot;exclusive&quot;: True or False, # Whether the regex matcher is applied exclusively (if true, matching values will be rejected).
8349 &quot;regex&quot;: &quot;A String&quot;, # The regex applied to the input value(s).
8350 },
8351 },
8352 },
8353 ],
8354 },
8355 &quot;stats&quot;: { # Stats for the requested dimensions: QPS, duration, and error/warning rate # Deprecated - statistics from the Monarch query.
8356 &quot;dimensions&quot;: { # Dimensions that these stats have been aggregated on.
8357 &quot;clientId&quot;: &quot;A String&quot;,
8358 &quot;enumFilterType&quot;: &quot;A String&quot;, # Whether to include or exclude the enums matching the regex.
8359 &quot;errorEnumString&quot;: &quot;A String&quot;,
8360 &quot;retryAttempt&quot;: &quot;A String&quot;,
8361 &quot;taskName&quot;: &quot;A String&quot;,
8362 &quot;taskNumber&quot;: &quot;A String&quot;,
8363 &quot;triggerId&quot;: &quot;A String&quot;, # Stats have been or will be aggregated on set fields for any semantically-meaningful combination.
8364 &quot;warningEnumString&quot;: &quot;A String&quot;,
8365 &quot;workflowId&quot;: &quot;A String&quot;,
8366 &quot;workflowName&quot;: &quot;A String&quot;,
8367 },
8368 &quot;durationInSeconds&quot;: 3.14, # Average duration in seconds.
8369 &quot;errorRate&quot;: 3.14, # Average error rate.
8370 &quot;qps&quot;: 3.14, # Queries per second.
8371 &quot;warningRate&quot;: 3.14, # Average warning rate.
8372 },
8373 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
8374 &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.
8375 &quot;taskUiModuleConfigs&quot;: [ # Configurations of included config modules.
8376 { # Task author would use this type to configure a config module.
8377 &quot;moduleId&quot;: &quot;A String&quot;, # ID of the config module.
8378 },
8379 ],
8380 },
8381 },
8382 &quot;taskExecutionStrategy&quot;: &quot;A String&quot;, # The policy dictating the execution strategy of this task.
8383 &quot;taskName&quot;: &quot;A String&quot;, # The name for the task.
8384 &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`).
8385 &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.
8386 &quot;taskTemplateName&quot;: &quot;A String&quot;, # Used to define task-template name if task is of type task-template
8387 &quot;taskType&quot;: &quot;A String&quot;, # Defines the type of the task
8388 },
8389 ],
8390 &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.
8391 &quot;teardownTaskConfigs&quot;: [ # Required.
8392 {
8393 &quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address.
8394 &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.
8395 &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).
8396 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the next teardown task.
8397 },
8398 &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.
8399 &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.
8400 { # Key-value pair of EventBus parameters.
8401 &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.
8402 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
8403 &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.
8404 &quot;booleanArray&quot;: {
8405 &quot;booleanValues&quot;: [
8406 True or False,
8407 ],
8408 },
8409 &quot;booleanValue&quot;: True or False,
8410 &quot;doubleArray&quot;: {
8411 &quot;doubleValues&quot;: [
8412 3.14,
8413 ],
8414 },
8415 &quot;doubleValue&quot;: 3.14,
8416 &quot;intArray&quot;: {
8417 &quot;intValues&quot;: [
8418 &quot;A String&quot;,
8419 ],
8420 },
8421 &quot;intValue&quot;: &quot;A String&quot;,
8422 &quot;protoArray&quot;: {
8423 &quot;protoValues&quot;: [
8424 {
8425 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8426 },
8427 ],
8428 },
8429 &quot;protoValue&quot;: {
8430 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8431 },
8432 &quot;serializedObjectValue&quot;: {
8433 &quot;objectValue&quot;: &quot;A String&quot;,
8434 },
8435 &quot;stringArray&quot;: {
8436 &quot;stringValues&quot;: [
8437 &quot;A String&quot;,
8438 ],
8439 },
8440 &quot;stringValue&quot;: &quot;A String&quot;,
8441 },
8442 },
8443 ],
8444 },
8445 &quot;properties&quot;: { # LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus.
8446 &quot;properties&quot;: [ # An unordered list of property entries.
8447 { # Key-value pair of EventBus property.
8448 &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.
8449 &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.
8450 &quot;booleanValue&quot;: True or False,
8451 &quot;doubleArray&quot;: {
8452 &quot;values&quot;: [
8453 3.14,
8454 ],
8455 },
8456 &quot;doubleValue&quot;: 3.14,
8457 &quot;intArray&quot;: {
8458 &quot;values&quot;: [
8459 &quot;A String&quot;,
8460 ],
8461 },
8462 &quot;intValue&quot;: &quot;A String&quot;,
8463 &quot;protoValue&quot;: {
8464 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8465 },
8466 &quot;stringArray&quot;: {
8467 &quot;values&quot;: [
8468 &quot;A String&quot;,
8469 ],
8470 },
8471 &quot;stringValue&quot;: &quot;A String&quot;,
8472 },
8473 },
8474 ],
8475 },
8476 &quot;teardownTaskImplementationClassName&quot;: &quot;A String&quot;, # Required. Implementation class name.
8477 },
8478 ],
8479 },
8480 &quot;triggerConfigs&quot;: [ # Optional. Trigger configurations.
8481 { # Configuration detail of a trigger.
8482 &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.
8483 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
8484 &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.
8485 &quot;alertThreshold&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
8486 &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.
8487 &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.
8488 &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.
8489 &quot;metricType&quot;: &quot;A String&quot;, # The type of metric.
8490 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
8491 &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.
8492 &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.
8493 &quot;absolute&quot;: &quot;A String&quot;, # Absolute value threshold.
8494 &quot;percentage&quot;: 42, # Percentage threshold.
8495 },
8496 },
8497 ],
8498 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration # Optional. Cloud Scheduler Trigger related metadata
8499 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
8500 &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
8501 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
8502 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
8503 },
8504 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
8505 &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
8506 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
8507 &quot;names&quot;: [ # Optional. List of variable names.
8508 &quot;A String&quot;,
8509 ],
8510 },
8511 &quot;label&quot;: &quot;A String&quot;, # Optional. The user created label for a particular trigger.
8512 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Optional. Dictates how next tasks will be executed.
8513 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
8514 &quot;names&quot;: [ # Optional. List of variable names.
8515 &quot;A String&quot;,
8516 ],
8517 },
8518 &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.
8519 &quot;x&quot;: 42, # Required. X axis of the coordinate
8520 &quot;y&quot;: 42, # Required. Y axis of the coordinate
8521 },
8522 &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.
8523 &quot;a_key&quot;: &quot;A String&quot;,
8524 },
8525 &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).
8526 { # The task that is next in line to be executed, if the condition specified evaluated to true.
8527 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
8528 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give additional business context about the task.
8529 &quot;displayName&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
8530 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
8531 &quot;taskId&quot;: &quot;A String&quot;, # Task number of the next task.
8532 },
8533 ],
8534 &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.
8535 &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}
8536 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the integration on UI.
8537 &quot;triggerType&quot;: &quot;A String&quot;, # Optional. Type of trigger
8538 },
8539 ],
8540 &quot;triggerConfigsInternal&quot;: [ # Optional. Trigger configurations.
8541 { # Configuration detail of a trigger. Next available id: 22
8542 &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.
8543 { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
8544 &quot;aggregationPeriod&quot;: &quot;A String&quot;, # For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
8545 &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.
8546 &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.
8547 &quot;clientId&quot;: &quot;A String&quot;, # Client associated with this alert configuration.
8548 &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.
8549 &quot;errorEnumList&quot;: { # List of error enums for alerts.
8550 &quot;enumStrings&quot;: [
8551 &quot;A String&quot;,
8552 ],
8553 &quot;filterType&quot;: &quot;A String&quot;,
8554 },
8555 &quot;metricType&quot;: &quot;A String&quot;,
8556 &quot;numAggregationPeriods&quot;: 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
8557 &quot;onlyFinalAttempt&quot;: True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
8558 &quot;playbookUrl&quot;: &quot;A String&quot;, # Link to a playbook for resolving the issue that triggered this alert.
8559 &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.
8560 &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.
8561 &quot;absolute&quot;: &quot;A String&quot;,
8562 &quot;percentage&quot;: 42,
8563 },
8564 &quot;warningEnumList&quot;: { # List of error enums for alerts.
8565 &quot;enumStrings&quot;: [
8566 &quot;A String&quot;,
8567 ],
8568 &quot;filterType&quot;: &quot;A String&quot;,
8569 },
8570 },
8571 ],
8572 &quot;cloudSchedulerConfig&quot;: { # Cloud Scheduler Trigger configuration
8573 &quot;cronTab&quot;: &quot;A String&quot;, # Required. The cron tab of cloud scheduler trigger.
8574 &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
8575 &quot;location&quot;: &quot;A String&quot;, # Required. The location where associated cloud scheduler job will be created
8576 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
8577 },
8578 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.
8579 &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.
8580 &quot;A String&quot;,
8581 ],
8582 &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
8583 &quot;inputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
8584 &quot;names&quot;: [ # Optional. List of variable names.
8585 &quot;A String&quot;,
8586 ],
8587 },
8588 &quot;label&quot;: &quot;A String&quot;, # The user created label for a particular trigger.
8589 &quot;nextTasksExecutionPolicy&quot;: &quot;A String&quot;, # Dictates how next tasks will be executed.
8590 &quot;outputVariables&quot;: { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
8591 &quot;names&quot;: [ # Optional. List of variable names.
8592 &quot;A String&quot;,
8593 ],
8594 },
8595 &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.
8596 &quot;position&quot;: { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this trigger config on the UI.
8597 &quot;x&quot;: 42,
8598 &quot;y&quot;: 42,
8599 },
8600 &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.
8601 &quot;a_key&quot;: &quot;A String&quot;,
8602 },
8603 &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).
8604 { # The task that is next in line to be executed, if the condition specified evaluated to true.
8605 &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`
8606 { # This message recursively combines constituent conditions using logical AND.
8607 &quot;conditions&quot;: [ # A set of individual constituent conditions.
8608 { # Condition that uses `operator` to evaluate the key against the value.
8609 &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.
8610 &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.
8611 &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.
8612 &quot;booleanValue&quot;: True or False,
8613 &quot;doubleArray&quot;: {
8614 &quot;values&quot;: [
8615 3.14,
8616 ],
8617 },
8618 &quot;doubleValue&quot;: 3.14,
8619 &quot;intArray&quot;: {
8620 &quot;values&quot;: [
8621 &quot;A String&quot;,
8622 ],
8623 },
8624 &quot;intValue&quot;: &quot;A String&quot;,
8625 &quot;protoValue&quot;: {
8626 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8627 },
8628 &quot;stringArray&quot;: {
8629 &quot;values&quot;: [
8630 &quot;A String&quot;,
8631 ],
8632 },
8633 &quot;stringValue&quot;: &quot;A String&quot;,
8634 },
8635 },
8636 ],
8637 },
8638 ],
8639 &quot;condition&quot;: &quot;A String&quot;, # Standard filter expression for this task to become an eligible next task.
8640 &quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the next task edge or condition.
8641 &quot;label&quot;: &quot;A String&quot;, # User-provided label that is attached to this edge in the UI.
8642 &quot;taskConfigId&quot;: &quot;A String&quot;, # ID of the next task.
8643 &quot;taskNumber&quot;: &quot;A String&quot;, # Task number of the next task.
8644 },
8645 ],
8646 &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.
8647 &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.
8648 &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.
8649 &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.
8650 { # Key-value pair of EventBus parameters.
8651 &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.
8652 &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
8653 &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.
8654 &quot;booleanArray&quot;: {
8655 &quot;booleanValues&quot;: [
8656 True or False,
8657 ],
8658 },
8659 &quot;booleanValue&quot;: True or False,
8660 &quot;doubleArray&quot;: {
8661 &quot;doubleValues&quot;: [
8662 3.14,
8663 ],
8664 },
8665 &quot;doubleValue&quot;: 3.14,
8666 &quot;intArray&quot;: {
8667 &quot;intValues&quot;: [
8668 &quot;A String&quot;,
8669 ],
8670 },
8671 &quot;intValue&quot;: &quot;A String&quot;,
8672 &quot;protoArray&quot;: {
8673 &quot;protoValues&quot;: [
8674 {
8675 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8676 },
8677 ],
8678 },
8679 &quot;protoValue&quot;: {
8680 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
8681 },
8682 &quot;serializedObjectValue&quot;: {
8683 &quot;objectValue&quot;: &quot;A String&quot;,
8684 },
8685 &quot;stringArray&quot;: {
8686 &quot;stringValues&quot;: [
8687 &quot;A String&quot;,
8688 ],
8689 },
8690 &quot;stringValue&quot;: &quot;A String&quot;,
8691 },
8692 },
8693 ],
8694 },
8695 &quot;triggerCriteriaTaskImplementationClassName&quot;: &quot;A String&quot;, # Optional. Implementation class name. The class should implement the “TypedTask” interface.
8696 },
8697 &quot;triggerId&quot;: &quot;A String&quot;, # The backend trigger ID.
8698 &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.
8699 &quot;triggerNumber&quot;: &quot;A String&quot;, # Required. A number to uniquely identify each trigger config within the workflow on UI.
8700 &quot;triggerType&quot;: &quot;A String&quot;,
8701 },
8702 ],
8703 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Auto-generated.
8704 &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.
8705 },
8706 }</pre>
8707 </div>
8708
8709 </body></html>