Skip to content

Commit 168a5f4

Browse files
feat(connectors): update the api
#### connectors:v1 The following keys were added: - schemas.ConnectorInfraConfig.properties.maxInstanceRequestConcurrency (Total Keys: 2) - schemas.ConnectorVersion.properties.isCustomActionsSupported (Total Keys: 2) - schemas.ConnectorVersion.properties.isCustomEntitiesSupported (Total Keys: 2) - schemas.ConnectorVersion.properties.supportedStandardActions (Total Keys: 3) - schemas.ConnectorVersion.properties.supportedStandardEntities (Total Keys: 3) - schemas.ConnectorVersionInfraConfig.properties.maxInstanceRequestConcurrency (Total Keys: 3) - schemas.StandardAction (Total Keys: 3) - schemas.StandardEntity (Total Keys: 3) #### connectors:v2 The following keys were added: - schemas.AuthCodeData (Total Keys: 5) - schemas.ExchangeAuthCodeRequest.properties.authCodeData.$ref (Total Keys: 1) - schemas.RefreshAccessTokenRequest.properties.refreshToken.type (Total Keys: 1)
1 parent e69ea3c commit 168a5f4

File tree

5 files changed

+137
-10
lines changed

5 files changed

+137
-10
lines changed

docs/dyn/connectors_v1.projects.locations.connections.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ <h3>Method Details</h3>
250250
&quot;memoryUtilizationThreshold&quot;: &quot;A String&quot;, # Output only. Percent Memory utilization where HPA triggers autoscaling.
251251
},
252252
&quot;internalclientRatelimitThreshold&quot;: &quot;A String&quot;, # Output only. Max QPS supported for internal requests originating from Connd.
253+
&quot;maxInstanceRequestConcurrency&quot;: 42, # Output only. Max instance request concurrency.
253254
&quot;ratelimitThreshold&quot;: &quot;A String&quot;, # Output only. Max QPS supported by the connector version before throttling of requests.
254255
&quot;resourceLimits&quot;: { # Resource limits defined for connection pods of a given connector type. # Output only. System resource limits.
255256
&quot;cpu&quot;: &quot;A String&quot;, # Output only. CPU limit.
@@ -726,6 +727,7 @@ <h3>Method Details</h3>
726727
&quot;memoryUtilizationThreshold&quot;: &quot;A String&quot;, # Output only. Percent Memory utilization where HPA triggers autoscaling.
727728
},
728729
&quot;internalclientRatelimitThreshold&quot;: &quot;A String&quot;, # Output only. Max QPS supported for internal requests originating from Connd.
730+
&quot;maxInstanceRequestConcurrency&quot;: 42, # Output only. Max instance request concurrency.
729731
&quot;ratelimitThreshold&quot;: &quot;A String&quot;, # Output only. Max QPS supported by the connector version before throttling of requests.
730732
&quot;resourceLimits&quot;: { # Resource limits defined for connection pods of a given connector type. # Output only. System resource limits.
731733
&quot;cpu&quot;: &quot;A String&quot;, # Output only. CPU limit.
@@ -1221,6 +1223,7 @@ <h3>Method Details</h3>
12211223
&quot;memoryUtilizationThreshold&quot;: &quot;A String&quot;, # Output only. Percent Memory utilization where HPA triggers autoscaling.
12221224
},
12231225
&quot;internalclientRatelimitThreshold&quot;: &quot;A String&quot;, # Output only. Max QPS supported for internal requests originating from Connd.
1226+
&quot;maxInstanceRequestConcurrency&quot;: 42, # Output only. Max instance request concurrency.
12241227
&quot;ratelimitThreshold&quot;: &quot;A String&quot;, # Output only. Max QPS supported by the connector version before throttling of requests.
12251228
&quot;resourceLimits&quot;: { # Resource limits defined for connection pods of a given connector type. # Output only. System resource limits.
12261229
&quot;cpu&quot;: &quot;A String&quot;, # Output only. CPU limit.
@@ -1670,6 +1673,7 @@ <h3>Method Details</h3>
16701673
&quot;memoryUtilizationThreshold&quot;: &quot;A String&quot;, # Output only. Percent Memory utilization where HPA triggers autoscaling.
16711674
},
16721675
&quot;internalclientRatelimitThreshold&quot;: &quot;A String&quot;, # Output only. Max QPS supported for internal requests originating from Connd.
1676+
&quot;maxInstanceRequestConcurrency&quot;: 42, # Output only. Max instance request concurrency.
16731677
&quot;ratelimitThreshold&quot;: &quot;A String&quot;, # Output only. Max QPS supported by the connector version before throttling of requests.
16741678
&quot;resourceLimits&quot;: { # Resource limits defined for connection pods of a given connector type. # Output only. System resource limits.
16751679
&quot;cpu&quot;: &quot;A String&quot;, # Output only. CPU limit.
@@ -2252,6 +2256,7 @@ <h3>Method Details</h3>
22522256
&quot;memoryUtilizationThreshold&quot;: &quot;A String&quot;, # Output only. Percent Memory utilization where HPA triggers autoscaling.
22532257
},
22542258
&quot;internalclientRatelimitThreshold&quot;: &quot;A String&quot;, # Output only. Max QPS supported for internal requests originating from Connd.
2259+
&quot;maxInstanceRequestConcurrency&quot;: 42, # Output only. Max instance request concurrency.
22552260
&quot;ratelimitThreshold&quot;: &quot;A String&quot;, # Output only. Max QPS supported by the connector version before throttling of requests.
22562261
&quot;resourceLimits&quot;: { # Resource limits defined for connection pods of a given connector type. # Output only. System resource limits.
22572262
&quot;cpu&quot;: &quot;A String&quot;, # Output only. CPU limit.

docs/dyn/connectors_v1.projects.locations.providers.connectors.versions.html

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ <h3>Method Details</h3>
268268
&quot;memoryUtilizationThreshold&quot;: &quot;A String&quot;, # Output only. Percent Memory utilization where HPA triggers autoscaling.
269269
},
270270
&quot;internalclientRatelimitThreshold&quot;: &quot;A String&quot;, # Max QPS supported for internal requests originating from Connd.
271+
&quot;maxInstanceRequestConcurrency&quot;: 42, # Max Instance Request Conncurrency for Cloud Run service.
271272
&quot;migrateDeploymentModel&quot;: True or False, # Indicate whether connector is being migrated to cloud run deployment model.
272273
&quot;ratelimitThreshold&quot;: &quot;A String&quot;, # Max QPS supported by the connector version before throttling of requests.
273274
&quot;resourceLimits&quot;: { # Resource limits defined for connection pods of a given connector type. # System resource limits.
@@ -696,6 +697,8 @@ <h3>Method Details</h3>
696697
},
697698
],
698699
},
700+
&quot;isCustomActionsSupported&quot;: True or False, # Output only. Is custom actions supported.
701+
&quot;isCustomEntitiesSupported&quot;: True or False, # Output only. Is custom entities supported.
699702
&quot;labels&quot;: { # Output only. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
700703
&quot;a_key&quot;: &quot;A String&quot;,
701704
},
@@ -812,6 +815,16 @@ <h3>Method Details</h3>
812815
&quot;entityApis&quot;: True or False, # Specifies if the connector supports entity apis like &#x27;createEntity&#x27;.
813816
&quot;sqlQuery&quot;: True or False, # Specifies if the connector supports &#x27;ExecuteSqlQuery&#x27; operation.
814817
},
818+
&quot;supportedStandardActions&quot;: [ # Output only. Supported standard actions.
819+
{ # Standard action
820+
&quot;name&quot;: &quot;A String&quot;, # Name of the standard action.
821+
},
822+
],
823+
&quot;supportedStandardEntities&quot;: [ # Output only. Supported standard entities.
824+
{ # Standard entity
825+
&quot;name&quot;: &quot;A String&quot;, # Name of the standard entity.
826+
},
827+
],
815828
&quot;unsupportedConnectionTypes&quot;: [ # Output only. Unsupported connection types.
816829
&quot;A String&quot;,
817830
],
@@ -994,6 +1007,7 @@ <h3>Method Details</h3>
9941007
&quot;memoryUtilizationThreshold&quot;: &quot;A String&quot;, # Output only. Percent Memory utilization where HPA triggers autoscaling.
9951008
},
9961009
&quot;internalclientRatelimitThreshold&quot;: &quot;A String&quot;, # Max QPS supported for internal requests originating from Connd.
1010+
&quot;maxInstanceRequestConcurrency&quot;: 42, # Max Instance Request Conncurrency for Cloud Run service.
9971011
&quot;migrateDeploymentModel&quot;: True or False, # Indicate whether connector is being migrated to cloud run deployment model.
9981012
&quot;ratelimitThreshold&quot;: &quot;A String&quot;, # Max QPS supported by the connector version before throttling of requests.
9991013
&quot;resourceLimits&quot;: { # Resource limits defined for connection pods of a given connector type. # System resource limits.
@@ -1422,6 +1436,8 @@ <h3>Method Details</h3>
14221436
},
14231437
],
14241438
},
1439+
&quot;isCustomActionsSupported&quot;: True or False, # Output only. Is custom actions supported.
1440+
&quot;isCustomEntitiesSupported&quot;: True or False, # Output only. Is custom entities supported.
14251441
&quot;labels&quot;: { # Output only. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
14261442
&quot;a_key&quot;: &quot;A String&quot;,
14271443
},
@@ -1538,6 +1554,16 @@ <h3>Method Details</h3>
15381554
&quot;entityApis&quot;: True or False, # Specifies if the connector supports entity apis like &#x27;createEntity&#x27;.
15391555
&quot;sqlQuery&quot;: True or False, # Specifies if the connector supports &#x27;ExecuteSqlQuery&#x27; operation.
15401556
},
1557+
&quot;supportedStandardActions&quot;: [ # Output only. Supported standard actions.
1558+
{ # Standard action
1559+
&quot;name&quot;: &quot;A String&quot;, # Name of the standard action.
1560+
},
1561+
],
1562+
&quot;supportedStandardEntities&quot;: [ # Output only. Supported standard entities.
1563+
{ # Standard entity
1564+
&quot;name&quot;: &quot;A String&quot;, # Name of the standard entity.
1565+
},
1566+
],
15411567
&quot;unsupportedConnectionTypes&quot;: [ # Output only. Unsupported connection types.
15421568
&quot;A String&quot;,
15431569
],

