From a32107f98c072e31a461f29f7055a3bdb35d64ab Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 30 May 2023 07:08:03 +0000 Subject: [PATCH] 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) --- ...1alpha.projects.locations.authConfigs.html | 2 +- ...1alpha.projects.locations.connections.html | 14 ++ ...alpha.projects.locations.integrations.html | 52 ++++- ...ojects.locations.products.authConfigs.html | 2 +- ...jects.locations.products.certificates.html | 2 +- ...jects.locations.products.integrations.html | 2 +- ...ects.locations.products.sfdcInstances.html | 2 +- ...s.products.sfdcInstances.sfdcChannels.html | 2 +- ...lpha.projects.locations.sfdcInstances.html | 2 +- ....locations.sfdcInstances.sfdcChannels.html | 2 +- .../documents/integrations.v1alpha.json | 197 ++++++++++++++++-- 11 files changed, 258 insertions(+), 21 deletions(-) diff --git a/docs/dyn/integrations_v1alpha.projects.locations.authConfigs.html b/docs/dyn/integrations_v1alpha.projects.locations.authConfigs.html index c9ac360a904..09ef6de8b39 100644 --- a/docs/dyn/integrations_v1alpha.projects.locations.authConfigs.html +++ b/docs/dyn/integrations_v1alpha.projects.locations.authConfigs.html @@ -1262,7 +1262,7 @@

Method Details

Args: parent: string, Required. The client, which owns this collection of AuthConfigs. (required) - filter: string, Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters. + filter: string, Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters. pageSize: integer, The size of entries in the response. If unspecified, defaults to 100. pageToken: string, The token returned in the previous response. readMask: string, The mask which specifies fields that need to be returned in the AuthConfig's response. diff --git a/docs/dyn/integrations_v1alpha.projects.locations.connections.html b/docs/dyn/integrations_v1alpha.projects.locations.connections.html index 2390286df8f..a737928ceb4 100644 --- a/docs/dyn/integrations_v1alpha.projects.locations.connections.html +++ b/docs/dyn/integrations_v1alpha.projects.locations.connections.html @@ -153,6 +153,10 @@

Method Details

"boolValue": True or False, # Value is a bool. "intValue": "A String", # Value is an integer "key": "A String", # Key of the config variable. + "keyValue": { # Encryption Key value. # Value is a Encryption Key. + "kmsKeyName": "A String", # 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. + "type": "A String", # Type. + }, "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. "secretVersion": "A String", # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, @@ -163,6 +167,7 @@

Method Details

"authType": "A String", # The type of authentication configured. "oauth2AuthCodeFlow": { # 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. "authCode": "A String", # Authorization code to be exchanged for access and refresh tokens. + "authUri": "A String", # Auth URL for Authorization Code Flow "clientId": "A String", # Client ID for user-provided OAuth app. "clientSecret": { # Secret provides a reference to entries in Secret Manager. # Client secret for user-provided OAuth app. "secretVersion": "A String", # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. @@ -212,12 +217,17 @@

Method Details

"boolValue": True or False, # Value is a bool. "intValue": "A String", # Value is an integer "key": "A String", # Key of the config variable. + "keyValue": { # Encryption Key value. # Value is a Encryption Key. + "kmsKeyName": "A String", # 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. + "type": "A String", # Type. + }, "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. "secretVersion": "A String", # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, "stringValue": "A String", # Value is a string. }, ], + "connectionRevision": "A String", # Output only. Connection revision. This field is only updated when the connection is created or updated by User. "connectorVersion": "A String", # 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. "connectorVersionLaunchStage": "A String", # Output only. Flag to mark the version indicating the launch stage. "createTime": "A String", # Output only. Created time. @@ -259,6 +269,10 @@

Method Details

"boolValue": True or False, # Value is a bool. "intValue": "A String", # Value is an integer "key": "A String", # Key of the config variable. + "keyValue": { # Encryption Key value. # Value is a Encryption Key. + "kmsKeyName": "A String", # 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. + "type": "A String", # Type. + }, "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. "secretVersion": "A String", # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, diff --git a/docs/dyn/integrations_v1alpha.projects.locations.integrations.html b/docs/dyn/integrations_v1alpha.projects.locations.integrations.html index c9d17188ae2..7176b125c87 100644 --- a/docs/dyn/integrations_v1alpha.projects.locations.integrations.html +++ b/docs/dyn/integrations_v1alpha.projects.locations.integrations.html @@ -93,6 +93,9 @@

Instance Methods

execute(name, body=None, x__xgafv=None)

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.

