Skip to content

Commit

Permalink
feat(connectors): update the api
Browse files Browse the repository at this point in the history
#### connectors:v1

The following keys were added:
- resources.projects.resources.locations.resources.global.resources.customConnectors.methods.delete.parameters.force (Total Keys: 2)
- schemas.ConnectorVersionInfraConfig.properties.deploymentModel.type (Total Keys: 1)
- schemas.DeadLetterConfig (Total Keys: 4)
- schemas.EventingConfig.properties.deadLetterConfig.$ref (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Jan 8, 2024
1 parent 349d798 commit 713f174
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 4 deletions.
20 changes: 20 additions & 0 deletions docs/dyn/connectors_v1.projects.locations.connections.html
Expand Up @@ -233,6 +233,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;connectorVersionInfraConfig&quot;: { # This cofiguration provides infra configs like rate limit threshold which need to be configurable for every connector version # Output only. Infra configs supported by Connector Version.
&quot;connectionRatelimitWindowSeconds&quot;: &quot;A String&quot;, # Output only. The window used for ratelimiting runtime requests to connections.
&quot;deploymentModel&quot;: &quot;A String&quot;, # Optional. Indicates whether connector is deployed on GKE/CloudRun
&quot;hpaConfig&quot;: { # Autoscaling config for connector deployment system metrics. # Output only. HPA autoscaling config.
&quot;cpuUtilizationThreshold&quot;: &quot;A String&quot;, # Output only. Percent CPU utilization where HPA triggers autoscaling.
&quot;memoryUtilizationThreshold&quot;: &quot;A String&quot;, # Output only. Percent Memory utilization where HPA triggers autoscaling.
Expand Down Expand Up @@ -346,6 +347,10 @@ <h3>Method Details</h3>
&quot;username&quot;: &quot;A String&quot;, # Username.
},
},
&quot;deadLetterConfig&quot;: { # Dead Letter configuration details provided by the user. # Optional. Dead letter configuration for eventing of a connection.
&quot;projectId&quot;: &quot;A String&quot;, # Optional. Project which has the topic given.
&quot;topic&quot;: &quot;A String&quot;, # Optional. Topic to push events which couldn&#x27;t be processed.
},
&quot;enrichmentEnabled&quot;: True or False, # Enrichment Enabled.
&quot;eventsListenerIngressEndpoint&quot;: &quot;A String&quot;, # Optional. Ingress endpoint of the event listener. This is used only when private connectivity is enabled.
&quot;listenerAuthConfig&quot;: { # AuthConfig defines details of a authentication type. # Optional. Auth details for the event listener.
Expand Down Expand Up @@ -666,6 +671,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;connectorVersionInfraConfig&quot;: { # This cofiguration provides infra configs like rate limit threshold which need to be configurable for every connector version # Output only. Infra configs supported by Connector Version.
&quot;connectionRatelimitWindowSeconds&quot;: &quot;A String&quot;, # Output only. The window used for ratelimiting runtime requests to connections.
&quot;deploymentModel&quot;: &quot;A String&quot;, # Optional. Indicates whether connector is deployed on GKE/CloudRun
&quot;hpaConfig&quot;: { # Autoscaling config for connector deployment system metrics. # Output only. HPA autoscaling config.
&quot;cpuUtilizationThreshold&quot;: &quot;A String&quot;, # Output only. Percent CPU utilization where HPA triggers autoscaling.
&quot;memoryUtilizationThreshold&quot;: &quot;A String&quot;, # Output only. Percent Memory utilization where HPA triggers autoscaling.
Expand Down Expand Up @@ -779,6 +785,10 @@ <h3>Method Details</h3>
&quot;username&quot;: &quot;A String&quot;, # Username.
},
},
&quot;deadLetterConfig&quot;: { # Dead Letter configuration details provided by the user. # Optional. Dead letter configuration for eventing of a connection.
&quot;projectId&quot;: &quot;A String&quot;, # Optional. Project which has the topic given.
&quot;topic&quot;: &quot;A String&quot;, # Optional. Topic to push events which couldn&#x27;t be processed.
},
&quot;enrichmentEnabled&quot;: True or False, # Enrichment Enabled.
&quot;eventsListenerIngressEndpoint&quot;: &quot;A String&quot;, # Optional. Ingress endpoint of the event listener. This is used only when private connectivity is enabled.
&quot;listenerAuthConfig&quot;: { # AuthConfig defines details of a authentication type. # Optional. Auth details for the event listener.
Expand Down Expand Up @@ -1118,6 +1128,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;connectorVersionInfraConfig&quot;: { # This cofiguration provides infra configs like rate limit threshold which need to be configurable for every connector version # Output only. Infra configs supported by Connector Version.
&quot;connectionRatelimitWindowSeconds&quot;: &quot;A String&quot;, # Output only. The window used for ratelimiting runtime requests to connections.
&quot;deploymentModel&quot;: &quot;A String&quot;, # Optional. Indicates whether connector is deployed on GKE/CloudRun
&quot;hpaConfig&quot;: { # Autoscaling config for connector deployment system metrics. # Output only. HPA autoscaling config.
&quot;cpuUtilizationThreshold&quot;: &quot;A String&quot;, # Output only. Percent CPU utilization where HPA triggers autoscaling.
&quot;memoryUtilizationThreshold&quot;: &quot;A String&quot;, # Output only. Percent Memory utilization where HPA triggers autoscaling.
Expand Down Expand Up @@ -1231,6 +1242,10 @@ <h3>Method Details</h3>
&quot;username&quot;: &quot;A String&quot;, # Username.
},
},
&quot;deadLetterConfig&quot;: { # Dead Letter configuration details provided by the user. # Optional. Dead letter configuration for eventing of a connection.
&quot;projectId&quot;: &quot;A String&quot;, # Optional. Project which has the topic given.
&quot;topic&quot;: &quot;A String&quot;, # Optional. Topic to push events which couldn&#x27;t be processed.
},
&quot;enrichmentEnabled&quot;: True or False, # Enrichment Enabled.
&quot;eventsListenerIngressEndpoint&quot;: &quot;A String&quot;, # Optional. Ingress endpoint of the event listener. This is used only when private connectivity is enabled.
&quot;listenerAuthConfig&quot;: { # AuthConfig defines details of a authentication type. # Optional. Auth details for the event listener.
Expand Down Expand Up @@ -1524,6 +1539,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;connectorVersionInfraConfig&quot;: { # This cofiguration provides infra configs like rate limit threshold which need to be configurable for every connector version # Output only. Infra configs supported by Connector Version.
&quot;connectionRatelimitWindowSeconds&quot;: &quot;A String&quot;, # Output only. The window used for ratelimiting runtime requests to connections.
&quot;deploymentModel&quot;: &quot;A String&quot;, # Optional. Indicates whether connector is deployed on GKE/CloudRun
&quot;hpaConfig&quot;: { # Autoscaling config for connector deployment system metrics. # Output only. HPA autoscaling config.
&quot;cpuUtilizationThreshold&quot;: &quot;A String&quot;, # Output only. Percent CPU utilization where HPA triggers autoscaling.
&quot;memoryUtilizationThreshold&quot;: &quot;A String&quot;, # Output only. Percent Memory utilization where HPA triggers autoscaling.
Expand Down Expand Up @@ -1637,6 +1653,10 @@ <h3>Method Details</h3>
&quot;username&quot;: &quot;A String&quot;, # Username.
},
},
&quot;deadLetterConfig&quot;: { # Dead Letter configuration details provided by the user. # Optional. Dead letter configuration for eventing of a connection.
&quot;projectId&quot;: &quot;A String&quot;, # Optional. Project which has the topic given.
&quot;topic&quot;: &quot;A String&quot;, # Optional. Topic to push events which couldn&#x27;t be processed.
},
&quot;enrichmentEnabled&quot;: True or False, # Enrichment Enabled.
&quot;eventsListenerIngressEndpoint&quot;: &quot;A String&quot;, # Optional. Ingress endpoint of the event listener. This is used only when private connectivity is enabled.
&quot;listenerAuthConfig&quot;: { # AuthConfig defines details of a authentication type. # Optional. Auth details for the event listener.
Expand Down
Expand Up @@ -86,7 +86,7 @@ <h2>Instance Methods</h2>
<code><a href="#create">create(parent, body=None, customConnectorId=None, x__xgafv=None)</a></code></p>
<p class="firstline">Creates a new CustomConnector in a given project and location.</p>
<p class="toc_element">
<code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
<code><a href="#delete">delete(name, force=None, x__xgafv=None)</a></code></p>
<p class="firstline">Deletes a single CustomConnector.</p>
<p class="toc_element">
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
Expand Down Expand Up @@ -159,11 +159,12 @@ <h3>Method Details</h3>
</div>

<div class="method">
<code class="details" id="delete">delete(name, x__xgafv=None)</code>
<code class="details" id="delete">delete(name, force=None, x__xgafv=None)</code>
<pre>Deletes a single CustomConnector.

Args:
name: string, Required. Resource name of the form: `projects/{project}/locations/{location}/customConnectors/{connector}` (required)
force: boolean, Optional. If set to true, any customConnectorVersion which is a child resource will also be deleted. https://aip.dev/135#cascading-delete
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
Expand Down
40 changes: 39 additions & 1 deletion googleapiclient/discovery_cache/documents/connectors.v1.json
Expand Up @@ -1387,6 +1387,11 @@
"name"
],
"parameters": {
"force": {
"description": "Optional. If set to true, any customConnectorVersion which is a child resource will also be deleted. https://aip.dev/135#cascading-delete",
"location": "query",
"type": "boolean"
},
"name": {
"description": "Required. Resource name of the form: `projects/{project}/locations/{location}/customConnectors/{connector}`",
"location": "path",
Expand Down Expand Up @@ -2349,7 +2354,7 @@
}
}
},
"revision": "20231213",
"revision": "20240102",
"rootUrl": "https://connectors.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down Expand Up @@ -3268,6 +3273,20 @@
"readOnly": true,
"type": "string"
},
"deploymentModel": {
"description": "Optional. Indicates whether connector is deployed on GKE/CloudRun",
"enum": [
"DEPLOYMENT_MODEL_UNSPECIFIED",
"GKE_MST",
"CLOUD_RUN_MST"
],
"enumDescriptions": [
"Deployment model is not specified.",
"Default model gke mst.",
"Cloud run mst."
],
"type": "string"
},
"hpaConfig": {
"$ref": "HPAConfig",
"description": "Output only. HPA autoscaling config.",
Expand Down Expand Up @@ -3469,6 +3488,21 @@
},
"type": "object"
},
"DeadLetterConfig": {
"description": "Dead Letter configuration details provided by the user.",
"id": "DeadLetterConfig",
"properties": {
"projectId": {
"description": "Optional. Project which has the topic given.",
"type": "string"
},
"topic": {
"description": "Optional. Topic to push events which couldn't be processed.",
"type": "string"
}
},
"type": "object"
},
"DenyMaintenancePeriod": {
"description": "DenyMaintenancePeriod definition. Maintenance is forbidden within the deny period. The start_date must be less than the end_date.",
"id": "DenyMaintenancePeriod",
Expand Down Expand Up @@ -3903,6 +3937,10 @@
"$ref": "AuthConfig",
"description": "Auth details for the webhook adapter."
},
"deadLetterConfig": {
"$ref": "DeadLetterConfig",
"description": "Optional. Dead letter configuration for eventing of a connection."
},
"enrichmentEnabled": {
"description": "Enrichment Enabled.",
"type": "boolean"
Expand Down
Expand Up @@ -660,7 +660,7 @@
}
}
},
"revision": "20231213",
"revision": "20240102",
"rootUrl": "https://connectors.googleapis.com/",
"schemas": {
"AccessCredentials": {
Expand Down

0 comments on commit 713f174

Please sign in to comment.