google-apis-sqladmin_v1 0.3.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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,20 +615,28 @@ module Google
605
615
  # @return [String]
606
616
  attr_accessor :connection_name
607
617
 
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**.
620
+ # Corresponds to the JSON property `createTime`
621
+ # @return [String]
622
+ attr_accessor :create_time
623
+
608
624
  # The current disk usage of the instance in bytes. This property has been
609
625
  # deprecated. Use the "cloudsql.googleapis.com/database/disk/bytes_used" metric
610
- # 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.
611
629
  # Corresponds to the JSON property `currentDiskSize`
612
630
  # @return [Fixnum]
613
631
  attr_accessor :current_disk_size
614
632
 
615
- # The database engine type and version. The *databaseVersion* field cannot be
616
- # changed after instance creation. MySQL instances: *MYSQL_8_0*, *MYSQL_5_7* (
617
- # default), or *MYSQL_5_6*. PostgreSQL instances: *POSTGRES_9_6*, *POSTGRES_10*,
618
- # *POSTGRES_11*, *POSTGRES_12*, *POSTGRES_13* (default). SQL Server instances: *
619
- # SQLSERVER_2019_STANDARD*, *SQLSERVER_2019_ENTERPRISE*, *SQLSERVER_2019_EXPRESS*
620
- # , or *SQLSERVER_2019_WEB*, *SQLSERVER_2017_STANDARD* (default), *
621
- # 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). * **SQL Server instances**:
637
+ # SQLSERVER_2019_STANDARD, SQLSERVER_2019_ENTERPRISE, SQLSERVER_2019_EXPRESS, or
638
+ # SQLSERVER_2019_WEB, SQLSERVER_2017_STANDARD (default),
639
+ # SQLSERVER_2017_ENTERPRISE, SQLSERVER_2017_EXPRESS, or SQLSERVER_2017_WEB.
622
640
  # Corresponds to the JSON property `databaseVersion`
623
641
  # @return [String]
624
642
  attr_accessor :database_version
@@ -634,7 +652,7 @@ module Google
634
652
  attr_accessor :disk_encryption_status
635
653
 
636
654
  # This field is deprecated and will be removed from a future version of the API.
637
- # Use the *settings.settingsVersion* field instead.
655
+ # Use the **settings.settingsVersion** field instead.
638
656
  # Corresponds to the JSON property `etag`
639
657
  # @return [String]
640
658
  attr_accessor :etag
@@ -651,10 +669,10 @@ module Google
651
669
  # @return [String]
652
670
  attr_accessor :gce_zone
653
671
 
654
- # The instance type. This can be one of the following. *CLOUD_SQL_INSTANCE*: A
655
- # Cloud SQL instance that is not replicating from a primary instance. *
656
- # ON_PREMISES_INSTANCE*: An instance running on the customer's premises. *
657
- # READ_REPLICA_INSTANCE*: A Cloud SQL instance configured as a read-replica.
672
+ # The instance type. This can be one of the following: * **CLOUD_SQL_INSTANCE**:
673
+ # A Cloud SQL instance that is not replicating from a primary instance. * **
674
+ # ON_PREMISES_INSTANCE**: An instance running on the customer's premises. * **
675
+ # READ_REPLICA_INSTANCE**: A Cloud SQL instance configured as a read-replica.
658
676
  # Corresponds to the JSON property `instanceType`
659
677
  # @return [String]
660
678
  attr_accessor :instance_type
@@ -670,7 +688,7 @@ module Google
670
688
  # @return [String]
671
689
  attr_accessor :ipv6_address
672
690
 
673
- # This is always *sql#instance*.
691
+ # This is always **sql#instance**.
674
692
  # Corresponds to the JSON property `kind`
675
693
  # @return [String]
676
694
  attr_accessor :kind
@@ -706,10 +724,10 @@ module Google
706
724
  # @return [String]
707
725
  attr_accessor :project
708
726
 
709
- # The geographical region. Can be *us-central* (*FIRST_GEN* instances only) *us-
710
- # central1* (*SECOND_GEN* instances only) *asia-east1* or *europe-west1*.
711
- # Defaults to *us-central* or *us-central1* depending on the instance type. The
712
- # region cannot be changed after instance creation.
727
+ # The geographical region. Can be: * **us-central** (**FIRST_GEN** instances
728
+ # only) * **us-central1** (**SECOND_GEN** instances only) * **asia-east1** or **
729
+ # europe-west1**. Defaults to **us-central** or **us-central1** depending on the
730
+ # instance type. The region cannot be changed after instance creation.
713
731
  # Corresponds to the JSON property `region`
714
732
  # @return [String]
715
733
  attr_accessor :region
@@ -770,12 +788,12 @@ module Google
770
788
  attr_accessor :settings
771
789
 
772
790
  # The current serving state of the Cloud SQL instance. This can be one of the
773
- # following. *SQL_INSTANCE_STATE_UNSPECIFIED*: The state of the instance is
774
- # unknown. *RUNNABLE*: The instance is running, or has been stopped by owner. *
775
- # SUSPENDED*: The instance is not available, for example due to problems with
776
- # billing. *PENDING_DELETE*: The instance is being deleted. *PENDING_CREATE*:
777
- # The instance is being created. *MAINTENANCE*: The instance is down for
778
- # maintenance. *FAILED*: The instance creation failed.
791
+ # following: * **SQL_INSTANCE_STATE_UNSPECIFIED**: The state of the instance is
792
+ # unknown. * **RUNNABLE**: The instance is running, or has been stopped by owner.
793
+ # * **SUSPENDED**: The instance is not available, for example due to problems
794
+ # with billing. * **PENDING_DELETE**: The instance is being deleted. * **
795
+ # PENDING_CREATE**: The instance is being created. * **MAINTENANCE**: The
796
+ # instance is down for maintenance. * **FAILED**: The instance creation failed.
779
797
  # Corresponds to the JSON property `state`
780
798
  # @return [String]
781
799
  attr_accessor :state
@@ -793,6 +811,7 @@ module Google
793
811
  def update!(**args)
794
812
  @backend_type = args[:backend_type] if args.key?(:backend_type)
