@@ -976,6 +976,27 @@ def update!(**args)
976976 end
977977 end
978978
979+ # This is proto2's version of MessageSet. DEPRECATED: DO NOT USE FOR NEW FIELDS.
980+ # If you are using editions or proto2, please make your own extendable messages
981+ # for your use case. If you are using proto3, please use `Any` instead.
982+ # MessageSet was the implementation of extensions for proto1. When proto2 was
983+ # introduced, extensions were implemented as a first-class feature. This schema
984+ # for MessageSet was meant to be a "bridge" solution to migrate MessageSet-
985+ # bearing messages from proto1 to proto2. This schema has been open-sourced only
986+ # to facilitate the migration of Google products with MessageSet-bearing
987+ # messages to open-source environments.
988+ class MessageSet
989+ include Google ::Apis ::Core ::Hashable
990+
991+ def initialize ( **args )
992+ update! ( **args )
993+ end
994+
995+ # Update properties of this object
996+ def update! ( **args )
997+ end
998+ end
999+
9791000 # Represents a monthly schedule. An example of a valid monthly schedule is "on
9801001 # the third Tuesday of the month" or "on the 15th of the month".
9811002 class MonthlySchedule
@@ -2269,6 +2290,64 @@ def update!(**args)
22692290 end
22702291 end
22712292
2293+ # Wire-format for a Status object
2294+ class StatusProto
2295+ include Google ::Apis ::Core ::Hashable
2296+
2297+ # copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional
2298+ # int32 canonical_code = 6;
2299+ # Corresponds to the JSON property `canonicalCode`
2300+ # @return [Fixnum]
2301+ attr_accessor :canonical_code
2302+
2303+ # Numeric code drawn from the space specified below. Often, this is the
2304+ # canonical error space, and code is drawn from google3/util/task/codes.proto
2305+ # copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional
2306+ # int32 code = 1;
2307+ # Corresponds to the JSON property `code`
2308+ # @return [Fixnum]
2309+ attr_accessor :code
2310+
2311+ # Detail message copybara:strip_begin(b/383363683) copybara:
2312+ # strip_end_and_replace optional string message = 3;
2313+ # Corresponds to the JSON property `message`
2314+ # @return [String]
2315+ attr_accessor :message
2316+
2317+ # This is proto2's version of MessageSet. DEPRECATED: DO NOT USE FOR NEW FIELDS.
2318+ # If you are using editions or proto2, please make your own extendable messages
2319+ # for your use case. If you are using proto3, please use `Any` instead.
2320+ # MessageSet was the implementation of extensions for proto1. When proto2 was
2321+ # introduced, extensions were implemented as a first-class feature. This schema
2322+ # for MessageSet was meant to be a "bridge" solution to migrate MessageSet-
2323+ # bearing messages from proto1 to proto2. This schema has been open-sourced only
2324+ # to facilitate the migration of Google products with MessageSet-bearing
2325+ # messages to open-source environments.
2326+ # Corresponds to the JSON property `messageSet`
2327+ # @return [Google::Apis::OsconfigV1beta::MessageSet]
2328+ attr_accessor :message_set
2329+
2330+ # copybara:strip_begin(b/383363683) Space to which this status belongs copybara:
2331+ # strip_end_and_replace optional string space = 2; // Space to which this status
2332+ # belongs
2333+ # Corresponds to the JSON property `space`
2334+ # @return [String]
2335+ attr_accessor :space
2336+
2337+ def initialize ( **args )
2338+ update! ( **args )
2339+ end
2340+
2341+ # Update properties of this object
2342+ def update! ( **args )
2343+ @canonical_code = args [ :canonical_code ] if args . key? ( :canonical_code )
2344+ @code = args [ :code ] if args . key? ( :code )
2345+ @message = args [ :message ] if args . key? ( :message )
2346+ @message_set = args [ :message_set ] if args . key? ( :message_set )
2347+ @space = args [ :space ] if args . key? ( :space )
2348+ end
2349+ end
2350+
22722351 # Represents a time of day. The date and time zone are either not significant or
22732352 # are specified elsewhere. An API may choose to allow leap seconds. Related
22742353 # types are google.type.Date and `google.protobuf.Timestamp`.
0 commit comments