Skip to content

Commit 6fd6998

Browse files
feat: Automated regeneration of alloydb v1 client (googleapis#20269)
Auto-created at 2024-09-22 09:56:37 +0000 using the toys pull request generator.
1 parent 66bdace commit 6fd6998

File tree

5 files changed

+64
-4
lines changed

5 files changed

+64
-4
lines changed

api_names_out.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20850,6 +20850,7 @@
2085020850
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/product": product
2085120851
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/resourceContainer": resource_container
2085220852
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/resourceName": resource_name
20853+
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/tagsSet": tags_set
2085320854
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/updationTime": updation_time
2085420855
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/userLabelSet": user_label_set
2085520856
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/userLabels": user_labels
@@ -20877,6 +20878,7 @@
2087720878
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainMachineConfiguration": storage_databasecenter_partnerapi_v1main_machine_configuration
2087820879
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainMachineConfiguration/cpuCount": cpu_count
2087920880
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainMachineConfiguration/memorySizeInBytes": memory_size_in_bytes
20881+
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainMachineConfiguration/shardCount": shard_count
2088020882
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainObservabilityMetricData": storage_databasecenter_partnerapi_v1main_observability_metric_data
2088120883
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainObservabilityMetricData/aggregationType": aggregation_type
2088220884
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainObservabilityMetricData/metricTimestamp": metric_timestamp
@@ -20892,6 +20894,9 @@
2089220894
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainRetentionSettings/quantityBasedRetention": quantity_based_retention
2089320895
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainRetentionSettings/retentionUnit": retention_unit
2089420896
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainRetentionSettings/timeBasedRetention": time_based_retention
20897+
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainTags": storage_databasecenter_partnerapi_v1main_tags
20898+
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainTags/tags": tags
20899+
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainTags/tags/tag": tag
2089520900
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainUserLabels": storage_databasecenter_partnerapi_v1main_user_labels
2089620901
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainUserLabels/labels": labels
2089720902
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainUserLabels/labels/label": label

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.22.0 (2024-09-22)
4+
5+
* Regenerated from discovery document revision 20240909
6+
37
### v0.21.0 (2024-09-08)
48

59
* Regenerated from discovery document revision 20240828

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

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2542,7 +2542,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
25422542
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
25432543
attr_accessor :resource_id
25442544

2545-
# Common model for database resource instance metadata.
2545+
# Common model for database resource instance metadata. Next ID: 21
25462546
# Corresponds to the JSON property `resourceMetadata`
25472547
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata]
25482548
attr_accessor :resource_metadata
@@ -2717,7 +2717,7 @@ def update!(**args)
27172717
end
27182718
end
27192719

2720-
# Common model for database resource instance metadata.
2720+
# Common model for database resource instance metadata. Next ID: 21
27212721
class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
27222722
include Google::Apis::Core::Hashable
27232723

@@ -2813,6 +2813,13 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
28132813
# @return [String]
28142814
attr_accessor :resource_name
28152815

2816+
# Message type for storing tags. Tags provide a way to create annotations for
2817+
# resources, and in some cases conditionally allow or deny policies based on
2818+
# whether a resource has a specific tag.
2819+
# Corresponds to the JSON property `tagsSet`
2820+
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainTags]
2821+
attr_accessor :tags_set
2822+
28162823
# The time at which the resource was updated and recorded at partner service.
28172824
# Corresponds to the JSON property `updationTime`
28182825
# @return [String]
@@ -2847,6 +2854,7 @@ def update!(**args)
28472854
@product = args[:product] if args.key?(:product)
28482855
@resource_container = args[:resource_container] if args.key?(:resource_container)
28492856
@resource_name = args[:resource_name] if args.key?(:resource_name)
2857+
@tags_set = args[:tags_set] if args.key?(:tags_set)
28502858
@updation_time = args[:updation_time] if args.key?(:updation_time)
28512859
@user_label_set = args[:user_label_set] if args.key?(:user_label_set)
28522860
end
@@ -3014,6 +3022,11 @@ class StorageDatabasecenterPartnerapiV1mainMachineConfiguration
30143022
# @return [Fixnum]
30153023
attr_accessor :memory_size_in_bytes
30163024

