Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(all): auto-regenerate discovery clients #2002

Merged
merged 1 commit into from
May 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
197 changes: 185 additions & 12 deletions integrations/v1alpha/integrations-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -804,6 +832,7 @@
"type": "string"
},
"filterParams.parameterKey": {
"deprecated": true,
"description": "Param key. DEPRECATED. User parameter_pair_key instead.",
"location": "query",
"type": "string"
Expand All @@ -824,6 +853,7 @@
"type": "string"
},
"filterParams.parameterValue": {
"deprecated": true,
"description": "Param value. DEPRECATED. User parameter_pair_value instead.",
"location": "query",
"type": "string"
Expand All @@ -835,6 +865,7 @@
"type": "string"
},
"filterParams.taskStatuses": {
"deprecated": true,
"description": "List of possible task statuses.",
"location": "query",
"repeated": true,
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
},
Expand Down Expand Up @@ -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"
},
Expand Down Expand Up @@ -1911,6 +1943,7 @@
"type": "string"
},
"filterParams.parameterKey": {
"deprecated": true,
"description": "Param key. DEPRECATED. User parameter_pair_key instead.",
"location": "query",
"type": "string"
Expand All @@ -1931,6 +1964,7 @@
"type": "string"
},
"filterParams.parameterValue": {
"deprecated": true,
"description": "Param value. DEPRECATED. User parameter_pair_value instead.",
"location": "query",
"type": "string"
Expand All @@ -1942,6 +1976,7 @@
"type": "string"
},
"filterParams.taskStatuses": {
"deprecated": true,
"description": "List of possible task statuses.",
"location": "query",
"repeated": true,
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
},
Expand Down Expand Up @@ -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"
},
Expand Down Expand Up @@ -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"
},
Expand Down Expand Up @@ -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"
},
Expand Down Expand Up @@ -3202,7 +3238,7 @@
}
}
},
"revision": "20230509",
"revision": "20230524",
"rootUrl": "https://integrations.googleapis.com/",
"schemas": {
"CrmlogErrorCode": {
Expand Down Expand Up @@ -7418,7 +7454,8 @@
"CLOUD_PUBSUB_EXTERNAL",
"SFDC_CDC_CHANNEL",
"SFDC_PLATFORM_EVENTS_CHANNEL",
"CLOUD_SCHEDULER"
"CLOUD_SCHEDULER",
"INTEGRATION_CONNECTOR_TRIGGER"
],
"enumDescriptions": [
"",
Expand All @@ -7433,6 +7470,7 @@
"",
"",
"",
"",
""
],
"type": "string"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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."
Expand All @@ -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"
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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"
}
},
Expand Down Expand Up @@ -10916,7 +11015,8 @@
"SFDC_CHANNEL",
"CLOUD_PUBSUB_EXTERNAL",
"SFDC_CDC_CHANNEL",
"CLOUD_SCHEDULER"
"CLOUD_SCHEDULER",
"INTEGRATION_CONNECTOR_TRIGGER"
],
"enumDescriptions": [
"Unknown.",
Expand All @@ -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"
}
Expand Down Expand Up @@ -11101,6 +11202,78 @@
"id": "GoogleProtobufEmpty",
"properties": {},
"type": "object"
},
"IoCloudeventsV1CloudEvent": {
"description": "-- CloudEvent Context Attributes",
"id": "IoCloudeventsV1CloudEvent",
"properties": {
"attributes": {
"additionalProperties": {
"$ref": "IoCloudeventsV1CloudEventCloudEventAttributeValue"
},
"description": "Optional \u0026 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": "",
Expand Down
Loading