Skip to content

Commit 19476b5

Browse files
feat: Automated regeneration of alloydb v1 client (googleapis#26591)
Auto-created at 2026-05-31 10:32:03 +0000 using the toys pull request generator.
1 parent 16fed4f commit 19476b5

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
@@ -31112,6 +31112,8 @@
3111231112
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceId/resourceType": resource_type
3111331113
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceId/uniqueId": unique_id
3111431114
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata": storage_databasecenter_partnerapi_v1main_database_resource_metadata
31115+
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/additionalMetadata": additional_metadata
31116+
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/additionalMetadata/additional_metadatum": additional_metadatum
3111531117
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/availabilityConfiguration": availability_configuration
3111631118
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/backupConfiguration": backup_configuration
3111731119
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/backupRun": backup_run
@@ -31127,6 +31129,10 @@
3112731129
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/gcbdrConfiguration": gcbdr_configuration
3112831130
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/id": id
3112931131
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/instanceType": instance_type
31132+
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/internalAdditionalMetadata": internal_additional_metadata
31133+
? "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/internalAdditionalMetadata/internal_additional_metadatum"
31134+
: internal_additional_metadatum
31135+
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/ipAddress": ip_address
3113031136
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/isDeletionProtectionEnabled": is_deletion_protection_enabled
3113131137
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/location": location
3113231138
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/machineConfiguration": machine_configuration
@@ -31181,6 +31187,9 @@
3118131187
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata/product": product
3118231188
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata/resourceId": resource_id
3118331189
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata/resourceName": resource_name
31190+
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainIpAddress": storage_databasecenter_partnerapi_v1main_ip_address
31191+
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainIpAddress/privateIp": private_ip
31192+
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainIpAddress/publicIp": public_ip
3118431193
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainMachineConfiguration": storage_databasecenter_partnerapi_v1main_machine_configuration
3118531194
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainMachineConfiguration/baselineSlots": baseline_slots
3118631195
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainMachineConfiguration/cpuCount": cpu_count

generated/google-apis-alloydb_v1/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_v1
22

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

59
* Regenerated from discovery document revision 20260507

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

Lines changed: 48 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3793,7 +3793,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
37933793
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
37943794
attr_accessor :resource_id
37953795

3796-
# Common model for database resource instance metadata. Next ID: 32
3796+
# Common model for database resource instance metadata. Next ID: 35
37973797
# Corresponds to the JSON property `resourceMetadata`
37983798
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata]
37993799
attr_accessor :resource_metadata
@@ -3991,10 +3991,15 @@ def update!(**args)
39913991
end
39923992
end
39933993

3994-
# Common model for database resource instance metadata. Next ID: 32
3994+
# Common model for database resource instance metadata. Next ID: 35
39953995
class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
39963996
include Google::Apis::Core::Hashable
39973997

3998+
# Field to ingest additional metadata whichd does not support proto format.
3999+
# Corresponds to the JSON property `additionalMetadata`
4000+
# @return [Hash<String,Object>]
4001+
attr_accessor :additional_metadata
4002+
39984003
# Configuration for availability of database instance
39994004
# Corresponds to the JSON property `availabilityConfiguration`
40004005
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration]
@@ -4068,6 +4073,16 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
40684073
# @return [String]
40694074
attr_accessor :instance_type
40704075

4076+
# Field to ingest additional metadata which support proto format.
4077+
# Corresponds to the JSON property `internalAdditionalMetadata`
4078+
# @return [Hash<String,Object>]
4079+
attr_accessor :internal_additional_metadata
4080+
4081+
# Used to send IP address information for a database resource.
4082+
# Corresponds to the JSON property `ipAddress`
4083+
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainIpAddress]
4084+
attr_accessor :ip_address
4085+
40714086
# Optional. Whether deletion protection is enabled for this resource.
40724087
# Corresponds to the JSON property `isDeletionProtectionEnabled`
40734088
# @return [Boolean]
@@ -4168,6 +4183,7 @@ def initialize(**args)
41684183

41694184
# Update properties of this object
41704185
def update!(**args)
4186+
@additional_metadata = args[:additional_metadata] if args.key?(:additional_metadata)
41714187
@availability_configuration = args[:availability_configuration] if args.key?(:availability_configuration)
41724188
@backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
41734189
@backup_run = args[:backup_run] if args.key?(:backup_run)
@@ -4181,6 +4197,8 @@ def update!(**args)
41814197
@gcbdr_configuration = args[:gcbdr_configuration] if args.key?(:gcbdr_configuration)
41824198
@id = args[:id] if args.key?(:id)
41834199
@instance_type = args[:instance_type] if args.key?(:instance_type)
4200+
@internal_additional_metadata = args[:internal_additional_metadata] if args.key?(:internal_additional_metadata)
4201+
@ip_address = args[:ip_address] if args.key?(:ip_address)
41844202
@is_deletion_protection_enabled = args[:is_deletion_protection_enabled] if args.key?(:is_deletion_protection_enabled)
41854203
@location = args[:location] if args.key?(:location)
41864204
@machine_configuration = args[:machine_configuration] if args.key?(:machine_configuration)
@@ -4443,6 +4461,34 @@ def update!(**args)
44434461
end
44444462
end
44454463

4464+
# Used to send IP address information for a database resource.
4465+
class StorageDatabasecenterPartnerapiV1mainIpAddress
4466+
include Google::Apis::Core::Hashable
4467+
4468+
# The private IP address assigned to the resource within a Virtual Private Cloud
4469+
# (VPC). This IP is only reachable from within the same VPC network. Stored in
4470+
# standard string format (e.g., "10.0.0.2").
4471+
# Corresponds to the JSON property `privateIp`
4472+
# @return [String]
4473+
attr_accessor :private_ip
4474+
4475+
# The public IP address assigned to the resource. This IP is reachable from the
4476+
# internet. Stored in standard string format (e.g., "34.72.1.1").
4477+
# Corresponds to the JSON property `publicIp`
4478+
# @return [String]
4479+
attr_accessor :public_ip
4480+
4481+
def initialize(**args)
4482+
update!(**args)
4483+
end
4484+
4485+
# Update properties of this object
4486+
def update!(**args)
4487+
@private_ip = args[:private_ip] if args.key?(:private_ip)
4488+
@public_ip = args[:public_ip] if args.key?(:public_ip)
4489+
end
4490+
end
4491+
44464492
# MachineConfiguration describes the configuration of a machine specific to
44474493
# Database Resource.
44484494
class StorageDatabasecenterPartnerapiV1mainMachineConfiguration

generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/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 AlloydbV1
1818
# Version of the google-apis-alloydb_v1 gem
19-
GEM_VERSION = "0.60.0"
19+
GEM_VERSION = "0.61.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_v1/lib/google/apis/alloydb_v1/representations.rb

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -598,6 +598,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
598598
include Google::Apis::Core::JsonObjectSupport
599599
end
600600

601+
class StorageDatabasecenterPartnerapiV1mainIpAddress
602+
class Representation < Google::Apis::Core::JsonRepresentation; end
603+
604+
include Google::Apis::Core::JsonObjectSupport
605+
end
606+
601607
class StorageDatabasecenterPartnerapiV1mainMachineConfiguration
602608
class Representation < Google::Apis::Core::JsonRepresentation; end
603609

@@ -1763,6 +1769,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
17631769
class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
17641770
# @private
17651771
class Representation < Google::Apis::Core::JsonRepresentation
1772+
hash :additional_metadata, as: 'additionalMetadata'
17661773
property :availability_configuration, as: 'availabilityConfiguration', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration::Representation
17671774

17681775
property :backup_configuration, as: 'backupConfiguration', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupConfiguration, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupConfiguration::Representation
@@ -1784,6 +1791,9 @@ class Representation < Google::Apis::Core::JsonRepresentation
17841791
property :id, as: 'id', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
17851792

17861793
property :instance_type, as: 'instanceType'
1794+
hash :internal_additional_metadata, as: 'internalAdditionalMetadata'
1795+
property :ip_address, as: 'ipAddress', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainIpAddress, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainIpAddress::Representation
1796+
17871797
property :is_deletion_protection_enabled, as: 'isDeletionProtectionEnabled'
17881798
property :location, as: 'location'
17891799
property :machine_configuration, as: 'machineConfiguration', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainMachineConfiguration, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainMachineConfiguration::Representation
@@ -1873,6 +1883,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
18731883
end
18741884
end
18751885

1886+
class StorageDatabasecenterPartnerapiV1mainIpAddress
1887+
# @private
1888+
class Representation < Google::Apis::Core::JsonRepresentation
1889+
property :private_ip, as: 'privateIp'
1890+
property :public_ip, as: 'publicIp'
1891+
end
1892+
end
1893+
18761894
class StorageDatabasecenterPartnerapiV1mainMachineConfiguration
18771895
# @private
18781896
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)