google-apis-drive_v2 0.20.0 → 0.21.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/lib/google/apis/drive_v2/gem_version.rb +2 -2
- data/lib/google/apis/drive_v2/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: cb72a6ccd10e131c34bc02e9675d78c19f8ace9217a2eb1257f5223e7b66f89a
|
|
4
|
+
data.tar.gz: 3ba99a5510d264453ce0f0ca279ac7a3eef8c510861f731319224996a9f7232e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 45c51d0f17190cec767fce954fbe15da66b9c5c181d592c4adfc09886a1a29d0bd18c773b06d658ba45ff8fdea411eb3688b74c0066d26bd6b6834b2de8aafa6
|
|
7
|
+
data.tar.gz: 0ab6f49317624834569ebe32ef91d4138458fd7a70a9da0b0774b8449f12109a9837afa444f1956c9c4e924e13694ae9d18222d3a9bec9d0f6b200510228d5b1
|
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.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
|
|
@@ -879,6 +879,13 @@ module Google
|
|
|
879
879
|
# shared drive cannot contain any untrashed items.
|
|
880
880
|
# @param [String] drive_id
|
|
881
881
|
# The ID of the shared drive.
|
|
882
|
+
# @param [Boolean] allow_item_deletion
|
|
883
|
+
# Whether any items inside the shared drive should also be deleted. This option
|
|
884
|
+
# is only supported when useDomainAdminAccess is also set to true.
|
|
885
|
+
# @param [Boolean] use_domain_admin_access
|
|
886
|
+
# Issue the request as a domain administrator; if set to true, then the
|
|
887
|
+
# requester will be granted access if they are an administrator of the domain to
|
|
888
|
+
# which the shared drive belongs.
|
|
882
889
|
# @param [String] fields
|
|
883
890
|
# Selector specifying which fields to include in a partial response.
|
|
884
891
|
# @param [String] quota_user
|
|
@@ -898,9 +905,11 @@ module Google
|
|
|
898
905
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
899
906
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
900
907
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
901
|
-
def delete_drive(drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
908
|
+
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)
|
|
902
909
|
command = make_simple_command(:delete, 'drives/{driveId}', options)
|
|
903
910
|
command.params['driveId'] = drive_id unless drive_id.nil?
|
|
911
|
+
command.query['allowItemDeletion'] = allow_item_deletion unless allow_item_deletion.nil?
|
|
912
|
+
command.query['useDomainAdminAccess'] = use_domain_admin_access unless use_domain_admin_access.nil?
|
|
904
913
|
command.query['fields'] = fields unless fields.nil?
|
|
905
914
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
906
915
|
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_v2
|
|
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_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.21.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: []
|