@@ -223,6 +223,17 @@ class Backup
223223 # @return [String]
224224 attr_accessor :instance
225225
226+ # Optional. Output only. Timestamp in UTC of when the instance associated with
227+ # this backup is deleted.
228+ # Corresponds to the JSON property `instanceDeletionTime`
229+ # @return [String]
230+ attr_accessor :instance_deletion_time
231+
232+ # A Cloud SQL instance resource.
233+ # Corresponds to the JSON property `instanceSettings`
234+ # @return [Google::Apis::SqladminV1::DatabaseInstance]
235+ attr_accessor :instance_settings
236+
226237 # Output only. This is always `sql#backup`.
227238 # Corresponds to the JSON property `kind`
228239 # @return [String]
@@ -288,7 +299,8 @@ class Backup
288299 attr_accessor :time_zone
289300
290301 # Input only. The time-to-live (TTL) interval for this resource (in days). For
291- # example: ttlDays:7 means 7 days.
302+ # example: ttlDays:7, means 7 days from the current time. The expiration time
303+ # can't exceed 365 days from the time that the backup is created.
292304 # Corresponds to the JSON property `ttlDays`
293305 # @return [Fixnum]
294306 attr_accessor :ttl_days
@@ -312,6 +324,8 @@ def update!(**args)
312324 @error = args [ :error ] if args . key? ( :error )
313325 @expiry_time = args [ :expiry_time ] if args . key? ( :expiry_time )
314326 @instance = args [ :instance ] if args . key? ( :instance )
327+ @instance_deletion_time = args [ :instance_deletion_time ] if args . key? ( :instance_deletion_time )
328+ @instance_settings = args [ :instance_settings ] if args . key? ( :instance_settings )
315329 @kind = args [ :kind ] if args . key? ( :kind )
316330 @kms_key = args [ :kms_key ] if args . key? ( :kms_key )
317331 @kms_key_version = args [ :kms_key_version ] if args . key? ( :kms_key_version )
@@ -800,6 +814,11 @@ class ConnectSettings
800814 # @return [String]
801815 attr_accessor :dns_name
802816
817+ # Output only. The list of DNS names used by this instance.
818+ # Corresponds to the JSON property `dnsNames`
819+ # @return [Array<Google::Apis::SqladminV1::DnsNameMapping>]
820+ attr_accessor :dns_names
821+
803822 # The assigned IP addresses for the instance.
804823 # Corresponds to the JSON property `ipAddresses`
805824 # @return [Array<Google::Apis::SqladminV1::IpMapping>]
@@ -842,6 +861,7 @@ def update!(**args)
842861 @custom_subject_alternative_names = args [ :custom_subject_alternative_names ] if args . key? ( :custom_subject_alternative_names )
843862 @database_version = args [ :database_version ] if args . key? ( :database_version )
844863 @dns_name = args [ :dns_name ] if args . key? ( :dns_name )
864+ @dns_names = args [ :dns_names ] if args . key? ( :dns_names )
845865 @ip_addresses = args [ :ip_addresses ] if args . key? ( :ip_addresses )
846866 @kind = args [ :kind ] if args . key? ( :kind )
847867 @psc_enabled = args [ :psc_enabled ] if args . key? ( :psc_enabled )
@@ -1032,6 +1052,11 @@ class DatabaseInstance
10321052 # @return [String]
10331053 attr_accessor :dns_name
10341054
1055+ # Output only. The list of DNS names used by this instance.
1056+ # Corresponds to the JSON property `dnsNames`
1057+ # @return [Array<Google::Apis::SqladminV1::DnsNameMapping>]
1058+ attr_accessor :dns_names
1059+
10351060 # This field is deprecated and will be removed from a future version of the API.
10361061 # Use the `settings.settingsVersion` field instead.
10371062 # Corresponds to the JSON property `etag`
@@ -1269,6 +1294,7 @@ def update!(**args)
12691294 @disk_encryption_configuration = args [ :disk_encryption_configuration ] if args . key? ( :disk_encryption_configuration )
12701295 @disk_encryption_status = args [ :disk_encryption_status ] if args . key? ( :disk_encryption_status )
12711296 @dns_name = args [ :dns_name ] if args . key? ( :dns_name )
1297+ @dns_names = args [ :dns_names ] if args . key? ( :dns_names )
12721298 @etag = args [ :etag ] if args . key? ( :etag )
12731299 @failover_replica = args [ :failover_replica ] if args . key? ( :failover_replica )
12741300 @gce_zone = args [ :gce_zone ] if args . key? ( :gce_zone )
@@ -1608,6 +1634,37 @@ def update!(**args)
16081634 end
16091635 end
16101636
1637+ # DNS metadata.
1638+ class DnsNameMapping
1639+ include Google ::Apis ::Core ::Hashable
1640+
1641+ # Output only. The connection type of the DNS name.
1642+ # Corresponds to the JSON property `connectionType`
1643+ # @return [String]
1644+ attr_accessor :connection_type
1645+
1646+ # Output only. The scope that the DNS name applies to.
1647+ # Corresponds to the JSON property `dnsScope`
1648+ # @return [String]
1649+ attr_accessor :dns_scope
1650+
1651+ # The DNS name.
1652+ # Corresponds to the JSON property `name`
1653+ # @return [String]
1654+ attr_accessor :name
1655+
1656+ def initialize ( **args )
1657+ update! ( **args )
1658+ end
1659+
1660+ # Update properties of this object
1661+ def update! ( **args )
1662+ @connection_type = args [ :connection_type ] if args . key? ( :connection_type )
1663+ @dns_scope = args [ :dns_scope ] if args . key? ( :dns_scope )
1664+ @name = args [ :name ] if args . key? ( :name )
1665+ end
1666+ end
1667+
16111668 # A generic empty message that you can re-use to avoid defining duplicated empty
16121669 # messages in your APIs. A typical example is to use it as the request or the
16131670 # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -1642,11 +1699,14 @@ class ExportContext
16421699 # database is specified, all databases are exported, except for the `mysql`
16431700 # system database. If `fileType` is `CSV`, you can specify one database, either
16441701 # by using this property or by using the `csvExportOptions.selectQuery` property,
1645- # which takes precedence over this property. `PostgreSQL instances:` You must
1646- # specify one database to be exported. If `fileType` is `CSV`, this database
1647- # must match the one specified in the `csvExportOptions.selectQuery` property. `
1648- # SQL Server instances:` You must specify one database to be exported, and the `
1649- # fileType` must be `BAK`.
1702+ # which takes precedence over this property. `PostgreSQL instances:` If you don'
1703+ # t specify a database by name, all user databases in the instance are exported.
1704+ # This excludes system databases and Cloud SQL databases used to manage internal
1705+ # operations. Exporting all user databases is only available for directory-
1706+ # formatted parallel export. If `fileType` is `CSV`, this database must match
1707+ # the one specified in the `csvExportOptions.selectQuery` property. `SQL Server
1708+ # instances:` You must specify one database to be exported, and the `fileType`
1709+ # must be `BAK`.
16501710 # Corresponds to the JSON property `databases`
16511711 # @return [Array<String>]
16521712 attr_accessor :databases
@@ -2246,8 +2306,10 @@ class ImportContext
22462306
22472307 # The target database for the import. If `fileType` is `SQL`, this field is
22482308 # required only if the import file does not specify a database, and is
2249- # overridden by any database specification in the import file. If `fileType` is `
2250- # CSV`, one database must be specified.
2309+ # overridden by any database specification in the import file. For entire
2310+ # instance parallel import operations, the database is overridden by the
2311+ # database name stored in subdirectory name. If `fileType` is `CSV`, one
2312+ # database must be specified.
22512313 # Corresponds to the JSON property `database`
22522314 # @return [String]
22532315 attr_accessor :database
@@ -3104,8 +3166,8 @@ class IpConfiguration
31043166 attr_accessor :server_ca_mode
31053167
31063168 # Optional. The resource name of the server CA pool for an instance with `
3107- # CUSTOMER_MANAGED_CAS_CA` as the `server_ca_mode`. Format: projects//locations/ /
3108- # caPools/
3169+ # CUSTOMER_MANAGED_CAS_CA` as the `server_ca_mode`. Format: projects/`PROJECT` /
3170+ # locations/`REGION`/ caPools/`CA_POOL_ID`
31093171 # Corresponds to the JSON property `serverCaPool`
31103172 # @return [String]
31113173 attr_accessor :server_ca_pool
@@ -4368,6 +4430,15 @@ class Settings
43684430 # @return [String]
43694431 attr_accessor :replication_type
43704432
4433+ # Optional. When this parameter is set to true, Cloud SQL retains backups of the
4434+ # instance even after the instance is deleted. The ON_DEMAND backup will be
4435+ # retained until customer deletes the backup or the project. The AUTOMATED
4436+ # backup will be retained based on the backups retention setting.
4437+ # Corresponds to the JSON property `retainBackupsOnDelete`
4438+ # @return [Boolean]
4439+ attr_accessor :retain_backups_on_delete
4440+ alias_method :retain_backups_on_delete? , :retain_backups_on_delete
4441+
43714442 # The version of instance settings. This is a required field for update method
43724443 # to make sure concurrent updates are handled properly. During update, use the
43734444 # most recent settingsVersion value for this instance and do not try to update
@@ -4445,6 +4516,7 @@ def update!(**args)
44454516 @pricing_plan = args [ :pricing_plan ] if args . key? ( :pricing_plan )
44464517 @replication_lag_max_seconds = args [ :replication_lag_max_seconds ] if args . key? ( :replication_lag_max_seconds )
44474518 @replication_type = args [ :replication_type ] if args . key? ( :replication_type )
4519+ @retain_backups_on_delete = args [ :retain_backups_on_delete ] if args . key? ( :retain_backups_on_delete )
44484520 @settings_version = args [ :settings_version ] if args . key? ( :settings_version )
44494521 @sql_server_audit_config = args [ :sql_server_audit_config ] if args . key? ( :sql_server_audit_config )
44504522 @storage_auto_resize = args [ :storage_auto_resize ] if args . key? ( :storage_auto_resize )
0 commit comments