class Google::Apis::DocsV1::BatchUpdateDocumentResponse

Response message from a BatchUpdateDocument request.

Attributes

document_id[RW]

The ID of the document to which the updates were applied to. Corresponds to the JSON property `documentId` @return [String]

replies[RW]

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` @return [Array<Google::Apis::DocsV1::Response>]

write_control[RW]

Provides control over how write requests are executed. Corresponds to the JSON property `writeControl` @return [Google::Apis::DocsV1::WriteControl]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/docs_v1/classes.rb, line 167
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/docs_v1/classes.rb, line 172
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