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



1076
1077
1078
# File 'generated/google/apis/slides_v1/classes.rb', line 1076

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)


1074
1075
1076
# File 'generated/google/apis/slides_v1/classes.rb', line 1074

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



1069
1070
1071
# File 'generated/google/apis/slides_v1/classes.rb', line 1069

def replies
  @replies
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1081
1082
1083
1084
# File 'generated/google/apis/slides_v1/classes.rb', line 1081

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