+

+ executeEvent(name, body=None, x__xgafv=None)

+

Executes an integration on receiving events from Integration Connector triggers, Eventarc or CPS Trigger. The details about integration are derived from CloudEvent request body.

list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)

Returns the list of all integrations in the specified project.

@@ -376,6 +379,53 @@

Method Details

} +
+ executeEvent(name, body=None, x__xgafv=None) +
Executes an integration on receiving events from Integration Connector triggers, Eventarc or CPS Trigger. The details about integration are derived from CloudEvent request body.
+
+Args:
+  name: string, Required. The integration resource name. Format: projects/{gcp_project_id}/locations/{location}/integrations/{integration_id} (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # Request for triggering an integration using event triggers.
+  "cloudEvent": { # -- CloudEvent Context Attributes # Required. Details about the trigger which is to be executed and values for input variable to the integration.
+    "attributes": { # Optional & Extension Attributes
+      "a_key": {
+        "ceBoolean": True or False,
+        "ceBytes": "A String",
+        "ceInteger": 42,
+        "ceString": "A String",
+        "ceTimestamp": "A String",
+        "ceUri": "A String",
+        "ceUriRef": "A String",
+      },
+    },
+    "binaryData": "A String",
+    "id": "A String", # Required Attributes
+    "protoData": {
+      "a_key": "", # Properties of the object. Contains field @type with type URL.
+    },
+    "source": "A String", # URI-reference
+    "specVersion": "A String",
+    "textData": "A String",
+    "type": "A String",
+  },
+}
+
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # The response for executing an integration.
+  "executionId": "A String", # The id of the execution corresponding to this run of integration.
+}
+
+
list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)
Returns the list of all integrations in the specified project.
@@ -554,7 +604,7 @@ 

Method Details

}, "requestId": "A String", # This is used to de-dup incoming request: if the duplicate request was detected, the response from the previous execution is returned. "scheduleTime": "A String", # The time that the integration should be executed. If the time is less or equal to the current time, the integration is executed immediately. - "triggerId": "A String", # Matched against all {@link TriggerConfig}s across all integrations. i.e. TriggerConfig.trigger_id.equals(trigger_id) + "triggerId": "A String", # Required. Matched against all {@link TriggerConfig}s across all integrations. i.e. TriggerConfig.trigger_id.equals(trigger_id) } x__xgafv: string, V1 error format. diff --git a/docs/dyn/integrations_v1alpha.projects.locations.products.authConfigs.html b/docs/dyn/integrations_v1alpha.projects.locations.products.authConfigs.html index f83cb3f8ad2..ee5f288114e 100644 --- a/docs/dyn/integrations_v1alpha.projects.locations.products.authConfigs.html +++ b/docs/dyn/integrations_v1alpha.projects.locations.products.authConfigs.html @@ -1262,7 +1262,7 @@

Method Details

Args: parent: string, Required. The client, which owns this collection of AuthConfigs. (required) - filter: string, Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters. + filter: string, Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters. pageSize: integer, The size of entries in the response. If unspecified, defaults to 100. pageToken: string, The token returned in the previous response. readMask: string, The mask which specifies fields that need to be returned in the AuthConfig's response. diff --git a/docs/dyn/integrations_v1alpha.projects.locations.products.certificates.html b/docs/dyn/integrations_v1alpha.projects.locations.products.certificates.html index f3791bf49d4..0689a181282 100644 --- a/docs/dyn/integrations_v1alpha.projects.locations.products.certificates.html +++ b/docs/dyn/integrations_v1alpha.projects.locations.products.certificates.html @@ -206,7 +206,7 @@

Method Details

Args: parent: string, Required. The client, which owns this collection of Certificates. (required) - filter: string, Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters. + filter: string, Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters. pageSize: integer, The size of entries in the response. If unspecified, defaults to 100. pageToken: string, The token returned in the previous response. readMask: string, The mask which specifies fields that need to be returned in the Certificate's response. diff --git a/docs/dyn/integrations_v1alpha.projects.locations.products.integrations.html b/docs/dyn/integrations_v1alpha.projects.locations.products.integrations.html index e5bb10b2987..c46e2f1b978 100644 --- a/docs/dyn/integrations_v1alpha.projects.locations.products.integrations.html +++ b/docs/dyn/integrations_v1alpha.projects.locations.products.integrations.html @@ -554,7 +554,7 @@

