google-apis-sqladmin_v1 0.58.0 → 0.59.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c708c73467e7a2bd1e611c63327f89ecb83740bb5ce7dc92ca7447eddd4ffc04
4
- data.tar.gz: ed5e91a2a329803473a6675f0c3648a33275731f8c7e60ad5aac98e42360e691
3
+ metadata.gz: 5e45a2d43eebc39bf1efc627cecc7889c024e190b3782efdf1919b230257835c
4
+ data.tar.gz: b0db23676e4fcdb50526599abd7d356abaa787e305a78824930fe4e6aff25c80
5
5
  SHA512:
6
- metadata.gz: f3183d1e82bc8ffea65f40b4062b6b8baf94f99629bae3a9284ab491d870fddcf63e2fafc32843606bd23cb082cdb8c061e6c41e3024c88008f85dde5c373d35
7
- data.tar.gz: 2ef16ce56bf9516484fae8e2b86ff126b779a35fb932fc8d3caa6043016fe929169a700627318e887dce1947fd5d8ddfc720b79b1c8532b5f8f1da837f9cc0b5
6
+ metadata.gz: e85d8c396d0f10ab5b6ef3cb5b3f7e380140a15e0b8d89bbed058b4905de9853c68df2991371bb78cc059f3964a138954297d63c35f7ec2632984c50a190afd1
7
+ data.tar.gz: ab3bcaf0fda441ad89935a29ab693f57e9cc50bd049b10a571d3c6bc4d1e285fd282a213432414a9e32e441b9088f33a3fcfe3b7486ffa35b3af802292836bf0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-sqladmin_v1
2
2
 
3
+ ### v0.59.0 (2024-05-26)
4
+
5
+ * Regenerated from discovery document revision 20240521
6
+ * Regenerated using generator version 0.15.0
7
+
3
8
  ### v0.58.0 (2024-05-05)
4
9
 
5
10
  * Regenerated from discovery document revision 20240425
@@ -149,6 +149,38 @@ module Google
149
149
  end
150
150
  end
151
151
 
152
+ # An available database version. It can be a major or a minor version.
153
+ class AvailableDatabaseVersion
154
+ include Google::Apis::Core::Hashable
155
+
156
+ # The database version's display name.
157
+ # Corresponds to the JSON property `displayName`
158
+ # @return [String]
159
+ attr_accessor :display_name
160
+
161
+ # The version's major version name.
162
+ # Corresponds to the JSON property `majorVersion`
163
+ # @return [String]
164
+ attr_accessor :major_version
165
+
166
+ # The database version name. For MySQL 8.0, this string provides the database
167
+ # major and minor version.
168
+ # Corresponds to the JSON property `name`
169
+ # @return [String]
170
+ attr_accessor :name
171
+
172
+ def initialize(**args)
173
+ update!(**args)
174
+ end
175
+
176
+ # Update properties of this object
177
+ def update!(**args)
178
+ @display_name = args[:display_name] if args.key?(:display_name)
179
+ @major_version = args[:major_version] if args.key?(:major_version)
180
+ @name = args[:name] if args.key?(:name)
181
+ end
182
+ end
183
+
152
184
  # Database instance backup configuration.
153
185
  class BackupConfiguration
154
186
  include Google::Apis::Core::Hashable
@@ -543,9 +575,9 @@ module Google
543
575
  # @return [String]
544
576
  attr_accessor :point_in_time
545
577
 
546
- # Optional. (Point-in-time recovery for PostgreSQL only) Clone to an instance in
547
- # the specified zone. If no zone is specified, clone to the same zone as the
548
- # source instance.
578
+ # Optional. Copy clone and point-in-time recovery clone of an instance to the
579
+ # specified zone. If no zone is specified, clone to the same primary zone as the
580
+ # source instance. This field applies to all DB types.
549
581
  # Corresponds to the JSON property `preferredZone`
550
582
  # @return [String]
551
583
  attr_accessor :preferred_zone
@@ -942,7 +974,8 @@ module Google
942
974
  # @return [String]
943
975
  attr_accessor :root_password
944
976
 
945
- # The status indicating if instance satisfiesPzs. Reserved for future use.
977
+ # This status indicates whether the instance satisfies PZS. The status is
978
+ # reserved for future use.
946
979
  # Corresponds to the JSON property `satisfiesPzs`
947
980
  # @return [Boolean]
948
981
  attr_accessor :satisfies_pzs
@@ -997,6 +1030,11 @@ module Google
997
1030
  # @return [Array<String>]
998
1031
  attr_accessor :suspension_reason
999
1032
 
1033
+ # Output only. All database versions that are available for upgrade.
1034
+ # Corresponds to the JSON property `upgradableDatabaseVersions`
1035
+ # @return [Array<Google::Apis::SqladminV1::AvailableDatabaseVersion>]
1036
+ attr_accessor :upgradable_database_versions
1037
+
1000
1038
  # Output only. The dns name of the primary instance in a replication group.
1001
1039
  # Corresponds to the JSON property `writeEndpoint`
1002
1040
  # @return [String]
@@ -1050,6 +1088,7 @@ module Google
1050
1088
  @sql_network_architecture = args[:sql_network_architecture] if args.key?(:sql_network_architecture)
1051
1089
  @state = args[:state] if args.key?(:state)
1052
1090
  @suspension_reason = args[:suspension_reason] if args.key?(:suspension_reason)
1091
+ @upgradable_database_versions = args[:upgradable_database_versions] if args.key?(:upgradable_database_versions)
1053
1092
  @write_endpoint = args[:write_endpoint] if args.key?(:write_endpoint)
1054
1093
  end
1055
1094
 
@@ -3331,6 +3370,17 @@ module Google
3331
3370
  # @return [String]
3332
3371
  attr_accessor :failover_dr_replica_name
3333
3372
 
3373
+ # Output only. If set, it indicates this instance has a private service access (
3374
+ # PSA) dns endpoint that is pointing to the primary instance of the cluster. If
3375
+ # this instance is the primary, the dns should be pointing to this instance.
3376
+ # After Switchover or Replica failover, this DNS endpoint points to the promoted
3377
+ # instance. This is a read-only field, returned to the user as information. This
3378
+ # field can exist even if a standalone instance does not yet have a replica, or
3379
+ # had a DR replica that was deleted.
3380
+ # Corresponds to the JSON property `psaWriteEndpoint`
3381
+ # @return [String]
3382
+ attr_accessor :psa_write_endpoint
3383
+
3334
3384
  def initialize(**args)
3335
3385
  update!(**args)
3336
3386
  end
@@ -3339,6 +3389,7 @@ module Google
3339
3389
  def update!(**args)
3340
3390
  @dr_replica = args[:dr_replica] if args.key?(:dr_replica)
3341
3391
  @failover_dr_replica_name = args[:failover_dr_replica_name] if args.key?(:failover_dr_replica_name)
3392
+ @psa_write_endpoint = args[:psa_write_endpoint] if args.key?(:psa_write_endpoint)
3342
3393
  end
3343
3394
  end
3344
3395
 
@@ -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.58.0"
19
+ GEM_VERSION = "0.59.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240425"
25
+ REVISION = "20240521"
26
26
  end
27
27
  end
28
28
  end
@@ -46,6 +46,12 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
+ class AvailableDatabaseVersion
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
49
55
  class BackupConfiguration
50
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
57
 
@@ -712,6 +718,15 @@ module Google
712
718
  end
713
719
  end
714
720
 
721
+ class AvailableDatabaseVersion
722
+ # @private
723
+ class Representation < Google::Apis::Core::JsonRepresentation
724
+ property :display_name, as: 'displayName'
725
+ property :major_version, as: 'majorVersion'
726
+ property :name, as: 'name'
727
+ end
728
+ end
729
+
715
730
  class BackupConfiguration
716
731
  # @private
717
732
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -917,6 +932,8 @@ module Google
917
932
  property :sql_network_architecture, as: 'sqlNetworkArchitecture'
918
933
  property :state, as: 'state'
919
934
  collection :suspension_reason, as: 'suspensionReason'
935
+ collection :upgradable_database_versions, as: 'upgradableDatabaseVersions', class: Google::Apis::SqladminV1::AvailableDatabaseVersion, decorator: Google::Apis::SqladminV1::AvailableDatabaseVersion::Representation
936
+
920
937
  property :write_endpoint, as: 'writeEndpoint'
921
938
  end
922
939
 
@@ -1530,6 +1547,7 @@ module Google
1530
1547
  class Representation < Google::Apis::Core::JsonRepresentation
1531
1548
  property :dr_replica, as: 'drReplica'
1532
1549
  property :failover_dr_replica_name, as: 'failoverDrReplicaName'
1550
+ property :psa_write_endpoint, as: 'psaWriteEndpoint'
1533
1551
  end
1534
1552
  end
1535
1553
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-sqladmin_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.58.0
4
+ version: 0.59.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-05 00:00:00.000000000 Z
11
+ date: 2024-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 0.15.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.14.0
29
+ version: 0.15.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.58.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.59.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1
63
63
  post_install_message:
64
64
  rdoc_options: []