Skip to content

Commit fe65184

Browse files
feat(alloydb): update the API
#### alloydb:v1alpha The following keys were added: - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.description - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.location - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.repeated - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.type - schemas.Backup.properties.createCompletionTime.description - schemas.Backup.properties.createCompletionTime.format - schemas.Backup.properties.createCompletionTime.readOnly - schemas.Backup.properties.createCompletionTime.type - schemas.Cluster.properties.geminiConfig.deprecated - schemas.ConnectionPoolConfig.description - schemas.ConnectionPoolConfig.id - schemas.ConnectionPoolConfig.properties.defaultPoolSize.description - schemas.ConnectionPoolConfig.properties.defaultPoolSize.type - schemas.ConnectionPoolConfig.properties.enable.description - schemas.ConnectionPoolConfig.properties.enable.type - schemas.ConnectionPoolConfig.properties.enabled.description - schemas.ConnectionPoolConfig.properties.enabled.type - schemas.ConnectionPoolConfig.properties.flags.additionalProperties.type - schemas.ConnectionPoolConfig.properties.flags.description - schemas.ConnectionPoolConfig.properties.flags.type - schemas.ConnectionPoolConfig.properties.ignoreStartupParameters.description - schemas.ConnectionPoolConfig.properties.ignoreStartupParameters.items.type - schemas.ConnectionPoolConfig.properties.ignoreStartupParameters.type - schemas.ConnectionPoolConfig.properties.maxClientConn.description - schemas.ConnectionPoolConfig.properties.maxClientConn.type - schemas.ConnectionPoolConfig.properties.maxPreparedStatements.description - schemas.ConnectionPoolConfig.properties.maxPreparedStatements.type - schemas.ConnectionPoolConfig.properties.minPoolSize.description - schemas.ConnectionPoolConfig.properties.minPoolSize.type - schemas.ConnectionPoolConfig.properties.poolMode.description - schemas.ConnectionPoolConfig.properties.poolMode.enum - schemas.ConnectionPoolConfig.properties.poolMode.enumDescriptions - schemas.ConnectionPoolConfig.properties.poolMode.type - schemas.ConnectionPoolConfig.properties.queryWaitTimeout.description - schemas.ConnectionPoolConfig.properties.queryWaitTimeout.type - schemas.ConnectionPoolConfig.properties.serverIdleTimeout.description - schemas.ConnectionPoolConfig.properties.serverIdleTimeout.type - schemas.ConnectionPoolConfig.properties.statsUsers.description - schemas.ConnectionPoolConfig.properties.statsUsers.items.type - schemas.ConnectionPoolConfig.properties.statsUsers.type - schemas.ConnectionPoolConfig.type - schemas.GeminiClusterConfig.properties.entitled.deprecated - schemas.GeminiInstanceConfig.properties.entitled.deprecated - schemas.Instance.properties.connectionPoolConfig.$ref - schemas.Instance.properties.connectionPoolConfig.description - schemas.Instance.properties.geminiConfig.deprecated The following keys were changed: - schemas.Backup.properties.updateTime.description - schemas.Cluster.properties.geminiConfig.description - schemas.GeminiClusterConfig.description - schemas.GeminiClusterConfig.properties.entitled.description - schemas.GeminiInstanceConfig.description - schemas.GeminiInstanceConfig.properties.entitled.description - schemas.Instance.properties.geminiConfig.description - schemas.PscAutoConnectionConfig.properties.consumerNetworkStatus.description - schemas.PscAutoConnectionConfig.properties.status.description - schemas.RestoreClusterRequest.description #### alloydb:v1beta The following keys were added: - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.description - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.location - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.repeated - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.type - schemas.Backup.properties.createCompletionTime.description - schemas.Backup.properties.createCompletionTime.format - schemas.Backup.properties.createCompletionTime.readOnly - schemas.Backup.properties.createCompletionTime.type - schemas.Cluster.properties.geminiConfig.deprecated - schemas.ConnectionPoolConfig.description - schemas.ConnectionPoolConfig.id - schemas.ConnectionPoolConfig.properties.defaultPoolSize.description - schemas.ConnectionPoolConfig.properties.defaultPoolSize.type - schemas.ConnectionPoolConfig.properties.enable.description - schemas.ConnectionPoolConfig.properties.enable.type - schemas.ConnectionPoolConfig.properties.enabled.description - schemas.ConnectionPoolConfig.properties.enabled.type - schemas.ConnectionPoolConfig.properties.flags.additionalProperties.type - schemas.ConnectionPoolConfig.properties.flags.description - schemas.ConnectionPoolConfig.properties.flags.type - schemas.ConnectionPoolConfig.properties.ignoreStartupParameters.description - schemas.ConnectionPoolConfig.properties.ignoreStartupParameters.items.type - schemas.ConnectionPoolConfig.properties.ignoreStartupParameters.type - schemas.ConnectionPoolConfig.properties.maxClientConn.description - schemas.ConnectionPoolConfig.properties.maxClientConn.type - schemas.ConnectionPoolConfig.properties.maxPreparedStatements.description - schemas.ConnectionPoolConfig.properties.maxPreparedStatements.type - schemas.ConnectionPoolConfig.properties.minPoolSize.description - schemas.ConnectionPoolConfig.properties.minPoolSize.type - schemas.ConnectionPoolConfig.properties.poolMode.description - schemas.ConnectionPoolConfig.properties.poolMode.enum - schemas.ConnectionPoolConfig.properties.poolMode.enumDescriptions - schemas.ConnectionPoolConfig.properties.poolMode.type - schemas.ConnectionPoolConfig.properties.queryWaitTimeout.description - schemas.ConnectionPoolConfig.properties.queryWaitTimeout.type - schemas.ConnectionPoolConfig.properties.serverIdleTimeout.description - schemas.ConnectionPoolConfig.properties.serverIdleTimeout.type - schemas.ConnectionPoolConfig.properties.statsUsers.description - schemas.ConnectionPoolConfig.properties.statsUsers.items.type - schemas.ConnectionPoolConfig.properties.statsUsers.type - schemas.ConnectionPoolConfig.type - schemas.GeminiClusterConfig.properties.entitled.deprecated - schemas.GeminiInstanceConfig.properties.entitled.deprecated - schemas.Instance.properties.connectionPoolConfig.$ref - schemas.Instance.properties.connectionPoolConfig.description - schemas.Instance.properties.geminiConfig.deprecated The following keys were changed: - schemas.Backup.properties.updateTime.description - schemas.Cluster.properties.geminiConfig.description - schemas.GeminiClusterConfig.description - schemas.GeminiClusterConfig.properties.entitled.description - schemas.GeminiInstanceConfig.description - schemas.GeminiInstanceConfig.properties.entitled.description - schemas.Instance.properties.geminiConfig.description - schemas.PscAutoConnectionConfig.properties.consumerNetworkStatus.description - schemas.PscAutoConnectionConfig.properties.status.description - schemas.RestoreClusterRequest.description #### alloydb:v1 The following keys were added: - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.description - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.location - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.repeated - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.type - schemas.Backup.properties.createCompletionTime.description - schemas.Backup.properties.createCompletionTime.format - schemas.Backup.properties.createCompletionTime.readOnly - schemas.Backup.properties.createCompletionTime.type The following keys were changed: - schemas.Backup.properties.updateTime.description - schemas.PscAutoConnectionConfig.properties.consumerNetworkStatus.description - schemas.PscAutoConnectionConfig.properties.status.description - schemas.RestoreClusterRequest.description
1 parent 4dacec2 commit fe65184

File tree

6 files changed

+389
-51
lines changed

6 files changed

+389
-51
lines changed

‎discovery/alloydb-v1.json

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,12 @@
143143
"name"
144144
],
145145
"parameters": {
146+
"extraLocationTypes": {
147+
"description": "Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.",
148+
"location": "query",
149+
"repeated": true,
150+
"type": "string"
151+
},
146152
"filter": {
147153
"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).",
148154
"location": "query",
@@ -1616,7 +1622,7 @@
16161622
}
16171623
}
16181624
},
1619-
"revision": "20250308",
1625+
"revision": "20250410",
16201626
"rootUrl": "https://alloydb.googleapis.com/",
16211627
"schemas": {
16221628
"AuthorizedNetwork": {
@@ -1693,6 +1699,12 @@
16931699
"readOnly": true,
16941700
"type": "string"
16951701
},
1702+
"createCompletionTime": {
1703+
"description": "Output only. Timestamp when the resource finished being created.",
1704+
"format": "google-datetime",
1705+
"readOnly": true,
1706+
"type": "string"
1707+
},
16961708
"createTime": {
16971709
"description": "Output only. Create time stamp",
16981710
"format": "google-datetime",
@@ -1839,7 +1851,7 @@
18391851
"type": "string"
18401852
},
18411853
"updateTime": {
1842-
"description": "Output only. Update time stamp",
1854+
"description": "Output only. Update time stamp Users should not infer any meaning from this field. Its value is generally unrelated to the timing of the backup creation operation.",
18431855
"format": "google-datetime",
18441856
"readOnly": true,
18451857
"type": "string"
@@ -3472,7 +3484,7 @@
34723484
"type": "string"
34733485
},
34743486
"consumerNetworkStatus": {
3475-
"description": "Output only. The status of the service connection policy.",
3487+
"description": "Output only. The status of the service connection policy. Possible values: \"STATE_UNSPECIFIED\" - Default state, when Connection Map is created initially. \"VALID\" - Set when policy and map configuration is valid, and their matching can lead to allowing creation of PSC Connections subject to other constraints like connections limit. \"CONNECTION_POLICY_MISSING\" - No Service Connection Policy found for this network and Service Class \"POLICY_LIMIT_REACHED\" - Service Connection Policy limit reached for this network and Service Class \"CONSUMER_INSTANCE_PROJECT_NOT_ALLOWLISTED\" - The consumer instance project is not in AllowedGoogleProducersResourceHierarchyLevels of the matching ServiceConnectionPolicy.",
34763488
"readOnly": true,
34773489
"type": "string"
34783490
},
@@ -3486,7 +3498,7 @@
34863498
"type": "string"
34873499
},
34883500
"status": {
3489-
"description": "Output only. The status of the PSC service automation connection.",
3501+
"description": "Output only. The status of the PSC service automation connection. Possible values: \"STATE_UNSPECIFIED\" - An invalid state as the default case. \"ACTIVE\" - The connection has been created successfully. \"FAILED\" - The connection is not functional since some resources on the connection fail to be created. \"CREATING\" - The connection is being created. \"DELETING\" - The connection is being deleted. \"CREATE_REPAIRING\" - The connection is being repaired to complete creation. \"DELETE_REPAIRING\" - The connection is being repaired to complete deletion.",
34903502
"readOnly": true,
34913503
"type": "string"
34923504
}
@@ -3660,7 +3672,7 @@
36603672
"type": "object"
36613673
},
36623674
"RestoreClusterRequest": {
3663-
"description": "Message for restoring a Cluster from a backup or another cluster at a given point in time.",
3675+
"description": "Message for restoring a Cluster from a backup or another cluster at a given point in time. NEXT_ID: 11",
36643676
"id": "RestoreClusterRequest",
36653677
"properties": {
36663678
"backupSource": {

‎discovery/alloydb-v1alpha.json

Lines changed: 105 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,12 @@
143143
"name"
144144
],
145145
"parameters": {
146+
"extraLocationTypes": {
147+
"description": "Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.",
148+
"location": "query",
149+
"repeated": true,
150+
"type": "string"
151+
},
146152
"filter": {
147153
"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).",
148154
"location": "query",
@@ -1616,7 +1622,7 @@
16161622
}
16171623
}
16181624
},
1619-
"revision": "20250308",
1625+
"revision": "20250410",
16201626
"rootUrl": "https://alloydb.googleapis.com/",
16211627
"schemas": {
16221628
"AuthorizedNetwork": {
@@ -1693,6 +1699,12 @@
16931699
"readOnly": true,
16941700
"type": "string"
16951701
},
1702+
"createCompletionTime": {
1703+
"description": "Output only. Timestamp when the resource finished being created.",
1704+
"format": "google-datetime",
1705+
"readOnly": true,
1706+
"type": "string"
1707+
},
16961708
"createTime": {
16971709
"description": "Output only. Create time stamp",
16981710
"format": "google-datetime",
@@ -1844,7 +1856,7 @@
18441856
"type": "string"
18451857
},
18461858
"updateTime": {
1847-
"description": "Output only. Update time stamp",
1859+
"description": "Output only. Update time stamp Users should not infer any meaning from this field. Its value is generally unrelated to the timing of the backup creation operation.",
18481860
"format": "google-datetime",
18491861
"readOnly": true,
18501862
"type": "string"
@@ -2045,7 +2057,8 @@
20452057
},
20462058
"geminiConfig": {
20472059
"$ref": "GeminiClusterConfig",
2048-
"description": "Optional. Configuration parameters related to the Gemini in Databases add-on."
2060+
"deprecated": true,
2061+
"description": "Optional. Deprecated and unused. This field will be removed in the near future."
20492062
},
20502063
"initialUser": {
20512064
"$ref": "UserPassword",
@@ -2315,6 +2328,80 @@
23152328
},
23162329
"type": "object"
23172330
},
2331+
"ConnectionPoolConfig": {
2332+
"description": "Configuration for Managed Connection Pool (MCP).",
2333+
"id": "ConnectionPoolConfig",
2334+
"properties": {
2335+
"defaultPoolSize": {
2336+
"description": "Optional. Deprecated. Use 'flags' instead. The default pool size. Defaults to 20.",
2337+
"type": "string"
2338+
},
2339+
"enable": {
2340+
"description": "Optional. Deprecated; Prefer 'enabled' as this will be removed soon.",
2341+
"type": "boolean"
2342+
},
2343+
"enabled": {
2344+
"description": "Optional. Whether to enable Managed Connection Pool (MCP).",
2345+
"type": "boolean"
2346+
},
2347+
"flags": {
2348+
"additionalProperties": {
2349+
"type": "string"
2350+
},
2351+
"description": "Optional. Connection Pool flags, as a list of \"key\": \"value\" pairs.",
2352+
"type": "object"
2353+
},
2354+
"ignoreStartupParameters": {
2355+
"description": "Optional. Deprecated. Use 'flags' instead. The list of startup parameters to ignore. Defaults to [\"extra_float_digits\"]",
2356+
"items": {
2357+
"type": "string"
2358+
},
2359+
"type": "array"
2360+
},
2361+
"maxClientConn": {
2362+
"description": "Optional. Deprecated. Use 'flags' instead. The maximum number of client connections allowed.",
2363+
"type": "string"
2364+
},
2365+
"maxPreparedStatements": {
2366+
"description": "Optional. Deprecated. Use 'flags' instead. The maximum number of prepared statements allowed. MCP makes sure that any statement prepared by a client, up to this limit, is available on the backing server connection in transaction and statement pooling mode. Even if the statement was originally prepared on another server connection. Defaults to 0.",
2367+
"type": "string"
2368+
},
2369+
"minPoolSize": {
2370+
"description": "Optional. Deprecated. Use 'flags' instead. The minimum pool size. Defaults to 0.",
2371+
"type": "string"
2372+
},
2373+
"poolMode": {
2374+
"description": "Optional. Deprecated. Use 'flags' instead. The pool mode. Defaults to `POOL_MODE_TRANSACTION`.",
2375+
"enum": [
2376+
"POOL_MODE_UNSPECIFIED",
2377+
"POOL_MODE_SESSION",
2378+
"POOL_MODE_TRANSACTION"
2379+
],
2380+
"enumDescriptions": [
2381+
"The pool mode is not specified. Defaults to `POOL_MODE_TRANSACTION`.",
2382+
"Server is released back to pool after a client disconnects.",
2383+
"Server is released back to pool after a transaction finishes."
2384+
],
2385+
"type": "string"
2386+
},
2387+
"queryWaitTimeout": {
2388+
"description": "Optional. Deprecated. Use 'flags' instead. The maximum number of seconds queries are allowed to spend waiting for execution. If the query is not assigned to a server during that time, the client is disconnected. 0 disables.",
2389+
"type": "string"
2390+
},
2391+
"serverIdleTimeout": {
2392+
"description": "Optional. Deprecated. Use 'flags' instead. The maximum number of seconds a server is allowed to be idle before it is disconnected. 0 disables.",
2393+
"type": "string"
2394+
},
2395+
"statsUsers": {
2396+
"description": "Optional. Deprecated. Use 'flags' instead. The list of users that are allowed to connect to the MCP stats console. The users must exist in the database.",
2397+
"items": {
2398+
"type": "string"
2399+
},
2400+
"type": "array"
2401+
}
2402+
},
2403+
"type": "object"
2404+
},
23182405
"ContinuousBackupConfig": {
23192406
"description": "ContinuousBackupConfig describes the continuous backups recovery configurations of a cluster.",
23202407
"id": "ContinuousBackupConfig",
@@ -2592,23 +2679,25 @@
25922679
"type": "object"
25932680
},
25942681
"GeminiClusterConfig": {
2595-
"description": "Cluster level configuration parameters related to the Gemini in Databases add-on.",
2682+
"description": "Deprecated and unused. This field will be removed in the near future.",
25962683
"id": "GeminiClusterConfig",
25972684
"properties": {
25982685
"entitled": {
2599-
"description": "Output only. Whether the Gemini in Databases add-on is enabled for the cluster. It will be true only if the add-on has been enabled for the billing account corresponding to the cluster. Its status is toggled from the Admin Control Center (ACC) and cannot be toggled using AlloyDB's APIs.",
2686+
"deprecated": true,
2687+
"description": "Output only. Deprecated and unused. This field will be removed in the near future.",
26002688
"readOnly": true,
26012689
"type": "boolean"
26022690
}
26032691
},
26042692
"type": "object"
26052693
},
26062694
"GeminiInstanceConfig": {
2607-
"description": "Instance level configuration parameters related to the Gemini in Databases add-on.",
2695+
"description": "Deprecated and unused. This field will be removed in the near future.",
26082696
"id": "GeminiInstanceConfig",
26092697
"properties": {
26102698
"entitled": {
2611-
"description": "Output only. Whether the Gemini in Databases add-on is enabled for the instance. It will be true only if the add-on has been enabled for the billing account corresponding to the instance. Its status is toggled from the Admin Control Center (ACC) and cannot be toggled using AlloyDB's APIs.",
2699+
"deprecated": true,
2700+
"description": "Output only. Deprecated and unused. This field will be removed in the near future.",
26122701
"readOnly": true,
26132702
"type": "boolean"
26142703
}
@@ -2799,6 +2888,10 @@
27992888
"$ref": "ClientConnectionConfig",
28002889
"description": "Optional. Client connection specific configurations"
28012890
},
2891+
"connectionPoolConfig": {
2892+
"$ref": "ConnectionPoolConfig",
2893+
"description": "Optional. The configuration for Managed Connection Pool (MCP)."
2894+
},
28022895
"createTime": {
28032896
"description": "Output only. Create time stamp",
28042897
"format": "google-datetime",
@@ -2837,7 +2930,8 @@
28372930
},
28382931
"geminiConfig": {
28392932
"$ref": "GeminiInstanceConfig",
2840-
"description": "Optional. Configuration parameters related to the Gemini in Databases add-on."
2933+
"deprecated": true,
2934+
"description": "Optional. Deprecated and unused. This field will be removed in the near future."
28412935
},
28422936
"instanceType": {
28432937
"description": "Required. The type of the instance. Specified at creation time.",
@@ -3543,7 +3637,7 @@
35433637
"type": "string"
35443638
},
35453639
"consumerNetworkStatus": {
3546-
"description": "Output only. The status of the service connection policy.",
3640+
"description": "Output only. The status of the service connection policy. Possible values: \"STATE_UNSPECIFIED\" - Default state, when Connection Map is created initially. \"VALID\" - Set when policy and map configuration is valid, and their matching can lead to allowing creation of PSC Connections subject to other constraints like connections limit. \"CONNECTION_POLICY_MISSING\" - No Service Connection Policy found for this network and Service Class \"POLICY_LIMIT_REACHED\" - Service Connection Policy limit reached for this network and Service Class \"CONSUMER_INSTANCE_PROJECT_NOT_ALLOWLISTED\" - The consumer instance project is not in AllowedGoogleProducersResourceHierarchyLevels of the matching ServiceConnectionPolicy.",
35473641
"readOnly": true,
35483642
"type": "string"
35493643
},
@@ -3557,7 +3651,7 @@
35573651
"type": "string"
35583652
},
35593653
"status": {
3560-
"description": "Output only. The status of the PSC service automation connection.",
3654+
"description": "Output only. The status of the PSC service automation connection. Possible values: \"STATE_UNSPECIFIED\" - An invalid state as the default case. \"ACTIVE\" - The connection has been created successfully. \"FAILED\" - The connection is not functional since some resources on the connection fail to be created. \"CREATING\" - The connection is being created. \"DELETING\" - The connection is being deleted. \"CREATE_REPAIRING\" - The connection is being repaired to complete creation. \"DELETE_REPAIRING\" - The connection is being repaired to complete deletion.",
35613655
"readOnly": true,
35623656
"type": "string"
35633657
}
@@ -3731,7 +3825,7 @@
37313825
"type": "object"
37323826
},
37333827
"RestoreClusterRequest": {
3734-
"description": "Message for restoring a Cluster from a backup or another cluster at a given point in time.",
3828+
"description": "Message for restoring a Cluster from a backup or another cluster at a given point in time. NEXT_ID: 11",
37353829
"id": "RestoreClusterRequest",
37363830
"properties": {
37373831
"backupSource": {

0 commit comments

Comments
 (0)