google-apis-sqladmin_v1 0.4.0 → 0.8.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: 0d994421e91c61577792402b42b754ebec4732c8e06876ab48bb05462f901b55
4
- data.tar.gz: c3875f250ace0d9494409434b422b3d4f73d86eca0fa6070df215607925cb05b
3
+ metadata.gz: 5aa9bc9b8477fd10dd0808cca69c6b47ac974505a5828ea958cbe46b135e87ad
4
+ data.tar.gz: a1fcc8f6efcadac0435b3ee4ca82c1c0c4c62a241da44ad2f4dfa7210e568372
5
5
  SHA512:
6
- metadata.gz: eb16135bb66b81d9f27b80ce4ec4e59778915836a57f77e2084baa735ffd7160c6ebed44c93b2d7ab2995af3a332afe6a8acc703701db155eaa33974fc2944e5
7
- data.tar.gz: 7630fbbe17f22b925417a36622e053ba95353358720ce3c1b000874a43856152aa4823f137e7c152e35b388e2ba184201a88e9b250c103fda25f7c152bd84aa8
6
+ metadata.gz: 771e63480716fb5d522353032613e1fc2ee6902446a8dd94af8a2c6023046638f2846a3e650b9b1fc410bd7ea066c958acf07dc7a065e11e5d69b32f220b3368
7
+ data.tar.gz: d3eebaaa889b5b15e6fc7e61f375f59221bd87e753a917f955e09298c17810d09747a44bcd522ef332b72c1cb7146e892d44d5b527670c412497a80ac766dd3b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-sqladmin_v1
2
2
 
3
+ ### v0.8.0 (2021-10-27)
4
+
5
+ * Regenerated from discovery document revision 20211017
6
+ * Unspecified changes
7
+
8
+ ### v0.7.0 (2021-10-08)
9
+
10
+ * Regenerated from discovery document revision 20210929
11
+
12
+ ### v0.6.0 (2021-09-21)
13
+
14
+ * Regenerated from discovery document revision 20210913
15
+
16
+ ### v0.5.0 (2021-09-10)
17
+
18
+ * Regenerated from discovery document revision 20210902
19
+
3
20
  ### v0.4.0 (2021-09-01)
4
21
 
5
22
  * Regenerated from discovery document revision 20210816
data/OVERVIEW.md CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Sqladmin service in particular.)
67
67
 
@@ -243,14 +243,14 @@ module Google
243
243
  # @return [Google::Apis::SqladminV1::DiskEncryptionStatus]
244
244
  attr_accessor :disk_encryption_status
245
245
 
246
- # The time the backup operation completed in UTC timezone in RFC 3339 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::SqladminV1::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::SqladminV1::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
@@ -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::SqladminV1::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
@@ -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,12 +952,12 @@ 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
946
- # value value only if you know the reason for the GTID divergence and are
947
- # confident that doing so will not cause any replication issues.
959
+ # value only if you know the reason for the GTID divergence and are confident
960
+ # that doing so will not cause any replication issues.
948
961
  # Corresponds to the JSON property `verifyGtidConsistency`
949
962
  # @return [Boolean]
950
963
  attr_accessor :verify_gtid_consistency
@@ -1029,8 +1042,8 @@ module Google
1029
1042
  attr_accessor :end_date
1030
1043
 
1031
1044
  # "deny maintenance period" start date. If the year of the start date is empty,
1032
- # the year of the end date also must be empty. In this case, it means the no
1033
- # maintenance interval recurs every year. The date is in format yyyy-mm-dd i.e.,
1045
+ # the year of the end date also must be empty. In this case, it means the deny
1046
+ # maintenance period recurs every year. The date is in format yyyy-mm-dd i.e.,
1034
1047
  # 2020-11-01, or mm-dd, i.e., 11-01
1035
1048
  # Corresponds to the JSON property `startDate`
1036
1049
  # @return [String]
@@ -1113,22 +1126,22 @@ module Google
1113
1126
  # @return [Google::Apis::SqladminV1::ExportContext::CsvExportOptions]
1114
1127
  attr_accessor :csv_export_options
1115
1128
 
