google-apis-alloydb_v1alpha 0.3.0 → 0.5.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: 2984770874913efa3753bc67f48641d6fdc9e177ac126d744fece677dad79c30
4
- data.tar.gz: 957ee026c3ef218a812aba2eec9d4a61243d5f8385cae98e5432f66fabe49b40
3
+ metadata.gz: f8460bd104146bee9796c8ac10c8db561241decc2e8461e443208cd3943e38f7
4
+ data.tar.gz: 9d4367647475f84087e1ec403e074dd1ba88dd9ae165a678fed024d8007291bd
5
5
  SHA512:
6
- metadata.gz: ce72e39e17f4b60ec3757f7c6f82ea3e6c1298129c2c7fcad28826040f32465cb5cb4b62d885b7cf68efbd688a26c5d57f3de7c741bd5c3cfb57a0aae2b04e77
7
- data.tar.gz: d62982fdf2e09f009b6aedf6f4a015b8cd84bb0cc2a2f697b175dba7c9a6ef3f7c17445aaf0711b7810a956697ee09abf176af49a9293ffb6e8720de7a442c29
6
+ metadata.gz: 7239dcc64d865051cf7fa2818faa95e07baf85f658f782468dea8dbc5f2db87e1950b1ac8fd671ec60c5940bbf3309d88e77bd9e5550068eeb2c90884567b98c
7
+ data.tar.gz: 3e66a3259ffb71da7b8548f57e681f4e1dbe47bb4a64734738e9c51dc66557dba694aff8ef09ca14aeb41984e76eb20e4c8f3d5db60555ad950a3ee3d0f4760b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-alloydb_v1alpha
2
2
 
3
+ ### v0.5.0 (2024-01-23)
4
+
5
+ * Regenerated from discovery document revision 20240103
6
+ * Regenerated using generator version 0.13.0
7
+
8
+ ### v0.4.0 (2023-12-17)
9
+
10
+ * Regenerated from discovery document revision 20231206
11
+
3
12
  ### v0.3.0 (2023-12-10)
4
13
 
5
14
  * Regenerated from discovery document revision 20231128
@@ -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.
@@ -499,7 +518,7 @@ module Google
499
518
  # @return [Google::Apis::AlloydbV1alpha::PrimaryConfig]
500
519
  attr_accessor :primary_config
501
520
 
502
- # PscConfig contains PSC related configuration at a cluster level. NEXT ID: 2
521
+ # PscConfig contains PSC related configuration at a cluster level.
503
522
  # Corresponds to the JSON property `pscConfig`
504
523
  # @return [Google::Apis::AlloydbV1alpha::PscConfig]
505
524
  attr_accessor :psc_config
@@ -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,29 @@ 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
+ # Corresponds to the JSON property `pscInstanceConfig`
1226
+ # @return [Google::Apis::AlloydbV1alpha::PscInstanceConfig]
1227
+ attr_accessor :psc_instance_config
1228
+
1229
+ # Output only. The public IP addresses for the Instance. This is available ONLY
1230
+ # when enable_public_ip is set. This is the connection endpoint for an end-user
1231
+ # application.
1232
+ # Corresponds to the JSON property `publicIpAddress`
1233
+ # @return [String]
1234
+ attr_accessor :public_ip_address
1235
+
1192
1236
  # QueryInsights Instance specific configuration.
1193
1237
  # Corresponds to the JSON property `queryInsightsConfig`
1194
1238
  # @return [Google::Apis::AlloydbV1alpha::QueryInsightsInstanceConfig]
@@ -1269,7 +1313,10 @@ module Google
1269
1313
  @labels = args[:labels] if args.key?(:labels)
1270
1314
  @machine_config = args[:machine_config] if args.key?(:machine_config)
1271
1315
  @name = args[:name] if args.key?(:name)
1316
+ @network_config = args[:network_config] if args.key?(:network_config)
1272
1317
  @nodes = args[:nodes] if args.key?(:nodes)
