google-apis-sqladmin_v1 0.75.0 → 0.77.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: '0679c6ac0400b5d951ea8099d697db6d54557dd7df5579cb31d2b83ef81cf7ea'
4
- data.tar.gz: 230af41f3d2f85a04c3e3f5886e7cfba9dd43a007a0c0ddf6b2137f136355814
3
+ metadata.gz: ff2741e11ad39c9bcfa6bbd3c94ed5598fddb62bc62ebe76327f20c3cfe20904
4
+ data.tar.gz: c57e16fbe2db21a5aeb5d8e0617ad8b2e3a9a4720710ac6cf4725b808845feb0
5
5
  SHA512:
6
- metadata.gz: a59ffd98266fe94c42cd7d854d2ce272f5579d455ad7a61abd09c272d5a962eee31d019908082a1cbadd51cb7fe7d392e898104f8150e1bb0d19757e6801c76e
7
- data.tar.gz: 4d379fcf41a93846ab6562ddfc2ed547ae0783225e7a5ba6c60ff5a1fd86929e5be5389ccf829bb18d36e9ea04abb657bcd572da9bf201ead814846680f96b7b
6
+ metadata.gz: 5eb26da0b5d5d593a21735b899e7798f4b8d929a9971130210b5ac3e10e29f1b7ccbb390503a289cf0c1b9d30a8ccad821ef5e4e869b4ac4eaff73a73f8c9717
7
+ data.tar.gz: 4c8880b196454bc15bf8f0406d6101f4ce66a5aa2cdd559f585866d647cce5924ad710a9dd7a59de12cf777775ab0d89b3972ff59eda1940b63f508dde625575
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-sqladmin_v1
2
2
 
3
+ ### v0.77.0 (2025-05-04)
4
+
5
+ * Regenerated from discovery document revision 20250427
6
+ * Regenerated using generator version 0.17.0
7
+
8
+ ### v0.76.0 (2025-04-27)
9
+
10
+ * Regenerated from discovery document revision 20250412
11
+
3
12
  ### v0.75.0 (2025-03-16)
4
13
 
5
14
  * Regenerated from discovery document revision 20250310
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://developers.google.com/cloud-sql/) may provid
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.7+.
86
+ This library is supported on Ruby 3.1+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -181,7 +181,7 @@ module Google
181
181
  end
182
182
  end
183
183
 
184
- # A backup resource.
184
+ # A backup resource. Next ID: 30
185
185
  class Backup
186
186
  include Google::Apis::Core::Hashable
187
187
 
@@ -203,7 +203,8 @@ module Google
203
203
  # @return [String]
204
204
  attr_accessor :backup_run
205
205
 
206
- # Output only. The database version of the instance of when this backup was made.
206
+ # Output only. The database version of the instance of at the time this backup
207
+ # was made.
207
208
  # Corresponds to the JSON property `databaseVersion`
208
209
  # @return [String]
209
210
  attr_accessor :database_version
@@ -358,6 +359,11 @@ module Google
358
359
  # @return [Google::Apis::SqladminV1::BackupRetentionSettings]
359
360
  attr_accessor :backup_retention_settings
360
361
 
362
+ # Output only. Backup tier that manages the backups for the instance.
363
+ # Corresponds to the JSON property `backupTier`
364
+ # @return [String]
365
+ attr_accessor :backup_tier
366
+
361
367
  # (MySQL only) Whether binary log is enabled. If backup configuration is
362
368
  # disabled, binarylog must be disabled as well.
363
369
  # Corresponds to the JSON property `binaryLogEnabled`
@@ -418,6 +424,7 @@ module Google
418
424
  # Update properties of this object
419
425
  def update!(**args)
420
426
  @backup_retention_settings = args[:backup_retention_settings] if args.key?(:backup_retention_settings)
427
+ @backup_tier = args[:backup_tier] if args.key?(:backup_tier)
421
428
  @binary_log_enabled = args[:binary_log_enabled] if args.key?(:binary_log_enabled)
422
429
  @enabled = args[:enabled] if args.key?(:enabled)
423
430
  @kind = args[:kind] if args.key?(:kind)
@@ -523,7 +530,7 @@ module Google
523
530
  # @return [String]
524
531
  attr_accessor :backup_kind
525
532
 
526
- # Output only. The instance database version when this backup was made.
533
+ # Output only. The instance database version at the time this backup was made.
527
534
  # Corresponds to the JSON property `databaseVersion`
