google-apis-drive_v2 0.3.0 → 0.8.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: 71619608451508d197c3211133db6c5a2b5432113861c51ebefb608ff5c858ca
4
- data.tar.gz: c3ead6e97d5353a0d299daef95e3422f3e3f06888660ed855e194caf84a65407
3
+ metadata.gz: 337c06e52f56fd6228143ef245e11f9fffa0130549939704551a741a4e1144f2
4
+ data.tar.gz: b66976aaf35724dcafc420047995058e1bdfe84348ec63c50a8ece687a06b248
5
5
  SHA512:
6
- metadata.gz: ff5abe79439b15a097a34e0564393ce2716eb893c62c9029861d081f746a574984ef71f8f97e5750bfebe23dc6d6172a8a17d5568212c4aa1aef31cf92e03109
7
- data.tar.gz: 2b837cec33f0a3eceba4cd9a280f994743324d14e534f76f0c5a019049acc5a96fc2ebeb215e71b703791e815bc0ec8719cc81c6c56e74ccf21c08a3df505e7a
6
+ metadata.gz: 9be286c7e39f94612cdb398aeeb99bfd06116f10e8ffa931045663fdcc9c16cab799639ea6a0669e72ae03cb75713a7e274bcfd39cf585b63511e32a10a67e81
7
+ data.tar.gz: 6700abe25f1746a83873050dfe51761bbb6f1d30edc3b123810b0f70f20398c54ac1ef54ae17a3e612cd7674643640644e858545d8879798f51308cd2a33412b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-drive_v2
2
2
 
3
+ ### v0.8.0 (2021-05-28)
4
+
5
+ * Regenerated from discovery document revision 20210524
6
+
7
+ ### v0.7.0 (2021-05-19)
8
+
9
+ * Unspecified changes
10
+
11
+ ### v0.6.0 (2021-05-13)
12
+
13
+ * Regenerated from discovery document revision 20210509
14
+
15
+ ### v0.5.0 (2021-03-18)
16
+
17
+ * Regenerated from discovery document revision 20210315
18
+ * Regenerated using generator version 0.2.0
19
+
20
+ ### v0.4.0 (2021-03-04)
21
+
22
+ * Regenerated from discovery document revision 20210228
23
+
3
24
  ### v0.3.0 (2021-02-11)
4
25
 
5
26
  * Regenerated from discovery document revision 20210207
@@ -39,7 +39,7 @@ module Google
39
39
  # View your Google Drive apps
40
40
  AUTH_DRIVE_APPS_READONLY = 'https://www.googleapis.com/auth/drive.apps.readonly'
41
41
 
42
- # View and manage Google Drive files and folders that you have opened or created with this app
42
+ # See, edit, create, and delete only the specific Google Drive files you use with this app
43
43
  AUTH_DRIVE_FILE = 'https://www.googleapis.com/auth/drive.file'
44
44
 
45
45
  # View and manage metadata of files in your Google Drive
@@ -919,7 +919,9 @@ module Google
919
919
  # @return [String]
920
920
  attr_accessor :token
921
921
 
922
- # The type of delivery mechanism used for this channel.
922
+ # The type of delivery mechanism used for this channel. Valid values are "
923
+ # web_hook" (or "webhook"). Both values refer to a channel where Http requests
924
+ # are used to deliver messages.
923
925
  # Corresponds to the JSON property `type`
924
926
  # @return [String]
925
927
  attr_accessor :type
@@ -1037,8 +1039,8 @@ module Google
1037
1039
  class Comment
1038
1040
  include Google::Apis::Core::Hashable
1039
1041
 
1040
- # A region of the document represented as a JSON string. See anchor
1041
- # documentation for details on how to define and interpret anchor properties.
1042
+ # A region of the document represented as a JSON string. For details on defining
1043
+ # anchor properties, refer to Add comments and replies.
1042
1044
  # Corresponds to the JSON property `anchor`
1043
1045
  # @return [String]
1044
1046
  attr_accessor :anchor
@@ -2031,7 +2033,8 @@ module Google
2031
2033
  # @return [Array<String>]
2032
2034
  attr_accessor :owner_names
2033
2035
 
