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.
Constructor Details
#initialize(**args) ⇒ BatchUpdatePresentationResponse
Returns a new instance of BatchUpdatePresentationResponse.
171 172 173 |
# File 'generated/google/apis/slides_v1/classes.rb', line 171 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
158 159 160 |
# File 'generated/google/apis/slides_v1/classes.rb', line 158 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
164 165 166 |
# File 'generated/google/apis/slides_v1/classes.rb', line 164 def replies @replies end |
#write_control ⇒ Google::Apis::SlidesV1::WriteControl
Provides control over how write requests are executed.
Corresponds to the JSON property writeControl
169 170 171 |
# File 'generated/google/apis/slides_v1/classes.rb', line 169 def write_control @write_control end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
176 177 178 179 180 |
# File 'generated/google/apis/slides_v1/classes.rb', line 176 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 |