google-apis-drive_v3 0.20.0 → 0.21.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_v3/gem_version.rb +2 -2
- data/lib/google/apis/drive_v3/service.rb +10 -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: 48cd8d2db1728a532a01ffd5b6d89ae6caefab4b94c8dde8c47944d680d81573
|
4
|
+
data.tar.gz: a41a886563933dc1d847f1a586996e0a9d60e7c098eaff5733b6a088c5cae154
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e77a3e58e90e83a8c1bcf2890dc5764cb8dace2b835a870aeed13cb538e05f1d9481edaf4c00fa08048e49933d7a3d2a49b172185537a20cbd76dc039bc0281a
|
7
|
+
data.tar.gz: 8a044e5b5c8c37fce0397f4d50b3bd7d92891e34b02ab6b6cb1216ef9de98a7e3022462873d7dab5b8971de4fd19cdff7e04cec78fc2341afd1751169c4ac779
|
data/CHANGELOG.md
CHANGED
@@ -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.
|
19
|
+
GEM_VERSION = "0.21.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220417"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -564,6 +564,13 @@ module Google
|
|
564
564
|
# shared drive cannot contain any untrashed items.
|
565
565
|
# @param [String] drive_id
|
566
566
|
# The ID of the shared drive.
|
567
|
+
# @param [Boolean] allow_item_deletion
|
568
|
+
# Whether any items inside the shared drive should also be deleted. This option
|
569
|
+
# is only supported when useDomainAdminAccess is also set to true.
|
570
|
+
# @param [Boolean] use_domain_admin_access
|
571
|
+
# Issue the request as a domain administrator; if set to true, then the
|
572
|
+
# requester will be granted access if they are an administrator of the domain to
|
573
|
+
# which the shared drive belongs.
|
567
574
|
# @param [String] fields
|
568
575
|
# Selector specifying which fields to include in a partial response.
|
569
576
|
# @param [String] quota_user
|
@@ -583,9 +590,11 @@ module Google
|
|
583
590
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
584
591
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
585
592
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
586
|
-
def delete_drive(drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
593
|
+
def delete_drive(drive_id, allow_item_deletion: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
587
594
|
command = make_simple_command(:delete, 'drives/{driveId}', options)
|
588
595
|
command.params['driveId'] = drive_id unless drive_id.nil?
|
596
|
+
command.query['allowItemDeletion'] = allow_item_deletion unless allow_item_deletion.nil?
|
597
|
+
command.query['useDomainAdminAccess'] = use_domain_admin_access unless use_domain_admin_access.nil?
|
589
598
|
command.query['fields'] = fields unless fields.nil?
|
590
599
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
591
600
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-drive_v3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.21.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: 2022-04-
|
11
|
+
date: 2022-04-25 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_v3/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v3/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v3/v0.21.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-drive_v3
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|