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.
      167 168 169  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 167 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
      154 155 156  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 154 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
      160 161 162  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 160 def replies @replies end  | 
  
#write_control ⇒ Google::Apis::DocsV1::WriteControl
Provides control over how write requests are executed.
Corresponds to the JSON property writeControl
      165 166 167  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 165 def write_control @write_control end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      172 173 174 175 176  | 
    
      # 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  |