Class: Google::Apis::SlidesV1::BatchUpdatePresentationRequest
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::BatchUpdatePresentationRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/slides_v1/classes.rb,
lib/google/apis/slides_v1/representations.rb,
lib/google/apis/slides_v1/representations.rb
Overview
Request message for PresentationsService.BatchUpdatePresentation.
Instance Attribute Summary collapse
-
#requests ⇒ Array<Google::Apis::SlidesV1::Request>
A list of updates to apply to the presentation.
-
#write_control ⇒ Google::Apis::SlidesV1::WriteControl
Provides control over how write requests are executed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchUpdatePresentationRequest
constructor
A new instance of BatchUpdatePresentationRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BatchUpdatePresentationRequest
Returns a new instance of BatchUpdatePresentationRequest.
182 183 184 |
# File 'lib/google/apis/slides_v1/classes.rb', line 182 def initialize(**args) update!(**args) end |
Instance Attribute Details
#requests ⇒ Array<Google::Apis::SlidesV1::Request>
A list of updates to apply to the presentation.
Corresponds to the JSON property requests
175 176 177 |
# File 'lib/google/apis/slides_v1/classes.rb', line 175 def requests @requests end |
#write_control ⇒ Google::Apis::SlidesV1::WriteControl
Provides control over how write requests are executed.
Corresponds to the JSON property writeControl
180 181 182 |
# File 'lib/google/apis/slides_v1/classes.rb', line 180 def write_control @write_control end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
187 188 189 190 |
# File 'lib/google/apis/slides_v1/classes.rb', line 187 def update!(**args) @requests = args[:requests] if args.key?(:requests) @write_control = args[:write_control] if args.key?(:write_control) end |