google-apis-alloydb_v1 0.11.0 → 0.13.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: 751ccff99ccdc76e2b8de869bf45eb93cc7b257f843fb8a620f1fb468679a0ab
4
- data.tar.gz: effd07900ddc8674a0f8be4f04d60002872ee7a4163c33355d5ae9381bd50d49
3
+ metadata.gz: 03be8923f92afe20b52cf6e53360153a7d172beed7b1d9297ae03936484b496c
4
+ data.tar.gz: 88ff3305b43f9005bc928ef8f1ffe10bde0fb691bc8731cf602fe0c0109ef1a6
5
5
  SHA512:
6
- metadata.gz: b2be350769c4e249fb9777d2e9a9865c14fd923e08f369e988e28a4ddbf3ff49d2331a05a250c81749dcbef28e7c13ee64f2b3e99f6c3618978578ea5aad2246
7
- data.tar.gz: 37ca9984da6ff0528f191e6600fe5a08a890f8b525b198f2cdb889a3245fcd298791c7910227c75e2d09563900aa9c871f9b1b3e7680a358f4e04ff22d895a75
6
+ metadata.gz: 959d69bb2e088b305b544186d47bdbf32b5ded7778b1f305219c04fc2ea62c36ca159dc4bbbb7b4f3caf8f8e9790d81739f107f68eb27a767a72d78de2abef4d
7
+ data.tar.gz: 48d5def29866abd1f779e62b47744c4c651271de5f1de9103ab2e8f242820809a24bc45f386a5e2d069719f46126bbe8bafaea00ddb0cb61c0a46fca5fc46b76
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-alloydb_v1
2
2
 
3
+ ### v0.13.0 (2024-04-28)
4
+
5
+ * Regenerated from discovery document revision 20240417
6
+
7
+ ### v0.12.0 (2024-04-21)
8
+
9
+ * Regenerated from discovery document revision 20240410
10
+
3
11
  ### v0.11.0 (2024-03-24)
4
12
 
5
13
  * Regenerated from discovery document revision 20240315
@@ -475,6 +475,11 @@ module Google
475
475
  # @return [Hash<String,String>]
476
476
  attr_accessor :labels
477
477
 
478
+ # MaintenanceUpdatePolicy defines the policy for system updates.
479
+ # Corresponds to the JSON property `maintenanceUpdatePolicy`
480
+ # @return [Google::Apis::AlloydbV1::MaintenanceUpdatePolicy]
481
+ attr_accessor :maintenance_update_policy
482
+
478
483
  # Subset of the source instance configuration that is available when reading the
479
484
  # cluster resource.
480
485
  # Corresponds to the JSON property `migrationSource`
@@ -511,6 +516,11 @@ module Google
511
516
  # @return [Google::Apis::AlloydbV1::PrimaryConfig]
512
517
  attr_accessor :primary_config
513
518
 
519
+ # PscConfig contains PSC related configuration at a cluster level.
520
+ # Corresponds to the JSON property `pscConfig`
521
+ # @return [Google::Apis::AlloydbV1::PscConfig]
522
+ attr_accessor :psc_config
523
+
514
524
  # Output only. Reconciling (https://google.aip.dev/128#reconciliation). Set to
515
525
  # true if the current state of Cluster does not match the user's intended state,
516
526
  # and the service is actively updating the resource to reconcile them. This can
@@ -575,11 +585,13 @@ module Google
575
585
  @etag = args[:etag] if args.key?(:etag)
576
586
  @initial_user = args[:initial_user] if args.key?(:initial_user)
577
587
  @labels = args[:labels] if args.key?(:labels)
588
+ @maintenance_update_policy = args[:maintenance_update_policy] if args.key?(:maintenance_update_policy)
578
589
  @migration_source = args[:migration_source] if args.key?(:migration_source)
579
590
  @name = args[:name] if args.key?(:name)
580
591
  @network = args[:network] if args.key?(:network)
581
592
  @network_config = args[:network_config] if args.key?(:network_config)
582
593
  @primary_config = args[:primary_config] if args.key?(:primary_config)
594
+ @psc_config = args[:psc_config] if args.key?(:psc_config)
583
595
  @reconciling = args[:reconciling] if args.key?(:reconciling)
584
596
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
585
597
  @secondary_config = args[:secondary_config] if args.key?(:secondary_config)
@@ -1103,6 +1115,11 @@ module Google
1103
1115
  # @return [Array<Google::Apis::AlloydbV1::Node>]
