google-apis-sqladmin_v1 0.10.0 → 0.14.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: 7c8825397e70d45c29e04ccf8c36dcb556beb22cfe8139bdfa058113e59f7b02
4
- data.tar.gz: 4536fe66350e98dbd18bf009faae567d5836b651b749aca75d566b7b10251f52
3
+ metadata.gz: fc6d3a0eab6b292f274c02a32d137caed26f3d0d9c27d3e001e9bcef743ad3a3
4
+ data.tar.gz: e704b760ddeb5c6681de20187ed6cee6298a60256fc08ad0ad7bd388f64c7320
5
5
  SHA512:
6
- metadata.gz: 2d7eda3160ed4e7546ec00adc3f8fe3adb815e79406e56fc4f82a04729421779cd9bdde46cd09bd855f8e6ca32d13eb10046b0314e475dc32b496e49d579c230
7
- data.tar.gz: 1c7db0d33d5a9ee807be2585d8ce8b55f88ef97f7c3c94bba6686470aa6a067917d09d5ce1412b5f640311912bd4959a58e046c3179d91553ef444568a35df5e
6
+ metadata.gz: ce0e51c69ba9d921dd8e111e690ab82856243e76913b44186c4450120bb9d4bfa110994d8449d447d32c6fc1c3c444efbe7473adcbc50c9730cbbd043cf97628
7
+ data.tar.gz: a06ab47fb04a2f2c2007eb9a490af855354212afb135dbad36268ba5c524144a8068fdd32e9633aee8df0c78aee13cb2cf430d7e531195d1399073af709f4596
data/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Release history for google-apis-sqladmin_v1
2
2
 
3
+ ### v0.14.0 (2022-02-18)
4
+
5
+ * Regenerated from discovery document revision 20220215
6
+
7
+ ### v0.13.0 (2022-02-05)
8
+
9
+ * Regenerated from discovery document revision 20220127
10
+
11
+ ### v0.12.0 (2022-01-28)
12
+
13
+ * Regenerated from discovery document revision 20220117
14
+ * Regenerated using generator version 0.4.1
15
+
16
+ ### v0.11.0 (2021-12-16)
17
+
18
+ * Regenerated from discovery document revision 20211206
19
+ * Unspecified changes
20
+
3
21
  ### v0.10.0 (2021-11-19)
4
22
 
5
23
  * Regenerated from discovery document revision 20211110
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/sqladmin_v1"
51
51
  client = Google::Apis::SqladminV1::SQLAdminService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -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 **2012-11-15T16:19:00.094Z**.
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 **sql#aclEntry**.
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 **sql#backupConfiguration**.
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 - **HH:MM**.
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 **sql#backupContext**.
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 **2012-11-15T16:19:00.094Z**.
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 **2012-11-15T16:19:00.094Z**.
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 **sql#backupRun**.
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 **2012-11-15T16:19:00.
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 **2012-
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 **sql#backupRunsList**.
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 **sql#binLogCoordinates**.
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 **sql#cloneContext**.
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
- # **SECOND_GEN**: Cloud SQL database instance. **EXTERNAL**: A database server
451
- # that is not managed by Google. This property is read-only; use the **tier**
452
- # property in the **settings** object to determine the database type.
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 **databaseVersion** field cannot be
458
- # changed after instance creation. MySQL instances: **MYSQL_8_0**, **MYSQL_5_7**
459
- # (default), or **MYSQL_5_6**. PostgreSQL instances: **POSTGRES_9_6**, **
460
- # POSTGRES_10**, **POSTGRES_11** or **POSTGRES_12** (default). SQL Server
461
- # instances: **SQLSERVER_2017_STANDARD** (default), **SQLSERVER_2017_ENTERPRISE**
462
- # , **SQLSERVER_2017_EXPRESS**, or **SQLSERVER_2017_WEB**.
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. e.g. **us-central1**, **europe-west1**. The
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 **sql#database**.
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. Booleans are set to **on** for true and **off** for
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,14 @@ module Google
602
615
  class DatabaseInstance
603
616
  include Google::Apis::Core::Hashable
604
617
 
605
- # The backend type. **SECOND_GEN**: Cloud SQL database instance. **EXTERNAL**: A
618
+ # List all maintenance versions applicable on the instance
619
+ # Corresponds to the JSON property `availableMaintenanceVersions`
620
+ # @return [Array<String>]
621
+ attr_accessor :available_maintenance_versions
622
+
623
+ # The backend type. `SECOND_GEN`: Cloud SQL database instance. `EXTERNAL`: A
606
624
  # 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.
625
+ # the `tier` property in the `settings` object to determine the database type.
609
626
  # Corresponds to the JSON property `backendType`
610
627
  # @return [String]
611
628
  attr_accessor :backend_type
@@ -616,7 +633,7 @@ module Google
616
633
  attr_accessor :connection_name
617
634
 
618
635
  # 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**.
636
+ # tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
620
637
  # Corresponds to the JSON property `createTime`
621
638
  # @return [String]
622
639
  attr_accessor :create_time
@@ -630,14 +647,13 @@ module Google
630
647
  # @return [Fixnum]
631
648
  attr_accessor :current_disk_size
632
649
 
633
- # Output only. The databaseInstalledVersion stores the current fully resolved
634
- # database version running on the instance including minor version such as
635
- # MYSQL_5_6_50
650
+ # Output only. Stores the current database version running on the instance
651
+ # including minor version such as `MYSQL_8_0_18`.
636
652
  # Corresponds to the JSON property `databaseInstalledVersion`
637
653
  # @return [String]
638
654
  attr_accessor :database_installed_version
639
655
 
640
- # The database engine type and version. The **databaseVersion** field cannot be
656
+ # The database engine type and version. The `databaseVersion` field cannot be
641
657
  # changed after instance creation.
642
658
  # Corresponds to the JSON property `databaseVersion`
643
659
  # @return [String]
@@ -654,7 +670,7 @@ module Google
654
670
  attr_accessor :disk_encryption_status
655
671
 
656
672
  # This field is deprecated and will be removed from a future version of the API.
657
- # Use the **settings.settingsVersion** field instead.
673
+ # Use the `settings.settingsVersion` field instead.
658
674
  # Corresponds to the JSON property `etag`
659
675
  # @return [String]
660
676
  attr_accessor :etag
@@ -666,7 +682,8 @@ module Google
666
682
 
667
683
  # The Compute Engine zone that the instance is currently serving from. This
668
684
  # value could be different from the zone that was specified when the instance
669
- # was created if the instance has failed over to its secondary zone.
685
+ # was created if the instance has failed over to its secondary zone. WARNING:
686
+ # Changing this might restart the instance.
670
687
  # Corresponds to the JSON property `gceZone`
671
688
  # @return [String]
672
689
  attr_accessor :gce_zone
@@ -687,11 +704,16 @@ module Google
687
704
  # @return [String]
688
705
  attr_accessor :ipv6_address
689
706
 
690
- # This is always **sql#instance**.
707
+ # This is always `sql#instance`.
691
708
  # Corresponds to the JSON property `kind`
692
709
  # @return [String]
693
710
  attr_accessor :kind
694
711
 
712
+ # The current software version on the instance.
713
+ # Corresponds to the JSON property `maintenanceVersion`
714
+ # @return [String]
715
+ attr_accessor :maintenance_version
716
+
695
717
  # The name of the instance which will act as primary in the replication setup.
696
718
  # Corresponds to the JSON property `masterInstanceName`
697
719
  # @return [String]
@@ -723,10 +745,10 @@ module Google
723
745
  # @return [String]
724
746
  attr_accessor :project
725
747
 
726
- # The geographical region. Can be: * **us-central** (**FIRST_GEN** instances
727
- # only) * **us-central1** (**SECOND_GEN** instances only) * **asia-east1** or **
728
- # europe-west1**. Defaults to **us-central** or **us-central1** depending on the
729
- # instance type. The region cannot be changed after instance creation.
748
+ # The geographical region. Can be: * `us-central` (`FIRST_GEN` instances only) *
749
+ # `us-central1` (`SECOND_GEN` instances only) * `asia-east1` or `europe-west1`.
750
+ # Defaults to `us-central` or `us-central1` depending on the instance type. The
751
+ # region cannot be changed after instance creation.
730
752
  # Corresponds to the JSON property `region`
731
753
  # @return [String]
732
754
  attr_accessor :region
@@ -760,7 +782,7 @@ module Google
760
782
  # The Compute Engine zone that the failover instance is currently serving from
761
783
  # for a regional instance. This value could be different from the zone that was
762
784
  # specified when the instance was created if the instance has failed over to its
763
- # secondary/failover zone. Reserved for future use.
785
+ # secondary/failover zone.
764
786
  # Corresponds to the JSON property `secondaryGceZone`
765
787
  # @return [String]
766
788
  attr_accessor :secondary_gce_zone
@@ -775,7 +797,7 @@ module Google
775
797
  # @return [Google::Apis::SqladminV1::SslCert]
776
798
  attr_accessor :server_ca_cert
777
799
 
778
- # The service account email address assigned to the instance. This property is
800
+ # The service account email address assigned to the instance.\This property is
779
801
  # read-only.
780
802
  # Corresponds to the JSON property `serviceAccountEmailAddress`
781
803
  # @return [String]
@@ -802,6 +824,7 @@ module Google
802
824
 
803
825
  # Update properties of this object
804
826
  def update!(**args)
827
+ @available_maintenance_versions = args[:available_maintenance_versions] if args.key?(:available_maintenance_versions)
805
828
  @backend_type = args[:backend_type] if args.key?(:backend_type)
806
829
  @connection_name = args[:connection_name] if args.key?(:connection_name)
807
830
  @create_time = args[:create_time] if args.key?(:create_time)
@@ -817,6 +840,7 @@ module Google
817
840
  @ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
818
841
  @ipv6_address = args[:ipv6_address] if args.key?(:ipv6_address)
819
842
  @kind = args[:kind] if args.key?(:kind)
843
+ @maintenance_version = args[:maintenance_version] if args.key?(:maintenance_version)
820
844
  @master_instance_name = args[:master_instance_name] if args.key?(:master_instance_name)
821
845
  @max_disk_size = args[:max_disk_size] if args.key?(:max_disk_size)
822
846
  @name = args[:name] if args.key?(:name)
@@ -878,7 +902,7 @@ module Google
878
902
  # @return [Array<Google::Apis::SqladminV1::Database>]
879
903
  attr_accessor :items
880
904
 
881
- # This is always **sql#databasesList**.
905
+ # This is always `sql#databasesList`.
882
906
  # Corresponds to the JSON property `kind`
883
907
  # @return [String]
884
908
  attr_accessor :kind
@@ -898,7 +922,7 @@ module Google
898
922
  class DemoteMasterConfiguration
899
923
  include Google::Apis::Core::Hashable
900
924
 
901
- # This is always **sql#demoteMasterConfiguration**.
925
+ # This is always `sql#demoteMasterConfiguration`.
902
926
  # Corresponds to the JSON property `kind`
903
927
  # @return [String]
904
928
  attr_accessor :kind
@@ -923,7 +947,7 @@ module Google
923
947
  class DemoteMasterContext
924
948
  include Google::Apis::Core::Hashable
925
949
 
926
- # This is always **sql#demoteMasterContext**.
950
+ # This is always `sql#demoteMasterContext`.
927
951
  # Corresponds to the JSON property `kind`
928
952
  # @return [String]
929
953
  attr_accessor :kind
@@ -945,12 +969,12 @@ module Google
945
969
  attr_accessor :skip_replication_setup
946
970
  alias_method :skip_replication_setup?, :skip_replication_setup
947
971
 
948
- # Verify GTID consistency for demote operation. Default value: **True**. Setting
949
- # this flag to false enables you to bypass GTID consistency check between on-
950
- # premises primary instance and Cloud SQL instance during the demotion operation
951
- # but also exposes you to the risk of future replication failures. Change the
952
- # value only if you know the reason for the GTID divergence and are confident
953
- # that doing so will not cause any replication issues.
972
+ # Verify the GTID consistency for demote operation. Default value: `True`.
973
+ # Setting this flag to `false` enables you to bypass the GTID consistency check
974
+ # between on-premises primary instance and Cloud SQL instance during the
975
+ # demotion operation but also exposes you to the risk of future replication
976
+ # failures. Change the value only if you know the reason for the GTID divergence
977
+ # and are confident that doing so will not cause any replication issues.
954
978
  # Corresponds to the JSON property `verifyGtidConsistency`
955
979
  # @return [Boolean]
956
980
  attr_accessor :verify_gtid_consistency
@@ -991,7 +1015,7 @@ module Google
991
1015
  # @return [String]
992
1016
  attr_accessor :client_key
993
1017
 
994
- # This is always **sql#demoteMasterMysqlReplicaConfiguration**.
1018
+ # This is always `sql#demoteMasterMysqlReplicaConfiguration`.
995
1019
  # Corresponds to the JSON property `kind`
996
1020
  # @return [String]
997
1021
  attr_accessor :kind
@@ -1064,7 +1088,7 @@ module Google
1064
1088
  class DiskEncryptionConfiguration
1065
1089
  include Google::Apis::Core::Hashable
1066
1090
 
1067
- # This is always **sql#diskEncryptionConfiguration**.
1091
+ # This is always `sql#diskEncryptionConfiguration`.
1068
1092
  # Corresponds to the JSON property `kind`
1069
1093
  # @return [String]
1070
1094
  attr_accessor :kind
@@ -1089,7 +1113,7 @@ module Google
1089
1113
  class DiskEncryptionStatus
1090
1114
  include Google::Apis::Core::Hashable
