google-apis-sqladmin_v1 0.91.0 → 0.92.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 84ffc26abf125ea1da16b7283aba3141f94d65b5b3ffebe7b1b42a515d3c0734
4
- data.tar.gz: 5b37ed9935153e17097301969fa6aaf5038821e98977253157c0c28941ac9648
3
+ metadata.gz: 2a391c71ba3b63ad8621f5a005d7770da698b36c2a527fc43cc292fec474a28a
4
+ data.tar.gz: 7d65eaeca60f93d23ea078d54bf6a0ff4bb64cd0d122b82ba8e1542f9a389366
5
5
  SHA512:
6
- metadata.gz: 4e028a713d07dfade6fa09f0b0db8c931fa93d946dfe6c895e89e694c7a84b5ee894f5745e0360f1a859b5d0e443188cafaf6c2d31ec29a390f7401e1c01f497
7
- data.tar.gz: 98571b80338e0833ccc01641aa5e215a4f3fca3f009bcb25407854c36981bd0c4adfa0d50ea5e45960414e4b8d82a2d5d5ee1d842ec22a77f3c3def531db7fe1
6
+ metadata.gz: 3977d9a41c91bf312007f3fda54c30ac353fd76450919aa93a245b940fe6fda489073547c58b37acffb39d4aeed3c3037c7e4eafe9695ffbaf7f72270e73312b
7
+ data.tar.gz: 17e774fe82c63664aab24cc7f76048ee048854bfefe9502608834ae7a09a09df563a57d4d1ecf94c675fd34b222d5b16fcc6e6042d3730ac10f10226a39550d1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-sqladmin_v1
2
2
 
3
+ ### v0.92.0 (2026-02-01)
4
+
5
+ * Regenerated from discovery document revision 20260119
6
+
3
7
  ### v0.91.0 (2026-01-18)
4
8
 
5
9
  * Regenerated from discovery document revision 20260106
@@ -5729,6 +5729,42 @@ module Google
5729
5729
  end
5730
5730
  end
5731
5731
 
5732
+ # Instance restore backup request for MCP.
5733
+ class SqlInstancesRestoreBackupMcpRequest
5734
+ include Google::Apis::Core::Hashable
5735
+
5736
+ # Required. The identifier of the backup to restore. This will be one of the
5737
+ # following: 1. An int64 containing a backup_run_id. 2. A backup name of the
5738
+ # format 'projects/`project`/backups/`backup-uid`'. 3. A backupDR name of the
5739
+ # format 'projects/`project`/locations/`location`/backupVaults/`backupvault`/
5740
+ # dataSources/`datasource`/backups/`backup-uid`'.
5741
+ # Corresponds to the JSON property `backupId`
5742
+ # @return [String]
5743
+ attr_accessor :backup_id
5744
+
5745
+ # Optional. The Cloud SQL instance ID of the source instance containing the
5746
+ # backup. Only necessary if the backup_id is a backup_run_id.
5747
+ # Corresponds to the JSON property `sourceInstance`
5748
+ # @return [String]
5749
+ attr_accessor :source_instance
5750
+
5751
+ # Required. The project ID of the source instance containing the backup.
5752
+ # Corresponds to the JSON property `sourceProject`
5753
+ # @return [String]
5754
+ attr_accessor :source_project
5755
+
5756
+ def initialize(**args)
5757
+ update!(**args)
5758
+ end
5759
+
5760
+ # Update properties of this object
5761
+ def update!(**args)
5762
+ @backup_id = args[:backup_id] if args.key?(:backup_id)
5763
+ @source_instance = args[:source_instance] if args.key?(:source_instance)
5764
+ @source_project = args[:source_project] if args.key?(:source_project)
5765
+ end
5766
+ end
5767
+
5732
5768
  # Instance start external sync request.
5733
5769
  class SqlInstancesStartExternalSyncRequest
5734
5770
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SqladminV1
18
18
  # Version of the google-apis-sqladmin_v1 gem
