google-apis-alloydb_v1alpha 0.3.0 → 0.4.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: 48bb38762af6fdd7cb901aa08977c0466d0269b1351707297f078671a5e11ac2
|
4
|
+
data.tar.gz: a3eecdf05e3b3c36e36d9ac884b8bdb1739a8f09e7369b62064e73a57ba81eb0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bcf5104071c405df5d680351a369573458ecb70a3f5c8fbad2892ae45b58b793ccddc4feddd68d873f4b09c85ea4d6d7930158aa98e5e632a406e6b456744805
|
7
|
+
data.tar.gz: ed242ab713e771c4440bd0154efee7d13a8553e4a3eced9de6b6b56880effdb94d0f0bf7a84bb0904df991d5cb22e5d6866d3ebe40babb41fee80e382fb60f1b
|
data/CHANGELOG.md
CHANGED
@@ -22,6 +22,25 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module AlloydbV1alpha
|
24
24
|
|
25
|
+
# AuthorizedNetwork contains metadata for an authorized network.
|
26
|
+
class AuthorizedNetwork
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# CIDR range for one authorzied network of the instance.
|
30
|
+
# Corresponds to the JSON property `cidrRange`
|
31
|
+
# @return [String]
|
32
|
+
attr_accessor :cidr_range
|
33
|
+
|
34
|
+
def initialize(**args)
|
35
|
+
update!(**args)
|
36
|
+
end
|
37
|
+
|
38
|
+
# Update properties of this object
|
39
|
+
def update!(**args)
|
40
|
+
@cidr_range = args[:cidr_range] if args.key?(:cidr_range)
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
25
44
|
# Message describing the user-specified automated backup policy. All fields in
|
26
45
|
# the automated backup policy are optional. Defaults for each field are provided
|
27
46
|
# if they are not set.
|
@@ -620,6 +639,13 @@ module Google
|
|
620
639
|
# @return [Array<String>]
|
621
640
|
attr_accessor :pem_certificate_chain
|
622
641
|
|
642
|
+
# Output only. The public IP addresses for the Instance. This is available ONLY
|
643
|
+
# when enable_public_ip is set. This is the connection endpoint for an end-user
|
644
|
+
# application.
|
645
|
+
# Corresponds to the JSON property `publicIpAddress`
|
646
|
+
# @return [String]
|
647
|
+
attr_accessor :public_ip_address
|
648
|
+
|
623
649
|
def initialize(**args)
|
624
650
|
update!(**args)
|
625
651
|
end
|
@@ -630,6 +656,7 @@ module Google
|
|
630
656
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
631
657
|
@name = args[:name] if args.key?(:name)
|
632
658
|
@pem_certificate_chain = args[:pem_certificate_chain] if args.key?(:pem_certificate_chain)
|
659
|
+
@public_ip_address = args[:public_ip_address] if args.key?(:public_ip_address)
|
633
660
|
end
|
634
661
|
end
|
635
662
|
|
@@ -1183,12 +1210,23 @@ module Google
|
|
1183
1210
|
# @return [String]
|
1184
1211
|
attr_accessor :name
|
1185
1212
|
|
1213
|
+
# Metadata related to instance level network configuration.
|
1214
|
+
# Corresponds to the JSON property `networkConfig`
|
1215
|
+
# @return [Google::Apis::AlloydbV1alpha::InstanceNetworkConfig]
|
1216
|
+
attr_accessor :network_config
|
1217
|
+
|
1186
1218
|
# Output only. List of available read-only VMs in this instance, including the
|
1187
1219
|
# standby for a PRIMARY instance.
|
1188
1220
|
# Corresponds to the JSON property `nodes`
|
1189
1221
|
# @return [Array<Google::Apis::AlloydbV1alpha::Node>]
|
1190
1222
|
attr_accessor :nodes
|
1191
1223
|
|
1224
|
+
# PscInstanceConfig contains PSC related configuration at an instance level.
|
1225
|
+
# NEXT ID: 7
|
1226
|
+
# Corresponds to the JSON property `pscInstanceConfig`
|
1227
|
+
# @return [Google::Apis::AlloydbV1alpha::PscInstanceConfig]
|
1228
|
+
attr_accessor :psc_instance_config
|
1229
|
+
|
1192
1230
|
# QueryInsights Instance specific configuration.
|
1193
1231
|
# Corresponds to the JSON property `queryInsightsConfig`
|
1194
1232
|
# @return [Google::Apis::AlloydbV1alpha::QueryInsightsInstanceConfig]
|
@@ -1269,7 +1307,9 @@ module Google
|
|
1269
1307
|
@labels = args[:labels] if args.key?(:labels)
|
1270
1308
|
@machine_config = args[:machine_config] if args.key?(:machine_config)
|
1271
1309
|
@name = args[:name] if args.key?(:name)
|
1310
|
+
@network_config = args[:network_config] if args.key?(:network_config)
|
1272
1311
|
@nodes = args[:nodes] if args.key?(:nodes)
|
1312
|
+
@psc_instance_config = args[:psc_instance_config] if args.key?(:psc_instance_config)
|
1273
1313
|
@query_insights_config = args[:query_insights_config] if args.key?(:query_insights_config)
|
1274
1314
|
@read_pool_config = args[:read_pool_config] if args.key?(:read_pool_config)
|
1275
1315
|
@reconciling = args[:reconciling] if args.key?(:reconciling)
|
@@ -1283,6 +1323,32 @@ module Google
|
|
1283
1323
|
end
|
1284
1324
|
end
|
1285
1325
|
|
1326
|
+
# Metadata related to instance level network configuration.
|
1327
|
+
class InstanceNetworkConfig
|
1328
|
+
include Google::Apis::Core::Hashable
|
1329
|
+
|
1330
|
+
# Optional. A list of external network authorized to access this instance.
|
1331
|
+
# Corresponds to the JSON property `authorizedExternalNetworks`
|
1332
|
+
# @return [Array<Google::Apis::AlloydbV1alpha::AuthorizedNetwork>]
|
1333
|
+
attr_accessor :authorized_external_networks
|
1334
|
+
|
1335
|
+
# Optional. Enabling public ip for the instance.
|
1336
|
+
# Corresponds to the JSON property `enablePublicIp`
|
1337
|
+
# @return [Boolean]
|
1338
|
+
attr_accessor :enable_public_ip
|
1339
|
+
alias_method :enable_public_ip?, :enable_public_ip
|
1340
|
+
|
1341
|
+
def initialize(**args)
|
1342
|
+
update!(**args)
|
1343
|
+
end
|
1344
|
+
|
1345
|
+
# Update properties of this object
|
1346
|
+
def update!(**args)
|
1347
|
+
@authorized_external_networks = args[:authorized_external_networks] if args.key?(:authorized_external_networks)
|
1348
|
+
@enable_public_ip = args[:enable_public_ip] if args.key?(:enable_public_ip)
|
1349
|
+
end
|
1350
|
+
end
|
1351
|
+
|
1286
1352
|
# Restrictions on INTEGER type values.
|
1287
1353
|
class IntegerRestrictions
|
1288
1354
|
include Google::Apis::Core::Hashable
|
@@ -1817,6 +1883,99 @@ module Google
|
|
1817
1883
|
end
|
1818
1884
|
end
|
1819
1885
|
|
1886
|
+
# PscInstanceConfig contains PSC related configuration at an instance level.
|
1887
|
+
# NEXT ID: 7
|
1888
|
+
class PscInstanceConfig
|
1889
|
+
include Google::Apis::Core::Hashable
|
1890
|
+
|
1891
|
+
# Optional. List of consumer networks that are allowed to create PSC endpoints
|
1892
|
+
# to service-attachments to this instance.
|
1893
|
+
# Corresponds to the JSON property `allowedConsumerNetworks`
|
1894
|
+
# @return [Array<String>]
|
1895
|
+
attr_accessor :allowed_consumer_networks
|
1896
|
+
|
1897
|
+
# Optional. List of consumer projects that are allowed to create PSC endpoints
|
1898
|
+
# to service-attachments to this instance.
|
1899
|
+
# Corresponds to the JSON property `allowedConsumerProjects`
|
1900
|
+
# @return [Array<String>]
|
1901
|
+
attr_accessor :allowed_consumer_projects
|
1902
|
+
|
1903
|
+
# Optional. List of service attachments that this instance has created endpoints
|
1904
|
+
# to connect with. Currently, only a single outgoing service attachment is
|
1905
|
+
# supported per instance.
|
1906
|
+
# Corresponds to the JSON property `outgoingServiceAttachmentLinks`
|
1907
|
+
# @return [Array<String>]
|
1908
|
+
attr_accessor :outgoing_service_attachment_links
|
1909
|
+
|
1910
|
+
# Optional. Whether PSC connectivity is enabled for this instance. This is
|
1911
|
+
# populated by referencing the value from the parent cluster.
|
1912
|
+
# Corresponds to the JSON property `pscEnabled`
|
1913
|
+
# @return [Boolean]
|
1914
|
+
attr_accessor :psc_enabled
|
1915
|
+
alias_method :psc_enabled?, :psc_enabled
|
1916
|
+
|
1917
|
+
# Optional. Configurations for setting up PSC interfaces attached to the
|
1918
|
+
# instance which are used for outbound connectivity. Only primary instances can
|
1919
|
+
# have PSC interface attached. All the VMs created for the primary instance will
|
1920
|
+
# share the same configurations. Currently we only support 0 or 1 PSC interface.
|
1921
|
+
# Corresponds to the JSON property `pscInterfaceConfigs`
|
1922
|
+
# @return [Array<Google::Apis::AlloydbV1alpha::PscInterfaceConfig>]
|
1923
|
+
attr_accessor :psc_interface_configs
|
1924
|
+
|
1925
|
+
# Output only. The service attachment created when Private Service Connect (PSC)
|
1926
|
+
# is enabled for the instance. The name of the resource will be in the format of
|
1927
|
+
# projects//regions//serviceAttachments/
|
1928
|
+
# Corresponds to the JSON property `serviceAttachmentLink`
|
1929
|
+
# @return [String]
|
1930
|
+
attr_accessor :service_attachment_link
|
1931
|
+
|
1932
|
+
def initialize(**args)
|
1933
|
+
update!(**args)
|
1934
|
+
end
|
1935
|
+
|
1936
|
+
# Update properties of this object
|
1937
|
+
def update!(**args)
|
1938
|
+
@allowed_consumer_networks = args[:allowed_consumer_networks] if args.key?(:allowed_consumer_networks)
|
1939
|
+
@allowed_consumer_projects = args[:allowed_consumer_projects] if args.key?(:allowed_consumer_projects)
|
1940
|
+
@outgoing_service_attachment_links = args[:outgoing_service_attachment_links] if args.key?(:outgoing_service_attachment_links)
|
1941
|
+
@psc_enabled = args[:psc_enabled] if args.key?(:psc_enabled)
|
1942
|
+
@psc_interface_configs = args[:psc_interface_configs] if args.key?(:psc_interface_configs)
|
1943
|
+
@service_attachment_link = args[:service_attachment_link] if args.key?(:service_attachment_link)
|
1944
|
+
end
|
1945
|
+
end
|
1946
|
+
|
1947
|
+
# Configuration for setting up a PSC interface. This information needs to be
|
1948
|
+
# provided by the customer. PSC interfaces will be created and added to VMs via
|
1949
|
+
# SLM (adding a network interface will require recreating the VM). For HA
|
1950
|
+
# instances this will be done via LDTM.
|
1951
|
+
class PscInterfaceConfig
|
1952
|
+
include Google::Apis::Core::Hashable
|
1953
|
+
|
1954
|
+
# A list of endpoints in the consumer VPC the interface might initiate outbound
|
1955
|
+
# connections to. This list has to be provided when the PSC interface is created.
|
1956
|
+
# Corresponds to the JSON property `consumerEndpointIps`
|
1957
|
+
# @return [Array<String>]
|
1958
|
+
attr_accessor :consumer_endpoint_ips
|
1959
|
+
|
1960
|
+
# The NetworkAttachment resource created in the consumer VPC to which the PSC
|
1961
|
+
# interface will be linked, in the form of: "projects/$`CONSUMER_PROJECT`/
|
1962
|
+
# regions/$`REGION`/networkAttachments/$`NETWORK_ATTACHMENT_NAME`".
|
1963
|
+
# NetworkAttachment has to be provided when the PSC interface is created.
|
1964
|
+
# Corresponds to the JSON property `networkAttachment`
|
1965
|
+
# @return [String]
|
1966
|
+
attr_accessor :network_attachment
|
1967
|
+
|
1968
|
+
def initialize(**args)
|
1969
|
+
update!(**args)
|
1970
|
+
end
|
1971
|
+
|
1972
|
+
# Update properties of this object
|
1973
|
+
def update!(**args)
|
1974
|
+
@consumer_endpoint_ips = args[:consumer_endpoint_ips] if args.key?(:consumer_endpoint_ips)
|
1975
|
+
@network_attachment = args[:network_attachment] if args.key?(:network_attachment)
|
1976
|
+
end
|
1977
|
+
end
|
1978
|
+
|
1820
1979
|
# A backup's position in a quantity-based retention queue, of backups with the
|
1821
1980
|
# same source cluster and type, with length, retention, specified by the backup'
|
1822
1981
|
# 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 AlloydbV1alpha
|
18
18
|
# Version of the google-apis-alloydb_v1alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.4.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20231206"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,12 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module AlloydbV1alpha
|
24
24
|
|
25
|
+
class AuthorizedNetwork
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
25
31
|
class AutomatedBackupPolicy
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
33
|
|
@@ -154,6 +160,12 @@ module Google
|
|
154
160
|
include Google::Apis::Core::JsonObjectSupport
|
155
161
|
end
|
156
162
|
|
163
|
+
class InstanceNetworkConfig
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
157
169
|
class IntegerRestrictions
|
158
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
171
|
|
@@ -250,6 +262,18 @@ module Google
|
|
250
262
|
include Google::Apis::Core::JsonObjectSupport
|
251
263
|
end
|
252
264
|
|
265
|
+
class PscInstanceConfig
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
|
+
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
269
|
+
end
|
270
|
+
|
271
|
+
class PscInterfaceConfig
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
253
277
|
class QuantityBasedExpiry
|
254
278
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
279
|
|
@@ -412,6 +436,13 @@ module Google
|
|
412
436
|
include Google::Apis::Core::JsonObjectSupport
|
413
437
|
end
|
414
438
|
|
439
|
+
class AuthorizedNetwork
|
440
|
+
# @private
|
441
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
442
|
+
property :cidr_range, as: 'cidrRange'
|
443
|
+
end
|
444
|
+
end
|
445
|
+
|
415
446
|
class AutomatedBackupPolicy
|
416
447
|
# @private
|
417
448
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -548,6 +579,7 @@ module Google
|
|
548
579
|
property :ip_address, as: 'ipAddress'
|
549
580
|
property :name, as: 'name'
|
550
581
|
collection :pem_certificate_chain, as: 'pemCertificateChain'
|
582
|
+
property :public_ip_address, as: 'publicIpAddress'
|
551
583
|
end
|
552
584
|
end
|
553
585
|
|
@@ -687,8 +719,12 @@ module Google
|
|
687
719
|
property :machine_config, as: 'machineConfig', class: Google::Apis::AlloydbV1alpha::MachineConfig, decorator: Google::Apis::AlloydbV1alpha::MachineConfig::Representation
|
688
720
|
|
689
721
|
property :name, as: 'name'
|
722
|
+
property :network_config, as: 'networkConfig', class: Google::Apis::AlloydbV1alpha::InstanceNetworkConfig, decorator: Google::Apis::AlloydbV1alpha::InstanceNetworkConfig::Representation
|
723
|
+
|
690
724
|
collection :nodes, as: 'nodes', class: Google::Apis::AlloydbV1alpha::Node, decorator: Google::Apis::AlloydbV1alpha::Node::Representation
|
691
725
|
|
726
|
+
property :psc_instance_config, as: 'pscInstanceConfig', class: Google::Apis::AlloydbV1alpha::PscInstanceConfig, decorator: Google::Apis::AlloydbV1alpha::PscInstanceConfig::Representation
|
727
|
+
|
692
728
|
property :query_insights_config, as: 'queryInsightsConfig', class: Google::Apis::AlloydbV1alpha::QueryInsightsInstanceConfig, decorator: Google::Apis::AlloydbV1alpha::QueryInsightsInstanceConfig::Representation
|
693
729
|
|
694
730
|
property :read_pool_config, as: 'readPoolConfig', class: Google::Apis::AlloydbV1alpha::ReadPoolConfig, decorator: Google::Apis::AlloydbV1alpha::ReadPoolConfig::Representation
|
@@ -706,6 +742,15 @@ module Google
|
|
706
742
|
end
|
707
743
|
end
|
708
744
|
|
745
|
+
class InstanceNetworkConfig
|
746
|
+
# @private
|
747
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
748
|
+
collection :authorized_external_networks, as: 'authorizedExternalNetworks', class: Google::Apis::AlloydbV1alpha::AuthorizedNetwork, decorator: Google::Apis::AlloydbV1alpha::AuthorizedNetwork::Representation
|
749
|
+
|
750
|
+
property :enable_public_ip, as: 'enablePublicIp'
|
751
|
+
end
|
752
|
+
end
|
753
|
+
|
709
754
|
class IntegerRestrictions
|
710
755
|
# @private
|
711
756
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -854,6 +899,27 @@ module Google
|
|
854
899
|
end
|
855
900
|
end
|
856
901
|
|
902
|
+
class PscInstanceConfig
|
903
|
+
# @private
|
904
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
905
|
+
collection :allowed_consumer_networks, as: 'allowedConsumerNetworks'
|
906
|
+
collection :allowed_consumer_projects, as: 'allowedConsumerProjects'
|
907
|
+
collection :outgoing_service_attachment_links, as: 'outgoingServiceAttachmentLinks'
|
908
|
+
property :psc_enabled, as: 'pscEnabled'
|
909
|
+
collection :psc_interface_configs, as: 'pscInterfaceConfigs', class: Google::Apis::AlloydbV1alpha::PscInterfaceConfig, decorator: Google::Apis::AlloydbV1alpha::PscInterfaceConfig::Representation
|
910
|
+
|
911
|
+
property :service_attachment_link, as: 'serviceAttachmentLink'
|
912
|
+
end
|
913
|
+
end
|
914
|
+
|
915
|
+
class PscInterfaceConfig
|
916
|
+
# @private
|
917
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
918
|
+
collection :consumer_endpoint_ips, as: 'consumerEndpointIps'
|
919
|
+
property :network_attachment, as: 'networkAttachment'
|
920
|
+
end
|
921
|
+
end
|
922
|
+
|
857
923
|
class QuantityBasedExpiry
|
858
924
|
# @private
|
859
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_v1alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.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: 2023-12-
|
11
|
+
date: 2023-12-17 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_v1alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1alpha/v0.4.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|