google-apis-drive_v3 0.62.0 → 0.63.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c1331ed80310f3da5d59a9fcddfe68aee72cb992da9fa87adc57fcfda6760101
4
- data.tar.gz: dcac451be428fe145d1197ef006677b1de25197cd7184d6658d6ea65393948c7
3
+ metadata.gz: 93ecd54379da1d4a8dde5a077f62b78c632ae8ceb96276f3b7df931e2955a5e9
4
+ data.tar.gz: 346e988d1824ba5e1c02a0c3848420953b414cf26a10943e61c6d236c4fe3e4c
5
5
  SHA512:
6
- metadata.gz: 13dc6a60f623783556f8c76863c8734d22d3fe5b3e181032ca89c30dff5e6de9b9f329559b8fac73710b4755d5fbfc1f2feccc1cedb1327c9cba317f2953526e
7
- data.tar.gz: 67b64b3b665eb47d74e0f88d3a3ce64548540fd31d81eb6fbc4adaba430af87f46b916276442554280a7c06d2a1fae3210cfa26a4752bfc4d911c6de0d3d0d61
6
+ metadata.gz: 0bd4aee62749a9d3c077d8bd5266ec5b25ed4cd680c9143122b4cdd8b606285807e92f51fae19dc3e0e46d6466c23cc1209817d2d06fe3e225ccbb85c2129baa
7
+ data.tar.gz: 66fe34925b68fa5585ad2e633f9184390838dcb6cd13ac6b3d6df31ec2febc462f5b33b7f144597b57fa7e7efdf8e85a0971bdba1561a8b8c6257a55dc7e057f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-drive_v3
2
2
 
3
+ ### v0.63.0 (2025-04-06)
4
+
5
+ * Regenerated from discovery document revision 20250329
6
+
3
7
  ### v0.62.0 (2025-03-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20250220
data/OVERVIEW.md CHANGED
@@ -79,7 +79,7 @@ Gem names for modern clients are often of the form `google-cloud-<service_name>`
79
79
 
80
80
  **For most users, we recommend the modern client, if one is available.** Compared with simple clients, modern clients are generally much easier to use and more Ruby-like, support more advanced features such as streaming and long-running operations, and often provide much better performance. You may consider using a simple client instead, if a modern client is not yet available for the service you want to use, or if you are not able to use gRPC on your infrastructure.
81
81
 