528
535
  # @return [String]
529
536
  attr_accessor :database_version
@@ -793,27 +800,27 @@ module Google
793
800
  end
794
801
  end
795
802
 
796
- # Details of a single node of a read pool.
803
+ # Details of a single read pool node of a read pool.
797
804
  class ConnectPoolNodeConfig
798
805
  include Google::Apis::Core::Hashable
799
806
 
800
- # Output only. The DNS name of the node.
807
+ # Output only. The DNS name of the read pool node.
801
808
  # Corresponds to the JSON property `dnsName`
802
809
  # @return [String]
803
810
  attr_accessor :dns_name
804
811
 
805
- # Output only. The list of DNS names used by this node.
812
+ # Output only. The list of DNS names used by this read pool node.
806
813
  # Corresponds to the JSON property `dnsNames`
807
814
  # @return [Array<Google::Apis::SqladminV1::DnsNameMapping>]
808
815
  attr_accessor :dns_names
809
816
 
810
817
  # Output only. Mappings containing IP addresses that can be used to connect to
811
- # the node.
818
+ # the read pool node.
812
819
  # Corresponds to the JSON property `ipAddresses`
813
820
  # @return [Array<Google::Apis::SqladminV1::IpMapping>]
814
821
  attr_accessor :ip_addresses
815
822
 
816
- # Output only. The name of the node. Doesn't include the project ID.
823
+ # Output only. The name of the read pool node. Doesn't include the project ID.
817
824
  # Corresponds to the JSON property `name`
818
825
  # @return [String]
819
826
  attr_accessor :name
@@ -879,12 +886,13 @@ module Google
879
886
  # @return [String]
880
887
  attr_accessor :kind
881
888
 
882
- # The number of nodes in a read pool.
889
+ # The number of read pool nodes in a read pool.
883
890
  # Corresponds to the JSON property `nodeCount`
884
891
  # @return [Fixnum]
885
892
  attr_accessor :node_count
886
893
 
887
- # Output only. Entries containing information about each node of the read pool.
894
+ # Output only. Entries containing information about each read pool node of the
895
+ # read pool.
888
896
  # Corresponds to the JSON property `nodes`
889
897
  # @return [Array<Google::Apis::SqladminV1::ConnectPoolNodeConfig>]
890
898
  attr_accessor :nodes
@@ -937,16 +945,6 @@ module Google
937
945
  class ConnectionPoolConfig
938
946
  include Google::Apis::Core::Hashable
939
947
 
940
- # Client idle timeout.
941
- # Corresponds to the JSON property `clientConnectionIdleTimeout`
942
- # @return [String]
943
- attr_accessor :client_connection_idle_timeout
944
-
945
- # Managed connection pool size.
946
- # Corresponds to the JSON property `connPoolSize`
947
- # @return [Fixnum]
948
- attr_accessor :conn_pool_size
949
-
950
948
  # Whether managed connection pooling is enabled.
951
949
  # Corresponds to the JSON property `connectionPoolingEnabled`
952
950
  # @return [Boolean]
@@ -958,40 +956,14 @@ module Google
958
956
  # @return [Array<Google::Apis::SqladminV1::ConnectionPoolFlags>]
959
957
  attr_accessor :flags
960
958
 
961
- # Maximum number of client connections in connection pool.
962
- # Corresponds to the JSON property `maxClientConnections`
963
- # @return [Fixnum]
964
- attr_accessor :max_client_connections
965
-
966
- # The managed connection pool mode for the instance.
967
- # Corresponds to the JSON property `poolMode`
968
- # @return [String]
969
- attr_accessor :pool_mode
970
-
971
- # Query wait timeout.
972
- # Corresponds to the JSON property `queryWaitTimeout`
973
- # @return [String]
974
- attr_accessor :query_wait_timeout
975
-
976
- # Server idle timeout.
977
- # Corresponds to the JSON property `serverConnectionIdleTimeout`
978
- # @return [String]
979
- attr_accessor :server_connection_idle_timeout
980
-
981
959
  def initialize(**args)
982
960
  update!(**args)
983
961
  end
984
962
 
985
963
  # Update properties of this object
986
964
  def update!(**args)
987
- @client_connection_idle_timeout = args[:client_connection_idle_timeout] if args.key?(:client_connection_idle_timeout)
988
- @conn_pool_size = args[:conn_pool_size] if args.key?(:conn_pool_size)
989
965
  @connection_pooling_enabled = args[:connection_pooling_enabled] if args.key?(:connection_pooling_enabled)
