Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
yoshi-automation committed May 24, 2023
1 parent ebd8cbf commit a2276ee
Show file tree
Hide file tree
Showing 4 changed files with 86 additions and 9 deletions.
Expand Up @@ -159,6 +159,7 @@ <h3>Method Details</h3>
&quot;stringValue&quot;: &quot;A String&quot;, # Value is a string.
},
],
&quot;authKey&quot;: &quot;A String&quot;, # Identifier key for auth config
&quot;authType&quot;: &quot;A String&quot;, # The type of authentication configured.
&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.
&quot;authCode&quot;: &quot;A String&quot;, # Authorization code to be exchanged for access and refresh tokens.
Expand Down Expand Up @@ -218,6 +219,7 @@ <h3>Method Details</h3>
},
],
&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.
&quot;connectorVersionLaunchStage&quot;: &quot;A String&quot;, # Output only. Flag to mark the version indicating the launch stage.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Created time.
&quot;description&quot;: &quot;A String&quot;, # Optional. Description of the resource.
&quot;destinationConfigs&quot;: [ # Optional. Configuration of the Connector&#x27;s destination. Only accepted for Connectors that accepts user defined destination(s).
Expand Down Expand Up @@ -286,6 +288,7 @@ <h3>Method Details</h3>
&quot;state&quot;: &quot;A String&quot;, # State.
&quot;status&quot;: &quot;A String&quot;, # Status provides detailed information for the state.
},
&quot;subscriptionType&quot;: &quot;A String&quot;, # Output only. This subscription type enum states the subscription type of the project.
&quot;suspended&quot;: True or False, # Optional. Suspended indicates if a user has suspended a connection or not.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Updated time.
},
Expand Down
Expand Up @@ -187,7 +187,7 @@ <h3>Method Details</h3>
&quot;escalatorQueue&quot;: &quot;A String&quot;,
&quot;pubsubTopic&quot;: &quot;A String&quot;,
&quot;request&quot;: { # 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.
&quot;postToQueueWithTriggerIdRequest&quot;: { # 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.
&quot;postToQueueWithTriggerIdRequest&quot;: { # 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.
&quot;clientId&quot;: &quot;A String&quot;, # 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.
&quot;ignoreErrorIfNoActiveWorkflow&quot;: 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.
&quot;parameters&quot;: { # 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.
Expand Down Expand Up @@ -238,6 +238,7 @@ <h3>Method Details</h3>
},
&quot;priority&quot;: &quot;A String&quot;, # The request priority this request should be processed at. For internal users:
&quot;requestId&quot;: &quot;A String&quot;, # 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.
&quot;resourceName&quot;: &quot;A String&quot;, # This field is only required when using Admin Access. The resource name of target, or the parent resource name. For example: &quot;projects/*/locations/*/integrations/*&quot;
&quot;scheduledTime&quot;: &quot;A String&quot;, # Optional. Time in milliseconds since epoch when the given event would be scheduled.
&quot;testMode&quot;: True or False, # Optional. Sets test mode in {@link enterprise/crm/eventbus/event_message.proto}.
&quot;triggerId&quot;: &quot;A String&quot;, # Matched against all {@link TriggerConfig}s across all workflows. i.e. TriggerConfig.trigger_id.equals(trigger_id) Required.
Expand Down Expand Up @@ -342,7 +343,7 @@ <h3>Method Details</h3>
&quot;escalatorQueue&quot;: &quot;A String&quot;,
&quot;pubsubTopic&quot;: &quot;A String&quot;,
&quot;request&quot;: { # 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.
&quot;postToQueueWithTriggerIdRequest&quot;: { # 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.
&quot;postToQueueWithTriggerIdRequest&quot;: { # 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.
&quot;clientId&quot;: &quot;A String&quot;, # 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.
&quot;ignoreErrorIfNoActiveWorkflow&quot;: 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.
&quot;parameters&quot;: { # 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.
Expand Down Expand Up @@ -393,6 +394,7 @@ <h3>Method Details</h3>
},
&quot;priority&quot;: &quot;A String&quot;, # The request priority this request should be processed at. For internal users:
&quot;requestId&quot;: &quot;A String&quot;, # 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.
&quot;resourceName&quot;: &quot;A String&quot;, # This field is only required when using Admin Access. The resource name of target, or the parent resource name. For example: &quot;projects/*/locations/*/integrations/*&quot;
&quot;scheduledTime&quot;: &quot;A String&quot;, # Optional. Time in milliseconds since epoch when the given event would be scheduled.
&quot;testMode&quot;: True or False, # Optional. Sets test mode in {@link enterprise/crm/eventbus/event_message.proto}.
&quot;triggerId&quot;: &quot;A String&quot;, # Matched against all {@link TriggerConfig}s across all workflows. i.e. TriggerConfig.trigger_id.equals(trigger_id) Required.
Expand Down
Expand Up @@ -187,7 +187,7 @@ <h3>Method Details</h3>
&quot;escalatorQueue&quot;: &quot;A String&quot;,
&quot;pubsubTopic&quot;: &quot;A String&quot;,
&quot;request&quot;: { # 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.
&quot;postToQueueWithTriggerIdRequest&quot;: { # 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.
&quot;postToQueueWithTriggerIdRequest&quot;: { # 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.
&quot;clientId&quot;: &quot;A String&quot;, # 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.
&quot;ignoreErrorIfNoActiveWorkflow&quot;: 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.
&quot;parameters&quot;: { # 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.
Expand Down Expand Up @@ -238,6 +238,7 @@ <h3>Method Details</h3>
},
&quot;priority&quot;: &quot;A String&quot;, # The request priority this request should be processed at. For internal users:
&quot;requestId&quot;: &quot;A String&quot;, # 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.
&quot;resourceName&quot;: &quot;A String&quot;, # This field is only required when using Admin Access. The resource name of target, or the parent resource name. For example: &quot;projects/*/locations/*/integrations/*&quot;
&quot;scheduledTime&quot;: &quot;A String&quot;, # Optional. Time in milliseconds since epoch when the given event would be scheduled.
&quot;testMode&quot;: True or False, # Optional. Sets test mode in {@link enterprise/crm/eventbus/event_message.proto}.
&quot;triggerId&quot;: &quot;A String&quot;, # Matched against all {@link TriggerConfig}s across all workflows. i.e. TriggerConfig.trigger_id.equals(trigger_id) Required.
Expand Down Expand Up @@ -342,7 +343,7 @@ <h3>Method Details</h3>
&quot;escalatorQueue&quot;: &quot;A String&quot;,
&quot;pubsubTopic&quot;: &quot;A String&quot;,
&quot;request&quot;: { # 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.
&quot;postToQueueWithTriggerIdRequest&quot;: { # 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.
&quot;postToQueueWithTriggerIdRequest&quot;: { # 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.
&quot;clientId&quot;: &quot;A String&quot;, # 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.
&quot;ignoreErrorIfNoActiveWorkflow&quot;: 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.
&quot;parameters&quot;: { # 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.
Expand Down Expand Up @@ -393,6 +394,7 @@ <h3>Method Details</h3>
},
&quot;priority&quot;: &quot;A String&quot;, # The request priority this request should be processed at. For internal users:
&quot;requestId&quot;: &quot;A String&quot;, # 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.
&quot;resourceName&quot;: &quot;A String&quot;, # This field is only required when using Admin Access. The resource name of target, or the parent resource name. For example: &quot;projects/*/locations/*/integrations/*&quot;
&quot;scheduledTime&quot;: &quot;A String&quot;, # Optional. Time in milliseconds since epoch when the given event would be scheduled.
&quot;testMode&quot;: True or False, # Optional. Sets test mode in {@link enterprise/crm/eventbus/event_message.proto}.
&quot;triggerId&quot;: &quot;A String&quot;, # Matched against all {@link TriggerConfig}s across all workflows. i.e. TriggerConfig.trigger_id.equals(trigger_id) Required.
Expand Down
Expand Up @@ -3202,7 +3202,7 @@
}
}
},
"revision": "20230409",
"revision": "20230509",
"rootUrl": "https://integrations.googleapis.com/",
"schemas": {
"CrmlogErrorCode": {
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
},
Expand Down Expand Up @@ -7687,6 +7715,10 @@
},
"type": "array"
},
"authKey": {
"description": "Identifier key for auth config",
"type": "string"
},
"authType": {
"description": "The type of authentication configured.",
"enum": [
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
},
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit a2276ee

Please sign in to comment.