@@ -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
0 commit comments