google-apis-sqladmin_v1beta4 0.78.0 → 0.79.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 56e1aa0b7aadae604e77932f967302687c22cbf5f52e18995fd7751ffc2bfd80
4
- data.tar.gz: bd42d8962a727d46cab329653f912ddc94af74fe3176c15e4d480cf529d1f2cf
3
+ metadata.gz: b99b52407b5917b83cfb8f581f34094a95559dc0800245d30665f3eced59c629
4
+ data.tar.gz: 8d5203b89051fac0cd3f1850a3311053fcbda9ad59d93f33ef3d5a92db0b583f
5
5
  SHA512:
6
- metadata.gz: f7ba92ff624b38086f35619e763f43fa2f49431089f3311b3bfbda7a7f26f73219ead0bdf62f1700a6f0a699d0e3fa3d0df7a0f5780b1b780cd2d401ea028456
7
- data.tar.gz: c3effb0bb88300c6ab06e052f2ecacefd0f41d89637e47293a9330714332d793f3a616a1fb20e86d6e57c12315fe708ffb3dc1cc9b2e57a4123753695b6be311
6
+ metadata.gz: 1cb6c7914ee6128e486d1048f2852be82cd6e965ac401613f78b3fc30eba41bf44607116a021bd5f3d4cf230ef29d37c6cb091b52f07c05d30ae854879ceacfc
7
+ data.tar.gz: de5234e002cfb75c28c43e62420f6599ce46477533ae7583e5714b043d3106ccd717597cca9beb117b0f822f55c26760e2d3406e3d57602ce931e332f6aec812
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-sqladmin_v1beta4
2
2
 
3
+ ### v0.79.0 (2025-03-09)
4
+
5
+ * Regenerated from discovery document revision 20250226
6
+
3
7
  ### v0.78.0 (2025-03-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20250216
@@ -223,6 +223,17 @@ module Google
223
223
  # @return [String]
224
224
  attr_accessor :instance
225
225
 
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::SqladminV1beta4::DatabaseInstance]
235
+ attr_accessor :instance_settings
236
+
226
237
  # Output only. This is always `sql#backup`.
227
238
  # Corresponds to the JSON property `kind`
228
239
  # @return [String]
@@ -288,7 +299,8 @@ module Google
288
299
  attr_accessor :time_zone
289
300
 
290
301
  # 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.
292
304
  # Corresponds to the JSON property `ttlDays`
293
305
  # @return [Fixnum]
294
306
  attr_accessor :ttl_days
@@ -312,6 +324,8 @@ module Google
312
324
  @error = args[:error] if args.key?(:error)
313
325
  @expiry_time = args[:expiry_time] if args.key?(:expiry_time)
314
326
  @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)
315
329
  @kind = args[:kind] if args.key?(:kind)
316
330
  @kms_key = args[:kms_key] if args.key?(:kms_key)
317
331
  @kms_key_version = args[:kms_key_version] if args.key?(:kms_key_version)
@@ -799,6 +813,11 @@ module Google
799
813
  # @return [String]
800
814
  attr_accessor :dns_name
801
815
 
816
+ # Output only. The list of DNS names used by this instance.
817
+ # Corresponds to the JSON property `dnsNames`
818
+ # @return [Array<Google::Apis::SqladminV1beta4::DnsNameMapping>]
819
+ attr_accessor :dns_names
820
+
802
821
  # The assigned IP addresses for the instance.
803
822
  # Corresponds to the JSON property `ipAddresses`
804
823
  # @return [Array<Google::Apis::SqladminV1beta4::IpMapping>]
@@ -841,6 +860,7 @@ module Google
841
860
  @custom_subject_alternative_names = args[:custom_subject_alternative_names] if args.key?(:custom_subject_alternative_names)
842
861
  @database_version = args[:database_version] if args.key?(:database_version)
843
862
  @dns_name = args[:dns_name] if args.key?(:dns_name)
863
+ @dns_names = args[:dns_names] if args.key?(:dns_names)
844
864
  @ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
845
865
  @kind = args[:kind] if args.key?(:kind)
846
866
  @psc_enabled = args[:psc_enabled] if args.key?(:psc_enabled)
