google-apis-sqladmin_v1 0.5.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/sqladmin_v1/classes.rb +119 -116
- data/lib/google/apis/sqladmin_v1/gem_version.rb +2 -2
- data/lib/google/apis/sqladmin_v1/representations.rb +1 -0
- data/lib/google/apis/sqladmin_v1/service.rb +6 -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: 6bb27cdfe39732b065018928f15c49507bbae4ac666a43293f667193eaf02026
|
4
|
+
data.tar.gz: bc092ed205c92228d7f0983565954736edb94cfe777307d6fd341e52dca48b77
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76a0d2b291967100af42f69fdfd619e966a3970ce05c41f4a54f9702a47e32db0387714365ed0394b18c6c13149969a2412ef0a3242471c5d2319d3fb3c80098
|
7
|
+
data.tar.gz: 92efe4052e3e2d63ec1e6957d599730748bd9802a0d6960b6325509fa68fb2055b482455585355df0466aa10b5357b5dc20810a5455b7ccfda6bbdb048e6e395
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-sqladmin_v1
|
2
2
|
|
3
|
+
### v0.9.0 (2021-11-04)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211023
|
6
|
+
|
7
|
+
### v0.8.0 (2021-10-27)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211017
|
10
|
+
* Unspecified changes
|
11
|
+
|
12
|
+
### v0.7.0 (2021-10-08)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210929
|
15
|
+
|
16
|
+
### v0.6.0 (2021-09-21)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210913
|
19
|
+
|
3
20
|
### v0.5.0 (2021-09-10)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20210902
|
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Sqladmin service in particular.)
|
67
67
|
|
@@ -243,14 +243,14 @@ module Google
|
|
243
243
|
# @return [Google::Apis::SqladminV1::DiskEncryptionStatus]
|
244
244
|
attr_accessor :disk_encryption_status
|
245
245
|
|
246
|
-
# The time the backup operation completed in UTC timezone in RFC 3339
|
247
|
-
# for example
|
246
|
+
# The time the backup operation completed in UTC timezone in [RFC 3339](https://
|
247
|
+
# tools.ietf.org/html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
|
248
248
|
# Corresponds to the JSON property `endTime`
|
249
249
|
# @return [String]
|
250
250
|
attr_accessor :end_time
|
251
251
|
|
252
|
-
# The time the run was enqueued in UTC timezone in RFC 3339
|
253
|
-
# 2012-11-15T16:19:00.094Z
|
252
|
+
# The time the run was enqueued in UTC timezone in [RFC 3339](https://tools.ietf.
|
253
|
+
# org/html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
|
254
254
|
# Corresponds to the JSON property `enqueuedTime`
|
255
255
|
# @return [String]
|
256
256
|
attr_accessor :enqueued_time
|
@@ -271,7 +271,7 @@ module Google
|
|
271
271
|
# @return [String]
|
272
272
|
attr_accessor :instance
|
273
273
|
|
274
|
-
# This is always
|
274
|
+
# This is always **sql#backupRun**.
|
275
275
|
# Corresponds to the JSON property `kind`
|
276
276
|
# @return [String]
|
277
277
|
attr_accessor :kind
|
@@ -286,8 +286,9 @@ module Google
|
|
286
286
|
# @return [String]
|
287
287
|
attr_accessor :self_link
|
288
288
|
|
289
|
-
# The time the backup operation actually started in UTC timezone in RFC 3339
|
290
|
-
# format, for example
|
289
|
+
# The time the backup operation actually started in UTC timezone in [RFC 3339](
|
290
|
+
# https://tools.ietf.org/html/rfc3339) format, for example **2012-11-15T16:19:00.
|
291
|
+
# 094Z**.
|
291
292
|
# Corresponds to the JSON property `startTime`
|
292
293
|
# @return [String]
|
293
294
|
attr_accessor :start_time
|
@@ -304,7 +305,8 @@ module Google
|
|
304
305
|
attr_accessor :type
|
305
306
|
|
306
307
|
# The start time of the backup window during which this the backup was attempted
|
307
|
-
# in RFC 3339 format, for example
|
308
|
+
# in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example **2012-
|
309
|
+
# 11-15T16:19:00.094Z**.
|
308
310
|
# Corresponds to the JSON property `windowStartTime`
|
309
311
|
# @return [String]
|
310
312
|
attr_accessor :window_start_time
|
@@ -343,7 +345,7 @@ module Google
|
|
343
345
|
# @return [Array<Google::Apis::SqladminV1::BackupRun>]
|
344
346
|
attr_accessor :items
|
345
347
|
|
346
|
-
# This is always
|
348
|
+
# This is always **sql#backupRunsList**.
|
347
349
|
# Corresponds to the JSON property `kind`
|
348
350
|
# @return [String]
|
349
351
|
attr_accessor :kind
|
@@ -380,7 +382,7 @@ module Google
|
|
380
382
|
# @return [Fixnum]
|
381
383
|
attr_accessor :bin_log_position
|
382
384
|
|
383
|
-
# This is always
|
385
|
+
# This is always **sql#binLogCoordinates**.
|
384
386
|
# Corresponds to the JSON property `kind`
|
385
387
|
# @return [String]
|
386
388
|
attr_accessor :kind
|
@@ -411,7 +413,7 @@ module Google
|
|
411
413
|
# @return [String]
|
412
414
|
attr_accessor :destination_instance_name
|
413
415
|
|
414
|
-
# This is always
|
416
|
+
# This is always **sql#cloneContext**.
|
415
417
|
# Corresponds to the JSON property `kind`
|
416
418
|
# @return [String]
|
417
419
|
attr_accessor :kind
|
@@ -600,9 +602,10 @@ module Google
|
|
600
602
|
class DatabaseInstance
|
601
603
|
include Google::Apis::Core::Hashable
|
602
604
|
|
603
|
-
#
|
604
|
-
# is not managed by Google. This property is read-only; use
|
605
|
-
# in the
|
605
|
+
# The backend type. **SECOND_GEN**: Cloud SQL database instance. **EXTERNAL**: A
|
606
|
+
# database server that is not managed by Google. This property is read-only; use
|
607
|
+
# the **tier** property in the **settings** object to determine the database
|
608
|
+
# type.
|
606
609
|
# Corresponds to the JSON property `backendType`
|
607
610
|
# @return [String]
|
608
611
|
attr_accessor :backend_type
|
@@ -612,26 +615,23 @@ module Google
|
|
612
615
|
# @return [String]
|
613
616
|
attr_accessor :connection_name
|
614
617
|
|
615
|
-
# Output only. The time when the instance was created in RFC 3339
|
616
|
-
#
|
618
|
+
# Output only. The time when the instance was created in [RFC 3339](https://
|
619
|
+
# tools.ietf.org/html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
|
617
620
|
# Corresponds to the JSON property `createTime`
|
618
621
|
# @return [String]
|
619
622
|
attr_accessor :create_time
|
620
623
|
|
621
624
|
# The current disk usage of the instance in bytes. This property has been
|
622
625
|
# deprecated. Use the "cloudsql.googleapis.com/database/disk/bytes_used" metric
|
623
|
-
# in Cloud Monitoring API instead. Please see this announcement
|
626
|
+
# in Cloud Monitoring API instead. Please see [this announcement](https://groups.
|
627
|
+
# google.com/d/msg/google-cloud-sql-announce/I_7-F9EBhT0/BtvFtdFeAgAJ) for
|
628
|
+
# details.
|
624
629
|
# Corresponds to the JSON property `currentDiskSize`
|
625
630
|
# @return [Fixnum]
|
626
631
|
attr_accessor :current_disk_size
|
627
632
|
|
628
|
-
# The database engine type and version. The
|
629
|
-
# changed after instance creation.
|
630
|
-
# default), or *MYSQL_5_6*. PostgreSQL instances: *POSTGRES_9_6*, *POSTGRES_10*,
|
631
|
-
# *POSTGRES_11*, *POSTGRES_12*, *POSTGRES_13* (default). SQL Server instances: *
|
632
|
-
# SQLSERVER_2019_STANDARD*, *SQLSERVER_2019_ENTERPRISE*, *SQLSERVER_2019_EXPRESS*
|
633
|
-
# , or *SQLSERVER_2019_WEB*, *SQLSERVER_2017_STANDARD* (default), *
|
634
|
-
# SQLSERVER_2017_ENTERPRISE*, *SQLSERVER_2017_EXPRESS*, or *SQLSERVER_2017_WEB*.
|
633
|
+
# The database engine type and version. The **databaseVersion** field cannot be
|
634
|
+
# changed after instance creation.
|
635
635
|
# Corresponds to the JSON property `databaseVersion`
|
636
636
|
# @return [String]
|
637
637
|
attr_accessor :database_version
|
@@ -647,7 +647,7 @@ module Google
|
|
647
647
|
attr_accessor :disk_encryption_status
|
648
648
|
|
649
649
|
# This field is deprecated and will be removed from a future version of the API.
|
650
|
-
# Use the
|
650
|
+
# Use the **settings.settingsVersion** field instead.
|
651
651
|
# Corresponds to the JSON property `etag`
|
652
652
|
# @return [String]
|
653
653
|
attr_accessor :etag
|
@@ -664,10 +664,10 @@ module Google
|
|
664
664
|
# @return [String]
|
665
665
|
attr_accessor :gce_zone
|
666
666
|
|
667
|
-
# The instance type. This can be one of the following
|
668
|
-
# Cloud SQL instance that is not replicating from a primary instance. *
|
669
|
-
# ON_PREMISES_INSTANCE
|
670
|
-
# READ_REPLICA_INSTANCE
|
667
|
+
# The instance type. This can be one of the following: * **CLOUD_SQL_INSTANCE**:
|
668
|
+
# A Cloud SQL instance that is not replicating from a primary instance. * **
|
669
|
+
# ON_PREMISES_INSTANCE**: An instance running on the customer's premises. * **
|
670
|
+
# READ_REPLICA_INSTANCE**: A Cloud SQL instance configured as a read-replica.
|
671
671
|
# Corresponds to the JSON property `instanceType`
|
672
672
|
# @return [String]
|
673
673
|
attr_accessor :instance_type
|
@@ -683,7 +683,7 @@ module Google
|
|
683
683
|
# @return [String]
|
684
684
|
attr_accessor :ipv6_address
|
685
685
|
|
686
|
-
# This is always
|
686
|
+
# This is always **sql#instance**.
|
687
687
|
# Corresponds to the JSON property `kind`
|
688
688
|
# @return [String]
|
689
689
|
attr_accessor :kind
|
@@ -719,10 +719,10 @@ module Google
|
|
719
719
|
# @return [String]
|
720
720
|
attr_accessor :project
|
721
721
|
|
722
|
-
# The geographical region. Can be *us-central
|
723
|
-
#
|
724
|
-
# Defaults to
|
725
|
-
# region cannot be changed after instance creation.
|
722
|
+
# The geographical region. Can be: * **us-central** (**FIRST_GEN** instances
|
723
|
+
# only) * **us-central1** (**SECOND_GEN** instances only) * **asia-east1** or **
|
724
|
+
# europe-west1**. Defaults to **us-central** or **us-central1** depending on the
|
725
|
+
# instance type. The region cannot be changed after instance creation.
|
726
726
|
# Corresponds to the JSON property `region`
|
727
727
|
# @return [String]
|
728
728
|
attr_accessor :region
|
@@ -782,13 +782,7 @@ module Google
|
|
782
782
|
# @return [Google::Apis::SqladminV1::Settings]
|
783
783
|
attr_accessor :settings
|
784
784
|
|
785
|
-
# The current serving state of the Cloud SQL instance.
|
786
|
-
# following. *SQL_INSTANCE_STATE_UNSPECIFIED*: The state of the instance is
|
787
|
-
# unknown. *RUNNABLE*: The instance is running, or has been stopped by owner. *
|
788
|
-
# SUSPENDED*: The instance is not available, for example due to problems with
|
789
|
-
# billing. *PENDING_DELETE*: The instance is being deleted. *PENDING_CREATE*:
|
790
|
-
# The instance is being created. *MAINTENANCE*: The instance is down for
|
791
|
-
# maintenance. *FAILED*: The instance creation failed.
|
785
|
+
# The current serving state of the Cloud SQL instance.
|
792
786
|
# Corresponds to the JSON property `state`
|
793
787
|
# @return [String]
|
794
788
|
attr_accessor :state
|
@@ -879,7 +873,7 @@ module Google
|
|
879
873
|
# @return [Array<Google::Apis::SqladminV1::Database>]
|
880
874
|
attr_accessor :items
|
881
875
|
|
882
|
-
# This is always
|
876
|
+
# This is always **sql#databasesList**.
|
883
877
|
# Corresponds to the JSON property `kind`
|
884
878
|
# @return [String]
|
885
879
|
attr_accessor :kind
|
@@ -924,7 +918,7 @@ module Google
|
|
924
918
|
class DemoteMasterContext
|
925
919
|
include Google::Apis::Core::Hashable
|
926
920
|
|
927
|
-
# This is always
|
921
|
+
# This is always **sql#demoteMasterContext**.
|
928
922
|
# Corresponds to the JSON property `kind`
|
929
923
|
# @return [String]
|
930
924
|
attr_accessor :kind
|
@@ -946,12 +940,12 @@ module Google
|
|
946
940
|
attr_accessor :skip_replication_setup
|
947
941
|
alias_method :skip_replication_setup?, :skip_replication_setup
|
948
942
|
|
949
|
-
# Verify GTID consistency for demote operation. Default value:
|
943
|
+
# Verify GTID consistency for demote operation. Default value: **True**. Setting
|
950
944
|
# this flag to false enables you to bypass GTID consistency check between on-
|
951
945
|
# premises primary instance and Cloud SQL instance during the demotion operation
|
952
946
|
# but also exposes you to the risk of future replication failures. Change the
|
953
|
-
# value
|
954
|
-
#
|
947
|
+
# value only if you know the reason for the GTID divergence and are confident
|
948
|
+
# that doing so will not cause any replication issues.
|
955
949
|
# Corresponds to the JSON property `verifyGtidConsistency`
|
956
950
|
# @return [Boolean]
|
957
951
|
attr_accessor :verify_gtid_consistency
|
@@ -1036,8 +1030,8 @@ module Google
|
|
1036
1030
|
attr_accessor :end_date
|
1037
1031
|
|
1038
1032
|
# "deny maintenance period" start date. If the year of the start date is empty,
|
1039
|
-
# the year of the end date also must be empty. In this case, it means the
|
1040
|
-
# maintenance
|
1033
|
+
# the year of the end date also must be empty. In this case, it means the deny
|
1034
|
+
# maintenance period recurs every year. The date is in format yyyy-mm-dd i.e.,
|
1041
1035
|
# 2020-11-01, or mm-dd, i.e., 11-01
|
1042
1036
|
# Corresponds to the JSON property `startDate`
|
1043
1037
|
# @return [String]
|
@@ -1120,22 +1114,22 @@ module Google
|
|
1120
1114
|
# @return [Google::Apis::SqladminV1::ExportContext::CsvExportOptions]
|
1121
1115
|
attr_accessor :csv_export_options
|
1122
1116
|
|
1123
|
-
# Databases to be exported. **MySQL instances:** If **fileType** is **SQL**
|
1124
|
-
# no database is specified, all databases are exported, except for the **
|
1125
|
-
# system database. If **fileType** is **CSV**, you can specify one
|
1126
|
-
# either by using this property or by using the **csvExportOptions.
|
1127
|
-
# property, which takes precedence over this property. **
|
1128
|
-
# You must specify one database to be exported. If **
|
1129
|
-
# database must match the one specified in the **
|
1130
|
-
# property. **SQL Server instances:** You must
|
1131
|
-
# exported, and the **fileType** must be **BAK**.
|
1117
|
+
# Databases to be exported. * **MySQL instances:** If **fileType** is **SQL**
|
1118
|
+
# and no database is specified, all databases are exported, except for the **
|
1119
|
+
# mysql** system database. If **fileType** is **CSV**, you can specify one
|
1120
|
+
# database, either by using this property or by using the **csvExportOptions.
|
1121
|
+
# selectQuery** property, which takes precedence over this property. * **
|
1122
|
+
# PostgreSQL instances:** You must specify one database to be exported. If **
|
1123
|
+
# fileType** is **CSV**, this database must match the one specified in the **
|
1124
|
+
# csvExportOptions.selectQuery** property. * **SQL Server instances:** You must
|
1125
|
+
# specify one database to be exported, and the **fileType** must be **BAK**.
|
1132
1126
|
# Corresponds to the JSON property `databases`
|
1133
1127
|
# @return [Array<String>]
|
1134
1128
|
attr_accessor :databases
|
1135
1129
|
|
1136
|
-
# The file type for the specified uri. **SQL**: The file contains SQL
|
1137
|
-
# **CSV**: The file contains CSV data. **BAK**: The file
|
1138
|
-
# for a SQL Server instance.
|
1130
|
+
# The file type for the specified uri. * **SQL**: The file contains SQL
|
1131
|
+
# statements. * **CSV**: The file contains CSV data. * **BAK**: The file
|
1132
|
+
# contains backup data for a SQL Server instance.
|
1139
1133
|
# Corresponds to the JSON property `fileType`
|
1140
1134
|
# @return [String]
|
1141
1135
|
attr_accessor :file_type
|
@@ -1262,10 +1256,10 @@ module Google
|
|
1262
1256
|
class MysqlExportOptions
|
1263
1257
|
include Google::Apis::Core::Hashable
|
1264
1258
|
|
1265
|
-
# Option to include SQL statement required to set up replication. If set to **
|
1266
|
-
#
|
1267
|
-
# coordinates, and --set-gtid-purged is set to ON. If set to **2**, the CHANGE
|
1268
|
-
# MASTER TO statement is written as a SQL comment and has no effect. If set to
|
1259
|
+
# Option to include SQL statement required to set up replication. * If set to **
|
1260
|
+
# 1**, the dump file includes a CHANGE MASTER TO statement with the binary log
|
1261
|
+
# coordinates, and --set-gtid-purged is set to ON. * If set to **2**, the CHANGE
|
1262
|
+
# MASTER TO statement is written as a SQL comment and has no effect. * If set to
|
1269
1263
|
# any value other than **1**, --set-gtid-purged is set to OFF.
|
1270
1264
|
# Corresponds to the JSON property `masterData`
|
1271
1265
|
# @return [Fixnum]
|
@@ -1287,7 +1281,7 @@ module Google
|
|
1287
1281
|
class FailoverContext
|
1288
1282
|
include Google::Apis::Core::Hashable
|
1289
1283
|
|
1290
|
-
# This is always
|
1284
|
+
# This is always **sql#failoverContext**.
|
1291
1285
|
# Corresponds to the JSON property `kind`
|
1292
1286
|
# @return [String]
|
1293
1287
|
attr_accessor :kind
|
@@ -1434,6 +1428,11 @@ module Google
|
|
1434
1428
|
# @return [String]
|
1435
1429
|
attr_accessor :read_time
|
1436
1430
|
|
1431
|
+
# Optional. If set, it will contain the cert valid duration.
|
1432
|
+
# Corresponds to the JSON property `validDuration`
|
1433
|
+
# @return [String]
|
1434
|
+
attr_accessor :valid_duration
|
1435
|
+
|
1437
1436
|
def initialize(**args)
|
1438
1437
|
update!(**args)
|
1439
1438
|
end
|
@@ -1443,6 +1442,7 @@ module Google
|
|
1443
1442
|
@access_token = args[:access_token] if args.key?(:access_token)
|
1444
1443
|
@public_key = args[:public_key] if args.key?(:public_key)
|
1445
1444
|
@read_time = args[:read_time] if args.key?(:read_time)
|
1445
|
+
@valid_duration = args[:valid_duration] if args.key?(:valid_duration)
|
1446
1446
|
end
|
1447
1447
|
end
|
1448
1448
|
|
@@ -1822,7 +1822,7 @@ module Google
|
|
1822
1822
|
# @return [Array<Google::Apis::SqladminV1::DatabaseInstance>]
|
1823
1823
|
attr_accessor :items
|
1824
1824
|
|
1825
|
-
# This is always
|
1825
|
+
# This is always **sql#instancesList**.
|
1826
1826
|
# Corresponds to the JSON property `kind`
|
1827
1827
|
# @return [String]
|
1828
1828
|
attr_accessor :kind
|
@@ -1865,7 +1865,7 @@ module Google
|
|
1865
1865
|
# @return [Array<Google::Apis::SqladminV1::SslCert>]
|
1866
1866
|
attr_accessor :certs
|
1867
1867
|
|
1868
|
-
# This is always
|
1868
|
+
# This is always **sql#instancesListServerCas**.
|
1869
1869
|
# Corresponds to the JSON property `kind`
|
1870
1870
|
# @return [String]
|
1871
1871
|
attr_accessor :kind
|
@@ -2094,7 +2094,7 @@ module Google
|
|
2094
2094
|
attr_accessor :kind
|
2095
2095
|
|
2096
2096
|
# Maintenance timing setting: **canary** (Earlier) or **stable** (Later). [Learn
|
2097
|
-
# more]
|
2097
|
+
# more](https://cloud.google.com/sql/docs/mysql/instance-settings#maintenance-
|
2098
2098
|
# timing-2ndgen).
|
2099
2099
|
# Corresponds to the JSON property `updateTrack`
|
2100
2100
|
# @return [String]
|
@@ -2248,7 +2248,7 @@ module Google
|
|
2248
2248
|
# @return [String]
|
2249
2249
|
attr_accessor :host_port
|
2250
2250
|
|
2251
|
-
# This is always
|
2251
|
+
# This is always **sql#onPremisesConfiguration**.
|
2252
2252
|
# Corresponds to the JSON property `kind`
|
2253
2253
|
# @return [String]
|
2254
2254
|
attr_accessor :kind
|
@@ -2336,9 +2336,10 @@ module Google
|
|
2336
2336
|
# @return [String]
|
2337
2337
|
attr_accessor :name
|
2338
2338
|
|
2339
|
-
# The type of the operation. Valid values are: **CREATE** **DELETE** **
|
2340
|
-
# *RESTART** **IMPORT** **EXPORT** **BACKUP_VOLUME**
|
2341
|
-
# CREATE_USER** **DELETE_USER** **CREATE_DATABASE** **
|
2339
|
+
# The type of the operation. Valid values are: * **CREATE** * **DELETE** * **
|
2340
|
+
# UPDATE** * **RESTART** * **IMPORT** * **EXPORT** * **BACKUP_VOLUME** * **
|
2341
|
+
# RESTORE_VOLUME** * **CREATE_USER** * **DELETE_USER** * **CREATE_DATABASE** * **
|
2342
|
+
# DELETE_DATABASE**
|
2342
2343
|
# Corresponds to the JSON property `operationType`
|
2343
2344
|
# @return [String]
|
2344
2345
|
attr_accessor :operation_type
|
@@ -2354,8 +2355,8 @@ module Google
|
|
2354
2355
|
# @return [String]
|
2355
2356
|
attr_accessor :start_time
|
2356
2357
|
|
2357
|
-
# The status of an operation. Valid values are: **PENDING** **RUNNING** **
|
2358
|
-
# **SQL_OPERATION_STATUS_UNSPECIFIED**
|
2358
|
+
# The status of an operation. Valid values are: * **PENDING** * **RUNNING** * **
|
2359
|
+
# DONE** * **SQL_OPERATION_STATUS_UNSPECIFIED**
|
2359
2360
|
# Corresponds to the JSON property `status`
|
2360
2361
|
# @return [String]
|
2361
2362
|
attr_accessor :status
|
@@ -2470,7 +2471,7 @@ module Google
|
|
2470
2471
|
# @return [Array<Google::Apis::SqladminV1::Operation>]
|
2471
2472
|
attr_accessor :items
|
2472
2473
|
|
2473
|
-
# This is always
|
2474
|
+
# This is always **sql#operationsList**.
|
2474
2475
|
# Corresponds to the JSON property `kind`
|
2475
2476
|
# @return [String]
|
2476
2477
|
attr_accessor :kind
|
@@ -2497,8 +2498,8 @@ module Google
|
|
2497
2498
|
class ReplicaConfiguration
|
2498
2499
|
include Google::Apis::Core::Hashable
|
2499
2500
|
|
2500
|
-
# Specifies if the replica is the failover target. If the field is set to
|
2501
|
-
# the replica will be designated as a failover replica. In case the primary
|
2501
|
+
# Specifies if the replica is the failover target. If the field is set to **true*
|
2502
|
+
# * the replica will be designated as a failover replica. In case the primary
|
2502
2503
|
# instance fails, the replica instance will be promoted as the new primary
|
2503
2504
|
# instance. Only one replica can be specified as failover target, and the
|
2504
2505
|
# replica has to be in different zone with the primary instance.
|
@@ -2507,7 +2508,7 @@ module Google
|
|
2507
2508
|
attr_accessor :failover_target
|
2508
2509
|
alias_method :failover_target?, :failover_target
|
2509
2510
|
|
2510
|
-
# This is always
|
2511
|
+
# This is always **sql#replicaConfiguration**.
|
2511
2512
|
# Corresponds to the JSON property `kind`
|
2512
2513
|
# @return [String]
|
2513
2514
|
attr_accessor :kind
|
@@ -2539,8 +2540,8 @@ module Google
|
|
2539
2540
|
attr_accessor :reschedule_type
|
2540
2541
|
|
2541
2542
|
# Optional. Timestamp when the maintenance shall be rescheduled to if
|
2542
|
-
# reschedule_type=SPECIFIC_TIME, in RFC 3339
|
2543
|
-
# 19:00.094Z
|
2543
|
+
# reschedule_type=SPECIFIC_TIME, in [RFC 3339](https://tools.ietf.org/html/
|
2544
|
+
# rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
|
2544
2545
|
# Corresponds to the JSON property `scheduleTime`
|
2545
2546
|
# @return [String]
|
2546
2547
|
attr_accessor :schedule_time
|
@@ -2571,7 +2572,7 @@ module Google
|
|
2571
2572
|
# @return [String]
|
2572
2573
|
attr_accessor :instance_id
|
2573
2574
|
|
2574
|
-
# This is always
|
2575
|
+
# This is always **sql#restoreBackupContext**.
|
2575
2576
|
# Corresponds to the JSON property `kind`
|
2576
2577
|
# @return [String]
|
2577
2578
|
attr_accessor :kind
|
@@ -2598,7 +2599,7 @@ module Google
|
|
2598
2599
|
class RotateServerCaContext
|
2599
2600
|
include Google::Apis::Core::Hashable
|
2600
2601
|
|
2601
|
-
# This is always
|
2602
|
+
# This is always **sql#rotateServerCaContext**.
|
2602
2603
|
# Corresponds to the JSON property `kind`
|
2603
2604
|
# @return [String]
|
2604
2605
|
attr_accessor :kind
|
@@ -2625,10 +2626,10 @@ module Google
|
|
2625
2626
|
include Google::Apis::Core::Hashable
|
2626
2627
|
|
2627
2628
|
# The activation policy specifies when the instance is activated; it is
|
2628
|
-
# applicable only when the instance state is RUNNABLE. Valid values: **ALWAYS
|
2629
|
-
# The instance is on, and remains so even in the absence of connection
|
2630
|
-
# **NEVER**: The instance is off; it is not activated, even if a
|
2631
|
-
# request arrives.
|
2629
|
+
# applicable only when the instance state is RUNNABLE. Valid values: * **ALWAYS**
|
2630
|
+
# : The instance is on, and remains so even in the absence of connection
|
2631
|
+
# requests. * **NEVER**: The instance is off; it is not activated, even if a
|
2632
|
+
# connection request arrives.
|
2632
2633
|
# Corresponds to the JSON property `activationPolicy`
|
2633
2634
|
# @return [String]
|
2634
2635
|
attr_accessor :activation_policy
|
@@ -2644,11 +2645,12 @@ module Google
|
|
2644
2645
|
# @return [Array<String>]
|
2645
2646
|
attr_accessor :authorized_gae_applications
|
2646
2647
|
|
2647
|
-
# Availability type. Potential values: **ZONAL**: The instance serves data
|
2648
|
-
# only one zone. Outages in that zone affect data accessibility. **
|
2649
|
-
# The instance can serve data from more than one zone in a region (
|
2650
|
-
# available)
|
2651
|
-
# Configuration](https://cloud.google.com/sql/docs/mysql/high-
|
2648
|
+
# Availability type. Potential values: * **ZONAL**: The instance serves data
|
2649
|
+
# from only one zone. Outages in that zone affect data accessibility. * **
|
2650
|
+
# REGIONAL**: The instance can serve data from more than one zone in a region (
|
2651
|
+
# it is highly available)./ For more information, see [Overview of the High
|
2652
|
+
# Availability Configuration](https://cloud.google.com/sql/docs/mysql/high-
|
2653
|
+
# availability).
|
2652
2654
|
# Corresponds to the JSON property `availabilityType`
|
2653
2655
|
# @return [String]
|
2654
2656
|
attr_accessor :availability_type
|
@@ -2676,7 +2678,8 @@ module Google
|
|
2676
2678
|
# @return [Fixnum]
|
2677
2679
|
attr_accessor :data_disk_size_gb
|
2678
2680
|
|
2679
|
-
# The type of data disk: **PD_SSD** (default) or **PD_HDD**.
|
2681
|
+
# The type of data disk: **PD_SSD** (default) or **PD_HDD**. Not used for First
|
2682
|
+
# Generation instances.
|
2680
2683
|
# Corresponds to the JSON property `dataDiskType`
|
2681
2684
|
# @return [String]
|
2682
2685
|
attr_accessor :data_disk_type
|
@@ -2836,7 +2839,7 @@ module Google
|
|
2836
2839
|
end
|
2837
2840
|
end
|
2838
2841
|
|
2839
|
-
# External primary instance migration setting error.
|
2842
|
+
# External primary instance migration setting error/warning.
|
2840
2843
|
class SqlExternalSyncSettingError
|
2841
2844
|
include Google::Apis::Core::Hashable
|
2842
2845
|
|
@@ -2845,7 +2848,7 @@ module Google
|
|
2845
2848
|
# @return [String]
|
2846
2849
|
attr_accessor :detail
|
2847
2850
|
|
2848
|
-
# Can be
|
2851
|
+
# Can be **sql#externalSyncSettingError** or **sql#externalSyncSettingWarning**.
|
2849
2852
|
# Corresponds to the JSON property `kind`
|
2850
2853
|
# @return [String]
|
2851
2854
|
attr_accessor :kind
|
@@ -2966,7 +2969,7 @@ module Google
|
|
2966
2969
|
# @return [Array<Google::Apis::SqladminV1::SqlExternalSyncSettingError>]
|
2967
2970
|
attr_accessor :errors
|
2968
2971
|
|
2969
|
-
# This is always
|
2972
|
+
# This is always **sql#migrationSettingErrorList**.
|
2970
2973
|
# Corresponds to the JSON property `kind`
|
2971
2974
|
# @return [String]
|
2972
2975
|
attr_accessor :kind
|
@@ -2993,15 +2996,15 @@ module Google
|
|
2993
2996
|
include Google::Apis::Core::Hashable
|
2994
2997
|
|
2995
2998
|
# The minimum recommended increase size in GigaBytes This field is consumed by
|
2996
|
-
# the frontend Writers:
|
2997
|
-
#
|
2999
|
+
# the frontend * Writers: * the proactive database wellness job for OOD. *
|
3000
|
+
# Readers:
|
2998
3001
|
# Corresponds to the JSON property `sqlMinRecommendedIncreaseSizeGb`
|
2999
3002
|
# @return [Fixnum]
|
3000
3003
|
attr_accessor :sql_min_recommended_increase_size_gb
|
3001
3004
|
|
3002
3005
|
# This field represents the state generated by the proactive database wellness
|
3003
|
-
# job for OutOfDisk issues. Writers:
|
3004
|
-
# OOD. Readers:
|
3006
|
+
# job for OutOfDisk issues. * Writers: * the proactive database wellness job for
|
3007
|
+
# OOD. * Readers: * the proactive database wellness job
|
3005
3008
|
# Corresponds to the JSON property `sqlOutOfDiskState`
|
3006
3009
|
# @return [String]
|
3007
3010
|
attr_accessor :sql_out_of_disk_state
|
@@ -3168,7 +3171,7 @@ module Google
|
|
3168
3171
|
# @return [String]
|
3169
3172
|
attr_accessor :instance
|
3170
3173
|
|
3171
|
-
# This is always sql#sslCert
|
3174
|
+
# This is always **sql#sslCert**.
|
3172
3175
|
# Corresponds to the JSON property `kind`
|
3173
3176
|
# @return [String]
|
3174
3177
|
attr_accessor :kind
|
@@ -3281,7 +3284,7 @@ module Google
|
|
3281
3284
|
# @return [Google::Apis::SqladminV1::SslCertDetail]
|
3282
3285
|
attr_accessor :client_cert
|
3283
3286
|
|
3284
|
-
# This is always
|
3287
|
+
# This is always **sql#sslCertsInsert**.
|
3285
3288
|
# Corresponds to the JSON property `kind`
|
3286
3289
|
# @return [String]
|
3287
3290
|
attr_accessor :kind
|
@@ -3320,7 +3323,7 @@ module Google
|
|
3320
3323
|
# @return [Array<Google::Apis::SqladminV1::SslCert>]
|
3321
3324
|
attr_accessor :items
|
3322
3325
|
|
3323
|
-
# This is always
|
3326
|
+
# This is always **sql#sslCertsList**.
|
3324
3327
|
# Corresponds to the JSON property `kind`
|
3325
3328
|
# @return [String]
|
3326
3329
|
attr_accessor :kind
|
@@ -3377,7 +3380,7 @@ module Google
|
|
3377
3380
|
# @return [Fixnum]
|
3378
3381
|
attr_accessor :ram
|
3379
3382
|
|
3380
|
-
# This is always
|
3383
|
+
# This is always **sql#tier**.
|
3381
3384
|
# Corresponds to the JSON property `kind`
|
3382
3385
|
# @return [String]
|
3383
3386
|
attr_accessor :kind
|
@@ -3388,7 +3391,7 @@ module Google
|
|
3388
3391
|
attr_accessor :region
|
3389
3392
|
|
3390
3393
|
# An identifier for the machine type, for example, db-custom-1-3840. For related
|
3391
|
-
# information, see Pricing.
|
3394
|
+
# information, see [Pricing](/sql/pricing).
|
3392
3395
|
# Corresponds to the JSON property `tier`
|
3393
3396
|
# @return [String]
|
3394
3397
|
attr_accessor :tier
|
@@ -3416,7 +3419,7 @@ module Google
|
|
3416
3419
|
# @return [Array<Google::Apis::SqladminV1::Tier>]
|
3417
3420
|
attr_accessor :items
|
3418
3421
|
|
3419
|
-
# This is always
|
3422
|
+
# This is always **sql#tiersList**.
|
3420
3423
|
# Corresponds to the JSON property `kind`
|
3421
3424
|
# @return [String]
|
3422
3425
|
attr_accessor :kind
|
@@ -3436,13 +3439,13 @@ module Google
|
|
3436
3439
|
class TruncateLogContext
|
3437
3440
|
include Google::Apis::Core::Hashable
|
3438
3441
|
|
3439
|
-
# This is always
|
3442
|
+
# This is always **sql#truncateLogContext**.
|
3440
3443
|
# Corresponds to the JSON property `kind`
|
3441
3444
|
# @return [String]
|
3442
3445
|
attr_accessor :kind
|
3443
3446
|
|
3444
|
-
# The type of log to truncate. Valid values are
|
3445
|
-
# MYSQL_SLOW_TABLE
|
3447
|
+
# The type of log to truncate. Valid values are **MYSQL_GENERAL_TABLE** and **
|
3448
|
+
# MYSQL_SLOW_TABLE**.
|
3446
3449
|
# Corresponds to the JSON property `logType`
|
3447
3450
|
# @return [String]
|
3448
3451
|
attr_accessor :log_type
|
@@ -3467,25 +3470,25 @@ module Google
|
|
3467
3470
|
# @return [String]
|
3468
3471
|
attr_accessor :etag
|
3469
3472
|
|
3470
|
-
# The host name from which the user can connect. For
|
3471
|
-
# defaults to an empty string. For
|
3473
|
+
# The host name from which the user can connect. For **insert** operations, host
|
3474
|
+
# defaults to an empty string. For **update** operations, host is specified as
|
3472
3475
|
# part of the request URL. The host name cannot be updated after insertion.
|
3473
3476
|
# Corresponds to the JSON property `host`
|
3474
3477
|
# @return [String]
|
3475
3478
|
attr_accessor :host
|
3476
3479
|
|
3477
3480
|
# The name of the Cloud SQL instance. This does not include the project ID. Can
|
3478
|
-
# be omitted for
|
3481
|
+
# be omitted for **update** since it is already specified on the URL.
|
3479
3482
|
# Corresponds to the JSON property `instance`
|
3480
3483
|
# @return [String]
|
3481
3484
|
attr_accessor :instance
|
3482
3485
|
|
3483
|
-
# This is always
|
3486
|
+
# This is always **sql#user**.
|
3484
3487
|
# Corresponds to the JSON property `kind`
|
3485
3488
|
# @return [String]
|
3486
3489
|
attr_accessor :kind
|
3487
3490
|
|
3488
|
-
# The name of the user in the Cloud SQL instance. Can be omitted for
|
3491
|
+
# The name of the user in the Cloud SQL instance. Can be omitted for **update**
|
3489
3492
|
# since it is already specified in the URL.
|
3490
3493
|
# Corresponds to the JSON property `name`
|
3491
3494
|
# @return [String]
|
@@ -3497,8 +3500,8 @@ module Google
|
|
3497
3500
|
attr_accessor :password
|
3498
3501
|
|
3499
3502
|
# The project ID of the project containing the Cloud SQL database. The Google
|
3500
|
-
# apps domain is prefixed if applicable. Can be omitted for
|
3501
|
-
# already specified on the URL.
|
3503
|
+
# apps domain is prefixed if applicable. Can be omitted for **update** since it
|
3504
|
+
# is already specified on the URL.
|
3502
3505
|
# Corresponds to the JSON property `project`
|
3503
3506
|
# @return [String]
|
3504
3507
|
attr_accessor :project
|
@@ -3541,7 +3544,7 @@ module Google
|
|
3541
3544
|
# @return [Array<Google::Apis::SqladminV1::User>]
|
3542
3545
|
attr_accessor :items
|
3543
3546
|
|
3544
|
-
# This is always
|
3547
|
+
# This is always **sql#usersList**.
|
3545
3548
|
# Corresponds to the JSON property `kind`
|
3546
3549
|
# @return [String]
|
3547
3550
|
attr_accessor :kind
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.9.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211023"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -55,7 +55,8 @@ module Google
|
|
55
55
|
# @param [String] instance
|
56
56
|
# Cloud SQL instance ID. This does not include the project ID.
|
57
57
|
# @param [Fixnum] id
|
58
|
-
# The ID of the backup run to delete. To find a backup run ID, use the list
|
58
|
+
# The ID of the backup run to delete. To find a backup run ID, use the [list](
|
59
|
+
# https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1/backupRuns/list)
|
59
60
|
# method.
|
60
61
|
# @param [String] fields
|
61
62
|
# Selector specifying which fields to include in a partial response.
|
@@ -712,9 +713,10 @@ module Google
|
|
712
713
|
|
713
714
|
# Initiates a manual failover of a high availability (HA) primary instance to a
|
714
715
|
# standby instance, which becomes the primary instance. Users are then rerouted
|
715
|
-
# to the new primary. For more information, see the Overview of high
|
716
|
-
# availability page
|
717
|
-
#
|
716
|
+
# to the new primary. For more information, see the [Overview of high
|
717
|
+
# availability](https://cloud.google.com/sql/docs/mysql/high-availability) page
|
718
|
+
# in the Cloud SQL documentation. If using Legacy HA (MySQL only), this causes
|
719
|
+
# the instance to failover to its failover replica instance.
|
718
720
|
# @param [String] project
|
719
721
|
# ID of the project that contains the read replica.
|
720
722
|
# @param [String] instance
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-sqladmin_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.9.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|