@@ -30,7 +30,7 @@ module DriveV3
3030 # Drive = Google::Apis::DriveV3 # Alias the module
3131 # service = Drive::DriveService.new
3232 #
33- # @see https://developers.google.com/drive/
33+ # @see https://developers.google.com/workspace/ drive/
3434 class DriveService < Google ::Apis ::Core ::BaseService
3535 DEFAULT_ENDPOINT_TEMPLATE = "https://www.$UNIVERSE_DOMAIN$/"
3636
@@ -53,9 +53,9 @@ def initialize
5353
5454 # Gets information about the user, the user's Drive, and system capabilities.
5555 # For more information, see [Return user info](https://developers.google.com/
56- # drive/api/guides/user-info). Required: The `fields` parameter must be set. To
57- # return the exact fields you need, see [Return specific fields](https://
58- # developers.google.com/drive/api/guides/fields-parameter).
56+ # workspace/ drive/api/guides/user-info). Required: The `fields` parameter must
57+ # be set. To return the exact fields you need, see [Return specific fields](
58+ # https:// developers.google.com/workspace /drive/api/guides/fields-parameter).
5959 # @param [String] fields
6060 # Selector specifying which fields to include in a partial response.
6161 # @param [String] quota_user
@@ -187,7 +187,7 @@ def resolve_accessproposal_access_proposal(file_id, proposal_id, resolve_access_
187187 end
188188
189189 # Gets a specific app. For more information, see [Return user info](https://
190- # developers.google.com/drive/api/guides/user-info).
190+ # developers.google.com/workspace/ drive/api/guides/user-info).
191191 # @param [String] app_id
192192 # The ID of the app.
193193 # @param [String] fields
@@ -218,7 +218,7 @@ def get_app(app_id, fields: nil, quota_user: nil, options: nil, &block)
218218 end
219219
220220 # Lists a user's installed apps. For more information, see [Return user info](
221- # https://developers.google.com/drive/api/guides/user-info).
221+ # https://developers.google.com/workspace/ drive/api/guides/user-info).
222222 # @param [String] app_filter_extensions
223223 # A comma-separated list of file extensions to limit returned results. All
224224 # results within the given app query scope which can open any of the given file
@@ -262,8 +262,8 @@ def list_apps(app_filter_extensions: nil, app_filter_mime_types: nil, language_c
262262 end
263263
264264 # Gets the starting pageToken for listing future changes. For more information,
265- # see [Retrieve changes](https://developers.google.com/drive/api/guides/manage-
266- # changes).
265+ # see [Retrieve changes](https://developers.google.com/workspace/ drive/api/
266+ # guides/manage- changes).
267267 # @param [String] drive_id
268268 # The ID of the shared drive for which the starting pageToken for listing future
269269 # changes from that shared drive will be returned.
@@ -304,8 +304,8 @@ def get_changes_start_page_token(drive_id: nil, supports_all_drives: nil, suppor
304304 end
305305
306306 # Lists the changes for a user or shared drive. For more information, see [
307- # Retrieve changes](https://developers.google.com/drive/api/guides/manage-
308- # changes).
307+ # Retrieve changes](https://developers.google.com/workspace/ drive/api/guides/
308+ # manage- changes).
309309 # @param [String] page_token
310310 # The token for continuing a previous list request on the next page. This should
311311 # be set to the value of 'nextPageToken' from the previous response or to the
@@ -388,7 +388,8 @@ def list_changes(page_token, drive_id: nil, include_corpus_removals: nil, includ
388388 end
389389
390390 # Subscribes to changes for a user. For more information, see [Notifications for
391- # resource changes](https://developers.google.com/drive/api/guides/push).
391+ # resource changes](https://developers.google.com/workspace/drive/api/guides/
392+ # push).
392393 # @param [String] page_token
393394 # The token for continuing a previous list request on the next page. This should
394395 # be set to the value of 'nextPageToken' from the previous response or to the
@@ -474,8 +475,8 @@ def watch_change(page_token, channel_object = nil, drive_id: nil, include_corpus
474475 end
475476
476477 # Stops watching resources through this channel. For more information, see [
477- # Notifications for resource changes](https://developers.google.com/drive/api /
478- # guides/push).
478+ # Notifications for resource changes](https://developers.google.com/workspace /
479+ # drive/api/ guides/push).
479480 # @param [Google::Apis::DriveV3::Channel] channel_object
480481 # @param [String] fields
481482 # Selector specifying which fields to include in a partial response.
@@ -504,10 +505,10 @@ def stop_channel(channel_object = nil, fields: nil, quota_user: nil, options: ni
504505 end
505506
506507 # Creates a comment on a file. For more information, see [Manage comments and
507- # replies](https://developers.google.com/drive/api/guides/manage-comments).
508- # Required: The `fields` parameter must be set. To return the exact fields you
509- # need, see [Return specific fields](https://developers.google.com/drive/api /
510- # guides/fields-parameter).
508+ # replies](https://developers.google.com/workspace/ drive/api/guides/manage-
509+ # comments). Required: The `fields` parameter must be set. To return the exact
510+ # fields you need, see [Return specific fields](https://developers.google.com/
511+ # workspace/drive/api/ guides/fields-parameter).
511512 # @param [String] file_id
512513 # The ID of the file.
513514 # @param [Google::Apis::DriveV3::Comment] comment_object
@@ -541,10 +542,10 @@ def create_comment(file_id, comment_object = nil, fields: nil, quota_user: nil,
541542 end
542543
543544 # Deletes a comment. For more information, see [Manage comments and replies](
544- # https://developers.google.com/drive/api/guides/manage-comments). Required: The
545- # `fields` parameter must be set. To return the exact fields you need, see [
546- # Return specific fields](https://developers.google.com/drive/api/guides/fields-
547- # parameter).
545+ # https://developers.google.com/workspace/ drive/api/guides/manage-comments).
546+ # Required: The `fields` parameter must be set. To return the exact fields you
547+ # need, see [ Return specific fields](https://developers.google.com/workspace/
548+ # drive/api/guides/fields- parameter).
548549 # @param [String] file_id
549550 # The ID of the file.
550551 # @param [String] comment_id
@@ -576,10 +577,10 @@ def delete_comment(file_id, comment_id, fields: nil, quota_user: nil, options: n
576577 end
577578
578579 # Gets a comment by ID. For more information, see [Manage comments and replies](
579- # https://developers.google.com/drive/api/guides/manage-comments). Required: The
580- # `fields` parameter must be set. To return the exact fields you need, see [
581- # Return specific fields](https://developers.google.com/drive/api/guides/fields-
582- # parameter).
580+ # https://developers.google.com/workspace/ drive/api/guides/manage-comments).
581+ # Required: The `fields` parameter must be set. To return the exact fields you
582+ # need, see [ Return specific fields](https://developers.google.com/workspace/
583+ # drive/api/guides/fields- parameter).
583584 # @param [String] file_id
584585 # The ID of the file.
585586 # @param [String] comment_id
@@ -617,10 +618,10 @@ def get_comment(file_id, comment_id, include_deleted: nil, fields: nil, quota_us
617618 end
618619
619620 # Lists a file's comments. For more information, see [Manage comments and
620- # replies](https://developers.google.com/drive/api/guides/manage-comments).
621- # Required: The `fields` parameter must be set. To return the exact fields you
622- # need, see [Return specific fields](https://developers.google.com/drive/api /
623- # guides/fields-parameter).
621+ # replies](https://developers.google.com/workspace/ drive/api/guides/manage-
622+ # comments). Required: The `fields` parameter must be set. To return the exact
623+ # fields you need, see [Return specific fields](https://developers.google.com/
624+ # workspace/drive/api/ guides/fields-parameter).
624625 # @param [String] file_id
625626 # The ID of the file.
626627 # @param [Boolean] include_deleted
@@ -666,10 +667,10 @@ def list_comments(file_id, include_deleted: nil, page_size: nil, page_token: nil
666667 end
667668
668669 # Updates a comment with patch semantics. For more information, see [Manage
669- # comments and replies](https://developers.google.com/drive/api/guides/manage-
670- # comments). Required: The `fields` parameter must be set. To return the exact
671- # fields you need, see [Return specific fields](https://developers.google.com/
672- # drive/api/guides/fields-parameter).
670+ # comments and replies](https://developers.google.com/workspace/ drive/api/guides/
671+ # manage- comments). Required: The `fields` parameter must be set. To return the
672+ # exact fields you need, see [Return specific fields](https://developers.google.
673+ # com/workspace/ drive/api/guides/fields-parameter).
673674 # @param [String] file_id
674675 # The ID of the file.
675676 # @param [String] comment_id
@@ -847,8 +848,8 @@ def hide_drive(drive_id, fields: nil, quota_user: nil, options: nil, &block)
847848
848849 # Lists the user's shared drives. This method accepts the `q` parameter, which
849850 # is a search query combining one or more search terms. For more information,
850- # see the [Search for shared drives](/drive/api/guides/search-shareddrives)
851- # guide.
851+ # see the [Search for shared drives](/workspace/ drive/api/guides/search-
852+ # shareddrives) guide.
852853 # @param [Fixnum] page_size
853854 # Maximum number of shared drives to return per page.
854855 # @param [String] page_token
@@ -1028,18 +1029,18 @@ def copy_file(file_id, file_object = nil, enforce_single_parent: nil, ignore_def
10281029 # 120 GB - *Accepted Media MIME types:*`*/*` Note: Specify a valid MIME type,
10291030 # rather than the literal `*/*` value. The literal `*/*` is only used to
10301031 # indicate that any valid MIME type can be uploaded. For more information on
1031- # uploading files, see [Upload file data](/drive/api/guides/manage-uploads).
1032- # Apps creating shortcuts with `files.create` must specify the MIME type `
1033- # application/vnd.google-apps.shortcut`. Apps should specify a file extension in
1034- # the `name` property when inserting files with the API. For example, an
1035- # operation to insert a JPEG file should specify something like `"name": "cat.
1036- # jpg"` in the metadata. Subsequent `GET` requests include the read-only `
1037- # fileExtension` property populated with the extension originally specified in
1038- # the `title` property. When a Google Drive user requests to download a file, or
1039- # when the file is downloaded through the sync client, Drive builds a full
1040- # filename (with extension) based on the title. In cases where the extension is
1041- # missing, Drive attempts to determine the extension based on the file's MIME
1042- # type.
1032+ # uploading files, see [Upload file data](/workspace/ drive/api/guides/manage-
1033+ # uploads). Apps creating shortcuts with `files.create` must specify the MIME
1034+ # type ` application/vnd.google-apps.shortcut`. Apps should specify a file
1035+ # extension in the `name` property when inserting files with the API. For
1036+ # example, an operation to insert a JPEG file should specify something like `"
1037+ # name": "cat. jpg"` in the metadata. Subsequent `GET` requests include the read-
1038+ # only ` fileExtension` property populated with the extension originally
1039+ # specified in the `title` property. When a Google Drive user requests to
1040+ # download a file, or when the file is downloaded through the sync client, Drive
1041+ # builds a full filename (with extension) based on the title. In cases where the
1042+ # extension is missing, Drive attempts to determine the extension based on the
1043+ # file's MIME type.
10431044 # @param [Google::Apis::DriveV3::File] file_object
10441045 # @param [Boolean] enforce_single_parent
10451046 # Deprecated. Creating files in multiple folders is no longer supported.
@@ -1312,9 +1313,9 @@ def generate_file_ids(count: nil, space: nil, type: nil, fields: nil, quota_user
13121313 # Gets a file's metadata or content by ID. If you provide the URL parameter `
13131314 # alt=media`, then the response includes the file contents in the response body.
13141315 # Downloading content with `alt=media` only works if the file is stored in Drive.
1315- # To download Google Docs, Sheets, and Slides use [`files.export`](/drive/api /
1316- # reference/rest/v3/files/export) instead. For more information, see [Download &
1317- # export files](/drive/api/guides/manage-downloads).
1316+ # To download Google Docs, Sheets, and Slides use [`files.export`](/workspace /
1317+ # drive/api/ reference/rest/v3/files/export) instead. For more information, see [
1318+ # Download & export files](/workspace /drive/api/guides/manage-downloads).
13181319 # @param [String] file_id
13191320 # The ID of the file.
13201321 # @param [Boolean] acknowledge_abuse
@@ -1373,10 +1374,10 @@ def get_file(file_id, acknowledge_abuse: nil, include_labels: nil, include_permi
13731374
13741375 # Lists the user's files. This method accepts the `q` parameter, which is a
13751376 # search query combining one or more search terms. For more information, see the
1376- # [Search for files & folders](/drive/api/guides/search-files) guide. *Note: *
1377- # This method returns *all* files by default, including trashed files. If you
1378- # don't want trashed files to appear in the list, use the `trashed=false` query
1379- # parameter to remove trashed files from the results.
1377+ # [Search for files & folders](/workspace/ drive/api/guides/search-files) guide. *
1378+ # Note:* This method returns *all* files by default, including trashed files. If
1379+ # you don't want trashed files to appear in the list, use the `trashed=false`
1380+ # query parameter to remove trashed files from the results.
13801381 # @param [String] corpora
13811382 # Bodies of items (files/documents) to which the query applies. Supported bodies
13821383 # are 'user', 'domain', 'drive', and 'allDrives'. Prefer 'user' or 'drive' to '
@@ -1549,7 +1550,8 @@ def modify_file_labels(file_id, modify_labels_request_object = nil, fields: nil,
15491550 # size:* 5,120 GB - *Accepted Media MIME types:*`*/*` Note: Specify a valid MIME
15501551 # type, rather than the literal `*/*` value. The literal `*/*` is only used to
15511552 # indicate that any valid MIME type can be uploaded. For more information on
1552- # uploading files, see [Upload file data](/drive/api/guides/manage-uploads).
1553+ # uploading files, see [Upload file data](/workspace/drive/api/guides/manage-
1554+ # uploads).
15531555 # @param [String] file_id
15541556 # The ID of the file.
15551557 # @param [Google::Apis::DriveV3::File] file_object
0 commit comments