diff --git a/api_names_out.yaml b/api_names_out.yaml index 9dfbe83e0c0..9e5324d3d29 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -20850,6 +20850,7 @@ "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/product": product "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/resourceContainer": resource_container "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/resourceName": resource_name +"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/tagsSet": tags_set "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/updationTime": updation_time "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/userLabelSet": user_label_set "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/userLabels": user_labels @@ -20877,6 +20878,7 @@ "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainMachineConfiguration": storage_databasecenter_partnerapi_v1main_machine_configuration "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainMachineConfiguration/cpuCount": cpu_count "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainMachineConfiguration/memorySizeInBytes": memory_size_in_bytes +"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainMachineConfiguration/shardCount": shard_count "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainObservabilityMetricData": storage_databasecenter_partnerapi_v1main_observability_metric_data "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainObservabilityMetricData/aggregationType": aggregation_type "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainObservabilityMetricData/metricTimestamp": metric_timestamp @@ -20892,6 +20894,9 @@ "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainRetentionSettings/quantityBasedRetention": quantity_based_retention "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainRetentionSettings/retentionUnit": retention_unit "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainRetentionSettings/timeBasedRetention": time_based_retention +"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainTags": storage_databasecenter_partnerapi_v1main_tags +"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainTags/tags": tags +"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainTags/tags/tag": tag "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainUserLabels": storage_databasecenter_partnerapi_v1main_user_labels "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainUserLabels/labels": labels "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainUserLabels/labels/label": label diff --git a/generated/google-apis-alloydb_v1/CHANGELOG.md b/generated/google-apis-alloydb_v1/CHANGELOG.md index 73fdc4ab7a3..5d7a37760a5 100644 --- a/generated/google-apis-alloydb_v1/CHANGELOG.md +++ b/generated/google-apis-alloydb_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-alloydb_v1 +### v0.22.0 (2024-09-22) + +* Regenerated from discovery document revision 20240909 + ### v0.21.0 (2024-09-08) * Regenerated from discovery document revision 20240828 diff --git a/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/classes.rb b/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/classes.rb index 8bd5408e0b1..ca064841a99 100644 --- a/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/classes.rb +++ b/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/classes.rb @@ -2542,7 +2542,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId] attr_accessor :resource_id - # Common model for database resource instance metadata. + # Common model for database resource instance metadata. Next ID: 21 # Corresponds to the JSON property `resourceMetadata` # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata] attr_accessor :resource_metadata @@ -2717,7 +2717,7 @@ def update!(**args) end end - # Common model for database resource instance metadata. + # Common model for database resource instance metadata. Next ID: 21 class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata include Google::Apis::Core::Hashable @@ -2813,6 +2813,13 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata # @return [String] attr_accessor :resource_name + # Message type for storing tags. Tags provide a way to create annotations for + # resources, and in some cases conditionally allow or deny policies based on + # whether a resource has a specific tag. + # Corresponds to the JSON property `tagsSet` + # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainTags] + attr_accessor :tags_set + # The time at which the resource was updated and recorded at partner service. # Corresponds to the JSON property `updationTime` # @return [String] @@ -2847,6 +2854,7 @@ def update!(**args) @product = args[:product] if args.key?(:product) @resource_container = args[:resource_container] if args.key?(:resource_container) @resource_name = args[:resource_name] if args.key?(:resource_name) + @tags_set = args[:tags_set] if args.key?(:tags_set) @updation_time = args[:updation_time] if args.key?(:updation_time) @user_label_set = args[:user_label_set] if args.key?(:user_label_set) end @@ -3014,6 +3022,11 @@ class StorageDatabasecenterPartnerapiV1mainMachineConfiguration # @return [Fixnum] attr_accessor :memory_size_in_bytes + # Optional. Number of shards (if applicable). + # Corresponds to the JSON property `shardCount` + # @return [Fixnum] + attr_accessor :shard_count + def initialize(**args) update!(**args) end @@ -3022,6 +3035,7 @@ def initialize(**args) def update!(**args) @cpu_count = args[:cpu_count] if args.key?(:cpu_count) @memory_size_in_bytes = args[:memory_size_in_bytes] if args.key?(:memory_size_in_bytes) + @shard_count = args[:shard_count] if args.key?(:shard_count) end end @@ -3132,6 +3146,27 @@ def update!(**args) end end + # Message type for storing tags. Tags provide a way to create annotations for + # resources, and in some cases conditionally allow or deny policies based on + # whether a resource has a specific tag. + class StorageDatabasecenterPartnerapiV1mainTags + include Google::Apis::Core::Hashable + + # The Tag key/value mappings. + # Corresponds to the JSON property `tags` + # @return [Hash] + attr_accessor :tags + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @tags = args[:tags] if args.key?(:tags) + end + end + # Message type for storing user labels. User labels are used to tag App Engine # resources, allowing users to search for resources matching a set of labels and # to aggregate usage data by labels. diff --git a/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/gem_version.rb b/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/gem_version.rb index a08946069cc..41b13cae33a 100644 --- a/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/gem_version.rb +++ b/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module AlloydbV1 # Version of the google-apis-alloydb_v1 gem - GEM_VERSION = "0.21.0" + GEM_VERSION = "0.22.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.15.1" # Revision of the discovery document this client was generated from - REVISION = "20240828" + REVISION = "20240909" end end end diff --git a/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/representations.rb b/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/representations.rb index 041d758344a..10122457ccf 100644 --- a/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/representations.rb +++ b/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/representations.rb @@ -442,6 +442,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class StorageDatabasecenterPartnerapiV1mainTags + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class StorageDatabasecenterPartnerapiV1mainUserLabels class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1237,6 +1243,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :resource_container, as: 'resourceContainer' property :resource_name, as: 'resourceName' + property :tags_set, as: 'tagsSet', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainTags, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainTags::Representation + property :updation_time, as: 'updationTime' property :user_label_set, as: 'userLabelSet', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainUserLabels, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainUserLabels::Representation @@ -1285,6 +1293,7 @@ class StorageDatabasecenterPartnerapiV1mainMachineConfiguration class Representation < Google::Apis::Core::JsonRepresentation property :cpu_count, as: 'cpuCount' property :memory_size_in_bytes, :numeric_string => true, as: 'memorySizeInBytes' + property :shard_count, as: 'shardCount' end end @@ -1318,6 +1327,13 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class StorageDatabasecenterPartnerapiV1mainTags + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :tags, as: 'tags' + end + end + class StorageDatabasecenterPartnerapiV1mainUserLabels # @private class Representation < Google::Apis::Core::JsonRepresentation