Class: Google::Apis::SlidesV1::BatchUpdatePresentationResponse
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::BatchUpdatePresentationResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/slides_v1/classes.rb,
generated/google/apis/slides_v1/representations.rb,
generated/google/apis/slides_v1/representations.rb
Overview
Response message from a batch update.
Instance Attribute Summary collapse
-
#presentation_id ⇒ String
The presentation the updates were applied to.
-
#replies ⇒ Array<Google::Apis::SlidesV1::Response>
The reply of the updates.
-
#write_control ⇒ Google::Apis::SlidesV1::WriteControl
Provides control over how write requests are executed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchUpdatePresentationResponse
constructor
A new instance of BatchUpdatePresentationResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ BatchUpdatePresentationResponse
Returns a new instance of BatchUpdatePresentationResponse
178 179 180 |
# File 'generated/google/apis/slides_v1/classes.rb', line 178 def initialize(**args) update!(**args) end |
Instance Attribute Details
#presentation_id ⇒ String
The presentation the updates were applied to.
Corresponds to the JSON property presentationId
165 166 167 |
# File 'generated/google/apis/slides_v1/classes.rb', line 165 def presentation_id @presentation_id end |
#replies ⇒ Array<Google::Apis::SlidesV1::Response>
The reply of the updates. This maps 1:1 with the updates, although
replies to some requests may be empty.
Corresponds to the JSON property replies
171 172 173 |
# File 'generated/google/apis/slides_v1/classes.rb', line 171 def replies @replies end |
#write_control ⇒ Google::Apis::SlidesV1::WriteControl
Provides control over how write requests are executed.
Corresponds to the JSON property writeControl
176 177 178 |
# File 'generated/google/apis/slides_v1/classes.rb', line 176 def write_control @write_control end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
183 184 185 186 187 |
# File 'generated/google/apis/slides_v1/classes.rb', line 183 def update!(**args) @presentation_id = args[:presentation_id] if args.key?(:presentation_id) @replies = args[:replies] if args.key?(:replies) @write_control = args[:write_control] if args.key?(:write_control) end |