google-apis-alloydb_v1 0.11.0 → 0.12.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: 2f5c62609e66deea29ee8a1ba61d2da15df4be54d502ff0fea6ef5f8a481d647
|
4
|
+
data.tar.gz: 238448eb03aebd3457f9c4a695502d3b3dcfc09aaf01e4f183d54a18aa62b971
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4eebcf974b2c5d7f070aee24002efdb85dbe05a1c719c72c81c46fb89a73d9adf07d0c1b03aeb2397794f480fdee80b9f21dd94c55f10c67d2738a3709595b6
|
7
|
+
data.tar.gz: 6f917b0f85e22df49d44b40210d47d5cb8d4e489f4a132cd917da42a39a1140e8435b4a7ec7177fbc5eb42980641ee1b338141998aa410fec452edbdc5ae6dbe
|
data/CHANGELOG.md
CHANGED
@@ -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
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.12.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 = "
|
25
|
+
REVISION = "20240410"
|
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
|
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.
|
4
|
+
version: 0.12.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-
|
11
|
+
date: 2024-04-21 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1/v0.12.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: []
|