1318
+ @psc_instance_config = args[:psc_instance_config] if args.key?(:psc_instance_config)
1319
+ @public_ip_address = args[:public_ip_address] if args.key?(:public_ip_address)
1273
1320
  @query_insights_config = args[:query_insights_config] if args.key?(:query_insights_config)
1274
1321
  @read_pool_config = args[:read_pool_config] if args.key?(:read_pool_config)
1275
1322
  @reconciling = args[:reconciling] if args.key?(:reconciling)
@@ -1283,6 +1330,32 @@ module Google
1283
1330
  end
1284
1331
  end
1285
1332
 
1333
+ # Metadata related to instance level network configuration.
1334
+ class InstanceNetworkConfig
1335
+ include Google::Apis::Core::Hashable
1336
+
1337
+ # Optional. A list of external network authorized to access this instance.
1338
+ # Corresponds to the JSON property `authorizedExternalNetworks`
1339
+ # @return [Array<Google::Apis::AlloydbV1alpha::AuthorizedNetwork>]
1340
+ attr_accessor :authorized_external_networks
1341
+
1342
+ # Optional. Enabling public ip for the instance.
1343
+ # Corresponds to the JSON property `enablePublicIp`
1344
+ # @return [Boolean]
1345
+ attr_accessor :enable_public_ip
1346
+ alias_method :enable_public_ip?, :enable_public_ip
1347
+
1348
+ def initialize(**args)
1349
+ update!(**args)
1350
+ end
1351
+
1352
+ # Update properties of this object
1353
+ def update!(**args)
1354
+ @authorized_external_networks = args[:authorized_external_networks] if args.key?(:authorized_external_networks)
1355
+ @enable_public_ip = args[:enable_public_ip] if args.key?(:enable_public_ip)
1356
+ end
1357
+ end
1358
+
1286
1359
  # Restrictions on INTEGER type values.
1287
1360
  class IntegerRestrictions
1288
1361
  include Google::Apis::Core::Hashable
@@ -1796,7 +1869,7 @@ module Google
1796
1869
  end
1797
1870
  end
1798
1871
 
1799
- # PscConfig contains PSC related configuration at a cluster level. NEXT ID: 2
1872
+ # PscConfig contains PSC related configuration at a cluster level.
1800
1873
  class PscConfig
1801
1874
  include Google::Apis::Core::Hashable
1802
1875
 
@@ -1817,6 +1890,98 @@ module Google
1817
1890
  end
1818
1891
  end
1819
1892
 
