Skip to content

Commit ea82d2d

Browse files
feat(integrations): update the api
#### integrations:v1alpha The following keys were deleted: - resources.projects.resources.locations.resources.integrations.methods.executeEvent.request.$ref (Total Keys: 1) - schemas.GoogleCloudConnectorsV1ConfigVariable.properties.keyValue.$ref (Total Keys: 1) - schemas.GoogleCloudIntegrationsV1alphaExecuteEventRequest (Total Keys: 3) - schemas.IoCloudeventsV1CloudEvent (Total Keys: 25) The following keys were added: - resources.projects.resources.locations.resources.integrations.methods.executeEvent.parameters.triggerId (Total Keys: 2) - resources.projects.resources.locations.resources.integrations.methods.executeEvent.request.additionalProperties.type (Total Keys: 1) - resources.projects.resources.locations.resources.integrations.methods.executeEvent.request.type (Total Keys: 1) - resources.projects.resources.locations.resources.integrations.resources.versions.methods.create.parameters.createSampleIntegrations (Total Keys: 2) - resources.projects.resources.locations.resources.products.resources.integrations.resources.versions.methods.create.parameters.createSampleIntegrations (Total Keys: 2) - schemas.GoogleCloudConnectorsV1ConfigVariable.properties.encryptionKeyValue.$ref (Total Keys: 1)
1 parent 97ff4eb commit ea82d2d

5 files changed