Method Details

}, "requestId": "A String", # This is used to de-dup incoming request: if the duplicate request was detected, the response from the previous execution is returned. "scheduleTime": "A String", # The time that the integration should be executed. If the time is less or equal to the current time, the integration is executed immediately. - "triggerId": "A String", # Matched against all {@link TriggerConfig}s across all integrations. i.e. TriggerConfig.trigger_id.equals(trigger_id) + "triggerId": "A String", # Required. Matched against all {@link TriggerConfig}s across all integrations. i.e. TriggerConfig.trigger_id.equals(trigger_id) } x__xgafv: string, V1 error format. diff --git a/docs/dyn/integrations_v1alpha.projects.locations.products.sfdcInstances.html b/docs/dyn/integrations_v1alpha.projects.locations.products.sfdcInstances.html index 12ed426bf32..b4b0724385a 100644 --- a/docs/dyn/integrations_v1alpha.projects.locations.products.sfdcInstances.html +++ b/docs/dyn/integrations_v1alpha.projects.locations.products.sfdcInstances.html @@ -205,7 +205,7 @@

Method Details

Args: parent: string, Required. The client, which owns this collection of SfdcInstances. (required) - filter: string, Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters. + filter: string, Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters. pageSize: integer, The size of entries in the response. If unspecified, defaults to 100. pageToken: string, The token returned in the previous response. readMask: string, The mask which specifies fields that need to be returned in the SfdcInstance's response. diff --git a/docs/dyn/integrations_v1alpha.projects.locations.products.sfdcInstances.sfdcChannels.html b/docs/dyn/integrations_v1alpha.projects.locations.products.sfdcInstances.sfdcChannels.html index 37e3a96c0dc..abe96f00a02 100644 --- a/docs/dyn/integrations_v1alpha.projects.locations.products.sfdcInstances.sfdcChannels.html +++ b/docs/dyn/integrations_v1alpha.projects.locations.products.sfdcInstances.sfdcChannels.html @@ -194,7 +194,7 @@

Method Details

Args: parent: string, Required. The client, which owns this collection of SfdcChannels. (required) - filter: string, Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters. + filter: string, Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters. pageSize: integer, The size of entries in the response. If unspecified, defaults to 100. pageToken: string, The token returned in the previous response. readMask: string, The mask which specifies fields that need to be returned in the SfdcChannel's response. diff --git a/docs/dyn/integrations_v1alpha.projects.locations.sfdcInstances.html b/docs/dyn/integrations_v1alpha.projects.locations.sfdcInstances.html index 672ff7d43ed..580eb71ed12 100644 --- a/docs/dyn/integrations_v1alpha.projects.locations.sfdcInstances.html +++ b/docs/dyn/integrations_v1alpha.projects.locations.sfdcInstances.html @@ -205,7 +205,7 @@

Method Details

Args: parent: string, Required. The client, which owns this collection of SfdcInstances. (required) - filter: string, Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters. + filter: string, Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters. pageSize: integer, The size of entries in the response. If unspecified, defaults to 100. pageToken: string, The token returned in the previous response. readMask: string, The mask which specifies fields that need to be returned in the SfdcInstance's response. diff --git a/docs/dyn/integrations_v1alpha.projects.locations.sfdcInstances.sfdcChannels.html b/docs/dyn/integrations_v1alpha.projects.locations.sfdcInstances.sfdcChannels.html index ccc66cc7fc8..3522104e55d 100644 --- a/docs/dyn/integrations_v1alpha.projects.locations.sfdcInstances.sfdcChannels.html +++ b/docs/dyn/integrations_v1alpha.projects.locations.sfdcInstances.sfdcChannels.html @@ -194,7 +194,7 @@

Method Details

