Skip to content

Commit 106f89f

Browse files
feat(sqladmin): update the API
#### sqladmin:v1beta4 The following keys were added: - schemas.PscConfig.properties.networkAttachmentUri.description - schemas.PscConfig.properties.networkAttachmentUri.type The following keys were changed: - resources.backups.methods.updateBackup.description - resources.backups.methods.updateBackup.parameters.updateMask.description - schemas.ConnectionPoolConfig.properties.flags.description - schemas.InsightsConfig.properties.queryStringLength.description - schemas.PscAutoConnectionConfig.properties.consumerNetwork.description - schemas.PscAutoConnectionConfig.properties.consumerProject.description - schemas.Settings.properties.replicationLagMaxSeconds.description #### sqladmin:v1 The following keys were added: - schemas.PscConfig.properties.networkAttachmentUri.description - schemas.PscConfig.properties.networkAttachmentUri.type The following keys were changed: - resources.Backups.methods.UpdateBackup.description - resources.Backups.methods.UpdateBackup.parameters.updateMask.description - schemas.ConnectionPoolConfig.properties.flags.description - schemas.InsightsConfig.properties.queryStringLength.description - schemas.PscAutoConnectionConfig.properties.consumerNetwork.description - schemas.PscAutoConnectionConfig.properties.consumerProject.description
1 parent dfd5ce1 commit 106f89f

File tree

4 files changed

+44
-28
lines changed

4 files changed

+44
-28
lines changed

