Skip to content

Commit 69b46be

Browse files
1 parent 40b796c commit 69b46be

File tree

8 files changed

+62
-57
lines changed

8 files changed

+62
-57
lines changed

src/Drive.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
*
2828
* <p>
2929
* For more information about this service, see the API
30-
* <a href="https://developers.google.com/drive/" target="_blank">Documentation</a>
30+
* <a href="https://developers.google.com/workspace/drive/" target="_blank">Documentation</a>
3131
* </p>
3232
*
3333
* @author Google, Inc.

src/Drive/Resource/About.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ class About extends \Google\Service\Resource
3232
/**
3333
* Gets information about the user, the user's Drive, and system capabilities.
3434
* For more information, see [Return user
35-
* info](https://developers.google.com/drive/api/guides/user-info). Required:
36-
* The `fields` parameter must be set. To return the exact fields you need, see
37-
* [Return specific
38-
* fields](https://developers.google.com/drive/api/guides/fields-parameter).
39-
* (about.get)
35+
* info](https://developers.google.com/workspace/drive/api/guides/user-info).
36+
* Required: The `fields` parameter must be set. To return the exact fields you
37+
* need, see [Return specific
38+
* fields](https://developers.google.com/workspace/drive/api/guides/fields-
39+
* parameter). (about.get)
4040
*
4141
* @param array $optParams Optional parameters.
4242
* @return AboutModel

src/Drive/Resource/Apps.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ class Apps extends \Google\Service\Resource
3232
{
3333
/**
3434
* Gets a specific app. For more information, see [Return user
35-
* info](https://developers.google.com/drive/api/guides/user-info). (apps.get)
35+
* info](https://developers.google.com/workspace/drive/api/guides/user-info).
36+
* (apps.get)
3637
*
3738
* @param string $appId The ID of the app.
3839
* @param array $optParams Optional parameters.
@@ -47,7 +48,7 @@ public function get($appId, $optParams = [])
4748
}
4849
/**
4950
* Lists a user's installed apps. For more information, see [Return user
50-
* info](https://developers.google.com/drive/api/guides/user-info).
51+
* info](https://developers.google.com/workspace/drive/api/guides/user-info).
5152
* (apps.listApps)
5253
*
5354
* @param array $optParams Optional parameters.

src/Drive/Resource/Changes.php

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ class Changes extends \Google\Service\Resource
3333
{
3434
/**
3535
* Gets the starting pageToken for listing future changes. For more information,
36-
* see [Retrieve changes](https://developers.google.com/drive/api/guides/manage-
36+
* see [Retrieve
37+
* changes](https://developers.google.com/workspace/drive/api/guides/manage-
3738
* changes). (changes.getStartPageToken)
3839
*
3940
* @param array $optParams Optional parameters.
@@ -56,7 +57,8 @@ public function getStartPageToken($optParams = [])
5657
}
5758
/**
5859
* Lists the changes for a user or shared drive. For more information, see
59-
* [Retrieve changes](https://developers.google.com/drive/api/guides/manage-
60+
* [Retrieve
61+
* changes](https://developers.google.com/workspace/drive/api/guides/manage-
6062
* changes). (changes.listChanges)
6163
*
6264
* @param string $pageToken The token for continuing a previous list request on
@@ -105,7 +107,8 @@ public function listChanges($pageToken, $optParams = [])
105107
}
106108
/**
107109
* Subscribes to changes for a user. For more information, see [Notifications
108-
* for resource changes](https://developers.google.com/drive/api/guides/push).
110+
* for resource
111+
* changes](https://developers.google.com/workspace/drive/api/guides/push).
109112
* (changes.watch)
110113
*
111114
* @param string $pageToken The token for continuing a previous list request on

src/Drive/Resource/Channels.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class Channels extends \Google\Service\Resource
3232
/**
3333
* Stops watching resources through this channel. For more information, see
3434
* [Notifications for resource
35-
* changes](https://developers.google.com/drive/api/guides/push).
35+
* changes](https://developers.google.com/workspace/drive/api/guides/push).
3636
* (channels.stop)
3737
*
3838
* @param Channel $postBody

src/Drive/Resource/Comments.php

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ class Comments extends \Google\Service\Resource
3232
{
3333
/**
3434
* Creates a comment on a file. For more information, see [Manage comments and
35-
* replies](https://developers.google.com/drive/api/guides/manage-comments).
36-
* Required: The `fields` parameter must be set. To return the exact fields you
37-
* need, see [Return specific
38-
* fields](https://developers.google.com/drive/api/guides/fields-parameter).
39-
* (comments.create)
35+
* replies](https://developers.google.com/workspace/drive/api/guides/manage-
36+
* comments). Required: The `fields` parameter must be set. To return the exact
37+
* fields you need, see [Return specific
38+
* fields](https://developers.google.com/workspace/drive/api/guides/fields-
39+
* parameter). (comments.create)
4040
*
4141
* @param string $fileId The ID of the file.
4242
* @param Comment $postBody
@@ -52,11 +52,11 @@ public function create($fileId, Comment $postBody, $optParams = [])
5252
}
5353
/**
5454
* Deletes a comment. For more information, see [Manage comments and
55-
* replies](https://developers.google.com/drive/api/guides/manage-comments).
56-
* Required: The `fields` parameter must be set. To return the exact fields you
57-
* need, see [Return specific
58-
* fields](https://developers.google.com/drive/api/guides/fields-parameter).
59-
* (comments.delete)
55+
* replies](https://developers.google.com/workspace/drive/api/guides/manage-
56+
* comments). Required: The `fields` parameter must be set. To return the exact
57+
* fields you need, see [Return specific
58+
* fields](https://developers.google.com/workspace/drive/api/guides/fields-
59+
* parameter). (comments.delete)
6060
*
6161
* @param string $fileId The ID of the file.
6262
* @param string $commentId The ID of the comment.
@@ -71,11 +71,11 @@ public function delete($fileId, $commentId, $optParams = [])
7171
}
7272
/**
7373
* Gets a comment by ID. For more information, see [Manage comments and
74-
* replies](https://developers.google.com/drive/api/guides/manage-comments).
75-
* Required: The `fields` parameter must be set. To return the exact fields you
76-
* need, see [Return specific
77-
* fields](https://developers.google.com/drive/api/guides/fields-parameter).
78-
* (comments.get)
74+
* replies](https://developers.google.com/workspace/drive/api/guides/manage-
75+
* comments). Required: The `fields` parameter must be set. To return the exact
76+
* fields you need, see [Return specific
77+
* fields](https://developers.google.com/workspace/drive/api/guides/fields-
78+
* parameter). (comments.get)
7979
*
8080
* @param string $fileId The ID of the file.
8181
* @param string $commentId The ID of the comment.
@@ -94,11 +94,11 @@ public function get($fileId, $commentId, $optParams = [])
9494
}
9595
/**
9696
* Lists a file's comments. For more information, see [Manage comments and
97-
* replies](https://developers.google.com/drive/api/guides/manage-comments).
98-
* Required: The `fields` parameter must be set. To return the exact fields you
99-
* need, see [Return specific
100-
* fields](https://developers.google.com/drive/api/guides/fields-parameter).
101-
* (comments.listComments)
97+
* replies](https://developers.google.com/workspace/drive/api/guides/manage-
98+
* comments). Required: The `fields` parameter must be set. To return the exact
99+
* fields you need, see [Return specific
100+
* fields](https://developers.google.com/workspace/drive/api/guides/fields-
101+
* parameter). (comments.listComments)
102102
*
103103
* @param string $fileId The ID of the file.
104104
* @param array $optParams Optional parameters.
@@ -122,11 +122,12 @@ public function listComments($fileId, $optParams = [])
122122
}
123123
/**
124124
* Updates a comment with patch semantics. For more information, see [Manage
125-
* comments and replies](https://developers.google.com/drive/api/guides/manage-
125+
* comments and
126+
* replies](https://developers.google.com/workspace/drive/api/guides/manage-
126127
* comments). Required: The `fields` parameter must be set. To return the exact
127128
* fields you need, see [Return specific
128-
* fields](https://developers.google.com/drive/api/guides/fields-parameter).
129-
* (comments.update)
129+
* fields](https://developers.google.com/workspace/drive/api/guides/fields-
130+
* parameter). (comments.update)
130131
*
131132
* @param string $fileId The ID of the file.
132133
* @param string $commentId The ID of the comment.

src/Drive/Resource/Drives.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ public function hide($driveId, $optParams = [])
105105
/**
106106
* Lists the user's shared drives. This method accepts the `q` parameter, which
107107
* is a search query combining one or more search terms. For more information,
108-
* see the [Search for shared drives](/drive/api/guides/search-shareddrives)
109-
* guide. (drives.listDrives)
108+
* see the [Search for shared drives](/workspace/drive/api/guides/search-
109+
* shareddrives) guide. (drives.listDrives)
110110
*
111111
* @param array $optParams Optional parameters.
112112
*

src/Drive/Resource/Files.php

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -80,18 +80,18 @@ public function copy($fileId, DriveFile $postBody, $optParams = [])
8080
* *Accepted Media MIME types:*`*` Note: Specify a valid MIME type, rather than
8181
* the literal `*` value. The literal `*` is only used to indicate that any
8282
* valid MIME type can be uploaded. For more information on uploading files, see
83-
* [Upload file data](/drive/api/guides/manage-uploads). Apps creating shortcuts
84-
* with `files.create` must specify the MIME type `application/vnd.google-
85-
* apps.shortcut`. Apps should specify a file extension in the `name` property
86-
* when inserting files with the API. For example, an operation to insert a JPEG
87-
* file should specify something like `"name": "cat.jpg"` in the metadata.
88-
* Subsequent `GET` requests include the read-only `fileExtension` property
89-
* populated with the extension originally specified in the `title` property.
90-
* When a Google Drive user requests to download a file, or when the file is
91-
* downloaded through the sync client, Drive builds a full filename (with
92-
* extension) based on the title. In cases where the extension is missing, Drive
93-
* attempts to determine the extension based on the file's MIME type.
94-
* (files.create)
83+
* [Upload file data](/workspace/drive/api/guides/manage-uploads). Apps creating
84+
* shortcuts with `files.create` must specify the MIME type
85+
* `application/vnd.google-apps.shortcut`. Apps should specify a file extension
86+
* in the `name` property when inserting files with the API. For example, an
87+
* operation to insert a JPEG file should specify something like `"name":
88+
* "cat.jpg"` in the metadata. Subsequent `GET` requests include the read-only
89+
* `fileExtension` property populated with the extension originally specified in
90+
* the `title` property. When a Google Drive user requests to download a file,
91+
* or when the file is downloaded through the sync client, Drive builds a full
92+
* filename (with extension) based on the title. In cases where the extension is
93+
* missing, Drive attempts to determine the extension based on the file's MIME
94+
* type. (files.create)
9595
*
9696
* @param DriveFile $postBody
9797
* @param array $optParams Optional parameters.
@@ -239,9 +239,9 @@ public function generateIds($optParams = [])
239239
* `alt=media`, then the response includes the file contents in the response
240240
* body. Downloading content with `alt=media` only works if the file is stored
241241
* in Drive. To download Google Docs, Sheets, and Slides use
242-
* [`files.export`](/drive/api/reference/rest/v3/files/export) instead. For more
243-
* information, see [Download & export files](/drive/api/guides/manage-
244-
* downloads). (files.get)
242+
* [`files.export`](/workspace/drive/api/reference/rest/v3/files/export)
243+
* instead. For more information, see [Download & export
244+
* files](/workspace/drive/api/guides/manage-downloads). (files.get)
245245
*
246246
* @param string $fileId The ID of the file.
247247
* @param array $optParams Optional parameters.
@@ -270,9 +270,9 @@ public function get($fileId, $optParams = [])
270270
/**
271271
* Lists the user's files. This method accepts the `q` parameter, which is a
272272
* search query combining one or more search terms. For more information, see
273-
* the [Search for files & folders](/drive/api/guides/search-files) guide.
274-
* *Note:* This method returns *all* files by default, including trashed files.
275-
* If you don't want trashed files to appear in the list, use the
273+
* the [Search for files & folders](/workspace/drive/api/guides/search-files)
274+
* guide. *Note:* This method returns *all* files by default, including trashed
275+
* files. If you don't want trashed files to appear in the list, use the
276276
* `trashed=false` query parameter to remove trashed files from the results.
277277
* (files.listFiles)
278278
*
@@ -377,8 +377,8 @@ public function modifyLabels($fileId, ModifyLabelsRequest $postBody, $optParams
377377
* size:* 5,120 GB - *Accepted Media MIME types:*`*` Note: Specify a valid MIME
378378
* type, rather than the literal `*` value. The literal `*` is only used to
379379
* indicate that any valid MIME type can be uploaded. For more information on
380-
* uploading files, see [Upload file data](/drive/api/guides/manage-uploads).
381-
* (files.update)
380+
* uploading files, see [Upload file data](/workspace/drive/api/guides/manage-
381+
* uploads). (files.update)
382382
*
383383
* @param string $fileId The ID of the file.
384384
* @param DriveFile $postBody

0 commit comments

Comments
 (0)