google-apis-sqladmin_v1beta4 0.16.0 → 0.20.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_v1beta4/classes.rb +193 -190
- data/lib/google/apis/sqladmin_v1beta4/gem_version.rb +2 -2
- data/lib/google/apis/sqladmin_v1beta4/representations.rb +1 -0
- data/lib/google/apis/sqladmin_v1beta4/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: 0cd21ffa670dbc250563d02456473e3ac49b23f95883fc33f1baf91d402be894
|
4
|
+
data.tar.gz: d4375490241a6b761c532d26bbe41fdf139bf9e9761b2bdc4c2d3cd4d07bf4b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 539b97958a1615c734a008097807d8579c91e751dff9d98c022c50b99a87c447bfeff9b0a26d367dc25247d39df09de53bc0e38f2387c45460c29482df0aee01
|
7
|
+
data.tar.gz: 387e290a8d3b30a24146c16203eadce4d336a9fcaa82773841079694caa483a926885d465499c1039910028ac5955c7a73c8cb4a254f425ade268e123a42cb66
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-sqladmin_v1beta4
|
2
2
|
|
3
|
+
### v0.20.0 (2021-11-04)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211023
|
6
|
+
|
7
|
+
### v0.19.0 (2021-10-27)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211017
|
10
|
+
* Unspecified changes
|
11
|
+
|
12
|
+
### v0.18.0 (2021-10-08)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210929
|
15
|
+
|
16
|
+
### v0.17.0 (2021-09-21)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210913
|
19
|
+
|
3
20
|
### v0.16.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
|
|
@@ -26,13 +26,13 @@ module Google
|
|
26
26
|
class AclEntry
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
29
|
-
# The time when this access control entry expires in RFC 3339
|
30
|
-
# example
|
29
|
+
# The time when this access control entry expires in [RFC 3339](https://tools.
|
30
|
+
# ietf.org/html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
|
31
31
|
# Corresponds to the JSON property `expirationTime`
|
32
32
|
# @return [String]
|
33
33
|
attr_accessor :expiration_time
|
34
34
|
|
35
|
-
# This is always
|
35
|
+
# This is always **sql#aclEntry**.
|
36
36
|
# Corresponds to the JSON property `kind`
|
37
37
|
# @return [String]
|
38
38
|
attr_accessor :kind
|
@@ -114,7 +114,7 @@ module Google
|
|
114
114
|
attr_accessor :enabled
|
115
115
|
alias_method :enabled?, :enabled
|
116
116
|
|
117
|
-
# This is always
|
117
|
+
# This is always **sql#backupConfiguration**.
|
118
118
|
# Corresponds to the JSON property `kind`
|
119
119
|
# @return [String]
|
120
120
|
attr_accessor :kind
|
@@ -137,7 +137,7 @@ module Google
|
|
137
137
|
alias_method :replication_log_archiving_enabled?, :replication_log_archiving_enabled
|
138
138
|
|
139
139
|
# Start time for the daily backup configuration in UTC timezone in the 24 hour
|
140
|
-
# format -
|
140
|
+
# format - **HH:MM**.
|
141
141
|
# Corresponds to the JSON property `startTime`
|
142
142
|
# @return [String]
|
143
143
|
attr_accessor :start_time
|
@@ -175,7 +175,7 @@ module Google
|
|
175
175
|
# @return [Fixnum]
|
176
176
|
attr_accessor :backup_id
|
177
177
|
|
178
|
-
# This is always
|
178
|
+
# This is always **sql#backupContext**.
|
179
179
|
# Corresponds to the JSON property `kind`
|
180
180
|
# @return [String]
|
181
181
|
attr_accessor :kind
|
@@ -243,14 +243,14 @@ module Google
|
|
243
243
|
# @return [Google::Apis::SqladminV1beta4::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::SqladminV1beta4::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
|
@@ -522,7 +524,7 @@ module Google
|
|
522
524
|
# @return [String]
|
523
525
|
attr_accessor :instance
|
524
526
|
|
525
|
-
# This is always
|
527
|
+
# This is always **sql#database**.
|
526
528
|
# Corresponds to the JSON property `kind`
|
527
529
|
# @return [String]
|
528
530
|
attr_accessor :kind
|
@@ -573,14 +575,14 @@ module Google
|
|
573
575
|
|
574
576
|
# The name of the flag. These flags are passed at instance startup, so include
|
575
577
|
# both server options and system variables. Flags are specified with underscores,
|
576
|
-
# not hyphens. For more information, see Configuring Database Flags
|
577
|
-
# Cloud SQL documentation.
|
578
|
+
# not hyphens. For more information, see [Configuring Database Flags](https://
|
579
|
+
# cloud.google.com/sql/docs/mysql/flags) in the Cloud SQL documentation.
|
578
580
|
# Corresponds to the JSON property `name`
|
579
581
|
# @return [String]
|
580
582
|
attr_accessor :name
|
581
583
|
|
582
|
-
# The value of the flag. Booleans are set to
|
583
|
-
# This field must be omitted if the flag doesn't take a value.
|
584
|
+
# The value of the flag. Booleans are set to **on** for true and **off** for
|
585
|
+
# false. This field must be omitted if the flag doesn't take a value.
|
584
586
|
# Corresponds to the JSON property `value`
|
585
587
|
# @return [String]
|
586
588
|
attr_accessor :value
|
@@ -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::SqladminV1beta4::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::SqladminV1beta4::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
|
@@ -899,7 +893,7 @@ module Google
|
|
899
893
|
class DemoteMasterConfiguration
|
900
894
|
include Google::Apis::Core::Hashable
|
901
895
|
|
902
|
-
# This is always
|
896
|
+
# This is always **sql#demoteMasterConfiguration**.
|
903
897
|
# Corresponds to the JSON property `kind`
|
904
898
|
# @return [String]
|
905
899
|
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,7 +940,7 @@ 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
|
@@ -992,7 +986,7 @@ module Google
|
|
992
986
|
# @return [String]
|
993
987
|
attr_accessor :client_key
|
994
988
|
|
995
|
-
# This is always
|
989
|
+
# This is always **sql#demoteMasterMysqlReplicaConfiguration**.
|
996
990
|
# Corresponds to the JSON property `kind`
|
997
991
|
# @return [String]
|
998
992
|
attr_accessor :kind
|
@@ -1065,7 +1059,7 @@ module Google
|
|
1065
1059
|
class DiskEncryptionConfiguration
|
1066
1060
|
include Google::Apis::Core::Hashable
|
1067
1061
|
|
1068
|
-
# This is always
|
1062
|
+
# This is always **sql#diskEncryptionConfiguration**.
|
1069
1063
|
# Corresponds to the JSON property `kind`
|
1070
1064
|
# @return [String]
|
1071
1065
|
attr_accessor :kind
|
@@ -1090,7 +1084,7 @@ module Google
|
|
1090
1084
|
class DiskEncryptionStatus
|
1091
1085
|
include Google::Apis::Core::Hashable
|
1092
1086
|
|
1093
|
-
# This is always
|
1087
|
+
# This is always **sql#diskEncryptionStatus**.
|
1094
1088
|
# Corresponds to the JSON property `kind`
|
1095
1089
|
# @return [String]
|
1096
1090
|
attr_accessor :kind
|
@@ -1115,32 +1109,32 @@ module Google
|
|
1115
1109
|
class ExportContext
|
1116
1110
|
include Google::Apis::Core::Hashable
|
1117
1111
|
|
1118
|
-
# Options for exporting data as CSV.
|
1112
|
+
# Options for exporting data as CSV. **MySQL** and **PostgreSQL** instances only.
|
1119
1113
|
# Corresponds to the JSON property `csvExportOptions`
|
1120
1114
|
# @return [Google::Apis::SqladminV1beta4::ExportContext::CsvExportOptions]
|
1121
1115
|
attr_accessor :csv_export_options
|
1122
1116
|
|
1123
|
-
# Databases to be exported. *MySQL instances
|
1124
|
-
# database is specified, all databases are exported, except for the
|
1125
|
-
# system database. If
|
1126
|
-
# by using this property or by using the
|
1127
|
-
# which takes precedence over this property. *
|
1128
|
-
# specify one database to be exported. If
|
1129
|
-
# must match the one specified in the
|
1130
|
-
# SQL Server instances
|
1131
|
-
# fileType
|
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
|
1137
|
-
# CSV
|
1138
|
-
# 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
|
1142
1136
|
|
1143
|
-
# This is always
|
1137
|
+
# This is always **sql#exportContext**.
|
1144
1138
|
# Corresponds to the JSON property `kind`
|
1145
1139
|
# @return [String]
|
1146
1140
|
attr_accessor :kind
|
@@ -1157,9 +1151,9 @@ module Google
|
|
1157
1151
|
attr_accessor :sql_export_options
|
1158
1152
|
|
1159
1153
|
# The path to the file in Google Cloud Storage where the export will be stored.
|
1160
|
-
# The URI is in the form
|
1161
|
-
# the request succeeds, but the operation fails. If
|
1162
|
-
# filename ends with .gz, the contents are compressed.
|
1154
|
+
# The URI is in the form **gs://bucketName/fileName**. If the file already
|
1155
|
+
# exists, the request succeeds, but the operation fails. If **fileType** is **
|
1156
|
+
# SQL** and the filename ends with .gz, the contents are compressed.
|
1163
1157
|
# Corresponds to the JSON property `uri`
|
1164
1158
|
# @return [String]
|
1165
1159
|
attr_accessor :uri
|
@@ -1179,7 +1173,7 @@ module Google
|
|
1179
1173
|
@uri = args[:uri] if args.key?(:uri)
|
1180
1174
|
end
|
1181
1175
|
|
1182
|
-
# Options for exporting data as CSV.
|
1176
|
+
# Options for exporting data as CSV. **MySQL** and **PostgreSQL** instances only.
|
1183
1177
|
class CsvExportOptions
|
1184
1178
|
include Google::Apis::Core::Hashable
|
1185
1179
|
|
@@ -1262,11 +1256,11 @@ 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
|
-
# the dump file includes a CHANGE MASTER TO statement with the binary log
|
1267
|
-
# coordinates, and --set-gtid-purged is set to ON. If set to
|
1268
|
-
# MASTER TO statement is written as a SQL comment and has no effect. If set to
|
1269
|
-
# any value other than
|
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
|
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]
|
1272
1266
|
attr_accessor :master_data
|
@@ -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
|
@@ -1319,13 +1313,13 @@ module Google
|
|
1319
1313
|
# @return [Array<Fixnum>]
|
1320
1314
|
attr_accessor :allowed_int_values
|
1321
1315
|
|
1322
|
-
# For
|
1316
|
+
# For **STRING** flags, a list of strings that the value can be set to.
|
1323
1317
|
# Corresponds to the JSON property `allowedStringValues`
|
1324
1318
|
# @return [Array<String>]
|
1325
1319
|
attr_accessor :allowed_string_values
|
1326
1320
|
|
1327
|
-
# The database version this flag applies to. Can be
|
1328
|
-
#
|
1321
|
+
# The database version this flag applies to. Can be **MYSQL_8_0**, **MYSQL_5_6**,
|
1322
|
+
# or **MYSQL_5_7**.
|
1329
1323
|
# Corresponds to the JSON property `appliesTo`
|
1330
1324
|
# @return [Array<String>]
|
1331
1325
|
attr_accessor :applies_to
|
@@ -1336,36 +1330,37 @@ module Google
|
|
1336
1330
|
attr_accessor :in_beta
|
1337
1331
|
alias_method :in_beta?, :in_beta
|
1338
1332
|
|
1339
|
-
# This is always
|
1333
|
+
# This is always **sql#flag**.
|
1340
1334
|
# Corresponds to the JSON property `kind`
|
1341
1335
|
# @return [String]
|
1342
1336
|
attr_accessor :kind
|
1343
1337
|
|
1344
|
-
# For
|
1338
|
+
# For **INTEGER** flags, the maximum allowed value.
|
1345
1339
|
# Corresponds to the JSON property `maxValue`
|
1346
1340
|
# @return [Fixnum]
|
1347
1341
|
attr_accessor :max_value
|
1348
1342
|
|
1349
|
-
# For
|
1343
|
+
# For **INTEGER** flags, the minimum allowed value.
|
1350
1344
|
# Corresponds to the JSON property `minValue`
|
1351
1345
|
# @return [Fixnum]
|
1352
1346
|
attr_accessor :min_value
|
1353
1347
|
|
1354
1348
|
# This is the name of the flag. Flag names always use underscores, not hyphens,
|
1355
|
-
# for example:
|
1349
|
+
# for example: **max_allowed_packet**
|
1356
1350
|
# Corresponds to the JSON property `name`
|
1357
1351
|
# @return [String]
|
1358
1352
|
attr_accessor :name
|
1359
1353
|
|
1360
|
-
# Indicates whether changing this flag will trigger a database restart.
|
1354
|
+
# Indicates whether changing this flag will trigger a database restart. Only
|
1355
|
+
# applicable to Second Generation instances.
|
1361
1356
|
# Corresponds to the JSON property `requiresRestart`
|
1362
1357
|
# @return [Boolean]
|
1363
1358
|
attr_accessor :requires_restart
|
1364
1359
|
alias_method :requires_restart?, :requires_restart
|
1365
1360
|
|
1366
|
-
# The type of the flag. Flags are typed to being
|
1367
|
-
# or
|
1368
|
-
# skip_grant_tables
|
1361
|
+
# The type of the flag. Flags are typed to being **BOOLEAN**, **STRING**, **
|
1362
|
+
# INTEGER** or **NONE**. **NONE** is used for flags which do not take a value,
|
1363
|
+
# such as **skip_grant_tables**.
|
1369
1364
|
# Corresponds to the JSON property `type`
|
1370
1365
|
# @return [String]
|
1371
1366
|
attr_accessor :type
|
@@ -1398,7 +1393,7 @@ module Google
|
|
1398
1393
|
# @return [Array<Google::Apis::SqladminV1beta4::Flag>]
|
1399
1394
|
attr_accessor :items
|
1400
1395
|
|
1401
|
-
# This is always
|
1396
|
+
# This is always **sql#flagsList**.
|
1402
1397
|
# Corresponds to the JSON property `kind`
|
1403
1398
|
# @return [String]
|
1404
1399
|
attr_accessor :kind
|
@@ -1433,6 +1428,11 @@ module Google
|
|
1433
1428
|
# @return [String]
|
1434
1429
|
attr_accessor :read_time
|
1435
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
|
+
|
1436
1436
|
def initialize(**args)
|
1437
1437
|
update!(**args)
|
1438
1438
|
end
|
@@ -1442,6 +1442,7 @@ module Google
|
|
1442
1442
|
@access_token = args[:access_token] if args.key?(:access_token)
|
1443
1443
|
@public_key = args[:public_key] if args.key?(:public_key)
|
1444
1444
|
@read_time = args[:read_time] if args.key?(:read_time)
|
1445
|
+
@valid_duration = args[:valid_duration] if args.key?(:valid_duration)
|
1445
1446
|
end
|
1446
1447
|
end
|
1447
1448
|
|
@@ -1478,16 +1479,17 @@ module Google
|
|
1478
1479
|
# @return [Google::Apis::SqladminV1beta4::ImportContext::CsvImportOptions]
|
1479
1480
|
attr_accessor :csv_import_options
|
1480
1481
|
|
1481
|
-
# The target database for the import. If
|
1482
|
+
# The target database for the import. If **fileType** is **SQL**, this field is
|
1482
1483
|
# required only if the import file does not specify a database, and is
|
1483
|
-
# overridden by any database specification in the import file. If
|
1484
|
-
# CSV
|
1484
|
+
# overridden by any database specification in the import file. If **fileType**
|
1485
|
+
# is **CSV**, one database must be specified.
|
1485
1486
|
# Corresponds to the JSON property `database`
|
1486
1487
|
# @return [String]
|
1487
1488
|
attr_accessor :database
|
1488
1489
|
|
1489
|
-
# The file type for the specified uri. *SQL
|
1490
|
-
# CSV
|
1490
|
+
# The file type for the specified uri. * **SQL**: The file contains SQL
|
1491
|
+
# statements. * **CSV**: The file contains CSV data. * **BAK**: The file
|
1492
|
+
# contains backup data for a SQL Server instance.
|
1491
1493
|
# Corresponds to the JSON property `fileType`
|
1492
1494
|
# @return [String]
|
1493
1495
|
attr_accessor :file_type
|
@@ -1497,15 +1499,15 @@ module Google
|
|
1497
1499
|
# @return [String]
|
1498
1500
|
attr_accessor :import_user
|
1499
1501
|
|
1500
|
-
# This is always
|
1502
|
+
# This is always **sql#importContext**.
|
1501
1503
|
# Corresponds to the JSON property `kind`
|
1502
1504
|
# @return [String]
|
1503
1505
|
attr_accessor :kind
|
1504
1506
|
|
1505
|
-
# Path to the import file in Cloud Storage, in the form
|
1506
|
-
# fileName
|
1507
|
-
# The instance must have write permissions to the bucket and read access
|
1508
|
-
# file.
|
1507
|
+
# Path to the import file in Cloud Storage, in the form **gs://bucketName/
|
1508
|
+
# fileName**. Compressed gzip files (.gz) are supported when **fileType** is **
|
1509
|
+
# SQL**. The instance must have write permissions to the bucket and read access
|
1510
|
+
# to the file.
|
1509
1511
|
# Corresponds to the JSON property `uri`
|
1510
1512
|
# @return [String]
|
1511
1513
|
attr_accessor :uri
|
@@ -1547,8 +1549,8 @@ module Google
|
|
1547
1549
|
class EncryptionOptions
|
1548
1550
|
include Google::Apis::Core::Hashable
|
1549
1551
|
|
1550
|
-
# Path to the Certificate (.cer) in Cloud Storage, in the form
|
1551
|
-
# fileName
|
1552
|
+
# Path to the Certificate (.cer) in Cloud Storage, in the form **gs://bucketName/
|
1553
|
+
# fileName**. The instance must have write permissions to the bucket and read
|
1552
1554
|
# access to the file.
|
1553
1555
|
# Corresponds to the JSON property `certPath`
|
1554
1556
|
# @return [String]
|
@@ -1559,8 +1561,8 @@ module Google
|
|
1559
1561
|
# @return [String]
|
1560
1562
|
attr_accessor :pvk_password
|
1561
1563
|
|
1562
|
-
# Path to the Certificate Private Key (.pvk) in Cloud Storage, in the form
|
1563
|
-
# bucketName/fileName
|
1564
|
+
# Path to the Certificate Private Key (.pvk) in Cloud Storage, in the form **gs:/
|
1565
|
+
# /bucketName/fileName**. The instance must have write permissions to the bucket
|
1564
1566
|
# and read access to the file.
|
1565
1567
|
# Corresponds to the JSON property `pvkPath`
|
1566
1568
|
# @return [String]
|
@@ -1821,7 +1823,7 @@ module Google
|
|
1821
1823
|
# @return [Array<Google::Apis::SqladminV1beta4::DatabaseInstance>]
|
1822
1824
|
attr_accessor :items
|
1823
1825
|
|
1824
|
-
# This is always
|
1826
|
+
# This is always **sql#instancesList**.
|
1825
1827
|
# Corresponds to the JSON property `kind`
|
1826
1828
|
# @return [String]
|
1827
1829
|
attr_accessor :kind
|
@@ -1864,7 +1866,7 @@ module Google
|
|
1864
1866
|
# @return [Array<Google::Apis::SqladminV1beta4::SslCert>]
|
1865
1867
|
attr_accessor :certs
|
1866
1868
|
|
1867
|
-
# This is always
|
1869
|
+
# This is always **sql#instancesListServerCas**.
|
1868
1870
|
# Corresponds to the JSON property `kind`
|
1869
1871
|
# @return [String]
|
1870
1872
|
attr_accessor :kind
|
@@ -1955,7 +1957,7 @@ module Google
|
|
1955
1957
|
|
1956
1958
|
# The list of external networks that are allowed to connect to the instance
|
1957
1959
|
# using the IP. In 'CIDR' notation, also known as 'slash' notation (for example:
|
1958
|
-
#
|
1960
|
+
# **192.168.100.0/24**).
|
1959
1961
|
# Corresponds to the JSON property `authorizedNetworks`
|
1960
1962
|
# @return [Array<Google::Apis::SqladminV1beta4::AclEntry>]
|
1961
1963
|
attr_accessor :authorized_networks
|
@@ -1967,8 +1969,8 @@ module Google
|
|
1967
1969
|
alias_method :ipv4_enabled?, :ipv4_enabled
|
1968
1970
|
|
1969
1971
|
# The resource link for the VPC network from which the Cloud SQL instance is
|
1970
|
-
# accessible for private IP. For example,
|
1971
|
-
# default
|
1972
|
+
# accessible for private IP. For example, **/projects/myProject/global/networks/
|
1973
|
+
# default**. This setting can be updated, but it cannot be removed after it is
|
1972
1974
|
# set.
|
1973
1975
|
# Corresponds to the JSON property `privateNetwork`
|
1974
1976
|
# @return [String]
|
@@ -2003,17 +2005,17 @@ module Google
|
|
2003
2005
|
# @return [String]
|
2004
2006
|
attr_accessor :ip_address
|
2005
2007
|
|
2006
|
-
# The due time for this IP to be retired in RFC 3339
|
2007
|
-
# 11-15T16:19:00.094Z
|
2008
|
-
# be retired.
|
2008
|
+
# The due time for this IP to be retired in [RFC 3339](https://tools.ietf.org/
|
2009
|
+
# html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**. This field is
|
2010
|
+
# only available when the IP is scheduled to be retired.
|
2009
2011
|
# Corresponds to the JSON property `timeToRetire`
|
2010
2012
|
# @return [String]
|
2011
2013
|
attr_accessor :time_to_retire
|
2012
2014
|
|
2013
|
-
# The type of this IP address. A
|
2014
|
-
# accept incoming connections. A
|
2015
|
-
# accept incoming connections. An
|
2016
|
-
# connections originating from the instance, if supported.
|
2015
|
+
# The type of this IP address. A **PRIMARY** address is a public address that
|
2016
|
+
# can accept incoming connections. A **PRIVATE** address is a private address
|
2017
|
+
# that can accept incoming connections. An **OUTGOING** address is the source
|
2018
|
+
# address of connections originating from the instance, if supported.
|
2017
2019
|
# Corresponds to the JSON property `type`
|
2018
2020
|
# @return [String]
|
2019
2021
|
attr_accessor :type
|
@@ -2030,11 +2032,9 @@ module Google
|
|
2030
2032
|
end
|
2031
2033
|
end
|
2032
2034
|
|
2033
|
-
# Preferred location. This specifies where a Cloud SQL instance is located
|
2034
|
-
#
|
2035
|
-
#
|
2036
|
-
# instance will be located as close as possible within the region. Only one
|
2037
|
-
# location may be specified.
|
2035
|
+
# Preferred location. This specifies where a Cloud SQL instance is located. Note
|
2036
|
+
# that if the preferred location is not available, the instance will be located
|
2037
|
+
# as close as possible within the region. Only one location may be specified.
|
2038
2038
|
class LocationPreference
|
2039
2039
|
include Google::Apis::Core::Hashable
|
2040
2040
|
|
@@ -2044,7 +2044,7 @@ module Google
|
|
2044
2044
|
# @return [String]
|
2045
2045
|
attr_accessor :follow_gae_application
|
2046
2046
|
|
2047
|
-
# This is always
|
2047
|
+
# This is always **sql#locationPreference**.
|
2048
2048
|
# Corresponds to the JSON property `kind`
|
2049
2049
|
# @return [String]
|
2050
2050
|
attr_accessor :kind
|
@@ -2089,12 +2089,14 @@ module Google
|
|
2089
2089
|
# @return [Fixnum]
|
2090
2090
|
attr_accessor :hour
|
2091
2091
|
|
2092
|
-
# This is always
|
2092
|
+
# This is always **sql#maintenanceWindow**.
|
2093
2093
|
# Corresponds to the JSON property `kind`
|
2094
2094
|
# @return [String]
|
2095
2095
|
attr_accessor :kind
|
2096
2096
|
|
2097
|
-
# Maintenance timing setting:
|
2097
|
+
# Maintenance timing setting: **canary** (Earlier) or **stable** (Later). [Learn
|
2098
|
+
# more](https://cloud.google.com/sql/docs/mysql/instance-settings#maintenance-
|
2099
|
+
# timing-2ndgen).
|
2098
2100
|
# Corresponds to the JSON property `updateTrack`
|
2099
2101
|
# @return [String]
|
2100
2102
|
attr_accessor :update_track
|
@@ -2146,7 +2148,7 @@ module Google
|
|
2146
2148
|
# @return [String]
|
2147
2149
|
attr_accessor :dump_file_path
|
2148
2150
|
|
2149
|
-
# This is always
|
2151
|
+
# This is always **sql#mysqlReplicaConfiguration**.
|
2150
2152
|
# Corresponds to the JSON property `kind`
|
2151
2153
|
# @return [String]
|
2152
2154
|
attr_accessor :kind
|
@@ -2247,7 +2249,7 @@ module Google
|
|
2247
2249
|
# @return [String]
|
2248
2250
|
attr_accessor :host_port
|
2249
2251
|
|
2250
|
-
# This is always
|
2252
|
+
# This is always **sql#onPremisesConfiguration**.
|
2251
2253
|
# Corresponds to the JSON property `kind`
|
2252
2254
|
# @return [String]
|
2253
2255
|
attr_accessor :kind
|
@@ -2296,8 +2298,8 @@ module Google
|
|
2296
2298
|
# @return [Google::Apis::SqladminV1beta4::BackupContext]
|
2297
2299
|
attr_accessor :backup_context
|
2298
2300
|
|
2299
|
-
# The time this operation finished in UTC timezone in RFC 3339
|
2300
|
-
# example
|
2301
|
+
# The time this operation finished in UTC timezone in [RFC 3339](https://tools.
|
2302
|
+
# ietf.org/html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
|
2301
2303
|
# Corresponds to the JSON property `endTime`
|
2302
2304
|
# @return [String]
|
2303
2305
|
attr_accessor :end_time
|
@@ -2317,13 +2319,13 @@ module Google
|
|
2317
2319
|
# @return [Google::Apis::SqladminV1beta4::ImportContext]
|
2318
2320
|
attr_accessor :import_context
|
2319
2321
|
|
2320
|
-
# The time this operation was enqueued in UTC timezone in RFC 3339
|
2321
|
-
# example
|
2322
|
+
# The time this operation was enqueued in UTC timezone in [RFC 3339](https://
|
2323
|
+
# tools.ietf.org/html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
|
2322
2324
|
# Corresponds to the JSON property `insertTime`
|
2323
2325
|
# @return [String]
|
2324
2326
|
attr_accessor :insert_time
|
2325
2327
|
|
2326
|
-
# This is always
|
2328
|
+
# This is always **sql#operation**.
|
2327
2329
|
# Corresponds to the JSON property `kind`
|
2328
2330
|
# @return [String]
|
2329
2331
|
attr_accessor :kind
|
@@ -2335,9 +2337,10 @@ module Google
|
|
2335
2337
|
# @return [String]
|
2336
2338
|
attr_accessor :name
|
2337
2339
|
|
2338
|
-
# The type of the operation. Valid values are: *CREATE*
|
2339
|
-
# RESTART*
|
2340
|
-
# DELETE_USER*
|
2340
|
+
# The type of the operation. Valid values are: * **CREATE** * **DELETE** * **
|
2341
|
+
# UPDATE** * **RESTART** * **IMPORT** * **EXPORT** * **BACKUP_VOLUME** * **
|
2342
|
+
# RESTORE_VOLUME** * **CREATE_USER** * **DELETE_USER** * **CREATE_DATABASE** * **
|
2343
|
+
# DELETE_DATABASE**
|
2341
2344
|
# Corresponds to the JSON property `operationType`
|
2342
2345
|
# @return [String]
|
2343
2346
|
attr_accessor :operation_type
|
@@ -2347,14 +2350,14 @@ module Google
|
|
2347
2350
|
# @return [String]
|
2348
2351
|
attr_accessor :self_link
|
2349
2352
|
|
2350
|
-
# The time this operation actually started in UTC timezone in RFC 3339
|
2351
|
-
# for example
|
2353
|
+
# The time this operation actually started in UTC timezone in [RFC 3339](https://
|
2354
|
+
# tools.ietf.org/html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
|
2352
2355
|
# Corresponds to the JSON property `startTime`
|
2353
2356
|
# @return [String]
|
2354
2357
|
attr_accessor :start_time
|
2355
2358
|
|
2356
|
-
# The status of an operation. Valid values are: *PENDING*
|
2357
|
-
# SQL_OPERATION_STATUS_UNSPECIFIED
|
2359
|
+
# The status of an operation. Valid values are: * **PENDING** * **RUNNING** * **
|
2360
|
+
# DONE** * **SQL_OPERATION_STATUS_UNSPECIFIED**
|
2358
2361
|
# Corresponds to the JSON property `status`
|
2359
2362
|
# @return [String]
|
2360
2363
|
attr_accessor :status
|
@@ -2413,7 +2416,7 @@ module Google
|
|
2413
2416
|
# @return [String]
|
2414
2417
|
attr_accessor :code
|
2415
2418
|
|
2416
|
-
# This is always
|
2419
|
+
# This is always **sql#operationError**.
|
2417
2420
|
# Corresponds to the JSON property `kind`
|
2418
2421
|
# @return [String]
|
2419
2422
|
attr_accessor :kind
|
@@ -2444,7 +2447,7 @@ module Google
|
|
2444
2447
|
# @return [Array<Google::Apis::SqladminV1beta4::OperationError>]
|
2445
2448
|
attr_accessor :errors
|
2446
2449
|
|
2447
|
-
# This is always
|
2450
|
+
# This is always **sql#operationErrors**.
|
2448
2451
|
# Corresponds to the JSON property `kind`
|
2449
2452
|
# @return [String]
|
2450
2453
|
attr_accessor :kind
|
@@ -2460,7 +2463,7 @@ module Google
|
|
2460
2463
|
end
|
2461
2464
|
end
|
2462
2465
|
|
2463
|
-
#
|
2466
|
+
# Operations list response.
|
2464
2467
|
class ListOperationsResponse
|
2465
2468
|
include Google::Apis::Core::Hashable
|
2466
2469
|
|
@@ -2469,7 +2472,7 @@ module Google
|
|
2469
2472
|
# @return [Array<Google::Apis::SqladminV1beta4::Operation>]
|
2470
2473
|
attr_accessor :items
|
2471
2474
|
|
2472
|
-
# This is always
|
2475
|
+
# This is always **sql#operationsList**.
|
2473
2476
|
# Corresponds to the JSON property `kind`
|
2474
2477
|
# @return [String]
|
2475
2478
|
attr_accessor :kind
|
@@ -2496,8 +2499,8 @@ module Google
|
|
2496
2499
|
class ReplicaConfiguration
|
2497
2500
|
include Google::Apis::Core::Hashable
|
2498
2501
|
|
2499
|
-
# Specifies if the replica is the failover target. If the field is set to
|
2500
|
-
# the replica will be designated as a failover replica. In case the primary
|
2502
|
+
# Specifies if the replica is the failover target. If the field is set to **true*
|
2503
|
+
# * the replica will be designated as a failover replica. In case the primary
|
2501
2504
|
# instance fails, the replica instance will be promoted as the new primary
|
2502
2505
|
# instance. Only one replica can be specified as failover target, and the
|
2503
2506
|
# replica has to be in different zone with the primary instance.
|
@@ -2506,7 +2509,7 @@ module Google
|
|
2506
2509
|
attr_accessor :failover_target
|
2507
2510
|
alias_method :failover_target?, :failover_target
|
2508
2511
|
|
2509
|
-
# This is always
|
2512
|
+
# This is always **sql#replicaConfiguration**.
|
2510
2513
|
# Corresponds to the JSON property `kind`
|
2511
2514
|
# @return [String]
|
2512
2515
|
attr_accessor :kind
|
@@ -2538,8 +2541,8 @@ module Google
|
|
2538
2541
|
attr_accessor :reschedule_type
|
2539
2542
|
|
2540
2543
|
# Optional. Timestamp when the maintenance shall be rescheduled to if
|
2541
|
-
# reschedule_type=SPECIFIC_TIME, in RFC 3339
|
2542
|
-
# 19:00.094Z
|
2544
|
+
# reschedule_type=SPECIFIC_TIME, in [RFC 3339](https://tools.ietf.org/html/
|
2545
|
+
# rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
|
2543
2546
|
# Corresponds to the JSON property `scheduleTime`
|
2544
2547
|
# @return [String]
|
2545
2548
|
attr_accessor :schedule_time
|
@@ -2570,7 +2573,7 @@ module Google
|
|
2570
2573
|
# @return [String]
|
2571
2574
|
attr_accessor :instance_id
|
2572
2575
|
|
2573
|
-
# This is always
|
2576
|
+
# This is always **sql#restoreBackupContext**.
|
2574
2577
|
# Corresponds to the JSON property `kind`
|
2575
2578
|
# @return [String]
|
2576
2579
|
attr_accessor :kind
|
@@ -2597,7 +2600,7 @@ module Google
|
|
2597
2600
|
class RotateServerCaContext
|
2598
2601
|
include Google::Apis::Core::Hashable
|
2599
2602
|
|
2600
|
-
# This is always
|
2603
|
+
# This is always **sql#rotateServerCaContext**.
|
2601
2604
|
# Corresponds to the JSON property `kind`
|
2602
2605
|
# @return [String]
|
2603
2606
|
attr_accessor :kind
|
@@ -2624,10 +2627,10 @@ module Google
|
|
2624
2627
|
include Google::Apis::Core::Hashable
|
2625
2628
|
|
2626
2629
|
# The activation policy specifies when the instance is activated; it is
|
2627
|
-
# applicable only when the instance state is RUNNABLE. Valid values: *ALWAYS
|
2628
|
-
# The instance is on, and remains so even in the absence of connection
|
2629
|
-
# *NEVER
|
2630
|
-
# request arrives.
|
2630
|
+
# applicable only when the instance state is RUNNABLE. Valid values: * **ALWAYS**
|
2631
|
+
# : The instance is on, and remains so even in the absence of connection
|
2632
|
+
# requests. * **NEVER**: The instance is off; it is not activated, even if a
|
2633
|
+
# connection request arrives.
|
2631
2634
|
# Corresponds to the JSON property `activationPolicy`
|
2632
2635
|
# @return [String]
|
2633
2636
|
attr_accessor :activation_policy
|
@@ -2643,11 +2646,12 @@ module Google
|
|
2643
2646
|
# @return [Array<String>]
|
2644
2647
|
attr_accessor :authorized_gae_applications
|
2645
2648
|
|
2646
|
-
# Availability type. Potential values: *ZONAL
|
2647
|
-
# only one zone. Outages in that zone affect data accessibility. *
|
2648
|
-
# instance can serve data from more than one zone in a region (
|
2649
|
-
# available)
|
2650
|
-
# Configuration.
|
2649
|
+
# Availability type. Potential values: * **ZONAL**: The instance serves data
|
2650
|
+
# from only one zone. Outages in that zone affect data accessibility. * **
|
2651
|
+
# REGIONAL**: The instance can serve data from more than one zone in a region (
|
2652
|
+
# it is highly available)./ For more information, see [Overview of the High
|
2653
|
+
# Availability Configuration](https://cloud.google.com/sql/docs/mysql/high-
|
2654
|
+
# availability).
|
2651
2655
|
# Corresponds to the JSON property `availabilityType`
|
2652
2656
|
# @return [String]
|
2653
2657
|
attr_accessor :availability_type
|
@@ -2675,7 +2679,7 @@ module Google
|
|
2675
2679
|
# @return [Fixnum]
|
2676
2680
|
attr_accessor :data_disk_size_gb
|
2677
2681
|
|
2678
|
-
# The type of data disk: PD_SSD (default) or PD_HDD
|
2682
|
+
# The type of data disk: **PD_SSD** (default) or **PD_HDD**. Not used for First
|
2679
2683
|
# Generation instances.
|
2680
2684
|
# Corresponds to the JSON property `dataDiskType`
|
2681
2685
|
# @return [String]
|
@@ -2709,16 +2713,14 @@ module Google
|
|
2709
2713
|
# @return [Google::Apis::SqladminV1beta4::IpConfiguration]
|
2710
2714
|
attr_accessor :ip_configuration
|
2711
2715
|
|
2712
|
-
# This is always
|
2716
|
+
# This is always **sql#settings**.
|
2713
2717
|
# Corresponds to the JSON property `kind`
|
2714
2718
|
# @return [String]
|
2715
2719
|
attr_accessor :kind
|
2716
2720
|
|
2717
|
-
# Preferred location. This specifies where a Cloud SQL instance is located
|
2718
|
-
#
|
2719
|
-
#
|
2720
|
-
# instance will be located as close as possible within the region. Only one
|
2721
|
-
# location may be specified.
|
2721
|
+
# Preferred location. This specifies where a Cloud SQL instance is located. Note
|
2722
|
+
# that if the preferred location is not available, the instance will be located
|
2723
|
+
# as close as possible within the region. Only one location may be specified.
|
2722
2724
|
# Corresponds to the JSON property `locationPreference`
|
2723
2725
|
# @return [Google::Apis::SqladminV1beta4::LocationPreference]
|
2724
2726
|
attr_accessor :location_preference
|
@@ -2729,14 +2731,14 @@ module Google
|
|
2729
2731
|
# @return [Google::Apis::SqladminV1beta4::MaintenanceWindow]
|
2730
2732
|
attr_accessor :maintenance_window
|
2731
2733
|
|
2732
|
-
# The pricing plan for this instance. This can be either
|
2733
|
-
# Only
|
2734
|
+
# The pricing plan for this instance. This can be either **PER_USE** or **
|
2735
|
+
# PACKAGE**. Only **PER_USE** is supported for Second Generation instances.
|
2734
2736
|
# Corresponds to the JSON property `pricingPlan`
|
2735
2737
|
# @return [String]
|
2736
2738
|
attr_accessor :pricing_plan
|
2737
2739
|
|
2738
|
-
# The type of replication this instance uses. This can be either
|
2739
|
-
# or
|
2740
|
+
# The type of replication this instance uses. This can be either **ASYNCHRONOUS**
|
2741
|
+
# or **SYNCHRONOUS**. (Deprecated) This property was only applicable to First
|
2740
2742
|
# Generation instances.
|
2741
2743
|
# Corresponds to the JSON property `replicationType`
|
2742
2744
|
# @return [String]
|
@@ -2768,7 +2770,7 @@ module Google
|
|
2768
2770
|
# @return [Fixnum]
|
2769
2771
|
attr_accessor :storage_auto_resize_limit
|
2770
2772
|
|
2771
|
-
# The tier (or machine type) for this instance, for example
|
2773
|
+
# The tier (or machine type) for this instance, for example **db-custom-1-3840**.
|
2772
2774
|
# Corresponds to the JSON property `tier`
|
2773
2775
|
# @return [String]
|
2774
2776
|
attr_accessor :tier
|
@@ -2847,7 +2849,7 @@ module Google
|
|
2847
2849
|
# @return [String]
|
2848
2850
|
attr_accessor :detail
|
2849
2851
|
|
2850
|
-
# Can be
|
2852
|
+
# Can be **sql#externalSyncSettingError** or **sql#externalSyncSettingWarning**.
|
2851
2853
|
# Corresponds to the JSON property `kind`
|
2852
2854
|
# @return [String]
|
2853
2855
|
attr_accessor :kind
|
@@ -2968,7 +2970,7 @@ module Google
|
|
2968
2970
|
# @return [Array<Google::Apis::SqladminV1beta4::SqlExternalSyncSettingError>]
|
2969
2971
|
attr_accessor :errors
|
2970
2972
|
|
2971
|
-
# This is always
|
2973
|
+
# This is always **sql#migrationSettingErrorList**.
|
2972
2974
|
# Corresponds to the JSON property `kind`
|
2973
2975
|
# @return [String]
|
2974
2976
|
attr_accessor :kind
|
@@ -2995,14 +2997,15 @@ module Google
|
|
2995
2997
|
include Google::Apis::Core::Hashable
|
2996
2998
|
|
2997
2999
|
# The minimum recommended increase size in GigaBytes This field is consumed by
|
2998
|
-
# the frontend Writers:
|
3000
|
+
# the frontend * Writers: * the proactive database wellness job for OOD. *
|
3001
|
+
# Readers:
|
2999
3002
|
# Corresponds to the JSON property `sqlMinRecommendedIncreaseSizeGb`
|
3000
3003
|
# @return [Fixnum]
|
3001
3004
|
attr_accessor :sql_min_recommended_increase_size_gb
|
3002
3005
|
|
3003
3006
|
# This field represents the state generated by the proactive database wellness
|
3004
|
-
# job for OutOfDisk issues. Writers:
|
3005
|
-
# OOD. Readers:
|
3007
|
+
# job for OutOfDisk issues. * Writers: * the proactive database wellness job for
|
3008
|
+
# OOD. * Readers: * the proactive database wellness job
|
3006
3009
|
# Corresponds to the JSON property `sqlOutOfDiskState`
|
3007
3010
|
# @return [String]
|
3008
3011
|
attr_accessor :sql_out_of_disk_state
|
@@ -3152,14 +3155,14 @@ module Google
|
|
3152
3155
|
# @return [String]
|
3153
3156
|
attr_accessor :common_name
|
3154
3157
|
|
3155
|
-
# The time when the certificate was created in RFC 3339
|
3156
|
-
# 2012-11-15T16:19:00.094Z
|
3158
|
+
# The time when the certificate was created in [RFC 3339](https://tools.ietf.org/
|
3159
|
+
# html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
|
3157
3160
|
# Corresponds to the JSON property `createTime`
|
3158
3161
|
# @return [String]
|
3159
3162
|
attr_accessor :create_time
|
3160
3163
|
|
3161
|
-
# The time when the certificate expires in RFC 3339
|
3162
|
-
# 15T16:19:00.094Z
|
3164
|
+
# The time when the certificate expires in [RFC 3339](https://tools.ietf.org/
|
3165
|
+
# html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
|
3163
3166
|
# Corresponds to the JSON property `expirationTime`
|
3164
3167
|
# @return [String]
|
3165
3168
|
attr_accessor :expiration_time
|
@@ -3169,7 +3172,7 @@ module Google
|
|
3169
3172
|
# @return [String]
|
3170
3173
|
attr_accessor :instance
|
3171
3174
|
|
3172
|
-
# This is always
|
3175
|
+
# This is always **sql#sslCert**.
|
3173
3176
|
# Corresponds to the JSON property `kind`
|
3174
3177
|
# @return [String]
|
3175
3178
|
attr_accessor :kind
|
@@ -3282,7 +3285,7 @@ module Google
|
|
3282
3285
|
# @return [Google::Apis::SqladminV1beta4::SslCertDetail]
|
3283
3286
|
attr_accessor :client_cert
|
3284
3287
|
|
3285
|
-
# This is always
|
3288
|
+
# This is always **sql#sslCertsInsert**.
|
3286
3289
|
# Corresponds to the JSON property `kind`
|
3287
3290
|
# @return [String]
|
3288
3291
|
attr_accessor :kind
|
@@ -3321,7 +3324,7 @@ module Google
|
|
3321
3324
|
# @return [Array<Google::Apis::SqladminV1beta4::SslCert>]
|
3322
3325
|
attr_accessor :items
|
3323
3326
|
|
3324
|
-
# This is always
|
3327
|
+
# This is always **sql#sslCertsList**.
|
3325
3328
|
# Corresponds to the JSON property `kind`
|
3326
3329
|
# @return [String]
|
3327
3330
|
attr_accessor :kind
|
@@ -3437,13 +3440,13 @@ module Google
|
|
3437
3440
|
class TruncateLogContext
|
3438
3441
|
include Google::Apis::Core::Hashable
|
3439
3442
|
|
3440
|
-
# This is always
|
3443
|
+
# This is always **sql#truncateLogContext**.
|
3441
3444
|
# Corresponds to the JSON property `kind`
|
3442
3445
|
# @return [String]
|
3443
3446
|
attr_accessor :kind
|
3444
3447
|
|
3445
|
-
# The type of log to truncate. Valid values are
|
3446
|
-
# MYSQL_SLOW_TABLE
|
3448
|
+
# The type of log to truncate. Valid values are **MYSQL_GENERAL_TABLE** and **
|
3449
|
+
# MYSQL_SLOW_TABLE**.
|
3447
3450
|
# Corresponds to the JSON property `logType`
|
3448
3451
|
# @return [String]
|
3449
3452
|
attr_accessor :log_type
|
@@ -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.20.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/v1beta4/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_v1beta4
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.20.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_v1beta4/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_v1beta4/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.20.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1beta4
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|