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