1104
1116
  attr_accessor :nodes
1105
1117
 
1118
+ # PscInstanceConfig contains PSC related configuration at an instance level.
1119
+ # Corresponds to the JSON property `pscInstanceConfig`
1120
+ # @return [Google::Apis::AlloydbV1::PscInstanceConfig]
1121
+ attr_accessor :psc_instance_config
1122
+
1106
1123
  # Output only. The public IP addresses for the Instance. This is available ONLY
1107
1124
  # when enable_public_ip is set. This is the connection endpoint for an end-user
1108
1125
  # application.
@@ -1181,6 +1198,7 @@ module Google
1181
1198
  @name = args[:name] if args.key?(:name)
1182
1199
  @network_config = args[:network_config] if args.key?(:network_config)
1183
1200
  @nodes = args[:nodes] if args.key?(:nodes)
1201
+ @psc_instance_config = args[:psc_instance_config] if args.key?(:psc_instance_config)
1184
1202
  @public_ip_address = args[:public_ip_address] if args.key?(:public_ip_address)
1185
1203
  @query_insights_config = args[:query_insights_config] if args.key?(:query_insights_config)
1186
1204
  @read_pool_config = args[:read_pool_config] if args.key?(:read_pool_config)
@@ -1437,6 +1455,52 @@ module Google
1437
1455
  end
1438
1456
  end
1439
1457
 
1458
+ # MaintenanceUpdatePolicy defines the policy for system updates.
1459
+ class MaintenanceUpdatePolicy
1460
+ include Google::Apis::Core::Hashable
1461
+
1462
+ # Preferred windows to perform maintenance. Currently limited to 1.
1463
+ # Corresponds to the JSON property `maintenanceWindows`
1464
+ # @return [Array<Google::Apis::AlloydbV1::MaintenanceWindow>]
1465
+ attr_accessor :maintenance_windows
1466
+
1467
+ def initialize(**args)
1468
+ update!(**args)
1469
+ end
1470
+
1471
+ # Update properties of this object
1472
+ def update!(**args)
1473
+ @maintenance_windows = args[:maintenance_windows] if args.key?(:maintenance_windows)
1474
+ end
1475
+ end
1476
+
1477
+ # MaintenanceWindow specifies a preferred day and time for maintenance.
1478
+ class MaintenanceWindow
1479
+ include Google::Apis::Core::Hashable
1480
+
1481
+ # Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
1482
+ # Corresponds to the JSON property `day`
1483
+ # @return [String]
1484
+ attr_accessor :day
1485
+
1486
+ # Represents a time of day. The date and time zone are either not significant or
1487
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
1488
+ # types are google.type.Date and `google.protobuf.Timestamp`.
1489
+ # Corresponds to the JSON property `startTime`
1490
+ # @return [Google::Apis::AlloydbV1::GoogleTypeTimeOfDay]
1491
+ attr_accessor :start_time
1492
+
1493
+ def initialize(**args)
1494
+ update!(**args)
1495
+ end
1496
+
1497
+ # Update properties of this object
1498
+ def update!(**args)
1499
+ @day = args[:day] if args.key?(:day)
1500
+ @start_time = args[:start_time] if args.key?(:start_time)
1501
+ end
1502
+ end
1503
+
1440
1504
  # Subset of the source instance configuration that is available when reading the
1441
1505
  # cluster resource.
1442
1506
  class MigrationSource
@@ -1732,6 +1796,62 @@ module Google
1732
1796
  end
1733
1797
  end
1734
1798
 