1893
+ # PscInstanceConfig contains PSC related configuration at an instance level.
1894
+ class PscInstanceConfig
1895
+ include Google::Apis::Core::Hashable
1896
+
1897
+ # Optional. List of consumer networks that are allowed to create PSC endpoints
1898
+ # to service-attachments to this instance.
1899
+ # Corresponds to the JSON property `allowedConsumerNetworks`
1900
+ # @return [Array<String>]
1901
+ attr_accessor :allowed_consumer_networks
1902
+
1903
+ # Optional. List of consumer projects that are allowed to create PSC endpoints
1904
+ # to service-attachments to this instance.
1905
+ # Corresponds to the JSON property `allowedConsumerProjects`
1906
+ # @return [Array<String>]
1907
+ attr_accessor :allowed_consumer_projects
1908
+
1909
+ # Optional. List of service attachments that this instance has created endpoints
1910
+ # to connect with. Currently, only a single outgoing service attachment is
1911
+ # supported per instance.
1912
+ # Corresponds to the JSON property `outgoingServiceAttachmentLinks`
1913
+ # @return [Array<String>]
1914
+ attr_accessor :outgoing_service_attachment_links
1915
+
1916
+ # Optional. Whether PSC connectivity is enabled for this instance. This is
1917
+ # populated by referencing the value from the parent cluster.
1918
+ # Corresponds to the JSON property `pscEnabled`
1919
+ # @return [Boolean]
1920
+ attr_accessor :psc_enabled
1921
+ alias_method :psc_enabled?, :psc_enabled
1922
+
1923
+ # Optional. Configurations for setting up PSC interfaces attached to the
1924
+ # instance which are used for outbound connectivity. Only primary instances can
1925
+ # have PSC interface attached. All the VMs created for the primary instance will
1926
+ # share the same configurations. Currently we only support 0 or 1 PSC interface.
1927
+ # Corresponds to the JSON property `pscInterfaceConfigs`
1928
+ # @return [Array<Google::Apis::AlloydbV1alpha::PscInterfaceConfig>]
1929
+ attr_accessor :psc_interface_configs
1930
+
1931
+ # Output only. The service attachment created when Private Service Connect (PSC)
1932
+ # is enabled for the instance. The name of the resource will be in the format of
1933
+ # projects//regions//serviceAttachments/
1934
+ # Corresponds to the JSON property `serviceAttachmentLink`
1935
+ # @return [String]
1936
+ attr_accessor :service_attachment_link
1937
+
1938
+ def initialize(**args)
1939
+ update!(**args)
1940
+ end
1941
+
1942
+ # Update properties of this object
1943
+ def update!(**args)
1944
+ @allowed_consumer_networks = args[:allowed_consumer_networks] if args.key?(:allowed_consumer_networks)
1945
+ @allowed_consumer_projects = args[:allowed_consumer_projects] if args.key?(:allowed_consumer_projects)
1946
+ @outgoing_service_attachment_links = args[:outgoing_service_attachment_links] if args.key?(:outgoing_service_attachment_links)
1947
+ @psc_enabled = args[:psc_enabled] if args.key?(:psc_enabled)
1948
+ @psc_interface_configs = args[:psc_interface_configs] if args.key?(:psc_interface_configs)
1949
+ @service_attachment_link = args[:service_attachment_link] if args.key?(:service_attachment_link)
1950
+ end
1951
+ end
1952
+
1953
+ # Configuration for setting up a PSC interface. This information needs to be
1954
+ # provided by the customer. PSC interfaces will be created and added to VMs via
1955
+ # SLM (adding a network interface will require recreating the VM). For HA
1956
+ # instances this will be done via LDTM.
1957
+ class PscInterfaceConfig
1958
+ include Google::Apis::Core::Hashable
1959
+
1960
+ # A list of endpoints in the consumer VPC the interface might initiate outbound
1961
+ # connections to. This list has to be provided when the PSC interface is created.
1962
+ # Corresponds to the JSON property `consumerEndpointIps`
1963
+ # @return [Array<String>]
1964
+ attr_accessor :consumer_endpoint_ips
1965
+
1966
+ # The NetworkAttachment resource created in the consumer VPC to which the PSC
1967
+ # interface will be linked, in the form of: "projects/$`CONSUMER_PROJECT`/
1968
+ # regions/$`REGION`/networkAttachments/$`NETWORK_ATTACHMENT_NAME`".
1969
+ # NetworkAttachment has to be provided when the PSC interface is created.
1970
+ # Corresponds to the JSON property `networkAttachment`
1971
+ # @return [String]
1972
+ attr_accessor :network_attachment
1973
+
1974
+ def initialize(**args)
1975
+ update!(**args)
1976
+ end
1977
+
1978
+ # Update properties of this object
1979
+ def update!(**args)
1980
+ @consumer_endpoint_ips = args[:consumer_endpoint_ips] if args.key?(:consumer_endpoint_ips)
1981
+ @network_attachment = args[:network_attachment] if args.key?(:network_attachment)
1982
+ end
1983
+ end
1984
+
1820
1985
  # A backup's position in a quantity-based retention queue, of backups with the
1821
1986
  # same source cluster and type, with length, retention, specified by the backup'
1822
1987
  # s retention policy. Once the position is greater than the retention, the
@@ -2252,6 +2417,72 @@ module Google
2252
2417
  end
2253
2418
  end
2254
2419
 
2420
+ # Any custom metadata associated with the resource. i.e. A spanner instance can
2421
+ # have multiple databases with its own unique metadata. Information for these
2422
+ # individual databases can be captured in custom metadata data
2423
+ class StorageDatabasecenterPartnerapiV1mainCustomMetadataData
2424
+ include Google::Apis::Core::Hashable
2425
+
2426
+ #
2427
+ # Corresponds to the JSON property `databaseMetadata`
2428
+ # @return [Array<Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseMetadata>]
2429
+ attr_accessor :database_metadata
2430
+
2431
+ def initialize(**args)
2432
+ update!(**args)
2433
+ end
2434
+
2435
+ # Update properties of this object
2436
+ def update!(**args)
2437
+ @database_metadata = args[:database_metadata] if args.key?(:database_metadata)
2438
+ end
2439
+ end
2440
+
2441
+ # Metadata for individual databases created in an instance. i.e. spanner
2442
+ # instance can have multiple databases with unique configuration settings.
2443
+ class StorageDatabasecenterPartnerapiV1mainDatabaseMetadata
2444
+ include Google::Apis::Core::Hashable
2445
+
2446
+ # Configuration for automatic backups
2447
+ # Corresponds to the JSON property `backupConfiguration`
2448
+ # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainBackupConfiguration]
2449
+ attr_accessor :backup_configuration
2450
+
2451
+ # A backup run.
2452
+ # Corresponds to the JSON property `backupRun`
2453
+ # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainBackupRun]
2454
+ attr_accessor :backup_run
2455
+
2456
+ # Product specification for Condor resources.
2457
+ # Corresponds to the JSON property `product`
2458
+ # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterProtoCommonProduct]
2459
+ attr_accessor :product
2460
+
2461
+ # DatabaseResourceId will serve as primary key for any resource ingestion event.
2462
+ # Corresponds to the JSON property `resourceId`
2463
+ # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
2464
+ attr_accessor :resource_id
2465
+
2466
+ # Required. Database name. Resource name to follow CAIS resource_name format as
2467
+ # noted here go/condor-common-datamodel
2468
+ # Corresponds to the JSON property `resourceName`
2469
+ # @return [String]
2470
+ attr_accessor :resource_name
2471
+
2472
+ def initialize(**args)
2473
+ update!(**args)
2474
+ end
2475
+
2476
+ # Update properties of this object
2477
+ def update!(**args)
2478
+ @backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
2479
+ @backup_run = args[:backup_run] if args.key?(:backup_run)
2480
+ @product = args[:product] if args.key?(:product)
2481
+ @resource_id = args[:resource_id] if args.key?(:resource_id)
2482
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
2483
+ end
2484
+ end
2485
+
2255
2486
  # DatabaseResourceFeed is the top level proto to be used to ingest different
2256
2487
  # database resource level events into Condor platform.
2257
2488
  class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
@@ -2471,9 +2702,11 @@ module Google
2471
2702
  # @return [String]
2472
2703
  attr_accessor :current_state
2473
2704
 
2474
- # Any custom metadata associated with the resource (a JSON field)
2705
+ # Any custom metadata associated with the resource. i.e. A spanner instance can
2706
+ # have multiple databases with its own unique metadata. Information for these
2707
+ # individual databases can be captured in custom metadata data
2475
2708
  # Corresponds to the JSON property `customMetadata`
2476
- # @return [Hash<String,Object>]
2709
+ # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainCustomMetadataData]
2477
2710
  attr_accessor :custom_metadata
2478
2711
 
2479
2712
  # The state that the instance is expected to be in. For example, an instance
@@ -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.3.0"
19
+ GEM_VERSION = "0.5.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231128"
25
+ REVISION = "20240103"
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
 
