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



2502
2503
2504
# File 'generated/google/apis/slides_v1/classes.rb', line 2502

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)


2500
2501
2502
# File 'generated/google/apis/slides_v1/classes.rb', line 2500

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



2495
2496
2497
# File 'generated/google/apis/slides_v1/classes.rb', line 2495

def replies
  @replies
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2507
2508
2509
2510
# File 'generated/google/apis/slides_v1/classes.rb', line 2507

def update!(**args)
  @replies = args[:replies] if args.key?(:replies)
  @presentation_id = args[:presentation_id] if args.key?(:presentation_id)
end