1116
- # Databases to be exported. **MySQL instances:** If **fileType** is **SQL** and
1117
- # no database is specified, all databases are exported, except for the **mysql**
1118
- # system database. If **fileType** is **CSV**, you can specify one database,
1119
- # either by using this property or by using the **csvExportOptions.selectQuery**
1120
- # property, which takes precedence over this property. **PostgreSQL instances:**
1121
- # You must specify one database to be exported. If **fileType** is **CSV**, this
1122
- # database must match the one specified in the **csvExportOptions.selectQuery**
1123
- # property. **SQL Server instances:** You must specify one database to be
1124
- # exported, and the **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
1131
- # for a 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
@@ -1176,6 +1189,29 @@ module Google
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,10 +1268,10 @@ 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
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
1235
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]
@@ -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
@@ -1400,6 +1440,11 @@ module Google
1400
1440
  # @return [String]
1401
1441
  attr_accessor :read_time
1402
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
+
1403
1448
  def initialize(**args)
1404
1449
  update!(**args)
1405
1450
  end
@@ -1409,6 +1454,7 @@ module Google
1409
1454
  @access_token = args[:access_token] if args.key?(:access_token)
1410
1455
  @public_key = args[:public_key] if args.key?(:public_key)
1411
1456
  @read_time = args[:read_time] if args.key?(:read_time)
1457
+ @valid_duration = args[:valid_duration] if args.key?(:valid_duration)
1412
1458
  end
1413
1459
  end
1414
1460
 
@@ -1556,6 +1602,29 @@ module Google
1556
1602
  # @return [Array<String>]
1557
1603
  attr_accessor :columns
1558
1604
 
1605
+ # Specifies the character that should appear before a data character that needs
1606
+ # to be escaped.
1607
+ # Corresponds to the JSON property `escapeCharacter`
1608
+ # @return [String]
1609
+ attr_accessor :escape_character
1610
+
1611
+ # Specifies the character that separates columns within each row (line) of the
1612
+ # file.
1613
+ # Corresponds to the JSON property `fieldsTerminatedBy`
1614
+ # @return [String]
1615
+ attr_accessor :fields_terminated_by
1616
+
1617
+ # This is used to separate lines. If a line does not contain all fields, the
1618
+ # rest of the columns are set to their default values.
1619
+ # Corresponds to the JSON property `linesTerminatedBy`
1620
+ # @return [String]
1621
+ attr_accessor :lines_terminated_by
1622
+
1623
+ # Specifies the quoting character to be used when a data value is quoted.
1624
+ # Corresponds to the JSON property `quoteCharacter`
1625
+ # @return [String]
1626
+ attr_accessor :quote_character
1627
+
1559
1628
  # The table to which CSV data is imported.
1560
1629
  # Corresponds to the JSON property `table`
1561
1630
  # @return [String]
@@ -1568,6 +1637,10 @@ module Google
1568
1637
  # Update properties of this object
1569
1638
  def update!(**args)
1570
1639
  @columns = args[:columns] if args.key?(:columns)
1640
+ @escape_character = args[:escape_character] if args.key?(:escape_character)
1641
+ @fields_terminated_by = args[:fields_terminated_by] if args.key?(:fields_terminated_by)
1642
+ @lines_terminated_by = args[:lines_terminated_by] if args.key?(:lines_terminated_by)
1643
+ @quote_character = args[:quote_character] if args.key?(:quote_character)
1571
1644
  @table = args[:table] if args.key?(:table)
1572
1645
  end
1573
1646
  end
@@ -1761,7 +1834,7 @@ module Google
1761
1834
  # @return [Array<Google::Apis::SqladminV1::DatabaseInstance>]
1762
1835
  attr_accessor :items
1763
1836
 
1764
- # This is always *sql#instancesList*.
1837
+ # This is always **sql#instancesList**.
1765
1838
  # Corresponds to the JSON property `kind`
1766
1839
  # @return [String]
1767
1840
  attr_accessor :kind
@@ -1804,7 +1877,7 @@ module Google
1804
1877
  # @return [Array<Google::Apis::SqladminV1::SslCert>]
1805
1878
  attr_accessor :certs
1806
1879
 
1807
- # This is always *sql#instancesListServerCas*.
1880
+ # This is always **sql#instancesListServerCas**.
1808
1881
  # Corresponds to the JSON property `kind`
1809
1882
  # @return [String]
1810
1883
  attr_accessor :kind
@@ -2033,7 +2106,7 @@ module Google
2033
2106
  attr_accessor :kind
2034
2107
 
2035
2108
  # Maintenance timing setting: **canary** (Earlier) or **stable** (Later). [Learn