@@ -328,6 +352,18 @@ module Google
328
352
  include Google::Apis::Core::JsonObjectSupport
329
353
  end
330
354
 
355
+ class StorageDatabasecenterPartnerapiV1mainCustomMetadataData
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class StorageDatabasecenterPartnerapiV1mainDatabaseMetadata
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
331
367
  class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
332
368
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
369
 
@@ -412,6 +448,13 @@ module Google
412
448
  include Google::Apis::Core::JsonObjectSupport
413
449
  end
414
450
 
451
+ class AuthorizedNetwork
452
+ # @private
453
+ class Representation < Google::Apis::Core::JsonRepresentation
454
+ property :cidr_range, as: 'cidrRange'
455
+ end
456
+ end
457
+
415
458
  class AutomatedBackupPolicy
416
459
  # @private
417
460
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -548,6 +591,7 @@ module Google
548
591
  property :ip_address, as: 'ipAddress'
549
592
  property :name, as: 'name'
550
593
  collection :pem_certificate_chain, as: 'pemCertificateChain'
594
+ property :public_ip_address, as: 'publicIpAddress'
551
595
  end
552
596
  end
553
597
 
@@ -687,8 +731,13 @@ module Google
687
731
  property :machine_config, as: 'machineConfig', class: Google::Apis::AlloydbV1alpha::MachineConfig, decorator: Google::Apis::AlloydbV1alpha::MachineConfig::Representation
688
732
 
689
733
  property :name, as: 'name'
734
+ property :network_config, as: 'networkConfig', class: Google::Apis::AlloydbV1alpha::InstanceNetworkConfig, decorator: Google::Apis::AlloydbV1alpha::InstanceNetworkConfig::Representation
735
+
690
736
  collection :nodes, as: 'nodes', class: Google::Apis::AlloydbV1alpha::Node, decorator: Google::Apis::AlloydbV1alpha::Node::Representation
691
737
 
738
+ property :psc_instance_config, as: 'pscInstanceConfig', class: Google::Apis::AlloydbV1alpha::PscInstanceConfig, decorator: Google::Apis::AlloydbV1alpha::PscInstanceConfig::Representation
739
+
740
+ property :public_ip_address, as: 'publicIpAddress'
692
741
  property :query_insights_config, as: 'queryInsightsConfig', class: Google::Apis::AlloydbV1alpha::QueryInsightsInstanceConfig, decorator: Google::Apis::AlloydbV1alpha::QueryInsightsInstanceConfig::Representation
693
742
 
694
743
  property :read_pool_config, as: 'readPoolConfig', class: Google::Apis::AlloydbV1alpha::ReadPoolConfig, decorator: Google::Apis::AlloydbV1alpha::ReadPoolConfig::Representation
@@ -706,6 +755,15 @@ module Google
706
755
  end
707
756
  end
708
757
 
758
+ class InstanceNetworkConfig
759
+ # @private
760
+ class Representation < Google::Apis::Core::JsonRepresentation
761
+ collection :authorized_external_networks, as: 'authorizedExternalNetworks', class: Google::Apis::AlloydbV1alpha::AuthorizedNetwork, decorator: Google::Apis::AlloydbV1alpha::AuthorizedNetwork::Representation
762
+
763
+ property :enable_public_ip, as: 'enablePublicIp'
764
+ end
765
+ end
766
+
709
767
  class IntegerRestrictions
710
768
  # @private
711
769
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -854,6 +912,27 @@ module Google
854
912
  end
855
913
  end
856
914
 
