Class: Google::Apis::SlidesV1::BatchUpdatePresentationResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/slides_v1/classes.rb,
lib/google/apis/slides_v1/representations.rb,
lib/google/apis/slides_v1/representations.rb

Overview

Response message from a batch update.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BatchUpdatePresentationResponse

Returns a new instance of BatchUpdatePresentationResponse.



213
214
215
# File 'lib/google/apis/slides_v1/classes.rb', line 213

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#presentation_idString

The presentation the updates were applied to. Corresponds to the JSON property presentationId

Returns:

  • (String)


200
201
202
# File 'lib/google/apis/slides_v1/classes.rb', line 200

def presentation_id
  @presentation_id
end

#repliesArray<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



206
207
208
# File 'lib/google/apis/slides_v1/classes.rb', line 206

def replies
  @replies
end

#write_controlGoogle::Apis::SlidesV1::WriteControl

Provides control over how write requests are executed. Corresponds to the JSON property writeControl



211
212
213
# File 'lib/google/apis/slides_v1/classes.rb', line 211

def write_control
  @write_control
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



218
219
220
221
222
# File 'lib/google/apis/slides_v1/classes.rb', line 218

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