2036
- # more] (https://cloud.google.com/sql/docs/mysql/instance-settings#maintenance-
2109
+ # more](https://cloud.google.com/sql/docs/mysql/instance-settings#maintenance-
2037
2110
  # timing-2ndgen).
2038
2111
  # Corresponds to the JSON property `updateTrack`
2039
2112
  # @return [String]
@@ -2187,7 +2260,7 @@ module Google
2187
2260
  # @return [String]
2188
2261
  attr_accessor :host_port
2189
2262
 
2190
- # This is always *sql#onPremisesConfiguration*.
2263
+ # This is always **sql#onPremisesConfiguration**.
2191
2264
  # Corresponds to the JSON property `kind`
2192
2265
  # @return [String]
2193
2266
  attr_accessor :kind
@@ -2275,9 +2348,10 @@ module Google
2275
2348
  # @return [String]
2276
2349
  attr_accessor :name
2277
2350
 
2278
- # The type of the operation. Valid values are: **CREATE** **DELETE** **UPDATE** *
2279
- # *RESTART** **IMPORT** **EXPORT** **BACKUP_VOLUME** **RESTORE_VOLUME** **
2280
- # CREATE_USER** **DELETE_USER** **CREATE_DATABASE** **DELETE_DATABASE**
2351
+ # The type of the operation. Valid values are: * **CREATE** * **DELETE** * **
2352
+ # UPDATE** * **RESTART** * **IMPORT** * **EXPORT** * **BACKUP_VOLUME** * **
2353
+ # RESTORE_VOLUME** * **CREATE_USER** * **DELETE_USER** * **CREATE_DATABASE** * **
2354
+ # DELETE_DATABASE**
2281
2355
  # Corresponds to the JSON property `operationType`
2282
2356
  # @return [String]
2283
2357
  attr_accessor :operation_type
@@ -2293,8 +2367,8 @@ module Google
2293
2367
  # @return [String]
2294
2368
  attr_accessor :start_time
2295
2369
 
2296
- # The status of an operation. Valid values are: **PENDING** **RUNNING** **DONE**
2297
- # **SQL_OPERATION_STATUS_UNSPECIFIED**
2370
+ # The status of an operation. Valid values are: * **PENDING** * **RUNNING** * **
2371
+ # DONE** * **SQL_OPERATION_STATUS_UNSPECIFIED**
2298
2372
  # Corresponds to the JSON property `status`
2299
2373
  # @return [String]
2300
2374
  attr_accessor :status
@@ -2409,7 +2483,7 @@ module Google
2409
2483
  # @return [Array<Google::Apis::SqladminV1::Operation>]
2410
2484
  attr_accessor :items
2411
2485
 
2412
- # This is always *sql#operationsList*.
2486
+ # This is always **sql#operationsList**.
2413
2487
  # Corresponds to the JSON property `kind`
2414
2488
  # @return [String]
2415
2489
  attr_accessor :kind
@@ -2436,8 +2510,8 @@ module Google
2436
2510
  class ReplicaConfiguration
2437
2511
  include Google::Apis::Core::Hashable
2438
2512
 
2439
- # Specifies if the replica is the failover target. If the field is set to *true*
2440
- # the replica will be designated as a failover replica. In case the primary
2513
+ # Specifies if the replica is the failover target. If the field is set to **true*
2514
+ # * the replica will be designated as a failover replica. In case the primary
2441
2515
  # instance fails, the replica instance will be promoted as the new primary
2442
2516
  # instance. Only one replica can be specified as failover target, and the
2443
2517
  # replica has to be in different zone with the primary instance.
@@ -2446,7 +2520,7 @@ module Google
2446
2520
  attr_accessor :failover_target
2447
2521
  alias_method :failover_target?, :failover_target
2448
2522
 
2449
- # This is always *sql#replicaConfiguration*.
2523
+ # This is always **sql#replicaConfiguration**.
2450
2524
  # Corresponds to the JSON property `kind`
2451
2525
  # @return [String]
2452
2526
  attr_accessor :kind
@@ -2478,8 +2552,8 @@ module Google
2478
2552
  attr_accessor :reschedule_type
2479
2553
 
2480
2554
  # Optional. Timestamp when the maintenance shall be rescheduled to if