915
+ class PscInstanceConfig
916
+ # @private
917
+ class Representation < Google::Apis::Core::JsonRepresentation
918
+ collection :allowed_consumer_networks, as: 'allowedConsumerNetworks'
919
+ collection :allowed_consumer_projects, as: 'allowedConsumerProjects'
920
+ collection :outgoing_service_attachment_links, as: 'outgoingServiceAttachmentLinks'
921
+ property :psc_enabled, as: 'pscEnabled'
922
+ collection :psc_interface_configs, as: 'pscInterfaceConfigs', class: Google::Apis::AlloydbV1alpha::PscInterfaceConfig, decorator: Google::Apis::AlloydbV1alpha::PscInterfaceConfig::Representation
923
+
924
+ property :service_attachment_link, as: 'serviceAttachmentLink'
925
+ end
926
+ end
927
+
928
+ class PscInterfaceConfig
929
+ # @private
930
+ class Representation < Google::Apis::Core::JsonRepresentation
931
+ collection :consumer_endpoint_ips, as: 'consumerEndpointIps'
932
+ property :network_attachment, as: 'networkAttachment'
933
+ end
934
+ end
935
+
857
936
  class QuantityBasedExpiry
858
937
  # @private
859
938
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -971,6 +1050,29 @@ module Google
971
1050
  end
972
1051
  end
973
1052
 
1053
+ class StorageDatabasecenterPartnerapiV1mainCustomMetadataData
1054
+ # @private
1055
+ class Representation < Google::Apis::Core::JsonRepresentation
1056
+ collection :database_metadata, as: 'databaseMetadata', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseMetadata, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseMetadata::Representation
1057
+
1058
+ end
1059
+ end
1060
+
1061
+ class StorageDatabasecenterPartnerapiV1mainDatabaseMetadata
1062
+ # @private
1063
+ class Representation < Google::Apis::Core::JsonRepresentation
1064
+ property :backup_configuration, as: 'backupConfiguration', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainBackupConfiguration, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainBackupConfiguration::Representation
1065
+
1066
+ property :backup_run, as: 'backupRun', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainBackupRun, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainBackupRun::Representation
1067
+
1068
+ property :product, as: 'product', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterProtoCommonProduct, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterProtoCommonProduct::Representation
1069
+
1070
+ property :resource_id, as: 'resourceId', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
1071
+
1072
+ property :resource_name, as: 'resourceName'
1073
+ end
1074
+ end
1075
+
974
1076
  class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
975
1077
  # @private
976
1078
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1026,7 +1128,8 @@ module Google
1026
1128
 
1027
1129
  property :creation_time, as: 'creationTime'
1028
1130
  property :current_state, as: 'currentState'
1029
- hash :custom_metadata, as: 'customMetadata'
1131
+ property :custom_metadata, as: 'customMetadata', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainCustomMetadataData, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainCustomMetadataData::Representation
1132
+
1030
1133
  property :expected_state, as: 'expectedState'
1031
1134
  property :id, as: 'id', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
1032
1135
 
@@ -42,6 +42,8 @@ module Google
42
42
  #
43
43
  # @see https://cloud.google.com/alloydb/
44
44
  class CloudAlloyDBAdminService < Google::Apis::Core::BaseService
45
+ DEFAULT_ENDPOINT_TEMPLATE = "https://alloydb.$UNIVERSE_DOMAIN$/"
46
+
45
47
  # @return [String]
46
48
  # API key. Your API key identifies your project and provides you with API access,
47
49
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -53,7 +55,7 @@ module Google
53
55
  attr_accessor :quota_user
54
56
 
55
57
  def initialize
56
- super('https://alloydb.googleapis.com/', '',
58
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
57
59
  client_name: 'google-apis-alloydb_v1alpha',
58
60
  client_version: Google::Apis::AlloydbV1alpha::GEM_VERSION)
59
61
  @batch_path = 'batch'
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.3.0
4
+ version: 0.5.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-10 00:00:00.000000000 Z
11
+ date: 2024-01-23 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.11.0
19
+ version: 0.12.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.11.0
29
+ version: 0.12.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-alloydb_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1alpha/v0.3.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1alpha/v0.5.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.19
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for AlloyDB API V1alpha