google-apis-docs_v1 0.46.0 → 0.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/docs_v1/classes.rb +740 -2
- data/lib/google/apis/docs_v1/gem_version.rb +2 -2
- data/lib/google/apis/docs_v1/representations.rb +288 -0
- data/lib/google/apis/docs_v1/service.rb +15 -1
- metadata +2 -2
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module DocsV1
|
|
18
18
|
# Version of the google-apis-docs_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.48.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260921"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -22,6 +22,24 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module DocsV1
|
|
24
24
|
|
|
25
|
+
class AcceptSuggestionRequest
|
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
|
+
|
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
class AddCommentReplyRequest
|
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
|
+
|
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
class AddCommentReplyResponse
|
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
39
|
+
|
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
41
|
+
end
|
|
42
|
+
|
|
25
43
|
class AddDocumentTabRequest
|
|
26
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
45
|
|
|
@@ -100,6 +118,18 @@ module Google
|
|
|
100
118
|
include Google::Apis::Core::JsonObjectSupport
|
|
101
119
|
end
|
|
102
120
|
|
|
121
|
+
class CommentAnchor
|
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
123
|
+
|
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
class CommentThread
|
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
129
|
+
|
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
131
|
+
end
|
|
132
|
+
|
|
103
133
|
class CreateFooterRequest
|
|
104
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
105
135
|
|
|
@@ -184,6 +214,18 @@ module Google
|
|
|
184
214
|
include Google::Apis::Core::JsonObjectSupport
|
|
185
215
|
end
|
|
186
216
|
|
|
217
|
+
class DeleteCommentReplyRequest
|
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
219
|
+
|
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
221
|
+
end
|
|
222
|
+
|
|
223
|
+
class DeleteCommentRequest
|
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
225
|
+
|
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
227
|
+
end
|
|
228
|
+
|
|
187
229
|
class DeleteContentRangeRequest
|
|
188
230
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
189
231
|
|
|
@@ -220,6 +262,12 @@ module Google
|
|
|
220
262
|
include Google::Apis::Core::JsonObjectSupport
|
|
221
263
|
end
|
|
222
264
|
|
|
265
|
+
class DeleteSuggestionRequest
|
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
267
|
+
|
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
269
|
+
end
|
|
270
|
+
|
|
223
271
|
class DeleteTabRequest
|
|
224
272
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
225
273
|
|
|
@@ -394,6 +442,18 @@ module Google
|
|
|
394
442
|
include Google::Apis::Core::JsonObjectSupport
|
|
395
443
|
end
|
|
396
444
|
|
|
445
|
+
class InsertCommentRequest
|
|
446
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
447
|
+
|
|
448
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
449
|
+
end
|
|
450
|
+
|
|
451
|
+
class InsertCommentResponse
|
|
452
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
453
|
+
|
|
454
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
455
|
+
end
|
|
456
|
+
|
|
397
457
|
class InsertDateRequest
|
|
398
458
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
399
459
|
|
|
@@ -658,12 +718,30 @@ module Google
|
|
|
658
718
|
include Google::Apis::Core::JsonObjectSupport
|
|
659
719
|
end
|
|
660
720
|
|
|
721
|
+
class Post
|
|
722
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
723
|
+
|
|
724
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
725
|
+
end
|
|
726
|
+
|
|
727
|
+
class PostAuthor
|
|
728
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
729
|
+
|
|
730
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
731
|
+
end
|
|
732
|
+
|
|
661
733
|
class Range
|
|
662
734
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
663
735
|
|
|
664
736
|
include Google::Apis::Core::JsonObjectSupport
|
|
665
737
|
end
|
|
666
738
|
|
|
739
|
+
class RejectSuggestionRequest
|
|
740
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
741
|
+
|
|
742
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
743
|
+
end
|
|
744
|
+
|
|
667
745
|
class ReplaceAllTextRequest
|
|
668
746
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
669
747
|
|
|
@@ -850,6 +928,18 @@ module Google
|
|
|
850
928
|
include Google::Apis::Core::JsonObjectSupport
|
|
851
929
|
end
|
|
852
930
|
|
|
931
|
+
class SuggestionResponse
|
|
932
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
933
|
+
|
|
934
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
935
|
+
end
|
|
936
|
+
|
|
937
|
+
class SuggestionThread
|
|
938
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
939
|
+
|
|
940
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
941
|
+
end
|
|
942
|
+
|
|
853
943
|
class Tab
|
|
854
944
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
855
945
|
|
|
@@ -976,6 +1066,12 @@ module Google
|
|
|
976
1066
|
include Google::Apis::Core::JsonObjectSupport
|
|
977
1067
|
end
|
|
978
1068
|
|
|
1069
|
+
class UpdateCommentPostRequest
|
|
1070
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1071
|
+
|
|
1072
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1073
|
+
end
|
|
1074
|
+
|
|
979
1075
|
class UpdateDocumentStyleRequest
|
|
980
1076
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
981
1077
|
|
|
@@ -1042,6 +1138,31 @@ module Google
|
|
|
1042
1138
|
include Google::Apis::Core::JsonObjectSupport
|
|
1043
1139
|
end
|
|
1044
1140
|
|
|
1141
|
+
class AcceptSuggestionRequest
|
|
1142
|
+
# @private
|
|
1143
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1144
|
+
property :suggestion_id, as: 'suggestionId'
|
|
1145
|
+
end
|
|
1146
|
+
end
|
|
1147
|
+
|
|
1148
|
+
class AddCommentReplyRequest
|
|
1149
|
+
# @private
|
|
1150
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1151
|
+
property :comment_id, as: 'commentId'
|
|
1152
|
+
property :post, as: 'post', class: Google::Apis::DocsV1::Post, decorator: Google::Apis::DocsV1::Post::Representation
|
|
1153
|
+
|
|
1154
|
+
property :suggestion_id, as: 'suggestionId'
|
|
1155
|
+
end
|
|
1156
|
+
end
|
|
1157
|
+
|
|
1158
|
+
class AddCommentReplyResponse
|
|
1159
|
+
# @private
|
|
1160
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1161
|
+
property :post, as: 'post', class: Google::Apis::DocsV1::Post, decorator: Google::Apis::DocsV1::Post::Representation
|
|
1162
|
+
|
|
1163
|
+
end
|
|
1164
|
+
end
|
|
1165
|
+
|
|
1045
1166
|
class AddDocumentTabRequest
|
|
1046
1167
|
# @private
|
|
1047
1168
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1099,9 +1220,12 @@ module Google
|
|
|
1099
1220
|
class BatchUpdateDocumentResponse
|
|
1100
1221
|
# @private
|
|
1101
1222
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1223
|
+
property :comment_update_state, as: 'commentUpdateState'
|
|
1102
1224
|
property :document_id, as: 'documentId'
|
|
1103
1225
|
collection :replies, as: 'replies', class: Google::Apis::DocsV1::Response, decorator: Google::Apis::DocsV1::Response::Representation
|
|
1104
1226
|
|
|
1227
|
+
collection :suggestion_responses, as: 'suggestionResponses', class: Google::Apis::DocsV1::SuggestionResponse, decorator: Google::Apis::DocsV1::SuggestionResponse::Representation
|
|
1228
|
+
|
|
1105
1229
|
property :write_control, as: 'writeControl', class: Google::Apis::DocsV1::WriteControl, decorator: Google::Apis::DocsV1::WriteControl::Representation
|
|
1106
1230
|
|
|
1107
1231
|
end
|
|
@@ -1163,6 +1287,29 @@ module Google
|
|
|
1163
1287
|
end
|
|
1164
1288
|
end
|
|
1165
1289
|
|
|
1290
|
+
class CommentAnchor
|
|
1291
|
+
# @private
|
|
1292
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1293
|
+
property :anchor_id, as: 'anchorId'
|
|
1294
|
+
collection :ranges, as: 'ranges', class: Google::Apis::DocsV1::Range, decorator: Google::Apis::DocsV1::Range::Representation
|
|
1295
|
+
|
|
1296
|
+
end
|
|
1297
|
+
end
|
|
1298
|
+
|
|
1299
|
+
class CommentThread
|
|
1300
|
+
# @private
|
|
1301
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1302
|
+
property :anchor_id, as: 'anchorId'
|
|
1303
|
+
property :comment_id, as: 'commentId'
|
|
1304
|
+
property :head_post, as: 'headPost', class: Google::Apis::DocsV1::Post, decorator: Google::Apis::DocsV1::Post::Representation
|
|
1305
|
+
|
|
1306
|
+
property :plain_text_quote, as: 'plainTextQuote'
|
|
1307
|
+
collection :replies, as: 'replies', class: Google::Apis::DocsV1::Post, decorator: Google::Apis::DocsV1::Post::Representation
|
|
1308
|
+
|
|
1309
|
+
property :status, as: 'status'
|
|
1310
|
+
end
|
|
1311
|
+
end
|
|
1312
|
+
|
|
1166
1313
|
class CreateFooterRequest
|
|
1167
1314
|
# @private
|
|
1168
1315
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1299,6 +1446,22 @@ module Google
|
|
|
1299
1446
|
end
|
|
1300
1447
|
end
|
|
1301
1448
|
|
|
1449
|
+
class DeleteCommentReplyRequest
|
|
1450
|
+
# @private
|
|
1451
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1452
|
+
property :comment_id, as: 'commentId'
|
|
1453
|
+
property :post_id, as: 'postId'
|
|
1454
|
+
property :suggestion_id, as: 'suggestionId'
|
|
1455
|
+
end
|
|
1456
|
+
end
|
|
1457
|
+
|
|
1458
|
+
class DeleteCommentRequest
|
|
1459
|
+
# @private
|
|
1460
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1461
|
+
property :comment_id, as: 'commentId'
|
|
1462
|
+
end
|
|
1463
|
+
end
|
|
1464
|
+
|
|
1302
1465
|
class DeleteContentRangeRequest
|
|
1303
1466
|
# @private
|
|
1304
1467
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1349,6 +1512,13 @@ module Google
|
|
|
1349
1512
|
end
|
|
1350
1513
|
end
|
|
1351
1514
|
|
|
1515
|
+
class DeleteSuggestionRequest
|
|
1516
|
+
# @private
|
|
1517
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1518
|
+
property :suggestion_id, as: 'suggestionId'
|
|
1519
|
+
end
|
|
1520
|
+
end
|
|
1521
|
+
|
|
1352
1522
|
class DeleteTabRequest
|
|
1353
1523
|
# @private
|
|
1354
1524
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1385,6 +1555,9 @@ module Google
|
|
|
1385
1555
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1386
1556
|
property :body, as: 'body', class: Google::Apis::DocsV1::Body, decorator: Google::Apis::DocsV1::Body::Representation
|
|
1387
1557
|
|
|
1558
|
+
collection :comments, as: 'comments', class: Google::Apis::DocsV1::CommentThread, decorator: Google::Apis::DocsV1::CommentThread::Representation
|
|
1559
|
+
|
|
1560
|
+
property :comments_view_mode, as: 'commentsViewMode'
|
|
1388
1561
|
property :document_id, as: 'documentId'
|
|
1389
1562
|
property :document_style, as: 'documentStyle', class: Google::Apis::DocsV1::DocumentStyle, decorator: Google::Apis::DocsV1::DocumentStyle::Representation
|
|
1390
1563
|
|
|
@@ -1409,6 +1582,8 @@ module Google
|
|
|
1409
1582
|
|
|
1410
1583
|
hash :suggested_named_styles_changes, as: 'suggestedNamedStylesChanges', class: Google::Apis::DocsV1::SuggestedNamedStyles, decorator: Google::Apis::DocsV1::SuggestedNamedStyles::Representation
|
|
1411
1584
|
|
|
1585
|
+
collection :suggestions, as: 'suggestions', class: Google::Apis::DocsV1::SuggestionThread, decorator: Google::Apis::DocsV1::SuggestionThread::Representation
|
|
1586
|
+
|
|
1412
1587
|
property :suggestions_view_mode, as: 'suggestionsViewMode'
|
|
1413
1588
|
collection :tabs, as: 'tabs', class: Google::Apis::DocsV1::Tab, decorator: Google::Apis::DocsV1::Tab::Representation
|
|
1414
1589
|
|
|
@@ -1490,6 +1665,8 @@ module Google
|
|
|
1490
1665
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1491
1666
|
property :body, as: 'body', class: Google::Apis::DocsV1::Body, decorator: Google::Apis::DocsV1::Body::Representation
|
|
1492
1667
|
|
|
1668
|
+
hash :comment_anchors, as: 'commentAnchors', class: Google::Apis::DocsV1::CommentAnchor, decorator: Google::Apis::DocsV1::CommentAnchor::Representation
|
|
1669
|
+
|
|
1493
1670
|
property :document_style, as: 'documentStyle', class: Google::Apis::DocsV1::DocumentStyle, decorator: Google::Apis::DocsV1::DocumentStyle::Representation
|
|
1494
1671
|
|
|
1495
1672
|
hash :footers, as: 'footers', class: Google::Apis::DocsV1::Footer, decorator: Google::Apis::DocsV1::Footer::Representation
|
|
@@ -1744,6 +1921,24 @@ module Google
|
|
|
1744
1921
|
end
|
|
1745
1922
|
end
|
|
1746
1923
|
|
|
1924
|
+
class InsertCommentRequest
|
|
1925
|
+
# @private
|
|
1926
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1927
|
+
property :assignee_email_address, as: 'assigneeEmailAddress'
|
|
1928
|
+
property :content, as: 'content'
|
|
1929
|
+
property :range, as: 'range', class: Google::Apis::DocsV1::Range, decorator: Google::Apis::DocsV1::Range::Representation
|
|
1930
|
+
|
|
1931
|
+
end
|
|
1932
|
+
end
|
|
1933
|
+
|
|
1934
|
+
class InsertCommentResponse
|
|
1935
|
+
# @private
|
|
1936
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1937
|
+
property :comment_thread, as: 'commentThread', class: Google::Apis::DocsV1::CommentThread, decorator: Google::Apis::DocsV1::CommentThread::Representation
|
|
1938
|
+
|
|
1939
|
+
end
|
|
1940
|
+
end
|
|
1941
|
+
|
|
1747
1942
|
class InsertDateRequest
|
|
1748
1943
|
# @private
|
|
1749
1944
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2275,6 +2470,36 @@ module Google
|
|
|
2275
2470
|
end
|
|
2276
2471
|
end
|
|
2277
2472
|
|
|
2473
|
+
class Post
|
|
2474
|
+
# @private
|
|
2475
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2476
|
+
property :assignee_email, as: 'assigneeEmail'
|
|
2477
|
+
property :author, as: 'author', class: Google::Apis::DocsV1::PostAuthor, decorator: Google::Apis::DocsV1::PostAuthor::Representation
|
|
2478
|
+
|
|
2479
|
+
property :comment_action, as: 'commentAction'
|
|
2480
|
+
property :content, as: 'content'
|
|
2481
|
+
property :content_html, as: 'contentHtml'
|
|
2482
|
+
property :create_time, as: 'createTime'
|
|
2483
|
+
property :deleted, as: 'deleted'
|
|
2484
|
+
property :from_copied_document, as: 'fromCopiedDocument'
|
|
2485
|
+
property :from_document_comparison, as: 'fromDocumentComparison'
|
|
2486
|
+
property :from_imported_document, as: 'fromImportedDocument'
|
|
2487
|
+
property :post_id, as: 'postId'
|
|
2488
|
+
property :suggestion_action, as: 'suggestionAction'
|
|
2489
|
+
property :update_time, as: 'updateTime'
|
|
2490
|
+
end
|
|
2491
|
+
end
|
|
2492
|
+
|
|
2493
|
+
class PostAuthor
|
|
2494
|
+
# @private
|
|
2495
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2496
|
+
property :anonymous, as: 'anonymous'
|
|
2497
|
+
property :display_name, as: 'displayName'
|
|
2498
|
+
property :me, as: 'me'
|
|
2499
|
+
property :user, as: 'user'
|
|
2500
|
+
end
|
|
2501
|
+
end
|
|
2502
|
+
|
|
2278
2503
|
class Range
|
|
2279
2504
|
# @private
|
|
2280
2505
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2285,6 +2510,13 @@ module Google
|
|
|
2285
2510
|
end
|
|
2286
2511
|
end
|
|
2287
2512
|
|
|
2513
|
+
class RejectSuggestionRequest
|
|
2514
|
+
# @private
|
|
2515
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2516
|
+
property :suggestion_id, as: 'suggestionId'
|
|
2517
|
+
end
|
|
2518
|
+
end
|
|
2519
|
+
|
|
2288
2520
|
class ReplaceAllTextRequest
|
|
2289
2521
|
# @private
|
|
2290
2522
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2327,6 +2559,10 @@ module Google
|
|
|
2327
2559
|
class Request
|
|
2328
2560
|
# @private
|
|
2329
2561
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2562
|
+
property :accept_suggestion, as: 'acceptSuggestion', class: Google::Apis::DocsV1::AcceptSuggestionRequest, decorator: Google::Apis::DocsV1::AcceptSuggestionRequest::Representation
|
|
2563
|
+
|
|
2564
|
+
property :add_comment_reply, as: 'addCommentReply', class: Google::Apis::DocsV1::AddCommentReplyRequest, decorator: Google::Apis::DocsV1::AddCommentReplyRequest::Representation
|
|
2565
|
+
|
|
2330
2566
|
property :add_document_tab, as: 'addDocumentTab', class: Google::Apis::DocsV1::AddDocumentTabRequest, decorator: Google::Apis::DocsV1::AddDocumentTabRequest::Representation
|
|
2331
2567
|
|
|
2332
2568
|
property :create_footer, as: 'createFooter', class: Google::Apis::DocsV1::CreateFooterRequest, decorator: Google::Apis::DocsV1::CreateFooterRequest::Representation
|
|
@@ -2339,6 +2575,10 @@ module Google
|
|
|
2339
2575
|
|
|
2340
2576
|
property :create_paragraph_bullets, as: 'createParagraphBullets', class: Google::Apis::DocsV1::CreateParagraphBulletsRequest, decorator: Google::Apis::DocsV1::CreateParagraphBulletsRequest::Representation
|
|
2341
2577
|
|
|
2578
|
+
property :delete_comment, as: 'deleteComment', class: Google::Apis::DocsV1::DeleteCommentRequest, decorator: Google::Apis::DocsV1::DeleteCommentRequest::Representation
|
|
2579
|
+
|
|
2580
|
+
property :delete_comment_reply, as: 'deleteCommentReply', class: Google::Apis::DocsV1::DeleteCommentReplyRequest, decorator: Google::Apis::DocsV1::DeleteCommentReplyRequest::Representation
|
|
2581
|
+
|
|
2342
2582
|
property :delete_content_range, as: 'deleteContentRange', class: Google::Apis::DocsV1::DeleteContentRangeRequest, decorator: Google::Apis::DocsV1::DeleteContentRangeRequest::Representation
|
|
2343
2583
|
|
|
2344
2584
|
property :delete_footer, as: 'deleteFooter', class: Google::Apis::DocsV1::DeleteFooterRequest, decorator: Google::Apis::DocsV1::DeleteFooterRequest::Representation
|
|
@@ -2351,12 +2591,16 @@ module Google
|
|
|
2351
2591
|
|
|
2352
2592
|
property :delete_positioned_object, as: 'deletePositionedObject', class: Google::Apis::DocsV1::DeletePositionedObjectRequest, decorator: Google::Apis::DocsV1::DeletePositionedObjectRequest::Representation
|
|
2353
2593
|
|
|
2594
|
+
property :delete_suggestion, as: 'deleteSuggestion', class: Google::Apis::DocsV1::DeleteSuggestionRequest, decorator: Google::Apis::DocsV1::DeleteSuggestionRequest::Representation
|
|
2595
|
+
|
|
2354
2596
|
property :delete_tab, as: 'deleteTab', class: Google::Apis::DocsV1::DeleteTabRequest, decorator: Google::Apis::DocsV1::DeleteTabRequest::Representation
|
|
2355
2597
|
|
|
2356
2598
|
property :delete_table_column, as: 'deleteTableColumn', class: Google::Apis::DocsV1::DeleteTableColumnRequest, decorator: Google::Apis::DocsV1::DeleteTableColumnRequest::Representation
|
|
2357
2599
|
|
|
2358
2600
|
property :delete_table_row, as: 'deleteTableRow', class: Google::Apis::DocsV1::DeleteTableRowRequest, decorator: Google::Apis::DocsV1::DeleteTableRowRequest::Representation
|
|
2359
2601
|
|
|
2602
|
+
property :insert_comment, as: 'insertComment', class: Google::Apis::DocsV1::InsertCommentRequest, decorator: Google::Apis::DocsV1::InsertCommentRequest::Representation
|
|
2603
|
+
|
|
2360
2604
|
property :insert_date, as: 'insertDate', class: Google::Apis::DocsV1::InsertDateRequest, decorator: Google::Apis::DocsV1::InsertDateRequest::Representation
|
|
2361
2605
|
|
|
2362
2606
|
property :insert_inline_image, as: 'insertInlineImage', class: Google::Apis::DocsV1::InsertInlineImageRequest, decorator: Google::Apis::DocsV1::InsertInlineImageRequest::Representation
|
|
@@ -2381,6 +2625,8 @@ module Google
|
|
|
2381
2625
|
|
|
2382
2626
|
property :pin_table_header_rows, as: 'pinTableHeaderRows', class: Google::Apis::DocsV1::PinTableHeaderRowsRequest, decorator: Google::Apis::DocsV1::PinTableHeaderRowsRequest::Representation
|
|
2383
2627
|
|
|
2628
|
+
property :reject_suggestion, as: 'rejectSuggestion', class: Google::Apis::DocsV1::RejectSuggestionRequest, decorator: Google::Apis::DocsV1::RejectSuggestionRequest::Representation
|
|
2629
|
+
|
|
2384
2630
|
property :replace_all_text, as: 'replaceAllText', class: Google::Apis::DocsV1::ReplaceAllTextRequest, decorator: Google::Apis::DocsV1::ReplaceAllTextRequest::Representation
|
|
2385
2631
|
|
|
2386
2632
|
property :replace_image, as: 'replaceImage', class: Google::Apis::DocsV1::ReplaceImageRequest, decorator: Google::Apis::DocsV1::ReplaceImageRequest::Representation
|
|
@@ -2389,6 +2635,8 @@ module Google
|
|
|
2389
2635
|
|
|
2390
2636
|
property :unmerge_table_cells, as: 'unmergeTableCells', class: Google::Apis::DocsV1::UnmergeTableCellsRequest, decorator: Google::Apis::DocsV1::UnmergeTableCellsRequest::Representation
|
|
2391
2637
|
|
|
2638
|
+
property :update_comment_post, as: 'updateCommentPost', class: Google::Apis::DocsV1::UpdateCommentPostRequest, decorator: Google::Apis::DocsV1::UpdateCommentPostRequest::Representation
|
|
2639
|
+
|
|
2392
2640
|
property :update_document_style, as: 'updateDocumentStyle', class: Google::Apis::DocsV1::UpdateDocumentStyleRequest, decorator: Google::Apis::DocsV1::UpdateDocumentStyleRequest::Representation
|
|
2393
2641
|
|
|
2394
2642
|
property :update_document_tab_properties, as: 'updateDocumentTabProperties', class: Google::Apis::DocsV1::UpdateDocumentTabPropertiesRequest, decorator: Google::Apis::DocsV1::UpdateDocumentTabPropertiesRequest::Representation
|
|
@@ -2413,6 +2661,8 @@ module Google
|
|
|
2413
2661
|
class Response
|
|
2414
2662
|
# @private
|
|
2415
2663
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2664
|
+
property :add_comment_reply, as: 'addCommentReply', class: Google::Apis::DocsV1::AddCommentReplyResponse, decorator: Google::Apis::DocsV1::AddCommentReplyResponse::Representation
|
|
2665
|
+
|
|
2416
2666
|
property :add_document_tab, as: 'addDocumentTab', class: Google::Apis::DocsV1::AddDocumentTabResponse, decorator: Google::Apis::DocsV1::AddDocumentTabResponse::Representation
|
|
2417
2667
|
|
|
2418
2668
|
property :create_footer, as: 'createFooter', class: Google::Apis::DocsV1::CreateFooterResponse, decorator: Google::Apis::DocsV1::CreateFooterResponse::Representation
|
|
@@ -2423,6 +2673,8 @@ module Google
|
|
|
2423
2673
|
|
|
2424
2674
|
property :create_named_range, as: 'createNamedRange', class: Google::Apis::DocsV1::CreateNamedRangeResponse, decorator: Google::Apis::DocsV1::CreateNamedRangeResponse::Representation
|
|
2425
2675
|
|
|
2676
|
+
property :insert_comment, as: 'insertComment', class: Google::Apis::DocsV1::InsertCommentResponse, decorator: Google::Apis::DocsV1::InsertCommentResponse::Representation
|
|
2677
|
+
|
|
2426
2678
|
property :insert_inline_image, as: 'insertInlineImage', class: Google::Apis::DocsV1::InsertInlineImageResponse, decorator: Google::Apis::DocsV1::InsertInlineImageResponse::Representation
|
|
2427
2679
|
|
|
2428
2680
|
property :insert_inline_sheets_chart, as: 'insertInlineSheetsChart', class: Google::Apis::DocsV1::InsertInlineSheetsChartResponse, decorator: Google::Apis::DocsV1::InsertInlineSheetsChartResponse::Representation
|
|
@@ -2701,6 +2953,31 @@ module Google
|
|
|
2701
2953
|
end
|
|
2702
2954
|
end
|
|
2703
2955
|
|
|
2956
|
+
class SuggestionResponse
|
|
2957
|
+
# @private
|
|
2958
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2959
|
+
collection :accepted_suggestion_ids, as: 'acceptedSuggestionIds'
|
|
2960
|
+
collection :created_suggestion_ids, as: 'createdSuggestionIds'
|
|
2961
|
+
collection :deleted_suggestion_ids, as: 'deletedSuggestionIds'
|
|
2962
|
+
collection :rejected_suggestion_ids, as: 'rejectedSuggestionIds'
|
|
2963
|
+
collection :updated_summary_suggestion_ids, as: 'updatedSummarySuggestionIds'
|
|
2964
|
+
end
|
|
2965
|
+
end
|
|
2966
|
+
|
|
2967
|
+
class SuggestionThread
|
|
2968
|
+
# @private
|
|
2969
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2970
|
+
property :head_post, as: 'headPost', class: Google::Apis::DocsV1::Post, decorator: Google::Apis::DocsV1::Post::Representation
|
|
2971
|
+
|
|
2972
|
+
collection :replies, as: 'replies', class: Google::Apis::DocsV1::Post, decorator: Google::Apis::DocsV1::Post::Representation
|
|
2973
|
+
|
|
2974
|
+
property :status, as: 'status'
|
|
2975
|
+
property :suggestion_id, as: 'suggestionId'
|
|
2976
|
+
property :summary_html, as: 'summaryHtml'
|
|
2977
|
+
property :summary_text, as: 'summaryText'
|
|
2978
|
+
end
|
|
2979
|
+
end
|
|
2980
|
+
|
|
2704
2981
|
class Tab
|
|
2705
2982
|
# @private
|
|
2706
2983
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2967,6 +3244,16 @@ module Google
|
|
|
2967
3244
|
end
|
|
2968
3245
|
end
|
|
2969
3246
|
|
|
3247
|
+
class UpdateCommentPostRequest
|
|
3248
|
+
# @private
|
|
3249
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3250
|
+
property :comment_id, as: 'commentId'
|
|
3251
|
+
property :content, as: 'content'
|
|
3252
|
+
property :post_id, as: 'postId'
|
|
3253
|
+
property :suggestion_id, as: 'suggestionId'
|
|
3254
|
+
end
|
|
3255
|
+
end
|
|
3256
|
+
|
|
2970
3257
|
class UpdateDocumentStyleRequest
|
|
2971
3258
|
# @private
|
|
2972
3259
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3079,6 +3366,7 @@ module Google
|
|
|
3079
3366
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3080
3367
|
property :required_revision_id, as: 'requiredRevisionId'
|
|
3081
3368
|
property :target_revision_id, as: 'targetRevisionId'
|
|
3369
|
+
property :write_mode, as: 'writeMode'
|
|
3082
3370
|
end
|
|
3083
3371
|
end
|
|
3084
3372
|
end
|
|
@@ -131,6 +131,19 @@ module Google
|
|
|
131
131
|
# Gets the latest version of the specified document.
|
|
132
132
|
# @param [String] document_id
|
|
133
133
|
# The ID of the document to retrieve.
|
|
134
|
+
# @param [String] comments_view_mode
|
|
135
|
+
# The comments view mode to apply to the document. This allows viewing the
|
|
136
|
+
# document with comments omitted or included. If one is not specified,
|
|
137
|
+
# COMMENTS_VIEW_MODE_OMITTED is used. If you set comments_view_mode to any value,
|
|
138
|
+
# you must also set include_tabs_content to `true` or use a field mask that
|
|
139
|
+
# references the Document.tabs field (or any subfield). If you set
|
|
140
|
+
# comments_view_mode to COMMENTS_VIEW_MODE_INCLUDED, you must also explicitly
|
|
141
|
+
# set suggestions_view_mode to SUGGESTIONS_INLINE. If you set comments_view_mode
|
|
142
|
+
# to COMMENTS_VIEW_MODE_INCLUDED or
|
|
143
|
+
# COMMENTS_VIEW_MODE_DEFAULT_FOR_CURRENT_ACCESS, you may not set
|
|
144
|
+
# suggestions_view_mode to PREVIEW_WITHOUT_SUGGESTIONS or
|
|
145
|
+
# PREVIEW_SUGGESTIONS_ACCEPTED. [Developer Preview](https://developers.google.
|
|
146
|
+
# com/workspace/preview).
|
|
134
147
|
# @param [Boolean] include_tabs_content
|
|
135
148
|
# Whether to populate the `Document.tabs` field instead of the text content
|
|
136
149
|
# fields like `body` and `documentStyle` on `Document`. - When `true`: Document
|
|
@@ -162,11 +175,12 @@ module Google
|
|
|
162
175
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
163
176
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
164
177
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
165
|
-
def get_document(document_id, include_tabs_content: nil, suggestions_view_mode: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
178
|
+
def get_document(document_id, comments_view_mode: nil, include_tabs_content: nil, suggestions_view_mode: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
166
179
|
command = make_simple_command(:get, 'v1/documents/{documentId}', options)
|
|
167
180
|
command.response_representation = Google::Apis::DocsV1::Document::Representation
|
|
168
181
|
command.response_class = Google::Apis::DocsV1::Document
|
|
169
182
|
command.params['documentId'] = document_id unless document_id.nil?
|
|
183
|
+
command.query['commentsViewMode'] = comments_view_mode unless comments_view_mode.nil?
|
|
170
184
|
command.query['includeTabsContent'] = include_tabs_content unless include_tabs_content.nil?
|
|
171
185
|
command.query['suggestionsViewMode'] = suggestions_view_mode unless suggestions_view_mode.nil?
|
|
172
186
|
command.query['fields'] = fields unless fields.nil?
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-docs_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.48.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-docs_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-docs_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-docs_v1/v0.48.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-docs_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|