Class: Google::Apis::SlidesV1::WriteControl
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::WriteControl
- 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
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.
Constructor Details
#initialize(**args) ⇒ WriteControl
Returns a new instance of WriteControl.
5305 5306 5307 |
# File 'lib/google/apis/slides_v1/classes.rb', line 5305 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 match the presentation's
current revision ID, the request is not processed and returns a 400 bad
request error. When a required revision ID is returned in a response, it
indicates the revision ID of the document after the request was applied.
Corresponds to the JSON property requiredRevisionId
5303 5304 5305 |
# File 'lib/google/apis/slides_v1/classes.rb', line 5303 def required_revision_id @required_revision_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5310 5311 5312 |
# File 'lib/google/apis/slides_v1/classes.rb', line 5310 def update!(**args) @required_revision_id = args[:required_revision_id] if args.key?(:required_revision_id) end |