795
813
  @connection_name = args[:connection_name] if args.key?(:connection_name)
814
+ @create_time = args[:create_time] if args.key?(:create_time)
796
815
  @current_disk_size = args[:current_disk_size] if args.key?(:current_disk_size)
797
816
  @database_version = args[:database_version] if args.key?(:database_version)
798
817
  @disk_encryption_configuration = args[:disk_encryption_configuration] if args.key?(:disk_encryption_configuration)
@@ -865,7 +884,7 @@ module Google
865
884
  # @return [Array<Google::Apis::SqladminV1::Database>]
866
885
  attr_accessor :items
867
886
 
868
- # This is always *sql#databasesList*.
887
+ # This is always **sql#databasesList**.
869
888
  # Corresponds to the JSON property `kind`
870
889
  # @return [String]
871
890
  attr_accessor :kind
@@ -910,7 +929,7 @@ module Google
910
929
  class DemoteMasterContext
911
930
  include Google::Apis::Core::Hashable
912
931
 
913
- # This is always *sql#demoteMasterContext*.
932
+ # This is always **sql#demoteMasterContext**.
914
933
  # Corresponds to the JSON property `kind`
915
934
  # @return [String]
916
935
  attr_accessor :kind
@@ -926,12 +945,18 @@ module Google
926
945
  # @return [Google::Apis::SqladminV1::DemoteMasterConfiguration]
927
946
  attr_accessor :replica_configuration
928
947
 
929
- # Verify GTID consistency for demote operation. Default value: *True*. Setting
948
+ # Flag to skip replication setup on the instance.
949
+ # Corresponds to the JSON property `skipReplicationSetup`
950
+ # @return [Boolean]
951
+ attr_accessor :skip_replication_setup
952
+ alias_method :skip_replication_setup?, :skip_replication_setup
953
+
954
+ # Verify GTID consistency for demote operation. Default value: **True**. Setting
930
955
  # this flag to false enables you to bypass GTID consistency check between on-
931
956
  # premises primary instance and Cloud SQL instance during the demotion operation
932
957
  # but also exposes you to the risk of future replication failures. Change the
933
- # value value only if you know the reason for the GTID divergence and are
934
- # confident that doing so will not cause any replication issues.
958
+ # value only if you know the reason for the GTID divergence and are confident
959
+ # that doing so will not cause any replication issues.
935
960
  # Corresponds to the JSON property `verifyGtidConsistency`
936
961
  # @return [Boolean]
937
962
  attr_accessor :verify_gtid_consistency
@@ -946,6 +971,7 @@ module Google
946
971
  @kind = args[:kind] if args.key?(:kind)
947
972
  @master_instance_name = args[:master_instance_name] if args.key?(:master_instance_name)
948
973
  @replica_configuration = args[:replica_configuration] if args.key?(:replica_configuration)
974
+ @skip_replication_setup = args[:skip_replication_setup] if args.key?(:skip_replication_setup)
949
975
  @verify_gtid_consistency = args[:verify_gtid_consistency] if args.key?(:verify_gtid_consistency)
950
976
  end
951
977
  end
@@ -1015,8 +1041,8 @@ module Google
1015
1041
  attr_accessor :end_date
1016
1042
 
1017
1043
  # "deny maintenance period" start date. If the year of the start date is empty,
1018
- # the year of the end date also must be empty. In this case, it means the no
1019
- # maintenance interval recurs every year. The date is in format yyyy-mm-dd i.e.,
1044
+ # the year of the end date also must be empty. In this case, it means the deny
1045
+ # maintenance period recurs every year. The date is in format yyyy-mm-dd i.e.,
1020
1046
  # 2020-11-01, or mm-dd, i.e., 11-01
1021
1047
  # Corresponds to the JSON property `startDate`
1022
1048
  # @return [String]
@@ -1099,22 +1125,22 @@ module Google
1099
1125
  # @return [Google::Apis::SqladminV1::ExportContext::CsvExportOptions]
1100
1126
  attr_accessor :csv_export_options
1101
1127
 
1102
- # Databases to be exported. **MySQL instances:** If **fileType** is **SQL** and
1103
- # no database is specified, all databases are exported, except for the **mysql**
1104
- # system database. If **fileType** is **CSV**, you can specify one database,
1105
- # either by using this property or by using the **csvExportOptions.selectQuery**
1106
- # property, which takes precedence over this property. **PostgreSQL instances:**
1107
- # You must specify one database to be exported. If **fileType** is **CSV**, this
1108
- # database must match the one specified in the **csvExportOptions.selectQuery**
1109
- # property. **SQL Server instances:** You must specify one database to be
1110
- # exported, and the **fileType** must be **BAK**.
1128
+ # Databases to be exported. * **MySQL instances:** If **fileType** is **SQL**
1129
+ # and no database is specified, all databases are exported, except for the **
1130
+ # mysql** system database. If **fileType** is **CSV**, you can specify one
1131
+ # database, either by using this property or by using the **csvExportOptions.
1132
+ # selectQuery** property, which takes precedence over this property. * **
1133
+ # PostgreSQL instances:** You must specify one database to be exported. If **
1134
+ # fileType** is **CSV**, this database must match the one specified in the **
1135
+ # csvExportOptions.selectQuery** property. * **SQL Server instances:** You must
1136
+ # specify one database to be exported, and the **fileType** must be **BAK**.
1111
1137
  # Corresponds to the JSON property `databases`
1112
1138
  # @return [Array<String>]
1113
1139
  attr_accessor :databases
1114
1140
 
1115
- # The file type for the specified uri. **SQL**: The file contains SQL statements.
1116
- # **CSV**: The file contains CSV data. **BAK**: The file contains backup data
1117
- # for a SQL Server instance.
1141
+ # The file type for the specified uri. * **SQL**: The file contains SQL
1142
+ # statements. * **CSV**: The file contains CSV data. * **BAK**: The file
1143
+ # contains backup data for a SQL Server instance.
1118
1144
  # Corresponds to the JSON property `fileType`
1119
1145
  # @return [String]
1120
1146
  attr_accessor :file_type