2034
- # The owner(s) of this file. Not populated for items in shared drives.
2036
+ # The owner of this file. Only certain legacy files may have more than one owner.
2037
+ # This field isn't populated for items in shared drives.
2035
2038
  # Corresponds to the JSON property `owners`
2036
2039
  # @return [Array<Google::Apis::DriveV2::User>]
2037
2040
  attr_accessor :owners
@@ -3553,12 +3556,13 @@ module Google
3553
3556
  # @return [String]
3554
3557
  attr_accessor :original_filename
3555
3558
 
3556
- # Whether this revision is pinned to prevent automatic purging. This will only
3557
- # be populated and can only be modified on files with content stored in Drive,
3558
- # excluding Docs Editors files. Revisions can also be pinned when they are
3559
- # created through the drive.files.insert/update/copy by using the pinned query
3560
- # parameter. Pinned revisions are stored indefinitely using additional storage
3561
- # quota, up to a maximum of 200 revisions.
3559
+ # Whether this revision is pinned to prevent automatic purging. If not set, the
3560
+ # revision is automatically purged 30 days after newer content is uploaded. This
3561
+ # field can only be modified on files with content stored in Drive, excluding
3562
+ # Docs Editors files. Revisions can also be pinned when they are created through
3563
+ # the drive.files.insert/update/copy by using the pinned query parameter. Pinned
3564
+ # revisions are stored indefinitely using additional storage quota, up to a
3565
+ # maximum of 200 revisions.
3562
3566
  # Corresponds to the JSON property `pinned`
3563
3567
  # @return [Boolean]
3564
3568
  attr_accessor :pinned
@@ -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.3.0"
19
+ GEM_VERSION = "0.8.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.2"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210207"
25
+ REVISION = "20210524"
26
26
  end
27
27
  end
28
28
  end
@@ -1329,7 +1329,11 @@ module Google
1329
1329
  # Maximum number of IDs to return.
1330
1330
  # @param [String] space
1331
1331
  # The space in which the IDs can be used to create new files. Supported values
1332
- # are 'drive' and 'appDataFolder'.
1332
+ # are 'drive' and 'appDataFolder'. (Default: 'drive')
1333
+ # @param [String] type
1334
+ # The type of items which the IDs can be used for. Supported values are 'files'
1335
+ # and 'shortcuts'. Note that 'shortcuts' are only supported in the drive 'space'.
1336
+ # (Default: 'files')
1333
1337
  # @param [String] fields
1334
1338
  # Selector specifying which fields to include in a partial response.
1335
1339
  # @param [String] quota_user
@@ -1349,19 +1353,20 @@ module Google
1349
1353
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1350
1354
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1351
1355
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1352
- def generate_file_ids(max_results: nil, space: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1356
+ def generate_file_ids(max_results: nil, space: nil, type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1353
1357
  command = make_simple_command(:get, 'files/generateIds', options)
1354
1358
  command.response_representation = Google::Apis::DriveV2::GeneratedIds::Representation
1355
1359
  command.response_class = Google::Apis::DriveV2::GeneratedIds
1356
1360
  command.query['maxResults'] = max_results unless max_results.nil?
1357
1361
  command.query['space'] = space unless space.nil?
1362
+ command.query['type'] = type unless type.nil?
1358
1363
  command.query['fields'] = fields unless fields.nil?
1359
1364
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1360
1365
  command.query['userIp'] = user_ip unless user_ip.nil?
1361
1366
  execute_or_queue_command(command, &block)
1362
1367
  end
1363
1368
 
1364
- # Gets a file's metadata by ID.
1369
+ # Gets a file's metadata or content by ID.
1365
1370
  # @param [String] file_id
1366
1371
  # The ID for the file in question.
1367
1372
  # @param [Boolean] acknowledge_abuse
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.3.0
4
+ version: 0.8.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: 2021-02-15 00:00:00.000000000 Z
11
+ date: 2021-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-drive_v2/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v2/v0.3.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v2/v0.8.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-drive_v2
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: '2.4'
65
+ version: '2.5'
66
66
  required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.2.6
72
+ rubygems_version: 3.2.17
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Drive API V2