1799
+ # PscConfig contains PSC related configuration at a cluster level.
1800
+ class PscConfig
1801
+ include Google::Apis::Core::Hashable
1802
+
1803
+ # Optional. Create an instance that allows connections from Private Service
1804
+ # Connect endpoints to the instance.
1805
+ # Corresponds to the JSON property `pscEnabled`
1806
+ # @return [Boolean]
1807
+ attr_accessor :psc_enabled
1808
+ alias_method :psc_enabled?, :psc_enabled
1809
+
1810
+ def initialize(**args)
1811
+ update!(**args)
1812
+ end
1813
+
1814
+ # Update properties of this object
1815
+ def update!(**args)
1816
+ @psc_enabled = args[:psc_enabled] if args.key?(:psc_enabled)
1817
+ end
1818
+ end
1819
+
1820
+ # PscInstanceConfig contains PSC related configuration at an instance level.
1821
+ class PscInstanceConfig
1822
+ include Google::Apis::Core::Hashable
1823
+
1824
+ # Optional. List of consumer projects that are allowed to create PSC endpoints
1825
+ # to service-attachments to this instance.
1826
+ # Corresponds to the JSON property `allowedConsumerProjects`
1827
+ # @return [Array<String>]
1828
+ attr_accessor :allowed_consumer_projects
1829
+
1830
+ # Output only. The DNS name of the instance for PSC connectivity. Name
1831
+ # convention: ...alloydb-psc.goog
1832
+ # Corresponds to the JSON property `pscDnsName`
1833
+ # @return [String]
1834
+ attr_accessor :psc_dns_name
1835
+
1836
+ # Output only. The service attachment created when Private Service Connect (PSC)
1837
+ # is enabled for the instance. The name of the resource will be in the format of
1838
+ # `projects//regions//serviceAttachments/`
1839
+ # Corresponds to the JSON property `serviceAttachmentLink`
1840
+ # @return [String]
1841
+ attr_accessor :service_attachment_link
1842
+
1843
+ def initialize(**args)
1844
+ update!(**args)
1845
+ end
1846
+
1847
+ # Update properties of this object
1848
+ def update!(**args)
1849
+ @allowed_consumer_projects = args[:allowed_consumer_projects] if args.key?(:allowed_consumer_projects)
1850
+ @psc_dns_name = args[:psc_dns_name] if args.key?(:psc_dns_name)
1851
+ @service_attachment_link = args[:service_attachment_link] if args.key?(:service_attachment_link)
1852
+ end
1853
+ end
1854
+
1735
1855
  # A backup's position in a quantity-based retention queue, of backups with the
1736
1856
  # same source cluster and type, with length, retention, specified by the backup'
1737
1857
  # s retention policy. Once the position is greater than the retention, the
@@ -2045,6 +2165,13 @@ module Google
2045
2165
  # @return [String]
2046
2166
  attr_accessor :availability_type
2047
2167
 
2168
+ # Checks for resources that are configured to have redundancy, and ongoing
2169
+ # replication across regions
2170
+ # Corresponds to the JSON property `crossRegionReplicaConfigured`
2171
+ # @return [Boolean]
2172
+ attr_accessor :cross_region_replica_configured
2173
+ alias_method :cross_region_replica_configured?, :cross_region_replica_configured
2174
+
2048
2175
  #
2049
2176
  # Corresponds to the JSON property `externalReplicaConfigured`
2050
2177
  # @return [Boolean]
@@ -2064,6 +2191,7 @@ module Google
2064
2191
  # Update properties of this object
2065
2192
  def update!(**args)
2066
2193
  @availability_type = args[:availability_type] if args.key?(:availability_type)
2194
+ @cross_region_replica_configured = args[:cross_region_replica_configured] if args.key?(:cross_region_replica_configured)
2067
2195
  @external_replica_configured = args[:external_replica_configured] if args.key?(:external_replica_configured)
2068
2196
  @promotable_replica_configured = args[:promotable_replica_configured] if args.key?(:promotable_replica_configured)
2069
2197
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AlloydbV1
18
18
  # Version of the google-apis-alloydb_v1 gem
19
- GEM_VERSION = "0.11.0"
19
+ GEM_VERSION = "0.13.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240315"
25
+ REVISION = "20240417"
26
26
  end
27
27
  end
28
28
  end
@@ -202,6 +202,18 @@ module Google
202
202
  include Google::Apis::Core::JsonObjectSupport
203
203
  end
204
204
 
205
+ class MaintenanceUpdatePolicy
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class MaintenanceWindow
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
205
217
  class MigrationSource
206
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
219
 
@@ -244,6 +256,18 @@ module Google
244
256
  include Google::Apis::Core::JsonObjectSupport
245
257
  end
246
258
 
259
+ class PscConfig
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class PscInstanceConfig
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
247
271
  class QuantityBasedExpiry
248
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
273
 
@@ -542,6 +566,8 @@ module Google
542
566
  property :initial_user, as: 'initialUser', class: Google::Apis::AlloydbV1::UserPassword, decorator: Google::Apis::AlloydbV1::UserPassword::Representation
543
567
 
544
568
  hash :labels, as: 'labels'
569
+ property :maintenance_update_policy, as: 'maintenanceUpdatePolicy', class: Google::Apis::AlloydbV1::MaintenanceUpdatePolicy, decorator: Google::Apis::AlloydbV1::MaintenanceUpdatePolicy::Representation
570
+
545
571
  property :migration_source, as: 'migrationSource', class: Google::Apis::AlloydbV1::MigrationSource, decorator: Google::Apis::AlloydbV1::MigrationSource::Representation
546
572
 
547
573
  property :name, as: 'name'
@@ -550,6 +576,8 @@ module Google
550
576
 
551
577
  property :primary_config, as: 'primaryConfig', class: Google::Apis::AlloydbV1::PrimaryConfig, decorator: Google::Apis::AlloydbV1::PrimaryConfig::Representation
552
578
 
579
+ property :psc_config, as: 'pscConfig', class: Google::Apis::AlloydbV1::PscConfig, decorator: Google::Apis::AlloydbV1::PscConfig::Representation
580
+
553
581
  property :reconciling, as: 'reconciling'
554
582
  property :satisfies_pzs, as: 'satisfiesPzs'
555
583
  property :secondary_config, as: 'secondaryConfig', class: Google::Apis::AlloydbV1::SecondaryConfig, decorator: Google::Apis::AlloydbV1::SecondaryConfig::Representation
@@ -692,6 +720,8 @@ module Google
692
720
 
693
721
  collection :nodes, as: 'nodes', class: Google::Apis::AlloydbV1::Node, decorator: Google::Apis::AlloydbV1::Node::Representation
694
722
 
723
+ property :psc_instance_config, as: 'pscInstanceConfig', class: Google::Apis::AlloydbV1::PscInstanceConfig, decorator: Google::Apis::AlloydbV1::PscInstanceConfig::Representation
724
+
695
725
  property :public_ip_address, as: 'publicIpAddress'
696
726
  property :query_insights_config, as: 'queryInsightsConfig', class: Google::Apis::AlloydbV1::QueryInsightsInstanceConfig, decorator: Google::Apis::AlloydbV1::QueryInsightsInstanceConfig::Representation
697
727
 
@@ -789,6 +819,23 @@ module Google
789
819
  end
790
820
  end
791
821
 
822
+ class MaintenanceUpdatePolicy
823
+ # @private
824
+ class Representation < Google::Apis::Core::JsonRepresentation
825
+ collection :maintenance_windows, as: 'maintenanceWindows', class: Google::Apis::AlloydbV1::MaintenanceWindow, decorator: Google::Apis::AlloydbV1::MaintenanceWindow::Representation
826
+
827
+ end
828
+ end
829
+
830
+ class MaintenanceWindow
831
+ # @private
832
+ class Representation < Google::Apis::Core::JsonRepresentation
833
+ property :day, as: 'day'
834
+ property :start_time, as: 'startTime', class: Google::Apis::AlloydbV1::GoogleTypeTimeOfDay, decorator: Google::Apis::AlloydbV1::GoogleTypeTimeOfDay::Representation
835
+
836
+ end
837
+ end
838
+
792
839
  class MigrationSource
793
840
  # @private
794
841
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -857,6 +904,22 @@ module Google
857
904
  end
858
905
  end
859
906
 
907
+ class PscConfig
908
+ # @private
909
+ class Representation < Google::Apis::Core::JsonRepresentation
910
+ property :psc_enabled, as: 'pscEnabled'
911
+ end
912
+ end
913
+
914
+ class PscInstanceConfig
915
+ # @private
916
+ class Representation < Google::Apis::Core::JsonRepresentation
917
+ collection :allowed_consumer_projects, as: 'allowedConsumerProjects'
918
+ property :psc_dns_name, as: 'pscDnsName'
919
+ property :service_attachment_link, as: 'serviceAttachmentLink'
920
+ end
921
+ end
922
+
860
923
  class QuantityBasedExpiry
861
924
  # @private
862
925
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -940,6 +1003,7 @@ module Google
940
1003
  # @private
941
1004
  class Representation < Google::Apis::Core::JsonRepresentation
942
1005
  property :availability_type, as: 'availabilityType'
1006
+ property :cross_region_replica_configured, as: 'crossRegionReplicaConfigured'
943
1007
  property :external_replica_configured, as: 'externalReplicaConfigured'
944
1008
  property :promotable_replica_configured, as: 'promotableReplicaConfigured'
945
1009
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-alloydb_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.13.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-03-24 00:00:00.000000000 Z
11
+ date: 2024-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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-alloydb_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1/v0.11.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1/v0.13.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1
63
63
  post_install_message:
64
64
  rdoc_options: []