From 3db703175c1b30068ddab565771e245640b6b75d Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sun, 31 May 2026 11:00:43 +0000 Subject: [PATCH] feat: Automated regeneration of alloydb v1alpha client --- api_names_out.yaml | 9 ++++ .../google-apis-alloydb_v1alpha/CHANGELOG.md | 4 ++ .../google/apis/alloydb_v1alpha/classes.rb | 50 ++++++++++++++++++- .../apis/alloydb_v1alpha/gem_version.rb | 4 +- .../apis/alloydb_v1alpha/representations.rb | 18 +++++++ 5 files changed, 81 insertions(+), 4 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 7f1922eb343..547d0ded0ee 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -32107,6 +32107,8 @@ "/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceId/resourceType": resource_type "/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceId/uniqueId": unique_id "/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata": storage_databasecenter_partnerapi_v1main_database_resource_metadata +"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/additionalMetadata": additional_metadata +"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/additionalMetadata/additional_metadatum": additional_metadatum "/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/availabilityConfiguration": availability_configuration "/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/backupConfiguration": backup_configuration "/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/backupRun": backup_run @@ -32122,6 +32124,10 @@ "/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/gcbdrConfiguration": gcbdr_configuration "/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/id": id "/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/instanceType": instance_type +"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/internalAdditionalMetadata": internal_additional_metadata +? "/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/internalAdditionalMetadata/internal_additional_metadatum" +: internal_additional_metadatum +"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/ipAddress": ip_address "/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/isDeletionProtectionEnabled": is_deletion_protection_enabled "/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/location": location "/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/machineConfiguration": machine_configuration @@ -32176,6 +32182,9 @@ "/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata/product": product "/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata/resourceId": resource_id "/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata/resourceName": resource_name +"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainIpAddress": storage_databasecenter_partnerapi_v1main_ip_address +"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainIpAddress/privateIp": private_ip +"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainIpAddress/publicIp": public_ip "/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainMachineConfiguration": storage_databasecenter_partnerapi_v1main_machine_configuration "/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainMachineConfiguration/baselineSlots": baseline_slots "/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainMachineConfiguration/cpuCount": cpu_count diff --git a/generated/google-apis-alloydb_v1alpha/CHANGELOG.md b/generated/google-apis-alloydb_v1alpha/CHANGELOG.md index 11fea9a1d5c..a528160c4d1 100644 --- a/generated/google-apis-alloydb_v1alpha/CHANGELOG.md +++ b/generated/google-apis-alloydb_v1alpha/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-alloydb_v1alpha +### v0.53.0 (2026-05-31) + +* Regenerated from discovery document revision 20260520 + ### v0.52.0 (2026-05-17) * Regenerated from discovery document revision 20260507 diff --git a/generated/google-apis-alloydb_v1alpha/lib/google/apis/alloydb_v1alpha/classes.rb b/generated/google-apis-alloydb_v1alpha/lib/google/apis/alloydb_v1alpha/classes.rb index 9fedb031632..98d0caa1d1c 100644 --- a/generated/google-apis-alloydb_v1alpha/lib/google/apis/alloydb_v1alpha/classes.rb +++ b/generated/google-apis-alloydb_v1alpha/lib/google/apis/alloydb_v1alpha/classes.rb @@ -4258,7 +4258,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId] attr_accessor :resource_id - # Common model for database resource instance metadata. Next ID: 32 + # Common model for database resource instance metadata. Next ID: 35 # Corresponds to the JSON property `resourceMetadata` # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata] attr_accessor :resource_metadata @@ -4456,10 +4456,15 @@ def update!(**args) end end - # Common model for database resource instance metadata. Next ID: 32 + # Common model for database resource instance metadata. Next ID: 35 class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata include Google::Apis::Core::Hashable + # Field to ingest additional metadata whichd does not support proto format. + # Corresponds to the JSON property `additionalMetadata` + # @return [Hash] + attr_accessor :additional_metadata + # Configuration for availability of database instance # Corresponds to the JSON property `availabilityConfiguration` # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration] @@ -4533,6 +4538,16 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata # @return [String] attr_accessor :instance_type + # Field to ingest additional metadata which support proto format. + # Corresponds to the JSON property `internalAdditionalMetadata` + # @return [Hash] + attr_accessor :internal_additional_metadata + + # Used to send IP address information for a database resource. + # Corresponds to the JSON property `ipAddress` + # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainIpAddress] + attr_accessor :ip_address + # Optional. Whether deletion protection is enabled for this resource. # Corresponds to the JSON property `isDeletionProtectionEnabled` # @return [Boolean] @@ -4633,6 +4648,7 @@ def initialize(**args) # Update properties of this object def update!(**args) + @additional_metadata = args[:additional_metadata] if args.key?(:additional_metadata) @availability_configuration = args[:availability_configuration] if args.key?(:availability_configuration) @backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration) @backup_run = args[:backup_run] if args.key?(:backup_run) @@ -4646,6 +4662,8 @@ def update!(**args) @gcbdr_configuration = args[:gcbdr_configuration] if args.key?(:gcbdr_configuration) @id = args[:id] if args.key?(:id) @instance_type = args[:instance_type] if args.key?(:instance_type) + @internal_additional_metadata = args[:internal_additional_metadata] if args.key?(:internal_additional_metadata) + @ip_address = args[:ip_address] if args.key?(:ip_address) @is_deletion_protection_enabled = args[:is_deletion_protection_enabled] if args.key?(:is_deletion_protection_enabled) @location = args[:location] if args.key?(:location) @machine_configuration = args[:machine_configuration] if args.key?(:machine_configuration) @@ -4908,6 +4926,34 @@ def update!(**args) end end + # Used to send IP address information for a database resource. + class StorageDatabasecenterPartnerapiV1mainIpAddress + include Google::Apis::Core::Hashable + + # The private IP address assigned to the resource within a Virtual Private Cloud + # (VPC). This IP is only reachable from within the same VPC network. Stored in + # standard string format (e.g., "10.0.0.2"). + # Corresponds to the JSON property `privateIp` + # @return [String] + attr_accessor :private_ip + + # The public IP address assigned to the resource. This IP is reachable from the + # internet. Stored in standard string format (e.g., "34.72.1.1"). + # Corresponds to the JSON property `publicIp` + # @return [String] + attr_accessor :public_ip + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @private_ip = args[:private_ip] if args.key?(:private_ip) + @public_ip = args[:public_ip] if args.key?(:public_ip) + end + end + # MachineConfiguration describes the configuration of a machine specific to # Database Resource. class StorageDatabasecenterPartnerapiV1mainMachineConfiguration diff --git a/generated/google-apis-alloydb_v1alpha/lib/google/apis/alloydb_v1alpha/gem_version.rb b/generated/google-apis-alloydb_v1alpha/lib/google/apis/alloydb_v1alpha/gem_version.rb index 6b0ddad6c15..bc6cfafd8ff 100644 --- a/generated/google-apis-alloydb_v1alpha/lib/google/apis/alloydb_v1alpha/gem_version.rb +++ b/generated/google-apis-alloydb_v1alpha/lib/google/apis/alloydb_v1alpha/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module AlloydbV1alpha # Version of the google-apis-alloydb_v1alpha gem - GEM_VERSION = "0.52.0" + GEM_VERSION = "0.53.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20260507" + REVISION = "20260520" end end end diff --git a/generated/google-apis-alloydb_v1alpha/lib/google/apis/alloydb_v1alpha/representations.rb b/generated/google-apis-alloydb_v1alpha/lib/google/apis/alloydb_v1alpha/representations.rb index 95138bfc263..ba98cc69bf1 100644 --- a/generated/google-apis-alloydb_v1alpha/lib/google/apis/alloydb_v1alpha/representations.rb +++ b/generated/google-apis-alloydb_v1alpha/lib/google/apis/alloydb_v1alpha/representations.rb @@ -646,6 +646,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class StorageDatabasecenterPartnerapiV1mainIpAddress + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class StorageDatabasecenterPartnerapiV1mainMachineConfiguration class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1924,6 +1930,7 @@ class Representation < Google::Apis::Core::JsonRepresentation class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation + hash :additional_metadata, as: 'additionalMetadata' property :availability_configuration, as: 'availabilityConfiguration', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration::Representation 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 property :id, as: 'id', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation property :instance_type, as: 'instanceType' + hash :internal_additional_metadata, as: 'internalAdditionalMetadata' + property :ip_address, as: 'ipAddress', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainIpAddress, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainIpAddress::Representation + property :is_deletion_protection_enabled, as: 'isDeletionProtectionEnabled' property :location, as: 'location' 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 end end + class StorageDatabasecenterPartnerapiV1mainIpAddress + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :private_ip, as: 'privateIp' + property :public_ip, as: 'publicIp' + end + end + class StorageDatabasecenterPartnerapiV1mainMachineConfiguration # @private class Representation < Google::Apis::Core::JsonRepresentation