82
- The [product documentation](https://developers.google.com/drive/) may provide guidance regarding the preferred client library to use.
82
+ The [product documentation](https://developers.google.com/workspace/drive/) may provide guidance regarding the preferred client library to use.
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
@@ -772,7 +772,7 @@ module Google
772
772
 
773
773
  # A region of the document represented as a JSON string. For details on defining
774
774
  # anchor properties, refer to [Manage comments and replies](https://developers.
775
- # google.com/drive/api/v3/manage-comments).
775
+ # google.com/workspace/drive/api/v3/manage-comments).
776
776
  # Corresponds to the JSON property `anchor`
777
777
  # @return [String]
778
778
  attr_accessor :anchor
@@ -3112,10 +3112,10 @@ module Google
3112
3112
  # A permission for a file. A permission grants a user, group, domain, or the
3113
3113
  # world access to a file or a folder hierarchy. By default, permissions requests
3114
3114
  # only return a subset of fields. Permission kind, ID, type, and role are always
3115
- # returned. To retrieve specific fields, see https://developers.google.com/drive/
3116
- # api/guides/fields-parameter. Some resource methods (such as `permissions.
3117
- # update`) require a `permissionId`. Use the `permissions.list` method to
3118
- # retrieve the ID for a file, folder, or shared drive.
3115
+ # returned. To retrieve specific fields, see https://developers.google.com/
3116
+ # workspace/drive/api/guides/fields-parameter. Some resource methods (such as `
3117
+ # permissions.update`) require a `permissionId`. Use the `permissions.list`
3118
+ # method to retrieve the ID for a file, folder, or shared drive.
3119
3119
  class Permission
3120
3120
  include Google::Apis::Core::Hashable
3121
3121
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DriveV3
18
18
  # Version of the google-apis-drive_v3 gem
19
- GEM_VERSION = "0.62.0"
19
+ GEM_VERSION = "0.63.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250220"
25
+ REVISION = "20250329"
26
26
  end
27
27
  end
28
28
  end
@@ -30,7 +30,7 @@ module Google
30
30
  # Drive = Google::Apis::DriveV3 # Alias the module
31
31
  # service = Drive::DriveService.new
32
32
  #
33
- # @see https://developers.google.com/drive/
33
+ # @see https://developers.google.com/workspace/drive/
34
34
  class DriveService < Google::Apis::Core::BaseService
35
35
  DEFAULT_ENDPOINT_TEMPLATE = "https://www.$UNIVERSE_DOMAIN$/"
36
36
 
@@ -53,9 +53,9 @@ module Google
53
53
 
54
54
  # Gets information about the user, the user's Drive, and system capabilities.
55
55
  # 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).
59
59
  # @param [String] fields
60
60
  # Selector specifying which fields to include in a partial response.
61
61
  # @param [String] quota_user
@@ -187,7 +187,7 @@ module Google
187
187
  end
188
188
 
189
189
  # 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).
191
191
  # @param [String] app_id
192
192
  # The ID of the app.
193
193
  # @param [String] fields
@@ -218,7 +218,7 @@ module Google
218
218
  end
219
219
 
220
220
  # 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).
222
222
  # @param [String] app_filter_extensions
223
223
  # A comma-separated list of file extensions to limit returned results. All
224
224
  # results within the given app query scope which can open any of the given file
@@ -262,8 +262,8 @@ module Google
262
262
  end
263
263
 
264
264
  # 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).
267
267
  # @param [String] drive_id
268
268
  # The ID of the shared drive for which the starting pageToken for listing future
269
269
  # changes from that shared drive will be returned.
@@ -304,8 +304,8 @@ module Google
304
304
  end
305
305
 
306
306
  # 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).
309
309
  # @param [String] page_token
310
310
  # The token for continuing a previous list request on the next page. This should
311
311
  # be set to the value of 'nextPageToken' from the previous response or to the
@@ -388,7 +388,8 @@ module Google
388
388
  end
389
389
 
390
390
  # 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).
392
393
  # @param [String] page_token
393
394
  # The token for continuing a previous list request on the next page. This should
394
395
  # be set to the value of 'nextPageToken' from the previous response or to the
@@ -474,8 +475,8 @@ module Google
474
475
  end
475
476
 
476
477
  # 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).
479
480
  # @param [Google::Apis::DriveV3::Channel] channel_object
480
481
  # @param [String] fields
481
482
  # Selector specifying which fields to include in a partial response.
@@ -504,10 +505,10 @@ module Google
504
505
  end
505
506
 
506
507
  # 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).
511
512
  # @param [String] file_id
512
513
  # The ID of the file.
513
514
  # @param [Google::Apis::DriveV3::Comment] comment_object
@@ -541,10 +542,10 @@ module Google
541
542
  end
542
543
 
543
544
  # 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).
548
549
  # @param [String] file_id
549
550
  # The ID of the file.
550
551
  # @param [String] comment_id
@@ -576,10 +577,10 @@ module Google
576
577
  end
577
578
 
578
579
  # 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).
583
584
  # @param [String] file_id
584
585
  # The ID of the file.
585
586
  # @param [String] comment_id
@@ -617,10 +618,10 @@ module Google
617
618
  end
618
619
 
619
620
  # 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).
624
625
  # @param [String] file_id
625
626
  # The ID of the file.
626
627
  # @param [Boolean] include_deleted
@@ -666,10 +667,10 @@ module Google
666
667
  end
667
668
 
668
669
  # 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).
673
674
  # @param [String] file_id
674
675
  # The ID of the file.
675
676
  # @param [String] comment_id
@@ -847,8 +848,8 @@ module Google
847
848
 
848
849
  # Lists the user's shared drives. This method accepts the `q` parameter, which
849
850
  # 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.
852
853
  # @param [Fixnum] page_size
853
854
  # Maximum number of shared drives to return per page.
854
855
  # @param [String] page_token
@@ -1028,18 +1029,18 @@ module Google
1028
1029
  # 120 GB - *Accepted Media MIME types:*`*/*` Note: Specify a valid MIME type,
1029
1030
  # rather than the literal `*/*` value. The literal `*/*` is only used to
1030
1031
  # 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.
1043
1044
  # @param [Google::Apis::DriveV3::File] file_object
1044
1045
  # @param [Boolean] enforce_single_parent
1045
1046
  # Deprecated. Creating files in multiple folders is no longer supported.
@@ -1312,9 +1313,9 @@ module Google
1312
1313
  # Gets a file's metadata or content by ID. If you provide the URL parameter `
1313
1314
  # alt=media`, then the response includes the file contents in the response body.
1314
1315
  # 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).
1318
1319
  # @param [String] file_id
1319
1320
  # The ID of the file.
1320
1321
  # @param [Boolean] acknowledge_abuse
@@ -1373,10 +1374,10 @@ module Google
1373
1374
 
1374
1375
  # Lists the user's files. This method accepts the `q` parameter, which is a
1375
1376
  # 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.
1380
1381
  # @param [String] corpora
1381
1382
  # Bodies of items (files/documents) to which the query applies. Supported bodies
1382
1383
  # are 'user', 'domain', 'drive', and 'allDrives'. Prefer 'user' or 'drive' to '
@@ -1549,7 +1550,8 @@ module Google
1549
1550
  # size:* 5,120 GB - *Accepted Media MIME types:*`*/*` Note: Specify a valid MIME
1550
1551
  # type, rather than the literal `*/*` value. The literal `*/*` is only used to
1551
1552
  # 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).
1553
1555
  # @param [String] file_id
1554
1556
  # The ID of the file.
1555
1557
  # @param [Google::Apis::DriveV3::File] file_object
@@ -23,7 +23,7 @@ module Google
23
23
  #
24
24
  # The Google Drive API allows clients to access resources from Google Drive.
25
25
  #
26
- # @see https://developers.google.com/drive/
26
+ # @see https://developers.google.com/workspace/drive/
27
27
  module DriveV3
28
28
  # Version of the Google Drive API this client connects to.
29
29
  # This is NOT the gem version.
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-drive_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.62.0
4
+ version: 0.63.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-02 00:00:00.000000000 Z
10
+ date: 2025-04-16 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-drive_v3/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v3/v0.62.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v3/v0.63.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-drive_v3
62
62
  rdoc_options: []
63
63
  require_paths: