From a2276ee19b25c97e862ad8dcedc691e1ac9da3b4 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Wed, 24 May 2023 18:27:10 +0000 Subject: [PATCH] feat(integrations): update the api #### integrations:v1alpha The following keys were added: - schemas.EnterpriseCrmEventbusProtoCloudKmsConfig.properties.serviceAccount.type (Total Keys: 1) - schemas.GoogleCloudConnectorsV1AuthConfig.properties.authKey.type (Total Keys: 1) - schemas.GoogleCloudConnectorsV1Connection.properties.connectorVersionLaunchStage (Total Keys: 2) - schemas.GoogleCloudConnectorsV1Connection.properties.subscriptionType (Total Keys: 2) - schemas.GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest.properties.resourceName.type (Total Keys: 1) --- ...1alpha.projects.locations.connections.html | 3 + ...s.integrations.executions.suspensions.html | 6 +- ...s.integrations.executions.suspensions.html | 6 +- .../documents/integrations.v1alpha.json | 80 +++++++++++++++++-- 4 files changed, 86 insertions(+), 9 deletions(-) diff --git a/docs/dyn/integrations_v1alpha.projects.locations.connections.html b/docs/dyn/integrations_v1alpha.projects.locations.connections.html index a4fa956e6ad..2390286df8f 100644 --- a/docs/dyn/integrations_v1alpha.projects.locations.connections.html +++ b/docs/dyn/integrations_v1alpha.projects.locations.connections.html @@ -159,6 +159,7 @@

Method Details

"stringValue": "A String", # Value is a string. }, ], + "authKey": "A String", # Identifier key for auth config "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. @@ -218,6 +219,7 @@

Method Details

}, ], "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. "description": "A String", # Optional. Description of the resource. "destinationConfigs": [ # Optional. Configuration of the Connector's destination. Only accepted for Connectors that accepts user defined destination(s). @@ -286,6 +288,7 @@

Method Details

"state": "A String", # State. "status": "A String", # Status provides detailed information for the state. }, + "subscriptionType": "A String", # Output only. This subscription type enum states the subscription type of the project. "suspended": True or False, # Optional. Suspended indicates if a user has suspended a connection or not. "updateTime": "A String", # Output only. Updated time. }, diff --git a/docs/dyn/integrations_v1alpha.projects.locations.integrations.executions.suspensions.html b/docs/dyn/integrations_v1alpha.projects.locations.integrations.executions.suspensions.html index 8638095f55d..0f81d309401 100644 --- a/docs/dyn/integrations_v1alpha.projects.locations.integrations.executions.suspensions.html +++ b/docs/dyn/integrations_v1alpha.projects.locations.integrations.executions.suspensions.html @@ -187,7 +187,7 @@

Method Details

"escalatorQueue": "A String", "pubsubTopic": "A String", "request": { # If the out-of-the-box email/pubsub notifications are not suitable and custom logic is required, fire a workflow containing all info needed to notify users to resume execution. - "postToQueueWithTriggerIdRequest": { # Use this request to post all workflows associated with a given trigger id. Next available id: 10 # Request to fire an event containing the SuspensionInfo message. + "postToQueueWithTriggerIdRequest": { # Use this request to post all workflows associated with a given trigger id. Next available id: 11 # Request to fire an event containing the SuspensionInfo message. "clientId": "A String", # Optional. If the client id is provided, then the combination of trigger id and client id is matched across all the workflows. If the client id is not provided, then workflows with matching trigger id are executed for each client id in the {@link TriggerConfig}. For Api Trigger, the client id is required and will be validated against the allowed clients. "ignoreErrorIfNoActiveWorkflow": True or False, # Optional. Flag to determine whether clients would suppress a warning when no ACTIVE workflows are not found. If this flag is set to be true, an error will not be thrown if the requested trigger_id or client_id is not found in any ACTIVE workflow. Otherwise, the error is always thrown. The flag is set to be false by default. "parameters": { # 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 # Passed in as parameters to each workflow execution. Optional. @@ -238,6 +238,7 @@

Method Details

}, "priority": "A String", # The request priority this request should be processed at. For internal users: "requestId": "A String", # Optional. This is used to de-dup incoming request: if the duplicate request was detected, the response from the previous execution is returned. Must have no more than 36 characters and contain only alphanumeric characters and hyphens. + "resourceName": "A String", # This field is only required when using Admin Access. The resource name of target, or the parent resource name. For example: "projects/*/locations/*/integrations/*" "scheduledTime": "A String", # Optional. Time in milliseconds since epoch when the given event would be scheduled. "testMode": True or False, # Optional. Sets test mode in {@link enterprise/crm/eventbus/event_message.proto}. "triggerId": "A String", # Matched against all {@link TriggerConfig}s across all workflows. i.e. TriggerConfig.trigger_id.equals(trigger_id) Required. @@ -342,7 +343,7 @@

Method Details

"escalatorQueue": "A String", "pubsubTopic": "A String", "request": { # If the out-of-the-box email/pubsub notifications are not suitable and custom logic is required, fire a workflow containing all info needed to notify users to resume execution. - "postToQueueWithTriggerIdRequest": { # Use this request to post all workflows associated with a given trigger id. Next available id: 10 # Request to fire an event containing the SuspensionInfo message. + "postToQueueWithTriggerIdRequest": { # Use this request to post all workflows associated with a given trigger id. Next available id: 11 # Request to fire an event containing the SuspensionInfo message. "clientId": "A String", # Optional. If the client id is provided, then the combination of trigger id and client id is matched across all the workflows. If the client id is not provided, then workflows with matching trigger id are executed for each client id in the {@link TriggerConfig}. For Api Trigger, the client id is required and will be validated against the allowed clients. "ignoreErrorIfNoActiveWorkflow": True or False, # Optional. Flag to determine whether clients would suppress a warning when no ACTIVE workflows are not found. If this flag is set to be true, an error will not be thrown if the requested trigger_id or client_id is not found in any ACTIVE workflow. Otherwise, the error is always thrown. The flag is set to be false by default. "parameters": { # 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 # Passed in as parameters to each workflow execution. Optional. @@ -393,6 +394,7 @@

Method Details

}, "priority": "A String", # The request priority this request should be processed at. For internal users: "requestId": "A String", # Optional. This is used to de-dup incoming request: if the duplicate request was detected, the response from the previous execution is returned. Must have no more than 36 characters and contain only alphanumeric characters and hyphens. + "resourceName": "A String", # This field is only required when using Admin Access. The resource name of target, or the parent resource name. For example: "projects/*/locations/*/integrations/*" "scheduledTime": "A String", # Optional. Time in milliseconds since epoch when the given event would be scheduled. "testMode": True or False, # Optional. Sets test mode in {@link enterprise/crm/eventbus/event_message.proto}. "triggerId": "A String", # Matched against all {@link TriggerConfig}s across all workflows. i.e. TriggerConfig.trigger_id.equals(trigger_id) Required. diff --git a/docs/dyn/integrations_v1alpha.projects.locations.products.integrations.executions.suspensions.html b/docs/dyn/integrations_v1alpha.projects.locations.products.integrations.executions.suspensions.html index d242c967b52..45b17e27f2b 100644 --- a/docs/dyn/integrations_v1alpha.projects.locations.products.integrations.executions.suspensions.html +++ b/docs/dyn/integrations_v1alpha.projects.locations.products.integrations.executions.suspensions.html @@ -187,7 +187,7 @@

Method Details

"escalatorQueue": "A String", "pubsubTopic": "A String", "request": { # If the out-of-the-box email/pubsub notifications are not suitable and custom logic is required, fire a workflow containing all info needed to notify users to resume execution. - "postToQueueWithTriggerIdRequest": { # Use this request to post all workflows associated with a given trigger id. Next available id: 10 # Request to fire an event containing the SuspensionInfo message. + "postToQueueWithTriggerIdRequest": { # Use this request to post all workflows associated with a given trigger id. Next available id: 11 # Request to fire an event containing the SuspensionInfo message. "clientId": "A String", # Optional. If the client id is provided, then the combination of trigger id and client id is matched across all the workflows. If the client id is not provided, then workflows with matching trigger id are executed for each client id in the {@link TriggerConfig}. For Api Trigger, the client id is required and will be validated against the allowed clients. "ignoreErrorIfNoActiveWorkflow": True or False, # Optional. Flag to determine whether clients would suppress a warning when no ACTIVE workflows are not found. If this flag is set to be true, an error will not be thrown if the requested trigger_id or client_id is not found in any ACTIVE workflow. Otherwise, the error is always thrown. The flag is set to be false by default. "parameters": { # 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 # Passed in as parameters to each workflow execution. Optional. @@ -238,6 +238,7 @@

Method Details

}, "priority": "A String", # The request priority this request should be processed at. For internal users: "requestId": "A String", # Optional. This is used to de-dup incoming request: if the duplicate request was detected, the response from the previous execution is returned. Must have no more than 36 characters and contain only alphanumeric characters and hyphens. + "resourceName": "A String", # This field is only required when using Admin Access. The resource name of target, or the parent resource name. For example: "projects/*/locations/*/integrations/*" "scheduledTime": "A String", # Optional. Time in milliseconds since epoch when the given event would be scheduled. "testMode": True or False, # Optional. Sets test mode in {@link enterprise/crm/eventbus/event_message.proto}. "triggerId": "A String", # Matched against all {@link TriggerConfig}s across all workflows. i.e. TriggerConfig.trigger_id.equals(trigger_id) Required. @@ -342,7 +343,7 @@

Method Details