@@ -1031,6 +1051,11 @@ module Google
1031
1051
  # @return [String]
1032
1052
  attr_accessor :dns_name
1033
1053
 
1054
+ # Output only. The list of DNS names used by this instance.
1055
+ # Corresponds to the JSON property `dnsNames`
1056
+ # @return [Array<Google::Apis::SqladminV1beta4::DnsNameMapping>]
1057
+ attr_accessor :dns_names
1058
+
1034
1059
  # This field is deprecated and will be removed from a future version of the API.
1035
1060
  # Use the `settings.settingsVersion` field instead.
1036
1061
  # Corresponds to the JSON property `etag`
@@ -1267,6 +1292,7 @@ module Google
1267
1292
  @disk_encryption_configuration = args[:disk_encryption_configuration] if args.key?(:disk_encryption_configuration)
1268
1293
  @disk_encryption_status = args[:disk_encryption_status] if args.key?(:disk_encryption_status)
1269
1294
  @dns_name = args[:dns_name] if args.key?(:dns_name)
1295
+ @dns_names = args[:dns_names] if args.key?(:dns_names)
1270
1296
  @etag = args[:etag] if args.key?(:etag)
1271
1297
  @failover_replica = args[:failover_replica] if args.key?(:failover_replica)
1272
1298
  @gce_zone = args[:gce_zone] if args.key?(:gce_zone)
@@ -1606,6 +1632,37 @@ module Google
1606
1632
  end
1607
1633
  end
1608
1634
 
1635
+ # DNS metadata.
1636
+ class DnsNameMapping
1637
+ include Google::Apis::Core::Hashable
1638
+
1639
+ # Output only. The connection type of the DNS name.
1640
+ # Corresponds to the JSON property `connectionType`
1641
+ # @return [String]
1642
+ attr_accessor :connection_type
1643
+
1644
+ # Output only. The scope that the DNS name applies to.
1645
+ # Corresponds to the JSON property `dnsScope`
1646
+ # @return [String]
1647
+ attr_accessor :dns_scope
1648
+
1649
+ # The DNS name.
1650
+ # Corresponds to the JSON property `name`
1651
+ # @return [String]
1652
+ attr_accessor :name
1653
+
1654
+ def initialize(**args)
1655
+ update!(**args)
1656
+ end
1657
+
1658
+ # Update properties of this object
1659
+ def update!(**args)
1660
+ @connection_type = args[:connection_type] if args.key?(:connection_type)
1661
+ @dns_scope = args[:dns_scope] if args.key?(:dns_scope)
1662
+ @name = args[:name] if args.key?(:name)
1663
+ end
1664
+ end
1665
+
1609
1666
  # A generic empty message that you can re-use to avoid defining duplicated empty
1610
1667
  # messages in your APIs. A typical example is to use it as the request or the
1611
1668
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -1640,11 +1697,14 @@ module Google
1640
1697
  # database is specified, all databases are exported, except for the `mysql`
1641
1698
  # system database. If `fileType` is `CSV`, you can specify one database, either
1642
1699
  # by using this property or by using the `csvExportOptions.selectQuery` property,
1643
- # which takes precedence over this property. `PostgreSQL instances:` You must
1644
- # specify one database to be exported. If `fileType` is `CSV`, this database
1645
- # must match the one specified in the `csvExportOptions.selectQuery` property. `
1646
- # SQL Server instances:` You must specify one database to be exported, and the `
1647
- # fileType` must be `BAK`.
1700
+ # which takes precedence over this property. `PostgreSQL instances:` If you don'
1701
+ # t specify a database by name, all user databases in the instance are exported.
1702
+ # This excludes system databases and Cloud SQL databases used to manage internal
1703
+ # operations. Exporting all user databases is only available for directory-
1704
+ # formatted parallel export. If `fileType` is `CSV`, this database must match
1705
+ # the one specified in the `csvExportOptions.selectQuery` property. `SQL Server
1706
+ # instances:` You must specify one database to be exported, and the `fileType`
1707
+ # must be `BAK`.
1648
1708
  # Corresponds to the JSON property `databases`
1649
1709
  # @return [Array<String>]
1650
1710
  attr_accessor :databases
@@ -2244,8 +2304,10 @@ module Google
2244
2304
 
2245
2305
  # The target database for the import. If `fileType` is `SQL`, this field is
2246
2306
  # required only if the import file does not specify a database, and is
2247
- # overridden by any database specification in the import file. If `fileType` is `
2248
- # CSV`, one database must be specified.
2307
+ # overridden by any database specification in the import file. For entire
2308
+ # instance parallel import operations, the database is overridden by the
2309
+ # database name stored in subdirectory name. If `fileType` is `CSV`, one
2310
+ # database must be specified.
2249
2311
  # Corresponds to the JSON property `database`
2250
2312
  # @return [String]
2251
2313
  attr_accessor :database
@@ -3105,8 +3167,8 @@ module Google
3105
3167
  attr_accessor :server_ca_mode
3106
3168
 
3107
3169
  # Optional. The resource name of the server CA pool for an instance with `
3108
- # CUSTOMER_MANAGED_CAS_CA` as the `server_ca_mode`. Format: projects//locations//
3109
- # caPools/
3170
+ # CUSTOMER_MANAGED_CAS_CA` as the `server_ca_mode`. Format: projects/`PROJECT`/
3171
+ # locations/`REGION`/caPools/`CA_POOL_ID`
3110
3172
  # Corresponds to the JSON property `serverCaPool`
3111
3173
  # @return [String]
3112
3174
  attr_accessor :server_ca_pool
@@ -4369,6 +4431,15 @@ module Google
4369
4431
  # @return [String]
4370
4432
  attr_accessor :replication_type
4371
4433
 
4434
+ # Optional. When this parameter is set to true, Cloud SQL retains backups of the
4435
+ # instance even after the instance is deleted. The ON_DEMAND backup will be
4436
+ # retained until customer deletes the backup or the project. The AUTOMATED
4437
+ # backup will be retained based on the backups retention setting.
4438
+ # Corresponds to the JSON property `retainBackupsOnDelete`
4439
+ # @return [Boolean]
4440
+ attr_accessor :retain_backups_on_delete
4441
+ alias_method :retain_backups_on_delete?, :retain_backups_on_delete
4442
+
4372
4443
  # The version of instance settings. This is a required field for update method
4373
4444
  # to make sure concurrent updates are handled properly. During update, use the
4374
4445
  # most recent settingsVersion value for this instance and do not try to update
@@ -4446,6 +4517,7 @@ module Google
4446
4517
  @pricing_plan = args[:pricing_plan] if args.key?(:pricing_plan)
4447
4518
  @replication_lag_max_seconds = args[:replication_lag_max_seconds] if args.key?(:replication_lag_max_seconds)
4448
4519
  @replication_type = args[:replication_type] if args.key?(:replication_type)
4520
+ @retain_backups_on_delete = args[:retain_backups_on_delete] if args.key?(:retain_backups_on_delete)
4449
4521
  @settings_version = args[:settings_version] if args.key?(:settings_version)
4450
4522
  @sql_server_audit_config = args[:sql_server_audit_config] if args.key?(:sql_server_audit_config)
4451
4523
  @storage_auto_resize = args[:storage_auto_resize] if args.key?(:storage_auto_resize)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SqladminV1beta4
18
18
  # Version of the google-apis-sqladmin_v1beta4 gem
19
- GEM_VERSION = "0.78.0"
19
+ GEM_VERSION = "0.79.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250216"
25
+ REVISION = "20250226"
26
26
  end
27
27
  end
28
28
  end
@@ -190,6 +190,12 @@ module Google
190
190
  include Google::Apis::Core::JsonObjectSupport
191
191
  end
192
192
 
193
+ class DnsNameMapping
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
193
199
  class Empty
194
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
201
 
@@ -823,6 +829,9 @@ module Google
823
829
 
824
830
  property :expiry_time, as: 'expiryTime'
825
831
  property :instance, as: 'instance'
832
+ property :instance_deletion_time, as: 'instanceDeletionTime'
833
+ property :instance_settings, as: 'instanceSettings', class: Google::Apis::SqladminV1beta4::DatabaseInstance, decorator: Google::Apis::SqladminV1beta4::DatabaseInstance::Representation
834
+
826
835
  property :kind, as: 'kind'