@@ -1162,6 +1188,29 @@ module Google
1162
1188
  class CsvExportOptions
1163
1189
  include Google::Apis::Core::Hashable
1164
1190
 
1191
+ # Specifies the character that should appear before a data character that needs
1192
+ # to be escaped.
1193
+ # Corresponds to the JSON property `escapeCharacter`
1194
+ # @return [String]
1195
+ attr_accessor :escape_character
1196
+
1197
+ # Specifies the character that separates columns within each row (line) of the
1198
+ # file.
1199
+ # Corresponds to the JSON property `fieldsTerminatedBy`
1200
+ # @return [String]
1201
+ attr_accessor :fields_terminated_by
1202
+
1203
+ # This is used to separate lines. If a line does not contain all fields, the
1204
+ # rest of the columns are set to their default values.
1205
+ # Corresponds to the JSON property `linesTerminatedBy`
1206
+ # @return [String]
1207
+ attr_accessor :lines_terminated_by
1208
+
1209
+ # Specifies the quoting character to be used when a data value is quoted.
1210
+ # Corresponds to the JSON property `quoteCharacter`
1211
+ # @return [String]
1212
+ attr_accessor :quote_character
1213
+
1165
1214
  # The select query used to extract the data.
1166
1215
  # Corresponds to the JSON property `selectQuery`
1167
1216
  # @return [String]
@@ -1173,6 +1222,10 @@ module Google
1173
1222
 
1174
1223
  # Update properties of this object
1175
1224
  def update!(**args)
1225
+ @escape_character = args[:escape_character] if args.key?(:escape_character)
1226
+ @fields_terminated_by = args[:fields_terminated_by] if args.key?(:fields_terminated_by)
1227
+ @lines_terminated_by = args[:lines_terminated_by] if args.key?(:lines_terminated_by)
1228
+ @quote_character = args[:quote_character] if args.key?(:quote_character)
1176
1229
  @select_query = args[:select_query] if args.key?(:select_query)
1177
1230
  end
1178
1231
  end
@@ -1214,10 +1267,10 @@ module Google
1214
1267
  class MysqlExportOptions
1215
1268
  include Google::Apis::Core::Hashable
1216
1269
 
1217
- # Option to include SQL statement required to set up replication. If set to **1**
1218
- # , the dump file includes a CHANGE MASTER TO statement with the binary log
1219
- # coordinates, and --set-gtid-purged is set to ON. If set to **2**, the CHANGE
1220
- # MASTER TO statement is written as a SQL comment and has no effect. If set to
1270
+ # Option to include SQL statement required to set up replication. * If set to **
1271
+ # 1**, the dump file includes a CHANGE MASTER TO statement with the binary log
1272
+ # coordinates, and --set-gtid-purged is set to ON. * If set to **2**, the CHANGE
1273
+ # MASTER TO statement is written as a SQL comment and has no effect. * If set to
1221
1274
  # any value other than **1**, --set-gtid-purged is set to OFF.
1222
1275
  # Corresponds to the JSON property `masterData`
1223
1276
  # @return [Fixnum]
@@ -1239,7 +1292,7 @@ module Google
1239
1292
  class FailoverContext
1240
1293
  include Google::Apis::Core::Hashable
1241
1294
 
1242
- # This is always *sql#failoverContext*.
1295
+ # This is always **sql#failoverContext**.
1243
1296
  # Corresponds to the JSON property `kind`
1244
1297
  # @return [String]
1245
1298
  attr_accessor :kind
@@ -1386,6 +1439,11 @@ module Google
1386
1439
  # @return [String]
1387
1440
  attr_accessor :read_time
1388
1441
 
1442
+ # Optional. If set, it will contain the cert valid duration.
1443
+ # Corresponds to the JSON property `validDuration`
1444
+ # @return [String]
1445
+ attr_accessor :valid_duration
1446
+
1389
1447
  def initialize(**args)
1390
1448
  update!(**args)
1391
1449
  end
@@ -1395,6 +1453,7 @@ module Google
1395
1453
  @access_token = args[:access_token] if args.key?(:access_token)
1396
1454
  @public_key = args[:public_key] if args.key?(:public_key)
1397
1455
  @read_time = args[:read_time] if args.key?(:read_time)
1456
+ @valid_duration = args[:valid_duration] if args.key?(:valid_duration)
1398
1457
  end
1399
1458
  end
1400
1459
 
@@ -1542,6 +1601,29 @@ module Google
1542
1601
  # @return [Array<String>]
1543
1602
  attr_accessor :columns
1544
1603
 
1604
+ # Specifies the character that should appear before a data character that needs
1605
+ # to be escaped.
1606
+ # Corresponds to the JSON property `escapeCharacter`
1607
+ # @return [String]
1608
+ attr_accessor :escape_character
1609
+
1610
+ # Specifies the character that separates columns within each row (line) of the
1611
+ # file.
1612
+ # Corresponds to the JSON property `fieldsTerminatedBy`
1613
+ # @return [String]
1614
+ attr_accessor :fields_terminated_by
1615
+
1616
+ # This is used to separate lines. If a line does not contain all fields, the
1617
+ # rest of the columns are set to their default values.
1618
+ # Corresponds to the JSON property `linesTerminatedBy`
1619
+ # @return [String]
1620
+ attr_accessor :lines_terminated_by
1621
+
1622
+ # Specifies the quoting character to be used when a data value is quoted.
1623
+ # Corresponds to the JSON property `quoteCharacter`
1624
+ # @return [String]
1625
+ attr_accessor :quote_character
1626
+
1545
1627
  # The table to which CSV data is imported.
1546
1628
  # Corresponds to the JSON property `table`
1547
1629
  # @return [String]
@@ -1554,6 +1636,10 @@ module Google
1554
1636
  # Update properties of this object
1555
1637
  def update!(**args)
1556
1638
  @columns = args[:columns] if args.key?(:columns)
1639
+ @escape_character = args[:escape_character] if args.key?(:escape_character)
1640
+ @fields_terminated_by = args[:fields_terminated_by] if args.key?(:fields_terminated_by)
1641
+ @lines_terminated_by = args[:lines_terminated_by] if args.key?(:lines_terminated_by)
1642
+ @quote_character = args[:quote_character] if args.key?(:quote_character)
1557
1643
  @table = args[:table] if args.key?(:table)
1558
1644
  end
1559
1645
  end
@@ -1610,6 +1696,39 @@ module Google
1610
1696
  end
1611
1697
  end
1612
1698
 
1699
+ # Reference to another Cloud SQL instance.
1700
+ class InstanceReference
1701
+ include Google::Apis::Core::Hashable
1702
+
1703
+ # The name of the Cloud SQL instance being referenced. This does not include the
1704
+ # project ID.
1705
+ # Corresponds to the JSON property `name`
1706
+ # @return [String]
1707
+ attr_accessor :name
1708
+
1709
+ # The project ID of the Cloud SQL instance being referenced. The default is the
1710
+ # same project ID as the instance references it.
1711
+ # Corresponds to the JSON property `project`
1712
+ # @return [String]
1713
+ attr_accessor :project
1714
+
1715
+ # The region of the Cloud SQL instance being referenced.
1716
+ # Corresponds to the JSON property `region`
1717
+ # @return [String]
1718
+ attr_accessor :region
1719
+
1720
+ def initialize(**args)
1721
+ update!(**args)
1722
+ end
1723
+
1724
+ # Update properties of this object
1725
+ def update!(**args)
1726
+ @name = args[:name] if args.key?(:name)
1727
+ @project = args[:project] if args.key?(:project)
1728
+ @region = args[:region] if args.key?(:region)
1729
+ end
1730
+ end
1731
+
1613
1732
  # Database instance clone request.
1614
1733
  class InstancesCloneRequest
1615
1734
  include Google::Apis::Core::Hashable
@@ -1714,7 +1833,7 @@ module Google
1714
1833
  # @return [Array<Google::Apis::SqladminV1::DatabaseInstance>]
1715
1834
  attr_accessor :items
1716
1835
 
1717
- # This is always *sql#instancesList*.
1836
+ # This is always **sql#instancesList**.
1718
1837
  # Corresponds to the JSON property `kind`
1719
1838
  # @return [String]
1720
1839
  attr_accessor :kind
@@ -1757,7 +1876,7 @@ module Google
1757
1876
  # @return [Array<Google::Apis::SqladminV1::SslCert>]
1758
1877
  attr_accessor :certs
1759
1878
 
1760
- # This is always *sql#instancesListServerCas*.
1879
+ # This is always **sql#instancesListServerCas**.
1761
1880
  # Corresponds to the JSON property `kind`
1762
1881
  # @return [String]
1763
1882
  attr_accessor :kind
@@ -1836,6 +1955,16 @@ module Google
1836
1955
  class IpConfiguration
1837
1956
  include Google::Apis::Core::Hashable
1838
1957
 
1958
+ # The name of the allocated ip range for the private ip CloudSQL instance. For
1959
+ # example: "google-managed-services-default". If set, the instance ip will be
1960
+ # created in the allocated range. The range name must comply with [RFC 1035](
1961
+ # https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63
1962
+ # characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?.`
1963
+ # Reserved for future use.
1964
+ # Corresponds to the JSON property `allocatedIpRange`
1965
+ # @return [String]
1966
+ attr_accessor :allocated_ip_range
1967
+
1839
1968
  # The list of external networks that are allowed to connect to the instance
1840
1969
  # using the IP. In 'CIDR' notation, also known as 'slash' notation (for example:
1841
1970
  # **192.168.100.0/24**).
@@ -1869,6 +1998,7 @@ module Google
1869
1998
 
1870
1999
  # Update properties of this object
1871
2000
  def update!(**args)
2001
+ @allocated_ip_range = args[:allocated_ip_range] if args.key?(:allocated_ip_range)
1872
2002
  @authorized_networks = args[:authorized_networks] if args.key?(:authorized_networks)
1873
2003
  @ipv4_enabled = args[:ipv4_enabled] if args.key?(:ipv4_enabled)
1874
2004
  @private_network = args[:private_network] if args.key?(:private_network)
@@ -1975,7 +2105,7 @@ module Google
1975
2105
  attr_accessor :kind
1976
2106
 
1977
2107
  # Maintenance timing setting: **canary** (Earlier) or **stable** (Later). [Learn
1978
- # more] (https://cloud.google.com/sql/docs/mysql/instance-settings#maintenance-
2108
+ # more](https://cloud.google.com/sql/docs/mysql/instance-settings#maintenance-
1979
2109
  # timing-2ndgen).
1980
2110
  # Corresponds to the JSON property `updateTrack`
1981
2111
  # @return [String]
@@ -2080,6 +2210,25 @@ module Google
2080
2210
  end
2081
2211
  end
2082
2212
 
2213
+ # MySQL-specific external server sync settings.
2214
+ class MySqlSyncConfig
2215
+ include Google::Apis::Core::Hashable
2216
+
2217
+ # Flags to use for the initial dump.
2218
+ # Corresponds to the JSON property `initialSyncFlags`
2219
+ # @return [Array<Google::Apis::SqladminV1::SyncFlags>]
2220
+ attr_accessor :initial_sync_flags
2221
+
2222
+ def initialize(**args)
2223
+ update!(**args)
2224
+ end
2225
+
2226
+ # Update properties of this object
2227
+ def update!(**args)
2228
+ @initial_sync_flags = args[:initial_sync_flags] if args.key?(:initial_sync_flags)
2229
+ end
2230
+ end
2231
+
2083
2232
  # On-premises instance configuration.
2084
2233
  class OnPremisesConfiguration
2085
2234
  include Google::Apis::Core::Hashable
@@ -2110,7 +2259,7 @@ module Google
2110
2259
  # @return [String]
2111
2260
  attr_accessor :host_port
2112
2261
 
2113
- # This is always *sql#onPremisesConfiguration*.
2262
+ # This is always **sql#onPremisesConfiguration**.
2114
2263
  # Corresponds to the JSON property `kind`
2115
2264
  # @return [String]
2116
2265
  attr_accessor :kind
@@ -2120,6 +2269,11 @@ module Google
2120
2269
  # @return [String]
2121
2270
  attr_accessor :password
2122
2271
 
2272
+ # Reference to another Cloud SQL instance.
2273
+ # Corresponds to the JSON property `sourceInstance`
2274
+ # @return [Google::Apis::SqladminV1::InstanceReference]
2275
+ attr_accessor :source_instance
2276
+
2123
2277
  # The username for connecting to on-premises instance.
2124
2278
  # Corresponds to the JSON property `username`
2125
2279
  # @return [String]
@@ -2138,6 +2292,7 @@ module Google
2138
2292
  @host_port = args[:host_port] if args.key?(:host_port)
2139
2293
  @kind = args[:kind] if args.key?(:kind)
2140
2294
  @password = args[:password] if args.key?(:password)
2295
+ @source_instance = args[:source_instance] if args.key?(:source_instance)
2141
2296
  @username = args[:username] if args.key?(:username)
2142
2297
  end
2143
2298
  end
@@ -2192,9 +2347,10 @@ module Google
2192
2347
  # @return [String]
2193
2348
  attr_accessor :name
2194
2349
 
2195
- # The type of the operation. Valid values are: **CREATE** **DELETE** **UPDATE** *
2196
- # *RESTART** **IMPORT** **EXPORT** **BACKUP_VOLUME** **RESTORE_VOLUME** **
2197
- # CREATE_USER** **DELETE_USER** **CREATE_DATABASE** **DELETE_DATABASE**
2350
+ # The type of the operation. Valid values are: * **CREATE** * **DELETE** * **
2351
+ # UPDATE** * **RESTART** * **IMPORT** * **EXPORT** * **BACKUP_VOLUME** * **
2352
+ # RESTORE_VOLUME** * **CREATE_USER** * **DELETE_USER** * **CREATE_DATABASE** * **
2353
+ # DELETE_DATABASE**
2198
2354
  # Corresponds to the JSON property `operationType`
2199
2355
  # @return [String]
2200
2356
  attr_accessor :operation_type
@@ -2210,8 +2366,8 @@ module Google
2210
2366
  # @return [String]
2211
2367
  attr_accessor :start_time
2212
2368
 
2213
- # The status of an operation. Valid values are: **PENDING** **RUNNING** **DONE**
2214
- # **SQL_OPERATION_STATUS_UNSPECIFIED**
2369
+ # The status of an operation. Valid values are: * **PENDING** * **RUNNING** * **
2370
+ # DONE** * **SQL_OPERATION_STATUS_UNSPECIFIED**
2215
2371
  # Corresponds to the JSON property `status`
2216
2372
  # @return [String]
2217
2373
  attr_accessor :status
@@ -2326,7 +2482,7 @@ module Google
2326
2482
  # @return [Array<Google::Apis::SqladminV1::Operation>]
2327
2483
  attr_accessor :items
2328
2484
 
2329
- # This is always *sql#operationsList*.
2485
+ # This is always **sql#operationsList**.
2330
2486
  # Corresponds to the JSON property `kind`
2331
2487
  # @return [String]
2332
2488
  attr_accessor :kind
@@ -2353,8 +2509,8 @@ module Google
2353
2509
  class ReplicaConfiguration
2354
2510
  include Google::Apis::Core::Hashable
2355
2511
 
2356
- # Specifies if the replica is the failover target. If the field is set to *true*
2357
- # the replica will be designated as a failover replica. In case the primary
2512
+ # Specifies if the replica is the failover target. If the field is set to **true*
2513
+ # * the replica will be designated as a failover replica. In case the primary
2358
2514
  # instance fails, the replica instance will be promoted as the new primary
2359
2515
  # instance. Only one replica can be specified as failover target, and the
2360
2516
  # replica has to be in different zone with the primary instance.
@@ -2363,7 +2519,7 @@ module Google
2363
2519
  attr_accessor :failover_target
2364
2520
  alias_method :failover_target?, :failover_target
2365
2521
 
2366
- # This is always *sql#replicaConfiguration*.
2522
+ # This is always **sql#replicaConfiguration**.
2367
2523
  # Corresponds to the JSON property `kind`
2368
2524
  # @return [String]
2369
2525
  attr_accessor :kind
@@ -2395,8 +2551,8 @@ module Google
2395
2551
  attr_accessor :reschedule_type
2396
2552
 
2397
2553
  # Optional. Timestamp when the maintenance shall be rescheduled to if
2398
- # reschedule_type=SPECIFIC_TIME, in RFC 3339 format, for example *2012-11-15T16:
2399
- # 19:00.094Z*.
2554
+ # reschedule_type=SPECIFIC_TIME, in [RFC 3339](https://tools.ietf.org/html/
2555
+ # rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
2400
2556
  # Corresponds to the JSON property `scheduleTime`
2401
2557
  # @return [String]
2402
2558
  attr_accessor :schedule_time
@@ -2427,7 +2583,7 @@ module Google
2427
2583
  # @return [String]
2428
2584
  attr_accessor :instance_id
2429
2585
 
2430
- # This is always *sql#restoreBackupContext*.
2586
+ # This is always **sql#restoreBackupContext**.
2431
2587
  # Corresponds to the JSON property `kind`
2432
2588
  # @return [String]
2433
2589
  attr_accessor :kind
@@ -2454,7 +2610,7 @@ module Google
2454
2610
  class RotateServerCaContext
2455
2611
  include Google::Apis::Core::Hashable
2456
2612
 
2457
- # This is always *sql#rotateServerCaContext*.
2613
+ # This is always **sql#rotateServerCaContext**.
2458
2614
  # Corresponds to the JSON property `kind`
2459
2615
  # @return [String]
2460
2616
  attr_accessor :kind
@@ -2481,10 +2637,10 @@ module Google
2481
2637
  include Google::Apis::Core::Hashable
2482
2638
 
2483
2639
  # The activation policy specifies when the instance is activated; it is
