Skip to content

Commit 4c951f9

Browse files
feat: Automated regeneration of alloydb v1 client (googleapis#25241)
Auto-created at 2025-12-14 10:54:55 +0000 using the toys pull request generator.
1 parent 9e2ab61 commit 4c951f9

File tree

6 files changed

+133
-17
lines changed

6 files changed

+133
-17
lines changed

api_names_out.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27761,6 +27761,15 @@
2776127761
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainBackupRun/error": error
2776227762
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainBackupRun/startTime": start_time
2776327763
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainBackupRun/status": status
27764+
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainBigQueryResourceMetadata": storage_databasecenter_partnerapi_v1main_big_query_resource_metadata
27765+
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainBigQueryResourceMetadata/createTime": create_time
27766+
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainBigQueryResourceMetadata/fullResourceName": full_resource_name
27767+
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainBigQueryResourceMetadata/location": location
27768+
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainBigQueryResourceMetadata/product": product
27769+
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainBigQueryResourceMetadata/resourceContainer": resource_container
27770+
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainBigQueryResourceMetadata/resourceId": resource_id
27771+
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainBigQueryResourceMetadata/updateTime": update_time
27772+
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainBigQueryResourceMetadata/userLabelSet": user_label_set
2776427773
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainCompliance": storage_databasecenter_partnerapi_v1main_compliance
2776527774
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainCompliance/standard": standard
2776627775
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainCompliance/version": version
@@ -27783,6 +27792,7 @@
2778327792
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseMetadata/resourceName": resource_name
2778427793
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed": storage_databasecenter_partnerapi_v1main_database_resource_feed
2778527794
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed/backupdrMetadata": backupdr_metadata
27795+
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed/bigqueryResourceMetadata": bigquery_resource_metadata
2778627796
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed/configBasedSignalData": config_based_signal_data
2778727797
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed/databaseResourceSignalData": database_resource_signal_data
2778827798
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed/feedTimestamp": feed_timestamp

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.51.0 (2025-12-14)
4+
5+
* Regenerated from discovery document revision 20251204
6+
37
### v0.50.0 (2025-11-16)
48

59
* Regenerated from discovery document revision 20251106

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

Lines changed: 86 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2174,8 +2174,9 @@ class ListOperationsResponse
21742174
attr_accessor :operations
21752175

21762176
# Unordered list. Unreachable resources. Populated when the request sets `
2177-
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
2178-
# when attempting to list all resources across all supported locations.
2177+
# ListOperationsRequest.return_partial_success` and reads across collections.
2178+
# For example, when attempting to list all resources across all supported
2179+
# locations.
21792180
# Corresponds to the JSON property `unreachable`
21802181
# @return [Array<String>]
21812182
attr_accessor :unreachable
@@ -3618,6 +3619,73 @@ def update!(**args)
36183619
end
36193620
end
36203621

3622+
# BigQueryResourceMetadata contains information about the BigQuery resource.
3623+
# Next ID: 9
3624+
class StorageDatabasecenterPartnerapiV1mainBigQueryResourceMetadata
3625+
include Google::Apis::Core::Hashable
3626+
3627+
# The creation time of the resource, i.e. the time when resource is created and
3628+
# recorded in partner service.
3629+
# Corresponds to the JSON property `createTime`
3630+
# @return [String]
3631+
attr_accessor :create_time
3632+
3633+
# Required. Full resource name of this instance.
3634+
# Corresponds to the JSON property `fullResourceName`
3635+
# @return [String]
3636+
attr_accessor :full_resource_name
3637+
3638+
# Required. location of the resource
3639+
# Corresponds to the JSON property `location`
3640+
# @return [String]
3641+
attr_accessor :location
3642+
3643+
# Product specification for Condor resources.
3644+
# Corresponds to the JSON property `product`
3645+
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterProtoCommonProduct]
3646+
attr_accessor :product
3647+
3648+
# Closest parent Cloud Resource Manager container of this resource. It must be
3649+
# resource name of a Cloud Resource Manager project with the format of "/", such
3650+
# as "projects/123". For GCP provided resources, number should be project number.
3651+
# Corresponds to the JSON property `resourceContainer`
3652+
# @return [String]
3653+
attr_accessor :resource_container
3654+
3655+
# DatabaseResourceId will serve as primary key for any resource ingestion event.
3656+
# Corresponds to the JSON property `resourceId`
3657+
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
3658+
attr_accessor :resource_id
3659+
3660+
# The time at which the resource was updated and recorded at partner service.
3661+
# Corresponds to the JSON property `updateTime`
3662+
# @return [String]
3663+
attr_accessor :update_time
3664+
3665+
# Message type for storing user labels. User labels are used to tag App Engine
3666+
# resources, allowing users to search for resources matching a set of labels and
3667+
# to aggregate usage data by labels.
3668+
# Corresponds to the JSON property `userLabelSet`
3669+
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainUserLabels]
3670+
attr_accessor :user_label_set
3671+
3672+
def initialize(**args)
3673+
update!(**args)
3674+
end
3675+
3676+
# Update properties of this object
3677+
def update!(**args)
3678+
@create_time = args[:create_time] if args.key?(:create_time)
3679+
@full_resource_name = args[:full_resource_name] if args.key?(:full_resource_name)
3680+
@location = args[:location] if args.key?(:location)
3681+
@product = args[:product] if args.key?(:product)
3682+
@resource_container = args[:resource_container] if args.key?(:resource_container)
3683+
@resource_id = args[:resource_id] if args.key?(:resource_id)
3684+
@update_time = args[:update_time] if args.key?(:update_time)
3685+
@user_label_set = args[:user_label_set] if args.key?(:user_label_set)
3686+
end
3687+
end
3688+
36213689
# Contains compliance information about a security standard indicating unmet
36223690
# recommendations.
36233691
class StorageDatabasecenterPartnerapiV1mainCompliance
@@ -3723,6 +3791,12 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
37233791
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupDrMetadata]
37243792
attr_accessor :backupdr_metadata
37253793

