Class: Google::Apis::SlidesV1::BatchUpdatePresentationRequest

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

Request message for PresentationsService.BatchUpdatePresentation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BatchUpdatePresentationRequest

Returns a new instance of BatchUpdatePresentationRequest.



140
141
142
# File 'generated/google/apis/slides_v1/classes.rb', line 140

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

Instance Attribute Details

#requestsArray<Google::Apis::SlidesV1::Request>

A list of updates to apply to the presentation. Corresponds to the JSON property requests



133
134
135
# File 'generated/google/apis/slides_v1/classes.rb', line 133

def requests
  @requests
end

#write_controlGoogle::Apis::SlidesV1::WriteControl

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



138
139
140
# File 'generated/google/apis/slides_v1/classes.rb', line 138

def write_control
  @write_control
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



145
146
147
148
# File 'generated/google/apis/slides_v1/classes.rb', line 145

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