2484
- # applicable only when the instance state is RUNNABLE. Valid values: **ALWAYS**:
2485
- # The instance is on, and remains so even in the absence of connection requests.
2486
- # **NEVER**: The instance is off; it is not activated, even if a connection
2487
- # request arrives.
2640
+ # applicable only when the instance state is RUNNABLE. Valid values: * **ALWAYS**
2641
+ # : The instance is on, and remains so even in the absence of connection
2642
+ # requests. * **NEVER**: The instance is off; it is not activated, even if a
2643
+ # connection request arrives.
2488
2644
  # Corresponds to the JSON property `activationPolicy`
2489
2645
  # @return [String]
2490
2646
  attr_accessor :activation_policy
@@ -2500,11 +2656,12 @@ module Google
2500
2656
  # @return [Array<String>]
2501
2657
  attr_accessor :authorized_gae_applications
2502
2658
 
2503
- # Availability type. Potential values: **ZONAL**: The instance serves data from
2504
- # only one zone. Outages in that zone affect data accessibility. **REGIONAL**:
2505
- # The instance can serve data from more than one zone in a region (it is highly
2506
- # available). For more information, see [Overview of the High Availability
2507
- # Configuration](https://cloud.google.com/sql/docs/mysql/high-availability).
2659
+ # Availability type. Potential values: * **ZONAL**: The instance serves data
2660
+ # from only one zone. Outages in that zone affect data accessibility. * **
2661
+ # REGIONAL**: The instance can serve data from more than one zone in a region (
2662
+ # it is highly available)./ For more information, see [Overview of the High
2663
+ # Availability Configuration](https://cloud.google.com/sql/docs/mysql/high-
2664
+ # availability).
2508
2665
  # Corresponds to the JSON property `availabilityType`
2509
2666
  # @return [String]
2510
2667
  attr_accessor :availability_type
@@ -2532,7 +2689,8 @@ module Google
2532
2689
  # @return [Fixnum]
2533
2690
  attr_accessor :data_disk_size_gb
2534
2691
 
2535
- # The type of data disk: **PD_SSD** (default) or **PD_HDD**.
2692
+ # The type of data disk: **PD_SSD** (default) or **PD_HDD**. Not used for First
2693
+ # Generation instances.
2536
2694
  # Corresponds to the JSON property `dataDiskType`
2537
2695
  # @return [String]
2538
2696
  attr_accessor :data_disk_type
@@ -2604,6 +2762,11 @@ module Google
2604
2762
  # @return [Fixnum]
2605
2763
  attr_accessor :settings_version
2606
2764
 
2765
+ # SQL Server specific audit configuration.
2766
+ # Corresponds to the JSON property `sqlServerAuditConfig`
2767
+ # @return [Google::Apis::SqladminV1::SqlServerAuditConfig]
2768
+ attr_accessor :sql_server_audit_config
2769
+
2607
2770
  # Configuration to increase storage size automatically. The default value is
2608
2771
  # true.
2609
2772
  # Corresponds to the JSON property `storageAutoResize`
@@ -2654,6 +2817,7 @@ module Google
2654
2817
  @pricing_plan = args[:pricing_plan] if args.key?(:pricing_plan)
2655
2818
  @replication_type = args[:replication_type] if args.key?(:replication_type)
2656
2819
  @settings_version = args[:settings_version] if args.key?(:settings_version)
2820
+ @sql_server_audit_config = args[:sql_server_audit_config] if args.key?(:sql_server_audit_config)
2657
2821
  @storage_auto_resize = args[:storage_auto_resize] if args.key?(:storage_auto_resize)
2658
2822
  @storage_auto_resize_limit = args[:storage_auto_resize_limit] if args.key?(:storage_auto_resize_limit)
2659
2823
  @tier = args[:tier] if args.key?(:tier)
@@ -2686,7 +2850,7 @@ module Google
2686
2850
  end
2687
2851
  end
2688
2852
 
2689
- # External primary instance migration setting error.
2853
+ # External primary instance migration setting error/warning.
2690
2854
  class SqlExternalSyncSettingError
2691
2855
  include Google::Apis::Core::Hashable
2692
2856
 
@@ -2695,7 +2859,7 @@ module Google
2695
2859
  # @return [String]
2696
2860
  attr_accessor :detail
2697
2861
 
2698
- # Can be *sql#externalSyncSettingError* or *sql#externalSyncSettingWarning*.
2862
+ # Can be **sql#externalSyncSettingError** or **sql#externalSyncSettingWarning**.
2699
2863
  # Corresponds to the JSON property `kind`
2700
2864
  # @return [String]
2701
2865
  attr_accessor :kind
@@ -2736,6 +2900,77 @@ module Google
2736
2900
  end
2737
2901
  end
2738
2902
 