"escalatorQueue": "A String", "pubsubTopic": "A String", "request": { # If the out-of-the-box email/pubsub notifications are not suitable and custom logic is required, fire a workflow containing all info needed to notify users to resume execution. - "postToQueueWithTriggerIdRequest": { # Use this request to post all workflows associated with a given trigger id. Next available id: 10 # Request to fire an event containing the SuspensionInfo message. + "postToQueueWithTriggerIdRequest": { # Use this request to post all workflows associated with a given trigger id. Next available id: 11 # Request to fire an event containing the SuspensionInfo message. "clientId": "A String", # Optional. If the client id is provided, then the combination of trigger id and client id is matched across all the workflows. If the client id is not provided, then workflows with matching trigger id are executed for each client id in the {@link TriggerConfig}. For Api Trigger, the client id is required and will be validated against the allowed clients. "ignoreErrorIfNoActiveWorkflow": True or False, # Optional. Flag to determine whether clients would suppress a warning when no ACTIVE workflows are not found. If this flag is set to be true, an error will not be thrown if the requested trigger_id or client_id is not found in any ACTIVE workflow. Otherwise, the error is always thrown. The flag is set to be false by default. "parameters": { # 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 # Passed in as parameters to each workflow execution. Optional. @@ -393,6 +394,7 @@

Method Details

}, "priority": "A String", # The request priority this request should be processed at. For internal users: "requestId": "A String", # Optional. This is used to de-dup incoming request: if the duplicate request was detected, the response from the previous execution is returned. Must have no more than 36 characters and contain only alphanumeric characters and hyphens. + "resourceName": "A String", # This field is only required when using Admin Access. The resource name of target, or the parent resource name. For example: "projects/*/locations/*/integrations/*" "scheduledTime": "A String", # Optional. Time in milliseconds since epoch when the given event would be scheduled. "testMode": True or False, # Optional. Sets test mode in {@link enterprise/crm/eventbus/event_message.proto}. "triggerId": "A String", # Matched against all {@link TriggerConfig}s across all workflows. i.e. TriggerConfig.trigger_id.equals(trigger_id) Required. diff --git a/googleapiclient/discovery_cache/documents/integrations.v1alpha.json b/googleapiclient/discovery_cache/documents/integrations.v1alpha.json index 4457af19e1a..6bd3772d6a1 100644 --- a/googleapiclient/discovery_cache/documents/integrations.v1alpha.json +++ b/googleapiclient/discovery_cache/documents/integrations.v1alpha.json @@ -3202,7 +3202,7 @@ } } }, - "revision": "20230409", + "revision": "20230509", "rootUrl": "https://integrations.googleapis.com/", "schemas": { "CrmlogErrorCode": { @@ -3701,6 +3701,10 @@ "locationName": { "description": "Location name of the key ring, e.g. \"us-west1\".", "type": "string" + }, + "serviceAccount": { + "description": "Optional. The service account used for authentication of this KMS key. If this is not provided, the service account in Client.clientSource will be used.", + "type": "string" } }, "type": "object" @@ -5890,12 +5894,36 @@ "enum": [ "UNSPECIFIED_EXTERNAL_CATEGORY", "CORE", - "CONNECTORS" + "CONNECTORS", + "EXTERNAL_HTTP", + "EXTERNAL_INTEGRATION_SERVICES", + "EXTERNAL_CUSTOMER_ACTIONS", + "EXTERNAL_FLOW_CONTROL", + "EXTERNAL_WORKSPACE", + "EXTERNAL_SECURITY", + "EXTERNAL_DATABASES", + "EXTERNAL_ANALYTICS", + "EXTERNAL_BYOC", + "EXTERNAL_BYOT", + "EXTERNAL_ARTIFICIAL_INTELIGENCE", + "EXTERNAL_DATA_MANIPULATION" ], "enumDescriptions": [ "", "", - "" + "", + "HTTP tasks, e.g. rest api call task", + "Integration services, e.g. connector task", + "Customer ations, e.g. email task", + "Flow control, e.g. while loop task", + "Workspace tasks, e.g. list drive task", + "Security, e.g. kms related tasks", + "Database operation tasks, e.g. read firestore info tasks", + "Analytics tasks, e.g. dataflow creattion tasks", + "BYOC tasks", + "BYOT tasks", + "AI related tasks.", + "Data manipulation related tasks, e.g. data mapping task" ], "type": "string" }, @@ -7687,6 +7715,10 @@ }, "type": "array" }, + "authKey": { + "description": "Identifier key for auth config", + "type": "string" + }, "authType": { "description": "The type of authentication configured.", "enum": [ @@ -7902,6 +7934,25 @@ "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" }, + "connectorVersionLaunchStage": { + "description": "Output only. Flag to mark the version indicating the launch stage.", + "enum": [ + "LAUNCH_STAGE_UNSPECIFIED", + "PREVIEW", + "GA", + "DEPRECATED", + "PRIVATE_PREVIEW" + ], + "enumDescriptions": [ + "LAUNCH_STAGE_UNSPECIFIED.", + "PREVIEW.", + "GA.", + "DEPRECATED.", + "PRIVATE_PREVIEW." + ], + "readOnly": true, + "type": "string" + }, "createTime": { "description": "Output only. Created time.", "format": "google-datetime", @@ -7971,6 +8022,21 @@ "description": "Output only. Current status of the connection.", "readOnly": true }, + "subscriptionType": { + "description": "Output only. This subscription type enum states the subscription type of the project.", + "enum": [ + "SUBSCRIPTION_TYPE_UNSPECIFIED", + "PAY_G", + "PAID" + ], + "enumDescriptions": [ + "Unspecified subscription type.", + "PayG subscription.", + "Paid Subscription." + ], + "readOnly": true, + "type": "string" + }, "suspended": { "description": "Optional. Suspended indicates if a user has suspended a connection or not.", "type": "boolean" @@ -8012,7 +8078,7 @@ "Connection is being deleted.", "Connection is being updated.", "Connection is not running due to an error.", - "Connection is not running due to an auth error for the Oauth2 Auth Code based connector." + "Connection is not running because the authorization configuration is not complete." ], "type": "string" }, @@ -10969,7 +11035,7 @@ "type": "object" }, "GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest": { - "description": "Use this request to post all workflows associated with a given trigger id. Next available id: 10", + "description": "Use this request to post all workflows associated with a given trigger id. Next available id: 11", "id": "GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest", "properties": { "clientId": { @@ -11006,6 +11072,10 @@ "description": "Optional. This is used to de-dup incoming request: if the duplicate request was detected, the response from the previous execution is returned. Must have no more than 36 characters and contain only alphanumeric characters and hyphens.", "type": "string" }, + "resourceName": { + "description": "This field is only required when using Admin Access. The resource name of target, or the parent resource name. For example: \"projects/*/locations/*/integrations/*\"", + "type": "string" + }, "scheduledTime": { "description": "Optional. Time in milliseconds since epoch when the given event would be scheduled.", "format": "int64",