Skip to content

Commit 6b1c74e

Browse files
fix(driveactivity): update the API
#### driveactivity:v2 The following keys were changed: - documentationLink - schemas.DriveItem.properties.mimeType.description - schemas.FileComment.properties.legacyCommentId.description - schemas.FileComment.properties.legacyDiscussionId.description - schemas.Permission.properties.role.description - schemas.Target.description
1 parent a22e854 commit 6b1c74e

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

‎discovery/driveactivity-v2.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"canonicalName": "Drive Activity",
1818
"description": "Provides a historical view of activity in Google Drive.",
1919
"discoveryVersion": "v1",
20-
"documentationLink": "https://developers.google.com/drive/activity/",
20+
"documentationLink": "https://developers.google.com/workspace/drive/activity/",
2121
"fullyEncodeReservedExpansion": true,
2222
"icons": {
2323
"x16": "http://www.google.com/images/icons/product/search-16.gif",
@@ -132,7 +132,7 @@
132132
}
133133
}
134134
},
135-
"revision": "20230704",
135+
"revision": "20250329",
136136
"rootUrl": "https://driveactivity.googleapis.com/",
137137
"schemas": {
138138
"Action": {
@@ -634,7 +634,7 @@
634634
"description": "This field is deprecated; please use the `driveFolder` field instead."
635635
},
636636
"mimeType": {
637-
"description": "The MIME type of the Drive item. See https://developers.google.com/drive/v3/web/mime-types.",
637+
"description": "The MIME type of the Drive item. See https://developers.google.com/workspace/drive/v3/web/mime-types.",
638638
"type": "string"
639639
},
640640
"name": {
@@ -780,11 +780,11 @@
780780
"id": "FileComment",
781781
"properties": {
782782
"legacyCommentId": {
783-
"description": "The comment in the discussion thread. This identifier is an opaque string compatible with the Drive API; see https://developers.google.com/drive/v3/reference/comments/get",
783+
"description": "The comment in the discussion thread. This identifier is an opaque string compatible with the Drive API; see https://developers.google.com/workspace/drive/v3/reference/comments/get",
784784
"type": "string"
785785
},
786786
"legacyDiscussionId": {
787-
"description": "The discussion thread to which the comment was added. This identifier is an opaque string compatible with the Drive API and references the first comment in a discussion; see https://developers.google.com/drive/v3/reference/comments/get",
787+
"description": "The discussion thread to which the comment was added. This identifier is an opaque string compatible with the Drive API and references the first comment in a discussion; see https://developers.google.com/workspace/drive/v3/reference/comments/get",
788788
"type": "string"
789789
},
790790
"linkToDiscussion": {
@@ -959,7 +959,7 @@
959959
"description": "The group to whom this permission applies."
960960
},
961961
"role": {
962-
"description": "Indicates the [Google Drive permissions role](https://developers.google.com/drive/web/manage-sharing#roles). The role determines a user's ability to read, write, and comment on items.",
962+
"description": "Indicates the [Google Drive permissions role](https://developers.google.com/workspace/drive/web/manage-sharing#roles). The role determines a user's ability to read, write, and comment on items.",
963963
"enum": [
964964
"ROLE_UNSPECIFIED",
965965
"OWNER",
@@ -1273,7 +1273,7 @@
12731273
"type": "object"
12741274
},
12751275
"Target": {
1276-
"description": "Information about the target of activity. For more information on how activity history is shared with users, see [Activity history visibility](https://developers.google.com/drive/activity/v2#activityhistory).",
1276+
"description": "Information about the target of activity. For more information on how activity history is shared with users, see [Activity history visibility](https://developers.google.com/workspace/drive/activity/v2#activityhistory).",
12771277
"id": "Target",
12781278
"properties": {
12791279
"drive": {

‎src/apis/driveactivity/v2.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ export namespace driveactivity_v2 {
475475
*/
476476
folder?: Schema$Folder;
477477
/**
478-
* The MIME type of the Drive item. See https://developers.google.com/drive/v3/web/mime-types.
478+
* The MIME type of the Drive item. See https://developers.google.com/workspace/drive/v3/web/mime-types.
479479
*/
480480
mimeType?: string | null;
481481
/**
@@ -604,11 +604,11 @@ export namespace driveactivity_v2 {
604604
*/
605605
export interface Schema$FileComment {
606606
/**
607-
* The comment in the discussion thread. This identifier is an opaque string compatible with the Drive API; see https://developers.google.com/drive/v3/reference/comments/get
607+
* The comment in the discussion thread. This identifier is an opaque string compatible with the Drive API; see https://developers.google.com/workspace/drive/v3/reference/comments/get
608608
*/
609609
legacyCommentId?: string | null;
610610
/**
611-
* The discussion thread to which the comment was added. This identifier is an opaque string compatible with the Drive API and references the first comment in a discussion; see https://developers.google.com/drive/v3/reference/comments/get
611+
* The discussion thread to which the comment was added. This identifier is an opaque string compatible with the Drive API and references the first comment in a discussion; see https://developers.google.com/workspace/drive/v3/reference/comments/get
612612
*/
613613
legacyDiscussionId?: string | null;
614614
/**
@@ -740,7 +740,7 @@ export namespace driveactivity_v2 {
740740
*/
741741
group?: Schema$Group;
742742
/**
743-
* Indicates the [Google Drive permissions role](https://developers.google.com/drive/web/manage-sharing#roles). The role determines a user's ability to read, write, and comment on items.
743+
* Indicates the [Google Drive permissions role](https://developers.google.com/workspace/drive/web/manage-sharing#roles). The role determines a user's ability to read, write, and comment on items.
744744
*/
745745
role?: string | null;
746746
/**
@@ -906,7 +906,7 @@ export namespace driveactivity_v2 {
906906
type?: string | null;
907907
}
908908
/**
909-
* Information about the target of activity. For more information on how activity history is shared with users, see [Activity history visibility](https://developers.google.com/drive/activity/v2#activityhistory).
909+
* Information about the target of activity. For more information on how activity history is shared with users, see [Activity history visibility](https://developers.google.com/workspace/drive/activity/v2#activityhistory).
910910
*/
911911
export interface Schema$Target {
912912
/**

0 commit comments

Comments
 (0)