Skip to content

Commit a32107f

Browse files
feat(integrations): update the api
#### integrations:v1alpha The following keys were added: - resources.projects.resources.locations.resources.integrations.methods.executeEvent (Total Keys: 12) - resources.projects.resources.locations.resources.integrations.resources.executions.methods.list.parameters.filterParams.parameterKey.deprecated (Total Keys: 1) - resources.projects.resources.locations.resources.integrations.resources.executions.methods.list.parameters.filterParams.parameterValue.deprecated (Total Keys: 1) - resources.projects.resources.locations.resources.integrations.resources.executions.methods.list.parameters.filterParams.taskStatuses.deprecated (Total Keys: 1) - resources.projects.resources.locations.resources.integrations.resources.executions.methods.list.parameters.truncateParams.deprecated (Total Keys: 1) - resources.projects.resources.locations.resources.products.resources.integrations.resources.executions.methods.list.parameters.filterParams.parameterKey.deprecated (Total Keys: 1) - resources.projects.resources.locations.resources.products.resources.integrations.resources.executions.methods.list.parameters.filterParams.parameterValue.deprecated (Total Keys: 1) - resources.projects.resources.locations.resources.products.resources.integrations.resources.executions.methods.list.parameters.filterParams.taskStatuses.deprecated (Total Keys: 1) - resources.projects.resources.locations.resources.products.resources.integrations.resources.executions.methods.list.parameters.truncateParams.deprecated (Total Keys: 1) - schemas.GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow.properties.authUri.type (Total Keys: 1) - schemas.GoogleCloudConnectorsV1ConfigVariable.properties.keyValue.$ref (Total Keys: 1) - schemas.GoogleCloudConnectorsV1EncryptionKey (Total Keys: 4) - schemas.GoogleCloudIntegrationsV1alphaExecuteEventRequest (Total Keys: 3) - schemas.GoogleCloudIntegrationsV1alphaExecuteEventResponse (Total Keys: 3) - schemas.IoCloudeventsV1CloudEvent (Total Keys: 25)
1 parent d500efb commit a32107f

11 files changed

+258
-21
lines changed

docs/dyn/integrations_v1alpha.projects.locations.authConfigs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1262,7 +1262,7 @@ <h3>Method Details</h3>
12621262

12631263
Args:
12641264
parent: string, Required. The client, which owns this collection of AuthConfigs. (required)
1265-
filter: string, Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters.
1265+
filter: string, Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.
12661266
pageSize: integer, The size of entries in the response. If unspecified, defaults to 100.
12671267
pageToken: string, The token returned in the previous response.
12681268
readMask: string, The mask which specifies fields that need to be returned in the AuthConfig&#x27;s response.

