Skip to content

Commit b03be88

Browse files
feat: Automated regeneration of serviceconsumermanagement v1 client (#24452)
Auto-created at 2025-09-28 10:49:49 +0000 using the toys pull request generator.
1 parent a9ed74c commit b03be88

File tree

5 files changed

+62
-12
lines changed

5 files changed

+62
-12
lines changed

api_names_out.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346465,6 +346465,7 @@
346465346465
"/serviceconsumermanagement:v1/AddTenantProjectRequest/projectConfig": project_config
346466346466
"/serviceconsumermanagement:v1/AddTenantProjectRequest/tag": tag
346467346467
"/serviceconsumermanagement:v1/Api": api
346468+
"/serviceconsumermanagement:v1/Api/edition": edition
346468346469
"/serviceconsumermanagement:v1/Api/methods": methods_prop
346469346470
"/serviceconsumermanagement:v1/Api/methods/methods_prop": methods_prop
346470346471
"/serviceconsumermanagement:v1/Api/mixins": mixins
@@ -346771,6 +346772,7 @@
346771346772
"/serviceconsumermanagement:v1/MediaUpload/startNotification": start_notification
346772346773
"/serviceconsumermanagement:v1/MediaUpload/uploadService": upload_service
346773346774
"/serviceconsumermanagement:v1/Method": method_prop
346775+
"/serviceconsumermanagement:v1/Method/edition": edition
346774346776
"/serviceconsumermanagement:v1/Method/name": name
346775346777
"/serviceconsumermanagement:v1/Method/options": options
346776346778
"/serviceconsumermanagement:v1/Method/options/option": option

generated/google-apis-serviceconsumermanagement_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-serviceconsumermanagement_v1
22

3+
### v0.62.0 (2025-09-28)
4+
5+
* Regenerated from discovery document revision 20250919
6+
37
### v0.61.0 (2025-07-27)
48

59
* Regenerated from discovery document revision 20250619

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

Lines changed: 52 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,19 @@ def update!(**args)
5656
# which represent a concrete implementation of an interface as opposed to simply
5757
# a description of methods and bindings. They are also sometimes simply referred
5858
# to as "APIs" in other contexts, such as the name of this message itself. See
59-
# https://cloud.google.com/apis/design/glossary for detailed terminology.
59+
# https://cloud.google.com/apis/design/glossary for detailed terminology. New
60+
# usages of this message as an alternative to ServiceDescriptorProto are
61+
# strongly discouraged. This message does not reliability preserve all
62+
# information necessary to model the schema and preserve semantics. Instead make
63+
# use of FileDescriptorSet which preserves the necessary information.
6064
class Api
6165
include Google::Apis::Core::Hashable
6266

67+
# The source edition string, only valid when syntax is SYNTAX_EDITIONS.
68+
# Corresponds to the JSON property `edition`
69+
# @return [String]
70+
attr_accessor :edition
71+
6372
# The methods of this interface, in unspecified order.
6473
# Corresponds to the JSON property `methods`
6574
# @return [Array<Google::Apis::ServiceconsumermanagementV1::MethodProp>]
@@ -115,6 +124,7 @@ def initialize(**args)
115124

116125
# Update properties of this object
117126
def update!(**args)
127+
@edition = args[:edition] if args.key?(:edition)
118128
@methods_prop = args[:methods_prop] if args.key?(:methods_prop)
119129
@mixins = args[:mixins] if args.key?(:mixins)
120130
@name = args[:name] if args.key?(:name)
@@ -497,7 +507,7 @@ class BackendRule
497507
# @return [Hash<String,Google::Apis::ServiceconsumermanagementV1::BackendRule>]
498508
attr_accessor :overrides_by_request_protocol
499509

500-
#
510+
# no-lint
501511
# Corresponds to the JSON property `pathTranslation`
502512
# @return [String]
503513
attr_accessor :path_translation
@@ -1420,7 +1430,11 @@ def update!(**args)
14201430
end
14211431
end
14221432

1423-
# Enum type definition.
1433+
# Enum type definition. New usages of this message as an alternative to
1434+
# EnumDescriptorProto are strongly discouraged. This message does not
1435+
# reliability preserve all information necessary to model the schema and
1436+
# preserve semantics. Instead make use of FileDescriptorSet which preserves the
1437+
# necessary information.
14241438
class Enum
14251439
include Google::Apis::Core::Hashable
14261440

@@ -1470,7 +1484,11 @@ def update!(**args)
14701484
end
14711485
end
14721486

1473-
# Enum value definition.
1487+
# Enum value definition. New usages of this message as an alternative to
1488+
# EnumValueDescriptorProto are strongly discouraged. This message does not
1489+
# reliability preserve all information necessary to model the schema and
1490+
# preserve semantics. Instead make use of FileDescriptorSet which preserves the
1491+
# necessary information.
14741492
class EnumValue
14751493
include Google::Apis::Core::Hashable
14761494

@@ -1544,7 +1562,11 @@ def update!(**args)
15441562
end
15451563
end
15461564

1547-
# A single field of a message type.
1565+
# A single field of a message type. New usages of this message as an alternative
1566+
# to FieldDescriptorProto are strongly discouraged. This message does not
1567+
# reliability preserve all information necessary to model the schema and
1568+
# preserve semantics. Instead make use of FileDescriptorSet which preserves the
1569+
# necessary information.
15481570
class Field
15491571
include Google::Apis::Core::Hashable
15501572

@@ -1675,7 +1697,8 @@ class GoSettings
16751697

16761698
# Map of service names to renamed services. Keys are the package relative
16771699
# service names and values are the name to be used for the service client and
1678-
# call options. publishing: go_settings: renamed_services: Publisher: TopicAdmin
1700+
# call options. Example: publishing: go_settings: renamed_services: Publisher:
1701+
# TopicAdmin
16791702
# Corresponds to the JSON property `renamedServices`
16801703
# @return [Hash<String,String>]
16811704
attr_accessor :renamed_services
@@ -2254,10 +2277,21 @@ def update!(**args)
22542277
end
22552278
end
22562279

2257-
# Method represents a method of an API interface.
2280+
# Method represents a method of an API interface. New usages of this message as
2281+
# an alternative to MethodDescriptorProto are strongly discouraged. This message
2282+
# does not reliability preserve all information necessary to model the schema
2283+
# and preserve semantics. Instead make use of FileDescriptorSet which preserves
2284+
# the necessary information.
22582285
class MethodProp
22592286
include Google::Apis::Core::Hashable
22602287

2288+
# The source edition string, only valid when syntax is SYNTAX_EDITIONS. This
2289+
# field should be ignored, instead the edition should be inherited from Api.
2290+
# This is similar to Field and EnumValue.
2291+
# Corresponds to the JSON property `edition`
2292+
# @return [String]
2293+
attr_accessor :edition
2294+
22612295
# The simple name of this method.
22622296
# Corresponds to the JSON property `name`
22632297
# @return [String]
@@ -2290,7 +2324,8 @@ class MethodProp
22902324
# @return [String]
22912325
attr_accessor :response_type_url
22922326

2293-
# The source syntax of this method.
2327+
# The source syntax of this method. This field should be ignored, instead the
2328+
# syntax should be inherited from Api. This is similar to Field and EnumValue.
22942329
# Corresponds to the JSON property `syntax`
22952330
# @return [String]
22962331
attr_accessor :syntax
@@ -2301,6 +2336,7 @@ def initialize(**args)
23012336

23022337
# Update properties of this object
23032338
def update!(**args)
2339+
@edition = args[:edition] if args.key?(:edition)
23042340
@name = args[:name] if args.key?(:name)
23052341
@options = args[:options] if args.key?(:options)
23062342
@request_streaming = args[:request_streaming] if args.key?(:request_streaming)
@@ -2924,7 +2960,9 @@ def update!(**args)
29242960
end
29252961

29262962
# A protocol buffer option, which can be attached to a message, field,
2927-
# enumeration, etc.
2963+
# enumeration, etc. New usages of this message as an alternative to FileOptions,
2964+
# MessageOptions, FieldOptions, EnumOptions, EnumValueOptions, ServiceOptions,
2965+
# or MethodOptions are strongly discouraged.
29282966
class Option
29292967
include Google::Apis::Core::Hashable
29302968

@@ -4122,7 +4160,11 @@ def update!(**args)
41224160
end
41234161
end
41244162

4125-
# A protocol buffer message type.
4163+
# A protocol buffer message type. New usages of this message as an alternative
4164+
# to DescriptorProto are strongly discouraged. This message does not reliability
4165+
# preserve all information necessary to model the schema and preserve semantics.
4166+
# Instead make use of FileDescriptorSet which preserves the necessary
4167+
# information.
41264168
class Type
41274169
include Google::Apis::Core::Hashable
41284170

generated/google-apis-serviceconsumermanagement_v1/lib/google/apis/serviceconsumermanagement_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 ServiceconsumermanagementV1
1818
# Version of the google-apis-serviceconsumermanagement_v1 gem
19-
GEM_VERSION = "0.61.0"
19+
GEM_VERSION = "0.62.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 = "20250619"
25+
REVISION = "20250919"
2626
end
2727
end
2828
end

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -700,6 +700,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
700700
class Api
701701
# @private
702702
class Representation < Google::Apis::Core::JsonRepresentation
703+
property :edition, as: 'edition'
703704
collection :methods_prop, as: 'methods', class: Google::Apis::ServiceconsumermanagementV1::MethodProp, decorator: Google::Apis::ServiceconsumermanagementV1::MethodProp::Representation
704705

705706
collection :mixins, as: 'mixins', class: Google::Apis::ServiceconsumermanagementV1::Mixin, decorator: Google::Apis::ServiceconsumermanagementV1::Mixin::Representation
@@ -1222,6 +1223,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
12221223
class MethodProp
12231224
# @private
12241225
class Representation < Google::Apis::Core::JsonRepresentation
1226+
property :edition, as: 'edition'
12251227
property :name, as: 'name'
12261228
collection :options, as: 'options', class: Google::Apis::ServiceconsumermanagementV1::Option, decorator: Google::Apis::ServiceconsumermanagementV1::Option::Representation
12271229

0 commit comments

Comments
 (0)