+46
-134
lines changed

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -151,12 +151,12 @@ <h3>Method Details</h3>
151151
&quot;additionalVariables&quot;: [ # List containing additional auth configs.
152152
{ # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig.
153153
&quot;boolValue&quot;: True or False, # Value is a bool.
154-
&quot;intValue&quot;: &quot;A String&quot;, # Value is an integer
155-
&quot;key&quot;: &quot;A String&quot;, # Key of the config variable.
156-
&quot;keyValue&quot;: { # Encryption Key value. # Value is a Encryption Key.
154+
&quot;encryptionKeyValue&quot;: { # Encryption Key value. # Value is a Encryption Key.
157155
&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.
158156
&quot;type&quot;: &quot;A String&quot;, # Type.
159157
},
158+
&quot;intValue&quot;: &quot;A String&quot;, # Value is an integer
159+
&quot;key&quot;: &quot;A String&quot;, # Key of the config variable.
160160
&quot;secretValue&quot;: { # Secret provides a reference to entries in Secret Manager. # Value is a secret.
161161
&quot;secretVersion&quot;: &quot;A String&quot;, # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
162162
},
@@ -215,12 +215,12 @@ <h3>Method Details</h3>
215215
&quot;configVariables&quot;: [ # Optional. Configuration for configuring the connection with an external system.
216216
{ # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig.
217217
&quot;boolValue&quot;: True or False, # Value is a bool.
218-
&quot;intValue&quot;: &quot;A String&quot;, # Value is an integer
219-
&quot;key&quot;: &quot;A String&quot;, # Key of the config variable.
220-
&quot;keyValue&quot;: { # Encryption Key value. # Value is a Encryption Key.
218+
&quot;encryptionKeyValue&quot;: { # Encryption Key value. # Value is a Encryption Key.
221219
&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.
222220
&quot;type&quot;: &quot;A String&quot;, # Type.
223221
},
222+
&quot;intValue&quot;: &quot;A String&quot;, # Value is an integer
223+
&quot;key&quot;: &quot;A String&quot;, # Key of the config variable.
224224
&quot;secretValue&quot;: { # Secret provides a reference to entries in Secret Manager. # Value is a secret.
225225
&quot;secretVersion&quot;: &quot;A String&quot;, # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
226226
},
@@ -267,12 +267,12 @@ <h3>Method Details</h3>
267267
&quot;additionalVariables&quot;: [ # Additional SSL related field values
268268
{ # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig.
269269
&quot;boolValue&quot;: True or False, # Value is a bool.
270-
&quot;intValue&quot;: &quot;A String&quot;, # Value is an integer
271-
&quot;key&quot;: &quot;A String&quot;, # Key of the config variable.
272-
&quot;keyValue&quot;: { # Encryption Key value. # Value is a Encryption Key.
270+
&quot;encryptionKeyValue&quot;: { # Encryption Key value. # Value is a Encryption Key.
273271
&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.
274272
&quot;type&quot;: &quot;A String&quot;, # Type.
275273
},
274+
&quot;intValue&quot;: &quot;A String&quot;, # Value is an integer
275+
&quot;key&quot;: &quot;A String&quot;, # Key of the config variable.
276276
&quot;secretValue&quot;: { # Secret provides a reference to entries in Secret Manager. # Value is a secret.
277277
&quot;secretVersion&quot;: &quot;A String&quot;, # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
278278
},

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

Lines changed: 5 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ <h2>Instance Methods</h2>
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>
9696
<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>
97+
<code><a href="#executeEvent">executeEvent(name, body=None, triggerId=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. Input data to integration is received in body in json format</p>
9999
<p class="toc_element">
100100
<code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
101101
<p class="firstline">Returns the list of all integrations in the specified project.</p>
@@ -380,39 +380,13 @@ <h3>Method Details</h3>
380380
</div>
381381

382382
<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.
383+
<code class="details" id="executeEvent">executeEvent(name, body=None, triggerId=None, x__xgafv=None)</code>
384+
<pre>Executes an integration on receiving events from Integration Connector triggers, Eventarc or CPS Trigger. Input data to integration is received in body in json format
385385

386386
Args:
387387
name: string, Required. The integration resource name. Format: projects/{gcp_project_id}/locations/{location}/integrations/{integration_id} (required)
388388
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-
389+
triggerId: string, Required. Id of the integration trigger config. The trigger_id is in the format: `integration_connector_trigger/projects/{gcp_project_id}/location/{location}/connections/{connection_name}/subscriptions/{subscription_name}`.
416390
x__xgafv: string, V1 error format.
417391
Allowed values
418392
1 - v1 error format

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ <h2>Instance Methods</h2>
7878
<code><a href="#close">close()</a></code></p>
7979
<p class="firstline">Close httplib2 connections.</p>
8080
<p class="toc_element">
81-
<code><a href="#create">create(parent, body=None, newIntegration=None, x__xgafv=None)</a></code></p>
81+
<code><a href="#create">create(parent, body=None, createSampleIntegrations=None, newIntegration=None, x__xgafv=None)</a></code></p>
8282
<p class="firstline">Create a integration with a draft version in the specified project.</p>
8383
<p class="toc_element">
8484
<code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
@@ -117,7 +117,7 @@ <h3>Method Details</h3>
117117
</div>
118118

119119
<div class="method">
120-
<code class="details" id="create">create(parent, body=None, newIntegration=None, x__xgafv=None)</code>
120+
<code class="details" id="create">create(parent, body=None, createSampleIntegrations=None, newIntegration=None, x__xgafv=None)</code>
121121
<pre>Create a integration with a draft version in the specified project.
122122

123123
Args:
@@ -1036,6 +1036,7 @@ <h3>Method Details</h3>
10361036
&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.
10371037
}
10381038

1039+
createSampleIntegrations: boolean, Optional. Optional. Indicates if sample workflow should be created.
10391040
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.
10401041
x__xgafv: string, V1 error format.
10411042
Allowed values

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ <h2>Instance Methods</h2>
7878
<code><a href="#close">close()</a></code></p>
7979
<p class="firstline">Close httplib2 connections.</p>
8080
<p class="toc_element">
81-
<code><a href="#create">create(parent, body=None, newIntegration=None, x__xgafv=None)</a></code></p>
81+
<code><a href="#create">create(parent, body=None, createSampleIntegrations=None, newIntegration=None, x__xgafv=None)</a></code></p>
8282
<p class="firstline">Create a integration with a draft version in the specified project.</p>
8383
<p class="toc_element">
8484
<code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
@@ -117,7 +117,7 @@ <h3>Method Details</h3>
117117
</div>
118118

119119
<div class="method">
120-
<code class="details" id="create">create(parent, body=None, newIntegration=None, x__xgafv=None)</code>
120+
<code class="details" id="create">create(parent, body=None, createSampleIntegrations=None, newIntegration=None, x__xgafv=None)</code>
121121
<pre>Create a integration with a draft version in the specified project.
122122

123123
Args:
@@ -1036,6 +1036,7 @@ <h3>Method Details</h3>
10361036
&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.
10371037
}
10381038

1039+
createSampleIntegrations: boolean, Optional. Optional. Indicates if sample workflow should be created.
10391040
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.
10401041
x__xgafv: string, V1 error format.
10411042
Allowed values

googleapiclient/discovery_cache/documents/integrations.v1alpha.json

Lines changed: 26 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,7 @@
690690
]
691691
},
692692
"executeEvent": {
693-
"description": "Executes an integration on receiving events from Integration Connector triggers, Eventarc or CPS Trigger. The details about integration are derived from CloudEvent request body.",
693+
"description": "Executes an integration on receiving events from Integration Connector triggers, Eventarc or CPS Trigger. Input data to integration is received in body in json format",
694694
"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}:executeEvent",
695695
"httpMethod": "POST",
696696
"id": "integrations.projects.locations.integrations.executeEvent",
@@ -704,11 +704,20 @@
704704
"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$",
705705
"required": true,
706706
"type": "string"
707+
},
708+
"triggerId": {
709+
"description": "Required. Id of the integration trigger config. The trigger_id is in the format: `integration_connector_trigger/projects/{gcp_project_id}/location/{location}/connections/{connection_name}/subscriptions/{subscription_name}`.",
710+
"location": "query",
711+
"type": "string"
707712
}
708713
},
709714
"path": "v1alpha/{+name}:executeEvent",
710715
"request": {
711-
"$ref": "GoogleCloudIntegrationsV1alphaExecuteEventRequest"
716+
"additionalProperties": {
717+
"description": "Properties of the object.",
718+
"type": "any"
719+
},
720+
"type": "object"
712721
},
713722
"response": {
714723
"$ref": "GoogleCloudIntegrationsV1alphaExecuteEventResponse"
@@ -1046,6 +1055,11 @@
10461055
"parent"
10471056
],
10481057
"parameters": {
1058+
"createSampleIntegrations": {
1059+
"description": "Optional. Optional. Indicates if sample workflow should be created.",
1060+
"location": "query",
1061+
"type": "boolean"
1062+
},
10491063
"newIntegration": {
10501064
"description": "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.",
10511065
"location": "query",
@@ -2157,6 +2171,11 @@
21572171
"parent"
21582172
],
21592173
"parameters": {
2174+
"createSampleIntegrations": {
2175+
"description": "Optional. Optional. Indicates if sample workflow should be created.",
2176+
"location": "query",
2177+
"type": "boolean"
2178+
},
21602179
"newIntegration": {
21612180
"description": "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.",
21622181
"location": "query",
@@ -3238,7 +3257,7 @@
32383257
}
32393258
}
32403259
},
3241-
"revision": "20230524",
3260+
"revision": "20230530",
32423261
"rootUrl": "https://integrations.googleapis.com/",
32433262
"schemas": {
32443263
"CrmlogErrorCode": {
@@ -7937,6 +7956,10 @@
79377956
"description": "Value is a bool.",
79387957
"type": "boolean"
79397958
},
7959+
"encryptionKeyValue": {
7960+
"$ref": "GoogleCloudConnectorsV1EncryptionKey",
7961+
"description": "Value is a Encryption Key."
7962+
},
79407963
"intValue": {
79417964
"description": "Value is an integer",
79427965
"format": "int64",
@@ -7946,10 +7969,6 @@
79467969
"description": "Key of the config variable.",
79477970
"type": "string"
79487971
},
7949-
"keyValue": {
7950-
"$ref": "GoogleCloudConnectorsV1EncryptionKey",
7951-
"description": "Value is a Encryption Key."
7952-
},
79537972
"secretValue": {
79547973
"$ref": "GoogleCloudConnectorsV1Secret",
79557974
"description": "Value is a secret."
@@ -8901,17 +8920,6 @@
89018920
},
89028921
"type": "object"
89038922
},
8904-
"GoogleCloudIntegrationsV1alphaExecuteEventRequest": {
8905-
"description": "Request for triggering an integration using event triggers.",
8906-
"id": "GoogleCloudIntegrationsV1alphaExecuteEventRequest",
8907-
"properties": {
8908-
"cloudEvent": {
8909-
"$ref": "IoCloudeventsV1CloudEvent",
8910-
"description": "Required. Details about the trigger which is to be executed and values for input variable to the integration."
8911-
}
8912-
},
8913-
"type": "object"
8914-
},
89158923
"GoogleCloudIntegrationsV1alphaExecuteEventResponse": {
89168924
"description": "The response for executing an integration.",
89178925
"id": "GoogleCloudIntegrationsV1alphaExecuteEventResponse",
@@ -11202,78 +11210,6 @@
1120211210
"id": "GoogleProtobufEmpty",
1120311211
"properties": {},
1120411212
"type": "object"
11205-
},
11206-
"IoCloudeventsV1CloudEvent": {
11207-
"description": "-- CloudEvent Context Attributes",
11208-
"id": "IoCloudeventsV1CloudEvent",
11209-
"properties": {
11210-
"attributes": {
11211-
"additionalProperties": {
11212-
"$ref": "IoCloudeventsV1CloudEventCloudEventAttributeValue"
11213-
},
11214-
"description": "Optional & Extension Attributes",
11215-
"type": "object"
11216-
},
11217-
"binaryData": {
11218-
"format": "byte",
11219-
"type": "string"
11220-
},
11221-
"id": {
11222-
"description": "Required Attributes",
11223-
"type": "string"
11224-
},
11225-
"protoData": {
11226-
"additionalProperties": {
11227-
"description": "Properties of the object. Contains field @type with type URL.",
11228-
"type": "any"
11229-
},
11230-
"type": "object"
11231-
},
11232-
"source": {
11233-
"description": "URI-reference",
11234-
"type": "string"
11235-
},
11236-
"specVersion": {
11237-
"type": "string"
11238-
},
11239-
"textData": {
11240-
"type": "string"
11241-
},
11242-
"type": {
11243-
"type": "string"
11244-
}
11245-
},
11246-
"type": "object"
11247-
},
11248-
"IoCloudeventsV1CloudEventCloudEventAttributeValue": {
11249-
"id": "IoCloudeventsV1CloudEventCloudEventAttributeValue",
11250-
"properties": {
11251-
"ceBoolean": {
11252-
"type": "boolean"
11253-
},
11254-
"ceBytes": {
11255-
"format": "byte",
11256-
"type": "string"
11257-
},
11258-
"ceInteger": {
11259-
"format": "int32",
11260-
"type": "integer"
11261-
},
11262-
"ceString": {
11263-
"type": "string"
11264-
},
11265-
"ceTimestamp": {
11266-
"format": "google-datetime",
11267-
"type": "string"
11268-
},
11269-
"ceUri": {
11270-
"type": "string"
11271-
},
11272-
"ceUriRef": {
11273-
"type": "string"
11274-
}
11275-
},
11276-
"type": "object"
1127711213
}
1127811214
},
1127911215
"servicePath": "",

0 commit comments

Comments
 (0)