google-apis-drive_v2 0.49.0 → 0.50.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/drive_v2/classes.rb +1 -1
- data/lib/google/apis/drive_v2/gem_version.rb +2 -2
- data/lib/google/apis/drive_v2/service.rb +24 -23
- data/lib/google/apis/drive_v2.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41d783faba84ac4decb86353009735e07951e5ede32e4c238cb5c4ae6ca6a98b
|
4
|
+
data.tar.gz: ca001db741a0c937ec60c7e363027dc0ad91ca256f49c0973279db74c825da5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e983032f0bfa3d515803c6eb74faa5e097bc1b8d3e08c7dfe1b95608a2c62d81ac0b8dcf75cc1ae26d1d6a8764b21a3b6b45bca2874d89b4dfdee2b009686ed
|
7
|
+
data.tar.gz: 7225727311130e4e2c54a4ca2761a4389eaa2dd1f98fc8eb16e30a7f36e7c64a6866d26c59e374ac06201fc22f030806770e8e924ef6043a79c8efb37c66531f
|
data/CHANGELOG.md
CHANGED
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
|
|
@@ -1043,7 +1043,7 @@ module Google
|
|
1043
1043
|
|
1044
1044
|
# A region of the document represented as a JSON string. For details on defining
|
1045
1045
|
# anchor properties, refer to [Add comments and replies](https://developers.
|
1046
|
-
# google.com/drive/api/v2/manage-comments).
|
1046
|
+
# google.com/workspace/drive/api/v2/manage-comments).
|
1047
1047
|
# Corresponds to the JSON property `anchor`
|
1048
1048
|
# @return [String]
|
1049
1049
|
attr_accessor :anchor
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DriveV2
|
18
18
|
# Version of the google-apis-drive_v2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.50.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 = "
|
25
|
+
REVISION = "20250329"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# Drive = Google::Apis::DriveV2 # 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
|
|
@@ -970,8 +970,8 @@ module Google
|
|
970
970
|
|
971
971
|
# Lists the user's shared drives. This method accepts the `q` parameter, which
|
972
972
|
# is a search query combining one or more search terms. For more information,
|
973
|
-
# see the [Search for shared drives](/drive/api/guides/search-
|
974
|
-
# guide.
|
973
|
+
# see the [Search for shared drives](/workspace/drive/api/guides/search-
|
974
|
+
# shareddrives) guide.
|
975
975
|
# @param [Fixnum] max_results
|
976
976
|
# Maximum number of shared drives to return per page.
|
977
977
|
# @param [String] page_token
|
@@ -1307,9 +1307,9 @@ module Google
|
|
1307
1307
|
# Gets a file's metadata or content by ID. If you provide the URL parameter `
|
1308
1308
|
# alt=media`, then the response includes the file contents in the response body.
|
1309
1309
|
# Downloading content with `alt=media` only works if the file is stored in Drive.
|
1310
|
-
# To download Google Docs, Sheets, and Slides use [`files.export`](/
|
1311
|
-
# reference/rest/v2/files/export) instead. For more information, see [
|
1312
|
-
# export files](/drive/api/guides/manage-downloads).
|
1310
|
+
# To download Google Docs, Sheets, and Slides use [`files.export`](/workspace/
|
1311
|
+
# drive/api/reference/rest/v2/files/export) instead. For more information, see [
|
1312
|
+
# Download & export files](/workspace/drive/api/guides/manage-downloads).
|
1313
1313
|
# @param [String] file_id
|
1314
1314
|
# The ID for the file in question.
|
1315
1315
|
# @param [Boolean] acknowledge_abuse
|
@@ -1382,18 +1382,18 @@ module Google
|
|
1382
1382
|
# 120 GB - *Accepted Media MIME types:*`*/*` Note: Specify a valid MIME type,
|
1383
1383
|
# rather than the literal `*/*` value. The literal `*/*` is only used to
|
1384
1384
|
# indicate that any valid MIME type can be uploaded. For more information on
|
1385
|
-
# uploading files, see [Upload file data](/drive/api/guides/manage-
|
1386
|
-
# Apps creating shortcuts with `files.insert` must specify the MIME
|
1387
|
-
# application/vnd.google-apps.shortcut`. Apps should specify a file
|
1388
|
-
# the `title` property when inserting files with the API. For
|
1389
|
-
# operation to insert a JPEG file should specify something like `"
|
1390
|
-
# jpg"` in the metadata. Subsequent `GET` requests include the read-
|
1391
|
-
# fileExtension` property populated with the extension originally
|
1392
|
-
# the `title` property. When a Google Drive user requests to
|
1393
|
-
# when the file is downloaded through the sync client, Drive
|
1394
|
-
# filename (with extension) based on the title. In cases where the
|
1395
|
-
# missing, Drive attempts to determine the extension based on the
|
1396
|
-
# type.
|
1385
|
+
# uploading files, see [Upload file data](/workspace/drive/api/guides/manage-
|
1386
|
+
# uploads). Apps creating shortcuts with `files.insert` must specify the MIME
|
1387
|
+
# type `application/vnd.google-apps.shortcut`. Apps should specify a file
|
1388
|
+
# extension in the `title` property when inserting files with the API. For
|
1389
|
+
# example, an operation to insert a JPEG file should specify something like `"
|
1390
|
+
# title": "cat.jpg"` in the metadata. Subsequent `GET` requests include the read-
|
1391
|
+
# only `fileExtension` property populated with the extension originally
|
1392
|
+
# specified in the `title` property. When a Google Drive user requests to
|
1393
|
+
# download a file, or when the file is downloaded through the sync client, Drive
|
1394
|
+
# builds a full filename (with extension) based on the title. In cases where the
|
1395
|
+
# extension is missing, Drive attempts to determine the extension based on the
|
1396
|
+
# file's MIME type.
|
1397
1397
|
# @param [Google::Apis::DriveV2::File] file_object
|
1398
1398
|
# @param [Boolean] convert
|
1399
1399
|
# Whether to convert this file to the corresponding Docs Editors format.
|
@@ -1478,10 +1478,10 @@ module Google
|
|
1478
1478
|
|
1479
1479
|
# Lists the user's files. This method accepts the `q` parameter, which is a
|
1480
1480
|
# search query combining one or more search terms. For more information, see the
|
1481
|
-
# [Search for files & folders](/drive/api/guides/search-files) guide. *
|
1482
|
-
# This method returns *all* files by default, including trashed files. If
|
1483
|
-
# don't want trashed files to appear in the list, use the `trashed=false`
|
1484
|
-
# parameter to remove trashed files from the results.
|
1481
|
+
# [Search for files & folders](/workspace/drive/api/guides/search-files) guide. *
|
1482
|
+
# Note:* This method returns *all* files by default, including trashed files. If
|
1483
|
+
# you don't want trashed files to appear in the list, use the `trashed=false`
|
1484
|
+
# query parameter to remove trashed files from the results.
|
1485
1485
|
# @param [String] corpora
|
1486
1486
|
# Bodies of items (files/documents) to which the query applies. Supported bodies
|
1487
1487
|
# are `default`, `domain`, `drive` and `allDrives`. Prefer `default` or `drive`
|
@@ -1897,7 +1897,8 @@ module Google
|
|
1897
1897
|
# size:* 5,120 GB - *Accepted Media MIME types:*`*/*` Note: Specify a valid MIME
|
1898
1898
|
# type, rather than the literal `*/*` value. The literal `*/*` is only used to
|
1899
1899
|
# indicate that any valid MIME type can be uploaded. For more information on
|
1900
|
-
# uploading files, see [Upload file data](/drive/api/guides/manage-
|
1900
|
+
# uploading files, see [Upload file data](/workspace/drive/api/guides/manage-
|
1901
|
+
# uploads).
|
1901
1902
|
# @param [String] file_id
|
1902
1903
|
# The ID of the file to update.
|
1903
1904
|
# @param [Google::Apis::DriveV2::File] file_object
|
data/lib/google/apis/drive_v2.rb
CHANGED
@@ -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 DriveV2
|
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_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.50.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
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_v2/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v2/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v2/v0.50.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-drive_v2
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|