Skip to content

Commit 5950c96

Browse files
feat: Automated regeneration of servicemanagement v1 client (#24418)
Auto-created at 2025-09-28 09:59:55 +0000 using the toys pull request generator.
1 parent 6d8712e commit 5950c96

File tree

5 files changed

+75
-19
lines changed

5 files changed

+75
-19
lines changed

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348331,6 +348331,7 @@
348331348331
"/servicemanagement:v1/Advice": advice
348332348332
"/servicemanagement:v1/Advice/description": description
348333348333
"/servicemanagement:v1/Api": api
348334+
"/servicemanagement:v1/Api/edition": edition
348334348335
"/servicemanagement:v1/Api/methods": methods_prop
348335348336
"/servicemanagement:v1/Api/methods/methods_prop": methods_prop
348336348337
"/servicemanagement:v1/Api/mixins": mixins
@@ -348730,6 +348731,7 @@
348730348731
"/servicemanagement:v1/MediaUpload/startNotification": start_notification
348731348732
"/servicemanagement:v1/MediaUpload/uploadService": upload_service
348732348733
"/servicemanagement:v1/Method": method_prop
348734+
"/servicemanagement:v1/Method/edition": edition
348733348735
"/servicemanagement:v1/Method/name": name
348734348736
"/servicemanagement:v1/Method/options": options
348735348737
"/servicemanagement:v1/Method/options/option": option
@@ -348828,6 +348830,7 @@
348828348830
"/servicemanagement:v1/Page/subpages/subpage": subpage
348829348831
"/servicemanagement:v1/PhpSettings": php_settings
348830348832
"/servicemanagement:v1/PhpSettings/common": common
348833+
"/servicemanagement:v1/PhpSettings/libraryPackage": library_package
348831348834
"/servicemanagement:v1/Policy": policy
348832348835
"/servicemanagement:v1/Policy/auditConfigs": audit_configs
348833348836
"/servicemanagement:v1/Policy/auditConfigs/audit_config": audit_config

generated/google-apis-servicemanagement_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-servicemanagement_v1
22

3+
### v0.70.0 (2025-09-28)
4+
5+
* Regenerated from discovery document revision 20250812
6+
37
### v0.69.0 (2025-06-08)
48

59
* Regenerated from discovery document revision 20250601

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

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

60+
# The source edition string, only valid when syntax is SYNTAX_EDITIONS.
61+
# Corresponds to the JSON property `edition`
62+
# @return [String]
63+
attr_accessor :edition
64+
5665
# The methods of this interface, in unspecified order.
5766
# Corresponds to the JSON property `methods`
5867
# @return [Array<Google::Apis::ServicemanagementV1::MethodProp>]
@@ -108,6 +117,7 @@ def initialize(**args)
108117

109118
# Update properties of this object
110119
def update!(**args)
120+
@edition = args[:edition] if args.key?(:edition)
111121
@methods_prop = args[:methods_prop] if args.key?(:methods_prop)
112122
@mixins = args[:mixins] if args.key?(:mixins)
113123
@name = args[:name] if args.key?(:name)
@@ -497,7 +507,7 @@ class BackendRule
497507
# @return [Hash<String,Google::Apis::ServicemanagementV1::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
@@ -1646,7 +1656,11 @@ def update!(**args)
16461656
end
16471657
end
16481658

1649-
# Enum type definition.
1659+
# Enum type definition. New usages of this message as an alternative to
1660+
# EnumDescriptorProto are strongly discouraged. This message does not
1661+
# reliability preserve all information necessary to model the schema and
1662+
# preserve semantics. Instead make use of FileDescriptorSet which preserves the
1663+
# necessary information.
16501664
class Enum
16511665
include Google::Apis::Core::Hashable
16521666

@@ -1696,7 +1710,11 @@ def update!(**args)
16961710
end
16971711
end
16981712

1699-
# Enum value definition.
1713+
# Enum value definition. New usages of this message as an alternative to
1714+
# EnumValueDescriptorProto are strongly discouraged. This message does not
1715+
# reliability preserve all information necessary to model the schema and
1716+
# preserve semantics. Instead make use of FileDescriptorSet which preserves the
1717+
# necessary information.
17001718
class EnumValue
17011719
include Google::Apis::Core::Hashable
17021720

@@ -1824,7 +1842,11 @@ def update!(**args)
18241842
end
18251843
end
18261844

1827-
# A single field of a message type.
1845+
# A single field of a message type. New usages of this message as an alternative
1846+
# to FieldDescriptorProto are strongly discouraged. This message does not
1847+
# reliability preserve all information necessary to model the schema and
1848+
# preserve semantics. Instead make use of FileDescriptorSet which preserves the
1849+
# necessary information.
18281850
class Field
18291851
include Google::Apis::Core::Hashable
18301852

@@ -2098,7 +2120,8 @@ class GoSettings
20982120

20992121
# Map of service names to renamed services. Keys are the package relative
21002122
# service names and values are the name to be used for the service client and
2101-
# call options. publishing: go_settings: renamed_services: Publisher: TopicAdmin
2123+
# call options. Example: publishing: go_settings: renamed_services: Publisher:
2124+
# TopicAdmin
21022125
# Corresponds to the JSON property `renamedServices`
21032126
# @return [Hash<String,String>]
21042127
attr_accessor :renamed_services
@@ -2754,10 +2777,21 @@ def update!(**args)
27542777
end
27552778
end
27562779

2757-
# Method represents a method of an API interface.
2780+
# Method represents a method of an API interface. New usages of this message as
2781+
# an alternative to MethodDescriptorProto are strongly discouraged. This message
2782+
# does not reliability preserve all information necessary to model the schema
2783+
# and preserve semantics. Instead make use of FileDescriptorSet which preserves
2784+
# the necessary information.
27582785
class MethodProp
27592786
include Google::Apis::Core::Hashable
27602787

2788+
# The source edition string, only valid when syntax is SYNTAX_EDITIONS. This
2789+
# field should be ignored, instead the edition should be inherited from Api.
2790+
# This is similar to Field and EnumValue.
2791+
# Corresponds to the JSON property `edition`
2792+
# @return [String]
2793+
attr_accessor :edition
2794+
27612795
# The simple name of this method.
27622796
# Corresponds to the JSON property `name`
27632797
# @return [String]
@@ -2790,7 +2824,8 @@ class MethodProp
27902824
# @return [String]
27912825
attr_accessor :response_type_url
27922826

2793-
# The source syntax of this method.
2827+
# The source syntax of this method. This field should be ignored, instead the
2828+
# syntax should be inherited from Api. This is similar to Field and EnumValue.
27942829
# Corresponds to the JSON property `syntax`
27952830
# @return [String]
27962831
attr_accessor :syntax
@@ -2801,6 +2836,7 @@ def initialize(**args)
28012836

28022837
# Update properties of this object
28032838
def update!(**args)
2839+
@edition = args[:edition] if args.key?(:edition)
28042840
@name = args[:name] if args.key?(:name)
28052841
@options = args[:options] if args.key?(:options)
28062842
@request_streaming = args[:request_streaming] if args.key?(:request_streaming)
@@ -3496,7 +3532,9 @@ def update!(**args)
34963532
end
34973533

34983534
# A protocol buffer option, which can be attached to a message, field,
3499-
# enumeration, etc.
3535+
# enumeration, etc. New usages of this message as an alternative to FileOptions,
3536+
# MessageOptions, FieldOptions, EnumOptions, EnumValueOptions, ServiceOptions,
3537+
# or MethodOptions are strongly discouraged.
35003538
class Option
35013539
include Google::Apis::Core::Hashable
35023540

@@ -3577,13 +3615,24 @@ class PhpSettings
35773615
# @return [Google::Apis::ServicemanagementV1::CommonLanguageSettings]
35783616
attr_accessor :common
35793617

3618+
# The package name to use in Php. Clobbers the php_namespace option set in the
3619+
# protobuf. This should be used **only** by APIs who have already set the
3620+
# language_settings.php.package_name" field in gapic.yaml. API teams should use
3621+
# the protobuf php_namespace option where possible. Example of a YAML
3622+
# configuration:: publishing: library_settings: php_settings: library_package:
3623+
# Google\Cloud\PubSub\V1
3624+
# Corresponds to the JSON property `libraryPackage`
3625+
# @return [String]
3626+
attr_accessor :library_package
3627+
35803628
def initialize(**args)
35813629
update!(**args)
35823630
end
35833631

35843632
# Update properties of this object
35853633
def update!(**args)
35863634
@common = args[:common] if args.key?(:common)
3635+
@library_package = args[:library_package] if args.key?(:library_package)
35873636
end
35883637
end
35893638

@@ -4043,11 +4092,6 @@ class Rollout
40434092
# @return [Google::Apis::ServicemanagementV1::TrafficPercentStrategy]
40444093
attr_accessor :traffic_percent_strategy
40454094

4046-
# The TPC universe which the rollout will be rolled out to.
4047-
# Corresponds to the JSON property `universe`
4048-
# @return [String]
4049-
attr_accessor :universe
4050-
40514095
def initialize(**args)
40524096
update!(**args)
40534097
end
@@ -4061,7 +4105,6 @@ def update!(**args)
40614105
@service_name = args[:service_name] if args.key?(:service_name)
40624106
@status = args[:status] if args.key?(:status)
40634107
@traffic_percent_strategy = args[:traffic_percent_strategy] if args.key?(:traffic_percent_strategy)
4064-
@universe = args[:universe] if args.key?(:universe)
40654108
end
40664109
end
40674110

@@ -4840,7 +4883,11 @@ def update!(**args)
48404883
end
48414884
end
48424885

4843-
# A protocol buffer message type.
4886+
# A protocol buffer message type. New usages of this message as an alternative
4887+
# to DescriptorProto are strongly discouraged. This message does not reliability
4888+
# preserve all information necessary to model the schema and preserve semantics.
4889+
# Instead make use of FileDescriptorSet which preserves the necessary
4890+
# information.
48444891
class Type
48454892
include Google::Apis::Core::Hashable
48464893

generated/google-apis-servicemanagement_v1/lib/google/apis/servicemanagement_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 ServicemanagementV1
1818
# Version of the google-apis-servicemanagement_v1 gem
19-
GEM_VERSION = "0.69.0"
19+
GEM_VERSION = "0.70.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 = "20250601"
25+
REVISION = "20250812"
2626
end
2727
end
2828
end

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,6 +686,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
686686
class Api
687687
# @private
688688
class Representation < Google::Apis::Core::JsonRepresentation
689+
property :edition, as: 'edition'
689690
collection :methods_prop, as: 'methods', class: Google::Apis::ServicemanagementV1::MethodProp, decorator: Google::Apis::ServicemanagementV1::MethodProp::Representation
690691

691692
collection :mixins, as: 'mixins', class: Google::Apis::ServicemanagementV1::Mixin, decorator: Google::Apis::ServicemanagementV1::Mixin::Representation
@@ -1329,6 +1330,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
13291330
class MethodProp
13301331
# @private
13311332
class Representation < Google::Apis::Core::JsonRepresentation
1333+
property :edition, as: 'edition'
13321334
property :name, as: 'name'
13331335
collection :options, as: 'options', class: Google::Apis::ServicemanagementV1::Option, decorator: Google::Apis::ServicemanagementV1::Option::Representation
13341336

@@ -1506,6 +1508,7 @@ class PhpSettings
15061508
class Representation < Google::Apis::Core::JsonRepresentation
15071509
property :common, as: 'common', class: Google::Apis::ServicemanagementV1::CommonLanguageSettings, decorator: Google::Apis::ServicemanagementV1::CommonLanguageSettings::Representation
15081510

1511+
property :library_package, as: 'libraryPackage'
15091512
end
15101513
end
15111514

@@ -1596,7 +1599,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
15961599
property :status, as: 'status'
15971600
property :traffic_percent_strategy, as: 'trafficPercentStrategy', class: Google::Apis::ServicemanagementV1::TrafficPercentStrategy, decorator: Google::Apis::ServicemanagementV1::TrafficPercentStrategy::Representation
15981601

1599-
property :universe, as: 'universe'
16001602
end
16011603
end
16021604

0 commit comments

Comments
 (0)