google-apis-drive_v2 0.34.0 → 0.35.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: 0c7876a02799bda0ccf859e702fba47e7182bd2bdbb6eb59644fe628dde2b4f8
4
+ data.tar.gz: 6aa203381ee3892186f037fc9a5a990e74d37fba1eb55497e4363bd7bfb50cfd
5
5
  SHA512:
6
- metadata.gz: 03f359cec3967b3c594d4a691b1350df4df3398f4e8e6734cf13fff1b8f1d44ee749e79e00b4f4c2feda3245ae557633bbcc0a7b828ebe1b5b4d269e655f7f32
7
- data.tar.gz: 28fd38eb6110fc0b151efc8b8834ccd790b77e84dce91df18c8a5617c436baaff60618b0a6109b8d44a33c095db65a781324fae927c730053feb6cacaf3e93f8
6
+ metadata.gz: 49623a2bc492e061b2ebf4afac69e568e862df17fa4b151fdea8e5175aa57cac83c1e51d0ad5c0f0bf287d87f6fbb96e3c58dd99fb1e57e0de3b5de694599497
7
+ data.tar.gz: 50e3697faf5d2c7f2025f9172d57a8395ea898a262f2425f88c303d68c2f17f295b13cc13c88b30d57854a33cc49ef1bbec1b3ee4843a53cdfa2760dcefd34ee
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-drive_v2
2
2
 
3
+ ### v0.35.0 (2023-04-23)
4
+
5
+ * Regenerated from discovery document revision 20230413
6
+
3
7
  ### v0.34.0 (2023-02-19)
4
8
 
5
9
  * 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.35.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 = "20230413"
26
26
  end
27
27
  end
28
28
  end
@@ -1272,6 +1272,8 @@ module Google
1272
1272
  end
1273
1273
 
1274
1274
  # Permanently deletes all of the user's trashed files.
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?
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.35.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-23 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.35.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: []