990
966
  @flags = args[:flags] if args.key?(:flags)
991
- @max_client_connections = args[:max_client_connections] if args.key?(:max_client_connections)
992
- @pool_mode = args[:pool_mode] if args.key?(:pool_mode)
993
- @query_wait_timeout = args[:query_wait_timeout] if args.key?(:query_wait_timeout)
994
- @server_connection_idle_timeout = args[:server_connection_idle_timeout] if args.key?(:server_connection_idle_timeout)
995
967
  end
996
968
  end
997
969
 
@@ -1281,12 +1253,13 @@ module Google
1281
1253
  # @return [String]
1282
1254
  attr_accessor :name
1283
1255
 
1284
- # The number of nodes in a read pool.
1256
+ # The number of read pool nodes in a read pool.
1285
1257
  # Corresponds to the JSON property `nodeCount`
1286
1258
  # @return [Fixnum]
1287
1259
  attr_accessor :node_count
1288
1260
 
1289
- # Output only. Entries containing information about each node of the read pool.
1261
+ # Output only. Entries containing information about each read pool node of the
1262
+ # read pool.
1290
1263
  # Corresponds to the JSON property `nodes`
1291
1264
  # @return [Array<Google::Apis::SqladminV1::PoolNodeConfig>]
1292
1265
  attr_accessor :nodes
@@ -1884,7 +1857,7 @@ module Google
1884
1857
  # @return [String]
1885
1858
  attr_accessor :kind
1886
1859
 
1887
- # Option for export offload.
1860
+ # Whether to perform a serverless export.
1888
1861
  # Corresponds to the JSON property `offload`
1889
1862
  # @return [Boolean]
1890
1863
  attr_accessor :offload
@@ -2118,8 +2091,8 @@ module Google
2118
2091
  class PostgresExportOptions
2119
2092
  include Google::Apis::Core::Hashable
2120
2093
 
2121
- # Optional. Use this option to include DROP SQL statements. These statements are
2122
- # used to delete database objects before running the import operation.
2094
+ # Optional. Use this option to include DROP <object> SQL statements. Use these
2095
+ # statements to delete database objects before running the import operation.
2123
2096
  # Corresponds to the JSON property `clean`
2124
2097
  # @return [Boolean]
2125
2098
  attr_accessor :clean
@@ -3168,6 +3141,14 @@ module Google
3168
3141
  # @return [String]
3169
3142
  attr_accessor :backup
3170
3143
 
3144
+ # The name of the backup that's used to restore a Cloud SQL instance: Format: "
3145
+ # projects/`project-id`/locations/`location`/backupVaults/`backupvault`/
3146
+ # dataSources/`datasource`/backups/`backup-uid`". Only one of
3147
+ # restore_backup_context, backup, backupdr_backup can be passed to the input.
3148
+ # Corresponds to the JSON property `backupdrBackup`
3149
+ # @return [String]
3150
+ attr_accessor :backupdr_backup
3151
+
3171
3152
  # Database instance restore from backup context. Backup context contains source
3172
3153
  # instance id and project id.
3173
3154
  # Corresponds to the JSON property `restoreBackupContext`
@@ -3186,6 +3167,7 @@ module Google
3186
3167
  # Update properties of this object
3187
3168
  def update!(**args)
3188
3169
  @backup = args[:backup] if args.key?(:backup)
3170
+ @backupdr_backup = args[:backupdr_backup] if args.key?(:backupdr_backup)
3189
3171
  @restore_backup_context = args[:restore_backup_context] if args.key?(:restore_backup_context)
3190
3172
  @restore_instance_settings = args[:restore_instance_settings] if args.key?(:restore_instance_settings)
3191
3173
  end
@@ -4117,38 +4099,107 @@ module Google
4117
4099
  end
4118
4100
  end
4119
4101
 
