google-apis-sqladmin_v1beta4 0.15.0 → 0.19.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -26,13 +26,13 @@ module Google
26
26
  class AclEntry
27
27
  include Google::Apis::Core::Hashable
28
28
 
29
- # The time when this access control entry expires in RFC 3339 format, for
30
- # example *2012-11-15T16:19:00.094Z*.
29
+ # The time when this access control entry expires in [RFC 3339](https://tools.
30
+ # ietf.org/html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
31
31
  # Corresponds to the JSON property `expirationTime`
32
32
  # @return [String]
33
33
  attr_accessor :expiration_time
34
34
 
35
- # This is always *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
@@ -243,14 +243,14 @@ module Google
243
243
  # @return [Google::Apis::SqladminV1beta4::DiskEncryptionStatus]
244
244
  attr_accessor :disk_encryption_status
245
245
 
246
- # The time the backup operation completed in UTC timezone in RFC 3339 format,
247
- # for example *2012-11-15T16:19:00.094Z*.
246
+ # The time the backup operation completed in UTC timezone in [RFC 3339](https://
247
+ # tools.ietf.org/html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
248
248
  # Corresponds to the JSON property `endTime`
249
249
  # @return [String]
250
250
  attr_accessor :end_time
251
251
 
252
- # The time the run was enqueued in UTC timezone in RFC 3339 format, for example *
253
- # 2012-11-15T16:19:00.094Z*.
252
+ # The time the run was enqueued in UTC timezone in [RFC 3339](https://tools.ietf.
253
+ # org/html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
254
254
  # Corresponds to the JSON property `enqueuedTime`
255
255
  # @return [String]
256
256
  attr_accessor :enqueued_time
@@ -271,7 +271,7 @@ module Google
271
271
  # @return [String]
272
272
  attr_accessor :instance
273
273
 
274
- # This is always *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
@@ -286,8 +286,9 @@ module Google
286
286
  # @return [String]
287
287
  attr_accessor :self_link
288
288
 
289
- # The time the backup operation actually started in UTC timezone in RFC 3339
290
- # format, for example *2012-11-15T16:19:00.094Z*.
289
+ # The time the backup operation actually started in UTC timezone in [RFC 3339](
290
+ # https://tools.ietf.org/html/rfc3339) format, for example **2012-11-15T16:19:00.
291
+ # 094Z**.
291
292
  # Corresponds to the JSON property `startTime`
292
293
  # @return [String]
293
294
  attr_accessor :start_time
@@ -304,7 +305,8 @@ module Google
304
305
  attr_accessor :type
305
306
 
306
307
  # The start time of the backup window during which this the backup was attempted
307
- # in RFC 3339 format, for example *2012-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**.
308
310
  # Corresponds to the JSON property `windowStartTime`
309
311
  # @return [String]
310
312
  attr_accessor :window_start_time
@@ -343,7 +345,7 @@ module Google
343
345
  # @return [Array<Google::Apis::SqladminV1beta4::BackupRun>]
344
346
  attr_accessor :items
345
347
 
346
- # This is always *sql#backupRunsList*.
348
+ # This is always **sql#backupRunsList**.
347
349
  # Corresponds to the JSON property `kind`
348
350
  # @return [String]
349
351
  attr_accessor :kind
@@ -380,7 +382,7 @@ module Google
380
382
  # @return [Fixnum]
381
383
  attr_accessor :bin_log_position
382
384
 
383
- # This is always *sql#binLogCoordinates*.
385
+ # This is always **sql#binLogCoordinates**.
384
386
  # Corresponds to the JSON property `kind`
385
387
  # @return [String]
386
388
  attr_accessor :kind
@@ -411,7 +413,7 @@ module Google
411
413
  # @return [String]
412
414
  attr_accessor :destination_instance_name
413
415
 
414
- # This is always *sql#cloneContext*.
416
+ # This is always **sql#cloneContext**.
415
417
  # Corresponds to the JSON property `kind`
416
418
  # @return [String]
417
419
  attr_accessor :kind
@@ -472,6 +474,12 @@ module Google
472
474
  # @return [String]
473
475
  attr_accessor :kind
474
476
 
477
+ # The cloud region for the instance. e.g. **us-central1**, **europe-west1**. The
478
+ # region cannot be changed after instance creation.
479
+ # Corresponds to the JSON property `region`
480
+ # @return [String]
481
+ attr_accessor :region
482
+
475
483
  # SslCerts Resource
476
484
  # Corresponds to the JSON property `serverCaCert`
477
485
  # @return [Google::Apis::SqladminV1beta4::SslCert]
@@ -487,6 +495,7 @@ module Google
487
495
  @database_version = args[:database_version] if args.key?(:database_version)
488
496
  @ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
489
497
  @kind = args[:kind] if args.key?(:kind)
498
+ @region = args[:region] if args.key?(:region)
490
499
  @server_ca_cert = args[:server_ca_cert] if args.key?(:server_ca_cert)
491
500
  end
492
501
  end
@@ -515,7 +524,7 @@ module Google
515
524
  # @return [String]
516
525
  attr_accessor :instance
517
526
 
518
- # This is always *sql#database*.
527
+ # This is always **sql#database**.
519
528
  # Corresponds to the JSON property `kind`
520
529
  # @return [String]
521
530
  attr_accessor :kind
@@ -566,14 +575,14 @@ module Google
566
575
 
567
576
  # The name of the flag. These flags are passed at instance startup, so include
568
577
  # both server options and system variables. Flags are specified with underscores,
569
- # not hyphens. For more information, see Configuring Database Flags in the
570
- # Cloud SQL documentation.
578
+ # not hyphens. For more information, see [Configuring Database Flags](https://
579
+ # cloud.google.com/sql/docs/mysql/flags) in the Cloud SQL documentation.
571
580
  # Corresponds to the JSON property `name`
572
581
  # @return [String]
573
582
  attr_accessor :name
574
583
 
575
- # The value of the flag. Booleans are set to *on* for true and *off* for false.
576
- # This field must be omitted if the flag doesn't take a value.
584
+ # The value of the flag. Booleans are set to **on** for true and **off** for
585
+ # false. This field must be omitted if the flag doesn't take a value.
577
586
  # Corresponds to the JSON property `value`
578
587
  # @return [String]
579
588
  attr_accessor :value
@@ -593,9 +602,10 @@ module Google
593
602
  class DatabaseInstance
594
603
  include Google::Apis::Core::Hashable
595
604
 
596
- # *SECOND_GEN*: Cloud SQL database instance. *EXTERNAL*: A database server that
597
- # is not managed by Google. This property is read-only; use the *tier* property
598
- # in the *settings* object to determine the database type.
605
+ # The backend type. **SECOND_GEN**: Cloud SQL database instance. **EXTERNAL**: A
606
+ # database server that is not managed by Google. This property is read-only; use
607
+ # the **tier** property in the **settings** object to determine the database
608
+ # type.
599
609
  # Corresponds to the JSON property `backendType`
600
610
  # @return [String]
601
611
  attr_accessor :backend_type
@@ -605,26 +615,29 @@ module Google
605
615
  # @return [String]
606
616
  attr_accessor :connection_name
607
617
 
608
- # Output only. The time when the instance was created in RFC 3339 format (https:/
609
- # /tools.ietf.org/html/rfc3339), for example 2012-11-15T16:19:00.094Z
618
+ # Output only. The time when the instance was created in [RFC 3339](https://
619
+ # tools.ietf.org/html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
610
620
  # Corresponds to the JSON property `createTime`
611
621
  # @return [String]
612
622
  attr_accessor :create_time
613
623
 
614
624
  # The current disk usage of the instance in bytes. This property has been
615
625
  # deprecated. Use the "cloudsql.googleapis.com/database/disk/bytes_used" metric
616
- # in Cloud Monitoring API instead. Please see this announcement for details.
626
+ # in Cloud Monitoring API instead. Please see [this announcement](https://groups.
627
+ # google.com/d/msg/google-cloud-sql-announce/I_7-F9EBhT0/BtvFtdFeAgAJ) for
628
+ # details.
617
629
  # Corresponds to the JSON property `currentDiskSize`
618
630
  # @return [Fixnum]
619
631
  attr_accessor :current_disk_size
620
632
 
621
- # The database engine type and version. The *databaseVersion* field cannot be
622
- # changed after instance creation. MySQL instances: *MYSQL_8_0*, *MYSQL_5_7* (
623
- # default), or *MYSQL_5_6*. PostgreSQL instances: *POSTGRES_9_6*, *POSTGRES_10*,
624
- # *POSTGRES_11*, *POSTGRES_12*, *POSTGRES_13* (default). SQL Server instances: *
625
- # SQLSERVER_2019_STANDARD*, *SQLSERVER_2019_ENTERPRISE*, *SQLSERVER_2019_EXPRESS*
626
- # , or *SQLSERVER_2019_WEB*, *SQLSERVER_2017_STANDARD* (default), *
627
- # SQLSERVER_2017_ENTERPRISE*, *SQLSERVER_2017_EXPRESS*, or *SQLSERVER_2017_WEB*.
633
+ # The database engine type and version. The **databaseVersion** field cannot be
634
+ # changed after instance creation. * **MySQL instances**: MYSQL_8_0, MYSQL_5_7 (
635
+ # default), or MYSQL_5_6. * **PostgreSQL instances**: POSTGRES_9_6, POSTGRES_10,
636
+ # POSTGRES_11, POSTGRES_12, POSTGRES_13 (default), POSTGRES_14. * **SQL Server
637
+ # instances**: SQLSERVER_2019_STANDARD, SQLSERVER_2019_ENTERPRISE,
638
+ # SQLSERVER_2019_EXPRESS, or SQLSERVER_2019_WEB, SQLSERVER_2017_STANDARD (
639
+ # default), SQLSERVER_2017_ENTERPRISE, SQLSERVER_2017_EXPRESS, or
640
+ # SQLSERVER_2017_WEB.
628
641
  # Corresponds to the JSON property `databaseVersion`
629
642
  # @return [String]
630
643
  attr_accessor :database_version
@@ -640,7 +653,7 @@ module Google
640
653
  attr_accessor :disk_encryption_status
641
654
 
642
655
  # This field is deprecated and will be removed from a future version of the API.
643
- # Use the *settings.settingsVersion* field instead.
656
+ # Use the **settings.settingsVersion** field instead.
644
657
  # Corresponds to the JSON property `etag`
645
658
  # @return [String]
646
659
  attr_accessor :etag
@@ -657,10 +670,10 @@ module Google
657
670
  # @return [String]
658
671
  attr_accessor :gce_zone
659
672
 
660
- # The instance type. This can be one of the following. *CLOUD_SQL_INSTANCE*: A
661
- # Cloud SQL instance that is not replicating from a primary instance. *
662
- # ON_PREMISES_INSTANCE*: An instance running on the customer's premises. *
663
- # READ_REPLICA_INSTANCE*: A Cloud SQL instance configured as a read-replica.
673
+ # The instance type. This can be one of the following: * **CLOUD_SQL_INSTANCE**:
674
+ # A Cloud SQL instance that is not replicating from a primary instance. * **
675
+ # ON_PREMISES_INSTANCE**: An instance running on the customer's premises. * **
676
+ # READ_REPLICA_INSTANCE**: A Cloud SQL instance configured as a read-replica.
664
677
  # Corresponds to the JSON property `instanceType`
665
678
  # @return [String]
666
679
  attr_accessor :instance_type
@@ -676,7 +689,7 @@ module Google
676
689
  # @return [String]
677
690
  attr_accessor :ipv6_address
678
691
 
679
- # This is always *sql#instance*.
692
+ # This is always **sql#instance**.
680
693
  # Corresponds to the JSON property `kind`
681
694
  # @return [String]
682
695
  attr_accessor :kind
@@ -712,10 +725,10 @@ module Google
712
725
  # @return [String]
713
726
  attr_accessor :project
714
727
 
715
- # The geographical region. Can be *us-central* (*FIRST_GEN* instances only) *us-
716
- # central1* (*SECOND_GEN* instances only) *asia-east1* or *europe-west1*.
717
- # Defaults to *us-central* or *us-central1* depending on the instance type. The
718
- # region cannot be changed after instance creation.
728
+ # The geographical region. Can be: * **us-central** (**FIRST_GEN** instances
729
+ # only) * **us-central1** (**SECOND_GEN** instances only) * **asia-east1** or **
730
+ # europe-west1**. Defaults to **us-central** or **us-central1** depending on the
731
+ # instance type. The region cannot be changed after instance creation.
719
732
  # Corresponds to the JSON property `region`
720
733
  # @return [String]
721
734
  attr_accessor :region
@@ -776,12 +789,12 @@ module Google
776
789
  attr_accessor :settings
777
790
 
778
791
  # The current serving state of the Cloud SQL instance. This can be one of the
779
- # following. *SQL_INSTANCE_STATE_UNSPECIFIED*: The state of the instance is
780
- # unknown. *RUNNABLE*: The instance is running, or has been stopped by owner. *
781
- # SUSPENDED*: The instance is not available, for example due to problems with
782
- # billing. *PENDING_DELETE*: The instance is being deleted. *PENDING_CREATE*:
783
- # The instance is being created. *MAINTENANCE*: The instance is down for
784
- # maintenance. *FAILED*: The instance creation failed.
792
+ # following: * **SQL_INSTANCE_STATE_UNSPECIFIED**: The state of the instance is
793
+ # unknown. * **RUNNABLE**: The instance is running, or has been stopped by owner.
794
+ # * **SUSPENDED**: The instance is not available, for example due to problems
795
+ # with billing. * **PENDING_DELETE**: The instance is being deleted. * **
796
+ # PENDING_CREATE**: The instance is being created. * **MAINTENANCE**: The
797
+ # instance is down for maintenance. * **FAILED**: The instance creation failed.
785
798
  # Corresponds to the JSON property `state`
786
799
  # @return [String]
787
800
  attr_accessor :state
@@ -872,7 +885,7 @@ module Google
872
885
  # @return [Array<Google::Apis::SqladminV1beta4::Database>]
873
886
  attr_accessor :items
874
887
 
875
- # This is always *sql#databasesList*.
888
+ # This is always **sql#databasesList**.
876
889
  # Corresponds to the JSON property `kind`
877
890
  # @return [String]
878
891
  attr_accessor :kind
@@ -892,7 +905,7 @@ module Google
892
905
  class DemoteMasterConfiguration
893
906
  include Google::Apis::Core::Hashable
894
907
 
895
- # This is always *sql#demoteMasterConfiguration*.
908
+ # This is always **sql#demoteMasterConfiguration**.
896
909
  # Corresponds to the JSON property `kind`
897
910
  # @return [String]
898
911
  attr_accessor :kind
@@ -917,7 +930,7 @@ module Google
917
930
  class DemoteMasterContext
918
931
  include Google::Apis::Core::Hashable
919
932
 
920
- # This is always *sql#demoteMasterContext*.
933
+ # This is always **sql#demoteMasterContext**.
921
934
  # Corresponds to the JSON property `kind`
922
935
  # @return [String]
923
936
  attr_accessor :kind
@@ -939,7 +952,7 @@ module Google
939
952
  attr_accessor :skip_replication_setup
940
953
  alias_method :skip_replication_setup?, :skip_replication_setup
941
954
 
942
- # Verify GTID consistency for demote operation. Default value: *True*. Setting
955
+ # Verify GTID consistency for demote operation. Default value: **True**. Setting
943
956
  # this flag to false enables you to bypass GTID consistency check between on-
944
957
  # premises primary instance and Cloud SQL instance during the demotion operation
945
958
  # but also exposes you to the risk of future replication failures. Change the
@@ -985,7 +998,7 @@ module Google
985
998
  # @return [String]
986
999
  attr_accessor :client_key
987
1000
 
988
- # This is always *sql#demoteMasterMysqlReplicaConfiguration*.
1001
+ # This is always **sql#demoteMasterMysqlReplicaConfiguration**.
989
1002
  # Corresponds to the JSON property `kind`
990
1003
  # @return [String]
991
1004
  attr_accessor :kind
@@ -1058,7 +1071,7 @@ module Google
1058
1071
  class DiskEncryptionConfiguration
1059
1072
  include Google::Apis::Core::Hashable
1060
1073
 
1061
- # This is always *sql#diskEncryptionConfiguration*.
1074
+ # This is always **sql#diskEncryptionConfiguration**.
1062
1075
  # Corresponds to the JSON property `kind`
1063
1076
  # @return [String]
1064
1077
  attr_accessor :kind
@@ -1083,7 +1096,7 @@ module Google
1083
1096
  class DiskEncryptionStatus
1084
1097
  include Google::Apis::Core::Hashable
1085
1098
 
1086
- # This is always *sql#diskEncryptionStatus*.
1099
+ # This is always **sql#diskEncryptionStatus**.
1087
1100
  # Corresponds to the JSON property `kind`
1088
1101
  # @return [String]
1089
1102
  attr_accessor :kind
@@ -1108,32 +1121,32 @@ module Google
1108
1121
  class ExportContext
1109
1122
  include Google::Apis::Core::Hashable
1110
1123
 
1111
- # Options for exporting data as CSV. *MySQL* and *PostgreSQL* instances only.
1124
+ # Options for exporting data as CSV. **MySQL** and **PostgreSQL** instances only.
1112
1125
  # Corresponds to the JSON property `csvExportOptions`
1113
1126
  # @return [Google::Apis::SqladminV1beta4::ExportContext::CsvExportOptions]
1114
1127
  attr_accessor :csv_export_options
1115
1128
 
1116
- # Databases to be exported. *MySQL instances:* If *fileType* is *SQL* and no
1117
- # database is specified, all databases are exported, except for the *mysql*
1118
- # system database. If *fileType* is *CSV*, you can specify one database, either
1119
- # by using this property or by using the *csvExportOptions.selectQuery* property,
1120
- # which takes precedence over this property. *PostgreSQL instances:* You must
1121
- # specify one database to be exported. If *fileType* is *CSV*, this database
1122
- # must match the one specified in the *csvExportOptions.selectQuery* property. *
1123
- # SQL Server instances:* You must specify one database to be exported, and the *
1124
- # fileType* must be *BAK*.
1129
+ # Databases to be exported. * **MySQL instances:** If **fileType** is **SQL**
1130
+ # and no database is specified, all databases are exported, except for the **
1131
+ # mysql** system database. If **fileType** is **CSV**, you can specify one
1132
+ # database, either by using this property or by using the **csvExportOptions.
1133
+ # selectQuery** property, which takes precedence over this property. * **
1134
+ # PostgreSQL instances:** You must specify one database to be exported. If **
1135
+ # fileType** is **CSV**, this database must match the one specified in the **
1136
+ # csvExportOptions.selectQuery** property. * **SQL Server instances:** You must
1137
+ # specify one database to be exported, and the **fileType** must be **BAK**.
1125
1138
  # Corresponds to the JSON property `databases`
1126
1139
  # @return [Array<String>]
1127
1140
  attr_accessor :databases
1128
1141
 
1129
- # The file type for the specified uri. *SQL*: The file contains SQL statements. *
1130
- # CSV*: The file contains CSV data. *BAK*: The file contains backup data for a
1131
- # SQL Server instance.
1142
+ # The file type for the specified uri. * **SQL**: The file contains SQL
1143
+ # statements. * **CSV**: The file contains CSV data. * **BAK**: The file
1144
+ # contains backup data for a SQL Server instance.
1132
1145
  # Corresponds to the JSON property `fileType`
1133
1146
  # @return [String]
1134
1147
  attr_accessor :file_type
1135
1148
 
1136
- # This is always *sql#exportContext*.
1149
+ # This is always **sql#exportContext**.
1137
1150
  # Corresponds to the JSON property `kind`
1138
1151
  # @return [String]
1139
1152
  attr_accessor :kind
@@ -1150,9 +1163,9 @@ module Google
1150
1163
  attr_accessor :sql_export_options
1151
1164
 
1152
1165
  # The path to the file in Google Cloud Storage where the export will be stored.
1153
- # The URI is in the form *gs://bucketName/fileName*. If the file already exists,
1154
- # the request succeeds, but the operation fails. If *fileType* is *SQL* and the
1155
- # filename ends with .gz, the contents are compressed.
1166
+ # The URI is in the form **gs://bucketName/fileName**. If the file already
1167
+ # exists, the request succeeds, but the operation fails. If **fileType** is **
1168
+ # SQL** and the filename ends with .gz, the contents are compressed.
1156
1169
  # Corresponds to the JSON property `uri`
1157
1170
  # @return [String]
1158
1171
  attr_accessor :uri
@@ -1172,10 +1185,33 @@ module Google
1172
1185
  @uri = args[:uri] if args.key?(:uri)
1173
1186
  end
1174
1187
 
1175
- # Options for exporting data as CSV. *MySQL* and *PostgreSQL* instances only.
1188
+ # Options for exporting data as CSV. **MySQL** and **PostgreSQL** instances only.
1176
1189
  class CsvExportOptions
1177
1190
  include Google::Apis::Core::Hashable
1178
1191
 
1192
+ # Specifies the character that should appear before a data character that needs
1193
+ # to be escaped.
1194
+ # Corresponds to the JSON property `escapeCharacter`
1195
+ # @return [String]
1196
+ attr_accessor :escape_character
1197
+
1198
+ # Specifies the character that separates columns within each row (line) of the
1199
+ # file.
1200
+ # Corresponds to the JSON property `fieldsTerminatedBy`
1201
+ # @return [String]
1202
+ attr_accessor :fields_terminated_by
1203
+
1204
+ # This is used to separate lines. If a line does not contain all fields, the
1205
+ # rest of the columns are set to their default values.
1206
+ # Corresponds to the JSON property `linesTerminatedBy`
1207
+ # @return [String]
1208
+ attr_accessor :lines_terminated_by
1209
+
1210
+ # Specifies the quoting character to be used when a data value is quoted.
1211
+ # Corresponds to the JSON property `quoteCharacter`
1212
+ # @return [String]
1213
+ attr_accessor :quote_character
1214
+
1179
1215
  # The select query used to extract the data.
1180
1216
  # Corresponds to the JSON property `selectQuery`
1181
1217
  # @return [String]
@@ -1187,6 +1223,10 @@ module Google
1187
1223
 
1188
1224
  # Update properties of this object
1189
1225
  def update!(**args)
1226
+ @escape_character = args[:escape_character] if args.key?(:escape_character)
1227
+ @fields_terminated_by = args[:fields_terminated_by] if args.key?(:fields_terminated_by)
1228
+ @lines_terminated_by = args[:lines_terminated_by] if args.key?(:lines_terminated_by)
1229
+ @quote_character = args[:quote_character] if args.key?(:quote_character)
1190
1230
  @select_query = args[:select_query] if args.key?(:select_query)
1191
1231
  end
1192
1232
  end
@@ -1228,11 +1268,11 @@ module Google
1228
1268
  class MysqlExportOptions
1229
1269
  include Google::Apis::Core::Hashable
1230
1270
 
1231
- # Option to include SQL statement required to set up replication. If set to *1*,
1232
- # the dump file includes a CHANGE MASTER TO statement with the binary log
1233
- # coordinates, and --set-gtid-purged is set to ON. If set to *2*, the CHANGE
1234
- # MASTER TO statement is written as a SQL comment and has no effect. If set to
1235
- # any value other than *1*, --set-gtid-purged is set to OFF.
1271
+ # Option to include SQL statement required to set up replication. * If set to **
1272
+ # 1**, the dump file includes a CHANGE MASTER TO statement with the binary log
1273
+ # coordinates, and --set-gtid-purged is set to ON. * If set to **2**, the CHANGE
1274
+ # MASTER TO statement is written as a SQL comment and has no effect. * If set to
1275
+ # any value other than **1**, --set-gtid-purged is set to OFF.
1236
1276
  # Corresponds to the JSON property `masterData`
1237
1277
  # @return [Fixnum]
1238
1278
  attr_accessor :master_data
@@ -1253,7 +1293,7 @@ module Google
1253
1293
  class FailoverContext
1254
1294
  include Google::Apis::Core::Hashable
1255
1295
 
1256
- # This is always *sql#failoverContext*.
1296
+ # This is always **sql#failoverContext**.
1257
1297
  # Corresponds to the JSON property `kind`
1258
1298
  # @return [String]
1259
1299
  attr_accessor :kind
@@ -1285,13 +1325,13 @@ module Google
1285
1325
  # @return [Array<Fixnum>]
1286
1326
  attr_accessor :allowed_int_values
1287
1327
 
1288
- # For *STRING* flags, a list of strings that the value can be set to.
1328
+ # For **STRING** flags, a list of strings that the value can be set to.
1289
1329
  # Corresponds to the JSON property `allowedStringValues`
1290
1330
  # @return [Array<String>]
1291
1331
  attr_accessor :allowed_string_values
1292
1332
 
1293
- # The database version this flag applies to. Can be *MYSQL_8_0*, *MYSQL_5_6*, or
1294
- # *MYSQL_5_7*.
1333
+ # The database version this flag applies to. Can be **MYSQL_8_0**, **MYSQL_5_6**,
1334
+ # or **MYSQL_5_7**.
1295
1335
  # Corresponds to the JSON property `appliesTo`
1296
1336
  # @return [Array<String>]
1297
1337
  attr_accessor :applies_to
@@ -1302,36 +1342,37 @@ module Google
1302
1342
  attr_accessor :in_beta
1303
1343
  alias_method :in_beta?, :in_beta
1304
1344
 
1305
- # This is always *sql#flag*.
1345
+ # This is always **sql#flag**.
1306
1346
  # Corresponds to the JSON property `kind`
1307
1347
  # @return [String]
1308
1348
  attr_accessor :kind
1309
1349
 
1310
- # For *INTEGER* flags, the maximum allowed value.
1350
+ # For **INTEGER** flags, the maximum allowed value.
1311
1351
  # Corresponds to the JSON property `maxValue`
1312
1352
  # @return [Fixnum]
1313
1353
  attr_accessor :max_value
1314
1354
 
1315
- # For *INTEGER* flags, the minimum allowed value.
1355
+ # For **INTEGER** flags, the minimum allowed value.
1316
1356
  # Corresponds to the JSON property `minValue`
1317
1357
  # @return [Fixnum]
1318
1358
  attr_accessor :min_value
1319
1359
 
1320
1360
  # This is the name of the flag. Flag names always use underscores, not hyphens,
1321
- # for example: *max_allowed_packet*
1361
+ # for example: **max_allowed_packet**
1322
1362
  # Corresponds to the JSON property `name`
1323
1363
  # @return [String]
1324
1364
  attr_accessor :name
1325
1365
 
1326
- # Indicates whether changing this flag will trigger a database restart.
1366
+ # Indicates whether changing this flag will trigger a database restart. Only
1367
+ # applicable to Second Generation instances.
1327
1368
  # Corresponds to the JSON property `requiresRestart`
1328
1369
  # @return [Boolean]
1329
1370
  attr_accessor :requires_restart
1330
1371
  alias_method :requires_restart?, :requires_restart
1331
1372
 
1332
- # The type of the flag. Flags are typed to being *BOOLEAN*, *STRING*, *INTEGER*
1333
- # or *NONE*. *NONE* is used for flags which do not take a value, such as *
1334
- # skip_grant_tables*.
1373
+ # The type of the flag. Flags are typed to being **BOOLEAN**, **STRING**, **
1374
+ # INTEGER** or **NONE**. **NONE** is used for flags which do not take a value,
1375
+ # such as **skip_grant_tables**.
1335
1376
  # Corresponds to the JSON property `type`
1336
1377
  # @return [String]
1337
1378
  attr_accessor :type
@@ -1364,7 +1405,7 @@ module Google
1364
1405
  # @return [Array<Google::Apis::SqladminV1beta4::Flag>]
1365
1406
  attr_accessor :items
1366
1407
 
1367
- # This is always *sql#flagsList*.
1408
+ # This is always **sql#flagsList**.
1368
1409
  # Corresponds to the JSON property `kind`
1369
1410
  # @return [String]
1370
1411
  attr_accessor :kind
@@ -1399,6 +1440,11 @@ module Google
1399
1440
  # @return [String]
1400
1441
  attr_accessor :read_time
1401
1442
 
1443
+ # Optional. If set, it will contain the cert valid duration.
1444
+ # Corresponds to the JSON property `validDuration`
1445
+ # @return [String]
1446
+ attr_accessor :valid_duration
1447
+
1402
1448
  def initialize(**args)
1403
1449
  update!(**args)
1404
1450
  end
@@ -1408,6 +1454,7 @@ module Google
1408
1454
  @access_token = args[:access_token] if args.key?(:access_token)
1409
1455
  @public_key = args[:public_key] if args.key?(:public_key)
1410
1456
  @read_time = args[:read_time] if args.key?(:read_time)
1457
+ @valid_duration = args[:valid_duration] if args.key?(:valid_duration)
1411
1458
  end
1412
1459
  end
1413
1460
 
@@ -1444,16 +1491,17 @@ module Google
1444
1491
  # @return [Google::Apis::SqladminV1beta4::ImportContext::CsvImportOptions]
1445
1492
  attr_accessor :csv_import_options
1446
1493
 
1447
- # The target database for the import. If *fileType* is *SQL*, this field is
1494
+ # The target database for the import. If **fileType** is **SQL**, this field is
1448
1495
  # required only if the import file does not specify a database, and is
1449
- # overridden by any database specification in the import file. If *fileType* is *
1450
- # CSV*, one database must be specified.
1496
+ # overridden by any database specification in the import file. If **fileType**
1497
+ # is **CSV**, one database must be specified.
1451
1498
  # Corresponds to the JSON property `database`
1452
1499
  # @return [String]
1453
1500
  attr_accessor :database
1454
1501
 
1455
- # The file type for the specified uri. *SQL*: The file contains SQL statements. *
1456
- # CSV*: The file contains CSV data.
1502
+ # The file type for the specified uri. * **SQL**: The file contains SQL
1503
+ # statements. * **CSV**: The file contains CSV data. * **BAK**: The file
1504
+ # contains backup data for a SQL Server instance.
1457
1505
  # Corresponds to the JSON property `fileType`
1458
1506
  # @return [String]
1459
1507
  attr_accessor :file_type
@@ -1463,15 +1511,15 @@ module Google
1463
1511
  # @return [String]
1464
1512
  attr_accessor :import_user
1465
1513
 
1466
- # This is always *sql#importContext*.
1514
+ # This is always **sql#importContext**.
1467
1515
  # Corresponds to the JSON property `kind`
1468
1516
  # @return [String]
1469
1517
  attr_accessor :kind
1470
1518
 
1471
- # Path to the import file in Cloud Storage, in the form *gs://bucketName/
1472
- # fileName*. Compressed gzip files (.gz) are supported when *fileType* is *SQL*.
1473
- # The instance must have write permissions to the bucket and read access to the
1474
- # file.
1519
+ # Path to the import file in Cloud Storage, in the form **gs://bucketName/
1520
+ # fileName**. Compressed gzip files (.gz) are supported when **fileType** is **
1521
+ # SQL**. The instance must have write permissions to the bucket and read access
1522
+ # to the file.
1475
1523
  # Corresponds to the JSON property `uri`
1476
1524
  # @return [String]
1477
1525
  attr_accessor :uri
@@ -1513,8 +1561,8 @@ module Google
1513
1561
  class EncryptionOptions
1514
1562
  include Google::Apis::Core::Hashable
1515
1563
 
1516
- # Path to the Certificate (.cer) in Cloud Storage, in the form *gs://bucketName/
1517
- # fileName*. The instance must have write permissions to the bucket and read
1564
+ # Path to the Certificate (.cer) in Cloud Storage, in the form **gs://bucketName/
1565
+ # fileName**. The instance must have write permissions to the bucket and read
1518
1566
  # access to the file.
1519
1567
  # Corresponds to the JSON property `certPath`
1520
1568
  # @return [String]
@@ -1525,8 +1573,8 @@ module Google
1525
1573
  # @return [String]
1526
1574
  attr_accessor :pvk_password
1527
1575
 
1528
- # Path to the Certificate Private Key (.pvk) in Cloud Storage, in the form *gs://
1529
- # bucketName/fileName*. The instance must have write permissions to the bucket
1576
+ # Path to the Certificate Private Key (.pvk) in Cloud Storage, in the form **gs:/
1577
+ # /bucketName/fileName**. The instance must have write permissions to the bucket
1530
1578
  # and read access to the file.
1531
1579
  # Corresponds to the JSON property `pvkPath`
1532
1580
  # @return [String]
@@ -1555,6 +1603,29 @@ module Google
1555
1603
  # @return [Array<String>]
1556
1604
  attr_accessor :columns
1557
1605
 
1606
+ # Specifies the character that should appear before a data character that needs
1607
+ # to be escaped.
1608
+ # Corresponds to the JSON property `escapeCharacter`
1609
+ # @return [String]
1610
+ attr_accessor :escape_character
1611
+
1612
+ # Specifies the character that separates columns within each row (line) of the
1613
+ # file.
1614
+ # Corresponds to the JSON property `fieldsTerminatedBy`
1615
+ # @return [String]
1616
+ attr_accessor :fields_terminated_by
1617
+
1618
+ # This is used to separate lines. If a line does not contain all fields, the
1619
+ # rest of the columns are set to their default values.
1620
+ # Corresponds to the JSON property `linesTerminatedBy`
1621
+ # @return [String]
1622
+ attr_accessor :lines_terminated_by
1623
+
1624
+ # Specifies the quoting character to be used when a data value is quoted.
1625
+ # Corresponds to the JSON property `quoteCharacter`
1626
+ # @return [String]
1627
+ attr_accessor :quote_character
1628
+
1558
1629
  # The table to which CSV data is imported.
1559
1630
  # Corresponds to the JSON property `table`
1560
1631
  # @return [String]
@@ -1567,6 +1638,10 @@ module Google
1567
1638
  # Update properties of this object
1568
1639
  def update!(**args)
1569
1640
  @columns = args[:columns] if args.key?(:columns)
1641
+ @escape_character = args[:escape_character] if args.key?(:escape_character)
1642
+ @fields_terminated_by = args[:fields_terminated_by] if args.key?(:fields_terminated_by)
1643
+ @lines_terminated_by = args[:lines_terminated_by] if args.key?(:lines_terminated_by)
1644
+ @quote_character = args[:quote_character] if args.key?(:quote_character)
1570
1645
  @table = args[:table] if args.key?(:table)
1571
1646
  end
1572
1647
  end
@@ -1760,7 +1835,7 @@ module Google
1760
1835
  # @return [Array<Google::Apis::SqladminV1beta4::DatabaseInstance>]
1761
1836
  attr_accessor :items
1762
1837
 
1763
- # This is always *sql#instancesList*.
1838
+ # This is always **sql#instancesList**.
1764
1839
  # Corresponds to the JSON property `kind`
1765
1840
  # @return [String]
1766
1841
  attr_accessor :kind
@@ -1803,7 +1878,7 @@ module Google
1803
1878
  # @return [Array<Google::Apis::SqladminV1beta4::SslCert>]
1804
1879
  attr_accessor :certs
1805
1880
 
1806
- # This is always *sql#instancesListServerCas*.
1881
+ # This is always **sql#instancesListServerCas**.
1807
1882
  # Corresponds to the JSON property `kind`
1808
1883
  # @return [String]
1809
1884
  attr_accessor :kind
@@ -1894,7 +1969,7 @@ module Google
1894
1969
 
1895
1970
  # The list of external networks that are allowed to connect to the instance
1896
1971
  # using the IP. In 'CIDR' notation, also known as 'slash' notation (for example:
1897
- # *192.168.100.0/24*).
1972
+ # **192.168.100.0/24**).
1898
1973
  # Corresponds to the JSON property `authorizedNetworks`
1899
1974
  # @return [Array<Google::Apis::SqladminV1beta4::AclEntry>]
1900
1975
  attr_accessor :authorized_networks
@@ -1906,8 +1981,8 @@ module Google
1906
1981
  alias_method :ipv4_enabled?, :ipv4_enabled
1907
1982
 
1908
1983
  # The resource link for the VPC network from which the Cloud SQL instance is
1909
- # accessible for private IP. For example, */projects/myProject/global/networks/
1910
- # default*. This setting can be updated, but it cannot be removed after it is
1984
+ # accessible for private IP. For example, **/projects/myProject/global/networks/
1985
+ # default**. This setting can be updated, but it cannot be removed after it is
1911
1986
  # set.
1912
1987
  # Corresponds to the JSON property `privateNetwork`
1913
1988
  # @return [String]
@@ -1942,17 +2017,17 @@ module Google
1942
2017
  # @return [String]
1943
2018
  attr_accessor :ip_address
1944
2019
 
1945
- # The due time for this IP to be retired in RFC 3339 format, for example *2012-
1946
- # 11-15T16:19:00.094Z*. This field is only available when the IP is scheduled to
1947
- # be retired.
2020
+ # The due time for this IP to be retired in [RFC 3339](https://tools.ietf.org/
2021
+ # html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**. This field is
2022
+ # only available when the IP is scheduled to be retired.
1948
2023
  # Corresponds to the JSON property `timeToRetire`
1949
2024
  # @return [String]
1950
2025
  attr_accessor :time_to_retire
1951
2026
 
1952
- # The type of this IP address. A *PRIMARY* address is a public address that can
1953
- # accept incoming connections. A *PRIVATE* address is a private address that can
1954
- # accept incoming connections. An *OUTGOING* address is the source address of
1955
- # connections originating from the instance, if supported.
2027
+ # The type of this IP address. A **PRIMARY** address is a public address that
2028
+ # can accept incoming connections. A **PRIVATE** address is a private address
2029
+ # that can accept incoming connections. An **OUTGOING** address is the source
2030
+ # address of connections originating from the instance, if supported.
1956
2031
  # Corresponds to the JSON property `type`
1957
2032
  # @return [String]
1958
2033
  attr_accessor :type
@@ -1969,11 +2044,9 @@ module Google
1969
2044
  end
1970
2045
  end
1971
2046
 
1972
- # Preferred location. This specifies where a Cloud SQL instance is located,
1973
- # either in a specific Compute Engine zone, or co-located with an App Engine
1974
- # application. Note that if the preferred location is not available, the
1975
- # instance will be located as close as possible within the region. Only one
1976
- # location may be specified.
2047
+ # Preferred location. This specifies where a Cloud SQL instance is located. Note
2048
+ # that if the preferred location is not available, the instance will be located
2049
+ # as close as possible within the region. Only one location may be specified.
1977
2050
  class LocationPreference
1978
2051
  include Google::Apis::Core::Hashable
1979
2052
 
@@ -1983,7 +2056,7 @@ module Google
1983
2056
  # @return [String]
1984
2057
  attr_accessor :follow_gae_application
1985
2058
 
1986
- # This is always *sql#locationPreference*.
2059
+ # This is always **sql#locationPreference**.
1987
2060
  # Corresponds to the JSON property `kind`
1988
2061
  # @return [String]
1989
2062
  attr_accessor :kind
@@ -2028,12 +2101,14 @@ module Google
2028
2101
  # @return [Fixnum]
2029
2102
  attr_accessor :hour
2030
2103
 
2031
- # This is always *sql#maintenanceWindow*.
2104
+ # This is always **sql#maintenanceWindow**.
2032
2105
  # Corresponds to the JSON property `kind`
2033
2106
  # @return [String]
2034
2107
  attr_accessor :kind
2035
2108
 
2036
- # Maintenance timing setting: *canary* (Earlier) or *stable* (Later). Learn more.
2109
+ # Maintenance timing setting: **canary** (Earlier) or **stable** (Later). [Learn
2110
+ # more](https://cloud.google.com/sql/docs/mysql/instance-settings#maintenance-
2111
+ # timing-2ndgen).
2037
2112
  # Corresponds to the JSON property `updateTrack`
2038
2113
  # @return [String]
2039
2114
  attr_accessor :update_track
@@ -2085,7 +2160,7 @@ module Google
2085
2160
  # @return [String]
2086
2161
  attr_accessor :dump_file_path
2087
2162
 
2088
- # This is always *sql#mysqlReplicaConfiguration*.
2163
+ # This is always **sql#mysqlReplicaConfiguration**.
2089
2164
  # Corresponds to the JSON property `kind`
2090
2165
  # @return [String]
2091
2166
  attr_accessor :kind
@@ -2186,7 +2261,7 @@ module Google
2186
2261
  # @return [String]
2187
2262
  attr_accessor :host_port
2188
2263
 
2189
- # This is always *sql#onPremisesConfiguration*.
2264
+ # This is always **sql#onPremisesConfiguration**.
2190
2265
  # Corresponds to the JSON property `kind`
2191
2266
  # @return [String]
2192
2267
  attr_accessor :kind
@@ -2235,8 +2310,8 @@ module Google
2235
2310
  # @return [Google::Apis::SqladminV1beta4::BackupContext]
2236
2311
  attr_accessor :backup_context
2237
2312
 
2238
- # The time this operation finished in UTC timezone in RFC 3339 format, for
2239
- # example *2012-11-15T16:19:00.094Z*.
2313
+ # The time this operation finished in UTC timezone in [RFC 3339](https://tools.
2314
+ # ietf.org/html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
2240
2315
  # Corresponds to the JSON property `endTime`
2241
2316
  # @return [String]
2242
2317
  attr_accessor :end_time
@@ -2256,13 +2331,13 @@ module Google
2256
2331
  # @return [Google::Apis::SqladminV1beta4::ImportContext]
2257
2332
  attr_accessor :import_context
2258
2333
 
2259
- # The time this operation was enqueued in UTC timezone in RFC 3339 format, for
2260
- # example *2012-11-15T16:19:00.094Z*.
2334
+ # The time this operation was enqueued in UTC timezone in [RFC 3339](https://
2335
+ # tools.ietf.org/html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
2261
2336
  # Corresponds to the JSON property `insertTime`
2262
2337
  # @return [String]
2263
2338
  attr_accessor :insert_time
2264
2339
 
2265
- # This is always *sql#operation*.
2340
+ # This is always **sql#operation**.
2266
2341
  # Corresponds to the JSON property `kind`
2267
2342
  # @return [String]
2268
2343
  attr_accessor :kind
@@ -2274,9 +2349,10 @@ module Google
2274
2349
  # @return [String]
2275
2350
  attr_accessor :name
2276
2351
 
2277
- # The type of the operation. Valid values are: *CREATE* *DELETE* *UPDATE* *
2278
- # RESTART* *IMPORT* *EXPORT* *BACKUP_VOLUME* *RESTORE_VOLUME* *CREATE_USER* *
2279
- # DELETE_USER* *CREATE_DATABASE* *DELETE_DATABASE*
2352
+ # The type of the operation. Valid values are: * **CREATE** * **DELETE** * **
2353
+ # UPDATE** * **RESTART** * **IMPORT** * **EXPORT** * **BACKUP_VOLUME** * **
2354
+ # RESTORE_VOLUME** * **CREATE_USER** * **DELETE_USER** * **CREATE_DATABASE** * **
2355
+ # DELETE_DATABASE**
2280
2356
  # Corresponds to the JSON property `operationType`
2281
2357
  # @return [String]
2282
2358
  attr_accessor :operation_type
@@ -2286,14 +2362,14 @@ module Google
2286
2362
  # @return [String]
2287
2363
  attr_accessor :self_link
2288
2364
 
2289
- # The time this operation actually started in UTC timezone in RFC 3339 format,
2290
- # for example *2012-11-15T16:19:00.094Z*.
2365
+ # The time this operation actually started in UTC timezone in [RFC 3339](https://
2366
+ # tools.ietf.org/html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
2291
2367
  # Corresponds to the JSON property `startTime`
2292
2368
  # @return [String]
2293
2369
  attr_accessor :start_time
2294
2370
 
2295
- # The status of an operation. Valid values are: *PENDING* *RUNNING* *DONE* *
2296
- # SQL_OPERATION_STATUS_UNSPECIFIED*
2371
+ # The status of an operation. Valid values are: * **PENDING** * **RUNNING** * **
2372
+ # DONE** * **SQL_OPERATION_STATUS_UNSPECIFIED**
2297
2373
  # Corresponds to the JSON property `status`
2298
2374
  # @return [String]
2299
2375
  attr_accessor :status
@@ -2352,7 +2428,7 @@ module Google
2352
2428
  # @return [String]
2353
2429
  attr_accessor :code
2354
2430
 
2355
- # This is always *sql#operationError*.
2431
+ # This is always **sql#operationError**.
2356
2432
  # Corresponds to the JSON property `kind`
2357
2433
  # @return [String]
2358
2434
  attr_accessor :kind
@@ -2383,7 +2459,7 @@ module Google
2383
2459
  # @return [Array<Google::Apis::SqladminV1beta4::OperationError>]
2384
2460
  attr_accessor :errors
2385
2461
 
2386
- # This is always *sql#operationErrors*.
2462
+ # This is always **sql#operationErrors**.
2387
2463
  # Corresponds to the JSON property `kind`
2388
2464
  # @return [String]
2389
2465
  attr_accessor :kind
@@ -2399,7 +2475,7 @@ module Google
2399
2475
  end
2400
2476
  end
2401
2477
 
2402
- # Database instance list operations response.
2478
+ # Operations list response.
2403
2479
  class ListOperationsResponse
2404
2480
  include Google::Apis::Core::Hashable
2405
2481
 
@@ -2408,7 +2484,7 @@ module Google
2408
2484
  # @return [Array<Google::Apis::SqladminV1beta4::Operation>]
2409
2485
  attr_accessor :items
2410
2486
 
2411
- # This is always *sql#operationsList*.
2487
+ # This is always **sql#operationsList**.
2412
2488
  # Corresponds to the JSON property `kind`
2413
2489
  # @return [String]
2414
2490
  attr_accessor :kind
@@ -2435,8 +2511,8 @@ module Google
2435
2511
  class ReplicaConfiguration
2436
2512
  include Google::Apis::Core::Hashable
2437
2513
 
2438
- # Specifies if the replica is the failover target. If the field is set to *true*
2439
- # the replica will be designated as a failover replica. In case the primary
2514
+ # Specifies if the replica is the failover target. If the field is set to **true*
2515
+ # * the replica will be designated as a failover replica. In case the primary
2440
2516
  # instance fails, the replica instance will be promoted as the new primary
2441
2517
  # instance. Only one replica can be specified as failover target, and the
2442
2518
  # replica has to be in different zone with the primary instance.
@@ -2445,7 +2521,7 @@ module Google
2445
2521
  attr_accessor :failover_target
2446
2522
  alias_method :failover_target?, :failover_target
2447
2523
 
2448
- # This is always *sql#replicaConfiguration*.
2524
+ # This is always **sql#replicaConfiguration**.
2449
2525
  # Corresponds to the JSON property `kind`
2450
2526
  # @return [String]
2451
2527
  attr_accessor :kind
@@ -2477,8 +2553,8 @@ module Google
2477
2553
  attr_accessor :reschedule_type
2478
2554
 
2479
2555
  # Optional. Timestamp when the maintenance shall be rescheduled to if
2480
- # reschedule_type=SPECIFIC_TIME, in RFC 3339 format, for example *2012-11-15T16:
2481
- # 19:00.094Z*.
2556
+ # reschedule_type=SPECIFIC_TIME, in [RFC 3339](https://tools.ietf.org/html/
2557
+ # rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
2482
2558
  # Corresponds to the JSON property `scheduleTime`
2483
2559
  # @return [String]
2484
2560
  attr_accessor :schedule_time
@@ -2509,7 +2585,7 @@ module Google
2509
2585
  # @return [String]
2510
2586
  attr_accessor :instance_id
2511
2587
 
2512
- # This is always *sql#restoreBackupContext*.
2588
+ # This is always **sql#restoreBackupContext**.
2513
2589
  # Corresponds to the JSON property `kind`
2514
2590
  # @return [String]
2515
2591
  attr_accessor :kind
@@ -2536,7 +2612,7 @@ module Google
2536
2612
  class RotateServerCaContext
2537
2613
  include Google::Apis::Core::Hashable
2538
2614
 
2539
- # This is always *sql#rotateServerCaContext*.
2615
+ # This is always **sql#rotateServerCaContext**.
2540
2616
  # Corresponds to the JSON property `kind`
2541
2617
  # @return [String]
2542
2618
  attr_accessor :kind
@@ -2563,10 +2639,10 @@ module Google
2563
2639
  include Google::Apis::Core::Hashable
2564
2640
 
2565
2641
  # The activation policy specifies when the instance is activated; it is
2566
- # applicable only when the instance state is RUNNABLE. Valid values: *ALWAYS*:
2567
- # The instance is on, and remains so even in the absence of connection requests.
2568
- # *NEVER*: The instance is off; it is not activated, even if a connection
2569
- # request arrives.
2642
+ # applicable only when the instance state is RUNNABLE. Valid values: * **ALWAYS**
2643
+ # : The instance is on, and remains so even in the absence of connection
2644
+ # requests. * **NEVER**: The instance is off; it is not activated, even if a
2645
+ # connection request arrives.
2570
2646
  # Corresponds to the JSON property `activationPolicy`
2571
2647
  # @return [String]
2572
2648
  attr_accessor :activation_policy
@@ -2582,11 +2658,12 @@ module Google
2582
2658
  # @return [Array<String>]
2583
2659
  attr_accessor :authorized_gae_applications
2584
2660
 
2585
- # Availability type. Potential values: *ZONAL*: The instance serves data from
2586
- # only one zone. Outages in that zone affect data accessibility. *REGIONAL*: The
2587
- # instance can serve data from more than one zone in a region (it is highly
2588
- # available). For more information, see Overview of the High Availability
2589
- # Configuration.
2661
+ # Availability type. Potential values: * **ZONAL**: The instance serves data
2662
+ # from only one zone. Outages in that zone affect data accessibility. * **
2663
+ # REGIONAL**: The instance can serve data from more than one zone in a region (
2664
+ # it is highly available)./ For more information, see [Overview of the High
2665
+ # Availability Configuration](https://cloud.google.com/sql/docs/mysql/high-
2666
+ # availability).
2590
2667
  # Corresponds to the JSON property `availabilityType`
2591
2668
  # @return [String]
2592
2669
  attr_accessor :availability_type
@@ -2614,7 +2691,7 @@ module Google
2614
2691
  # @return [Fixnum]
2615
2692
  attr_accessor :data_disk_size_gb
2616
2693
 
2617
- # The type of data disk: PD_SSD (default) or PD_HDD. Not used for First
2694
+ # The type of data disk: **PD_SSD** (default) or **PD_HDD**. Not used for First
2618
2695
  # Generation instances.
2619
2696
  # Corresponds to the JSON property `dataDiskType`
2620
2697
  # @return [String]
@@ -2648,16 +2725,14 @@ module Google
2648
2725
  # @return [Google::Apis::SqladminV1beta4::IpConfiguration]
2649
2726
  attr_accessor :ip_configuration
2650
2727
 
2651
- # This is always *sql#settings*.
2728
+ # This is always **sql#settings**.
2652
2729
  # Corresponds to the JSON property `kind`
2653
2730
  # @return [String]
2654
2731
  attr_accessor :kind
2655
2732
 
2656
- # Preferred location. This specifies where a Cloud SQL instance is located,
2657
- # either in a specific Compute Engine zone, or co-located with an App Engine
2658
- # application. Note that if the preferred location is not available, the
2659
- # instance will be located as close as possible within the region. Only one
2660
- # location may be specified.
2733
+ # Preferred location. This specifies where a Cloud SQL instance is located. Note
2734
+ # that if the preferred location is not available, the instance will be located
2735
+ # as close as possible within the region. Only one location may be specified.
2661
2736
  # Corresponds to the JSON property `locationPreference`
2662
2737
  # @return [Google::Apis::SqladminV1beta4::LocationPreference]
2663
2738
  attr_accessor :location_preference
@@ -2668,14 +2743,14 @@ module Google
2668
2743
  # @return [Google::Apis::SqladminV1beta4::MaintenanceWindow]
2669
2744
  attr_accessor :maintenance_window
2670
2745
 
2671
- # The pricing plan for this instance. This can be either *PER_USE* or *PACKAGE*.
2672
- # Only *PER_USE* is supported for Second Generation instances.
2746
+ # The pricing plan for this instance. This can be either **PER_USE** or **
2747
+ # PACKAGE**. Only **PER_USE** is supported for Second Generation instances.
2673
2748
  # Corresponds to the JSON property `pricingPlan`
2674
2749
  # @return [String]
2675
2750
  attr_accessor :pricing_plan
2676
2751
 
2677
- # The type of replication this instance uses. This can be either *ASYNCHRONOUS*
2678
- # or *SYNCHRONOUS*. (Deprecated_ This property was only applicable to First
2752
+ # The type of replication this instance uses. This can be either **ASYNCHRONOUS**
2753
+ # or **SYNCHRONOUS**. (Deprecated) This property was only applicable to First
2679
2754
  # Generation instances.
2680
2755
  # Corresponds to the JSON property `replicationType`
2681
2756
  # @return [String]
@@ -2689,6 +2764,11 @@ module Google
2689
2764
  # @return [Fixnum]
2690
2765
  attr_accessor :settings_version
2691
2766
 
2767
+ # SQL Server specific audit configuration.
2768
+ # Corresponds to the JSON property `sqlServerAuditConfig`
2769
+ # @return [Google::Apis::SqladminV1beta4::SqlServerAuditConfig]
2770
+ attr_accessor :sql_server_audit_config
2771
+
2692
2772
  # Configuration to increase storage size automatically. The default value is
2693
2773
  # true.
2694
2774
  # Corresponds to the JSON property `storageAutoResize`
@@ -2702,7 +2782,7 @@ module Google
2702
2782
  # @return [Fixnum]
2703
2783
  attr_accessor :storage_auto_resize_limit
2704
2784
 
2705
- # The tier (or machine type) for this instance, for example *db-custom-1-3840* .
2785
+ # The tier (or machine type) for this instance, for example **db-custom-1-3840**.
2706
2786
  # Corresponds to the JSON property `tier`
2707
2787
  # @return [String]
2708
2788
  attr_accessor :tier
@@ -2739,6 +2819,7 @@ module Google
2739
2819
  @pricing_plan = args[:pricing_plan] if args.key?(:pricing_plan)
2740
2820
  @replication_type = args[:replication_type] if args.key?(:replication_type)
2741
2821
  @settings_version = args[:settings_version] if args.key?(:settings_version)
2822
+ @sql_server_audit_config = args[:sql_server_audit_config] if args.key?(:sql_server_audit_config)
2742
2823
  @storage_auto_resize = args[:storage_auto_resize] if args.key?(:storage_auto_resize)
2743
2824
  @storage_auto_resize_limit = args[:storage_auto_resize_limit] if args.key?(:storage_auto_resize_limit)
2744
2825
  @tier = args[:tier] if args.key?(:tier)
@@ -2780,7 +2861,7 @@ module Google
2780
2861
  # @return [String]
2781
2862
  attr_accessor :detail
2782
2863
 
2783
- # Can be *sql#externalSyncSettingError* or *sql#externalSyncSettingWarning*.
2864
+ # Can be **sql#externalSyncSettingError** or **sql#externalSyncSettingWarning**.
2784
2865
  # Corresponds to the JSON property `kind`
2785
2866
  # @return [String]
2786
2867
  attr_accessor :kind
@@ -2873,6 +2954,12 @@ module Google
2873
2954
  attr_accessor :verify_connection_only
2874
2955
  alias_method :verify_connection_only?, :verify_connection_only
2875
2956
 
2957
+ # Optional. Flag to verify settings required by replication setup only
2958
+ # Corresponds to the JSON property `verifyReplicationOnly`
2959
+ # @return [Boolean]
2960
+ attr_accessor :verify_replication_only
2961
+ alias_method :verify_replication_only?, :verify_replication_only
2962
+
2876
2963
  def initialize(**args)
2877
2964
  update!(**args)
2878
2965
  end
@@ -2882,6 +2969,7 @@ module Google
2882
2969
  @mysql_sync_config = args[:mysql_sync_config] if args.key?(:mysql_sync_config)
2883
2970
  @sync_mode = args[:sync_mode] if args.key?(:sync_mode)
2884
2971
  @verify_connection_only = args[:verify_connection_only] if args.key?(:verify_connection_only)
2972
+ @verify_replication_only = args[:verify_replication_only] if args.key?(:verify_replication_only)
2885
2973
  end
2886
2974
  end
2887
2975
 
@@ -2894,7 +2982,7 @@ module Google
2894
2982
  # @return [Array<Google::Apis::SqladminV1beta4::SqlExternalSyncSettingError>]
2895
2983
  attr_accessor :errors
2896
2984
 
2897
- # This is always *sql#migrationSettingErrorList*.
2985
+ # This is always **sql#migrationSettingErrorList**.
2898
2986
  # Corresponds to the JSON property `kind`
2899
2987
  # @return [String]
2900
2988
  attr_accessor :kind
@@ -2921,14 +3009,15 @@ module Google
2921
3009
  include Google::Apis::Core::Hashable
2922
3010
 
2923
3011
  # The minimum recommended increase size in GigaBytes This field is consumed by
2924
- # the frontend Writers: -- the proactive database wellness job for OOD.
3012
+ # the frontend * Writers: * the proactive database wellness job for OOD. *
3013
+ # Readers:
2925
3014
  # Corresponds to the JSON property `sqlMinRecommendedIncreaseSizeGb`
2926
3015
  # @return [Fixnum]
2927
3016
  attr_accessor :sql_min_recommended_increase_size_gb
2928
3017
 
2929
3018
  # This field represents the state generated by the proactive database wellness
2930
- # job for OutOfDisk issues. Writers: -- the proactive database wellness job for
2931
- # OOD. Readers: -- the proactive database wellness job
3019
+ # job for OutOfDisk issues. * Writers: * the proactive database wellness job for
3020
+ # OOD. * Readers: * the proactive database wellness job
2932
3021
  # Corresponds to the JSON property `sqlOutOfDiskState`
2933
3022
  # @return [String]
2934
3023
  attr_accessor :sql_out_of_disk_state
@@ -2983,6 +3072,31 @@ module Google
2983
3072
  end
2984
3073
  end
2985
3074
 
3075
+ # SQL Server specific audit configuration.
3076
+ class SqlServerAuditConfig
3077
+ include Google::Apis::Core::Hashable
3078
+
3079
+ # The name of the destination bucket (e.g., gs://mybucket).
3080
+ # Corresponds to the JSON property `bucket`
3081
+ # @return [String]
3082
+ attr_accessor :bucket
3083
+
3084
+ # This is always sql#sqlServerAuditConfig
3085
+ # Corresponds to the JSON property `kind`
3086
+ # @return [String]
3087
+ attr_accessor :kind
3088
+
3089
+ def initialize(**args)
3090
+ update!(**args)
3091
+ end
3092
+
3093
+ # Update properties of this object
3094
+ def update!(**args)
3095
+ @bucket = args[:bucket] if args.key?(:bucket)
3096
+ @kind = args[:kind] if args.key?(:kind)
3097
+ end
3098
+ end
3099
+
2986
3100
  # Represents a Sql Server database on the Cloud SQL instance.
2987
3101
  class SqlServerDatabaseDetails
2988
3102
  include Google::Apis::Core::Hashable
@@ -3053,14 +3167,14 @@ module Google
3053
3167
  # @return [String]
3054
3168
  attr_accessor :common_name
3055
3169
 
3056
- # The time when the certificate was created in RFC 3339 format, for example *
3057
- # 2012-11-15T16:19:00.094Z*
3170
+ # The time when the certificate was created in [RFC 3339](https://tools.ietf.org/
3171
+ # html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
3058
3172
  # Corresponds to the JSON property `createTime`
3059
3173
  # @return [String]
3060
3174
  attr_accessor :create_time
3061
3175
 
3062
- # The time when the certificate expires in RFC 3339 format, for example *2012-11-
3063
- # 15T16:19:00.094Z*.
3176
+ # The time when the certificate expires in [RFC 3339](https://tools.ietf.org/
3177
+ # html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
3064
3178
  # Corresponds to the JSON property `expirationTime`
3065
3179
  # @return [String]
3066
3180
  attr_accessor :expiration_time
@@ -3070,7 +3184,7 @@ module Google
3070
3184
  # @return [String]
3071
3185
  attr_accessor :instance
3072
3186
 
3073
- # This is always *sql#sslCert*.
3187
+ # This is always **sql#sslCert**.
3074
3188
  # Corresponds to the JSON property `kind`
3075
3189
  # @return [String]
3076
3190
  attr_accessor :kind
@@ -3183,7 +3297,7 @@ module Google
3183
3297
  # @return [Google::Apis::SqladminV1beta4::SslCertDetail]
3184
3298
  attr_accessor :client_cert
3185
3299
 
3186
- # This is always *sql#sslCertsInsert*.
3300
+ # This is always **sql#sslCertsInsert**.
3187
3301
  # Corresponds to the JSON property `kind`
3188
3302
  # @return [String]
3189
3303
  attr_accessor :kind
@@ -3222,7 +3336,7 @@ module Google
3222
3336
  # @return [Array<Google::Apis::SqladminV1beta4::SslCert>]
3223
3337
  attr_accessor :items
3224
3338
 
3225
- # This is always *sql#sslCertsList*.
3339
+ # This is always **sql#sslCertsList**.
3226
3340
  # Corresponds to the JSON property `kind`
3227
3341
  # @return [String]
3228
3342
  attr_accessor :kind
@@ -3338,13 +3452,13 @@ module Google
3338
3452
  class TruncateLogContext
3339
3453
  include Google::Apis::Core::Hashable
3340
3454
 
3341
- # This is always *sql#truncateLogContext*.
3455
+ # This is always **sql#truncateLogContext**.
3342
3456
  # Corresponds to the JSON property `kind`
3343
3457
  # @return [String]
3344
3458
  attr_accessor :kind
3345
3459
 
3346
- # The type of log to truncate. Valid values are *MYSQL_GENERAL_TABLE* and *
3347
- # MYSQL_SLOW_TABLE*.
3460
+ # The type of log to truncate. Valid values are **MYSQL_GENERAL_TABLE** and **
3461
+ # MYSQL_SLOW_TABLE**.
3348
3462
  # Corresponds to the JSON property `logType`
3349
3463
  # @return [String]
3350
3464
  attr_accessor :log_type