google-apis-sqladmin_v1 0.11.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1377eb7f1fad0682d36fa8c29937e7face501185189f616a79be69e1a8729e84
|
4
|
+
data.tar.gz: 95966e905ca8536d9cde97924a89a7d7e6bc1381d142f596efcc1e84894c57cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6b51d71a052e6d284587c4adae0e5fe4c6a1f944c993c995b9ba333d2e206d4a9de496e9fc9f697119fbb0cb95f75c22d3fb4722c2b3439fa405543ef91efe7
|
7
|
+
data.tar.gz: 8aa84c174f17ace065a879e01de15e364a15f4989392703ff84d9d003ef43d55b596adf4f0726496568bbe8ed8f51d9a1d573b6d333163f9c7c5a8abd5242fcc
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-sqladmin_v1
|
2
2
|
|
3
|
+
### v0.12.0 (2022-01-28)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220117
|
6
|
+
* Regenerated using generator version 0.4.1
|
7
|
+
|
3
8
|
### v0.11.0 (2021-12-16)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20211206
|
@@ -27,12 +27,12 @@ module Google
|
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
29
29
|
# The time when this access control entry expires in [RFC 3339](https://tools.
|
30
|
-
# ietf.org/html/rfc3339) format, for example
|
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
|
@@ -244,13 +244,13 @@ module Google
|
|
244
244
|
attr_accessor :disk_encryption_status
|
245
245
|
|
246
246
|
# The time the backup operation completed in UTC timezone in [RFC 3339](https://
|
247
|
-
# tools.ietf.org/html/rfc3339) format, for example
|
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
252
|
# The time the run was enqueued in UTC timezone in [RFC 3339](https://tools.ietf.
|
253
|
-
# org/html/rfc3339) format, for example
|
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
|
@@ -287,8 +287,8 @@ module Google
|
|
287
287
|
attr_accessor :self_link
|
288
288
|
|
289
289
|
# The time the backup operation actually started in UTC timezone in [RFC 3339](
|
290
|
-
# https://tools.ietf.org/html/rfc3339) format, for example
|
291
|
-
# 094Z
|
290
|
+
# https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.
|
291
|
+
# 094Z`.
|
292
292
|
# Corresponds to the JSON property `startTime`
|
293
293
|
# @return [String]
|
294
294
|
attr_accessor :start_time
|
@@ -305,8 +305,8 @@ module Google
|
|
305
305
|
attr_accessor :type
|
306
306
|
|
307
307
|
# The start time of the backup window during which this the backup was attempted
|
308
|
-
# in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
|
309
|
-
# 11-15T16:19:00.094Z
|
308
|
+
# in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-
|
309
|
+
# 11-15T16:19:00.094Z`.
|
310
310
|
# Corresponds to the JSON property `windowStartTime`
|
311
311
|
# @return [String]
|
312
312
|
attr_accessor :window_start_time
|
@@ -345,7 +345,7 @@ module Google
|
|
345
345
|
# @return [Array<Google::Apis::SqladminV1::BackupRun>]
|
346
346
|
attr_accessor :items
|
347
347
|
|
348
|
-
# This is always
|
348
|
+
# This is always `sql#backupRunsList`.
|
349
349
|
# Corresponds to the JSON property `kind`
|
350
350
|
# @return [String]
|
351
351
|
attr_accessor :kind
|
@@ -382,7 +382,7 @@ module Google
|
|
382
382
|
# @return [Fixnum]
|
383
383
|
attr_accessor :bin_log_position
|
384
384
|
|
385
|
-
# This is always
|
385
|
+
# This is always `sql#binLogCoordinates`.
|
386
386
|
# Corresponds to the JSON property `kind`
|
387
387
|
# @return [String]
|
388
388
|
attr_accessor :kind
|
@@ -403,6 +403,16 @@ module Google
|
|
403
403
|
class CloneContext
|
404
404
|
include Google::Apis::Core::Hashable
|
405
405
|
|
406
|
+
# The name of the allocated ip range for the private ip CloudSQL instance. For
|
407
|
+
# example: "google-managed-services-default". If set, the cloned instance ip
|
408
|
+
# will be created in the allocated range. The range name must comply with [RFC
|
409
|
+
# 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-
|
410
|
+
# 63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?.
|
411
|
+
# Reserved for future use.
|
412
|
+
# Corresponds to the JSON property `allocatedIpRange`
|
413
|
+
# @return [String]
|
414
|
+
attr_accessor :allocated_ip_range
|
415
|
+
|
406
416
|
# Binary log coordinates.
|
407
417
|
# Corresponds to the JSON property `binLogCoordinates`
|
408
418
|
# @return [Google::Apis::SqladminV1::BinLogCoordinates]
|
@@ -413,7 +423,7 @@ module Google
|
|
413
423
|
# @return [String]
|
414
424
|
attr_accessor :destination_instance_name
|
415
425
|
|
416
|
-
# This is always
|
426
|
+
# This is always `sql#cloneContext`.
|
417
427
|
# Corresponds to the JSON property `kind`
|
418
428
|
# @return [String]
|
419
429
|
attr_accessor :kind
|
@@ -435,6 +445,7 @@ module Google
|
|
435
445
|
|
436
446
|
# Update properties of this object
|
437
447
|
def update!(**args)
|
448
|
+
@allocated_ip_range = args[:allocated_ip_range] if args.key?(:allocated_ip_range)
|
438
449
|
@bin_log_coordinates = args[:bin_log_coordinates] if args.key?(:bin_log_coordinates)
|
439
450
|
@destination_instance_name = args[:destination_instance_name] if args.key?(:destination_instance_name)
|
440
451
|
@kind = args[:kind] if args.key?(:kind)
|
@@ -447,19 +458,21 @@ module Google
|
|
447
458
|
class ConnectSettings
|
448
459
|
include Google::Apis::Core::Hashable
|
449
460
|
|
450
|
-
#
|
451
|
-
#
|
452
|
-
#
|
461
|
+
# `SECOND_GEN`: Cloud SQL database instance. `EXTERNAL`: A database server that
|
462
|
+
# is not managed by Google. This property is read-only; use the `tier` property
|
463
|
+
# in the `settings` object to determine the database type.
|
453
464
|
# Corresponds to the JSON property `backendType`
|
454
465
|
# @return [String]
|
455
466
|
attr_accessor :backend_type
|
456
467
|
|
457
|
-
# The database engine type and version. The
|
458
|
-
# changed after instance creation. MySQL instances:
|
459
|
-
#
|
460
|
-
#
|
461
|
-
# instances:
|
462
|
-
#
|
468
|
+
# The database engine type and version. The `databaseVersion` field cannot be
|
469
|
+
# changed after instance creation. MySQL instances: `MYSQL_8_0`, `MYSQL_5_7` (
|
470
|
+
# default), or `MYSQL_5_6`. PostgreSQL instances: `POSTGRES_9_6`, `POSTGRES_10`,
|
471
|
+
# `POSTGRES_11`, `POSTGRES_12` (default), `POSTGRES_13`, or `POSTGRES_14`. SQL
|
472
|
+
# Server instances: `SQLSERVER_2017_STANDARD` (default), `
|
473
|
+
# SQLSERVER_2017_ENTERPRISE`, `SQLSERVER_2017_EXPRESS`, `SQLSERVER_2017_WEB`, `
|
474
|
+
# SQLSERVER_2019_STANDARD`, `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`
|
475
|
+
# , or `SQLSERVER_2019_WEB`.
|
463
476
|
# Corresponds to the JSON property `databaseVersion`
|
464
477
|
# @return [String]
|
465
478
|
attr_accessor :database_version
|
@@ -474,8 +487,8 @@ module Google
|
|
474
487
|
# @return [String]
|
475
488
|
attr_accessor :kind
|
476
489
|
|
477
|
-
# The cloud region for the instance.
|
478
|
-
# region cannot be changed after instance creation.
|
490
|
+
# The cloud region for the instance. For example, `us-central1`, `europe-west1`.
|
491
|
+
# The region cannot be changed after instance creation.
|
479
492
|
# Corresponds to the JSON property `region`
|
480
493
|
# @return [String]
|
481
494
|
attr_accessor :region
|
@@ -524,7 +537,7 @@ module Google
|
|
524
537
|
# @return [String]
|
525
538
|
attr_accessor :instance
|
526
539
|
|
527
|
-
# This is always
|
540
|
+
# This is always `sql#database`.
|
528
541
|
# Corresponds to the JSON property `kind`
|
529
542
|
# @return [String]
|
530
543
|
attr_accessor :kind
|
@@ -581,7 +594,7 @@ module Google
|
|
581
594
|
# @return [String]
|
582
595
|
attr_accessor :name
|
583
596
|
|
584
|
-
# The value of the flag.
|
597
|
+
# The value of the flag. Boolean flags are set to `on` for true and `off` for
|
585
598
|
# false. This field must be omitted if the flag doesn't take a value.
|
586
599
|
# Corresponds to the JSON property `value`
|
587
600
|
# @return [String]
|
@@ -602,10 +615,9 @@ module Google
|
|
602
615
|
class DatabaseInstance
|
603
616
|
include Google::Apis::Core::Hashable
|
604
617
|
|
605
|
-
# The backend type.
|
618
|
+
# The backend type. `SECOND_GEN`: Cloud SQL database instance. `EXTERNAL`: A
|
606
619
|
# database server that is not managed by Google. This property is read-only; use
|
607
|
-
# the
|
608
|
-
# type.
|
620
|
+
# the `tier` property in the `settings` object to determine the database type.
|
609
621
|
# Corresponds to the JSON property `backendType`
|
610
622
|
# @return [String]
|
611
623
|
attr_accessor :backend_type
|
@@ -616,7 +628,7 @@ module Google
|
|
616
628
|
attr_accessor :connection_name
|
617
629
|
|
618
630
|
# Output only. The time when the instance was created in [RFC 3339](https://
|
619
|
-
# tools.ietf.org/html/rfc3339) format, for example
|
631
|
+
# tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
|
620
632
|
# Corresponds to the JSON property `createTime`
|
621
633
|
# @return [String]
|
622
634
|
attr_accessor :create_time
|
@@ -631,12 +643,12 @@ module Google
|
|
631
643
|
attr_accessor :current_disk_size
|
632
644
|
|
633
645
|
# Output only. Stores the current database version running on the instance
|
634
|
-
# including minor version such as
|
646
|
+
# including minor version such as `MYSQL_8_0_18`.
|
635
647
|
# Corresponds to the JSON property `databaseInstalledVersion`
|
636
648
|
# @return [String]
|
637
649
|
attr_accessor :database_installed_version
|
638
650
|
|
639
|
-
# The database engine type and version. The
|
651
|
+
# The database engine type and version. The `databaseVersion` field cannot be
|
640
652
|
# changed after instance creation.
|
641
653
|
# Corresponds to the JSON property `databaseVersion`
|
642
654
|
# @return [String]
|
@@ -653,7 +665,7 @@ module Google
|
|
653
665
|
attr_accessor :disk_encryption_status
|
654
666
|
|
655
667
|
# This field is deprecated and will be removed from a future version of the API.
|
656
|
-
# Use the
|
668
|
+
# Use the `settings.settingsVersion` field instead.
|
657
669
|
# Corresponds to the JSON property `etag`
|
658
670
|
# @return [String]
|
659
671
|
attr_accessor :etag
|
@@ -687,7 +699,7 @@ module Google
|
|
687
699
|
# @return [String]
|
688
700
|
attr_accessor :ipv6_address
|
689
701
|
|
690
|
-
# This is always
|
702
|
+
# This is always `sql#instance`.
|
691
703
|
# Corresponds to the JSON property `kind`
|
692
704
|
# @return [String]
|
693
705
|
attr_accessor :kind
|
@@ -723,10 +735,10 @@ module Google
|
|
723
735
|
# @return [String]
|
724
736
|
attr_accessor :project
|
725
737
|
|
726
|
-
# The geographical region. Can be: *
|
727
|
-
#
|
728
|
-
#
|
729
|
-
#
|
738
|
+
# The geographical region. Can be: * `us-central` (`FIRST_GEN` instances only) *
|
739
|
+
# `us-central1` (`SECOND_GEN` instances only) * `asia-east1` or `europe-west1`.
|
740
|
+
# Defaults to `us-central` or `us-central1` depending on the instance type. The
|
741
|
+
# region cannot be changed after instance creation.
|
730
742
|
# Corresponds to the JSON property `region`
|
731
743
|
# @return [String]
|
732
744
|
attr_accessor :region
|
@@ -775,7 +787,7 @@ module Google
|
|
775
787
|
# @return [Google::Apis::SqladminV1::SslCert]
|
776
788
|
attr_accessor :server_ca_cert
|
777
789
|
|
778
|
-
# The service account email address assigned to the instance
|
790
|
+
# The service account email address assigned to the instance.\This property is
|
779
791
|
# read-only.
|
780
792
|
# Corresponds to the JSON property `serviceAccountEmailAddress`
|
781
793
|
# @return [String]
|
@@ -878,7 +890,7 @@ module Google
|
|
878
890
|
# @return [Array<Google::Apis::SqladminV1::Database>]
|
879
891
|
attr_accessor :items
|
880
892
|
|
881
|
-
# This is always
|
893
|
+
# This is always `sql#databasesList`.
|
882
894
|
# Corresponds to the JSON property `kind`
|
883
895
|
# @return [String]
|
884
896
|
attr_accessor :kind
|
@@ -898,7 +910,7 @@ module Google
|
|
898
910
|
class DemoteMasterConfiguration
|
899
911
|
include Google::Apis::Core::Hashable
|
900
912
|
|
901
|
-
# This is always
|
913
|
+
# This is always `sql#demoteMasterConfiguration`.
|
902
914
|
# Corresponds to the JSON property `kind`
|
903
915
|
# @return [String]
|
904
916
|
attr_accessor :kind
|
@@ -923,7 +935,7 @@ module Google
|
|
923
935
|
class DemoteMasterContext
|
924
936
|
include Google::Apis::Core::Hashable
|
925
937
|
|
926
|
-
# This is always
|
938
|
+
# This is always `sql#demoteMasterContext`.
|
927
939
|
# Corresponds to the JSON property `kind`
|
928
940
|
# @return [String]
|
929
941
|
attr_accessor :kind
|
@@ -945,12 +957,12 @@ module Google
|
|
945
957
|
attr_accessor :skip_replication_setup
|
946
958
|
alias_method :skip_replication_setup?, :skip_replication_setup
|
947
959
|
|
948
|
-
# Verify GTID consistency for demote operation. Default value:
|
949
|
-
# this flag to false enables you to bypass GTID consistency check
|
950
|
-
# premises primary instance and Cloud SQL instance during the
|
951
|
-
# but also exposes you to the risk of future replication
|
952
|
-
# value only if you know the reason for the GTID divergence
|
953
|
-
# that doing so will not cause any replication issues.
|
960
|
+
# Verify the GTID consistency for demote operation. Default value: `True`.
|
961
|
+
# Setting this flag to `false` enables you to bypass the GTID consistency check
|
962
|
+
# between on-premises primary instance and Cloud SQL instance during the
|
963
|
+
# demotion operation but also exposes you to the risk of future replication
|
964
|
+
# failures. Change the value only if you know the reason for the GTID divergence
|
965
|
+
# and are confident that doing so will not cause any replication issues.
|
954
966
|
# Corresponds to the JSON property `verifyGtidConsistency`
|
955
967
|
# @return [Boolean]
|
956
968
|
attr_accessor :verify_gtid_consistency
|
@@ -991,7 +1003,7 @@ module Google
|
|
991
1003
|
# @return [String]
|
992
1004
|
attr_accessor :client_key
|
993
1005
|
|
994
|
-
# This is always
|
1006
|
+
# This is always `sql#demoteMasterMysqlReplicaConfiguration`.
|
995
1007
|
# Corresponds to the JSON property `kind`
|
996
1008
|
# @return [String]
|
997
1009
|
attr_accessor :kind
|
@@ -1064,7 +1076,7 @@ module Google
|
|
1064
1076
|
class DiskEncryptionConfiguration
|
1065
1077
|
include Google::Apis::Core::Hashable
|
1066
1078
|
|
1067
|
-
# This is always
|
1079
|
+
# This is always `sql#diskEncryptionConfiguration`.
|
1068
1080
|
# Corresponds to the JSON property `kind`
|
1069
1081
|
# @return [String]
|
1070
1082
|
attr_accessor :kind
|
@@ -1089,7 +1101,7 @@ module Google
|
|
1089
1101
|
class DiskEncryptionStatus
|
1090
1102
|
include Google::Apis::Core::Hashable
|
1091
1103
|
|
1092
|
-
# This is always
|
1104
|
+
# This is always `sql#diskEncryptionStatus`.
|
1093
1105
|
# Corresponds to the JSON property `kind`
|
1094
1106
|
# @return [String]
|
1095
1107
|
attr_accessor :kind
|
@@ -1114,20 +1126,20 @@ module Google
|
|
1114
1126
|
class ExportContext
|
1115
1127
|
include Google::Apis::Core::Hashable
|
1116
1128
|
|
1117
|
-
# Options for exporting data as CSV.
|
1129
|
+
# Options for exporting data as CSV. `MySQL` and `PostgreSQL` instances only.
|
1118
1130
|
# Corresponds to the JSON property `csvExportOptions`
|
1119
1131
|
# @return [Google::Apis::SqladminV1::ExportContext::CsvExportOptions]
|
1120
1132
|
attr_accessor :csv_export_options
|
1121
1133
|
|
1122
|
-
# Databases to be exported.
|
1123
|
-
#
|
1124
|
-
# system database. If
|
1125
|
-
#
|
1126
|
-
#
|
1127
|
-
#
|
1128
|
-
#
|
1129
|
-
#
|
1130
|
-
#
|
1134
|
+
# Databases to be exported. `MySQL instances:` If `fileType` is `SQL` and no
|
1135
|
+
# database is specified, all databases are exported, except for the `mysql`
|
1136
|
+
# system database. If `fileType` is `CSV`, you can specify one database, either
|
1137
|
+
# by using this property or by using the `csvExportOptions.selectQuery` property,
|
1138
|
+
# which takes precedence over this property. `PostgreSQL instances:` You must
|
1139
|
+
# specify one database to be exported. If `fileType` is `CSV`, this database
|
1140
|
+
# must match the one specified in the `csvExportOptions.selectQuery` property. `
|
1141
|
+
# SQL Server instances:` You must specify one database to be exported, and the `
|
1142
|
+
# fileType` must be `BAK`.
|
1131
1143
|
# Corresponds to the JSON property `databases`
|
1132
1144
|
# @return [Array<String>]
|
1133
1145
|
attr_accessor :databases
|
@@ -1137,7 +1149,7 @@ module Google
|
|
1137
1149
|
# @return [String]
|
1138
1150
|
attr_accessor :file_type
|
1139
1151
|
|
1140
|
-
# This is always
|
1152
|
+
# This is always `sql#exportContext`.
|
1141
1153
|
# Corresponds to the JSON property `kind`
|
1142
1154
|
# @return [String]
|
1143
1155
|
attr_accessor :kind
|
@@ -1154,9 +1166,9 @@ module Google
|
|
1154
1166
|
attr_accessor :sql_export_options
|
1155
1167
|
|
1156
1168
|
# The path to the file in Google Cloud Storage where the export will be stored.
|
1157
|
-
# The URI is in the form
|
1158
|
-
#
|
1159
|
-
#
|
1169
|
+
# The URI is in the form `gs://bucketName/fileName`. If the file already exists,
|
1170
|
+
# the request succeeds, but the operation fails. If `fileType` is `SQL` and the
|
1171
|
+
# filename ends with .gz, the contents are compressed.
|
1160
1172
|
# Corresponds to the JSON property `uri`
|
1161
1173
|
# @return [String]
|
1162
1174
|
attr_accessor :uri
|
@@ -1176,7 +1188,7 @@ module Google
|
|
1176
1188
|
@uri = args[:uri] if args.key?(:uri)
|
1177
1189
|
end
|
1178
1190
|
|
1179
|
-
# Options for exporting data as CSV.
|
1191
|
+
# Options for exporting data as CSV. `MySQL` and `PostgreSQL` instances only.
|
1180
1192
|
class CsvExportOptions
|
1181
1193
|
include Google::Apis::Core::Hashable
|
1182
1194
|
|
@@ -1259,11 +1271,11 @@ module Google
|
|
1259
1271
|
class MysqlExportOptions
|
1260
1272
|
include Google::Apis::Core::Hashable
|
1261
1273
|
|
1262
|
-
# Option to include SQL statement required to set up replication. If set to
|
1263
|
-
#
|
1264
|
-
# coordinates, and --set-gtid-purged is set to ON. If set to
|
1274
|
+
# Option to include SQL statement required to set up replication. If set to `1`,
|
1275
|
+
# the dump file includes a CHANGE MASTER TO statement with the binary log
|
1276
|
+
# coordinates, and --set-gtid-purged is set to ON. If set to `2`, the CHANGE
|
1265
1277
|
# MASTER TO statement is written as a SQL comment and has no effect. If set to
|
1266
|
-
# any value other than
|
1278
|
+
# any value other than `1`, --set-gtid-purged is set to OFF.
|
1267
1279
|
# Corresponds to the JSON property `masterData`
|
1268
1280
|
# @return [Fixnum]
|
1269
1281
|
attr_accessor :master_data
|
@@ -1284,7 +1296,7 @@ module Google
|
|
1284
1296
|
class FailoverContext
|
1285
1297
|
include Google::Apis::Core::Hashable
|
1286
1298
|
|
1287
|
-
# This is always
|
1299
|
+
# This is always `sql#failoverContext`.
|
1288
1300
|
# Corresponds to the JSON property `kind`
|
1289
1301
|
# @return [String]
|
1290
1302
|
attr_accessor :kind
|
@@ -1316,13 +1328,18 @@ module Google
|
|
1316
1328
|
# @return [Array<Fixnum>]
|
1317
1329
|
attr_accessor :allowed_int_values
|
1318
1330
|
|
1319
|
-
# For
|
1331
|
+
# For `STRING` flags, a list of strings that the value can be set to.
|
1320
1332
|
# Corresponds to the JSON property `allowedStringValues`
|
1321
1333
|
# @return [Array<String>]
|
1322
1334
|
attr_accessor :allowed_string_values
|
1323
1335
|
|
1324
|
-
# The database version this flag applies to. Can be
|
1325
|
-
# or
|
1336
|
+
# The database version this flag applies to. Can be MySQL instances: `MYSQL_8_0`,
|
1337
|
+
# `MYSQL_8_0_18`, `MYSQL_8_0_26`, `MYSQL_5_7`, or `MYSQL_5_6`. PostgreSQL
|
1338
|
+
# instances: `POSTGRES_9_6`, `POSTGRES_10`, `POSTGRES_11` or `POSTGRES_12`. SQL
|
1339
|
+
# Server instances: `SQLSERVER_2017_STANDARD`, `SQLSERVER_2017_ENTERPRISE`, `
|
1340
|
+
# SQLSERVER_2017_EXPRESS`, `SQLSERVER_2017_WEB`, `SQLSERVER_2019_STANDARD`, `
|
1341
|
+
# SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`, or `SQLSERVER_2019_WEB`.
|
1342
|
+
# See [the complete list](/sql/docs/mysql/admin-api/rest/v1/SqlDatabaseVersion).
|
1326
1343
|
# Corresponds to the JSON property `appliesTo`
|
1327
1344
|
# @return [Array<String>]
|
1328
1345
|
attr_accessor :applies_to
|
@@ -1333,23 +1350,23 @@ module Google
|
|
1333
1350
|
attr_accessor :in_beta
|
1334
1351
|
alias_method :in_beta?, :in_beta
|
1335
1352
|
|
1336
|
-
# This is always
|
1353
|
+
# This is always `sql#flag`.
|
1337
1354
|
# Corresponds to the JSON property `kind`
|
1338
1355
|
# @return [String]
|
1339
1356
|
attr_accessor :kind
|
1340
1357
|
|
1341
|
-
# For
|
1358
|
+
# For `INTEGER` flags, the maximum allowed value.
|
1342
1359
|
# Corresponds to the JSON property `maxValue`
|
1343
1360
|
# @return [Fixnum]
|
1344
1361
|
attr_accessor :max_value
|
1345
1362
|
|
1346
|
-
# For
|
1363
|
+
# For `INTEGER` flags, the minimum allowed value.
|
1347
1364
|
# Corresponds to the JSON property `minValue`
|
1348
1365
|
# @return [Fixnum]
|
1349
1366
|
attr_accessor :min_value
|
1350
1367
|
|
1351
1368
|
# This is the name of the flag. Flag names always use underscores, not hyphens,
|
1352
|
-
# for example:
|
1369
|
+
# for example: `max_allowed_packet`
|
1353
1370
|
# Corresponds to the JSON property `name`
|
1354
1371
|
# @return [String]
|
1355
1372
|
attr_accessor :name
|
@@ -1361,9 +1378,9 @@ module Google
|
|
1361
1378
|
attr_accessor :requires_restart
|
1362
1379
|
alias_method :requires_restart?, :requires_restart
|
1363
1380
|
|
1364
|
-
# The type of the flag. Flags are typed to being
|
1365
|
-
#
|
1366
|
-
#
|
1381
|
+
# The type of the flag. Flags are typed to being `BOOLEAN`, `STRING`, `INTEGER`
|
1382
|
+
# or `NONE`. `NONE` is used for flags that do not take a value, such as `
|
1383
|
+
# skip_grant_tables`.
|
1367
1384
|
# Corresponds to the JSON property `type`
|
1368
1385
|
# @return [String]
|
1369
1386
|
attr_accessor :type
|
@@ -1396,7 +1413,7 @@ module Google
|
|
1396
1413
|
# @return [Array<Google::Apis::SqladminV1::Flag>]
|
1397
1414
|
attr_accessor :items
|
1398
1415
|
|
1399
|
-
# This is always
|
1416
|
+
# This is always `sql#flagsList`.
|
1400
1417
|
# Corresponds to the JSON property `kind`
|
1401
1418
|
# @return [String]
|
1402
1419
|
attr_accessor :kind
|
@@ -1482,16 +1499,16 @@ module Google
|
|
1482
1499
|
# @return [Google::Apis::SqladminV1::ImportContext::CsvImportOptions]
|
1483
1500
|
attr_accessor :csv_import_options
|
1484
1501
|
|
1485
|
-
# The target database for the import. If
|
1502
|
+
# The target database for the import. If `fileType` is `SQL`, this field is
|
1486
1503
|
# required only if the import file does not specify a database, and is
|
1487
|
-
# overridden by any database specification in the import file. If
|
1488
|
-
#
|
1504
|
+
# overridden by any database specification in the import file. If `fileType` is `
|
1505
|
+
# CSV`, one database must be specified.
|
1489
1506
|
# Corresponds to the JSON property `database`
|
1490
1507
|
# @return [String]
|
1491
1508
|
attr_accessor :database
|
1492
1509
|
|
1493
|
-
# The file type for the specified uri
|
1494
|
-
#
|
1510
|
+
# The file type for the specified uri.\`SQL`: The file contains SQL statements. \
|
1511
|
+
# `CSV`: The file contains CSV data.
|
1495
1512
|
# Corresponds to the JSON property `fileType`
|
1496
1513
|
# @return [String]
|
1497
1514
|
attr_accessor :file_type
|
@@ -1501,15 +1518,15 @@ module Google
|
|
1501
1518
|
# @return [String]
|
1502
1519
|
attr_accessor :import_user
|
1503
1520
|
|
1504
|
-
# This is always
|
1521
|
+
# This is always `sql#importContext`.
|
1505
1522
|
# Corresponds to the JSON property `kind`
|
1506
1523
|
# @return [String]
|
1507
1524
|
attr_accessor :kind
|
1508
1525
|
|
1509
|
-
# Path to the import file in Cloud Storage, in the form
|
1510
|
-
# fileName
|
1511
|
-
#
|
1512
|
-
#
|
1526
|
+
# Path to the import file in Cloud Storage, in the form `gs://bucketName/
|
1527
|
+
# fileName`. Compressed gzip files (.gz) are supported when `fileType` is `SQL`.
|
1528
|
+
# The instance must have write permissions to the bucket and read access to the
|
1529
|
+
# file.
|
1513
1530
|
# Corresponds to the JSON property `uri`
|
1514
1531
|
# @return [String]
|
1515
1532
|
attr_accessor :uri
|
@@ -1551,8 +1568,8 @@ module Google
|
|
1551
1568
|
class EncryptionOptions
|
1552
1569
|
include Google::Apis::Core::Hashable
|
1553
1570
|
|
1554
|
-
# Path to the Certificate (.cer) in Cloud Storage, in the form
|
1555
|
-
# fileName
|
1571
|
+
# Path to the Certificate (.cer) in Cloud Storage, in the form `gs://bucketName/
|
1572
|
+
# fileName`. The instance must have write permissions to the bucket and read
|
1556
1573
|
# access to the file.
|
1557
1574
|
# Corresponds to the JSON property `certPath`
|
1558
1575
|
# @return [String]
|
@@ -1563,8 +1580,8 @@ module Google
|
|
1563
1580
|
# @return [String]
|
1564
1581
|
attr_accessor :pvk_password
|
1565
1582
|
|
1566
|
-
# Path to the Certificate Private Key (.pvk) in Cloud Storage, in the form
|
1567
|
-
#
|
1583
|
+
# Path to the Certificate Private Key (.pvk) in Cloud Storage, in the form `gs://
|
1584
|
+
# bucketName/fileName`. The instance must have write permissions to the bucket
|
1568
1585
|
# and read access to the file.
|
1569
1586
|
# Corresponds to the JSON property `pvkPath`
|
1570
1587
|
# @return [String]
|
@@ -1825,7 +1842,7 @@ module Google
|
|
1825
1842
|
# @return [Array<Google::Apis::SqladminV1::DatabaseInstance>]
|
1826
1843
|
attr_accessor :items
|
1827
1844
|
|
1828
|
-
# This is always
|
1845
|
+
# This is always `sql#instancesList`.
|
1829
1846
|
# Corresponds to the JSON property `kind`
|
1830
1847
|
# @return [String]
|
1831
1848
|
attr_accessor :kind
|
@@ -1868,7 +1885,7 @@ module Google
|
|
1868
1885
|
# @return [Array<Google::Apis::SqladminV1::SslCert>]
|
1869
1886
|
attr_accessor :certs
|
1870
1887
|
|
1871
|
-
# This is always
|
1888
|
+
# This is always `sql#instancesListServerCas`.
|
1872
1889
|
# Corresponds to the JSON property `kind`
|
1873
1890
|
# @return [String]
|
1874
1891
|
attr_accessor :kind
|
@@ -1958,7 +1975,7 @@ module Google
|
|
1958
1975
|
|
1959
1976
|
# The list of external networks that are allowed to connect to the instance
|
1960
1977
|
# using the IP. In 'CIDR' notation, also known as 'slash' notation (for example:
|
1961
|
-
#
|
1978
|
+
# `157.197.200.0/24`).
|
1962
1979
|
# Corresponds to the JSON property `authorizedNetworks`
|
1963
1980
|
# @return [Array<Google::Apis::SqladminV1::AclEntry>]
|
1964
1981
|
attr_accessor :authorized_networks
|
@@ -1970,8 +1987,8 @@ module Google
|
|
1970
1987
|
alias_method :ipv4_enabled?, :ipv4_enabled
|
1971
1988
|
|
1972
1989
|
# The resource link for the VPC network from which the Cloud SQL instance is
|
1973
|
-
# accessible for private IP. For example,
|
1974
|
-
# default
|
1990
|
+
# accessible for private IP. For example, `/projects/myProject/global/networks/
|
1991
|
+
# default`. This setting can be updated, but it cannot be removed after it is
|
1975
1992
|
# set.
|
1976
1993
|
# Corresponds to the JSON property `privateNetwork`
|
1977
1994
|
# @return [String]
|
@@ -2007,16 +2024,16 @@ module Google
|
|
2007
2024
|
attr_accessor :ip_address
|
2008
2025
|
|
2009
2026
|
# The due time for this IP to be retired in [RFC 3339](https://tools.ietf.org/
|
2010
|
-
# html/rfc3339) format, for example
|
2027
|
+
# html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`. This field is
|
2011
2028
|
# only available when the IP is scheduled to be retired.
|
2012
2029
|
# Corresponds to the JSON property `timeToRetire`
|
2013
2030
|
# @return [String]
|
2014
2031
|
attr_accessor :time_to_retire
|
2015
2032
|
|
2016
|
-
# The type of this IP address. A
|
2017
|
-
#
|
2018
|
-
#
|
2019
|
-
#
|
2033
|
+
# The type of this IP address. A `PRIMARY` address is a public address that can
|
2034
|
+
# accept incoming connections. A `PRIVATE` address is a private address that can
|
2035
|
+
# accept incoming connections. An `OUTGOING` address is the source address of
|
2036
|
+
# connections originating from the instance, if supported.
|
2020
2037
|
# Corresponds to the JSON property `type`
|
2021
2038
|
# @return [String]
|
2022
2039
|
attr_accessor :type
|
@@ -2045,7 +2062,7 @@ module Google
|
|
2045
2062
|
# @return [String]
|
2046
2063
|
attr_accessor :follow_gae_application
|
2047
2064
|
|
2048
|
-
# This is always
|
2065
|
+
# This is always `sql#locationPreference`.
|
2049
2066
|
# Corresponds to the JSON property `kind`
|
2050
2067
|
# @return [String]
|
2051
2068
|
attr_accessor :kind
|
@@ -2090,12 +2107,12 @@ module Google
|
|
2090
2107
|
# @return [Fixnum]
|
2091
2108
|
attr_accessor :hour
|
2092
2109
|
|
2093
|
-
# This is always
|
2110
|
+
# This is always `sql#maintenanceWindow`.
|
2094
2111
|
# Corresponds to the JSON property `kind`
|
2095
2112
|
# @return [String]
|
2096
2113
|
attr_accessor :kind
|
2097
2114
|
|
2098
|
-
# Maintenance timing setting:
|
2115
|
+
# Maintenance timing setting: `canary` (Earlier) or `stable` (Later). [Learn
|
2099
2116
|
# more](https://cloud.google.com/sql/docs/mysql/instance-settings#maintenance-
|
2100
2117
|
# timing-2ndgen).
|
2101
2118
|
# Corresponds to the JSON property `updateTrack`
|
@@ -2149,7 +2166,7 @@ module Google
|
|
2149
2166
|
# @return [String]
|
2150
2167
|
attr_accessor :dump_file_path
|
2151
2168
|
|
2152
|
-
# This is always
|
2169
|
+
# This is always `sql#mysqlReplicaConfiguration`.
|
2153
2170
|
# Corresponds to the JSON property `kind`
|
2154
2171
|
# @return [String]
|
2155
2172
|
attr_accessor :kind
|
@@ -2250,7 +2267,7 @@ module Google
|
|
2250
2267
|
# @return [String]
|
2251
2268
|
attr_accessor :host_port
|
2252
2269
|
|
2253
|
-
# This is always
|
2270
|
+
# This is always `sql#onPremisesConfiguration`.
|
2254
2271
|
# Corresponds to the JSON property `kind`
|
2255
2272
|
# @return [String]
|
2256
2273
|
attr_accessor :kind
|
@@ -2300,7 +2317,7 @@ module Google
|
|
2300
2317
|
attr_accessor :backup_context
|
2301
2318
|
|
2302
2319
|
# The time this operation finished in UTC timezone in [RFC 3339](https://tools.
|
2303
|
-
# ietf.org/html/rfc3339) format, for example
|
2320
|
+
# ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
|
2304
2321
|
# Corresponds to the JSON property `endTime`
|
2305
2322
|
# @return [String]
|
2306
2323
|
attr_accessor :end_time
|
@@ -2321,12 +2338,12 @@ module Google
|
|
2321
2338
|
attr_accessor :import_context
|
2322
2339
|
|
2323
2340
|
# The time this operation was enqueued in UTC timezone in [RFC 3339](https://
|
2324
|
-
# tools.ietf.org/html/rfc3339) format, for example
|
2341
|
+
# tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
|
2325
2342
|
# Corresponds to the JSON property `insertTime`
|
2326
2343
|
# @return [String]
|
2327
2344
|
attr_accessor :insert_time
|
2328
2345
|
|
2329
|
-
# This is always
|
2346
|
+
# This is always `sql#operation`.
|
2330
2347
|
# Corresponds to the JSON property `kind`
|
2331
2348
|
# @return [String]
|
2332
2349
|
attr_accessor :kind
|
@@ -2338,10 +2355,9 @@ module Google
|
|
2338
2355
|
# @return [String]
|
2339
2356
|
attr_accessor :name
|
2340
2357
|
|
2341
|
-
# The type of the operation. Valid values are: *
|
2342
|
-
#
|
2343
|
-
#
|
2344
|
-
# DELETE_DATABASE**
|
2358
|
+
# The type of the operation. Valid values are: * `CREATE` * `DELETE` * `UPDATE` *
|
2359
|
+
# `RESTART` * `IMPORT` * `EXPORT` * `BACKUP_VOLUME` * `RESTORE_VOLUME` * `
|
2360
|
+
# CREATE_USER` * `DELETE_USER` * `CREATE_DATABASE` * `DELETE_DATABASE`
|
2345
2361
|
# Corresponds to the JSON property `operationType`
|
2346
2362
|
# @return [String]
|
2347
2363
|
attr_accessor :operation_type
|
@@ -2352,7 +2368,7 @@ module Google
|
|
2352
2368
|
attr_accessor :self_link
|
2353
2369
|
|
2354
2370
|
# The time this operation actually started in UTC timezone in [RFC 3339](https://
|
2355
|
-
# tools.ietf.org/html/rfc3339) format, for example
|
2371
|
+
# tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
|
2356
2372
|
# Corresponds to the JSON property `startTime`
|
2357
2373
|
# @return [String]
|
2358
2374
|
attr_accessor :start_time
|
@@ -2416,7 +2432,7 @@ module Google
|
|
2416
2432
|
# @return [String]
|
2417
2433
|
attr_accessor :code
|
2418
2434
|
|
2419
|
-
# This is always
|
2435
|
+
# This is always `sql#operationError`.
|
2420
2436
|
# Corresponds to the JSON property `kind`
|
2421
2437
|
# @return [String]
|
2422
2438
|
attr_accessor :kind
|
@@ -2447,7 +2463,7 @@ module Google
|
|
2447
2463
|
# @return [Array<Google::Apis::SqladminV1::OperationError>]
|
2448
2464
|
attr_accessor :errors
|
2449
2465
|
|
2450
|
-
# This is always
|
2466
|
+
# This is always `sql#operationErrors`.
|
2451
2467
|
# Corresponds to the JSON property `kind`
|
2452
2468
|
# @return [String]
|
2453
2469
|
attr_accessor :kind
|
@@ -2472,7 +2488,7 @@ module Google
|
|
2472
2488
|
# @return [Array<Google::Apis::SqladminV1::Operation>]
|
2473
2489
|
attr_accessor :items
|
2474
2490
|
|
2475
|
-
# This is always
|
2491
|
+
# This is always `sql#operationsList`.
|
2476
2492
|
# Corresponds to the JSON property `kind`
|
2477
2493
|
# @return [String]
|
2478
2494
|
attr_accessor :kind
|
@@ -2541,7 +2557,8 @@ module Google
|
|
2541
2557
|
# @return [Fixnum]
|
2542
2558
|
attr_accessor :min_length
|
2543
2559
|
|
2544
|
-
# Minimum interval after which the password can be changed.
|
2560
|
+
# Minimum interval after which the password can be changed. This flag is only
|
2561
|
+
# supported for PostgresSQL.
|
2545
2562
|
# Corresponds to the JSON property `passwordChangeInterval`
|
2546
2563
|
# @return [String]
|
2547
2564
|
attr_accessor :password_change_interval
|
@@ -2569,8 +2586,8 @@ module Google
|
|
2569
2586
|
class ReplicaConfiguration
|
2570
2587
|
include Google::Apis::Core::Hashable
|
2571
2588
|
|
2572
|
-
# Specifies if the replica is the failover target. If the field is set to
|
2573
|
-
#
|
2589
|
+
# Specifies if the replica is the failover target. If the field is set to `true`,
|
2590
|
+
# the replica will be designated as a failover replica. In case the primary
|
2574
2591
|
# instance fails, the replica instance will be promoted as the new primary
|
2575
2592
|
# instance. Only one replica can be specified as failover target, and the
|
2576
2593
|
# replica has to be in different zone with the primary instance.
|
@@ -2579,7 +2596,7 @@ module Google
|
|
2579
2596
|
attr_accessor :failover_target
|
2580
2597
|
alias_method :failover_target?, :failover_target
|
2581
2598
|
|
2582
|
-
# This is always
|
2599
|
+
# This is always `sql#replicaConfiguration`.
|
2583
2600
|
# Corresponds to the JSON property `kind`
|
2584
2601
|
# @return [String]
|
2585
2602
|
attr_accessor :kind
|
@@ -2612,7 +2629,7 @@ module Google
|
|
2612
2629
|
|
2613
2630
|
# Optional. Timestamp when the maintenance shall be rescheduled to if
|
2614
2631
|
# reschedule_type=SPECIFIC_TIME, in [RFC 3339](https://tools.ietf.org/html/
|
2615
|
-
# rfc3339) format, for example
|
2632
|
+
# rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
|
2616
2633
|
# Corresponds to the JSON property `scheduleTime`
|
2617
2634
|
# @return [String]
|
2618
2635
|
attr_accessor :schedule_time
|
@@ -2643,7 +2660,7 @@ module Google
|
|
2643
2660
|
# @return [String]
|
2644
2661
|
attr_accessor :instance_id
|
2645
2662
|
|
2646
|
-
# This is always
|
2663
|
+
# This is always `sql#restoreBackupContext`.
|
2647
2664
|
# Corresponds to the JSON property `kind`
|
2648
2665
|
# @return [String]
|
2649
2666
|
attr_accessor :kind
|
@@ -2670,7 +2687,7 @@ module Google
|
|
2670
2687
|
class RotateServerCaContext
|
2671
2688
|
include Google::Apis::Core::Hashable
|
2672
2689
|
|
2673
|
-
# This is always
|
2690
|
+
# This is always `sql#rotateServerCaContext`.
|
2674
2691
|
# Corresponds to the JSON property `kind`
|
2675
2692
|
# @return [String]
|
2676
2693
|
attr_accessor :kind
|
@@ -2697,10 +2714,10 @@ module Google
|
|
2697
2714
|
include Google::Apis::Core::Hashable
|
2698
2715
|
|
2699
2716
|
# The activation policy specifies when the instance is activated; it is
|
2700
|
-
# applicable only when the instance state is RUNNABLE. Valid values: *
|
2701
|
-
#
|
2702
|
-
#
|
2703
|
-
#
|
2717
|
+
# applicable only when the instance state is RUNNABLE. Valid values: * `ALWAYS`:
|
2718
|
+
# The instance is on, and remains so even in the absence of connection requests.
|
2719
|
+
# * `NEVER`: The instance is off; it is not activated, even if a connection
|
2720
|
+
# request arrives.
|
2704
2721
|
# Corresponds to the JSON property `activationPolicy`
|
2705
2722
|
# @return [String]
|
2706
2723
|
attr_accessor :activation_policy
|
@@ -2716,12 +2733,11 @@ module Google
|
|
2716
2733
|
# @return [Array<String>]
|
2717
2734
|
attr_accessor :authorized_gae_applications
|
2718
2735
|
|
2719
|
-
# Availability type. Potential values: *
|
2720
|
-
#
|
2721
|
-
#
|
2722
|
-
#
|
2723
|
-
#
|
2724
|
-
# availability).
|
2736
|
+
# Availability type. Potential values: * `ZONAL`: The instance serves data from
|
2737
|
+
# only one zone. Outages in that zone affect data accessibility. * `REGIONAL`:
|
2738
|
+
# The instance can serve data from more than one zone in a region (it is highly
|
2739
|
+
# available)./ For more information, see [Overview of the High Availability
|
2740
|
+
# Configuration](https://cloud.google.com/sql/docs/mysql/high-availability).
|
2725
2741
|
# Corresponds to the JSON property `availabilityType`
|
2726
2742
|
# @return [String]
|
2727
2743
|
attr_accessor :availability_type
|
@@ -2749,7 +2765,7 @@ module Google
|
|
2749
2765
|
# @return [Fixnum]
|
2750
2766
|
attr_accessor :data_disk_size_gb
|
2751
2767
|
|
2752
|
-
# The type of data disk:
|
2768
|
+
# The type of data disk: `PD_SSD` (default) or `PD_HDD`. Not used for First
|
2753
2769
|
# Generation instances.
|
2754
2770
|
# Corresponds to the JSON property `dataDiskType`
|
2755
2771
|
# @return [String]
|
@@ -2783,7 +2799,7 @@ module Google
|
|
2783
2799
|
# @return [Google::Apis::SqladminV1::IpConfiguration]
|
2784
2800
|
attr_accessor :ip_configuration
|
2785
2801
|
|
2786
|
-
# This is always
|
2802
|
+
# This is always `sql#settings`.
|
2787
2803
|
# Corresponds to the JSON property `kind`
|
2788
2804
|
# @return [String]
|
2789
2805
|
attr_accessor :kind
|
@@ -2806,14 +2822,14 @@ module Google
|
|
2806
2822
|
# @return [Google::Apis::SqladminV1::PasswordValidationPolicy]
|
2807
2823
|
attr_accessor :password_validation_policy
|
2808
2824
|
|
2809
|
-
# The pricing plan for this instance. This can be either
|
2810
|
-
#
|
2825
|
+
# The pricing plan for this instance. This can be either `PER_USE` or `PACKAGE`.
|
2826
|
+
# Only `PER_USE` is supported for Second Generation instances.
|
2811
2827
|
# Corresponds to the JSON property `pricingPlan`
|
2812
2828
|
# @return [String]
|
2813
2829
|
attr_accessor :pricing_plan
|
2814
2830
|
|
2815
|
-
# The type of replication this instance uses. This can be either
|
2816
|
-
# or
|
2831
|
+
# The type of replication this instance uses. This can be either `ASYNCHRONOUS`
|
2832
|
+
# or `SYNCHRONOUS`. (Deprecated) This property was only applicable to First
|
2817
2833
|
# Generation instances.
|
2818
2834
|
# Corresponds to the JSON property `replicationType`
|
2819
2835
|
# @return [String]
|
@@ -2845,7 +2861,7 @@ module Google
|
|
2845
2861
|
# @return [Fixnum]
|
2846
2862
|
attr_accessor :storage_auto_resize_limit
|
2847
2863
|
|
2848
|
-
# The tier (or machine type) for this instance, for example
|
2864
|
+
# The tier (or machine type) for this instance, for example `db-custom-1-3840`.
|
2849
2865
|
# WARNING: Changing this restarts the instance.
|
2850
2866
|
# Corresponds to the JSON property `tier`
|
2851
2867
|
# @return [String]
|
@@ -2926,7 +2942,7 @@ module Google
|
|
2926
2942
|
# @return [String]
|
2927
2943
|
attr_accessor :detail
|
2928
2944
|
|
2929
|
-
# Can be
|
2945
|
+
# Can be `sql#externalSyncSettingError` or `sql#externalSyncSettingWarning`.
|
2930
2946
|
# Corresponds to the JSON property `kind`
|
2931
2947
|
# @return [String]
|
2932
2948
|
attr_accessor :kind
|
@@ -3047,7 +3063,7 @@ module Google
|
|
3047
3063
|
# @return [Array<Google::Apis::SqladminV1::SqlExternalSyncSettingError>]
|
3048
3064
|
attr_accessor :errors
|
3049
3065
|
|
3050
|
-
# This is always
|
3066
|
+
# This is always `sql#migrationSettingErrorList`.
|
3051
3067
|
# Corresponds to the JSON property `kind`
|
3052
3068
|
# @return [String]
|
3053
3069
|
attr_accessor :kind
|
@@ -3233,13 +3249,13 @@ module Google
|
|
3233
3249
|
attr_accessor :common_name
|
3234
3250
|
|
3235
3251
|
# The time when the certificate was created in [RFC 3339](https://tools.ietf.org/
|
3236
|
-
# html/rfc3339) format, for example
|
3252
|
+
# html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`
|
3237
3253
|
# Corresponds to the JSON property `createTime`
|
3238
3254
|
# @return [String]
|
3239
3255
|
attr_accessor :create_time
|
3240
3256
|
|
3241
3257
|
# The time when the certificate expires in [RFC 3339](https://tools.ietf.org/
|
3242
|
-
# html/rfc3339) format, for example
|
3258
|
+
# html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
|
3243
3259
|
# Corresponds to the JSON property `expirationTime`
|
3244
3260
|
# @return [String]
|
3245
3261
|
attr_accessor :expiration_time
|
@@ -3249,7 +3265,7 @@ module Google
|
|
3249
3265
|
# @return [String]
|
3250
3266
|
attr_accessor :instance
|
3251
3267
|
|
3252
|
-
# This is always
|
3268
|
+
# This is always `sql#sslCert`.
|
3253
3269
|
# Corresponds to the JSON property `kind`
|
3254
3270
|
# @return [String]
|
3255
3271
|
attr_accessor :kind
|
@@ -3362,7 +3378,7 @@ module Google
|
|
3362
3378
|
# @return [Google::Apis::SqladminV1::SslCertDetail]
|
3363
3379
|
attr_accessor :client_cert
|
3364
3380
|
|
3365
|
-
# This is always
|
3381
|
+
# This is always `sql#sslCertsInsert`.
|
3366
3382
|
# Corresponds to the JSON property `kind`
|
3367
3383
|
# @return [String]
|
3368
3384
|
attr_accessor :kind
|
@@ -3401,7 +3417,7 @@ module Google
|
|
3401
3417
|
# @return [Array<Google::Apis::SqladminV1::SslCert>]
|
3402
3418
|
attr_accessor :items
|
3403
3419
|
|
3404
|
-
# This is always
|
3420
|
+
# This is always `sql#sslCertsList`.
|
3405
3421
|
# Corresponds to the JSON property `kind`
|
3406
3422
|
# @return [String]
|
3407
3423
|
attr_accessor :kind
|
@@ -3458,7 +3474,7 @@ module Google
|
|
3458
3474
|
# @return [Fixnum]
|
3459
3475
|
attr_accessor :ram
|
3460
3476
|
|
3461
|
-
# This is always
|
3477
|
+
# This is always `sql#tier`.
|
3462
3478
|
# Corresponds to the JSON property `kind`
|
3463
3479
|
# @return [String]
|
3464
3480
|
attr_accessor :kind
|
@@ -3468,8 +3484,8 @@ module Google
|
|
3468
3484
|
# @return [Array<String>]
|
3469
3485
|
attr_accessor :region
|
3470
3486
|
|
3471
|
-
# An identifier for the machine type, for example, db-custom-1-3840
|
3472
|
-
# information, see [Pricing](/sql/pricing).
|
3487
|
+
# An identifier for the machine type, for example, `db-custom-1-3840`. For
|
3488
|
+
# related information, see [Pricing](/sql/pricing).
|
3473
3489
|
# Corresponds to the JSON property `tier`
|
3474
3490
|
# @return [String]
|
3475
3491
|
attr_accessor :tier
|
@@ -3497,7 +3513,7 @@ module Google
|
|
3497
3513
|
# @return [Array<Google::Apis::SqladminV1::Tier>]
|
3498
3514
|
attr_accessor :items
|
3499
3515
|
|
3500
|
-
# This is always
|
3516
|
+
# This is always `sql#tiersList`.
|
3501
3517
|
# Corresponds to the JSON property `kind`
|
3502
3518
|
# @return [String]
|
3503
3519
|
attr_accessor :kind
|
@@ -3517,13 +3533,13 @@ module Google
|
|
3517
3533
|
class TruncateLogContext
|
3518
3534
|
include Google::Apis::Core::Hashable
|
3519
3535
|
|
3520
|
-
# This is always
|
3536
|
+
# This is always `sql#truncateLogContext`.
|
3521
3537
|
# Corresponds to the JSON property `kind`
|
3522
3538
|
# @return [String]
|
3523
3539
|
attr_accessor :kind
|
3524
3540
|
|
3525
|
-
# The type of log to truncate. Valid values are
|
3526
|
-
# MYSQL_SLOW_TABLE
|
3541
|
+
# The type of log to truncate. Valid values are `MYSQL_GENERAL_TABLE` and `
|
3542
|
+
# MYSQL_SLOW_TABLE`.
|
3527
3543
|
# Corresponds to the JSON property `logType`
|
3528
3544
|
# @return [String]
|
3529
3545
|
attr_accessor :log_type
|
@@ -3548,28 +3564,28 @@ module Google
|
|
3548
3564
|
# @return [String]
|
3549
3565
|
attr_accessor :etag
|
3550
3566
|
|
3551
|
-
# Optional. The host
|
3552
|
-
#
|
3553
|
-
#
|
3554
|
-
#
|
3555
|
-
#
|
3567
|
+
# Optional. The host from which the user can connect. For `insert` operations,
|
3568
|
+
# host defaults to an empty string. For `update` operations, host is specified
|
3569
|
+
# as part of the request URL. The host name cannot be updated after insertion.
|
3570
|
+
# For a MySQL instance, it's required; for a PostgreSQL or SQL Server instance,
|
3571
|
+
# it's optional.
|
3556
3572
|
# Corresponds to the JSON property `host`
|
3557
3573
|
# @return [String]
|
3558
3574
|
attr_accessor :host
|
3559
3575
|
|
3560
3576
|
# The name of the Cloud SQL instance. This does not include the project ID. Can
|
3561
|
-
# be omitted for
|
3577
|
+
# be omitted for `update` because it is already specified on the URL.
|
3562
3578
|
# Corresponds to the JSON property `instance`
|
3563
3579
|
# @return [String]
|
3564
3580
|
attr_accessor :instance
|
3565
3581
|
|
3566
|
-
# This is always
|
3582
|
+
# This is always `sql#user`.
|
3567
3583
|
# Corresponds to the JSON property `kind`
|
3568
3584
|
# @return [String]
|
3569
3585
|
attr_accessor :kind
|
3570
3586
|
|
3571
|
-
# The name of the user in the Cloud SQL instance. Can be omitted for
|
3572
|
-
#
|
3587
|
+
# The name of the user in the Cloud SQL instance. Can be omitted for `update`
|
3588
|
+
# because it is already specified in the URL.
|
3573
3589
|
# Corresponds to the JSON property `name`
|
3574
3590
|
# @return [String]
|
3575
3591
|
attr_accessor :name
|
@@ -3585,7 +3601,7 @@ module Google
|
|
3585
3601
|
attr_accessor :password_policy
|
3586
3602
|
|
3587
3603
|
# The project ID of the project containing the Cloud SQL database. The Google
|
3588
|
-
# apps domain is prefixed if applicable. Can be omitted for
|
3604
|
+
# apps domain is prefixed if applicable. Can be omitted for `update` because it
|
3589
3605
|
# is already specified on the URL.
|
3590
3606
|
# Corresponds to the JSON property `project`
|
3591
3607
|
# @return [String]
|
@@ -3668,7 +3684,7 @@ module Google
|
|
3668
3684
|
# @return [Array<Google::Apis::SqladminV1::User>]
|
3669
3685
|
attr_accessor :items
|
3670
3686
|
|
3671
|
-
# This is always
|
3687
|
+
# This is always `sql#usersList`.
|
3672
3688
|
# Corresponds to the JSON property `kind`
|
3673
3689
|
# @return [String]
|
3674
3690
|
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.12.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220117"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -648,6 +648,7 @@ module Google
|
|
648
648
|
class CloneContext
|
649
649
|
# @private
|
650
650
|
class Representation < Google::Apis::Core::JsonRepresentation
|
651
|
+
property :allocated_ip_range, as: 'allocatedIpRange'
|
651
652
|
property :bin_log_coordinates, as: 'binLogCoordinates', class: Google::Apis::SqladminV1::BinLogCoordinates, decorator: Google::Apis::SqladminV1::BinLogCoordinates::Representation
|
652
653
|
|
653
654
|
property :destination_instance_name, as: 'destinationInstanceName'
|
@@ -1655,8 +1655,8 @@ module Google
|
|
1655
1655
|
execute_or_queue_command(command, &block)
|
1656
1656
|
end
|
1657
1657
|
|
1658
|
-
# Lists all available machine types (tiers) for Cloud SQL, for example, db-
|
1659
|
-
# custom-1-3840
|
1658
|
+
# Lists all available machine types (tiers) for Cloud SQL, for example, `db-
|
1659
|
+
# custom-1-3840`. For more information, see https://cloud.google.com/sql/pricing.
|
1660
1660
|
# @param [String] project
|
1661
1661
|
# Project ID of the project for which to list tiers.
|
1662
1662
|
# @param [String] fields
|
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.12.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: 2022-01-
|
11
|
+
date: 2022-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.12.0
|
62
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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.3.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud SQL Admin API V1
|