Skip to content

Commit d1f9ef2

Browse files
yoshi-automationsofisl
authored andcommitted
fix(drive): update the API
#### drive:v2 The following keys were changed: - schemas.File.properties.lastModifyingUser.description - schemas.File.properties.parents.description - schemas.ParentReference.description - schemas.Revision.properties.lastModifyingUser.description #### drive:v3 The following keys were changed: - schemas.File.properties.lastModifyingUser.description - schemas.File.properties.parents.description - schemas.Revision.properties.lastModifyingUser.description
1 parent 52cf151 commit d1f9ef2

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

discovery/drive-v2.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3869,7 +3869,7 @@
38693869
}
38703870
}
38713871
},
3872-
"revision": "20240730",
3872+
"revision": "20240809",
38733873
"rootUrl": "https://www.googleapis.com/",
38743874
"schemas": {
38753875
"About": {
@@ -5469,7 +5469,7 @@
54695469
},
54705470
"lastModifyingUser": {
54715471
"$ref": "User",
5472-
"description": "Output only. The last user to modify this file."
5472+
"description": "Output only. The last user to modify this file. This field is only populated when the last modification was performed by a signed-in user."
54735473
},
54745474
"lastModifyingUserName": {
54755475
"description": "Output only. Name of the last user to modify this file.",
@@ -5547,7 +5547,7 @@
55475547
"type": "array"
55485548
},
55495549
"parents": {
5550-
"description": "Collection of parent folders which contain this file. If not specified as part of an insert request, the file will be placed directly in the user's My Drive folder. If not specified as part of a copy request, the file will inherit any discoverable parents of the source file. Update requests can also use the `addParents` and `removeParents` parameters to modify the parents list.",
5550+
"description": "The ID of the parent folder containing the file. A file can only have one parent folder; specifying multiple parents isn't supported. If not specified as part of an insert request, the file is placed directly in the user's My Drive folder. If not specified as part of a copy request, the file inherits any discoverable parent of the source file. Update requests must use the `addParents` and `removeParents` parameters to modify the parents list.",
55515551
"items": {
55525552
"$ref": "ParentReference"
55535553
},
@@ -6049,7 +6049,7 @@
60496049
"type": "object"
60506050
},
60516051
"ParentReference": {
6052-
"description": "A reference to a file's parent. Some resource methods (such as `parents.get`) require a `parentId`. Use the `parents.list` method to retrieve the ID for a parent.",
6052+
"description": "A reference to a file's parent. A file can only have one parent folder; specifying multiple parents isn't supported. Some resource methods (such as `parents.get`) require a `parentId`. Use the `parents.list` method to retrieve the ID for a parent.",
60536053
"id": "ParentReference",
60546054
"properties": {
60556055
"id": {
@@ -6394,7 +6394,7 @@
63946394
},
63956395
"lastModifyingUser": {
63966396
"$ref": "User",
6397-
"description": "Output only. The last user to modify this revision."
6397+
"description": "Output only. The last user to modify this revision. This field is only populated when the last modification was performed by a signed-in user."
63986398
},
63996399
"lastModifyingUserName": {
64006400
"description": "Output only. Name of the last user to modify this revision.",

discovery/drive-v3.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2523,7 +2523,7 @@
25232523
}
25242524
}
25252525
},
2526-
"revision": "20240730",
2526+
"revision": "20240809",
25272527
"rootUrl": "https://www.googleapis.com/",
25282528
"schemas": {
25292529
"About": {
@@ -3735,7 +3735,7 @@
37353735
},
37363736
"lastModifyingUser": {
37373737
"$ref": "User",
3738-
"description": "Output only. The last user to modify the file."
3738+
"description": "Output only. The last user to modify the file. This field is only populated when the last modification was performed by a signed-in user."
37393739
},
37403740
"linkShareMetadata": {
37413741
"description": "Contains details about the link URLs that clients are using to refer to this item.",
@@ -3793,7 +3793,7 @@
37933793
"type": "array"
37943794
},
37953795
"parents": {
3796-
"description": "The IDs of the parent folders which contain the file. If not specified as part of a create request, the file is placed directly in the user's My Drive folder. If not specified as part of a copy request, the file inherits any discoverable parents of the source file. Update requests must use the `addParents` and `removeParents` parameters to modify the parents list.",
3796+
"description": "The ID of the parent folder containing the file. A file can only have one parent folder; specifying multiple parents isn't supported. If not specified as part of a create request, the file is placed directly in the user's My Drive folder. If not specified as part of a copy request, the file inherits any discoverable parent of the source file. Update requests must use the `addParents` and `removeParents` parameters to modify the parents list.",
37973797
"items": {
37983798
"type": "string"
37993799
},
@@ -4494,7 +4494,7 @@
44944494
},
44954495
"lastModifyingUser": {
44964496
"$ref": "User",
4497-
"description": "Output only. The last user to modify this revision."
4497+
"description": "Output only. The last user to modify this revision. This field is only populated when the last modification was performed by a signed-in user."
44984498
},
44994499
"md5Checksum": {
45004500
"description": "Output only. The MD5 checksum of the revision's content. This is only applicable to files with binary content in Drive.",

src/apis/drive/v2.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1095,7 +1095,7 @@ export namespace drive_v2 {
10951095
viewed?: boolean;
10961096
} | null;
10971097
/**
1098-
* Output only. The last user to modify this file.
1098+
* Output only. The last user to modify this file. This field is only populated when the last modification was performed by a signed-in user.
10991099
*/
11001100
lastModifyingUser?: Schema$User;
11011101
/**
@@ -1154,7 +1154,7 @@ export namespace drive_v2 {
11541154
*/
11551155
owners?: Schema$User[];
11561156
/**
1157-
* Collection of parent folders which contain this file. If not specified as part of an insert request, the file will be placed directly in the user's My Drive folder. If not specified as part of a copy request, the file will inherit any discoverable parents of the source file. Update requests can also use the `addParents` and `removeParents` parameters to modify the parents list.
1157+
* The ID of the parent folder containing the file. A file can only have one parent folder; specifying multiple parents isn't supported. If not specified as part of an insert request, the file is placed directly in the user's My Drive folder. If not specified as part of a copy request, the file inherits any discoverable parent of the source file. Update requests must use the `addParents` and `removeParents` parameters to modify the parents list.
11581158
*/
11591159
parents?: Schema$ParentReference[];
11601160
/**
@@ -1505,7 +1505,7 @@ export namespace drive_v2 {
15051505
selfLink?: string | null;
15061506
}
15071507
/**
1508-
* A reference to a file's parent. Some resource methods (such as `parents.get`) require a `parentId`. Use the `parents.list` method to retrieve the ID for a parent.
1508+
* A reference to a file's parent. A file can only have one parent folder; specifying multiple parents isn't supported. Some resource methods (such as `parents.get`) require a `parentId`. Use the `parents.list` method to retrieve the ID for a parent.
15091509
*/
15101510
export interface Schema$ParentReference {
15111511
/**
@@ -1743,7 +1743,7 @@ export namespace drive_v2 {
17431743
*/
17441744
kind?: string | null;
17451745
/**
1746-
* Output only. The last user to modify this revision.
1746+
* Output only. The last user to modify this revision. This field is only populated when the last modification was performed by a signed-in user.
17471747
*/
17481748
lastModifyingUser?: Schema$User;
17491749
/**

src/apis/drive/v3.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,7 @@ export namespace drive_v3 {
831831
*/
832832
labelInfo?: {labels?: Schema$Label[]} | null;
833833
/**
834-
* Output only. The last user to modify the file.
834+
* Output only. The last user to modify the file. This field is only populated when the last modification was performed by a signed-in user.
835835
*/
836836
lastModifyingUser?: Schema$User;
837837
/**
@@ -878,7 +878,7 @@ export namespace drive_v3 {
878878
*/
879879
owners?: Schema$User[];
880880
/**
881-
* The IDs of the parent folders which contain the file. If not specified as part of a create request, the file is placed directly in the user's My Drive folder. If not specified as part of a copy request, the file inherits any discoverable parents of the source file. Update requests must use the `addParents` and `removeParents` parameters to modify the parents list.
881+
* The ID of the parent folder containing the file. A file can only have one parent folder; specifying multiple parents isn't supported. If not specified as part of a create request, the file is placed directly in the user's My Drive folder. If not specified as part of a copy request, the file inherits any discoverable parent of the source file. Update requests must use the `addParents` and `removeParents` parameters to modify the parents list.
882882
*/
883883
parents?: string[] | null;
884884
/**
@@ -1371,7 +1371,7 @@ export namespace drive_v3 {
13711371
*/
13721372
kind?: string | null;
13731373
/**
1374-
* Output only. The last user to modify this revision.
1374+
* Output only. The last user to modify this revision. This field is only populated when the last modification was performed by a signed-in user.
13751375
*/
13761376
lastModifyingUser?: Schema$User;
13771377
/**

0 commit comments

Comments
 (0)