google-apis-drive_v3 0.19.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: d79cef3a462e599407c5b03784c56c353b18f62ecfb6bdb31fde79379b05b6cc
4
- data.tar.gz: ee796106c30311e69091907fbbbedff9cf6e9d8839c04ac6d7d18c8a7bfd7bc1
3
+ metadata.gz: 48cd8d2db1728a532a01ffd5b6d89ae6caefab4b94c8dde8c47944d680d81573
4
+ data.tar.gz: a41a886563933dc1d847f1a586996e0a9d60e7c098eaff5733b6a088c5cae154
5
5
  SHA512:
6
- metadata.gz: 6e91c2192a1b27e7cce5d9f8b80010797185a71e6211246002d7211ae4f73baba97a7c40a45c85f0109f4e74d8cb85d74215f637f10dbe39488a4ae52ddb449b
7
- data.tar.gz: 61e80c392e10c418bcf46df37bd3fcd32485acf2949150084ac0cae5abbbe5712f91a2cf2cec7b29e174882e4d07d2efc3af72e86b86c7af43dfea6e82c91903
6
+ metadata.gz: e77a3e58e90e83a8c1bcf2890dc5764cb8dace2b835a870aeed13cb538e05f1d9481edaf4c00fa08048e49933d7a3d2a49b172185537a20cbd76dc039bc0281a
7
+ data.tar.gz: 8a044e5b5c8c37fce0397f4d50b3bd7d92891e34b02ab6b6cb1216ef9de98a7e3022462873d7dab5b8971de4fd19cdff7e04cec78fc2341afd1751169c4ac779
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.20.0 (2022-04-14)
8
+
9
+ * Regenerated from discovery document revision 20220410
10
+
3
11
  ### v0.19.0 (2022-02-17)
4
12
 
5
13
  * Regenerated from discovery document revision 20220214
@@ -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.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 = "20220214"
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?
@@ -1303,7 +1312,7 @@ module Google
1303
1312
  execute_or_queue_command(command, &block)
1304
1313
  end
1305
1314
 
1306
- # Subscribes to changes to a file. While you can establish a channel forchanges
1315
+ # Subscribes to changes to a file. While you can establish a channel for changes
1307
1316
  # to a file on a shared drive, a change to a shared drive file won't create a
1308
1317
  # notification.
1309
1318
  # @param [String] file_id
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.19.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-02-21 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.19.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: []