Skip to content

Commit 2d505be

Browse files
feat(sqladmin)!: update the API
BREAKING CHANGE: This release has breaking changes. #### sqladmin:v1beta4 The following keys were deleted: - resources.instances.methods.addEntraIdCertificate.request.$ref - schemas.SqlInstancesAddEntraIdCertificateRequest.description - schemas.SqlInstancesAddEntraIdCertificateRequest.id - schemas.SqlInstancesAddEntraIdCertificateRequest.type The following keys were added: - schemas.PerformanceCaptureConfig.description - schemas.PerformanceCaptureConfig.id - schemas.PerformanceCaptureConfig.properties.enabled.description - schemas.PerformanceCaptureConfig.properties.enabled.type - schemas.PerformanceCaptureConfig.properties.probeThreshold.description - schemas.PerformanceCaptureConfig.properties.probeThreshold.format - schemas.PerformanceCaptureConfig.properties.probeThreshold.type - schemas.PerformanceCaptureConfig.properties.probingIntervalSeconds.description - schemas.PerformanceCaptureConfig.properties.probingIntervalSeconds.format - schemas.PerformanceCaptureConfig.properties.probingIntervalSeconds.type - schemas.PerformanceCaptureConfig.properties.runningThreadsThreshold.description - schemas.PerformanceCaptureConfig.properties.runningThreadsThreshold.format - schemas.PerformanceCaptureConfig.properties.runningThreadsThreshold.type - schemas.PerformanceCaptureConfig.properties.secondsBehindSourceThreshold.description - schemas.PerformanceCaptureConfig.properties.secondsBehindSourceThreshold.format - schemas.PerformanceCaptureConfig.properties.secondsBehindSourceThreshold.type - schemas.PerformanceCaptureConfig.properties.transactionDurationThreshold.description - schemas.PerformanceCaptureConfig.properties.transactionDurationThreshold.format - schemas.PerformanceCaptureConfig.properties.transactionDurationThreshold.type - schemas.PerformanceCaptureConfig.type - schemas.PoolNodeConfig.properties.pscAutoConnections.description - schemas.PoolNodeConfig.properties.pscAutoConnections.items.$ref - schemas.PoolNodeConfig.properties.pscAutoConnections.readOnly - schemas.PoolNodeConfig.properties.pscAutoConnections.type - schemas.PoolNodeConfig.properties.pscServiceAttachmentLink.description - schemas.PoolNodeConfig.properties.pscServiceAttachmentLink.readOnly - schemas.PoolNodeConfig.properties.pscServiceAttachmentLink.type - schemas.Settings.properties.performanceCaptureConfig.$ref - schemas.Settings.properties.performanceCaptureConfig.description The following keys were changed: - schemas.PasswordValidationPolicy.description - schemas.PasswordValidationPolicy.properties.enablePasswordPolicy.description #### sqladmin:v1 The following keys were added: - resources.instances.methods.addEntraIdCertificate.description - resources.instances.methods.addEntraIdCertificate.flatPath - resources.instances.methods.addEntraIdCertificate.httpMethod - resources.instances.methods.addEntraIdCertificate.id - resources.instances.methods.addEntraIdCertificate.parameterOrder - resources.instances.methods.addEntraIdCertificate.parameters.instance.description - resources.instances.methods.addEntraIdCertificate.parameters.instance.location - resources.instances.methods.addEntraIdCertificate.parameters.instance.required - resources.instances.methods.addEntraIdCertificate.parameters.instance.type - resources.instances.methods.addEntraIdCertificate.parameters.project.description - resources.instances.methods.addEntraIdCertificate.parameters.project.location - resources.instances.methods.addEntraIdCertificate.parameters.project.required - resources.instances.methods.addEntraIdCertificate.parameters.project.type - resources.instances.methods.addEntraIdCertificate.path - resources.instances.methods.addEntraIdCertificate.response.$ref - resources.instances.methods.addEntraIdCertificate.scopes - schemas.PerformanceCaptureConfig.description - schemas.PerformanceCaptureConfig.id - schemas.PerformanceCaptureConfig.properties.enabled.description - schemas.PerformanceCaptureConfig.properties.enabled.type - schemas.PerformanceCaptureConfig.properties.probeThreshold.description - schemas.PerformanceCaptureConfig.properties.probeThreshold.format - schemas.PerformanceCaptureConfig.properties.probeThreshold.type - schemas.PerformanceCaptureConfig.properties.probingIntervalSeconds.description - schemas.PerformanceCaptureConfig.properties.probingIntervalSeconds.format - schemas.PerformanceCaptureConfig.properties.probingIntervalSeconds.type - schemas.PerformanceCaptureConfig.properties.runningThreadsThreshold.description - schemas.PerformanceCaptureConfig.properties.runningThreadsThreshold.format - schemas.PerformanceCaptureConfig.properties.runningThreadsThreshold.type - schemas.PerformanceCaptureConfig.properties.secondsBehindSourceThreshold.description - schemas.PerformanceCaptureConfig.properties.secondsBehindSourceThreshold.format - schemas.PerformanceCaptureConfig.properties.secondsBehindSourceThreshold.type - schemas.PerformanceCaptureConfig.properties.transactionDurationThreshold.description - schemas.PerformanceCaptureConfig.properties.transactionDurationThreshold.format - schemas.PerformanceCaptureConfig.properties.transactionDurationThreshold.type - schemas.PerformanceCaptureConfig.type - schemas.PoolNodeConfig.properties.pscAutoConnections.description - schemas.PoolNodeConfig.properties.pscAutoConnections.items.$ref - schemas.PoolNodeConfig.properties.pscAutoConnections.readOnly - schemas.PoolNodeConfig.properties.pscAutoConnections.type - schemas.PoolNodeConfig.properties.pscServiceAttachmentLink.description - schemas.PoolNodeConfig.properties.pscServiceAttachmentLink.readOnly - schemas.PoolNodeConfig.properties.pscServiceAttachmentLink.type - schemas.Settings.properties.performanceCaptureConfig.$ref - schemas.Settings.properties.performanceCaptureConfig.description The following keys were changed: - schemas.PasswordValidationPolicy.description - schemas.PasswordValidationPolicy.properties.enablePasswordPolicy.description
1 parent a7ec8ab commit 2d505be

