google-apis-drive_v2 0.34.0 → 0.35.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 +4 -0
- data/lib/google/apis/drive_v2/gem_version.rb +2 -2
- data/lib/google/apis/drive_v2/service.rb +4 -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: 0c7876a02799bda0ccf859e702fba47e7182bd2bdbb6eb59644fe628dde2b4f8
|
4
|
+
data.tar.gz: 6aa203381ee3892186f037fc9a5a990e74d37fba1eb55497e4363bd7bfb50cfd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49623a2bc492e061b2ebf4afac69e568e862df17fa4b151fdea8e5175aa57cac83c1e51d0ad5c0f0bf287d87f6fbb96e3c58dd99fb1e57e0de3b5de694599497
|
7
|
+
data.tar.gz: 50e3697faf5d2c7f2025f9172d57a8395ea898a262f2425f88c303d68c2f17f295b13cc13c88b30d57854a33cc49ef1bbec1b3ee4843a53cdfa2760dcefd34ee
|
data/CHANGELOG.md
CHANGED
@@ -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.35.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 = "20230413"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1272,6 +1272,8 @@ module Google
|
|
1272
1272
|
end
|
1273
1273
|
|
1274
1274
|
# Permanently deletes all of the user's trashed files.
|
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?
|
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.35.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-23 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.35.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: []
|