2481
- # reschedule_type=SPECIFIC_TIME, in RFC 3339 format, for example *2012-11-15T16:
2482
- # 19:00.094Z*.
2555
+ # reschedule_type=SPECIFIC_TIME, in [RFC 3339](https://tools.ietf.org/html/
2556
+ # rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
2483
2557
  # Corresponds to the JSON property `scheduleTime`
2484
2558
  # @return [String]
2485
2559
  attr_accessor :schedule_time
@@ -2510,7 +2584,7 @@ module Google
2510
2584
  # @return [String]
2511
2585
  attr_accessor :instance_id
2512
2586
 
2513
- # This is always *sql#restoreBackupContext*.
2587
+ # This is always **sql#restoreBackupContext**.
2514
2588
  # Corresponds to the JSON property `kind`
2515
2589
  # @return [String]
2516
2590
  attr_accessor :kind
@@ -2537,7 +2611,7 @@ module Google
2537
2611
  class RotateServerCaContext
2538
2612
  include Google::Apis::Core::Hashable
2539
2613
 
2540
- # This is always *sql#rotateServerCaContext*.
2614
+ # This is always **sql#rotateServerCaContext**.
2541
2615
  # Corresponds to the JSON property `kind`
2542
2616
  # @return [String]
2543
2617
  attr_accessor :kind
@@ -2564,10 +2638,10 @@ module Google
2564
2638
  include Google::Apis::Core::Hashable
2565
2639
 
2566
2640
  # The activation policy specifies when the instance is activated; it is
2567
- # applicable only when the instance state is RUNNABLE. Valid values: **ALWAYS**:
2568
- # The instance is on, and remains so even in the absence of connection requests.
2569
- # **NEVER**: The instance is off; it is not activated, even if a connection
2570
- # request arrives.
2641
+ # applicable only when the instance state is RUNNABLE. Valid values: * **ALWAYS**
2642
+ # : The instance is on, and remains so even in the absence of connection
2643
+ # requests. * **NEVER**: The instance is off; it is not activated, even if a
2644
+ # connection request arrives.
2571
2645
  # Corresponds to the JSON property `activationPolicy`
2572
2646
  # @return [String]
2573
2647
  attr_accessor :activation_policy
@@ -2583,11 +2657,12 @@ module Google
2583
2657
  # @return [Array<String>]
2584
2658
  attr_accessor :authorized_gae_applications
2585
2659
 
2586
- # Availability type. Potential values: **ZONAL**: The instance serves data from
2587
- # only one zone. Outages in that zone affect data accessibility. **REGIONAL**:
2588
- # The instance can serve data from more than one zone in a region (it is highly
2589
- # available). For more information, see [Overview of the High Availability
2590
- # Configuration](https://cloud.google.com/sql/docs/mysql/high-availability).
2660
+ # Availability type. Potential values: * **ZONAL**: The instance serves data
2661
+ # from only one zone. Outages in that zone affect data accessibility. * **
2662
+ # REGIONAL**: The instance can serve data from more than one zone in a region (
2663
+ # it is highly available)./ For more information, see [Overview of the High
2664
+ # Availability Configuration](https://cloud.google.com/sql/docs/mysql/high-
2665
+ # availability).
2591
2666
  # Corresponds to the JSON property `availabilityType`
2592
2667
  # @return [String]
2593
2668
  attr_accessor :availability_type
@@ -2615,7 +2690,8 @@ module Google
2615
2690
  # @return [Fixnum]
2616
2691
  attr_accessor :data_disk_size_gb
2617
2692
 
2618
- # The type of data disk: **PD_SSD** (default) or **PD_HDD**.
2693
+ # The type of data disk: **PD_SSD** (default) or **PD_HDD**. Not used for First
2694
+ # Generation instances.
2619
2695
  # Corresponds to the JSON property `dataDiskType`
2620
2696
  # @return [String]
2621
2697
  attr_accessor :data_disk_type
@@ -2687,6 +2763,11 @@ module Google
2687
2763
  # @return [Fixnum]
2688
2764
  attr_accessor :settings_version
2689
2765
 
2766
+ # SQL Server specific audit configuration.
2767
+ # Corresponds to the JSON property `sqlServerAuditConfig`
2768
+ # @return [Google::Apis::SqladminV1::SqlServerAuditConfig]
2769
+ attr_accessor :sql_server_audit_config
2770
+
2690
2771
  # Configuration to increase storage size automatically. The default value is
2691
2772
  # true.
