Class: Google::Apis::DocsV1::BatchUpdateDocumentRequest
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::BatchUpdateDocumentRequest
- 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
Request message for BatchUpdateDocument.
Instance Attribute Summary collapse
-
#requests ⇒ Array<Google::Apis::DocsV1::Request>
A list of updates to apply to the document.
-
#write_control ⇒ Google::Apis::DocsV1::WriteControl
Provides control over how write requests are executed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchUpdateDocumentRequest
constructor
A new instance of BatchUpdateDocumentRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BatchUpdateDocumentRequest
Returns a new instance of BatchUpdateDocumentRequest.
136 137 138 |
# File 'lib/google/apis/docs_v1/classes.rb', line 136 def initialize(**args) update!(**args) end |
Instance Attribute Details
#requests ⇒ Array<Google::Apis::DocsV1::Request>
A list of updates to apply to the document.
Corresponds to the JSON property requests
129 130 131 |
# File 'lib/google/apis/docs_v1/classes.rb', line 129 def requests @requests end |
#write_control ⇒ Google::Apis::DocsV1::WriteControl
Provides control over how write requests are executed.
Corresponds to the JSON property writeControl
134 135 136 |
# File 'lib/google/apis/docs_v1/classes.rb', line 134 def write_control @write_control end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
141 142 143 144 |
# File 'lib/google/apis/docs_v1/classes.rb', line 141 def update!(**args) @requests = args[:requests] if args.key?(:requests) @write_control = args[:write_control] if args.key?(:write_control) end |