docs/dyn/integrations_v1alpha.projects.locations.connections.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,10 @@ <h3>Method Details</h3>
153153
&quot;boolValue&quot;: True or False, # Value is a bool.
154154
&quot;intValue&quot;: &quot;A String&quot;, # Value is an integer
155155
&quot;key&quot;: &quot;A String&quot;, # Key of the config variable.
156+
&quot;keyValue&quot;: { # Encryption Key value. # Value is a Encryption Key.
157+
&quot;kmsKeyName&quot;: &quot;A String&quot;, # The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed.
158+
&quot;type&quot;: &quot;A String&quot;, # Type.
159+
},
156160
&quot;secretValue&quot;: { # Secret provides a reference to entries in Secret Manager. # Value is a secret.
157161
&quot;secretVersion&quot;: &quot;A String&quot;, # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
158162
},
@@ -163,6 +167,7 @@ <h3>Method Details</h3>
163167
&quot;authType&quot;: &quot;A String&quot;, # The type of authentication configured.
164168
&quot;oauth2AuthCodeFlow&quot;: { # Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details. # Oauth2AuthCodeFlow.
165169
&quot;authCode&quot;: &quot;A String&quot;, # Authorization code to be exchanged for access and refresh tokens.
170+
&quot;authUri&quot;: &quot;A String&quot;, # Auth URL for Authorization Code Flow
166171
&quot;clientId&quot;: &quot;A String&quot;, # Client ID for user-provided OAuth app.
167172
&quot;clientSecret&quot;: { # Secret provides a reference to entries in Secret Manager. # Client secret for user-provided OAuth app.
168173
&quot;secretVersion&quot;: &quot;A String&quot;, # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
@@ -212,12 +217,17 @@ <h3>Method Details</h3>
212217
&quot;boolValue&quot;: True or False, # Value is a bool.
213218
&quot;intValue&quot;: &quot;A String&quot;, # Value is an integer
214219
&quot;key&quot;: &quot;A String&quot;, # Key of the config variable.
220+
&quot;keyValue&quot;: { # Encryption Key value. # Value is a Encryption Key.
221+
&quot;kmsKeyName&quot;: &quot;A String&quot;, # The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed.
222+
&quot;type&quot;: &quot;A String&quot;, # Type.
223+
},
215224
&quot;secretValue&quot;: { # Secret provides a reference to entries in Secret Manager. # Value is a secret.
216225
&quot;secretVersion&quot;: &quot;A String&quot;, # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
217226
},
218227
&quot;stringValue&quot;: &quot;A String&quot;, # Value is a string.
219228
},
220229
],
230+
&quot;connectionRevision&quot;: &quot;A String&quot;, # Output only. Connection revision. This field is only updated when the connection is created or updated by User.
221231
&quot;connectorVersion&quot;: &quot;A String&quot;, # Required. Connector version on which the connection is created. The format is: projects/*/locations/*/providers/*/connectors/*/versions/* Only global location is supported for ConnectorVersion resource.
222232
&quot;connectorVersionLaunchStage&quot;: &quot;A String&quot;, # Output only. Flag to mark the version indicating the launch stage.
223233
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Created time.
@@ -259,6 +269,10 @@ <h3>Method Details</h3>
259269
&quot;boolValue&quot;: True or False, # Value is a bool.
260270
&quot;intValue&quot;: &quot;A String&quot;, # Value is an integer
261271
&quot;key&quot;: &quot;A String&quot;, # Key of the config variable.
272+
&quot;keyValue&quot;: { # Encryption Key value. # Value is a Encryption Key.
273+
&quot;kmsKeyName&quot;: &quot;A String&quot;, # The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed.
274+
&quot;type&quot;: &quot;A String&quot;, # Type.
275+
},
262276
&quot;secretValue&quot;: { # Secret provides a reference to entries in Secret Manager. # Value is a secret.
263277
&quot;secretVersion&quot;: &quot;A String&quot;, # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
264278
},

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

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ <h2>Instance Methods</h2>
9393
<p class="toc_element">
9494
<code><a href="#execute">execute(name, body=None, x__xgafv=None)</a></code></p>
9595
<p class="firstline">Executes integrations synchronously by passing the trigger id in the request body. The request is not returned until the requested executions are either fulfilled or experienced an error. If the integration name is not specified (passing `-`), all of the associated integration under the given trigger_id will be executed. Otherwise only the specified integration for the given `trigger_id` is executed. This is helpful for execution the integration from UI.</p>
96+
<p class="toc_element">
97+
<code><a href="#executeEvent">executeEvent(name, body=None, x__xgafv=None)</a></code></p>
98+
<p class="firstline">Executes an integration on receiving events from Integration Connector triggers, Eventarc or CPS Trigger. The details about integration are derived from CloudEvent request body.</p>
9699
<p class="toc_element">
97100
<code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
98101
<p class="firstline">Returns the list of all integrations in the specified project.</p>
@@ -376,6 +379,53 @@ <h3>Method Details</h3>
376379
}</pre>
377380
</div>
378381

382+
<div class="method">
383+
<code class="details" id="executeEvent">executeEvent(name, body=None, x__xgafv=None)</code>
384+
<pre>Executes an integration on receiving events from Integration Connector triggers, Eventarc or CPS Trigger. The details about integration are derived from CloudEvent request body.
385+
386+
Args:
387+
name: string, Required. The integration resource name. Format: projects/{gcp_project_id}/locations/{location}/integrations/{integration_id} (required)
388+
body: object, The request body.
389+
The object takes the form of:
390+
391+
{ # Request for triggering an integration using event triggers.
392+
&quot;cloudEvent&quot;: { # -- CloudEvent Context Attributes # Required. Details about the trigger which is to be executed and values for input variable to the integration.
393+
&quot;attributes&quot;: { # Optional &amp; Extension Attributes
394+
&quot;a_key&quot;: {
395+
&quot;ceBoolean&quot;: True or False,
396+
&quot;ceBytes&quot;: &quot;A String&quot;,
397+
&quot;ceInteger&quot;: 42,
398+
&quot;ceString&quot;: &quot;A String&quot;,
399+
&quot;ceTimestamp&quot;: &quot;A String&quot;,
400+
&quot;ceUri&quot;: &quot;A String&quot;,
401+
&quot;ceUriRef&quot;: &quot;A String&quot;,
402+
},
403+
},
404+
&quot;binaryData&quot;: &quot;A String&quot;,
405+
&quot;id&quot;: &quot;A String&quot;, # Required Attributes
406+
&quot;protoData&quot;: {
407+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
408+
},
409+
&quot;source&quot;: &quot;A String&quot;, # URI-reference
410+
&quot;specVersion&quot;: &quot;A String&quot;,
411+
&quot;textData&quot;: &quot;A String&quot;,
412+
&quot;type&quot;: &quot;A String&quot;,
413+
},
414+
}
415+
416+
x__xgafv: string, V1 error format.
417+
Allowed values
418+
1 - v1 error format
419+
2 - v2 error format
420+
421+
Returns:
422+
An object of the form:
423+
424+
{ # The response for executing an integration.
425+
&quot;executionId&quot;: &quot;A String&quot;, # The id of the execution corresponding to this run of integration.
426+
}</pre>
427+
</div>
428+
379429
<div class="method">
380430
<code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
381431
<pre>Returns the list of all integrations in the specified project.
@@ -554,7 +604,7 @@ <h3>Method Details</h3>
554604
},
555605
&quot;requestId&quot;: &quot;A String&quot;, # This is used to de-dup incoming request: if the duplicate request was detected, the response from the previous execution is returned.
556606
&quot;scheduleTime&quot;: &quot;A String&quot;, # The time that the integration should be executed. If the time is less or equal to the current time, the integration is executed immediately.
557-
&quot;triggerId&quot;: &quot;A String&quot;, # Matched against all {@link TriggerConfig}s across all integrations. i.e. TriggerConfig.trigger_id.equals(trigger_id)
607+
&quot;triggerId&quot;: &quot;A String&quot;, # Required. Matched against all {@link TriggerConfig}s across all integrations. i.e. TriggerConfig.trigger_id.equals(trigger_id)
558608
}
559609

560610
x__xgafv: string, V1 error format.

docs/dyn/integrations_v1alpha.projects.locations.products.authConfigs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1262,7 +1262,7 @@ <h3>Method Details</h3>
12621262

12631263
Args:
12641264
parent: string, Required. The client, which owns this collection of AuthConfigs. (required)
1265-
filter: string, Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters.
1265+
filter: string, Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.
12661266
pageSize: integer, The size of entries in the response. If unspecified, defaults to 100.
12671267
pageToken: string, The token returned in the previous response.
12681268
readMask: string, The mask which specifies fields that need to be returned in the AuthConfig&#x27;s response.

docs/dyn/integrations_v1alpha.projects.locations.products.certificates.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ <h3>Method Details</h3>
206206

207207
Args:
208208
parent: string, Required. The client, which owns this collection of Certificates. (required)
209-
filter: string, Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters.
209+
filter: string, Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.
210210
pageSize: integer, The size of entries in the response. If unspecified, defaults to 100.
211211
pageToken: string, The token returned in the previous response.
212212
readMask: string, The mask which specifies fields that need to be returned in the Certificate&#x27;s response.

docs/dyn/integrations_v1alpha.projects.locations.products.integrations.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ <h3>Method Details</h3>
554554
},
555555
&quot;requestId&quot;: &quot;A String&quot;, # This is used to de-dup incoming request: if the duplicate request was detected, the response from the previous execution is returned.
556556
&quot;scheduleTime&quot;: &quot;A String&quot;, # The time that the integration should be executed. If the time is less or equal to the current time, the integration is executed immediately.
557-
&quot;triggerId&quot;: &quot;A String&quot;, # Matched against all {@link TriggerConfig}s across all integrations. i.e. TriggerConfig.trigger_id.equals(trigger_id)
557+
&quot;triggerId&quot;: &quot;A String&quot;, # Required. Matched against all {@link TriggerConfig}s across all integrations. i.e. TriggerConfig.trigger_id.equals(trigger_id)
558558
}
559559

560560
x__xgafv: string, V1 error format.

docs/dyn/integrations_v1alpha.projects.locations.products.sfdcInstances.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ <h3>Method Details</h3>
205205

206206
Args:
207207
parent: string, Required. The client, which owns this collection of SfdcInstances. (required)
208-
filter: string, Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters.
208+
filter: string, Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.
209209
pageSize: integer, The size of entries in the response. If unspecified, defaults to 100.
210210
pageToken: string, The token returned in the previous response.
211211
readMask: string, The mask which specifies fields that need to be returned in the SfdcInstance&#x27;s response.

docs/dyn/integrations_v1alpha.projects.locations.products.sfdcInstances.sfdcChannels.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ <h3>Method Details</h3>
194194

195195
Args:
196196
parent: string, Required. The client, which owns this collection of SfdcChannels. (required)
197-
filter: string, Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters.
197+
filter: string, Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.
198198
pageSize: integer, The size of entries in the response. If unspecified, defaults to 100.
199199
pageToken: string, The token returned in the previous response.
200200
readMask: string, The mask which specifies fields that need to be returned in the SfdcChannel&#x27;s response.

docs/dyn/integrations_v1alpha.projects.locations.sfdcInstances.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ <h3>Method Details</h3>
205205

206206
Args:
207207
parent: string, Required. The client, which owns this collection of SfdcInstances. (required)
208-
filter: string, Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters.
208+
filter: string, Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.
209209
pageSize: integer, The size of entries in the response. If unspecified, defaults to 100.
210210
pageToken: string, The token returned in the previous response.
211211
readMask: string, The mask which specifies fields that need to be returned in the SfdcInstance&#x27;s response.

docs/dyn/integrations_v1alpha.projects.locations.sfdcInstances.sfdcChannels.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ <h3>Method Details</h3>
194194

195195
Args:
196196
parent: string, Required. The client, which owns this collection of SfdcChannels. (required)
197-
filter: string, Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters.
197+
filter: string, Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.
198198
pageSize: integer, The size of entries in the response. If unspecified, defaults to 100.
199199
pageToken: string, The token returned in the previous response.
200200
readMask: string, The mask which specifies fields that need to be returned in the SfdcChannel&#x27;s response.

0 commit comments

Comments
 (0)