2692
2773
  # Corresponds to the JSON property `storageAutoResize`
@@ -2737,6 +2818,7 @@ module Google
2737
2818
  @pricing_plan = args[:pricing_plan] if args.key?(:pricing_plan)
2738
2819
  @replication_type = args[:replication_type] if args.key?(:replication_type)
2739
2820
  @settings_version = args[:settings_version] if args.key?(:settings_version)
2821
+ @sql_server_audit_config = args[:sql_server_audit_config] if args.key?(:sql_server_audit_config)
2740
2822
  @storage_auto_resize = args[:storage_auto_resize] if args.key?(:storage_auto_resize)
2741
2823
  @storage_auto_resize_limit = args[:storage_auto_resize_limit] if args.key?(:storage_auto_resize_limit)
2742
2824
  @tier = args[:tier] if args.key?(:tier)
@@ -2769,7 +2851,7 @@ module Google
2769
2851
  end
2770
2852
  end
2771
2853
 
2772
- # External primary instance migration setting error.
2854
+ # External primary instance migration setting error/warning.
2773
2855
  class SqlExternalSyncSettingError
2774
2856
  include Google::Apis::Core::Hashable
2775
2857
 
@@ -2778,7 +2860,7 @@ module Google
2778
2860
  # @return [String]
2779
2861
  attr_accessor :detail
2780
2862
 
2781
- # Can be *sql#externalSyncSettingError* or *sql#externalSyncSettingWarning*.
2863
+ # Can be **sql#externalSyncSettingError** or **sql#externalSyncSettingWarning**.
2782
2864
  # Corresponds to the JSON property `kind`
2783
2865
  # @return [String]
2784
2866
  attr_accessor :kind
@@ -2871,6 +2953,12 @@ module Google
2871
2953
  attr_accessor :verify_connection_only
2872
2954
  alias_method :verify_connection_only?, :verify_connection_only
2873
2955
 
2956
+ # Optional. Flag to verify settings required by replication setup only
2957
+ # Corresponds to the JSON property `verifyReplicationOnly`
2958
+ # @return [Boolean]
2959
+ attr_accessor :verify_replication_only
2960
+ alias_method :verify_replication_only?, :verify_replication_only
2961
+
2874
2962
  def initialize(**args)
2875
2963
  update!(**args)
2876
2964
  end
@@ -2880,6 +2968,7 @@ module Google
2880
2968
  @mysql_sync_config = args[:mysql_sync_config] if args.key?(:mysql_sync_config)
2881
2969
  @sync_mode = args[:sync_mode] if args.key?(:sync_mode)
2882
2970
  @verify_connection_only = args[:verify_connection_only] if args.key?(:verify_connection_only)
2971
+ @verify_replication_only = args[:verify_replication_only] if args.key?(:verify_replication_only)
2883
2972
  end
2884
2973
  end
2885
2974
 
@@ -2892,7 +2981,7 @@ module Google
2892
2981
  # @return [Array<Google::Apis::SqladminV1::SqlExternalSyncSettingError>]
2893
2982
  attr_accessor :errors
2894
2983
 
2895
- # This is always *sql#migrationSettingErrorList*.
2984
+ # This is always **sql#migrationSettingErrorList**.
2896
2985
  # Corresponds to the JSON property `kind`
2897
2986
  # @return [String]
2898
2987
  attr_accessor :kind
@@ -2919,15 +3008,15 @@ module Google
2919
3008
  include Google::Apis::Core::Hashable
2920
3009
 
2921
3010
  # The minimum recommended increase size in GigaBytes This field is consumed by
2922
- # the frontend Writers: -- the proactive database wellness job for OOD. Readers:
2923
- # -- the Pantheon frontend
3011
+ # the frontend * Writers: * the proactive database wellness job for OOD. *
3012
+ # Readers:
2924
3013
  # Corresponds to the JSON property `sqlMinRecommendedIncreaseSizeGb`
2925
3014
  # @return [Fixnum]
2926
3015
  attr_accessor :sql_min_recommended_increase_size_gb
2927
3016
 
2928
3017
  # This field represents the state generated by the proactive database wellness
2929
- # job for OutOfDisk issues. Writers: -- the proactive database wellness job for
2930
- # OOD. Readers: -- the Pantheon frontend -- the proactive database wellness job
3018
+ # job for OutOfDisk issues. * Writers: * the proactive database wellness job for
3019
+ # OOD. * Readers: * the proactive database wellness job
2931
3020
  # Corresponds to the JSON property `sqlOutOfDiskState`
