google-apis-sqladmin_v1beta4 0.80.0 → 0.82.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 +4 -4
- data/CHANGELOG.md +9 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/sqladmin_v1beta4/classes.rb +112 -61
- data/lib/google/apis/sqladmin_v1beta4/gem_version.rb +3 -3
- data/lib/google/apis/sqladmin_v1beta4/representations.rb +21 -6
- data/lib/google/apis/sqladmin_v1beta4/service.rb +41 -4
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 74b493e188601c27a8464292b1a0725d3a54c98a1efb814476a6b2071eb01413
|
4
|
+
data.tar.gz: aba60fa45f36459558313475f1110d9188d99963db37e358bf74abc9fe048021
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd1c7240805a8fc85781c178af7bb5a2d942101ffa6136a68ef1feecbac273f8ff58aa165f5c9b671e01cf9432342770f8752eaeac01a5cbc8a3a0dd65ce764f
|
7
|
+
data.tar.gz: 53cc717f6ed809758d120ca26f8c5636e7555d572aefb55e48b01f4f8541f4cf2487d9d98662390eca73e8992112e227cc93e39f5ac1e81042e2854705eddcca
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-sqladmin_v1beta4
|
2
2
|
|
3
|
+
### v0.82.0 (2025-05-04)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250427
|
6
|
+
* Regenerated using generator version 0.17.0
|
7
|
+
|
8
|
+
### v0.81.0 (2025-04-27)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20250412
|
11
|
+
|
3
12
|
### v0.80.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
|
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
|
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::SqladminV1beta4::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
|
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
|
@@ -792,27 +799,27 @@ module Google
|
|
792
799
|
end
|
793
800
|
end
|
794
801
|
|
795
|
-
# Details of a single node of a read pool.
|
802
|
+
# Details of a single read pool node of a read pool.
|
796
803
|
class ConnectPoolNodeConfig
|
797
804
|
include Google::Apis::Core::Hashable
|
798
805
|
|
799
|
-
# Output only. The DNS name of the node.
|
806
|
+
# Output only. The DNS name of the read pool node.
|
800
807
|
# Corresponds to the JSON property `dnsName`
|
801
808
|
# @return [String]
|
802
809
|
attr_accessor :dns_name
|
803
810
|
|
804
|
-
# Output only. The list of DNS names used by this
|
811
|
+
# Output only. The list of DNS names used by this read pool node.
|
805
812
|
# Corresponds to the JSON property `dnsNames`
|
806
813
|
# @return [Array<Google::Apis::SqladminV1beta4::DnsNameMapping>]
|
807
814
|
attr_accessor :dns_names
|
808
815
|
|
809
816
|
# Output only. Mappings containing IP addresses that can be used to connect to
|
810
|
-
# the node.
|
817
|
+
# the read pool node.
|
811
818
|
# Corresponds to the JSON property `ipAddresses`
|
812
819
|
# @return [Array<Google::Apis::SqladminV1beta4::IpMapping>]
|
813
820
|
attr_accessor :ip_addresses
|
814
821
|
|
815
|
-
# Output only. The name of the node. Doesn't include the project ID.
|
822
|
+
# Output only. The name of the read pool node. Doesn't include the project ID.
|
816
823
|
# Corresponds to the JSON property `name`
|
817
824
|
# @return [String]
|
818
825
|
attr_accessor :name
|
@@ -878,12 +885,13 @@ module Google
|
|
878
885
|
# @return [String]
|
879
886
|
attr_accessor :kind
|
880
887
|
|
881
|
-
# The number of nodes in a read pool.
|
888
|
+
# The number of read pool nodes in a read pool.
|
882
889
|
# Corresponds to the JSON property `nodeCount`
|
883
890
|
# @return [Fixnum]
|
884
891
|
attr_accessor :node_count
|
885
892
|
|
886
|
-
# Output only. Entries containing information about each node of the
|
893
|
+
# Output only. Entries containing information about each read pool node of the
|
894
|
+
# read pool.
|
887
895
|
# Corresponds to the JSON property `nodes`
|
888
896
|
# @return [Array<Google::Apis::SqladminV1beta4::ConnectPoolNodeConfig>]
|
889
897
|
attr_accessor :nodes
|
@@ -936,16 +944,6 @@ module Google
|
|
936
944
|
class ConnectionPoolConfig
|
937
945
|
include Google::Apis::Core::Hashable
|
938
946
|
|
939
|
-
# Client idle timeout.
|
940
|
-
# Corresponds to the JSON property `clientConnectionIdleTimeout`
|
941
|
-
# @return [String]
|
942
|
-
attr_accessor :client_connection_idle_timeout
|
943
|
-
|
944
|
-
# Managed connection pool size.
|
945
|
-
# Corresponds to the JSON property `connPoolSize`
|
946
|
-
# @return [Fixnum]
|
947
|
-
attr_accessor :conn_pool_size
|
948
|
-
|
949
947
|
# Whether managed connection pooling is enabled.
|
950
948
|
# Corresponds to the JSON property `connectionPoolingEnabled`
|
951
949
|
# @return [Boolean]
|
@@ -957,40 +955,14 @@ module Google
|
|
957
955
|
# @return [Array<Google::Apis::SqladminV1beta4::ConnectionPoolFlags>]
|
958
956
|
attr_accessor :flags
|
959
957
|
|
960
|
-
# Maximum number of client connections in connection pool.
|
961
|
-
# Corresponds to the JSON property `maxClientConnections`
|
962
|
-
# @return [Fixnum]
|
963
|
-
attr_accessor :max_client_connections
|
964
|
-
|
965
|
-
# The managed connection pool mode for the instance.
|
966
|
-
# Corresponds to the JSON property `poolMode`
|
967
|
-
# @return [String]
|
968
|
-
attr_accessor :pool_mode
|
969
|
-
|
970
|
-
# Query wait timeout.
|
971
|
-
# Corresponds to the JSON property `queryWaitTimeout`
|
972
|
-
# @return [String]
|
973
|
-
attr_accessor :query_wait_timeout
|
974
|
-
|
975
|
-
# Server idle timeout.
|
976
|
-
# Corresponds to the JSON property `serverConnectionIdleTimeout`
|
977
|
-
# @return [String]
|
978
|
-
attr_accessor :server_connection_idle_timeout
|
979
|
-
|
980
958
|
def initialize(**args)
|
981
959
|
update!(**args)
|
982
960
|
end
|
983
961
|
|
984
962
|
# Update properties of this object
|
985
963
|
def update!(**args)
|
986
|
-
@client_connection_idle_timeout = args[:client_connection_idle_timeout] if args.key?(:client_connection_idle_timeout)
|
987
|
-
@conn_pool_size = args[:conn_pool_size] if args.key?(:conn_pool_size)
|
988
964
|
@connection_pooling_enabled = args[:connection_pooling_enabled] if args.key?(:connection_pooling_enabled)
|
989
965
|
@flags = args[:flags] if args.key?(:flags)
|
990
|
-
@max_client_connections = args[:max_client_connections] if args.key?(:max_client_connections)
|
991
|
-
@pool_mode = args[:pool_mode] if args.key?(:pool_mode)
|
992
|
-
@query_wait_timeout = args[:query_wait_timeout] if args.key?(:query_wait_timeout)
|
993
|
-
@server_connection_idle_timeout = args[:server_connection_idle_timeout] if args.key?(:server_connection_idle_timeout)
|
994
966
|
end
|
995
967
|
end
|
996
968
|
|
@@ -1280,12 +1252,13 @@ module Google
|
|
1280
1252
|
# @return [String]
|
1281
1253
|
attr_accessor :name
|
1282
1254
|
|
1283
|
-
# The number of nodes in a read pool.
|
1255
|
+
# The number of read pool nodes in a read pool.
|
1284
1256
|
# Corresponds to the JSON property `nodeCount`
|
1285
1257
|
# @return [Fixnum]
|
1286
1258
|
attr_accessor :node_count
|
1287
1259
|
|
1288
|
-
# Output only. Entries containing information about each node of the
|
1260
|
+
# Output only. Entries containing information about each read pool node of the
|
1261
|
+
# read pool.
|
1289
1262
|
# Corresponds to the JSON property `nodes`
|
1290
1263
|
# @return [Array<Google::Apis::SqladminV1beta4::PoolNodeConfig>]
|
1291
1264
|
attr_accessor :nodes
|
@@ -1882,7 +1855,7 @@ module Google
|
|
1882
1855
|
# @return [String]
|
1883
1856
|
attr_accessor :kind
|
1884
1857
|
|
1885
|
-
#
|
1858
|
+
# Whether to perform a serverless export.
|
1886
1859
|
# Corresponds to the JSON property `offload`
|
1887
1860
|
# @return [Boolean]
|
1888
1861
|
attr_accessor :offload
|
@@ -2116,8 +2089,8 @@ module Google
|
|
2116
2089
|
class PostgresExportOptions
|
2117
2090
|
include Google::Apis::Core::Hashable
|
2118
2091
|
|
2119
|
-
# Optional. Use this option to include DROP SQL statements.
|
2120
|
-
#
|
2092
|
+
# Optional. Use this option to include DROP <object> SQL statements. Use these
|
2093
|
+
# statements to delete database objects before running the import operation.
|
2121
2094
|
# Corresponds to the JSON property `clean`
|
2122
2095
|
# @return [Boolean]
|
2123
2096
|
attr_accessor :clean
|
@@ -3169,6 +3142,14 @@ module Google
|
|
3169
3142
|
# @return [String]
|
3170
3143
|
attr_accessor :backup
|
3171
3144
|
|
3145
|
+
# The name of the backup that's used to restore a Cloud SQL instance: Format: "
|
3146
|
+
# projects/`project-id`/locations/`location`/backupVaults/`backupvault`/
|
3147
|
+
# dataSources/`datasource`/backups/`backup-uid`". Only one of
|
3148
|
+
# restore_backup_context, backup, backupdr_backup can be passed to the input.
|
3149
|
+
# Corresponds to the JSON property `backupdrBackup`
|
3150
|
+
# @return [String]
|
3151
|
+
attr_accessor :backupdr_backup
|
3152
|
+
|
3172
3153
|
# Database instance restore from backup context. Backup context contains source
|
3173
3154
|
# instance id and project id.
|
3174
3155
|
# Corresponds to the JSON property `restoreBackupContext`
|
@@ -3187,6 +3168,7 @@ module Google
|
|
3187
3168
|
# Update properties of this object
|
3188
3169
|
def update!(**args)
|
3189
3170
|
@backup = args[:backup] if args.key?(:backup)
|
3171
|
+
@backupdr_backup = args[:backupdr_backup] if args.key?(:backupdr_backup)
|
3190
3172
|
@restore_backup_context = args[:restore_backup_context] if args.key?(:restore_backup_context)
|
3191
3173
|
@restore_instance_settings = args[:restore_instance_settings] if args.key?(:restore_instance_settings)
|
3192
3174
|
end
|
@@ -4118,38 +4100,107 @@ module Google
|
|
4118
4100
|
end
|
4119
4101
|
end
|
4120
4102
|
|
4121
|
-
#
|
4103
|
+
# Context to perform a point-in-time restore of an instance managed by Google
|
4104
|
+
# Cloud Backup and Disaster Recovery.
|
4105
|
+
class PointInTimeRestoreContext
|
4106
|
+
include Google::Apis::Core::Hashable
|
4107
|
+
|
4108
|
+
# Optional. The name of the allocated IP range for the internal IP Cloud SQL
|
4109
|
+
# instance. For example: "google-managed-services-default". If you set this,
|
4110
|
+
# then Cloud SQL creates the IP address for the cloned instance in the allocated
|
4111
|
+
# range. This range must comply with [RFC 1035](https://tools.ietf.org/html/
|
4112
|
+
# rfc1035) standards. Specifically, the name must be 1-63 characters long and
|
4113
|
+
# match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. Reserved for future
|
4114
|
+
# use. http://go/speckle-subnet-picker-clone
|
4115
|
+
# Corresponds to the JSON property `allocatedIpRange`
|
4116
|
+
# @return [String]
|
4117
|
+
attr_accessor :allocated_ip_range
|
4118
|
+
|
4119
|
+
# The Google Cloud Backup and Disaster Recovery Datasource URI. Format: projects/
|
4120
|
+
# `project`/locations/`region`/backupVaults/`backupvault`/dataSources/`
|
4121
|
+
# datasource`.
|
4122
|
+
# Corresponds to the JSON property `datasource`
|
4123
|
+
# @return [String]
|
4124
|
+
attr_accessor :datasource
|
4125
|
+
|
4126
|
+
# Required. The date and time to which you want to restore the instance.
|
4127
|
+
# Corresponds to the JSON property `pointInTime`
|
4128
|
+
# @return [String]
|
4129
|
+
attr_accessor :point_in_time
|
4130
|
+
|
4131
|
+
# Optional. Point-in-time recovery of a regional instance in the specified zones.
|
4132
|
+
# If not specified, clone to the same secondary zone as the source instance.
|
4133
|
+
# This value cannot be the same as the preferred_zone field.
|
4134
|
+
# Corresponds to the JSON property `preferredSecondaryZone`
|
4135
|
+
# @return [String]
|
4136
|
+
attr_accessor :preferred_secondary_zone
|
4137
|
+
|
4138
|
+
# Optional. Point-in-time recovery of an instance to the specified zone. If no
|
4139
|
+
# zone is specified, then clone to the same primary zone as the source instance.
|
4140
|
+
# Corresponds to the JSON property `preferredZone`
|
4141
|
+
# @return [String]
|
4142
|
+
attr_accessor :preferred_zone
|
4143
|
+
|
4144
|
+
# Optional. The resource link for the VPC network from which the Cloud SQL
|
4145
|
+
# instance is accessible for private IP. For example, `/projects/myProject/
|
4146
|
+
# global/networks/default`.
|
4147
|
+
# Corresponds to the JSON property `privateNetwork`
|
4148
|
+
# @return [String]
|
4149
|
+
attr_accessor :private_network
|
4150
|
+
|
4151
|
+
# Target instance name.
|
4152
|
+
# Corresponds to the JSON property `targetInstance`
|
4153
|
+
# @return [String]
|
4154
|
+
attr_accessor :target_instance
|
4155
|
+
|
4156
|
+
def initialize(**args)
|
4157
|
+
update!(**args)
|
4158
|
+
end
|
4159
|
+
|
4160
|
+
# Update properties of this object
|
4161
|
+
def update!(**args)
|
4162
|
+
@allocated_ip_range = args[:allocated_ip_range] if args.key?(:allocated_ip_range)
|
4163
|
+
@datasource = args[:datasource] if args.key?(:datasource)
|
4164
|
+
@point_in_time = args[:point_in_time] if args.key?(:point_in_time)
|
4165
|
+
@preferred_secondary_zone = args[:preferred_secondary_zone] if args.key?(:preferred_secondary_zone)
|
4166
|
+
@preferred_zone = args[:preferred_zone] if args.key?(:preferred_zone)
|
4167
|
+
@private_network = args[:private_network] if args.key?(:private_network)
|
4168
|
+
@target_instance = args[:target_instance] if args.key?(:target_instance)
|
4169
|
+
end
|
4170
|
+
end
|
4171
|
+
|
4172
|
+
# Details of a single read pool node of a read pool.
|
4122
4173
|
class PoolNodeConfig
|
4123
4174
|
include Google::Apis::Core::Hashable
|
4124
4175
|
|
4125
|
-
# Output only. The DNS name of the node.
|
4176
|
+
# Output only. The DNS name of the read pool node.
|
4126
4177
|
# Corresponds to the JSON property `dnsName`
|
4127
4178
|
# @return [String]
|
4128
4179
|
attr_accessor :dns_name
|
4129
4180
|
|
4130
|
-
# Output only. The list of DNS names used by this node.
|
4181
|
+
# Output only. The list of DNS names used by this read pool node.
|
4131
4182
|
# Corresponds to the JSON property `dnsNames`
|
4132
4183
|
# @return [Array<Google::Apis::SqladminV1beta4::DnsNameMapping>]
|
4133
4184
|
attr_accessor :dns_names
|
4134
4185
|
|
4135
|
-
# Output only. The
|
4186
|
+
# Output only. The zone of the read pool node.
|
4136
4187
|
# Corresponds to the JSON property `gceZone`
|
4137
4188
|
# @return [String]
|
4138
4189
|
attr_accessor :gce_zone
|
4139
4190
|
|
4140
4191
|
# Output only. Mappings containing IP addresses that can be used to connect to
|
4141
|
-
# the node.
|
4192
|
+
# the read pool node.
|
4142
4193
|
# Corresponds to the JSON property `ipAddresses`
|
4143
4194
|
# @return [Array<Google::Apis::SqladminV1beta4::IpMapping>]
|
4144
4195
|
attr_accessor :ip_addresses
|
4145
4196
|
|
4146
|
-
# Output only. The name of the node, to be used for retrieving metrics
|
4147
|
-
#
|
4197
|
+
# Output only. The name of the read pool node, to be used for retrieving metrics
|
4198
|
+
# and logs.
|
4148
4199
|
# Corresponds to the JSON property `name`
|
4149
4200
|
# @return [String]
|
4150
4201
|
attr_accessor :name
|
4151
4202
|
|
4152
|
-
# Output only. The current state of the node.
|
4203
|
+
# Output only. The current state of the read pool node.
|
4153
4204
|
# Corresponds to the JSON property `state`
|
4154
4205
|
# @return [String]
|
4155
4206
|
attr_accessor :state
|
@@ -4620,8 +4671,8 @@ module Google
|
|
4620
4671
|
|
4621
4672
|
# Optional. When this parameter is set to true, Cloud SQL instances can connect
|
4622
4673
|
# to Vertex AI to pass requests for real-time predictions and insights to the AI.
|
4623
|
-
# The default value is false. This applies only to Cloud SQL for
|
4624
|
-
# instances.
|
4674
|
+
# The default value is false. This applies only to Cloud SQL for MySQL and
|
4675
|
+
# Cloud SQL for PostgreSQL instances.
|
4625
4676
|
# Corresponds to the JSON property `enableGoogleMlIntegration`
|
4626
4677
|
# @return [Boolean]
|
4627
4678
|
attr_accessor :enable_google_ml_integration
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module SqladminV1beta4
|
18
18
|
# Version of the google-apis-sqladmin_v1beta4 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.82.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.17.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
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::SqladminV1beta4::BackupRetentionSettings, decorator: Google::Apis::SqladminV1beta4::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::SqladminV1beta4::ConnectionPoolFlags, decorator: Google::Apis::SqladminV1beta4::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::SqladminV1beta4::RestoreBackupContext, decorator: Google::Apis::SqladminV1beta4::RestoreBackupContext::Representation
|
1601
1603
|
|
1602
1604
|
property :restore_instance_settings, as: 'restoreInstanceSettings', class: Google::Apis::SqladminV1beta4::DatabaseInstance, decorator: Google::Apis::SqladminV1beta4::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
|
@@ -348,15 +348,17 @@ module Google
|
|
348
348
|
execute_or_queue_command(command, &block)
|
349
349
|
end
|
350
350
|
|
351
|
-
#
|
352
|
-
#
|
351
|
+
# This API updates the following: 1- retention period and description of backup
|
352
|
+
# in case of final backups only. 2- gcbdr_soft_delete_status of backup in case
|
353
|
+
# of GCBDR managed backups only.
|
353
354
|
# @param [String] name
|
354
355
|
# Output only. The resource name of the backup. Format: projects/`project`/
|
355
356
|
# backups/`backup`.
|
356
357
|
# @param [Google::Apis::SqladminV1beta4::Backup] backup_object
|
357
358
|
# @param [String] update_mask
|
358
|
-
# The list of fields that you can update. You can update only the description
|
359
|
-
# and retention period
|
359
|
+
# The list of fields that you can update. 1- You can update only the description
|
360
|
+
# and retention period for a final backup. 2- You can update only the
|
361
|
+
# gcbdr_soft_delete_status for GCBDR managed backup.
|
360
362
|
# @param [String] fields
|
361
363
|
# Selector specifying which fields to include in a partial response.
|
362
364
|
# @param [String] quota_user
|
@@ -1371,6 +1373,41 @@ module Google
|
|
1371
1373
|
execute_or_queue_command(command, &block)
|
1372
1374
|
end
|
1373
1375
|
|
1376
|
+
# Point in time restore for an instance managed by Google Cloud Backup and
|
1377
|
+
# Disaster Recovery.
|
1378
|
+
# @param [String] parent
|
1379
|
+
# Required. The parent resource where you created this instance. Format:
|
1380
|
+
# projects/`project`
|
1381
|
+
# @param [Google::Apis::SqladminV1beta4::PointInTimeRestoreContext] point_in_time_restore_context_object
|
1382
|
+
# @param [String] fields
|
1383
|
+
# Selector specifying which fields to include in a partial response.
|
1384
|
+
# @param [String] quota_user
|
1385
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1386
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1387
|
+
# @param [Google::Apis::RequestOptions] options
|
1388
|
+
# Request-specific options
|
1389
|
+
#
|
1390
|
+
# @yield [result, err] Result & error if block supplied
|
1391
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
|
1392
|
+
# @yieldparam err [StandardError] error object if request failed
|
1393
|
+
#
|
1394
|
+
# @return [Google::Apis::SqladminV1beta4::Operation]
|
1395
|
+
#
|
1396
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1397
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1398
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1399
|
+
def point_instance_in_time_restore(parent, point_in_time_restore_context_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1400
|
+
command = make_simple_command(:post, 'sql/v1beta4/{+parent}:pointInTimeRestore', options)
|
1401
|
+
command.request_representation = Google::Apis::SqladminV1beta4::PointInTimeRestoreContext::Representation
|
1402
|
+
command.request_object = point_in_time_restore_context_object
|
1403
|
+
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
1404
|
+
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
1405
|
+
command.params['parent'] = parent unless parent.nil?
|
1406
|
+
command.query['fields'] = fields unless fields.nil?
|
1407
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1408
|
+
execute_or_queue_command(command, &block)
|
1409
|
+
end
|
1410
|
+
|
1374
1411
|
# Promotes the read replica instance to be an independent Cloud SQL primary
|
1375
1412
|
# instance. Using this operation might cause your instance to restart.
|
1376
1413
|
# @param [String] project
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-sqladmin_v1beta4
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.82.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
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_v1beta4/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.82.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1beta4
|
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: '
|
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.
|
76
|
+
rubygems_version: 3.6.8
|
77
77
|
specification_version: 4
|
78
78
|
summary: Simple REST client for Cloud SQL Admin API V1beta4
|
79
79
|
test_files: []
|