Skip to content

Commit 63958b8

Browse files
feat: Automated regeneration of alloydb v1alpha client (googleapis#26602)
Auto-created at 2026-05-31 11:00:42 +0000 using the toys pull request generator.
1 parent 5f8d8d5 commit 63958b8

5 files changed

Lines changed: 81 additions & 4 deletions

File tree

api_names_out.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32117,6 +32117,8 @@
3211732117
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceId/resourceType": resource_type
3211832118
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceId/uniqueId": unique_id
3211932119
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata": storage_databasecenter_partnerapi_v1main_database_resource_metadata
32120+
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/additionalMetadata": additional_metadata
32121+
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/additionalMetadata/additional_metadatum": additional_metadatum
3212032122
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/availabilityConfiguration": availability_configuration
3212132123
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/backupConfiguration": backup_configuration
3212232124
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/backupRun": backup_run
@@ -32132,6 +32134,10 @@
3213232134
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/gcbdrConfiguration": gcbdr_configuration
3213332135
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/id": id
3213432136
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/instanceType": instance_type
32137+
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/internalAdditionalMetadata": internal_additional_metadata
32138+
? "/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/internalAdditionalMetadata/internal_additional_metadatum"
32139+
: internal_additional_metadatum
32140+
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/ipAddress": ip_address
3213532141
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/isDeletionProtectionEnabled": is_deletion_protection_enabled
3213632142
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/location": location
3213732143
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/machineConfiguration": machine_configuration
@@ -32186,6 +32192,9 @@
3218632192
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata/product": product
3218732193
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata/resourceId": resource_id
3218832194
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata/resourceName": resource_name
32195+
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainIpAddress": storage_databasecenter_partnerapi_v1main_ip_address
32196+
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainIpAddress/privateIp": private_ip
32197+
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainIpAddress/publicIp": public_ip
3218932198
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainMachineConfiguration": storage_databasecenter_partnerapi_v1main_machine_configuration
3219032199
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainMachineConfiguration/baselineSlots": baseline_slots
3219132200
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainMachineConfiguration/cpuCount": cpu_count

generated/google-apis-alloydb_v1alpha/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-alloydb_v1alpha
22

3+
### v0.53.0 (2026-05-31)
4+
5+
* Regenerated from discovery document revision 20260520
6+
37
### v0.52.0 (2026-05-17)
48

59
* Regenerated from discovery document revision 20260507

generated/google-apis-alloydb_v1alpha/lib/google/apis/alloydb_v1alpha/classes.rb

Lines changed: 48 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4258,7 +4258,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
42584258
# @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
42594259
attr_accessor :resource_id
42604260

4261-
# Common model for database resource instance metadata. Next ID: 32
4261+
# Common model for database resource instance metadata. Next ID: 35
42624262
# Corresponds to the JSON property `resourceMetadata`
42634263
# @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata]
42644264
attr_accessor :resource_metadata
@@ -4456,10 +4456,15 @@ def update!(**args)
44564456
end
44574457
end
44584458

4459-
# Common model for database resource instance metadata. Next ID: 32
4459+
# Common model for database resource instance metadata. Next ID: 35
44604460
class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
44614461
include Google::Apis::Core::Hashable
44624462

4463+
# Field to ingest additional metadata whichd does not support proto format.
4464+
# Corresponds to the JSON property `additionalMetadata`
4465+
# @return [Hash<String,Object>]
4466+
attr_accessor :additional_metadata
4467+
44634468
# Configuration for availability of database instance
44644469
# Corresponds to the JSON property `availabilityConfiguration`
44654470
# @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration]
@@ -4533,6 +4538,16 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
45334538
# @return [String]
45344539
attr_accessor :instance_type
45354540

4541+
# Field to ingest additional metadata which support proto format.
4542+
# Corresponds to the JSON property `internalAdditionalMetadata`
4543+
# @return [Hash<String,Object>]
4544+
attr_accessor :internal_additional_metadata
4545+
4546+
# Used to send IP address information for a database resource.
4547+
# Corresponds to the JSON property `ipAddress`
4548+
# @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainIpAddress]
4549+
attr_accessor :ip_address
4550+
45364551
# Optional. Whether deletion protection is enabled for this resource.
45374552
# Corresponds to the JSON property `isDeletionProtectionEnabled`
45384553
# @return [Boolean]
@@ -4633,6 +4648,7 @@ def initialize(**args)
46334648

46344649
# Update properties of this object
46354650
def update!(**args)
4651+
@additional_metadata = args[:additional_metadata] if args.key?(:additional_metadata)
46364652
@availability_configuration = args[:availability_configuration] if args.key?(:availability_configuration)
46374653
@backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
46384654
@backup_run = args[:backup_run] if args.key?(:backup_run)
@@ -4646,6 +4662,8 @@ def update!(**args)
46464662
@gcbdr_configuration = args[:gcbdr_configuration] if args.key?(:gcbdr_configuration)
46474663
@id = args[:id] if args.key?(:id)
46484664
@instance_type = args[:instance_type] if args.key?(:instance_type)
4665+
@internal_additional_metadata = args[:internal_additional_metadata] if args.key?(:internal_additional_metadata)
4666+
@ip_address = args[:ip_address] if args.key?(:ip_address)
46494667
@is_deletion_protection_enabled = args[:is_deletion_protection_enabled] if args.key?(:is_deletion_protection_enabled)
46504668
@location = args[:location] if args.key?(:location)
46514669
@machine_configuration = args[:machine_configuration] if args.key?(:machine_configuration)
@@ -4908,6 +4926,34 @@ def update!(**args)
49084926
end
49094927
end
49104928

4929+
# Used to send IP address information for a database resource.
4930+
class StorageDatabasecenterPartnerapiV1mainIpAddress
4931+
include Google::Apis::Core::Hashable
4932+
4933+
# The private IP address assigned to the resource within a Virtual Private Cloud
4934+
# (VPC). This IP is only reachable from within the same VPC network. Stored in
4935+
# standard string format (e.g., "10.0.0.2").
4936+
# Corresponds to the JSON property `privateIp`
4937+
# @return [String]
4938+
attr_accessor :private_ip
4939+
4940+
# The public IP address assigned to the resource. This IP is reachable from the
4941+
# internet. Stored in standard string format (e.g., "34.72.1.1").
4942+
# Corresponds to the JSON property `publicIp`
4943+
# @return [String]
4944+
attr_accessor :public_ip
4945+
4946+
def initialize(**args)
4947+
update!(**args)
4948+
end
4949+
4950+
# Update properties of this object
4951+
def update!(**args)
4952+
@private_ip = args[:private_ip] if args.key?(:private_ip)
4953+
@public_ip = args[:public_ip] if args.key?(:public_ip)
4954+
end
4955+
end
4956+
49114957
# MachineConfiguration describes the configuration of a machine specific to
49124958
# Database Resource.
49134959
class StorageDatabasecenterPartnerapiV1mainMachineConfiguration

generated/google-apis-alloydb_v1alpha/lib/google/apis/alloydb_v1alpha/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module AlloydbV1alpha
1818
# Version of the google-apis-alloydb_v1alpha gem
19-
GEM_VERSION = "0.52.0"
19+
GEM_VERSION = "0.53.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20260507"
25+
REVISION = "20260520"
2626
end
2727
end
2828
end

generated/google-apis-alloydb_v1alpha/lib/google/apis/alloydb_v1alpha/representations.rb

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -646,6 +646,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
646646
include Google::Apis::Core::JsonObjectSupport
647647
end
648648

649+
class StorageDatabasecenterPartnerapiV1mainIpAddress
650+
class Representation < Google::Apis::Core::JsonRepresentation; end
651+
652+
include Google::Apis::Core::JsonObjectSupport
653+
end
654+
649655
class StorageDatabasecenterPartnerapiV1mainMachineConfiguration
650656
class Representation < Google::Apis::Core::JsonRepresentation; end
651657

@@ -1924,6 +1930,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
19241930
class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
19251931
# @private
19261932
class Representation < Google::Apis::Core::JsonRepresentation
1933+
hash :additional_metadata, as: 'additionalMetadata'
19271934
property :availability_configuration, as: 'availabilityConfiguration', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration::Representation
19281935

19291936
property :backup_configuration, as: 'backupConfiguration', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainBackupConfiguration, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainBackupConfiguration::Representation
@@ -1945,6 +1952,9 @@ class Representation < Google::Apis::Core::JsonRepresentation
19451952
property :id, as: 'id', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
19461953

19471954
property :instance_type, as: 'instanceType'
1955+
hash :internal_additional_metadata, as: 'internalAdditionalMetadata'
1956+
property :ip_address, as: 'ipAddress', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainIpAddress, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainIpAddress::Representation
1957+
19481958
property :is_deletion_protection_enabled, as: 'isDeletionProtectionEnabled'
19491959
property :location, as: 'location'
19501960
property :machine_configuration, as: 'machineConfiguration', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainMachineConfiguration, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainMachineConfiguration::Representation
@@ -2034,6 +2044,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
20342044
end
20352045
end
20362046

2047+
class StorageDatabasecenterPartnerapiV1mainIpAddress
2048+
# @private
2049+
class Representation < Google::Apis::Core::JsonRepresentation
2050+
property :private_ip, as: 'privateIp'
2051+
property :public_ip, as: 'publicIp'
2052+
end
2053+
end
2054+
20372055
class StorageDatabasecenterPartnerapiV1mainMachineConfiguration
20382056
# @private
20392057
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)