2932
3021
  # @return [String]
2933
3022
  attr_accessor :sql_out_of_disk_state
@@ -2982,6 +3071,31 @@ module Google
2982
3071
  end
2983
3072
  end
2984
3073
 
3074
+ # SQL Server specific audit configuration.
3075
+ class SqlServerAuditConfig
3076
+ include Google::Apis::Core::Hashable
3077
+
3078
+ # The name of the destination bucket (e.g., gs://mybucket).
3079
+ # Corresponds to the JSON property `bucket`
3080
+ # @return [String]
3081
+ attr_accessor :bucket
3082
+
3083
+ # This is always sql#sqlServerAuditConfig
3084
+ # Corresponds to the JSON property `kind`
3085
+ # @return [String]
3086
+ attr_accessor :kind
3087
+
3088
+ def initialize(**args)
3089
+ update!(**args)
3090
+ end
3091
+
3092
+ # Update properties of this object
3093
+ def update!(**args)
3094
+ @bucket = args[:bucket] if args.key?(:bucket)
3095
+ @kind = args[:kind] if args.key?(:kind)
3096
+ end
3097
+ end
3098
+
2985
3099
  # Represents a Sql Server database on the Cloud SQL instance.
2986
3100
  class SqlServerDatabaseDetails
2987
3101
  include Google::Apis::Core::Hashable
@@ -3069,7 +3183,7 @@ module Google
3069
3183
  # @return [String]
3070
3184
  attr_accessor :instance
3071
3185
 
3072
- # This is always sql#sslCert.
3186
+ # This is always **sql#sslCert**.
3073
3187
  # Corresponds to the JSON property `kind`
3074
3188
  # @return [String]
3075
3189
  attr_accessor :kind
@@ -3182,7 +3296,7 @@ module Google
3182
3296
  # @return [Google::Apis::SqladminV1::SslCertDetail]
3183
3297
  attr_accessor :client_cert
3184
3298
 
3185
- # This is always *sql#sslCertsInsert*.
3299
+ # This is always **sql#sslCertsInsert**.
3186
3300
  # Corresponds to the JSON property `kind`
3187
3301
  # @return [String]
3188
3302
  attr_accessor :kind
@@ -3221,7 +3335,7 @@ module Google
3221
3335
  # @return [Array<Google::Apis::SqladminV1::SslCert>]
3222
3336
  attr_accessor :items
3223
3337
 
3224
- # This is always *sql#sslCertsList*.
3338
+ # This is always **sql#sslCertsList**.
3225
3339
  # Corresponds to the JSON property `kind`
3226
3340
  # @return [String]
3227
3341
  attr_accessor :kind
@@ -3278,7 +3392,7 @@ module Google
3278
3392
  # @return [Fixnum]
3279
3393
  attr_accessor :ram
3280
3394
 
3281
- # This is always *sql#tier*.
3395
+ # This is always **sql#tier**.
3282
3396
  # Corresponds to the JSON property `kind`
3283
3397
  # @return [String]
3284
3398
  attr_accessor :kind
@@ -3289,7 +3403,7 @@ module Google
3289
3403
  attr_accessor :region
3290
3404
 
3291
3405
  # An identifier for the machine type, for example, db-custom-1-3840. For related
3292
- # information, see Pricing.
3406
+ # information, see [Pricing](/sql/pricing).
3293
3407
  # Corresponds to the JSON property `tier`
3294
3408
  # @return [String]
3295
3409
  attr_accessor :tier
@@ -3317,7 +3431,7 @@ module Google
3317
3431
  # @return [Array<Google::Apis::SqladminV1::Tier>]
3318
3432
  attr_accessor :items
3319
3433
 
3320
- # This is always *sql#tiersList*.
3434
+ # This is always **sql#tiersList**.
3321
3435
  # Corresponds to the JSON property `kind`
3322
3436
  # @return [String]
3323
3437
  attr_accessor :kind
@@ -3337,13 +3451,13 @@ module Google
3337
3451
  class TruncateLogContext
3338
3452
  include Google::Apis::Core::Hashable
3339
3453
 
3340
- # This is always *sql#truncateLogContext*.
3454
+ # This is always **sql#truncateLogContext**.
3341
3455
  # Corresponds to the JSON property `kind`