discovery/sqladmin-v1.json

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@
234234
]
235235
},
236236
"UpdateBackup": {
237-
"description": "This API updates the following: 1- retention period and description of backup in case of final backups only. 2- gcbdr_soft_delete_status of backup in case of GCBDR managed backups only.",
237+
"description": "Updates the retention period and description of the backup. You can use this API to update final backups only.",
238238
"flatPath": "v1/projects/{projectsId}/backups/{backupsId}",
239239
"httpMethod": "PATCH",
240240
"id": "sql.Backups.UpdateBackup",
@@ -250,7 +250,7 @@
250250
"type": "string"
251251
},
252252
"updateMask": {
253-
"description": "The list of fields that you can update. 1- You can update only the description and retention period for a final backup. 2- You can update only the gcbdr_soft_delete_status for GCBDR managed backup.",
253+
"description": "The list of fields that you can update. You can update only the description and retention period of the final backup.",
254254
"format": "google-fieldmask",
255255
"location": "query",
256256
"type": "string"
@@ -2594,7 +2594,7 @@
25942594
}
25952595
}
25962596
},
2597-
"revision": "20250427",
2597+
"revision": "20250508",
25982598
"rootUrl": "https://sqladmin.googleapis.com/",
25992599
"schemas": {
26002600
"AclEntry": {
@@ -3820,7 +3820,7 @@
38203820
"type": "boolean"
38213821
},
38223822
"flags": {
3823-
"description": "Optional. List of connection pool configuration flags",
3823+
"description": "Optional. List of connection pool configuration flags.",
38243824
"items": {
38253825
"$ref": "ConnectionPoolFlags"
38263826
},
@@ -5364,7 +5364,7 @@
53645364
"type": "integer"
53655365
},
53665366
"queryStringLength": {
5367-
"description": "Maximum query length stored in bytes. Default value: 1024 bytes. Range: 256-4500 bytes. Query length more than this field value will be truncated to this value. When unset, query length will be the default value. Changing query length will restart the database.",
5367+
"description": "Maximum query length stored in bytes. Default value: 1024 bytes. Range: 256-4500 bytes. Query lengths greater than this field value will be truncated to this value. When unset, query length will be the default value. Changing query length will restart the database.",
53685368
"format": "int32",
53695369
"type": "integer"
53705370
},
@@ -6529,15 +6529,15 @@
65296529
"id": "PscAutoConnectionConfig",
65306530
"properties": {
65316531
"consumerNetwork": {
6532-
"description": "The consumer network of this consumer endpoint. This must be a resource path that includes both the host project and the network name. For example, `projects/project1/global/networks/network1`. The consumer host project of this network might be different from the consumer service project.",
6532+
"description": "Optional. The consumer network of this consumer endpoint. This must be a resource path that includes both the host project and the network name. For example, `projects/project1/global/networks/network1`. The consumer host project of this network might be different from the consumer service project.",
65336533
"type": "string"
65346534
},
65356535
"consumerNetworkStatus": {
65366536
"description": "The connection policy status of the consumer network.",
65376537
"type": "string"
65386538
},
65396539
"consumerProject": {
6540-
"description": "This is the project ID of consumer service project of this consumer endpoint. Optional. This is only applicable if consumer_network is a shared vpc network.",
6540+
"description": "Optional. This is the project ID of consumer service project of this consumer endpoint. Optional. This is only applicable if consumer_network is a shared vpc network.",
65416541
"type": "string"
65426542
},
65436543
"ipAddress": {
@@ -6562,6 +6562,10 @@
65626562
},
65636563
"type": "array"
65646564
},
6565+
"networkAttachmentUri": {
6566+
"description": "Optional. The network attachment of the consumer network that the Private Service Connect enabled Cloud SQL instance is authorized to connect via PSC interface. format: projects/PROJECT/regions/REGION/networkAttachments/ID",
6567+
"type": "string"
6568+
},
65656569
"pscAutoConnections": {
65666570
"description": "Optional. The list of settings for requested Private Service Connect consumer endpoints that can be used to connect to this Cloud SQL instance.",
65676571
"items": {

discovery/sqladmin-v1beta4.json

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@
396396
]
397397
},
398398
"updateBackup": {
399-
"description": "This API updates the following: 1- retention period and description of backup in case of final backups only. 2- gcbdr_soft_delete_status of backup in case of GCBDR managed backups only.",
399+
"description": "Updates the retention period and the description of the backup. You can use this API to update final backups only.",
400400
"flatPath": "sql/v1beta4/projects/{projectsId}/backups/{backupsId}",
401401
"httpMethod": "PATCH",
402402
"id": "sql.backups.updateBackup",
@@ -412,7 +412,7 @@
412412
"type": "string"
413413
},
414414
"updateMask": {
415-
"description": "The list of fields that you can update. 1- You can update only the description and retention period for a final backup. 2- You can update only the gcbdr_soft_delete_status for GCBDR managed backup.",
415+
"description": "The list of fields that you can update. You can update only the description and retention period of the final backup.",
416416
"format": "google-fieldmask",
417417
"location": "query",
418418
"type": "string"
@@ -2594,7 +2594,7 @@
25942594
}
25952595
}
25962596
},
2597-
"revision": "20250427",
2597+
"revision": "20250508",
25982598
"rootUrl": "https://sqladmin.googleapis.com/",
25992599
"schemas": {
26002600
"AclEntry": {
@@ -3820,7 +3820,7 @@
38203820
"type": "boolean"
38213821
},
38223822
"flags": {
3823-
"description": "Optional. List of connection pool configuration flags",
3823+
"description": "Optional. List of connection pool configuration flags.",
38243824
"items": {
38253825
"$ref": "ConnectionPoolFlags"
38263826
},
@@ -5365,7 +5365,7 @@
53655365
"type": "integer"
53665366
},
53675367
"queryStringLength": {
5368-
"description": "Maximum query length stored in bytes. Default value: 1024 bytes. Range: 256-4500 bytes. Query length more than this field value will be truncated to this value. When unset, query length will be the default value. Changing query length will restart the database.",
5368+
"description": "Maximum query length stored in bytes. Default value: 1024 bytes. Range: 256-4500 bytes. Query lengths greater than this field value will be truncated to this value. When unset, query length will be the default value. Changing query length will restart the database.",
53695369
"format": "int32",
53705370
"type": "integer"
53715371
},
@@ -6527,15 +6527,15 @@
65276527
"id": "PscAutoConnectionConfig",
65286528
"properties": {
65296529
"consumerNetwork": {
6530-
"description": "The consumer network of this consumer endpoint. This must be a resource path that includes both the host project and the network name. For example, `projects/project1/global/networks/network1`. The consumer host project of this network might be different from the consumer service project.",
6530+
"description": "Optional. The consumer network of this consumer endpoint. This must be a resource path that includes both the host project and the network name. For example, `projects/project1/global/networks/network1`. The consumer host project of this network might be different from the consumer service project.",
65316531
"type": "string"
65326532
},
65336533
"consumerNetworkStatus": {
65346534
"description": "The connection policy status of the consumer network.",
65356535
"type": "string"
65366536
},
65376537
"consumerProject": {
6538-
"description": "This is the project ID of consumer service project of this consumer endpoint. Optional. This is only applicable if consumer_network is a shared vpc network.",
6538+
"description": "Optional. This is the project ID of consumer service project of this consumer endpoint. Optional. This is only applicable if consumer_network is a shared vpc network.",
65396539
"type": "string"
65406540
},
65416541
"ipAddress": {
@@ -6560,6 +6560,10 @@
65606560
},
65616561
"type": "array"
65626562
},
6563+
"networkAttachmentUri": {
6564+
"description": "Optional. The network attachment of the consumer network that the Private Service Connect enabled Cloud SQL instance is authorized to connect via PSC interface. format: projects/PROJECT/regions/REGION/networkAttachments/ID",
6565+
"type": "string"
6566+
},
65636567
"pscAutoConnections": {
65646568
"description": "Optional. The list of settings for requested Private Service Connect consumer endpoints that can be used to connect to this Cloud SQL instance.",
65656569
"items": {
@@ -6924,7 +6928,7 @@
69246928
"type": "string"
69256929
},
69266930
"replicationLagMaxSeconds": {
6927-
"description": "Optional. Configuration value for recreation of replica after certain replication lag",
6931+
"description": "Optional. Configuration value for recreation of replica after certain replication lag.",
69286932
"format": "int32",
69296933
"type": "integer"
69306934
},

src/apis/sqladmin/v1.ts

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ export namespace sqladmin_v1 {
583583
*/
584584
connectionPoolingEnabled?: boolean | null;
585585
/**
586-
* Optional. List of connection pool configuration flags
586+
* Optional. List of connection pool configuration flags.
587587
*/
588588
flags?: Schema$ConnectionPoolFlags[];
589589
}
@@ -1402,7 +1402,7 @@ export namespace sqladmin_v1 {
14021402
*/
14031403
queryPlansPerMinute?: number | null;
14041404
/**
1405-
* Maximum query length stored in bytes. Default value: 1024 bytes. Range: 256-4500 bytes. Query length more than this field value will be truncated to this value. When unset, query length will be the default value. Changing query length will restart the database.
1405+
* Maximum query length stored in bytes. Default value: 1024 bytes. Range: 256-4500 bytes. Query lengths greater than this field value will be truncated to this value. When unset, query length will be the default value. Changing query length will restart the database.
14061406
*/
14071407
queryStringLength?: number | null;
14081408
/**
@@ -2132,15 +2132,15 @@ export namespace sqladmin_v1 {
21322132
*/
21332133
export interface Schema$PscAutoConnectionConfig {
21342134
/**
2135-
* The consumer network of this consumer endpoint. This must be a resource path that includes both the host project and the network name. For example, `projects/project1/global/networks/network1`. The consumer host project of this network might be different from the consumer service project.
2135+
* Optional. The consumer network of this consumer endpoint. This must be a resource path that includes both the host project and the network name. For example, `projects/project1/global/networks/network1`. The consumer host project of this network might be different from the consumer service project.
21362136
*/
21372137
consumerNetwork?: string | null;
21382138
/**
21392139
* The connection policy status of the consumer network.
21402140
*/
21412141
consumerNetworkStatus?: string | null;
21422142
/**
2143-
* This is the project ID of consumer service project of this consumer endpoint. Optional. This is only applicable if consumer_network is a shared vpc network.
2143+
* Optional. This is the project ID of consumer service project of this consumer endpoint. Optional. This is only applicable if consumer_network is a shared vpc network.
21442144
*/
21452145
consumerProject?: string | null;
21462146
/**
@@ -2160,6 +2160,10 @@ export namespace sqladmin_v1 {
21602160
* Optional. The list of consumer projects that are allow-listed for PSC connections to this instance. This instance can be connected to with PSC from any network in these projects. Each consumer project in this list may be represented by a project number (numeric) or by a project id (alphanumeric).
21612161
*/
21622162
allowedConsumerProjects?: string[] | null;
2163+
/**
2164+
* Optional. The network attachment of the consumer network that the Private Service Connect enabled Cloud SQL instance is authorized to connect via PSC interface. format: projects/PROJECT/regions/REGION/networkAttachments/ID
2165+
*/
2166+
networkAttachmentUri?: string | null;
21632167
/**
21642168
* Optional. The list of settings for requested Private Service Connect consumer endpoints that can be used to connect to this Cloud SQL instance.
21652169
*/
@@ -3732,7 +3736,7 @@ export namespace sqladmin_v1 {
37323736
}
37333737

37343738
/**
3735-
* This API updates the following: 1- retention period and description of backup in case of final backups only. 2- gcbdr_soft_delete_status of backup in case of GCBDR managed backups only.
3739+
* Updates the retention period and description of the backup. You can use this API to update final backups only.
37363740
*
37373741
* @param params - Parameters for request
37383742
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -3869,7 +3873,7 @@ export namespace sqladmin_v1 {
38693873
*/
38703874
name?: string;
38713875
/**
3872-
* The list of fields that you can update. 1- You can update only the description and retention period for a final backup. 2- You can update only the gcbdr_soft_delete_status for GCBDR managed backup.
3876+
* The list of fields that you can update. You can update only the description and retention period of the final backup.
38733877
*/
38743878
updateMask?: string;
38753879

src/apis/sqladmin/v1beta4.ts

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ export namespace sqladmin_v1beta4 {
583583
*/
584584
connectionPoolingEnabled?: boolean | null;
585585
/**
586-
* Optional. List of connection pool configuration flags
586+
* Optional. List of connection pool configuration flags.
587587
*/
588588
flags?: Schema$ConnectionPoolFlags[];
589589
}
@@ -1405,7 +1405,7 @@ export namespace sqladmin_v1beta4 {
14051405
*/
14061406
queryPlansPerMinute?: number | null;
14071407
/**
1408-
* Maximum query length stored in bytes. Default value: 1024 bytes. Range: 256-4500 bytes. Query length more than this field value will be truncated to this value. When unset, query length will be the default value. Changing query length will restart the database.
1408+
* Maximum query length stored in bytes. Default value: 1024 bytes. Range: 256-4500 bytes. Query lengths greater than this field value will be truncated to this value. When unset, query length will be the default value. Changing query length will restart the database.
14091409
*/
14101410
queryStringLength?: number | null;
14111411
/**
@@ -2135,15 +2135,15 @@ export namespace sqladmin_v1beta4 {
21352135
*/
21362136
export interface Schema$PscAutoConnectionConfig {
21372137
/**
2138-
* The consumer network of this consumer endpoint. This must be a resource path that includes both the host project and the network name. For example, `projects/project1/global/networks/network1`. The consumer host project of this network might be different from the consumer service project.
2138+
* Optional. The consumer network of this consumer endpoint. This must be a resource path that includes both the host project and the network name. For example, `projects/project1/global/networks/network1`. The consumer host project of this network might be different from the consumer service project.
21392139
*/
21402140
consumerNetwork?: string | null;
21412141
/**
21422142
* The connection policy status of the consumer network.
21432143
*/
21442144
consumerNetworkStatus?: string | null;
21452145
/**
2146-
* This is the project ID of consumer service project of this consumer endpoint. Optional. This is only applicable if consumer_network is a shared vpc network.
2146+
* Optional. This is the project ID of consumer service project of this consumer endpoint. Optional. This is only applicable if consumer_network is a shared vpc network.
21472147
*/
21482148
consumerProject?: string | null;
21492149
/**
@@ -2163,6 +2163,10 @@ export namespace sqladmin_v1beta4 {
21632163
* Optional. The list of consumer projects that are allow-listed for PSC connections to this instance. This instance can be connected to with PSC from any network in these projects. Each consumer project in this list may be represented by a project number (numeric) or by a project id (alphanumeric).
21642164
*/
21652165
allowedConsumerProjects?: string[] | null;
2166+
/**
2167+
* Optional. The network attachment of the consumer network that the Private Service Connect enabled Cloud SQL instance is authorized to connect via PSC interface. format: projects/PROJECT/regions/REGION/networkAttachments/ID
2168+
*/
2169+
networkAttachmentUri?: string | null;
21662170
/**
21672171
* Optional. The list of settings for requested Private Service Connect consumer endpoints that can be used to connect to this Cloud SQL instance.
21682172
*/
@@ -2397,7 +2401,7 @@ export namespace sqladmin_v1beta4 {
23972401
*/
23982402
pricingPlan?: string | null;
23992403
/**
2400-
* Optional. Configuration value for recreation of replica after certain replication lag
2404+
* Optional. Configuration value for recreation of replica after certain replication lag.
24012405
*/
24022406
replicationLagMaxSeconds?: number | null;
24032407
/**
@@ -3737,7 +3741,7 @@ export namespace sqladmin_v1beta4 {
37373741
}
37383742

37393743
/**
3740-
* This API updates the following: 1- retention period and description of backup in case of final backups only. 2- gcbdr_soft_delete_status of backup in case of GCBDR managed backups only.
3744+
* Updates the retention period and the description of the backup. You can use this API to update final backups only.
37413745
*
37423746
* @param params - Parameters for request
37433747
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -3877,7 +3881,7 @@ export namespace sqladmin_v1beta4 {
38773881
*/
38783882
name?: string;
38793883
/**
3880-
* The list of fields that you can update. 1- You can update only the description and retention period for a final backup. 2- You can update only the gcbdr_soft_delete_status for GCBDR managed backup.
3884+
* The list of fields that you can update. You can update only the description and retention period of the final backup.
38813885
*/
38823886
updateMask?: string;
38833887

0 commit comments

Comments
 (0)