2903
+ # Instance start external sync request.
2904
+ class SqlInstancesStartExternalSyncRequest
2905
+ include Google::Apis::Core::Hashable
2906
+
2907
+ # MySQL-specific external server sync settings.
2908
+ # Corresponds to the JSON property `mysqlSyncConfig`
2909
+ # @return [Google::Apis::SqladminV1::MySqlSyncConfig]
2910
+ attr_accessor :mysql_sync_config
2911
+
2912
+ # Whether to skip the verification step (VESS).
2913
+ # Corresponds to the JSON property `skipVerification`
2914
+ # @return [Boolean]
2915
+ attr_accessor :skip_verification
2916
+ alias_method :skip_verification?, :skip_verification
2917
+
2918
+ # External sync mode.
2919
+ # Corresponds to the JSON property `syncMode`
2920
+ # @return [String]
2921
+ attr_accessor :sync_mode
2922
+
2923
+ def initialize(**args)
2924
+ update!(**args)
2925
+ end
2926
+
2927
+ # Update properties of this object
2928
+ def update!(**args)
2929
+ @mysql_sync_config = args[:mysql_sync_config] if args.key?(:mysql_sync_config)
2930
+ @skip_verification = args[:skip_verification] if args.key?(:skip_verification)
2931
+ @sync_mode = args[:sync_mode] if args.key?(:sync_mode)
2932
+ end
2933
+ end
2934
+
2935
+ # Instance verify external sync settings request.
2936
+ class SqlInstancesVerifyExternalSyncSettingsRequest
2937
+ include Google::Apis::Core::Hashable
2938
+
2939
+ # MySQL-specific external server sync settings.
2940
+ # Corresponds to the JSON property `mysqlSyncConfig`
2941
+ # @return [Google::Apis::SqladminV1::MySqlSyncConfig]
2942
+ attr_accessor :mysql_sync_config
2943
+
2944
+ # External sync mode
2945
+ # Corresponds to the JSON property `syncMode`
2946
+ # @return [String]
2947
+ attr_accessor :sync_mode
2948
+
2949
+ # Flag to enable verifying connection only
2950
+ # Corresponds to the JSON property `verifyConnectionOnly`
2951
+ # @return [Boolean]
2952
+ attr_accessor :verify_connection_only
2953
+ alias_method :verify_connection_only?, :verify_connection_only
2954
+
2955
+ # Optional. Flag to verify settings required by replication setup only
2956
+ # Corresponds to the JSON property `verifyReplicationOnly`
2957
+ # @return [Boolean]
2958
+ attr_accessor :verify_replication_only
2959
+ alias_method :verify_replication_only?, :verify_replication_only
2960
+
2961
+ def initialize(**args)
2962
+ update!(**args)
2963
+ end
2964
+
2965
+ # Update properties of this object
2966
+ def update!(**args)
2967
+ @mysql_sync_config = args[:mysql_sync_config] if args.key?(:mysql_sync_config)
2968
+ @sync_mode = args[:sync_mode] if args.key?(:sync_mode)
2969
+ @verify_connection_only = args[:verify_connection_only] if args.key?(:verify_connection_only)
2970
+ @verify_replication_only = args[:verify_replication_only] if args.key?(:verify_replication_only)
2971
+ end
2972
+ end
2973
+
2739
2974
  # Instance verify external sync settings response.
2740
2975
  class SqlInstancesVerifyExternalSyncSettingsResponse
2741
2976
  include Google::Apis::Core::Hashable
@@ -2745,7 +2980,7 @@ module Google
2745
2980
  # @return [Array<Google::Apis::SqladminV1::SqlExternalSyncSettingError>]
2746
2981
  attr_accessor :errors
2747
2982
 
2748
- # This is always *sql#migrationSettingErrorList*.
2983
+ # This is always **sql#migrationSettingErrorList**.
2749
2984
  # Corresponds to the JSON property `kind`
2750
2985
  # @return [String]
2751
2986
  attr_accessor :kind
@@ -2772,15 +3007,15 @@ module Google
2772
3007
  include Google::Apis::Core::Hashable
2773
3008
 
2774
3009
  # The minimum recommended increase size in GigaBytes This field is consumed by
2775
- # the frontend Writers: -- the proactive database wellness job for OOD. Readers:
2776
- # -- the Pantheon frontend
3010
+ # the frontend * Writers: * the proactive database wellness job for OOD. *
3011
+ # Readers:
2777
3012
  # Corresponds to the JSON property `sqlMinRecommendedIncreaseSizeGb`
2778
3013
  # @return [Fixnum]
2779
3014
  attr_accessor :sql_min_recommended_increase_size_gb
2780
3015
 
2781
3016
  # This field represents the state generated by the proactive database wellness
2782
- # job for OutOfDisk issues. Writers: -- the proactive database wellness job for
2783
- # OOD. Readers: -- the Pantheon frontend -- the proactive database wellness job
3017
+ # job for OutOfDisk issues. * Writers: * the proactive database wellness job for
3018
+ # OOD. * Readers: * the proactive database wellness job
2784
3019
  # Corresponds to the JSON property `sqlOutOfDiskState`
2785
3020
  # @return [String]
2786
3021
  attr_accessor :sql_out_of_disk_state
@@ -2835,6 +3070,31 @@ module Google
2835
3070
  end
2836
3071
  end
2837
3072
 
3073
+ # SQL Server specific audit configuration.
3074
+ class SqlServerAuditConfig
3075
+ include Google::Apis::Core::Hashable
3076
+
3077
+ # The name of the destination bucket (e.g., gs://mybucket).
3078
+ # Corresponds to the JSON property `bucket`
3079
+ # @return [String]
3080
+ attr_accessor :bucket
3081
+
3082
+ # This is always sql#sqlServerAuditConfig
3083
+ # Corresponds to the JSON property `kind`
3084
+ # @return [String]
3085
+ attr_accessor :kind
3086
+
3087
+ def initialize(**args)
3088
+ update!(**args)
3089
+ end
3090
+
3091
+ # Update properties of this object
3092
+ def update!(**args)
3093
+ @bucket = args[:bucket] if args.key?(:bucket)
3094
+ @kind = args[:kind] if args.key?(:kind)
3095
+ end
3096
+ end
3097
+
2838
3098
  # Represents a Sql Server database on the Cloud SQL instance.
2839
3099
  class SqlServerDatabaseDetails
2840
3100
  include Google::Apis::Core::Hashable
@@ -2922,7 +3182,7 @@ module Google
2922
3182
  # @return [String]
2923
3183
  attr_accessor :instance
2924
3184
 
2925
- # This is always sql#sslCert.
3185
+ # This is always **sql#sslCert**.
2926
3186
  # Corresponds to the JSON property `kind`
2927
3187
  # @return [String]
2928
3188
  attr_accessor :kind
@@ -3035,7 +3295,7 @@ module Google
3035
3295
  # @return [Google::Apis::SqladminV1::SslCertDetail]
3036
3296
  attr_accessor :client_cert
3037
3297
 
3038
- # This is always *sql#sslCertsInsert*.
3298
+ # This is always **sql#sslCertsInsert**.
3039
3299
  # Corresponds to the JSON property `kind`
3040
3300
  # @return [String]
3041
3301
  attr_accessor :kind
@@ -3074,7 +3334,7 @@ module Google
3074
3334
  # @return [Array<Google::Apis::SqladminV1::SslCert>]
3075
3335
  attr_accessor :items
3076
3336
 
3077
- # This is always *sql#sslCertsList*.
3337
+ # This is always **sql#sslCertsList**.
3078
3338
  # Corresponds to the JSON property `kind`
3079
3339
  # @return [String]
3080
3340
  attr_accessor :kind
@@ -3090,6 +3350,33 @@ module Google
3090
3350
  end
3091
3351
  end
3092
3352
 
3353
+ # Initial sync flags for certain Cloud SQL APIs. Currently used for the MySQL
3354
+ # external server initial dump.
3355
+ class SyncFlags
3356
+ include Google::Apis::Core::Hashable
3357
+
3358
+ # The name of the flag.
3359
+ # Corresponds to the JSON property `name`
3360
+ # @return [String]
3361
+ attr_accessor :name
3362
+
3363
+ # The value of the flag. This field must be omitted if the flag doesn't take a
3364
+ # value.
3365
+ # Corresponds to the JSON property `value`
3366
+ # @return [String]
3367
+ attr_accessor :value
3368
+
3369
+ def initialize(**args)
3370
+ update!(**args)
3371
+ end
3372
+
3373
+ # Update properties of this object
3374
+ def update!(**args)
3375
+ @name = args[:name] if args.key?(:name)
3376
+ @value = args[:value] if args.key?(:value)
3377
+ end
3378
+ end
3379
+
3093
3380
  # A Google Cloud SQL service tier resource.
3094
3381
  class Tier
3095
3382
  include Google::Apis::Core::Hashable
@@ -3104,7 +3391,7 @@ module Google
3104
3391
  # @return [Fixnum]
3105
3392
  attr_accessor :ram
3106
3393
 
3107
- # This is always *sql#tier*.
3394
+ # This is always **sql#tier**.
3108
3395
  # Corresponds to the JSON property `kind`
3109
3396
  # @return [String]
3110
3397
  attr_accessor :kind
@@ -3115,7 +3402,7 @@ module Google
3115
3402
  attr_accessor :region
3116
3403
 
3117
3404
  # An identifier for the machine type, for example, db-custom-1-3840. For related
3118
- # information, see Pricing.
3405
+ # information, see [Pricing](/sql/pricing).
3119
3406
  # Corresponds to the JSON property `tier`
3120
3407
  # @return [String]
3121
3408
  attr_accessor :tier
@@ -3143,7 +3430,7 @@ module Google
3143
3430
  # @return [Array<Google::Apis::SqladminV1::Tier>]
3144
3431
  attr_accessor :items
3145
3432
 
3146
- # This is always *sql#tiersList*.
3433
+ # This is always **sql#tiersList**.
3147
3434
  # Corresponds to the JSON property `kind`
3148
3435
  # @return [String]
3149
3436
  attr_accessor :kind
@@ -3163,13 +3450,13 @@ module Google
3163
3450
  class TruncateLogContext
3164
3451
  include Google::Apis::Core::Hashable
3165
3452
 
3166
- # This is always *sql#truncateLogContext*.
3453
+ # This is always **sql#truncateLogContext**.
3167
3454
  # Corresponds to the JSON property `kind`
3168
3455
  # @return [String]
3169
3456
  attr_accessor :kind
3170
3457
 
3171
- # The type of log to truncate. Valid values are *MYSQL_GENERAL_TABLE* and *
3172
- # MYSQL_SLOW_TABLE*.
3458
+ # The type of log to truncate. Valid values are **MYSQL_GENERAL_TABLE** and **
3459
+ # MYSQL_SLOW_TABLE**.
3173
3460
  # Corresponds to the JSON property `logType`
3174
3461
  # @return [String]
3175
3462
  attr_accessor :log_type
@@ -3194,25 +3481,25 @@ module Google
3194
3481
  # @return [String]
3195
3482
  attr_accessor :etag
3196
3483
 
3197
- # The host name from which the user can connect. For *insert* operations, host
3198
- # defaults to an empty string. For *update* operations, host is specified as
3484
+ # The host name from which the user can connect. For **insert** operations, host
3485
+ # defaults to an empty string. For **update** operations, host is specified as
3199
3486
  # part of the request URL. The host name cannot be updated after insertion.
3200
3487
  # Corresponds to the JSON property `host`
3201
3488
  # @return [String]
3202
3489
  attr_accessor :host
3203
3490
 
3204
3491
  # The name of the Cloud SQL instance. This does not include the project ID. Can
3205
- # be omitted for *update* since it is already specified on the URL.
3492
+ # be omitted for **update** since it is already specified on the URL.
3206
3493
  # Corresponds to the JSON property `instance`
3207
3494
  # @return [String]
3208
3495
  attr_accessor :instance
3209
3496
 
3210
- # This is always *sql#user*.
3497
+ # This is always **sql#user**.
3211
3498
  # Corresponds to the JSON property `kind`
3212
3499
  # @return [String]
3213
3500
  attr_accessor :kind
3214
3501
 
3215
- # The name of the user in the Cloud SQL instance. Can be omitted for *update*
3502
+ # The name of the user in the Cloud SQL instance. Can be omitted for **update**
3216
3503
  # since it is already specified in the URL.
3217
3504
  # Corresponds to the JSON property `name`
3218
3505
  # @return [String]
@@ -3224,8 +3511,8 @@ module Google
3224
3511
  attr_accessor :password
3225
3512
 
3226
3513
  # The project ID of the project containing the Cloud SQL database. The Google
3227
- # apps domain is prefixed if applicable. Can be omitted for *update* since it is
3228
- # already specified on the URL.
3514
+ # apps domain is prefixed if applicable. Can be omitted for **update** since it
3515
+ # is already specified on the URL.
3229
3516
  # Corresponds to the JSON property `project`
3230
3517
  # @return [String]
3231
3518
  attr_accessor :project
@@ -3268,7 +3555,7 @@ module Google
3268
3555
  # @return [Array<Google::Apis::SqladminV1::User>]
3269
3556
  attr_accessor :items
3270
3557
 
3271
- # This is always *sql#usersList*.
3558
+ # This is always **sql#usersList**.
3272
3559
  # Corresponds to the JSON property `kind`
3273
3560
  # @return [String]
3274
3561
  attr_accessor :kind