google-apis-drive_v2 0.34.0 → 0.36.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: 34d6abe280eb3dbbfb4d91ded9ddaccf139d97b59e1c573f3f95b9961fe6a402
4
- data.tar.gz: d4e6fba10474a92cb5900a8e4f1ff5e8a457c265f03e0bc382e2c9bd2b25b4a9
3
+ metadata.gz: cee95c1effdb7097e9935a57cde4cbf4acefcc5e14d4194e48f69ed6e0dae89b
4
+ data.tar.gz: 8385a31753ad315ca80b01f0ceaedcdff529da7cfe990afb7ac6bbe0f3e34846
5
5
  SHA512:
6
- metadata.gz: 03f359cec3967b3c594d4a691b1350df4df3398f4e8e6734cf13fff1b8f1d44ee749e79e00b4f4c2feda3245ae557633bbcc0a7b828ebe1b5b4d269e655f7f32
7
- data.tar.gz: 28fd38eb6110fc0b151efc8b8834ccd790b77e84dce91df18c8a5617c436baaff60618b0a6109b8d44a33c095db65a781324fae927c730053feb6cacaf3e93f8
6
+ metadata.gz: 9c8a48b1d8e5aad8c427e1584945e5b1544aebae5300effdb47bbb3fd4c503604a4eb964231d9b8fa9ff68eaa548c4f3bc19e9d424f394fc46e3d92896c666fb
7
+ data.tar.gz: 9779a42a8003bca67117da85eea365c794ed0e3fc0b6ed3f2b73f2f8e979e6b6f4be3cefcb6132a321f307c1ec0f197c823d89848fd28dc80d77617d83dcf2f0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-drive_v2
2
2
 
3
+ ### v0.36.0 (2023-04-30)
4
+
5
+ * Regenerated from discovery document revision 20230423
6
+
7
+ ### v0.35.0 (2023-04-23)
8
+
9
+ * Regenerated from discovery document revision 20230413
10
+
3
11
  ### v0.34.0 (2023-02-19)
4
12
 
5
13
  * Regenerated from discovery document revision 20230212
@@ -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.34.0"
19
+ GEM_VERSION = "0.36.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230212"
25
+ REVISION = "20230423"
26
26
  end
27
27
  end
28
28
  end
@@ -1271,7 +1271,9 @@ module Google
1271
1271
  execute_or_queue_command(command, &block)
1272
1272
  end
1273
1273
 
1274
- # Permanently deletes all of the user's trashed files.
1274
+ # Permanently deletes all trashed files of a user or shared drive.
1275
+ # @param [String] drive_id
1276
+ # If set, empties the trash of the provided shared drive.
1275
1277
  # @param [Boolean] enforce_single_parent
1276
1278
  # Deprecated. If an item is not in a shared drive and its last parent is deleted
1277
1279
  # but the item itself is not, the item will be placed under its owner's root.
@@ -1294,8 +1296,9 @@ module Google
1294
1296
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1295
1297
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1296
1298
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1297
- def empty_trash(enforce_single_parent: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1299
+ def empty_trash(drive_id: nil, enforce_single_parent: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1298
1300
  command = make_simple_command(:delete, 'files/trash', options)
1301
+ command.query['driveId'] = drive_id unless drive_id.nil?
1299
1302
  command.query['enforceSingleParent'] = enforce_single_parent unless enforce_single_parent.nil?
1300
1303
  command.query['fields'] = fields unless fields.nil?
1301
1304
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -2087,9 +2090,7 @@ module Google
2087
2090
  execute_or_queue_command(command, &block)
2088
2091
  end
2089
2092
 
2090
- # Subscribes to changes to a file. While you can establish a channel for changes
2091
- # to a file on a shared drive, a change to a shared drive file won't create a
2092
- # notification.
2093
+ # Subscribe to changes on a file.
2093
2094
  # @param [String] file_id
2094
2095
  # The ID for the file in question.
2095
2096
  # @param [Google::Apis::DriveV2::Channel] channel_object
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.34.0
4
+ version: 0.36.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: 2023-02-19 00:00:00.000000000 Z
11
+ date: 2023-04-30 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.34.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v2/v0.36.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: []