google-apis-drive_v3 0.18.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: 58bc664f2655993b698c0e0159292d9e3f6a46706861b89bc3d09618e2735ddf
4
- data.tar.gz: edb38c79cb6e46a81300ee48952930942568c0084edebdec86ef3184f72b9594
3
+ metadata.gz: 48cd8d2db1728a532a01ffd5b6d89ae6caefab4b94c8dde8c47944d680d81573
4
+ data.tar.gz: a41a886563933dc1d847f1a586996e0a9d60e7c098eaff5733b6a088c5cae154
5
5
  SHA512:
6
- metadata.gz: 4fa0849ff9282566dc531be23bcacbbf58bbc1aff0fa29e07b8a0f6bf36964b8736efac91259a83c78412b08541ce37f7ea465effd533c7dc647555bb082c5b9
7
- data.tar.gz: 96e8e209f5f3f2b51d86abebfcfbaa8982337a4ec15c54146ea675704252f28d16a39ac8f9cf3aac4d85a6b6327a5f535f5eddb9e2f3f794418d75fbb1567190
6
+ metadata.gz: e77a3e58e90e83a8c1bcf2890dc5764cb8dace2b835a870aeed13cb538e05f1d9481edaf4c00fa08048e49933d7a3d2a49b172185537a20cbd76dc039bc0281a
7
+ data.tar.gz: 8a044e5b5c8c37fce0397f4d50b3bd7d92891e34b02ab6b6cb1216ef9de98a7e3022462873d7dab5b8971de4fd19cdff7e04cec78fc2341afd1751169c4ac779
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
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
+
11
+ ### v0.19.0 (2022-02-17)
12
+
13
+ * Regenerated from discovery document revision 20220214
14
+
3
15
  ### v0.18.0 (2022-01-13)
4
16
 
5
17
  * Regenerated from discovery document revision 20220110
@@ -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.18.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 = "20220110"
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,9 @@ module Google
1303
1312
  execute_or_queue_command(command, &block)
1304
1313
  end
1305
1314
 
1306
- # Subscribes to changes to a file
1315
+ # Subscribes to changes to a file. While you can establish a channel for changes
1316
+ # to a file on a shared drive, a change to a shared drive file won't create a
1317
+ # notification.
1307
1318
  # @param [String] file_id
1308
1319
  # The ID of the file.
1309
1320
  # @param [Google::Apis::DriveV3::Channel] channel_object
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.18.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-01-17 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.18.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: []