4120
- # Details of a single node of a read pool.
4102
+ # The context to perform a point-in-time recovery of an instance managed by
4103
+ # Google Cloud Backup and Disaster Recovery.
4104
+ class PointInTimeRestoreContext
4105
+ include Google::Apis::Core::Hashable
4106
+
4107
+ # Optional. The name of the allocated IP range for the internal IP Cloud SQL
4108
+ # instance. For example: "google-managed-services-default". If you set this,
4109
+ # then Cloud SQL creates the IP address for the cloned instance in the allocated
4110
+ # range. This range must comply with [RFC 1035](https://tools.ietf.org/html/
4111
+ # rfc1035) standards. Specifically, the name must be 1-63 characters long and
4112
+ # match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. Reserved for future
4113
+ # use. http://go/speckle-subnet-picker-clone
4114
+ # Corresponds to the JSON property `allocatedIpRange`
4115
+ # @return [String]
4116
+ attr_accessor :allocated_ip_range
4117
+
4118
+ # The Google Cloud Backup and Disaster Recovery Datasource URI. Format: projects/
4119
+ # `project`/locations/`region`/backupVaults/`backupvault`/dataSources/`
4120
+ # datasource`.
4121
+ # Corresponds to the JSON property `datasource`
4122
+ # @return [String]
4123
+ attr_accessor :datasource
4124
+
4125
+ # Required. The date and time to which you want to restore the instance.
4126
+ # Corresponds to the JSON property `pointInTime`
4127
+ # @return [String]
4128
+ attr_accessor :point_in_time
4129
+
4130
+ # Optional. Point-in-time recovery of a regional instance in the specified zones.
4131
+ # If not specified, clone to the same secondary zone as the source instance.
4132
+ # This value cannot be the same as the preferred_zone field.
4133
+ # Corresponds to the JSON property `preferredSecondaryZone`
4134
+ # @return [String]
4135
+ attr_accessor :preferred_secondary_zone
4136
+
4137
+ # Optional. Point-in-time recovery of an instance to the specified zone. If no
4138
+ # zone is specified, then clone to the same primary zone as the source instance.
4139
+ # Corresponds to the JSON property `preferredZone`
4140
+ # @return [String]
4141
+ attr_accessor :preferred_zone
4142
+
4143
+ # Optional. The resource link for the VPC network from which the Cloud SQL
4144
+ # instance is accessible for private IP. For example, `/projects/myProject/
4145
+ # global/networks/default`.
4146
+ # Corresponds to the JSON property `privateNetwork`
4147
+ # @return [String]
4148
+ attr_accessor :private_network
4149
+
4150
+ # Target instance name.
4151
+ # Corresponds to the JSON property `targetInstance`
4152
+ # @return [String]
4153
+ attr_accessor :target_instance
4154
+
4155
+ def initialize(**args)
4156
+ update!(**args)
4157
+ end
4158
+
4159
+ # Update properties of this object
4160
+ def update!(**args)
4161
+ @allocated_ip_range = args[:allocated_ip_range] if args.key?(:allocated_ip_range)
4162
+ @datasource = args[:datasource] if args.key?(:datasource)
4163
+ @point_in_time = args[:point_in_time] if args.key?(:point_in_time)
4164
+ @preferred_secondary_zone = args[:preferred_secondary_zone] if args.key?(:preferred_secondary_zone)
4165
+ @preferred_zone = args[:preferred_zone] if args.key?(:preferred_zone)
4166
+ @private_network = args[:private_network] if args.key?(:private_network)
4167
+ @target_instance = args[:target_instance] if args.key?(:target_instance)
4168
+ end
4169
+ end
4170
+
4171
+ # Details of a single read pool node of a read pool.
4121
4172
  class PoolNodeConfig
4122
4173
  include Google::Apis::Core::Hashable
4123
4174
 
4124
- # Output only. The DNS name of the node.
4175
+ # Output only. The DNS name of the read pool node.
4125
4176
  # Corresponds to the JSON property `dnsName`
4126
4177
  # @return [String]
4127
4178
  attr_accessor :dns_name
4128
4179
 
4129
- # Output only. The list of DNS names used by this node.
4180
+ # Output only. The list of DNS names used by this read pool node.
4130
4181
  # Corresponds to the JSON property `dnsNames`
4131
4182
  # @return [Array<Google::Apis::SqladminV1::DnsNameMapping>]
4132
4183
  attr_accessor :dns_names
4133
4184
 
4134
- # Output only. The serving zone of the node.
4185
+ # Output only. The zone of the read pool node.
4135
4186
  # Corresponds to the JSON property `gceZone`
4136
4187
  # @return [String]
4137
4188
  attr_accessor :gce_zone
4138
4189
 
4139
4190
  # Output only. Mappings containing IP addresses that can be used to connect to
4140
- # the node.
4191
+ # the read pool node.
4141
4192
  # Corresponds to the JSON property `ipAddresses`
