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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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_idString

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

Returns:

  • (String)


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

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



171
172
173
# File 'generated/google/apis/slides_v1/classes.rb', line 171

def replies
  @replies
end

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