Skip to content

Commit 8bd4954

Browse files
feat(integrations): update the api
#### integrations:v1 The following keys were added: - resources.projects.resources.locations.resources.integrations.resources.executions.methods.replay (Total Keys: 12) - schemas.EnterpriseCrmEventbusProtoConditionalFailurePolicies (Total Keys: 5) - schemas.EnterpriseCrmEventbusProtoEventExecutionSnapshot.properties.clientId.type (Total Keys: 1) - schemas.EnterpriseCrmEventbusProtoEventExecutionSnapshot.properties.workflowName.type (Total Keys: 1) - schemas.EnterpriseCrmFrontendsEventbusProtoTaskConfig.properties.conditionalFailurePolicies.$ref (Total Keys: 1) - schemas.GoogleCloudIntegrationsV1alphaConditionalFailurePolicies (Total Keys: 5) - schemas.GoogleCloudIntegrationsV1alphaReplayExecutionRequest (Total Keys: 3) - schemas.GoogleCloudIntegrationsV1alphaReplayExecutionResponse (Total Keys: 6) - schemas.GoogleCloudIntegrationsV1alphaTaskConfig.properties.conditionalFailurePolicies.$ref (Total Keys: 1)
1 parent 331029f commit 8bd4954

7 files changed

+736
-6
lines changed

docs/dyn/integrations_v1.projects.locations.integrations.executions.html

Lines changed: 39 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ <h2>Instance Methods</h2>
9494
<p class="toc_element">
9595
<code><a href="#list_next">list_next()</a></code></p>
9696
<p class="firstline">Retrieves the next page of results.</p>
97+
<p class="toc_element">
98+
<code><a href="#replay">replay(name, body=None, x__xgafv=None)</a></code></p>
99+
<p class="firstline">Re-execute an existing execution, with same request parameters and execution strategy</p>
97100
<h3>Method Details</h3>
98101
<div class="method">
99102
<code class="details" id="close">close()</code>
@@ -150,8 +153,9 @@ <h3>Method Details</h3>
150153
},
151154
],
152155
&quot;eventExecutionSnapshot&quot;: [
153-
{ # Contains the snapshot of the event execution for a given checkpoint. Next available id: 13
156+
{ # Contains the snapshot of the event execution for a given checkpoint. Next available id: 15
154157
&quot;checkpointTaskNumber&quot;: &quot;A String&quot;, # Indicates &quot;right after which checkpoint task&#x27;s execution&quot; this snapshot is taken.
158+
&quot;clientId&quot;: &quot;A String&quot;, # Client that the execution snapshot is associated to.
155159
&quot;conditionResults&quot;: [ # All of the computed conditions that been calculated.
156160
{ # Contains the combined condition calculation results.
157161
&quot;currentTaskNumber&quot;: &quot;A String&quot;, # the current task number.
@@ -284,6 +288,7 @@ <h3>Method Details</h3>
284288
},
285289
],
286290
&quot;taskName&quot;: &quot;A String&quot;, # The task name associated with this snapshot. Could be empty.
291+
&quot;workflowName&quot;: &quot;A String&quot;, # Name of the workflow this event execution snapshot belongs to.
287292
},
288293
],
289294
&quot;eventExecutionSnapshotsSize&quot;: &quot;A String&quot;, # Total size of all event_execution_snapshots for an execution
@@ -883,8 +888,9 @@ <h3>Method Details</h3>
883888
},
884889
],
885890
&quot;eventExecutionSnapshot&quot;: [
886-
{ # Contains the snapshot of the event execution for a given checkpoint. Next available id: 13
891+
{ # Contains the snapshot of the event execution for a given checkpoint. Next available id: 15
887892
&quot;checkpointTaskNumber&quot;: &quot;A String&quot;, # Indicates &quot;right after which checkpoint task&#x27;s execution&quot; this snapshot is taken.
893+
&quot;clientId&quot;: &quot;A String&quot;, # Client that the execution snapshot is associated to.
888894
&quot;conditionResults&quot;: [ # All of the computed conditions that been calculated.
889895
{ # Contains the combined condition calculation results.
890896
&quot;currentTaskNumber&quot;: &quot;A String&quot;, # the current task number.
@@ -1017,6 +1023,7 @@ <h3>Method Details</h3>
10171023
},
10181024
],
10191025
&quot;taskName&quot;: &quot;A String&quot;, # The task name associated with this snapshot. Could be empty.
1026+
&quot;workflowName&quot;: &quot;A String&quot;, # Name of the workflow this event execution snapshot belongs to.
10201027
},
10211028
],
10221029
&quot;eventExecutionSnapshotsSize&quot;: &quot;A String&quot;, # Total size of all event_execution_snapshots for an execution
@@ -1282,4 +1289,34 @@ <h3>Method Details</h3>
12821289
</pre>
12831290
</div>
12841291

1292+
<div class="method">
1293+
<code class="details" id="replay">replay(name, body=None, x__xgafv=None)</code>
1294+
<pre>Re-execute an existing execution, with same request parameters and execution strategy
1295+
1296+
Args:
1297+
name: string, Required. The execution resource name. Format: projects/{gcp_project_id}/locations/{location}/integrations/{integration}/executions/{execution_id} (required)
1298+
body: object, The request body.
1299+
The object takes the form of:
1300+
1301+
{ # Request for replaying an execution Next ID: 3
1302+
&quot;replayReason&quot;: &quot;A String&quot;, # Optional. The user provided reason for replaying the execution.
1303+
}
1304+
1305+
x__xgafv: string, V1 error format.
1306+
Allowed values
1307+
1 - v1 error format
1308+
2 - v2 error format
1309+
1310+
Returns:
1311+
An object of the form:
1312+
1313+
{ # Response for replaying an execution Next ID: 4
1314+
&quot;executionId&quot;: &quot;A String&quot;, # The id of the execution corresponding to this run of integration.
1315+
&quot;outputParameters&quot;: { # OUTPUT parameters in format of Map. Where Key is the name of the parameter. The parameters would only be present in case of synchrounous execution Note: Name of the system generated parameters are wrapped by backtick(`) to distinguish them from the user defined parameters.
1316+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1317+
},
1318+
&quot;replayedExecutionId&quot;: &quot;A String&quot;, # The execution id which is replayed
1319+
}</pre>
1320+
</div>
1321+
12851322
</body></html>

docs/dyn/integrations_v1.projects.locations.integrations.html

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -928,6 +928,22 @@ <h3>Method Details</h3>
928928
&quot;status&quot;: &quot;A String&quot;, # Output only. Generated by eventbus. User should not set it as an input.
929929
&quot;taskConfigs&quot;: [ # Optional. Task configuration for the integration. It&#x27;s optional, but the integration doesn&#x27;t do anything without task_configs.
930930
{ # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
931+
&quot;conditionalFailurePolicies&quot;: { # Conditional task failur retry strategies # Optional. The list of conditional failure policies that will be applied to the task in order.
932+
&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.
933+
&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.
934+
&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.
935+
&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.
936+
&quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
937+
},
938+
&quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
939+
{ # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
940+
&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.
941+
&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.
942+
&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.
943+
&quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
944+
},
945+
],
946+
},
931947
&quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description intended to give additional business context about the task.
932948
&quot;displayName&quot;: &quot;A String&quot;, # Optional. User-provided label that is attached to this TaskConfig in the UI.
933949
&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
@@ -1033,6 +1049,22 @@ <h3>Method Details</h3>
10331049
},
10341050
},
10351051
],
1052+
&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).
1053+
&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
1054+
&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.
1055+
&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.
1056+
&quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
1057+
&quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
1058+
},
1059+
&quot;failurePolicies&quot;: [ # The list of failure policies that will be applied to the task in order.
1060+
{ # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
1061+
&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.
1062+
&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.
1063+
&quot;retryCondition&quot;: &quot;A String&quot;, # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
1064+
&quot;retryStrategy&quot;: &quot;A String&quot;, # Defines what happens to the task upon failure.
1065+
},
1066+
],
1067+
},
10361068
&quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
10371069
&quot;creatorEmail&quot;: &quot;A String&quot;, # The creator&#x27;s email address. Auto-generated from the user&#x27;s email.
10381070
&quot;description&quot;: &quot;A String&quot;, # User-provided description intended to give more business context about the task.

0 commit comments

Comments
 (0)