4142
4193
  # @return [Array<Google::Apis::SqladminV1::IpMapping>]
4143
4194
  attr_accessor :ip_addresses
4144
4195
 
4145
- # Output only. The name of the node, to be used for retrieving metrics and logs
4146
- # for the node.
4196
+ # Output only. The name of the read pool node, to be used for retrieving metrics
4197
+ # and logs.
4147
4198
  # Corresponds to the JSON property `name`
4148
4199
  # @return [String]
4149
4200
  attr_accessor :name
4150
4201
 
4151
- # Output only. The current state of the node.
4202
+ # Output only. The current state of the read pool node.
4152
4203
  # Corresponds to the JSON property `state`
4153
4204
  # @return [String]
4154
4205
  attr_accessor :state
@@ -4619,8 +4670,8 @@ module Google
4619
4670
 
4620
4671
  # Optional. When this parameter is set to true, Cloud SQL instances can connect
4621
4672
  # to Vertex AI to pass requests for real-time predictions and insights to the AI.
4622
- # The default value is false. This applies only to Cloud SQL for PostgreSQL
4623
- # instances.
4673
+ # The default value is false. This applies only to Cloud SQL for MySQL and
4674
+ # Cloud SQL for PostgreSQL instances.
4624
4675
  # Corresponds to the JSON property `enableGoogleMlIntegration`
4625
4676
  # @return [Boolean]
4626
4677
  attr_accessor :enable_google_ml_integration
@@ -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.75.0"
19
+ GEM_VERSION = "0.77.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.16.0"
22
+ GENERATOR_VERSION = "0.17.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250310"
25
+ REVISION = "20250427"
26
26
  end
27
27
  end
28
28
  end
@@ -550,6 +550,12 @@ module Google
550
550
  include Google::Apis::Core::JsonObjectSupport
551
551
  end
552
552
 
553
+ class PointInTimeRestoreContext
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
553
559
  class PoolNodeConfig
554
560
  class Representation < Google::Apis::Core::JsonRepresentation; end
555
561
 
@@ -878,6 +884,7 @@ module Google
878
884
  class Representation < Google::Apis::Core::JsonRepresentation
879
885
  property :backup_retention_settings, as: 'backupRetentionSettings', class: Google::Apis::SqladminV1::BackupRetentionSettings, decorator: Google::Apis::SqladminV1::BackupRetentionSettings::Representation
880
886
 
887
+ property :backup_tier, as: 'backupTier'
881
888
  property :binary_log_enabled, as: 'binaryLogEnabled'
882
889
  property :enabled, as: 'enabled'
883
890
  property :kind, as: 'kind'
@@ -1016,15 +1023,9 @@ module Google
1016
1023
  class ConnectionPoolConfig
1017
1024
  # @private
1018
1025
  class Representation < Google::Apis::Core::JsonRepresentation
1019
- property :client_connection_idle_timeout, as: 'clientConnectionIdleTimeout'
1020
- property :conn_pool_size, as: 'connPoolSize'
1021
1026
  property :connection_pooling_enabled, as: 'connectionPoolingEnabled'
1022
1027
  collection :flags, as: 'flags', class: Google::Apis::SqladminV1::ConnectionPoolFlags, decorator: Google::Apis::SqladminV1::ConnectionPoolFlags::Representation
1023
1028
 
1024
- property :max_client_connections, as: 'maxClientConnections'
1025
- property :pool_mode, as: 'poolMode'
1026
- property :query_wait_timeout, as: 'queryWaitTimeout'
1027
- property :server_connection_idle_timeout, as: 'serverConnectionIdleTimeout'
1028
1029
  end
1029
1030
  end
1030
1031
 
@@ -1597,6 +1598,7 @@ module Google
1597
1598
  # @private
1598
1599
  class Representation < Google::Apis::Core::JsonRepresentation
1599
1600
  property :backup, as: 'backup'
1601
+ property :backupdr_backup, as: 'backupdrBackup'
1600
1602
  property :restore_backup_context, as: 'restoreBackupContext', class: Google::Apis::SqladminV1::RestoreBackupContext, decorator: Google::Apis::SqladminV1::RestoreBackupContext::Representation
1601
1603
 
1602
1604
  property :restore_instance_settings, as: 'restoreInstanceSettings', class: Google::Apis::SqladminV1::DatabaseInstance, decorator: Google::Apis::SqladminV1::DatabaseInstance::Representation