3342
3456
  # @return [String]
3343
3457
  attr_accessor :kind
3344
3458
 
3345
- # The type of log to truncate. Valid values are *MYSQL_GENERAL_TABLE* and *
3346
- # MYSQL_SLOW_TABLE*.
3459
+ # The type of log to truncate. Valid values are **MYSQL_GENERAL_TABLE** and **
3460
+ # MYSQL_SLOW_TABLE**.
3347
3461
  # Corresponds to the JSON property `logType`
3348
3462
  # @return [String]
3349
3463
  attr_accessor :log_type
@@ -3368,25 +3482,25 @@ module Google
3368
3482
  # @return [String]
3369
3483
  attr_accessor :etag
3370
3484
 
3371
- # The host name from which the user can connect. For *insert* operations, host
3372
- # defaults to an empty string. For *update* operations, host is specified as
3485
+ # The host name from which the user can connect. For **insert** operations, host
3486
+ # defaults to an empty string. For **update** operations, host is specified as
3373
3487
  # part of the request URL. The host name cannot be updated after insertion.
3374
3488
  # Corresponds to the JSON property `host`
3375
3489
  # @return [String]
3376
3490
  attr_accessor :host
3377
3491
 
3378
3492
  # The name of the Cloud SQL instance. This does not include the project ID. Can
3379
- # be omitted for *update* since it is already specified on the URL.
3493
+ # be omitted for **update** since it is already specified on the URL.
3380
3494
  # Corresponds to the JSON property `instance`
3381
3495
  # @return [String]
3382
3496
  attr_accessor :instance
3383
3497
 
3384
- # This is always *sql#user*.
3498
+ # This is always **sql#user**.
3385
3499
  # Corresponds to the JSON property `kind`
3386
3500
  # @return [String]
3387
3501
  attr_accessor :kind
3388
3502
 
3389
- # The name of the user in the Cloud SQL instance. Can be omitted for *update*
3503
+ # The name of the user in the Cloud SQL instance. Can be omitted for **update**
3390
3504
  # since it is already specified in the URL.
3391
3505
  # Corresponds to the JSON property `name`
3392
3506
  # @return [String]
@@ -3398,8 +3512,8 @@ module Google
3398
3512
  attr_accessor :password
3399
3513
 
3400
3514
  # The project ID of the project containing the Cloud SQL database. The Google
3401
- # apps domain is prefixed if applicable. Can be omitted for *update* since it is
3402
- # already specified on the URL.
3515
+ # apps domain is prefixed if applicable. Can be omitted for **update** since it
3516
+ # is already specified on the URL.
3403
3517
  # Corresponds to the JSON property `project`
3404
3518
  # @return [String]
3405
3519
  attr_accessor :project
@@ -3442,7 +3556,7 @@ module Google
3442
3556
  # @return [Array<Google::Apis::SqladminV1::User>]
3443
3557
  attr_accessor :items
3444
3558
 
3445
- # This is always *sql#usersList*.
3559
+ # This is always **sql#usersList**.
3446
3560
  # Corresponds to the JSON property `kind`
3447
3561
  # @return [String]
3448
3562
  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.4.0"
19
+ GEM_VERSION = "0.8.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210816"
25
+ REVISION = "20211017"
26
26
  end
27
27
  end
28
28
  end
@@ -442,6 +442,12 @@ module Google
442
442
  include Google::Apis::Core::JsonObjectSupport
443
443
  end
444
444
 
445
+ class SqlServerAuditConfig
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
445
451
  class SqlServerDatabaseDetails
446
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
447
453
 
@@ -641,6 +647,7 @@ module Google
641
647
  collection :ip_addresses, as: 'ipAddresses', class: Google::Apis::SqladminV1::IpMapping, decorator: Google::Apis::SqladminV1::IpMapping::Representation
642
648
 
643
649
  property :kind, as: 'kind'
650
+ property :region, as: 'region'
644
651
  property :server_ca_cert, as: 'serverCaCert', class: Google::Apis::SqladminV1::SslCert, decorator: Google::Apis::SqladminV1::SslCert::Representation
645
652
 
646
653
  end
@@ -811,6 +818,10 @@ module Google
811
818
  class CsvExportOptions
812
819
  # @private
813
820
  class Representation < Google::Apis::Core::JsonRepresentation
