google-apis-drive_v2 0.34.0 → 0.36.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/drive_v2/gem_version.rb +2 -2
- data/lib/google/apis/drive_v2/service.rb +6 -5
- 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: cee95c1effdb7097e9935a57cde4cbf4acefcc5e14d4194e48f69ed6e0dae89b
|
4
|
+
data.tar.gz: 8385a31753ad315ca80b01f0ceaedcdff529da7cfe990afb7ac6bbe0f3e34846
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c8a48b1d8e5aad8c427e1584945e5b1544aebae5300effdb47bbb3fd4c503604a4eb964231d9b8fa9ff68eaa548c4f3bc19e9d424f394fc46e3d92896c666fb
|
7
|
+
data.tar.gz: 9779a42a8003bca67117da85eea365c794ed0e3fc0b6ed3f2b73f2f8e979e6b6f4be3cefcb6132a321f307c1ec0f197c823d89848fd28dc80d77617d83dcf2f0
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-drive_v2
|
2
2
|
|
3
|
+
### v0.36.0 (2023-04-30)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230423
|
6
|
+
|
7
|
+
### v0.35.0 (2023-04-23)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230413
|
10
|
+
|
3
11
|
### v0.34.0 (2023-02-19)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230212
|
@@ -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.36.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230423"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1271,7 +1271,9 @@ module Google
|
|
1271
1271
|
execute_or_queue_command(command, &block)
|
1272
1272
|
end
|
1273
1273
|
|
1274
|
-
# Permanently deletes all of
|
1274
|
+
# Permanently deletes all trashed files of a user or shared drive.
|
1275
|
+
# @param [String] drive_id
|
1276
|
+
# If set, empties the trash of the provided shared drive.
|
1275
1277
|
# @param [Boolean] enforce_single_parent
|
1276
1278
|
# Deprecated. If an item is not in a shared drive and its last parent is deleted
|
1277
1279
|
# but the item itself is not, the item will be placed under its owner's root.
|
@@ -1294,8 +1296,9 @@ module Google
|
|
1294
1296
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1295
1297
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1296
1298
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1297
|
-
def empty_trash(enforce_single_parent: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1299
|
+
def empty_trash(drive_id: nil, enforce_single_parent: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1298
1300
|
command = make_simple_command(:delete, 'files/trash', options)
|
1301
|
+
command.query['driveId'] = drive_id unless drive_id.nil?
|
1299
1302
|
command.query['enforceSingleParent'] = enforce_single_parent unless enforce_single_parent.nil?
|
1300
1303
|
command.query['fields'] = fields unless fields.nil?
|
1301
1304
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -2087,9 +2090,7 @@ module Google
|
|
2087
2090
|
execute_or_queue_command(command, &block)
|
2088
2091
|
end
|
2089
2092
|
|
2090
|
-
#
|
2091
|
-
# to a file on a shared drive, a change to a shared drive file won't create a
|
2092
|
-
# notification.
|
2093
|
+
# Subscribe to changes on a file.
|
2093
2094
|
# @param [String] file_id
|
2094
2095
|
# The ID for the file in question.
|
2095
2096
|
# @param [Google::Apis::DriveV2::Channel] channel_object
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.36.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-drive_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v2/v0.36.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-drive_v2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|