File tree

4 files changed

+403
-34
lines changed

4 files changed

+403
-34
lines changed

discovery/sqladmin-v1.json

Lines changed: 88 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -954,6 +954,38 @@
954954
"https://www.googleapis.com/auth/sqlservice.admin"
955955
]
956956
},
957+
"addEntraIdCertificate": {
958+
"description": "Adds a new Entra ID certificate for the specified instance. If an Entra ID certificate was previously added but never used in a certificate rotation, this operation replaces that version.",
959+
"flatPath": "v1/projects/{project}/instances/{instance}/addEntraIdCertificate",
960+
"httpMethod": "POST",
961+
"id": "sql.instances.addEntraIdCertificate",
962+
"parameterOrder": [
963+
"project",
964+
"instance"
965+
],
966+
"parameters": {
967+
"instance": {
968+
"description": "Required. Cloud SQL instance ID. This does not include the project ID.",
969+
"location": "path",
970+
"required": true,
971+
"type": "string"
972+
},
973+
"project": {
974+
"description": "Required. Project ID of the project that contains the instance.",
975+
"location": "path",
976+
"required": true,
977+
"type": "string"
978+
}
979+
},
980+
"path": "v1/projects/{project}/instances/{instance}/addEntraIdCertificate",
981+
"response": {
982+
"$ref": "Operation"
983+
},
984+
"scopes": [
985+
"https://www.googleapis.com/auth/cloud-platform",
986+
"https://www.googleapis.com/auth/sqlservice.admin"
987+
]
988+
},
957989
"addServerCa": {
958990
"description": "Adds a new trusted Certificate Authority (CA) version for the specified instance. Required to prepare for a certificate rotation. If a CA version was previously added but never used in a certificate rotation, this operation replaces that version. There cannot be more than one CA version waiting to be rotated in. For instances that have enabled Certificate Authority Service (CAS) based server CA, use AddServerCertificate to add a new server certificate.",
959991
"flatPath": "v1/projects/{project}/instances/{instance}/addServerCa",
@@ -2758,7 +2790,7 @@
27582790
}
27592791
}
27602792
},
2761-
"revision": "20251107",
2793+
"revision": "20251201",
27622794
"rootUrl": "https://sqladmin.googleapis.com/",
27632795
"schemas": {
27642796
"AclEntry": {
@@ -6786,7 +6818,7 @@
67866818
"type": "object"
67876819
},
67886820
"PasswordValidationPolicy": {
6789-
"description": "Database instance local user password validation policy",
6821+
"description": "Database instance local user password validation policy. This message defines the password policy for local database users. When enabled, it enforces constraints on password complexity, length, and reuse. Keep this policy enabled to help prevent unauthorized access.",
67906822
"id": "PasswordValidationPolicy",
67916823
"properties": {
67926824
"complexity": {
@@ -6811,7 +6843,7 @@
68116843
"type": "boolean"
68126844
},
68136845
"enablePasswordPolicy": {
6814-
"description": "Whether the password policy is enabled or not.",
6846+
"description": "Whether to enable the password policy or not. When enabled, passwords must meet complexity requirements. Keep this policy enabled to help prevent unauthorized access. Disabling this policy allows weak passwords.",
68156847
"type": "boolean"
68166848
},
68176849
"minLength": {
@@ -6844,6 +6876,42 @@
68446876
},
68456877
"type": "object"
68466878
},
6879+
"PerformanceCaptureConfig": {
6880+
"description": "Performance Capture configuration.",
6881+
"id": "PerformanceCaptureConfig",
6882+
"properties": {
6883+
"enabled": {
6884+
"description": "Optional. Enable or disable the Performance Capture feature.",
6885+
"type": "boolean"
6886+
},
6887+
"probeThreshold": {
6888+
"description": "Optional. The minimum number of consecutive readings above threshold that triggers instance state capture.",
6889+
"format": "int32",
6890+
"type": "integer"
6891+
},
6892+
"probingIntervalSeconds": {
6893+
"description": "Optional. The time interval in seconds between any two probes.",
6894+
"format": "int32",
6895+
"type": "integer"
6896+
},
6897+
"runningThreadsThreshold": {
6898+
"description": "Optional. The minimum number of server threads running to trigger the capture on primary.",
6899+
"format": "int32",
6900+
"type": "integer"
6901+
},
6902+
"secondsBehindSourceThreshold": {
6903+
"description": "Optional. The minimum number of seconds replica must be lagging behind primary to trigger capture on replica.",
6904+
"format": "int32",
6905+
"type": "integer"
6906+
},
6907+
"transactionDurationThreshold": {
6908+
"description": "Optional. The amount of time in seconds that a transaction needs to have been open before the watcher starts recording it.",
6909+
"format": "int32",
6910+
"type": "integer"
6911+
}
6912+
},
6913+
"type": "object"
6914+
},
68476915
"PointInTimeRestoreContext": {
68486916
"description": "The context to perform a point-in-time recovery of an instance managed by Backup and Disaster Recovery (DR) Service.",
68496917
"id": "PointInTimeRestoreContext",
@@ -6915,6 +6983,19 @@
69156983
"readOnly": true,
69166984
"type": "string"
69176985
},
6986+
"pscAutoConnections": {
6987+
"description": "Output only. The list of settings for requested automatically-setup Private Service Connect (PSC) consumer endpoints that can be used to connect to this read pool node.",
6988+
"items": {
6989+
"$ref": "PscAutoConnectionConfig"
6990+
},
6991+
"readOnly": true,
6992+
"type": "array"
6993+
},
6994+
"pscServiceAttachmentLink": {
6995+
"description": "Output only. The Private Service Connect (PSC) service attachment of the read pool node.",
6996+
"readOnly": true,
6997+
"type": "string"
6998+
},
69186999
"state": {
69197000
"description": "Output only. The current state of the read pool node.",
69207001
"enum": [
@@ -7690,6 +7771,10 @@
76907771
"$ref": "PasswordValidationPolicy",
76917772
"description": "The local user password validation policy of the instance."
76927773
},
7774+
"performanceCaptureConfig": {
7775+
"$ref": "PerformanceCaptureConfig",
7776+
"description": "Optional. Configuration for Performance Capture, provides diagnostic metrics during high load situations."
7777+
},
76937778
"pricingPlan": {
76947779
"description": "The pricing plan for this instance. This can be either `PER_USE` or `PACKAGE`. Only `PER_USE` is supported for Second Generation instances.",
76957780
"enum": [

discovery/sqladmin-v1beta4.json

Lines changed: 56 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -978,9 +978,6 @@
978978
}
979979
},
980980
"path": "sql/v1beta4/projects/{project}/instances/{instance}/addEntraIdCertificate",
981-
"request": {
982-
"$ref": "SqlInstancesAddEntraIdCertificateRequest"
983-
},
984981
"response": {
985982
"$ref": "Operation"
986983
},
@@ -2798,7 +2795,7 @@
27982795
}
27992796
}
28002797
},
2801-
"revision": "20251107",
2798+
"revision": "20251201",
28022799
"rootUrl": "https://sqladmin.googleapis.com/",
28032800
"schemas": {
28042801
"AclEntry": {
@@ -6827,7 +6824,7 @@
68276824
"type": "object"
68286825
},
68296826
"PasswordValidationPolicy": {
6830-
"description": "Database instance local user password validation policy",
6827+
"description": "Database instance local user password validation policy. This message defines the password policy for local database users. When enabled, it enforces constraints on password complexity, length, and reuse. Keep this policy enabled to help prevent unauthorized access.",
68316828
"id": "PasswordValidationPolicy",
68326829
"properties": {
68336830
"complexity": {
@@ -6852,7 +6849,7 @@
68526849
"type": "boolean"
68536850
},
68546851
"enablePasswordPolicy": {
6855-
"description": "Whether the password policy is enabled or not.",
6852+
"description": "Whether to enable the password policy or not. When enabled, passwords must meet complexity requirements. Keep this policy enabled to help prevent unauthorized access. Disabling this policy allows weak passwords.",
68566853
"type": "boolean"
68576854
},
68586855
"minLength": {
@@ -6885,6 +6882,42 @@
68856882
},
68866883
"type": "object"
68876884
},
6885+
"PerformanceCaptureConfig": {
6886+
"description": "Performance Capture configuration.",
6887+
"id": "PerformanceCaptureConfig",
6888+
"properties": {
6889+
"enabled": {
6890+
"description": "Optional. Enable or disable the Performance Capture.",
6891+
"type": "boolean"
6892+
},
6893+
"probeThreshold": {
6894+
"description": "Optional. The minimum number of consecutive readings above threshold that triggers instance state capture.",
6895+
"format": "int32",
6896+
"type": "integer"
6897+
},
6898+
"probingIntervalSeconds": {
6899+
"description": "Optional. The time interval in seconds between any two probes.",
6900+
"format": "int32",
6901+
"type": "integer"
6902+
},
6903+
"runningThreadsThreshold": {
6904+
"description": "Optional. The minimum number of server threads running to trigger the capture on primary.",
6905+
"format": "int32",
6906+
"type": "integer"
6907+
},
6908+
"secondsBehindSourceThreshold": {
6909+
"description": "Optional. The minimum number of seconds replica must be lagging behind primary to trigger capture on replica.",
6910+
"format": "int32",
6911+
"type": "integer"
6912+
},
6913+
"transactionDurationThreshold": {
6914+
"description": "Optional. The amount of time in seconds that a transaction needs to have been open before the watcher starts recording it.",
6915+
"format": "int32",
6916+
"type": "integer"
6917+
}
6918+
},
6919+
"type": "object"
6920+
},
68886921
"PointInTimeRestoreContext": {
68896922
"description": "Context to perform a point-in-time restore of an instance managed by Backup and Disaster Recovery (DR) Service.",
68906923
"id": "PointInTimeRestoreContext",
@@ -6956,6 +6989,19 @@
69566989
"readOnly": true,
69576990
"type": "string"
69586991
},
6992+
"pscAutoConnections": {
6993+
"description": "Output only. The list of settings for requested automatically-setup Private Service Connect (PSC) consumer endpoints that can be used to connect to this read pool node.",
6994+
"items": {
6995+
"$ref": "PscAutoConnectionConfig"
6996+
},
6997+
"readOnly": true,
6998+
"type": "array"
6999+
},
7000+
"pscServiceAttachmentLink": {
7001+
"description": "Output only. The Private Service Connect (PSC) service attachment of the read pool node.",
7002+
"readOnly": true,
7003+
"type": "string"
7004+
},
69597005
"state": {
69607006
"description": "Output only. The current state of the read pool node.",
69617007
"enum": [
@@ -7731,6 +7777,10 @@
77317777
"$ref": "PasswordValidationPolicy",
77327778
"description": "The local user password validation policy of the instance."
77337779
},
7780+
"performanceCaptureConfig": {
7781+
"$ref": "PerformanceCaptureConfig",
7782+
"description": "Optional. Configuration for Performance Capture, provides diagnostic metrics during high load situations."
7783+
},
77347784
"pricingPlan": {
77357785
"description": "The pricing plan for this instance. This can be either `PER_USE` or `PACKAGE`. Only `PER_USE` is supported for Second Generation instances.",
77367786
"enum": [
@@ -8013,12 +8063,6 @@
80138063
},
80148064
"type": "object"
80158065
},
8016-
"SqlInstancesAddEntraIdCertificateRequest": {
8017-
"description": "Request for AddEntraIdCertificate RPC.",
8018-
"id": "SqlInstancesAddEntraIdCertificateRequest",
8019-
"properties": {},
8020-
"type": "object"
8021-
},
80228066
"SqlInstancesExecuteSqlResponse": {
80238067
"description": "Execute SQL statements response.",
80248068
"id": "SqlInstancesExecuteSqlResponse",

0 commit comments

Comments
 (0)