@@ -1840,6 +1842,19 @@ module Google
1840
1842
  end
1841
1843
  end
1842
1844
 
1845
+ class PointInTimeRestoreContext
1846
+ # @private
1847
+ class Representation < Google::Apis::Core::JsonRepresentation
1848
+ property :allocated_ip_range, as: 'allocatedIpRange'
1849
+ property :datasource, as: 'datasource'
1850
+ property :point_in_time, as: 'pointInTime'
1851
+ property :preferred_secondary_zone, as: 'preferredSecondaryZone'
1852
+ property :preferred_zone, as: 'preferredZone'
1853
+ property :private_network, as: 'privateNetwork'
1854
+ property :target_instance, as: 'targetInstance'
1855
+ end
1856
+ end
1857
+
1843
1858
  class PoolNodeConfig
1844
1859
  # @private
1845
1860
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -196,15 +196,17 @@ module Google
196
196
  execute_or_queue_command(command, &block)
197
197
  end
198
198
 
199
- # Updates the retention period and description of the backup. You can use this
200
- # API to update final backups only.
199
+ # This API updates the following: 1- retention period and description of backup
200
+ # in case of final backups only. 2- gcbdr_soft_delete_status of backup in case
201
+ # of GCBDR managed backups only.
201
202
  # @param [String] name
202
203
  # Output only. The resource name of the backup. Format: projects/`project`/
203
204
  # backups/`backup`.
204
205
  # @param [Google::Apis::SqladminV1::Backup] backup_object
205
206
  # @param [String] update_mask
206
- # The list of fields that you can update. You can update only the description
207
- # and retention period of the final backup.
207
+ # The list of fields that you can update. 1- You can update only the description
208
+ # and retention period for a final backup. 2- You can update only the
209
+ # gcbdr_soft_delete_status for GCBDR managed backup.
208
210
  # @param [String] fields
209
211
  # Selector specifying which fields to include in a partial response.
210
212
  # @param [String] quota_user
@@ -1372,6 +1374,41 @@ module Google
1372
1374
  execute_or_queue_command(command, &block)
1373
1375
  end
1374
1376
 
1377
+ # Point in time restore for an instance managed by Google Cloud Backup and
1378
+ # Disaster Recovery.
1379
+ # @param [String] parent
1380
+ # Required. The parent resource where you created this instance. Format:
1381
+ # projects/`project`
1382
+ # @param [Google::Apis::SqladminV1::PointInTimeRestoreContext] point_in_time_restore_context_object
1383
+ # @param [String] fields
1384
+ # Selector specifying which fields to include in a partial response.
1385
+ # @param [String] quota_user
1386
+ # Available to use for quota purposes for server-side applications. Can be any
1387
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1388
+ # @param [Google::Apis::RequestOptions] options
1389
+ # Request-specific options
1390
+ #
1391
+ # @yield [result, err] Result & error if block supplied
1392
+ # @yieldparam result [Google::Apis::SqladminV1::Operation] parsed result object
1393
+ # @yieldparam err [StandardError] error object if request failed
1394
+ #
1395
+ # @return [Google::Apis::SqladminV1::Operation]
1396
+ #
1397
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1398
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1399
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1400
+ def point_instance_in_time_restore(parent, point_in_time_restore_context_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1401
+ command = make_simple_command(:post, 'v1/{+parent}:pointInTimeRestore', options)
1402
+ command.request_representation = Google::Apis::SqladminV1::PointInTimeRestoreContext::Representation
1403
+ command.request_object = point_in_time_restore_context_object
1404
+ command.response_representation = Google::Apis::SqladminV1::Operation::Representation
1405
+ command.response_class = Google::Apis::SqladminV1::Operation
1406
+ command.params['parent'] = parent unless parent.nil?
1407
+ command.query['fields'] = fields unless fields.nil?
1408
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1409
+ execute_or_queue_command(command, &block)
1410
+ end
1411
+
1375
1412
  # Promotes the read replica instance to be an independent Cloud SQL primary
1376
1413
  # instance. Using this operation might cause your instance to restart.
1377
1414
  # @param [String] project
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-sqladmin_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.75.0
4
+ version: 0.77.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-23 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -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.75.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.77.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:
@@ -66,14 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '2.7'
69
+ version: '3.1'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.5
76
+ rubygems_version: 3.6.8
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Cloud SQL Admin API V1
79
79
  test_files: []