19
- GEM_VERSION = "0.91.0"
19
+ GEM_VERSION = "0.92.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260106"
25
+ REVISION = "20260119"
26
26
  end
27
27
  end
28
28
  end
@@ -766,6 +766,12 @@ module Google
766
766
  include Google::Apis::Core::JsonObjectSupport
767
767
  end
768
768
 
769
+ class SqlInstancesRestoreBackupMcpRequest
770
+ class Representation < Google::Apis::Core::JsonRepresentation; end
771
+
772
+ include Google::Apis::Core::JsonObjectSupport
773
+ end
774
+
769
775
  class SqlInstancesStartExternalSyncRequest
770
776
  class Representation < Google::Apis::Core::JsonRepresentation; end
771
777
 
@@ -2378,6 +2384,15 @@ module Google
2378
2384
  end
2379
2385
  end
2380
2386
 
2387
+ class SqlInstancesRestoreBackupMcpRequest
2388
+ # @private
2389
+ class Representation < Google::Apis::Core::JsonRepresentation
2390
+ property :backup_id, as: 'backupId'
2391
+ property :source_instance, as: 'sourceInstance'
2392
+ property :source_project, as: 'sourceProject'
2393
+ end
2394
+ end
2395
+
2381
2396
  class SqlInstancesStartExternalSyncRequest
2382
2397
  # @private
2383
2398
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1806,6 +1806,44 @@ module Google
1806
1806
  execute_or_queue_command(command, &block)
1807
1807
  end
1808
1808
 
1809
+ # Restores a backup of a Cloud SQL instance for Model Context Protocol (MCP)
1810
+ # server.
1811
+ # @param [String] target_project
1812
+ # Required. Project ID of the target project.
1813
+ # @param [String] target_instance
1814
+ # Required. Cloud SQL instance ID of the target. This does not include the
1815
+ # project ID.
1816
+ # @param [Google::Apis::SqladminV1::SqlInstancesRestoreBackupMcpRequest] sql_instances_restore_backup_mcp_request_object
1817
+ # @param [String] fields
1818
+ # Selector specifying which fields to include in a partial response.
1819
+ # @param [String] quota_user
1820
+ # Available to use for quota purposes for server-side applications. Can be any
1821
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1822
+ # @param [Google::Apis::RequestOptions] options
1823
+ # Request-specific options
1824
+ #
1825
+ # @yield [result, err] Result & error if block supplied
1826
+ # @yieldparam result [Google::Apis::SqladminV1::Operation] parsed result object
1827
+ # @yieldparam err [StandardError] error object if request failed
1828
+ #
1829
+ # @return [Google::Apis::SqladminV1::Operation]
1830
+ #
1831
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1832
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1833
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1834
+ def restore_instance_backup_mcp(target_project, target_instance, sql_instances_restore_backup_mcp_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1835
+ command = make_simple_command(:post, 'v1/projects/{targetProject}/instances/{targetInstance}:restoreBackupMcp', options)
1836
+ command.request_representation = Google::Apis::SqladminV1::SqlInstancesRestoreBackupMcpRequest::Representation
1837
+ command.request_object = sql_instances_restore_backup_mcp_request_object
1838
+ command.response_representation = Google::Apis::SqladminV1::Operation::Representation
1839
+ command.response_class = Google::Apis::SqladminV1::Operation
1840
+ command.params['targetProject'] = target_project unless target_project.nil?
1841
+ command.params['targetInstance'] = target_instance unless target_instance.nil?
1842
+ command.query['fields'] = fields unless fields.nil?
1843
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1844
+ execute_or_queue_command(command, &block)
1845
+ end
1846
+
1809
1847
  # Rotates the server certificate to one signed by the Certificate Authority (CA)
1810
1848
  # version previously added with the addServerCA method. For instances that have
1811
1849
  # enabled Certificate Authority Service (CAS) based server CA, use
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-sqladmin_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.91.0
4
+ version: 0.92.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.91.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.92.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1
62
62
  rdoc_options: []
63
63
  require_paths: