Class: Google::Apis::WorkspaceeventsV1::DataPart
- Inherits:
-
Object
- Object
- Google::Apis::WorkspaceeventsV1::DataPart
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/workspaceevents_v1/classes.rb,
lib/google/apis/workspaceevents_v1/representations.rb,
lib/google/apis/workspaceevents_v1/representations.rb
Overview
DataPart represents a structured blob. This is most commonly a JSON payload.
Instance Attribute Summary collapse
-
#data ⇒ Hash<String,Object>
Corresponds to the JSON property
data.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DataPart
constructor
A new instance of DataPart.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DataPart
Returns a new instance of DataPart.
131 132 133 |
# File 'lib/google/apis/workspaceevents_v1/classes.rb', line 131 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data ⇒ Hash<String,Object>
Corresponds to the JSON property data
129 130 131 |
# File 'lib/google/apis/workspaceevents_v1/classes.rb', line 129 def data @data end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
136 137 138 |
# File 'lib/google/apis/workspaceevents_v1/classes.rb', line 136 def update!(**args) @data = args[:data] if args.key?(:data) end |