google-apis-sqladmin_v1 0.73.0 → 0.74.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 459c5a687b46cba0224108b010b1aaafa4ab6d61ed107d1ea6398e1ddf722faf
|
4
|
+
data.tar.gz: bc9ee89c7b50398646a122f29c4eead7562f58ede432c6a61f717113199bb5ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eda7520249c133a286fe20c3a5b89839de6f5469e97a370b271d5f5143ebec3644a613c9d3b2058ce694958366fb3808dcda94c1f46ca2d9dbb4ae382e07c75b
|
7
|
+
data.tar.gz: af59effdd0004746151517799c23ddb33bdf6aeeba98629251017a08a4393230bb6dd140aabc2fccea705bbd28bfad28ee696592fa4d9c60d80107ee6ed49d70
|
data/CHANGELOG.md
CHANGED
@@ -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::SqladminV1::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)
|
@@ -800,6 +814,11 @@ module Google
|
|
800
814
|
# @return [String]
|
801
815
|
attr_accessor :dns_name
|
802
816
|
|
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
|
+
|
803
822
|
# The assigned IP addresses for the instance.
|
804
823
|
# Corresponds to the JSON property `ipAddresses`
|
805
824
|
# @return [Array<Google::Apis::SqladminV1::IpMapping>]
|
@@ -842,6 +861,7 @@ module Google
|
|
842
861
|
@custom_subject_alternative_names = args[:custom_subject_alternative_names] if args.key?(:custom_subject_alternative_names)
|
843
862
|
@database_version = args[:database_version] if args.key?(:database_version)
|
844
863
|
@dns_name = args[:dns_name] if args.key?(:dns_name)
|
864
|
+
@dns_names = args[:dns_names] if args.key?(:dns_names)
|
845
865
|
@ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
|
846
866
|
@kind = args[:kind] if args.key?(:kind)
|
847
867
|
@psc_enabled = args[:psc_enabled] if args.key?(:psc_enabled)
|
@@ -1032,6 +1052,11 @@ module Google
|
|
1032
1052
|
# @return [String]
|
1033
1053
|
attr_accessor :dns_name
|
1034
1054
|
|
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
|
+
|
1035
1060
|
# This field is deprecated and will be removed from a future version of the API.
|
1036
1061
|
# Use the `settings.settingsVersion` field instead.
|
1037
1062
|
# Corresponds to the JSON property `etag`
|
@@ -1269,6 +1294,7 @@ module Google
|
|
1269
1294
|
@disk_encryption_configuration = args[:disk_encryption_configuration] if args.key?(:disk_encryption_configuration)
|
1270
1295
|
@disk_encryption_status = args[:disk_encryption_status] if args.key?(:disk_encryption_status)
|
1271
1296
|
@dns_name = args[:dns_name] if args.key?(:dns_name)
|
1297
|
+
@dns_names = args[:dns_names] if args.key?(:dns_names)
|
1272
1298
|
@etag = args[:etag] if args.key?(:etag)
|
1273
1299
|
@failover_replica = args[:failover_replica] if args.key?(:failover_replica)
|
1274
1300
|
@gce_zone = args[:gce_zone] if args.key?(:gce_zone)
|
@@ -1608,6 +1634,37 @@ module Google
|
|
1608
1634
|
end
|
1609
1635
|
end
|
1610
1636
|
|
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
|
+
|
1611
1668
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
1612
1669
|
# messages in your APIs. A typical example is to use it as the request or the
|
1613
1670
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -1642,11 +1699,14 @@ module Google
|
|
1642
1699
|
# database is specified, all databases are exported, except for the `mysql`
|
1643
1700
|
# system database. If `fileType` is `CSV`, you can specify one database, either
|
1644
1701
|
# by using this property or by using the `csvExportOptions.selectQuery` property,
|
1645
|
-
# which takes precedence over this property. `PostgreSQL instances:`
|
1646
|
-
# specify
|
1647
|
-
#
|
1648
|
-
#
|
1649
|
-
# fileType` must
|
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`.
|
1650
1710
|
# Corresponds to the JSON property `databases`
|
1651
1711
|
# @return [Array<String>]
|
1652
1712
|
attr_accessor :databases
|
@@ -2246,8 +2306,10 @@ module Google
|
|
2246
2306
|
|
2247
2307
|
# The target database for the import. If `fileType` is `SQL`, this field is
|
2248
2308
|
# required only if the import file does not specify a database, and is
|
2249
|
-
# overridden by any database specification in the import file.
|
2250
|
-
#
|
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.
|
2251
2313
|
# Corresponds to the JSON property `database`
|
2252
2314
|
# @return [String]
|
2253
2315
|
attr_accessor :database
|
@@ -3104,8 +3166,8 @@ module Google
|
|
3104
3166
|
attr_accessor :server_ca_mode
|
3105
3167
|
|
3106
3168
|
# 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
|
3108
|
-
# caPools
|
3169
|
+
# CUSTOMER_MANAGED_CAS_CA` as the `server_ca_mode`. Format: projects/`PROJECT`/
|
3170
|
+
# locations/`REGION`/caPools/`CA_POOL_ID`
|
3109
3171
|
# Corresponds to the JSON property `serverCaPool`
|
3110
3172
|
# @return [String]
|
3111
3173
|
attr_accessor :server_ca_pool
|
@@ -4368,6 +4430,15 @@ module Google
|
|
4368
4430
|
# @return [String]
|
4369
4431
|
attr_accessor :replication_type
|
4370
4432
|
|
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
|
+
|
4371
4442
|
# The version of instance settings. This is a required field for update method
|
4372
4443
|
# to make sure concurrent updates are handled properly. During update, use the
|
4373
4444
|
# most recent settingsVersion value for this instance and do not try to update
|
@@ -4445,6 +4516,7 @@ module Google
|
|
4445
4516
|
@pricing_plan = args[:pricing_plan] if args.key?(:pricing_plan)
|
4446
4517
|
@replication_lag_max_seconds = args[:replication_lag_max_seconds] if args.key?(:replication_lag_max_seconds)
|
4447
4518
|
@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)
|
4448
4520
|
@settings_version = args[:settings_version] if args.key?(:settings_version)
|
4449
4521
|
@sql_server_audit_config = args[:sql_server_audit_config] if args.key?(:sql_server_audit_config)
|
4450
4522
|
@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 SqladminV1
|
18
18
|
# Version of the google-apis-sqladmin_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.74.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 = "
|
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::SqladminV1::DatabaseInstance, decorator: Google::Apis::SqladminV1::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::SqladminV1::DnsNameMapping, decorator: Google::Apis::SqladminV1::DnsNameMapping::Representation
|
963
|
+
|
953
964
|
collection :ip_addresses, as: 'ipAddresses', class: Google::Apis::SqladminV1::IpMapping, decorator: Google::Apis::SqladminV1::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::SqladminV1::DiskEncryptionStatus, decorator: Google::Apis::SqladminV1::DiskEncryptionStatus::Representation
|
1008
1019
|
|
1009
1020
|
property :dns_name, as: 'dnsName'
|
1021
|
+
collection :dns_names, as: 'dnsNames', class: Google::Apis::SqladminV1::DnsNameMapping, decorator: Google::Apis::SqladminV1::DnsNameMapping::Representation
|
1022
|
+
|
1010
1023
|
property :etag, as: 'etag'
|
1011
1024
|
property :failover_replica, as: 'failoverReplica', class: Google::Apis::SqladminV1::DatabaseInstance::FailoverReplica, decorator: Google::Apis::SqladminV1::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::SqladminV1::SqlServerAuditConfig, decorator: Google::Apis::SqladminV1::SqlServerAuditConfig::Representation
|
1877
1900
|
|
@@ -154,7 +154,9 @@ module Google
|
|
154
154
|
# project`
|
155
155
|
# @param [String] filter
|
156
156
|
# Multiple filter queries are separated by spaces. For example, 'instance:abc
|
157
|
-
# type:FINAL
|
157
|
+
# AND type:FINAL, 'location:us', 'backupInterval.startTime>=1950-01-01T01:01:25.
|
158
|
+
# 771Z'. You can filter by type, instance, backupInterval.startTime (creation
|
159
|
+
# time), or location.
|
158
160
|
# @param [Fixnum] page_size
|
159
161
|
# The maximum number of backups to return per response. The service might return
|
160
162
|
# 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_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.74.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-03-
|
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_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.74.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|