821
+ property :escape_character, as: 'escapeCharacter'
822
+ property :fields_terminated_by, as: 'fieldsTerminatedBy'
823
+ property :lines_terminated_by, as: 'linesTerminatedBy'
824
+ property :quote_character, as: 'quoteCharacter'
814
825
  property :select_query, as: 'selectQuery'
815
826
  end
816
827
  end
@@ -872,6 +883,7 @@ module Google
872
883
  property :access_token, as: 'access_token'
873
884
  property :public_key, as: 'public_key'
874
885
  property :read_time, as: 'readTime'
886
+ property :valid_duration, as: 'validDuration'
875
887
  end
876
888
  end
877
889
 
@@ -918,6 +930,10 @@ module Google
918
930
  # @private
919
931
  class Representation < Google::Apis::Core::JsonRepresentation
920
932
  collection :columns, as: 'columns'
933
+ property :escape_character, as: 'escapeCharacter'
934
+ property :fields_terminated_by, as: 'fieldsTerminatedBy'
935
+ property :lines_terminated_by, as: 'linesTerminatedBy'
936
+ property :quote_character, as: 'quoteCharacter'
921
937
  property :table, as: 'table'
922
938
  end
923
939
  end
@@ -1232,6 +1248,8 @@ module Google
1232
1248
  property :pricing_plan, as: 'pricingPlan'
1233
1249
  property :replication_type, as: 'replicationType'
1234
1250
  property :settings_version, :numeric_string => true, as: 'settingsVersion'
1251
+ property :sql_server_audit_config, as: 'sqlServerAuditConfig', class: Google::Apis::SqladminV1::SqlServerAuditConfig, decorator: Google::Apis::SqladminV1::SqlServerAuditConfig::Representation
1252
+
1235
1253
  property :storage_auto_resize, as: 'storageAutoResize'
1236
1254
  property :storage_auto_resize_limit, :numeric_string => true, as: 'storageAutoResizeLimit'
1237
1255
  property :tier, as: 'tier'
@@ -1281,6 +1299,7 @@ module Google
1281
1299
 
1282
1300
  property :sync_mode, as: 'syncMode'
1283
1301
  property :verify_connection_only, as: 'verifyConnectionOnly'
1302
+ property :verify_replication_only, as: 'verifyReplicationOnly'
1284
1303
  end
1285
1304
  end
1286
1305
 
@@ -1313,6 +1332,14 @@ module Google
1313
1332
  end
1314
1333
  end
1315
1334
 
1335
+ class SqlServerAuditConfig
1336
+ # @private
1337
+ class Representation < Google::Apis::Core::JsonRepresentation
1338
+ property :bucket, as: 'bucket'
1339
+ property :kind, as: 'kind'
1340
+ end
1341
+ end
1342
+
1316
1343
  class SqlServerDatabaseDetails
1317
1344
  # @private
1318
1345
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -55,7 +55,8 @@ module Google
55
55
  # @param [String] instance
56
56
  # Cloud SQL instance ID. This does not include the project ID.
57
57
  # @param [Fixnum] id
58
- # The ID of the backup run to delete. To find a backup run ID, use the list
58
+ # The ID of the backup run to delete. To find a backup run ID, use the [list](
59
+ # https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1/backupRuns/list)
59
60
  # method.
60
61
  # @param [String] fields
61
62
  # Selector specifying which fields to include in a partial response.
@@ -712,9 +713,10 @@ module Google
712
713
 
713
714
  # Initiates a manual failover of a high availability (HA) primary instance to a
714
715
  # standby instance, which becomes the primary instance. Users are then rerouted
715
- # to the new primary. For more information, see the Overview of high
716
- # availability page in the Cloud SQL documentation. If using Legacy HA (MySQL
717
- # only), this causes the instance to failover to its failover replica instance.
716
+ # to the new primary. For more information, see the [Overview of high
717
+ # availability](https://cloud.google.com/sql/docs/mysql/high-availability) page
718
+ # in the Cloud SQL documentation. If using Legacy HA (MySQL only), this causes
719
+ # the instance to failover to its failover replica instance.
718
720
  # @param [String] project
719
721
  # ID of the project that contains the read replica.
720
722
  # @param [String] instance
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-sqladmin_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.8.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-09-06 00:00:00.000000000 Z
11
+ date: 2021-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-sqladmin_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.4.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-sqladmin_v1
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.8.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths: