Class: Google::Apis::DlpV2::Proto2BridgeMessageSet
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::Proto2BridgeMessageSet
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dlp_v2/classes.rb,
lib/google/apis/dlp_v2/representations.rb,
lib/google/apis/dlp_v2/representations.rb
Overview
This is proto2's version of MessageSet. DEPRECATED: DO NOT USE FOR NEW FIELDS.
If you are using editions or proto2, please make your own extendable messages
for your use case. If you are using proto3, please use Any instead.
MessageSet was the implementation of extensions for proto1. When proto2 was
introduced, extensions were implemented as a first-class feature. This schema
for MessageSet was meant to be a "bridge" solution to migrate MessageSet-
bearing messages from proto1 to proto2. This schema has been open-sourced only
to facilitate the migration of Google products with MessageSet-bearing
messages to open-source environments.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Proto2BridgeMessageSet
constructor
A new instance of Proto2BridgeMessageSet.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Proto2BridgeMessageSet
Returns a new instance of Proto2BridgeMessageSet.
12051 12052 12053 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 12051 def initialize(**args) update!(**args) end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12056 12057 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 12056 def update!(**args) end |