Args: parent: string, Required. The client, which owns this collection of SfdcChannels. (required) - filter: string, Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters. + filter: string, Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters. pageSize: integer, The size of entries in the response. If unspecified, defaults to 100. pageToken: string, The token returned in the previous response. readMask: string, The mask which specifies fields that need to be returned in the SfdcChannel's response. diff --git a/googleapiclient/discovery_cache/documents/integrations.v1alpha.json b/googleapiclient/discovery_cache/documents/integrations.v1alpha.json index 6bd3772d6a1..89e42eb83a2 100644 --- a/googleapiclient/discovery_cache/documents/integrations.v1alpha.json +++ b/googleapiclient/discovery_cache/documents/integrations.v1alpha.json @@ -350,7 +350,7 @@ ], "parameters": { "filter": { - "description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters.", + "description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.", "location": "query", "type": "string" }, @@ -689,6 +689,34 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "executeEvent": { + "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.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}:executeEvent", + "httpMethod": "POST", + "id": "integrations.projects.locations.integrations.executeEvent", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The integration resource name. Format: projects/{gcp_project_id}/locations/{location}/integrations/{integration_id}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}:executeEvent", + "request": { + "$ref": "GoogleCloudIntegrationsV1alphaExecuteEventRequest" + }, + "response": { + "$ref": "GoogleCloudIntegrationsV1alphaExecuteEventResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "list": { "description": "Returns the list of all integrations in the specified project.", "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations", @@ -804,6 +832,7 @@ "type": "string" }, "filterParams.parameterKey": { + "deprecated": true, "description": "Param key. DEPRECATED. User parameter_pair_key instead.", "location": "query", "type": "string" @@ -824,6 +853,7 @@ "type": "string" }, "filterParams.parameterValue": { + "deprecated": true, "description": "Param value. DEPRECATED. User parameter_pair_value instead.", "location": "query", "type": "string" @@ -835,6 +865,7 @@ "type": "string" }, "filterParams.taskStatuses": { + "deprecated": true, "description": "List of possible task statuses.", "location": "query", "repeated": true, @@ -880,6 +911,7 @@ "type": "boolean" }, "truncateParams": { + "deprecated": true, "description": "Optional. If true, the service will truncate the params to only keep the first 1000 characters of string params and empty the executions in order to make response smaller. Only works for UI and when the params fields are not filtered out.", "location": "query", "type": "boolean" @@ -1437,7 +1469,7 @@ ], "parameters": { "filter": { - "description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters.", + "description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.", "location": "query", "type": "string" }, @@ -1615,7 +1647,7 @@ ], "parameters": { "filter": { - "description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters.", + "description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.", "location": "query", "type": "string" }, @@ -1911,6 +1943,7 @@ "type": "string" }, "filterParams.parameterKey": { + "deprecated": true, "description": "Param key. DEPRECATED. User parameter_pair_key instead.", "location": "query", "type": "string" @@ -1931,6 +1964,7 @@ "type": "string" }, "filterParams.parameterValue": { + "deprecated": true, "description": "Param value. DEPRECATED. User parameter_pair_value instead.", "location": "query", "type": "string" @@ -1942,6 +1976,7 @@ "type": "string" }, "filterParams.taskStatuses": { + "deprecated": true, "description": "List of possible task statuses.", "location": "query", "repeated": true, @@ -1987,6 +2022,7 @@ "type": "boolean" }, "truncateParams": { + "deprecated": true, "description": "Optional. If true, the service will truncate the params to only keep the first 1000 characters of string params and empty the executions in order to make response smaller. Only works for UI and when the params fields are not filtered out.", "location": "query", "type": "boolean" @@ -2629,7 +2665,7 @@ ], "parameters": { "filter": { - "description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters.", + "description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.", "location": "query", "type": "string" }, @@ -2792,7 +2828,7 @@ ], "parameters": { "filter": { - "description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters.", + "description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.", "location": "query", "type": "string" }, @@ -2959,7 +2995,7 @@ ], "parameters": { "filter": { - "description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters.", + "description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.", "location": "query", "type": "string" }, @@ -3122,7 +3158,7 @@ ], "parameters": { "filter": { - "description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters.", + "description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.", "location": "query", "type": "string" }, @@ -3202,7 +3238,7 @@ } } }, - "revision": "20230509", + "revision": "20230524", "rootUrl": "https://integrations.googleapis.com/", "schemas": { "CrmlogErrorCode": { @@ -7418,7 +7454,8 @@ "CLOUD_PUBSUB_EXTERNAL", "SFDC_CDC_CHANNEL", "SFDC_PLATFORM_EVENTS_CHANNEL", - "CLOUD_SCHEDULER" + "CLOUD_SCHEDULER", + "INTEGRATION_CONNECTOR_TRIGGER" ], "enumDescriptions": [ "", @@ -7433,6 +7470,7 @@ "", "", "", + "", "" ], "type": "string" @@ -7770,6 +7808,10 @@ "description": "Authorization code to be exchanged for access and refresh tokens.", "type": "string" }, + "authUri": { + "description": "Auth URL for Authorization Code Flow", + "type": "string" + }, "clientId": { "description": "Client ID for user-provided OAuth app.", "type": "string" @@ -7904,6 +7946,10 @@ "description": "Key of the config variable.", "type": "string" }, + "keyValue": { + "$ref": "GoogleCloudConnectorsV1EncryptionKey", + "description": "Value is a Encryption Key." + }, "secretValue": { "$ref": "GoogleCloudConnectorsV1Secret", "description": "Value is a secret." @@ -7930,6 +7976,12 @@ }, "type": "array" }, + "connectionRevision": { + "description": "Output only. Connection revision. This field is only updated when the connection is created or updated by User.", + "format": "int64", + "readOnly": true, + "type": "string" + }, "connectorVersion": { "description": "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.", "type": "string" @@ -8126,6 +8178,31 @@ }, "type": "object" }, + "GoogleCloudConnectorsV1EncryptionKey": { + "description": "Encryption Key value.", + "id": "GoogleCloudConnectorsV1EncryptionKey", + "properties": { + "kmsKeyName": { + "description": "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.", + "type": "string" + }, + "type": { + "description": "Type.", + "enum": [ + "TYPE_UNSPECIFIED", + "GOOGLE_MANAGED", + "CUSTOMER_MANAGED" + ], + "enumDescriptions": [ + "Value type is not specified.", + "Google Managed.", + "Customer Managed." + ], + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudConnectorsV1LockConfig": { "description": "Determines whether or no a connection is locked. If locked, a reason must be specified.", "id": "GoogleCloudConnectorsV1LockConfig", @@ -8824,6 +8901,28 @@ }, "type": "object" }, + "GoogleCloudIntegrationsV1alphaExecuteEventRequest": { + "description": "Request for triggering an integration using event triggers.", + "id": "GoogleCloudIntegrationsV1alphaExecuteEventRequest", + "properties": { + "cloudEvent": { + "$ref": "IoCloudeventsV1CloudEvent", + "description": "Required. Details about the trigger which is to be executed and values for input variable to the integration." + } + }, + "type": "object" + }, + "GoogleCloudIntegrationsV1alphaExecuteEventResponse": { + "description": "The response for executing an integration.", + "id": "GoogleCloudIntegrationsV1alphaExecuteEventResponse", + "properties": { + "executionId": { + "description": "The id of the execution corresponding to this run of integration.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest": { "description": "The request for executing an integration.", "id": "GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest", @@ -10354,7 +10453,7 @@ "type": "string" }, "triggerId": { - "description": "Matched against all {@link TriggerConfig}s across all integrations. i.e. TriggerConfig.trigger_id.equals(trigger_id)", + "description": "Required. Matched against all {@link TriggerConfig}s across all integrations. i.e. TriggerConfig.trigger_id.equals(trigger_id)", "type": "string" } }, @@ -10916,7 +11015,8 @@ "SFDC_CHANNEL", "CLOUD_PUBSUB_EXTERNAL", "SFDC_CDC_CHANNEL", - "CLOUD_SCHEDULER" + "CLOUD_SCHEDULER", + "INTEGRATION_CONNECTOR_TRIGGER" ], "enumDescriptions": [ "Unknown.", @@ -10925,7 +11025,8 @@ "Trigger by Salesforce Channel.", "Trigger by Pub/Sub external.", "SFDC Channel Trigger for CDC.", - "Trigger by Cloud Scheduler job." + "Trigger by Cloud Scheduler job.", + "Trigger by Connector Event" ], "type": "string" } @@ -11101,6 +11202,78 @@ "id": "GoogleProtobufEmpty", "properties": {}, "type": "object" + }, + "IoCloudeventsV1CloudEvent": { + "description": "-- CloudEvent Context Attributes", + "id": "IoCloudeventsV1CloudEvent", + "properties": { + "attributes": { + "additionalProperties": { + "$ref": "IoCloudeventsV1CloudEventCloudEventAttributeValue" + }, + "description": "Optional & Extension Attributes", + "type": "object" + }, + "binaryData": { + "format": "byte", + "type": "string" + }, + "id": { + "description": "Required Attributes", + "type": "string" + }, + "protoData": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "source": { + "description": "URI-reference", + "type": "string" + }, + "specVersion": { + "type": "string" + }, + "textData": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "type": "object" + }, + "IoCloudeventsV1CloudEventCloudEventAttributeValue": { + "id": "IoCloudeventsV1CloudEventCloudEventAttributeValue", + "properties": { + "ceBoolean": { + "type": "boolean" + }, + "ceBytes": { + "format": "byte", + "type": "string" + }, + "ceInteger": { + "format": "int32", + "type": "integer" + }, + "ceString": { + "type": "string" + }, + "ceTimestamp": { + "format": "google-datetime", + "type": "string" + }, + "ceUri": { + "type": "string" + }, + "ceUriRef": { + "type": "string" + } + }, + "type": "object" } }, "servicePath": "",