docs/dyn/connectors_v2.projects.locations.connections.html

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,12 @@ <h3>Method Details</h3>
156156
body: object, The request body.
157157
The object takes the form of:
158158

159-
{ # ExchangeAuthCodeRequest currently includes no fields.
159+
{ # ExchangeAuthCodeRequest currently includes the auth code data.
160+
&quot;authCodeData&quot;: { # AuthCodeData contains the data the runtime plane will give the connector backend in exchange for access and refresh tokens. # Optional. AuthCodeData contains the data the runtime requires to exchange for access and refresh tokens. If the data is not provided, the runtime will read the data from the secret manager.
161+
&quot;authCode&quot;: &quot;A String&quot;, # OAuth authorization code.
162+
&quot;pkceVerifier&quot;: &quot;A String&quot;, # OAuth PKCE verifier, needed if PKCE is enabled for this particular connection.
163+
&quot;redirectUri&quot;: &quot;A String&quot;, # OAuth redirect URI passed in during the auth code flow, required by some OAuth backends.
164+
},
160165
}
161166

162167
x__xgafv: string, V1 error format.
@@ -225,7 +230,8 @@ <h3>Method Details</h3>
225230
body: object, The request body.
226231
The object takes the form of:
227232

228-
{ # RefreshAccessTokenRequest currently includes no fields.
233+
{ # RefreshAccessTokenRequest includes the refresh token.
234+
&quot;refreshToken&quot;: &quot;A String&quot;, # Optional. Refresh Token String. If the Refresh Token is not provided, the runtime will read the data from the secret manager.
229235
}
230236

231237
x__xgafv: string, V1 error format.

googleapiclient/discovery_cache/documents/connectors.v1.json

Lines changed: 64 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2427,7 +2427,7 @@
24272427
}
24282428
}
24292429
},
2430-
"revision": "20240715",
2430+
"revision": "20240729",
24312431
"rootUrl": "https://connectors.googleapis.com/",
24322432
"schemas": {
24332433
"AuditConfig": {
@@ -3256,6 +3256,11 @@
32563256
"format": "int64",
32573257
"type": "string"
32583258
},
3259+
"maxInstanceRequestConcurrency": {
3260+
"description": "Max Instance Request Conncurrency for Cloud Run service.",
3261+
"format": "int32",
3262+
"type": "integer"
3263+
},
32593264
"migrateDeploymentModel": {
32603265
"description": "Indicate whether connector is being migrated to cloud run deployment model.",
32613266
"type": "boolean"
@@ -3339,6 +3344,16 @@
33393344
"description": "Output only. Eventing configuration supported by the Connector.",
33403345
"readOnly": true
33413346
},
3347+
"isCustomActionsSupported": {
3348+
"description": "Output only. Is custom actions supported.",
3349+
"readOnly": true,
3350+
"type": "boolean"
3351+
},
3352+
"isCustomEntitiesSupported": {
3353+
"description": "Output only. Is custom entities supported.",
3354+
"readOnly": true,
3355+
"type": "boolean"
3356+
},
33423357
"labels": {
33433358
"additionalProperties": {
33443359
"type": "string"
@@ -3403,6 +3418,22 @@
34033418
"description": "Output only. Information about the runtime features supported by the Connector.",
34043419
"readOnly": true
34053420
},
3421+
"supportedStandardActions": {
3422+
"description": "Output only. Supported standard actions.",
3423+
"items": {
3424+
"$ref": "StandardAction"
3425+
},
3426+
"readOnly": true,
3427+
"type": "array"
3428+
},
3429+
"supportedStandardEntities": {
3430+
"description": "Output only. Supported standard entities.",
3431+
"items": {
3432+
"$ref": "StandardEntity"
3433+
},
3434+
"readOnly": true,
3435+
"type": "array"
3436+
},
34063437
"unsupportedConnectionTypes": {
34073438
"description": "Output only. Unsupported connection types.",
34083439
"items": {
@@ -3462,13 +3493,15 @@
34623493
"DEPLOYMENT_MODEL_MIGRATION_STATE_UNSPECIFIED",
34633494
"IN_PROGRESS",
34643495
"COMPLETED",
3465-
"ROLLEDBACK"
3496+
"ROLLEDBACK",
3497+
"ROLLBACK_IN_PROGRESS"
34663498
],
34673499
"enumDescriptions": [
34683500
"Deployment model migration state is not specified.",
34693501
"Deployment model migration is in progress.",
34703502
"Deployment model migration is completed.",
3471-
"Deployment model migration rolledback."
3503+
"Deployment model migration rolledback.",
3504+
"Deployment model migration rollback in progress."
34723505
],
34733506
"readOnly": true,
34743507
"type": "string"
@@ -3484,6 +3517,12 @@
34843517
"readOnly": true,
34853518
"type": "string"
34863519
},
3520+
"maxInstanceRequestConcurrency": {
3521+
"description": "Output only. Max instance request concurrency.",
3522+
"format": "int32",
3523+
"readOnly": true,
3524+
"type": "integer"
3525+
},
34873526
"ratelimitThreshold": {
34883527
"description": "Output only. Max QPS supported by the connector version before throttling of requests.",
34893528
"format": "int64",
@@ -7190,6 +7229,28 @@ false
71907229
},
71917230
"type": "object"
71927231
},
7232+
"StandardAction": {
7233+
"description": "Standard action",
7234+
"id": "StandardAction",
7235+
"properties": {
7236+
"name": {
7237+
"description": "Name of the standard action.",
7238+
"type": "string"
7239+
}
7240+
},
7241+
"type": "object"
7242+
},
7243+
"StandardEntity": {
7244+
"description": "Standard entity",
7245+
"id": "StandardEntity",
7246+
"properties": {
7247+
"name": {
7248+
"description": "Name of the standard entity.",
7249+
"type": "string"
7250+
}
7251+
},
7252+
"type": "object"
7253+
},
71937254
"Status": {
71947255
"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).",
71957256
"id": "Status",

googleapiclient/discovery_cache/documents/connectors.v2.json

Lines changed: 34 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@
660660
}
661661
}
662662
},
663-
"revision": "20240708",
663+
"revision": "20240729",
664664
"rootUrl": "https://connectors.googleapis.com/",
665665
"schemas": {
666666
"AccessCredentials": {
@@ -724,6 +724,25 @@
724724
},
725725
"type": "object"
726726
},
727+
"AuthCodeData": {
728+
"description": "AuthCodeData contains the data the runtime plane will give the connector backend in exchange for access and refresh tokens.",
729+
"id": "AuthCodeData",
730+
"properties": {
731+
"authCode": {
732+
"description": "OAuth authorization code.",
733+
"type": "string"
734+
},
735+
"pkceVerifier": {
736+
"description": "OAuth PKCE verifier, needed if PKCE is enabled for this particular connection.",
737+
"type": "string"
738+
},
739+
"redirectUri": {
740+
"description": "OAuth redirect URI passed in during the auth code flow, required by some OAuth backends.",
741+
"type": "string"
742+
}
743+
},
744+
"type": "object"
745+
},
727746
"CheckReadinessResponse": {
728747
"description": "Response containing status of the connector for readiness prober.",
729748
"id": "CheckReadinessResponse",
@@ -888,9 +907,14 @@
888907
"type": "object"
889908
},
890909
"ExchangeAuthCodeRequest": {
891-
"description": "ExchangeAuthCodeRequest currently includes no fields.",
910+
"description": "ExchangeAuthCodeRequest currently includes the auth code data.",
892911
"id": "ExchangeAuthCodeRequest",
893-
"properties": {},
912+
"properties": {
913+
"authCodeData": {
914+
"$ref": "AuthCodeData",
915+
"description": "Optional. AuthCodeData contains the data the runtime requires to exchange for access and refresh tokens. If the data is not provided, the runtime will read the data from the secret manager."
916+
}
917+
},
894918
"type": "object"
895919
},
896920
"ExchangeAuthCodeResponse": {
@@ -2105,9 +2129,14 @@ false
21052129
"type": "object"
21062130
},
21072131
"RefreshAccessTokenRequest": {
2108-
"description": "RefreshAccessTokenRequest currently includes no fields.",
2132+
"description": "RefreshAccessTokenRequest includes the refresh token.",
21092133
"id": "RefreshAccessTokenRequest",
2110-
"properties": {},
2134+
"properties": {
2135+
"refreshToken": {
2136+
"description": "Optional. Refresh Token String. If the Refresh Token is not provided, the runtime will read the data from the secret manager.",
2137+
"type": "string"
2138+
}
2139+
},
21112140
"type": "object"
21122141
},
21132142
"RefreshAccessTokenResponse": {

0 commit comments

Comments
 (0)