827
836
  property :kms_key, as: 'kmsKey'
828
837
  property :kms_key_version, as: 'kmsKeyVersion'
@@ -950,6 +959,8 @@ module Google
950
959
  collection :custom_subject_alternative_names, as: 'customSubjectAlternativeNames'
951
960
  property :database_version, as: 'databaseVersion'
952
961
  property :dns_name, as: 'dnsName'
962
+ collection :dns_names, as: 'dnsNames', class: Google::Apis::SqladminV1beta4::DnsNameMapping, decorator: Google::Apis::SqladminV1beta4::DnsNameMapping::Representation
963
+
953
964
  collection :ip_addresses, as: 'ipAddresses', class: Google::Apis::SqladminV1beta4::IpMapping, decorator: Google::Apis::SqladminV1beta4::IpMapping::Representation
954
965
 
955
966
  property :kind, as: 'kind'
@@ -1007,6 +1018,8 @@ module Google
1007
1018
  property :disk_encryption_status, as: 'diskEncryptionStatus', class: Google::Apis::SqladminV1beta4::DiskEncryptionStatus, decorator: Google::Apis::SqladminV1beta4::DiskEncryptionStatus::Representation
1008
1019
 
1009
1020
  property :dns_name, as: 'dnsName'
1021
+ collection :dns_names, as: 'dnsNames', class: Google::Apis::SqladminV1beta4::DnsNameMapping, decorator: Google::Apis::SqladminV1beta4::DnsNameMapping::Representation
1022
+
1010
1023
  property :etag, as: 'etag'
1011
1024
  property :failover_replica, as: 'failoverReplica', class: Google::Apis::SqladminV1beta4::DatabaseInstance::FailoverReplica, decorator: Google::Apis::SqladminV1beta4::DatabaseInstance::FailoverReplica::Representation
1012
1025
 
@@ -1142,6 +1155,15 @@ module Google
1142
1155
  end
1143
1156
  end
1144
1157
 
1158
+ class DnsNameMapping
1159
+ # @private
1160
+ class Representation < Google::Apis::Core::JsonRepresentation
1161
+ property :connection_type, as: 'connectionType'
1162
+ property :dns_scope, as: 'dnsScope'
1163
+ property :name, as: 'name'
1164
+ end
1165
+ end
1166
+
1145
1167
  class Empty
1146
1168
  # @private
1147
1169
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1872,6 +1894,7 @@ module Google
1872
1894
  property :pricing_plan, as: 'pricingPlan'
1873
1895
  property :replication_lag_max_seconds, as: 'replicationLagMaxSeconds'
1874
1896
  property :replication_type, as: 'replicationType'
1897
+ property :retain_backups_on_delete, as: 'retainBackupsOnDelete'
1875
1898
  property :settings_version, :numeric_string => true, as: 'settingsVersion'
1876
1899
  property :sql_server_audit_config, as: 'sqlServerAuditConfig', class: Google::Apis::SqladminV1beta4::SqlServerAuditConfig, decorator: Google::Apis::SqladminV1beta4::SqlServerAuditConfig::Representation
1877
1900
 
@@ -306,7 +306,9 @@ module Google
306
306
  # project`
307
307
  # @param [String] filter
308
308
  # Multiple filter queries are separated by spaces. For example, 'instance:abc
309
- # type:FINAL. You can filter by type, instance name, creation time, or location.
309
+ # AND type:FINAL, 'location:us', 'backupInterval.startTime>=1950-01-01T01:01:25.
310
+ # 771Z'. You can filter by type, instance, backupInterval.startTime (creation
311
+ # time), or location.
310
312
  # @param [Fixnum] page_size
311
313
  # The maximum number of backups to return per response. The service might return
312
314
  # fewer backups than this value. If a value for this parameter isn't specified,
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-sqladmin_v1beta4
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.78.0
4
+ version: 0.79.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-02 00:00:00.000000000 Z
10
+ date: 2025-03-09 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1beta4/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.78.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.79.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1beta4
62
62
  rdoc_options: []
63
63
  require_paths: