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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 867b47b3434bd5ca2eed51d510faa7db3681dba77485ac10a89e5b1d9611b00a
4
- data.tar.gz: df34c5e1bf64bbe3a7482cee7d5da87964afb06895e14bd6a77ae8138c052ba6
3
+ metadata.gz: 48cd8d2db1728a532a01ffd5b6d89ae6caefab4b94c8dde8c47944d680d81573
4
+ data.tar.gz: a41a886563933dc1d847f1a586996e0a9d60e7c098eaff5733b6a088c5cae154
5
5
  SHA512:
6
- metadata.gz: 7eb4eef87c887ac2d8ba57fb5f39a4d72d25122a6fa4a726fe8d6bd700aa98ebaecd6beeb290089df897b1388154be32868a6ad45165110542bfc3224e7eaeb7
7
- data.tar.gz: 3f2293ba349b58249e485471573715e7f51fce44b02e9507f598591eb9795a971e959523f9210bde25acbe479da366f475184cf9cffa6a7ec29fa867d4e40188
6
+ metadata.gz: e77a3e58e90e83a8c1bcf2890dc5764cb8dace2b835a870aeed13cb538e05f1d9481edaf4c00fa08048e49933d7a3d2a49b172185537a20cbd76dc039bc0281a
7
+ data.tar.gz: 8a044e5b5c8c37fce0397f4d50b3bd7d92891e34b02ab6b6cb1216ef9de98a7e3022462873d7dab5b8971de4fd19cdff7e04cec78fc2341afd1751169c4ac779
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-drive_v3
2
2
 
3
+ ### v0.21.0 (2022-04-21)
4
+
5
+ * Regenerated from discovery document revision 20220417
6
+
3
7
  ### v0.20.0 (2022-04-14)
4
8
 
5
9
  * Regenerated from discovery document revision 20220410
@@ -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.20.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 = "20220410"
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.20.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-18 00:00:00.000000000 Z
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.20.0
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: []