3794+
# BigQueryResourceMetadata contains information about the BigQuery resource.
3795+
# Next ID: 9
3796+
# Corresponds to the JSON property `bigqueryResourceMetadata`
3797+
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBigQueryResourceMetadata]
3798+
attr_accessor :bigquery_resource_metadata
3799+
37263800
# Config based signal data. This is used to send signals to Condor which are
37273801
# based on the DB level configurations. These will be used to send signals for
37283802
# self managed databases.
@@ -3789,6 +3863,7 @@ def initialize(**args)
37893863
# Update properties of this object
37903864
def update!(**args)
37913865
@backupdr_metadata = args[:backupdr_metadata] if args.key?(:backupdr_metadata)
3866+
@bigquery_resource_metadata = args[:bigquery_resource_metadata] if args.key?(:bigquery_resource_metadata)
37923867
@config_based_signal_data = args[:config_based_signal_data] if args.key?(:config_based_signal_data)
37933868
@database_resource_signal_data = args[:database_resource_signal_data] if args.key?(:database_resource_signal_data)
37943869
@feed_timestamp = args[:feed_timestamp] if args.key?(:feed_timestamp)
@@ -3934,14 +4009,15 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceId
39344009
attr_accessor :provider_description
39354010

39364011
# Required. The type of resource this ID is identifying. Ex go/keep-sorted start
3937-
# alloydb.googleapis.com/Cluster, alloydb.googleapis.com/Instance, bigtableadmin.
3938-
# googleapis.com/Cluster, bigtableadmin.googleapis.com/Instance compute.
3939-
# googleapis.com/Instance firestore.googleapis.com/Database, redis.googleapis.
3940-
# com/Instance, redis.googleapis.com/Cluster, oracledatabase.googleapis.com/
3941-
# CloudExadataInfrastructure oracledatabase.googleapis.com/CloudVmCluster
3942-
# oracledatabase.googleapis.com/AutonomousDatabase spanner.googleapis.com/
3943-
# Instance, spanner.googleapis.com/Database, sqladmin.googleapis.com/Instance,
3944-
# go/keep-sorted end REQUIRED Please refer go/condor-common-datamodel
4012+
# alloydb.googleapis.com/Cluster, alloydb.googleapis.com/Instance, bigquery.
4013+
# googleapis.com/Dataset, bigtableadmin.googleapis.com/Cluster, bigtableadmin.
4014+
# googleapis.com/Instance compute.googleapis.com/Instance firestore.googleapis.
4015+
# com/Database, redis.googleapis.com/Instance, redis.googleapis.com/Cluster,
4016+
# oracledatabase.googleapis.com/CloudExadataInfrastructure oracledatabase.
4017+
# googleapis.com/CloudVmCluster oracledatabase.googleapis.com/AutonomousDatabase
4018+
# spanner.googleapis.com/Instance, spanner.googleapis.com/Database, sqladmin.
4019+
# googleapis.com/Instance, go/keep-sorted end REQUIRED Please refer go/condor-
4020+
# common-datamodel
39454021
# Corresponds to the JSON property `resourceType`
39464022
# @return [String]
39474023
attr_accessor :resource_type

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.50.0"
19+
GEM_VERSION = "0.51.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 = "20251106"
25+
REVISION = "20251204"
2626
end
2727
end
2828
end

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

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
526526
include Google::Apis::Core::JsonObjectSupport
527527
end
528528

