Class: Google::Apis::SlidesV1::WriteControl
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::WriteControl
- 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
Provides control over how write requests are executed.
Instance Attribute Summary collapse
-
#required_revision_id ⇒ String
The revision ID of the presentation required for the write request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WriteControl
constructor
A new instance of WriteControl.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ WriteControl
Returns a new instance of WriteControl
5398 5399 5400 |
# File 'generated/google/apis/slides_v1/classes.rb', line 5398 def initialize(**args) update!(**args) end |
Instance Attribute Details
#required_revision_id ⇒ String
The revision ID of the presentation required for the write request. If
specified and the required_revision_id
doesn't exactly match the
presentation's current revision_id
, the request will not be processed and
will return a 400 bad request error.
Corresponds to the JSON property requiredRevisionId
5396 5397 5398 |
# File 'generated/google/apis/slides_v1/classes.rb', line 5396 def required_revision_id @required_revision_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5403 5404 5405 |
# File 'generated/google/apis/slides_v1/classes.rb', line 5403 def update!(**args) @required_revision_id = args[:required_revision_id] if args.key?(:required_revision_id) end |