3025+
# Optional. Number of shards (if applicable).
3026+
# Corresponds to the JSON property `shardCount`
3027+
# @return [Fixnum]
3028+
attr_accessor :shard_count
3029+
30173030
def initialize(**args)
30183031
update!(**args)
30193032
end
@@ -3022,6 +3035,7 @@ def initialize(**args)
30223035
def update!(**args)
30233036
@cpu_count = args[:cpu_count] if args.key?(:cpu_count)
30243037
@memory_size_in_bytes = args[:memory_size_in_bytes] if args.key?(:memory_size_in_bytes)
3038+
@shard_count = args[:shard_count] if args.key?(:shard_count)
30253039
end
30263040
end
30273041

@@ -3132,6 +3146,27 @@ def update!(**args)
31323146
end
31333147
end
31343148

3149+
# Message type for storing tags. Tags provide a way to create annotations for
3150+
# resources, and in some cases conditionally allow or deny policies based on
3151+
# whether a resource has a specific tag.
3152+
class StorageDatabasecenterPartnerapiV1mainTags
3153+
include Google::Apis::Core::Hashable
3154+
3155+
# The Tag key/value mappings.
3156+
# Corresponds to the JSON property `tags`
3157+
# @return [Hash<String,String>]
3158+
attr_accessor :tags
3159+
3160+
def initialize(**args)
3161+
update!(**args)
3162+
end
3163+
3164+
# Update properties of this object
3165+
def update!(**args)
3166+
@tags = args[:tags] if args.key?(:tags)
3167+
end
3168+
end
3169+
31353170
# Message type for storing user labels. User labels are used to tag App Engine
31363171
# resources, allowing users to search for resources matching a set of labels and
31373172
# to aggregate usage data by labels.

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.21.0"
19+
GEM_VERSION = "0.22.0"
2020

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

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

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
442442
include Google::Apis::Core::JsonObjectSupport
443443
end
444444

445+
class StorageDatabasecenterPartnerapiV1mainTags
446+
class Representation < Google::Apis::Core::JsonRepresentation; end
447+
448+
include Google::Apis::Core::JsonObjectSupport
449+
end
450+
445451
class StorageDatabasecenterPartnerapiV1mainUserLabels
446452
class Representation < Google::Apis::Core::JsonRepresentation; end
447453

@@ -1237,6 +1243,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
12371243

12381244
property :resource_container, as: 'resourceContainer'
12391245
property :resource_name, as: 'resourceName'
1246+
property :tags_set, as: 'tagsSet', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainTags, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainTags::Representation
1247+
12401248
property :updation_time, as: 'updationTime'
12411249
property :user_label_set, as: 'userLabelSet', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainUserLabels, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainUserLabels::Representation
12421250

@@ -1285,6 +1293,7 @@ class StorageDatabasecenterPartnerapiV1mainMachineConfiguration
12851293
class Representation < Google::Apis::Core::JsonRepresentation
12861294
property :cpu_count, as: 'cpuCount'
12871295
property :memory_size_in_bytes, :numeric_string => true, as: 'memorySizeInBytes'
1296+
property :shard_count, as: 'shardCount'
12881297
end
12891298
end
12901299

@@ -1318,6 +1327,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
13181327
end
13191328
end
13201329

1330+
class StorageDatabasecenterPartnerapiV1mainTags
1331+
# @private
1332+
class Representation < Google::Apis::Core::JsonRepresentation
1333+
hash :tags, as: 'tags'
1334+
end
1335+
end
1336+
13211337
class StorageDatabasecenterPartnerapiV1mainUserLabels
13221338
# @private
13231339
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)