529+
class StorageDatabasecenterPartnerapiV1mainBigQueryResourceMetadata
530+
class Representation < Google::Apis::Core::JsonRepresentation; end
531+
532+
include Google::Apis::Core::JsonObjectSupport
533+
end
534+
529535
class StorageDatabasecenterPartnerapiV1mainCompliance
530536
class Representation < Google::Apis::Core::JsonRepresentation; end
531537

@@ -1654,6 +1660,23 @@ class Representation < Google::Apis::Core::JsonRepresentation
16541660
end
16551661
end
16561662

1663+
class StorageDatabasecenterPartnerapiV1mainBigQueryResourceMetadata
1664+
# @private
1665+
class Representation < Google::Apis::Core::JsonRepresentation
1666+
property :create_time, as: 'createTime'
1667+
property :full_resource_name, as: 'fullResourceName'
1668+
property :location, as: 'location'
1669+
property :product, as: 'product', class: Google::Apis::AlloydbV1::StorageDatabasecenterProtoCommonProduct, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterProtoCommonProduct::Representation
1670+
1671+
property :resource_container, as: 'resourceContainer'
1672+
property :resource_id, as: 'resourceId', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
1673+
1674+
property :update_time, as: 'updateTime'
1675+
property :user_label_set, as: 'userLabelSet', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainUserLabels, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainUserLabels::Representation
1676+
1677+
end
1678+
end
1679+
16571680
class StorageDatabasecenterPartnerapiV1mainCompliance
16581681
# @private
16591682
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1687,6 +1710,8 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
16871710
class Representation < Google::Apis::Core::JsonRepresentation
16881711
property :backupdr_metadata, as: 'backupdrMetadata', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupDrMetadata, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupDrMetadata::Representation
16891712

1713+
property :bigquery_resource_metadata, as: 'bigqueryResourceMetadata', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBigQueryResourceMetadata, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBigQueryResourceMetadata::Representation
1714+
16901715
property :config_based_signal_data, as: 'configBasedSignalData', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData::Representation
16911716

16921717
property :database_resource_signal_data, as: 'databaseResourceSignalData', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData::Representation

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1744,11 +1744,12 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
17441744
# The standard list page token.
17451745
# @param [Boolean] return_partial_success
17461746
# When set to `true`, operations that are reachable are returned as normal, and
1747-
# those that are unreachable are returned in the [ListOperationsResponse.
1748-
# unreachable] field. This can only be `true` when reading across collections e.
1749-
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
1750-
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
1751-
# explicitly documented otherwise in service or product specific documentation.
1747+
# those that are unreachable are returned in the ListOperationsResponse.
1748+
# unreachable field. This can only be `true` when reading across collections.
1749+
# For example, when `parent` is set to `"projects/example/locations/-"`. This
1750+
# field is not supported by default and will result in an `UNIMPLEMENTED` error
1751+
# if set unless explicitly documented otherwise in service or product specific
1752+
# documentation.
17521753
# @param [String] fields
17531754
# Selector specifying which fields to include in a partial response.
17541755
# @param [String] quota_user

0 commit comments

Comments
 (0)