Class: Google::Apis::DocsV1::BatchUpdateDocumentResponse
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::BatchUpdateDocumentResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/docs_v1/classes.rb,
lib/google/apis/docs_v1/representations.rb,
lib/google/apis/docs_v1/representations.rb
Overview
Response message from a BatchUpdateDocument request.
Instance Attribute Summary collapse
-
#document_id ⇒ String
The ID of the document to which the updates were applied to.
-
#replies ⇒ Array<Google::Apis::DocsV1::Response>
The reply of the updates.
-
#write_control ⇒ Google::Apis::DocsV1::WriteControl
Provides control over how write requests are executed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchUpdateDocumentResponse
constructor
A new instance of BatchUpdateDocumentResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BatchUpdateDocumentResponse
Returns a new instance of BatchUpdateDocumentResponse.
206 207 208 |
# File 'lib/google/apis/docs_v1/classes.rb', line 206 def initialize(**args) update!(**args) end |
Instance Attribute Details
#document_id ⇒ String
The ID of the document to which the updates were applied to.
Corresponds to the JSON property documentId
193 194 195 |
# File 'lib/google/apis/docs_v1/classes.rb', line 193 def document_id @document_id end |
#replies ⇒ Array<Google::Apis::DocsV1::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
199 200 201 |
# File 'lib/google/apis/docs_v1/classes.rb', line 199 def replies @replies end |
#write_control ⇒ Google::Apis::DocsV1::WriteControl
Provides control over how write requests are executed.
Corresponds to the JSON property writeControl
204 205 206 |
# File 'lib/google/apis/docs_v1/classes.rb', line 204 def write_control @write_control end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
211 212 213 214 215 |
# File 'lib/google/apis/docs_v1/classes.rb', line 211 def update!(**args) @document_id = args[:document_id] if args.key?(:document_id) @replies = args[:replies] if args.key?(:replies) @write_control = args[:write_control] if args.key?(:write_control) end |