Skip to content

Commit 7a464ea

Browse files
feat(all): auto-regenerate discovery clients (#3057)
1 parent 01546c1 commit 7a464ea

File tree

2 files changed

+72
-3
lines changed

2 files changed

+72
-3
lines changed

connectors/v1/connectors-api.json

+26-2
Original file line numberDiff line numberDiff line change
@@ -2560,7 +2560,7 @@
25602560
}
25612561
}
25622562
},
2563-
"revision": "20250218",
2563+
"revision": "20250304",
25642564
"rootUrl": "https://connectors.googleapis.com/",
25652565
"schemas": {
25662566
"AuditConfig": {
@@ -3288,6 +3288,13 @@
32883288
"readOnly": true,
32893289
"type": "string"
32903290
},
3291+
"trafficShapingConfigs": {
3292+
"description": "Optional. Traffic shaping configuration for the connection.",
3293+
"items": {
3294+
"$ref": "TrafficShapingConfig"
3295+
},
3296+
"type": "array"
3297+
},
32913298
"updateTime": {
32923299
"description": "Output only. Updated time.",
32933300
"format": "google-datetime",
@@ -3786,7 +3793,7 @@
37863793
"type": "object"
37873794
},
37883795
"ConnectorVersionInfraConfig": {
3789-
"description": "This cofiguration provides infra configs like rate limit threshold which need to be configurable for every connector version",
3796+
"description": "This configuration provides infra configs like rate limit threshold which need to be configurable for every connector version",
37903797
"id": "ConnectorVersionInfraConfig",
37913798
"properties": {
37923799
"connectionRatelimitWindowSeconds": {
@@ -8030,6 +8037,23 @@
80308037
},
80318038
"type": "object"
80328039
},
8040+
"TrafficShapingConfig": {
8041+
"description": "* TrafficShapingConfig defines the configuration for shaping API traffic by specifying a quota limit and the duration over which this limit is enforced. This configuration helps to control and manage the rate at which API calls are made on the client side, preventing service overload on the backend. For example: - if the quota limit is 100 calls per 10 seconds, then the message would be: { quota_limit: 100 duration: { seconds: 10 } } - if the quota limit is 100 calls per 5 minutes, then the message would be: { quota_limit: 100 duration: { seconds: 300 } } - if the quota limit is 10000 calls per day, then the message would be: { quota_limit: 10000 duration: { seconds: 86400 } and so on.",
8042+
"id": "TrafficShapingConfig",
8043+
"properties": {
8044+
"duration": {
8045+
"description": "Required. * The duration over which the API call quota limits are calculated. This duration is used to define the time window for evaluating if the number of API calls made by a user is within the allowed quota limits. For example: - To define a quota sampled over 16 seconds, set `seconds` to 16 - To define a quota sampled over 5 minutes, set `seconds` to 300 (5 * 60) - To define a quota sampled over 1 day, set `seconds` to 86400 (24 * 60 * 60) and so on. It is important to note that this duration is not the time the quota is valid for, but rather the time window over which the quota is evaluated. For example, if the quota is 100 calls per 10 seconds, then this duration field would be set to 10 seconds.",
8046+
"format": "google-duration",
8047+
"type": "string"
8048+
},
8049+
"quotaLimit": {
8050+
"description": "Required. Maximum number of api calls allowed.",
8051+
"format": "int64",
8052+
"type": "string"
8053+
}
8054+
},
8055+
"type": "object"
8056+
},
80338057
"UpdatePolicy": {
80348058
"description": "Maintenance policy applicable to instance updates.",
80358059
"id": "UpdatePolicy",

connectors/v1/connectors-gen.go

+46-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)