1091
1115
 
1092
- # This is always **sql#diskEncryptionStatus**.
1116
+ # This is always `sql#diskEncryptionStatus`.
1093
1117
  # Corresponds to the JSON property `kind`
1094
1118
  # @return [String]
1095
1119
  attr_accessor :kind
@@ -1114,20 +1138,20 @@ module Google
1114
1138
  class ExportContext
1115
1139
  include Google::Apis::Core::Hashable
1116
1140
 
1117
- # Options for exporting data as CSV. **MySQL** and **PostgreSQL** instances only.
1141
+ # Options for exporting data as CSV. `MySQL` and `PostgreSQL` instances only.
1118
1142
  # Corresponds to the JSON property `csvExportOptions`
1119
1143
  # @return [Google::Apis::SqladminV1::ExportContext::CsvExportOptions]
1120
1144
  attr_accessor :csv_export_options
1121
1145
 
1122
- # Databases to be exported. **MySQL instances:** If **fileType** is **SQL** and
1123
- # no database is specified, all databases are exported, except for the **mysql**
1124
- # system database. If **fileType** is **CSV**, you can specify one database,
1125
- # either by using this property or by using the **csvExportOptions.selectQuery**
1126
- # property, which takes precedence over this property. **PostgreSQL instances:**
1127
- # You must specify one database to be exported. If **fileType** is **CSV**, this
1128
- # database must match the one specified in the **csvExportOptions.selectQuery**
1129
- # property. **SQL Server instances:** You must specify one database to be
1130
- # exported, and the **fileType** must be **BAK**.
1146
+ # Databases to be exported. `MySQL instances:` If `fileType` is `SQL` and no
1147
+ # database is specified, all databases are exported, except for the `mysql`
1148
+ # system database. If `fileType` is `CSV`, you can specify one database, either
1149
+ # by using this property or by using the `csvExportOptions.selectQuery` property,
1150
+ # which takes precedence over this property. `PostgreSQL instances:` You must
1151
+ # specify one database to be exported. If `fileType` is `CSV`, this database
1152
+ # must match the one specified in the `csvExportOptions.selectQuery` property. `
1153
+ # SQL Server instances:` You must specify one database to be exported, and the `
1154
+ # fileType` must be `BAK`.
1131
1155
  # Corresponds to the JSON property `databases`
1132
1156
  # @return [Array<String>]
1133
1157
  attr_accessor :databases
@@ -1137,7 +1161,7 @@ module Google
1137
1161
  # @return [String]
1138
1162
  attr_accessor :file_type
1139
1163
 
1140
- # This is always **sql#exportContext**.
1164
+ # This is always `sql#exportContext`.
1141
1165
  # Corresponds to the JSON property `kind`
1142
1166
  # @return [String]
1143
1167
  attr_accessor :kind
@@ -1154,9 +1178,9 @@ module Google
1154
1178
  attr_accessor :sql_export_options
1155
1179
 
1156
1180
  # The path to the file in Google Cloud Storage where the export will be stored.
1157
- # The URI is in the form **gs://bucketName/fileName**. If the file already
1158
- # exists, the request succeeds, but the operation fails. If **fileType** is **
1159
- # SQL** and the filename ends with .gz, the contents are compressed.
1181
+ # The URI is in the form `gs://bucketName/fileName`. If the file already exists,
1182
+ # the request succeeds, but the operation fails. If `fileType` is `SQL` and the
1183
+ # filename ends with .gz, the contents are compressed.
1160
1184
  # Corresponds to the JSON property `uri`
1161
1185
  # @return [String]
1162
1186
  attr_accessor :uri
@@ -1176,7 +1200,7 @@ module Google
1176
1200
  @uri = args[:uri] if args.key?(:uri)
1177
1201
  end
1178
1202
 
1179
- # Options for exporting data as CSV. **MySQL** and **PostgreSQL** instances only.
1203
+ # Options for exporting data as CSV. `MySQL` and `PostgreSQL` instances only.
1180
1204
  class CsvExportOptions
1181
1205
  include Google::Apis::Core::Hashable
1182
1206
 
@@ -1259,11 +1283,11 @@ module Google
1259
1283
  class MysqlExportOptions
1260
1284
  include Google::Apis::Core::Hashable
1261
1285
 
1262
- # Option to include SQL statement required to set up replication. If set to **1**
1263
- # , the dump file includes a CHANGE MASTER TO statement with the binary log
1264
- # coordinates, and --set-gtid-purged is set to ON. If set to **2**, the CHANGE
1286
+ # Option to include SQL statement required to set up replication. If set to `1`,
1287
+ # the dump file includes a CHANGE MASTER TO statement with the binary log
1288
+ # coordinates, and --set-gtid-purged is set to ON. If set to `2`, the CHANGE
1265
1289
  # MASTER TO statement is written as a SQL comment and has no effect. If set to
1266
- # any value other than **1**, --set-gtid-purged is set to OFF.
1290
+ # any value other than `1`, --set-gtid-purged is set to OFF.
1267
1291
  # Corresponds to the JSON property `masterData`
1268
1292
  # @return [Fixnum]
1269
1293
  attr_accessor :master_data
@@ -1284,7 +1308,7 @@ module Google
1284
1308
  class FailoverContext
1285
1309
  include Google::Apis::Core::Hashable
1286
1310
 
1287
- # This is always **sql#failoverContext**.
1311
+ # This is always `sql#failoverContext`.
1288
1312
  # Corresponds to the JSON property `kind`
1289
1313
  # @return [String]
1290
1314
  attr_accessor :kind
@@ -1316,13 +1340,18 @@ module Google
1316
1340
  # @return [Array<Fixnum>]
1317
1341
  attr_accessor :allowed_int_values
1318
1342
 
1319
- # For **STRING** flags, a list of strings that the value can be set to.
1343
+ # For `STRING` flags, a list of strings that the value can be set to.
1320
1344
  # Corresponds to the JSON property `allowedStringValues`
1321
1345
  # @return [Array<String>]
1322
1346
  attr_accessor :allowed_string_values
1323
1347
 
1324
- # The database version this flag applies to. Can be **MYSQL_8_0**, **MYSQL_5_6**,
1325
- # or **MYSQL_5_7**.
1348
+ # The database version this flag applies to. Can be MySQL instances: `MYSQL_8_0`,
1349
+ # `MYSQL_8_0_18`, `MYSQL_8_0_26`, `MYSQL_5_7`, or `MYSQL_5_6`. PostgreSQL
1350
+ # instances: `POSTGRES_9_6`, `POSTGRES_10`, `POSTGRES_11` or `POSTGRES_12`. SQL
1351
+ # Server instances: `SQLSERVER_2017_STANDARD`, `SQLSERVER_2017_ENTERPRISE`, `
1352
+ # SQLSERVER_2017_EXPRESS`, `SQLSERVER_2017_WEB`, `SQLSERVER_2019_STANDARD`, `
1353
+ # SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`, or `SQLSERVER_2019_WEB`.
1354
+ # See [the complete list](/sql/docs/mysql/admin-api/rest/v1/SqlDatabaseVersion).
1326
1355
  # Corresponds to the JSON property `appliesTo`
1327
1356
  # @return [Array<String>]
1328
1357
  attr_accessor :applies_to
@@ -1333,23 +1362,23 @@ module Google
1333
1362
  attr_accessor :in_beta
1334
1363
  alias_method :in_beta?, :in_beta
1335
1364
 
1336
- # This is always **sql#flag**.
1365
+ # This is always `sql#flag`.
1337
1366
  # Corresponds to the JSON property `kind`
1338
1367
  # @return [String]
1339
1368
  attr_accessor :kind
1340
1369
 
1341
- # For **INTEGER** flags, the maximum allowed value.
1370
+ # For `INTEGER` flags, the maximum allowed value.
1342
1371
  # Corresponds to the JSON property `maxValue`
1343
1372
  # @return [Fixnum]
1344
1373
  attr_accessor :max_value
1345
1374
 
1346
- # For **INTEGER** flags, the minimum allowed value.
1375
+ # For `INTEGER` flags, the minimum allowed value.
1347
1376
  # Corresponds to the JSON property `minValue`
1348
1377
  # @return [Fixnum]
1349
1378
  attr_accessor :min_value
1350
1379
 
1351
1380
  # This is the name of the flag. Flag names always use underscores, not hyphens,
1352
- # for example: **max_allowed_packet**
1381
+ # for example: `max_allowed_packet`
1353
1382
  # Corresponds to the JSON property `name`
1354
1383
  # @return [String]
1355
1384
  attr_accessor :name
@@ -1361,9 +1390,9 @@ module Google
1361
1390
  attr_accessor :requires_restart
1362
1391
  alias_method :requires_restart?, :requires_restart
1363
1392
 
1364
- # The type of the flag. Flags are typed to being **BOOLEAN**, **STRING**, **
1365
- # INTEGER** or **NONE**. **NONE** is used for flags which do not take a value,
1366
- # such as **skip_grant_tables**.
1393
+ # The type of the flag. Flags are typed to being `BOOLEAN`, `STRING`, `INTEGER`
1394
+ # or `NONE`. `NONE` is used for flags that do not take a value, such as `
1395
+ # skip_grant_tables`.
1367
1396
  # Corresponds to the JSON property `type`
1368
1397
  # @return [String]
1369
1398
  attr_accessor :type
@@ -1396,7 +1425,7 @@ module Google
1396
1425
  # @return [Array<Google::Apis::SqladminV1::Flag>]
1397
1426
  attr_accessor :items
1398
1427
 
1399
- # This is always **sql#flagsList**.
1428
+ # This is always `sql#flagsList`.
1400
1429
  # Corresponds to the JSON property `kind`
1401
1430
  # @return [String]
1402
1431
  attr_accessor :kind
@@ -1482,16 +1511,16 @@ module Google
1482
1511
  # @return [Google::Apis::SqladminV1::ImportContext::CsvImportOptions]
1483
1512
  attr_accessor :csv_import_options
1484
1513
 
1485
- # The target database for the import. If **fileType** is **SQL**, this field is
1514
+ # The target database for the import. If `fileType` is `SQL`, this field is
1486
1515
  # required only if the import file does not specify a database, and is
1487
- # overridden by any database specification in the import file. If **fileType**
1488
- # is **CSV**, one database must be specified.
1516
+ # overridden by any database specification in the import file. If `fileType` is `
1517
+ # CSV`, one database must be specified.
1489
1518
  # Corresponds to the JSON property `database`
1490
1519
  # @return [String]
1491
1520
  attr_accessor :database
1492
1521
 
1493
- # The file type for the specified uri. **SQL**: The file contains SQL statements.
1494
- # **CSV**: The file contains CSV data.
1522
+ # The file type for the specified uri.\`SQL`: The file contains SQL statements. \
1523
+ # `CSV`: The file contains CSV data.
1495
1524
  # Corresponds to the JSON property `fileType`
1496
1525
  # @return [String]
1497
1526
  attr_accessor :file_type
@@ -1501,15 +1530,15 @@ module Google
1501
1530
  # @return [String]
1502
1531
  attr_accessor :import_user
1503
1532
 
1504
- # This is always **sql#importContext**.
1533
+ # This is always `sql#importContext`.
1505
1534
  # Corresponds to the JSON property `kind`
1506
1535
  # @return [String]
1507
1536
  attr_accessor :kind
1508
1537
 
1509
- # Path to the import file in Cloud Storage, in the form **gs://bucketName/
1510
- # fileName**. Compressed gzip files (.gz) are supported when **fileType** is **
1511
- # SQL**. The instance must have write permissions to the bucket and read access
1512
- # to the file.
1538
+ # Path to the import file in Cloud Storage, in the form `gs://bucketName/
1539
+ # fileName`. Compressed gzip files (.gz) are supported when `fileType` is `SQL`.
1540
+ # The instance must have write permissions to the bucket and read access to the
1541
+ # file.
1513
1542
  # Corresponds to the JSON property `uri`
1514
1543
  # @return [String]
1515
1544
  attr_accessor :uri
@@ -1551,8 +1580,8 @@ module Google
1551
1580
  class EncryptionOptions
1552
1581
  include Google::Apis::Core::Hashable
1553
1582
 
1554
- # Path to the Certificate (.cer) in Cloud Storage, in the form **gs://bucketName/
1555
- # fileName**. The instance must have write permissions to the bucket and read
1583
+ # Path to the Certificate (.cer) in Cloud Storage, in the form `gs://bucketName/
1584
+ # fileName`. The instance must have write permissions to the bucket and read
1556
1585
  # access to the file.
1557
1586
  # Corresponds to the JSON property `certPath`
1558
1587
  # @return [String]
@@ -1563,8 +1592,8 @@ module Google
1563
1592
  # @return [String]
1564
1593
  attr_accessor :pvk_password
1565
1594
 
1566
- # Path to the Certificate Private Key (.pvk) in Cloud Storage, in the form **gs:/
1567
- # /bucketName/fileName**. The instance must have write permissions to the bucket
1595
+ # Path to the Certificate Private Key (.pvk) in Cloud Storage, in the form `gs://
1596
+ # bucketName/fileName`. The instance must have write permissions to the bucket
1568
1597
  # and read access to the file.
1569
1598
  # Corresponds to the JSON property `pvkPath`
1570
1599
  # @return [String]
@@ -1825,7 +1854,7 @@ module Google
1825
1854
  # @return [Array<Google::Apis::SqladminV1::DatabaseInstance>]
1826
1855
  attr_accessor :items
1827
1856
 
1828
- # This is always **sql#instancesList**.
1857
+ # This is always `sql#instancesList`.
1829
1858
  # Corresponds to the JSON property `kind`
1830
1859
  # @return [String]
1831
1860
  attr_accessor :kind
@@ -1868,7 +1897,7 @@ module Google
1868
1897
  # @return [Array<Google::Apis::SqladminV1::SslCert>]
1869
1898
  attr_accessor :certs
1870
1899
 
1871
- # This is always **sql#instancesListServerCas**.
1900
+ # This is always `sql#instancesListServerCas`.
1872
1901
  # Corresponds to the JSON property `kind`
1873
1902
  # @return [String]
1874
1903
  attr_accessor :kind
@@ -1958,7 +1987,7 @@ module Google
1958
1987
 
1959
1988
  # The list of external networks that are allowed to connect to the instance
1960
1989
  # using the IP. In 'CIDR' notation, also known as 'slash' notation (for example:
1961
- # **192.168.100.0/24**).
1990
+ # `157.197.200.0/24`).
1962
1991
  # Corresponds to the JSON property `authorizedNetworks`
1963
1992
  # @return [Array<Google::Apis::SqladminV1::AclEntry>]
1964
1993
  attr_accessor :authorized_networks
@@ -1970,8 +1999,8 @@ module Google
1970
1999
  alias_method :ipv4_enabled?, :ipv4_enabled
1971
2000
 
1972
2001
  # The resource link for the VPC network from which the Cloud SQL instance is
1973
- # accessible for private IP. For example, **/projects/myProject/global/networks/
1974
- # default**. This setting can be updated, but it cannot be removed after it is
2002
+ # accessible for private IP. For example, `/projects/myProject/global/networks/
2003
+ # default`. This setting can be updated, but it cannot be removed after it is
1975
2004
  # set.
1976
2005
  # Corresponds to the JSON property `privateNetwork`
1977
2006
  # @return [String]
@@ -2007,16 +2036,16 @@ module Google
2007
2036
  attr_accessor :ip_address
2008
2037
 
2009
2038
  # The due time for this IP to be retired in [RFC 3339](https://tools.ietf.org/
2010
- # html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**. This field is
2039
+ # html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`. This field is
2011
2040
  # only available when the IP is scheduled to be retired.
2012
2041
  # Corresponds to the JSON property `timeToRetire`
2013
2042
  # @return [String]
2014
2043
  attr_accessor :time_to_retire
2015
2044
 
2016
- # The type of this IP address. A **PRIMARY** address is a public address that
2017
- # can accept incoming connections. A **PRIVATE** address is a private address
2018
- # that can accept incoming connections. An **OUTGOING** address is the source
2019
- # address of connections originating from the instance, if supported.
2045
+ # The type of this IP address. A `PRIMARY` address is a public address that can
2046
+ # accept incoming connections. A `PRIVATE` address is a private address that can
2047
+ # accept incoming connections. An `OUTGOING` address is the source address of
2048
+ # connections originating from the instance, if supported.
2020
2049
  # Corresponds to the JSON property `type`
2021
2050
  # @return [String]
2022
2051
  attr_accessor :type
@@ -2040,24 +2069,24 @@ module Google
2040
2069
  include Google::Apis::Core::Hashable
2041
2070
 
2042
2071
  # The App Engine application to follow, it must be in the same region as the
2043
- # Cloud SQL instance.
2072
+ # Cloud SQL instance. WARNING: Changing this might restart the instance.
2044
2073
  # Corresponds to the JSON property `followGaeApplication`
2045
2074
  # @return [String]
2046
2075
  attr_accessor :follow_gae_application
2047
2076
 
2048
- # This is always **sql#locationPreference**.
2077
+ # This is always `sql#locationPreference`.
2049
2078
  # Corresponds to the JSON property `kind`
2050
2079
  # @return [String]
2051
2080
  attr_accessor :kind
2052
2081
 
2053
2082
  # The preferred Compute Engine zone for the secondary/failover (for example: us-
2054
- # central1-a, us-central1-b, etc.). Reserved for future use.
2083
+ # central1-a, us-central1-b, etc.).
2055
2084
  # Corresponds to the JSON property `secondaryZone`
2056
2085
  # @return [String]
2057
2086
  attr_accessor :secondary_zone
2058
2087
 
2059
2088
  # The preferred Compute Engine zone (for example: us-central1-a, us-central1-b,
2060
- # etc.).
2089
+ # etc.). WARNING: Changing this might restart the instance.
2061
2090
  # Corresponds to the JSON property `zone`
2062
2091
  # @return [String]
2063
2092
  attr_accessor :zone
@@ -2090,12 +2119,12 @@ module Google
2090
2119
  # @return [Fixnum]
2091
2120
  attr_accessor :hour
2092
2121
 
2093
- # This is always **sql#maintenanceWindow**.
2122
+ # This is always `sql#maintenanceWindow`.
2094
2123
  # Corresponds to the JSON property `kind`
2095
2124
  # @return [String]
2096
2125
  attr_accessor :kind
2097
2126
 
2098
- # Maintenance timing setting: **canary** (Earlier) or **stable** (Later). [Learn
2127
+ # Maintenance timing setting: `canary` (Earlier) or `stable` (Later). [Learn
2099
2128
  # more](https://cloud.google.com/sql/docs/mysql/instance-settings#maintenance-
2100
2129
  # timing-2ndgen).
2101
2130
  # Corresponds to the JSON property `updateTrack`
@@ -2149,7 +2178,7 @@ module Google
2149
2178
  # @return [String]
2150
2179
  attr_accessor :dump_file_path
2151
2180
 
2152
- # This is always **sql#mysqlReplicaConfiguration**.
2181
+ # This is always `sql#mysqlReplicaConfiguration`.
2153
2182
  # Corresponds to the JSON property `kind`
2154
2183
  # @return [String]
2155
2184
  attr_accessor :kind
@@ -2250,7 +2279,7 @@ module Google
2250
2279
  # @return [String]
2251
2280
  attr_accessor :host_port
2252
2281
 
2253
- # This is always **sql#onPremisesConfiguration**.
2282
+ # This is always `sql#onPremisesConfiguration`.
2254
2283
  # Corresponds to the JSON property `kind`
2255
2284
  # @return [String]
2256
2285
  attr_accessor :kind
@@ -2300,7 +2329,7 @@ module Google
2300
2329
  attr_accessor :backup_context
2301
2330
 
2302
2331
  # The time this operation finished in UTC timezone in [RFC 3339](https://tools.
2303
- # ietf.org/html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
2332
+ # ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
2304
2333
  # Corresponds to the JSON property `endTime`
2305
2334
  # @return [String]
2306
2335
  attr_accessor :end_time
@@ -2321,12 +2350,12 @@ module Google
2321
2350
  attr_accessor :import_context
2322
2351
 
2323
2352
  # The time this operation was enqueued in UTC timezone in [RFC 3339](https://
2324
- # tools.ietf.org/html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
2353
+ # tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
2325
2354
  # Corresponds to the JSON property `insertTime`
2326
2355
  # @return [String]
2327
2356
  attr_accessor :insert_time
2328
2357
 
2329
- # This is always **sql#operation**.
2358
+ # This is always `sql#operation`.
2330
2359
  # Corresponds to the JSON property `kind`
2331
2360
  # @return [String]
2332
2361
  attr_accessor :kind
@@ -2338,10 +2367,9 @@ module Google
2338
2367
  # @return [String]
2339
2368
  attr_accessor :name
2340
2369
 
2341
- # The type of the operation. Valid values are: * **CREATE** * **DELETE** * **
2342
- # UPDATE** * **RESTART** * **IMPORT** * **EXPORT** * **BACKUP_VOLUME** * **
2343
- # RESTORE_VOLUME** * **CREATE_USER** * **DELETE_USER** * **CREATE_DATABASE** * **
2344
- # DELETE_DATABASE**
2370
+ # The type of the operation. Valid values are: * `CREATE` * `DELETE` * `UPDATE` *
2371
+ # `RESTART` * `IMPORT` * `EXPORT` * `BACKUP_VOLUME` * `RESTORE_VOLUME` * `
2372
+ # CREATE_USER` * `DELETE_USER` * `CREATE_DATABASE` * `DELETE_DATABASE`
2345
2373
  # Corresponds to the JSON property `operationType`
2346
2374
  # @return [String]
2347
2375
  attr_accessor :operation_type
@@ -2352,7 +2380,7 @@ module Google
2352
2380
  attr_accessor :self_link
2353
2381
 
2354
2382
  # The time this operation actually started in UTC timezone in [RFC 3339](https://
2355
- # tools.ietf.org/html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
2383
+ # tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
2356
2384
  # Corresponds to the JSON property `startTime`
2357
2385
  # @return [String]
2358
2386
  attr_accessor :start_time
@@ -2416,7 +2444,7 @@ module Google
2416
2444
  # @return [String]
2417
2445
  attr_accessor :code
2418
2446
 
2419
- # This is always **sql#operationError**.
2447
+ # This is always `sql#operationError`.
2420
2448
  # Corresponds to the JSON property `kind`
2421
2449
  # @return [String]
2422
2450
  attr_accessor :kind
@@ -2447,7 +2475,7 @@ module Google
2447
2475
  # @return [Array<Google::Apis::SqladminV1::OperationError>]
2448
2476
  attr_accessor :errors
2449
2477
 
2450
- # This is always **sql#operationErrors**.
2478
+ # This is always `sql#operationErrors`.
2451
2479
  # Corresponds to the JSON property `kind`
2452
2480
  # @return [String]
2453
2481
  attr_accessor :kind
@@ -2472,7 +2500,7 @@ module Google
2472
2500
  # @return [Array<Google::Apis::SqladminV1::Operation>]
2473
2501
  attr_accessor :items
2474
2502
 
2475
- # This is always **sql#operationsList**.
2503
+ # This is always `sql#operationsList`.
2476
2504
  # Corresponds to the JSON property `kind`
2477
2505
  # @return [String]
2478
2506
  attr_accessor :kind
@@ -2541,7 +2569,8 @@ module Google
2541
2569
  # @return [Fixnum]
2542
2570
  attr_accessor :min_length
2543
2571
 
2544
- # Minimum interval after which the password can be changed.
2572
+ # Minimum interval after which the password can be changed. This flag is only
2573
+ # supported for PostgresSQL.
2545
2574
  # Corresponds to the JSON property `passwordChangeInterval`
2546
2575
  # @return [String]
2547
2576
  attr_accessor :password_change_interval
@@ -2569,8 +2598,8 @@ module Google
2569
2598
  class ReplicaConfiguration
2570
2599
  include Google::Apis::Core::Hashable
2571
2600
 
2572
- # Specifies if the replica is the failover target. If the field is set to **true*
2573
- # * the replica will be designated as a failover replica. In case the primary
2601
+ # Specifies if the replica is the failover target. If the field is set to `true`,
2602
+ # the replica will be designated as a failover replica. In case the primary
2574
2603
  # instance fails, the replica instance will be promoted as the new primary
2575
2604
  # instance. Only one replica can be specified as failover target, and the
2576
2605
  # replica has to be in different zone with the primary instance.
@@ -2579,7 +2608,7 @@ module Google
2579
2608
  attr_accessor :failover_target
2580
2609
  alias_method :failover_target?, :failover_target
2581
2610
 
2582
- # This is always **sql#replicaConfiguration**.
2611
+ # This is always `sql#replicaConfiguration`.
2583
2612
  # Corresponds to the JSON property `kind`
2584
2613
  # @return [String]
2585
2614
  attr_accessor :kind
@@ -2612,7 +2641,7 @@ module Google
2612
2641
 
2613
2642
  # Optional. Timestamp when the maintenance shall be rescheduled to if
2614
2643
  # reschedule_type=SPECIFIC_TIME, in [RFC 3339](https://tools.ietf.org/html/
2615
- # rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
2644
+ # rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
2616
2645
  # Corresponds to the JSON property `scheduleTime`
2617
2646
  # @return [String]
2618
2647
  attr_accessor :schedule_time
@@ -2643,7 +2672,7 @@ module Google
2643
2672
  # @return [String]
2644
2673
  attr_accessor :instance_id
2645
2674
 
2646
- # This is always **sql#restoreBackupContext**.
2675
+ # This is always `sql#restoreBackupContext`.
2647
2676
  # Corresponds to the JSON property `kind`
2648
2677
  # @return [String]
2649
2678
  attr_accessor :kind
@@ -2670,7 +2699,7 @@ module Google
2670
2699
  class RotateServerCaContext
2671
2700
  include Google::Apis::Core::Hashable
2672
2701
 
2673
- # This is always **sql#rotateServerCaContext**.
2702
+ # This is always `sql#rotateServerCaContext`.
2674
2703
  # Corresponds to the JSON property `kind`
2675
2704
  # @return [String]
2676
2705
  attr_accessor :kind
@@ -2697,10 +2726,10 @@ module Google
2697
2726
  include Google::Apis::Core::Hashable
2698
2727
 
2699
2728
  # The activation policy specifies when the instance is activated; it is
2700
- # applicable only when the instance state is RUNNABLE. Valid values: * **ALWAYS**
2701
- # : The instance is on, and remains so even in the absence of connection
2702
- # requests. * **NEVER**: The instance is off; it is not activated, even if a
2703
- # connection request arrives.
2729
+ # applicable only when the instance state is RUNNABLE. Valid values: * `ALWAYS`:
2730
+ # The instance is on, and remains so even in the absence of connection requests.
2731
+ # * `NEVER`: The instance is off; it is not activated, even if a connection
2732
+ # request arrives.
2704
2733
  # Corresponds to the JSON property `activationPolicy`
2705
2734
  # @return [String]
2706
2735
  attr_accessor :activation_policy
@@ -2716,12 +2745,11 @@ module Google
2716
2745
  # @return [Array<String>]
2717
2746
  attr_accessor :authorized_gae_applications
2718
2747
 
2719
- # Availability type. Potential values: * **ZONAL**: The instance serves data
2720
- # from only one zone. Outages in that zone affect data accessibility. * **
2721
- # REGIONAL**: The instance can serve data from more than one zone in a region (
2722
- # it is highly available)./ For more information, see [Overview of the High
2723
- # Availability Configuration](https://cloud.google.com/sql/docs/mysql/high-
2724
- # availability).
2748
+ # Availability type. Potential values: * `ZONAL`: The instance serves data from
2749
+ # only one zone. Outages in that zone affect data accessibility. * `REGIONAL`:
2750
+ # The instance can serve data from more than one zone in a region (it is highly
2751
+ # available)./ For more information, see [Overview of the High Availability
2752
+ # Configuration](https://cloud.google.com/sql/docs/mysql/high-availability).
2725
2753
  # Corresponds to the JSON property `availabilityType`
2726
2754
  # @return [String]
2727
2755
  attr_accessor :availability_type
@@ -2749,7 +2777,7 @@ module Google
2749
2777
  # @return [Fixnum]
2750
2778
  attr_accessor :data_disk_size_gb
2751
2779
 
2752
- # The type of data disk: **PD_SSD** (default) or **PD_HDD**. Not used for First
2780
+ # The type of data disk: `PD_SSD` (default) or `PD_HDD`. Not used for First
2753
2781
  # Generation instances.
2754
2782
  # Corresponds to the JSON property `dataDiskType`
2755
2783
  # @return [String]
@@ -2761,7 +2789,7 @@ module Google
2761
2789
  attr_accessor :database_flags
2762
2790
 
2763
2791
  # Configuration specific to read replica instances. Indicates whether
2764
- # replication is enabled or not.
2792
+ # replication is enabled or not. WARNING: Changing this restarts the instance.
2765
2793
  # Corresponds to the JSON property `databaseReplicationEnabled`
2766
2794
  # @return [Boolean]
2767
2795
  attr_accessor :database_replication_enabled
@@ -2783,7 +2811,7 @@ module Google
2783
2811
  # @return [Google::Apis::SqladminV1::IpConfiguration]
2784
2812
  attr_accessor :ip_configuration
2785
2813
 
2786
- # This is always **sql#settings**.
2814
+ # This is always `sql#settings`.
2787
2815
  # Corresponds to the JSON property `kind`
2788
2816
  # @return [String]
2789
2817
  attr_accessor :kind
@@ -2806,14 +2834,14 @@ module Google
2806
2834
  # @return [Google::Apis::SqladminV1::PasswordValidationPolicy]
2807
2835
  attr_accessor :password_validation_policy
2808
2836
 
2809
- # The pricing plan for this instance. This can be either **PER_USE** or **
2810
- # PACKAGE**. Only **PER_USE** is supported for Second Generation instances.
2837
+ # The pricing plan for this instance. This can be either `PER_USE` or `PACKAGE`.
2838
+ # Only `PER_USE` is supported for Second Generation instances.
2811
2839
  # Corresponds to the JSON property `pricingPlan`
2812
2840
  # @return [String]
2813
2841
  attr_accessor :pricing_plan
2814
2842
 
2815
- # The type of replication this instance uses. This can be either **ASYNCHRONOUS**
2816
- # or **SYNCHRONOUS**. (Deprecated) This property was only applicable to First
2843
+ # The type of replication this instance uses. This can be either `ASYNCHRONOUS`
2844
+ # or `SYNCHRONOUS`. (Deprecated) This property was only applicable to First
2817
2845
  # Generation instances.
2818
2846
  # Corresponds to the JSON property `replicationType`
2819
2847
  # @return [String]
@@ -2845,7 +2873,8 @@ module Google
2845
2873
  # @return [Fixnum]
2846
2874
  attr_accessor :storage_auto_resize_limit
2847
2875
 
2848
- # The tier (or machine type) for this instance, for example **db-custom-1-3840**.
2876
+ # The tier (or machine type) for this instance, for example `db-custom-1-3840`.
2877
+ # WARNING: Changing this restarts the instance.
2849
2878
  # Corresponds to the JSON property `tier`
2850
2879
  # @return [String]
2851
2880
  attr_accessor :tier
@@ -2925,7 +2954,7 @@ module Google
2925
2954
  # @return [String]
2926
2955
  attr_accessor :detail
2927
2956
 
2928
- # Can be **sql#externalSyncSettingError** or **sql#externalSyncSettingWarning**.
2957
+ # Can be `sql#externalSyncSettingError` or `sql#externalSyncSettingWarning`.
2929
2958
  # Corresponds to the JSON property `kind`
2930
2959
  # @return [String]
2931
2960
  attr_accessor :kind
@@ -3046,7 +3075,7 @@ module Google
3046
3075
  # @return [Array<Google::Apis::SqladminV1::SqlExternalSyncSettingError>]
3047
3076
  attr_accessor :errors
3048
3077
 
3049
- # This is always **sql#migrationSettingErrorList**.
3078
+ # This is always `sql#migrationSettingErrorList`.
3050
3079
  # Corresponds to the JSON property `kind`
3051
3080
  # @return [String]
3052
3081
  attr_accessor :kind
@@ -3232,13 +3261,13 @@ module Google
3232
3261
  attr_accessor :common_name
3233
3262
 
3234
3263
  # The time when the certificate was created in [RFC 3339](https://tools.ietf.org/
3235
- # html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**
3264
+ # html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`
3236
3265
  # Corresponds to the JSON property `createTime`
3237
3266
  # @return [String]
3238
3267
  attr_accessor :create_time
3239
3268
 
3240
3269
  # The time when the certificate expires in [RFC 3339](https://tools.ietf.org/
3241
- # html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
3270
+ # html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
3242
3271
  # Corresponds to the JSON property `expirationTime`
3243
3272
  # @return [String]
3244
3273
  attr_accessor :expiration_time
@@ -3248,7 +3277,7 @@ module Google
3248
3277
  # @return [String]
3249
3278
  attr_accessor :instance
3250
3279
 
3251
- # This is always **sql#sslCert**.
3280
+ # This is always `sql#sslCert`.
3252
3281
  # Corresponds to the JSON property `kind`
3253
3282
  # @return [String]
3254
3283
  attr_accessor :kind
@@ -3361,7 +3390,7 @@ module Google
3361
3390
  # @return [Google::Apis::SqladminV1::SslCertDetail]
3362
3391
  attr_accessor :client_cert
3363
3392
 
3364
- # This is always **sql#sslCertsInsert**.
3393
+ # This is always `sql#sslCertsInsert`.
3365
3394
  # Corresponds to the JSON property `kind`
3366
3395
  # @return [String]
3367
3396
  attr_accessor :kind
@@ -3400,7 +3429,7 @@ module Google
3400
3429
  # @return [Array<Google::Apis::SqladminV1::SslCert>]
3401
3430
  attr_accessor :items
3402
3431
 
3403
- # This is always **sql#sslCertsList**.
3432
+ # This is always `sql#sslCertsList`.
3404
3433
  # Corresponds to the JSON property `kind`
3405
3434
  # @return [String]
3406
3435
  attr_accessor :kind
@@ -3457,7 +3486,7 @@ module Google
3457
3486
  # @return [Fixnum]
3458
3487
  attr_accessor :ram
3459
3488
 
3460
- # This is always **sql#tier**.
3489
+ # This is always `sql#tier`.
3461
3490
  # Corresponds to the JSON property `kind`
3462
3491
  # @return [String]
3463
3492
  attr_accessor :kind
@@ -3467,8 +3496,8 @@ module Google
3467
3496
  # @return [Array<String>]
3468
3497
  attr_accessor :region
3469
3498
 
3470
- # An identifier for the machine type, for example, db-custom-1-3840. For related
3471
- # information, see [Pricing](/sql/pricing).
3499
+ # An identifier for the machine type, for example, `db-custom-1-3840`. For
3500
+ # related information, see [Pricing](/sql/pricing).
3472
3501
  # Corresponds to the JSON property `tier`
3473
3502
  # @return [String]
3474
3503
  attr_accessor :tier
@@ -3496,7 +3525,7 @@ module Google
3496
3525
  # @return [Array<Google::Apis::SqladminV1::Tier>]
3497
3526
  attr_accessor :items
3498
3527
 
3499
- # This is always **sql#tiersList**.
3528
+ # This is always `sql#tiersList`.
3500
3529
  # Corresponds to the JSON property `kind`
3501
3530
  # @return [String]
3502
3531
  attr_accessor :kind
@@ -3516,13 +3545,13 @@ module Google
3516
3545
  class TruncateLogContext
3517
3546
  include Google::Apis::Core::Hashable
3518
3547
 
3519
- # This is always **sql#truncateLogContext**.
3548
+ # This is always `sql#truncateLogContext`.
3520
3549
  # Corresponds to the JSON property `kind`
3521
3550
  # @return [String]
3522
3551
  attr_accessor :kind
3523
3552
 
3524
- # The type of log to truncate. Valid values are **MYSQL_GENERAL_TABLE** and **
3525
- # MYSQL_SLOW_TABLE**.
3553
+ # The type of log to truncate. Valid values are `MYSQL_GENERAL_TABLE` and `
3554
+ # MYSQL_SLOW_TABLE`.
3526
3555
  # Corresponds to the JSON property `logType`
3527
3556
  # @return [String]
3528
3557
  attr_accessor :log_type
@@ -3547,28 +3576,28 @@ module Google
3547
3576
  # @return [String]
3548
3577
  attr_accessor :etag
3549
3578
 
3550
- # Optional. The host name from which the user can connect. For **insert**
3551
- # operations, host defaults to an empty string. For **update** operations, host
3552
- # is specified as part of the request URL. The host name cannot be updated after
3553
- # insertion. For a MySQL instance, it's required; for a PostgreSQL or SQL Server
3554
- # instance, it's optional.
3579
+ # Optional. The host from which the user can connect. For `insert` operations,
3580
+ # host defaults to an empty string. For `update` operations, host is specified
3581
+ # as part of the request URL. The host name cannot be updated after insertion.
3582
+ # For a MySQL instance, it's required; for a PostgreSQL or SQL Server instance,
3583
+ # it's optional.
3555
3584
  # Corresponds to the JSON property `host`
3556
3585
  # @return [String]
3557
3586
  attr_accessor :host
3558
3587
 
3559
3588
  # The name of the Cloud SQL instance. This does not include the project ID. Can
3560
- # be omitted for **update** since it is already specified on the URL.
3589
+ # be omitted for `update` because it is already specified on the URL.
3561
3590
  # Corresponds to the JSON property `instance`
3562
3591
  # @return [String]
3563
3592
  attr_accessor :instance
3564
3593
 
3565
- # This is always **sql#user**.
3594
+ # This is always `sql#user`.
3566
3595
  # Corresponds to the JSON property `kind`
3567
3596
  # @return [String]
3568
3597
  attr_accessor :kind
3569
3598
 
3570
- # The name of the user in the Cloud SQL instance. Can be omitted for **update**
3571
- # since it is already specified in the URL.
3599
+ # The name of the user in the Cloud SQL instance. Can be omitted for `update`
3600
+ # because it is already specified in the URL.
3572
3601
  # Corresponds to the JSON property `name`
3573
3602
  # @return [String]
3574
3603
  attr_accessor :name
@@ -3584,7 +3613,7 @@ module Google
3584
3613
  attr_accessor :password_policy
3585
3614
 
3586
3615
  # The project ID of the project containing the Cloud SQL database. The Google
3587
- # apps domain is prefixed if applicable. Can be omitted for **update** since it
3616
+ # apps domain is prefixed if applicable. Can be omitted for `update` because it
3588
3617
  # is already specified on the URL.
3589
3618
  # Corresponds to the JSON property `project`
3590
3619
  # @return [String]
@@ -3667,7 +3696,7 @@ module Google
3667
3696
  # @return [Array<Google::Apis::SqladminV1::User>]
3668
3697
  attr_accessor :items
3669
3698
 
3670
- # This is always **sql#usersList**.
3699
+ # This is always `sql#usersList`.
3671
3700
  # Corresponds to the JSON property `kind`
3672
3701
  # @return [String]
3673
3702
  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.10.0"
19
+ GEM_VERSION = "0.14.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211110"
25
+ REVISION = "20220215"
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'
@@ -698,6 +699,7 @@ module Google
698
699
  class DatabaseInstance
699
700
  # @private
700
701
  class Representation < Google::Apis::Core::JsonRepresentation
702
+ collection :available_maintenance_versions, as: 'availableMaintenanceVersions'
701
703
  property :backend_type, as: 'backendType'
702
704
  property :connection_name, as: 'connectionName'
703
705
  property :create_time, as: 'createTime'
@@ -717,6 +719,7 @@ module Google
717
719
 
718
720
  property :ipv6_address, as: 'ipv6Address'
719
721
  property :kind, as: 'kind'
722
+ property :maintenance_version, as: 'maintenanceVersion'
720
723
  property :master_instance_name, as: 'masterInstanceName'
721
724
  property :max_disk_size, :numeric_string => true, as: 'maxDiskSize'
722
725
  property :name, as: 'name'
@@ -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. For more information, see https://cloud.google.com/sql/pricing.
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.10.0
4
+ version: 0.14.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-12-06 00:00:00.000000000 Z
11
+ date: 2022-02-21 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.10.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.14.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.2.17
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