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

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_idString

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

Returns:

  • (String)


158
159
160
# File 'generated/google/apis/slides_v1/classes.rb', line 158

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



164
165
166
# File 'generated/google/apis/slides_v1/classes.rb', line 164

def replies
  @replies
end

#write_controlGoogle::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