Skip to content

Commit 389ef34

Browse files
feat(drive): update the API
#### drive:v3 The following keys were added: - schemas.Comment.properties.assigneeEmailAddress.description - schemas.Comment.properties.assigneeEmailAddress.readOnly - schemas.Comment.properties.assigneeEmailAddress.type - schemas.Comment.properties.mentionedEmailAddresses.description - schemas.Comment.properties.mentionedEmailAddresses.items.type - schemas.Comment.properties.mentionedEmailAddresses.readOnly - schemas.Comment.properties.mentionedEmailAddresses.type - schemas.Reply.properties.assigneeEmailAddress.description - schemas.Reply.properties.assigneeEmailAddress.readOnly - schemas.Reply.properties.assigneeEmailAddress.type - schemas.Reply.properties.mentionedEmailAddresses.description - schemas.Reply.properties.mentionedEmailAddresses.items.type - schemas.Reply.properties.mentionedEmailAddresses.readOnly - schemas.Reply.properties.mentionedEmailAddresses.type
1 parent 4d72e4f commit 389ef34

File tree

2 files changed

+63
-1
lines changed

2 files changed

+63
-1
lines changed

discovery/drive-v3.json

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2720,7 +2720,7 @@
27202720
}
27212721
}
27222722
},
2723-
"revision": "20251013",
2723+
"revision": "20251019",
27242724
"rootUrl": "https://www.googleapis.com/",
27252725
"schemas": {
27262726
"About": {
@@ -3229,6 +3229,11 @@
32293229
"description": "A region of the document represented as a JSON string. For details on defining anchor properties, refer to [Manage comments and replies](https://developers.google.com/workspace/drive/api/v3/manage-comments).",
32303230
"type": "string"
32313231
},
3232+
"assigneeEmailAddress": {
3233+
"description": "Output only. The email of the user who is assigned to this comment, if none is assigned this will be unset.",
3234+
"readOnly": true,
3235+
"type": "string"
3236+
},
32323237
"author": {
32333238
"$ref": "User",
32343239
"description": "Output only. The author of the comment. The author's email address and permission ID will not be populated."
@@ -3265,6 +3270,14 @@
32653270
"description": "Output only. Identifies what kind of resource this is. Value: the fixed string `\"drive#comment\"`.",
32663271
"type": "string"
32673272
},
3273+
"mentionedEmailAddresses": {
3274+
"description": "Output only. The emails of the users who were mentioned in this comment, if none were mentioned this will be an empty list.",
3275+
"items": {
3276+
"type": "string"
3277+
},
3278+
"readOnly": true,
3279+
"type": "array"
3280+
},
32683281
"modifiedTime": {
32693282
"description": "The last time the comment or any of its replies was modified (RFC 3339 date-time).",
32703283
"format": "date-time",
@@ -4768,6 +4781,11 @@
47684781
"description": "The action the reply performed to the parent comment. Valid values are: * `resolve` * `reopen`",
47694782
"type": "string"
47704783
},
4784+
"assigneeEmailAddress": {
4785+
"description": "Output only. The email of the user who is assigned to this reply, if none is assigned this will be unset.",
4786+
"readOnly": true,
4787+
"type": "string"
4788+
},
47714789
"author": {
47724790
"$ref": "User",
47734791
"description": "Output only. The author of the reply. The author's email address and permission ID will not be populated."
@@ -4803,6 +4821,14 @@
48034821
"description": "Output only. Identifies what kind of resource this is. Value: the fixed string `\"drive#reply\"`.",
48044822
"type": "string"
48054823
},
4824+
"mentionedEmailAddresses": {
4825+
"description": "Output only. The emails of the users who were mentioned in this reply, if none were mentioned this will be an empty list.",
4826+
"items": {
4827+
"type": "string"
4828+
},
4829+
"readOnly": true,
4830+
"type": "array"
4831+
},
48064832
"modifiedTime": {
48074833
"description": "The last time the reply was modified (RFC 3339 date-time).",
48084834
"format": "date-time",

src/apis/drive/v3.ts

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,10 @@ export namespace drive_v3 {
523523
* A region of the document represented as a JSON string. For details on defining anchor properties, refer to [Manage comments and replies](https://developers.google.com/workspace/drive/api/v3/manage-comments).
524524
*/
525525
anchor?: string | null;
526+
/**
527+
* Output only. The email of the user who is assigned to this comment, if none is assigned this will be unset.
528+
*/
529+
assigneeEmailAddress?: string | null;
526530
/**
527531
* Output only. The author of the comment. The author's email address and permission ID will not be populated.
528532
*/
@@ -551,6 +555,10 @@ export namespace drive_v3 {
551555
* Output only. Identifies what kind of resource this is. Value: the fixed string `"drive#comment"`.
552556
*/
553557
kind?: string | null;
558+
/**
559+
* Output only. The emails of the users who were mentioned in this comment, if none were mentioned this will be an empty list.
560+
*/
561+
mentionedEmailAddresses?: string[] | null;
554562
/**
555563
* The last time the comment or any of its replies was modified (RFC 3339 date-time).
556564
*/
@@ -1431,6 +1439,10 @@ export namespace drive_v3 {
14311439
* The action the reply performed to the parent comment. Valid values are: * `resolve` * `reopen`
14321440
*/
14331441
action?: string | null;
1442+
/**
1443+
* Output only. The email of the user who is assigned to this reply, if none is assigned this will be unset.
1444+
*/
1445+
assigneeEmailAddress?: string | null;
14341446
/**
14351447
* Output only. The author of the reply. The author's email address and permission ID will not be populated.
14361448
*/
@@ -1459,6 +1471,10 @@ export namespace drive_v3 {
14591471
* Output only. Identifies what kind of resource this is. Value: the fixed string `"drive#reply"`.
14601472
*/
14611473
kind?: string | null;
1474+
/**
1475+
* Output only. The emails of the users who were mentioned in this reply, if none were mentioned this will be an empty list.
1476+
*/
1477+
mentionedEmailAddresses?: string[] | null;
14621478
/**
14631479
* The last time the reply was modified (RFC 3339 date-time).
14641480
*/
@@ -3615,13 +3631,15 @@ export namespace drive_v3 {
36153631
* // request body parameters
36163632
* // {
36173633
* // "anchor": "my_anchor",
3634+
* // "assigneeEmailAddress": "my_assigneeEmailAddress",
36183635
* // "author": {},
36193636
* // "content": "my_content",
36203637
* // "createdTime": "my_createdTime",
36213638
* // "deleted": false,
36223639
* // "htmlContent": "my_htmlContent",
36233640
* // "id": "my_id",
36243641
* // "kind": "my_kind",
3642+
* // "mentionedEmailAddresses": [],
36253643
* // "modifiedTime": "my_modifiedTime",
36263644
* // "quotedFileContent": {},
36273645
* // "replies": [],
@@ -3634,13 +3652,15 @@ export namespace drive_v3 {
36343652
* // Example response
36353653
* // {
36363654
* // "anchor": "my_anchor",
3655+
* // "assigneeEmailAddress": "my_assigneeEmailAddress",
36373656
* // "author": {},
36383657
* // "content": "my_content",
36393658
* // "createdTime": "my_createdTime",
36403659
* // "deleted": false,
36413660
* // "htmlContent": "my_htmlContent",
36423661
* // "id": "my_id",
36433662
* // "kind": "my_kind",
3663+
* // "mentionedEmailAddresses": [],
36443664
* // "modifiedTime": "my_modifiedTime",
36453665
* // "quotedFileContent": {},
36463666
* // "replies": [],
@@ -3923,13 +3943,15 @@ export namespace drive_v3 {
39233943
* // Example response
39243944
* // {
39253945
* // "anchor": "my_anchor",
3946+
* // "assigneeEmailAddress": "my_assigneeEmailAddress",
39263947
* // "author": {},
39273948
* // "content": "my_content",
39283949
* // "createdTime": "my_createdTime",
39293950
* // "deleted": false,
39303951
* // "htmlContent": "my_htmlContent",
39313952
* // "id": "my_id",
39323953
* // "kind": "my_kind",
3954+
* // "mentionedEmailAddresses": [],
39333955
* // "modifiedTime": "my_modifiedTime",
39343956
* // "quotedFileContent": {},
39353957
* // "replies": [],
@@ -4225,13 +4247,15 @@ export namespace drive_v3 {
42254247
* // request body parameters
42264248
* // {
42274249
* // "anchor": "my_anchor",
4250+
* // "assigneeEmailAddress": "my_assigneeEmailAddress",
42284251
* // "author": {},
42294252
* // "content": "my_content",
42304253
* // "createdTime": "my_createdTime",
42314254
* // "deleted": false,
42324255
* // "htmlContent": "my_htmlContent",
42334256
* // "id": "my_id",
42344257
* // "kind": "my_kind",
4258+
* // "mentionedEmailAddresses": [],
42354259
* // "modifiedTime": "my_modifiedTime",
42364260
* // "quotedFileContent": {},
42374261
* // "replies": [],
@@ -4244,13 +4268,15 @@ export namespace drive_v3 {
42444268
* // Example response
42454269
* // {
42464270
* // "anchor": "my_anchor",
4271+
* // "assigneeEmailAddress": "my_assigneeEmailAddress",
42474272
* // "author": {},
42484273
* // "content": "my_content",
42494274
* // "createdTime": "my_createdTime",
42504275
* // "deleted": false,
42514276
* // "htmlContent": "my_htmlContent",
42524277
* // "id": "my_id",
42534278
* // "kind": "my_kind",
4279+
* // "mentionedEmailAddresses": [],
42544280
* // "modifiedTime": "my_modifiedTime",
42554281
* // "quotedFileContent": {},
42564282
* // "replies": [],
@@ -9658,13 +9684,15 @@ export namespace drive_v3 {
96589684
* // request body parameters
96599685
* // {
96609686
* // "action": "my_action",
9687+
* // "assigneeEmailAddress": "my_assigneeEmailAddress",
96619688
* // "author": {},
96629689
* // "content": "my_content",
96639690
* // "createdTime": "my_createdTime",
96649691
* // "deleted": false,
96659692
* // "htmlContent": "my_htmlContent",
96669693
* // "id": "my_id",
96679694
* // "kind": "my_kind",
9695+
* // "mentionedEmailAddresses": [],
96689696
* // "modifiedTime": "my_modifiedTime"
96699697
* // }
96709698
* },
@@ -9674,13 +9702,15 @@ export namespace drive_v3 {
96749702
* // Example response
96759703
* // {
96769704
* // "action": "my_action",
9705+
* // "assigneeEmailAddress": "my_assigneeEmailAddress",
96779706
* // "author": {},
96789707
* // "content": "my_content",
96799708
* // "createdTime": "my_createdTime",
96809709
* // "deleted": false,
96819710
* // "htmlContent": "my_htmlContent",
96829711
* // "id": "my_id",
96839712
* // "kind": "my_kind",
9713+
* // "mentionedEmailAddresses": [],
96849714
* // "modifiedTime": "my_modifiedTime"
96859715
* // }
96869716
* }
@@ -9964,13 +9994,15 @@ export namespace drive_v3 {
99649994
* // Example response
99659995
* // {
99669996
* // "action": "my_action",
9997+
* // "assigneeEmailAddress": "my_assigneeEmailAddress",
99679998
* // "author": {},
99689999
* // "content": "my_content",
996910000
* // "createdTime": "my_createdTime",
997010001
* // "deleted": false,
997110002
* // "htmlContent": "my_htmlContent",
997210003
* // "id": "my_id",
997310004
* // "kind": "my_kind",
10005+
* // "mentionedEmailAddresses": [],
997410006
* // "modifiedTime": "my_modifiedTime"
997510007
* // }
997610008
* }
@@ -10265,13 +10297,15 @@ export namespace drive_v3 {
1026510297
* // request body parameters
1026610298
* // {
1026710299
* // "action": "my_action",
10300+
* // "assigneeEmailAddress": "my_assigneeEmailAddress",
1026810301
* // "author": {},
1026910302
* // "content": "my_content",
1027010303
* // "createdTime": "my_createdTime",
1027110304
* // "deleted": false,
1027210305
* // "htmlContent": "my_htmlContent",
1027310306
* // "id": "my_id",
1027410307
* // "kind": "my_kind",
10308+
* // "mentionedEmailAddresses": [],
1027510309
* // "modifiedTime": "my_modifiedTime"
1027610310
* // }
1027710311
* },
@@ -10281,13 +10315,15 @@ export namespace drive_v3 {
1028110315
* // Example response
1028210316
* // {
1028310317
* // "action": "my_action",
10318+
* // "assigneeEmailAddress": "my_assigneeEmailAddress",
1028410319
* // "author": {},
1028510320
* // "content": "my_content",
1028610321
* // "createdTime": "my_createdTime",
1028710322
* // "deleted": false,
1028810323
* // "htmlContent": "my_htmlContent",
1028910324
* // "id": "my_id",
1029010325
* // "kind": "my_kind",
10326+
* // "mentionedEmailAddresses": [],
1029110327
* // "modifiedTime": "my_modifiedTime"
1029210328
* // }
1029310329
* }

0 commit comments

Comments
 (0)