Skip to content

Commit d690024

Browse files
feat: Automated regeneration of serviceconsumermanagement v1beta1 client (#24412)
Auto-created at 2025-09-28 09:52:38 +0000 using the toys pull request generator.
1 parent a0d8b2d commit d690024

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
@@ -346579,6 +346579,7 @@
346579346579
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.tenancyUnits.undeleteProject": undelete_service_tenancy_unit_project
346580346580
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.tenancyUnits.undeleteProject/name": name
346581346581
"/serviceconsumermanagement:v1beta1/Api": api
346582+
"/serviceconsumermanagement:v1beta1/Api/edition": edition
346582346583
"/serviceconsumermanagement:v1beta1/Api/methods": methods_prop
346583346584
"/serviceconsumermanagement:v1beta1/Api/methods/methods_prop": methods_prop
346584346585
"/serviceconsumermanagement:v1beta1/Api/mixins": mixins
@@ -346828,6 +346829,7 @@
346828346829
"/serviceconsumermanagement:v1beta1/LongRunning/pollDelayMultiplier": poll_delay_multiplier
346829346830
"/serviceconsumermanagement:v1beta1/LongRunning/totalPollTimeout": total_poll_timeout
346830346831
"/serviceconsumermanagement:v1beta1/Method": method_prop
346832+
"/serviceconsumermanagement:v1beta1/Method/edition": edition
346831346833
"/serviceconsumermanagement:v1beta1/Method/name": name
346832346834
"/serviceconsumermanagement:v1beta1/Method/options": options
346833346835
"/serviceconsumermanagement:v1beta1/Method/options/option": option

generated/google-apis-serviceconsumermanagement_v1beta1/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_v1beta1
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_v1beta1/lib/google/apis/serviceconsumermanagement_v1beta1/classes.rb

Lines changed: 52 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,19 @@ module ServiceconsumermanagementV1beta1
2828
# which represent a concrete implementation of an interface as opposed to simply
2929
# a description of methods and bindings. They are also sometimes simply referred
3030
# to as "APIs" in other contexts, such as the name of this message itself. See
31-
# https://cloud.google.com/apis/design/glossary for detailed terminology.
31+
# https://cloud.google.com/apis/design/glossary for detailed terminology. New
32+
# usages of this message as an alternative to ServiceDescriptorProto are
33+
# strongly discouraged. This message does not reliability preserve all
34+
# information necessary to model the schema and preserve semantics. Instead make
35+
# use of FileDescriptorSet which preserves the necessary information.
3236
class Api
3337
include Google::Apis::Core::Hashable
3438

39+
# The source edition string, only valid when syntax is SYNTAX_EDITIONS.
40+
# Corresponds to the JSON property `edition`
41+
# @return [String]
42+
attr_accessor :edition
43+
3544
# The methods of this interface, in unspecified order.
3645
# Corresponds to the JSON property `methods`
3746
# @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::MethodProp>]
@@ -87,6 +96,7 @@ def initialize(**args)
8796

8897
# Update properties of this object
8998
def update!(**args)
99+
@edition = args[:edition] if args.key?(:edition)
90100
@methods_prop = args[:methods_prop] if args.key?(:methods_prop)
91101
@mixins = args[:mixins] if args.key?(:mixins)
92102
@name = args[:name] if args.key?(:name)
@@ -405,7 +415,7 @@ class BackendRule
405415
# @return [Hash<String,Google::Apis::ServiceconsumermanagementV1beta1::BackendRule>]
406416
attr_accessor :overrides_by_request_protocol
407417

408-
#
418+
# no-lint
409419
# Corresponds to the JSON property `pathTranslation`
410420
# @return [String]
411421
attr_accessor :path_translation
@@ -1251,7 +1261,11 @@ def update!(**args)
12511261
end
12521262
end
12531263

1254-
# Enum type definition.
1264+
# Enum type definition. New usages of this message as an alternative to
1265+
# EnumDescriptorProto are strongly discouraged. This message does not
1266+
# reliability preserve all information necessary to model the schema and
1267+
# preserve semantics. Instead make use of FileDescriptorSet which preserves the
1268+
# necessary information.
12551269
class Enum
12561270
include Google::Apis::Core::Hashable
12571271

@@ -1301,7 +1315,11 @@ def update!(**args)
13011315
end
13021316
end
13031317

1304-
# Enum value definition.
1318+
# Enum value definition. New usages of this message as an alternative to
1319+
# EnumValueDescriptorProto are strongly discouraged. This message does not
1320+
# reliability preserve all information necessary to model the schema and
1321+
# preserve semantics. Instead make use of FileDescriptorSet which preserves the
1322+
# necessary information.
13051323
class EnumValue
13061324
include Google::Apis::Core::Hashable
13071325

@@ -1375,7 +1393,11 @@ def update!(**args)
13751393
end
13761394
end
13771395

1378-
# A single field of a message type.
1396+
# A single field of a message type. New usages of this message as an alternative
1397+
# to FieldDescriptorProto are strongly discouraged. This message does not
1398+
# reliability preserve all information necessary to model the schema and
1399+
# preserve semantics. Instead make use of FileDescriptorSet which preserves the
1400+
# necessary information.
13791401
class Field
13801402
include Google::Apis::Core::Hashable
13811403

@@ -1506,7 +1528,8 @@ class GoSettings
15061528

15071529
# Map of service names to renamed services. Keys are the package relative
15081530
# service names and values are the name to be used for the service client and
1509-
# call options. publishing: go_settings: renamed_services: Publisher: TopicAdmin
1531+
# call options. Example: publishing: go_settings: renamed_services: Publisher:
1532+
# TopicAdmin
15101533
# Corresponds to the JSON property `renamedServices`
15111534
# @return [Hash<String,String>]
15121535
attr_accessor :renamed_services
@@ -2035,10 +2058,21 @@ def update!(**args)
20352058
end
20362059
end
20372060

2038-
# Method represents a method of an API interface.
2061+
# Method represents a method of an API interface. New usages of this message as
2062+
# an alternative to MethodDescriptorProto are strongly discouraged. This message
2063+
# does not reliability preserve all information necessary to model the schema
2064+
# and preserve semantics. Instead make use of FileDescriptorSet which preserves
2065+
# the necessary information.
20392066
class MethodProp
20402067
include Google::Apis::Core::Hashable
20412068

2069+
# The source edition string, only valid when syntax is SYNTAX_EDITIONS. This
2070+
# field should be ignored, instead the edition should be inherited from Api.
2071+
# This is similar to Field and EnumValue.
2072+
# Corresponds to the JSON property `edition`
2073+
# @return [String]
2074+
attr_accessor :edition
2075+
20422076
# The simple name of this method.
20432077
# Corresponds to the JSON property `name`
20442078
# @return [String]
@@ -2071,7 +2105,8 @@ class MethodProp
20712105
# @return [String]
20722106
attr_accessor :response_type_url
20732107

2074-
# The source syntax of this method.
2108+
# The source syntax of this method. This field should be ignored, instead the
2109+
# syntax should be inherited from Api. This is similar to Field and EnumValue.
20752110
# Corresponds to the JSON property `syntax`
20762111
# @return [String]
20772112
attr_accessor :syntax
@@ -2082,6 +2117,7 @@ def initialize(**args)
20822117

20832118
# Update properties of this object
20842119
def update!(**args)
2120+
@edition = args[:edition] if args.key?(:edition)
20852121
@name = args[:name] if args.key?(:name)
20862122
@options = args[:options] if args.key?(:options)
20872123
@request_streaming = args[:request_streaming] if args.key?(:request_streaming)
@@ -2705,7 +2741,9 @@ def update!(**args)
27052741
end
27062742

27072743
# A protocol buffer option, which can be attached to a message, field,
2708-
# enumeration, etc.
2744+
# enumeration, etc. New usages of this message as an alternative to FileOptions,
2745+
# MessageOptions, FieldOptions, EnumOptions, EnumValueOptions, ServiceOptions,
2746+
# or MethodOptions are strongly discouraged.
27092747
class Option
27102748
include Google::Apis::Core::Hashable
27112749

@@ -3644,7 +3682,11 @@ def update!(**args)
36443682
end
36453683
end
36463684

3647-
# A protocol buffer message type.
3685+
# A protocol buffer message type. New usages of this message as an alternative
3686+
# to DescriptorProto are strongly discouraged. This message does not reliability
3687+
# preserve all information necessary to model the schema and preserve semantics.
3688+
# Instead make use of FileDescriptorSet which preserves the necessary
3689+
# information.
36483690
class Type
36493691
include Google::Apis::Core::Hashable
36503692

generated/google-apis-serviceconsumermanagement_v1beta1/lib/google/apis/serviceconsumermanagement_v1beta1/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 ServiceconsumermanagementV1beta1
1818
# Version of the google-apis-serviceconsumermanagement_v1beta1 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_v1beta1/lib/google/apis/serviceconsumermanagement_v1beta1/representations.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -649,6 +649,7 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
649649
class Api
650650
# @private
651651
class Representation < Google::Apis::Core::JsonRepresentation
652+
property :edition, as: 'edition'
652653
collection :methods_prop, as: 'methods', class: Google::Apis::ServiceconsumermanagementV1beta1::MethodProp, decorator: Google::Apis::ServiceconsumermanagementV1beta1::MethodProp::Representation
653654

654655
collection :mixins, as: 'mixins', class: Google::Apis::ServiceconsumermanagementV1beta1::Mixin, decorator: Google::Apis::ServiceconsumermanagementV1beta1::Mixin::Representation
@@ -1108,6 +1109,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
11081109
class MethodProp
11091110
# @private
11101111
class Representation < Google::Apis::Core::JsonRepresentation
1112+
property :edition, as: 'edition'
11111113
property :name, as: 'name'
11121114
collection :options, as: 'options', class: Google::Apis::ServiceconsumermanagementV1beta1::Option, decorator: Google::Apis::ServiceconsumermanagementV1beta1::Option::Representation
11131115

0 commit comments

Comments
 (0)