google-apis-drive_v2 0.1.0 → 0.6.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: a9ea3964ca3792d940a1b3d4c80010c31f8b886fcbf44c9a30643575e17a31ed
4
- data.tar.gz: e7d90c22ba2d4472d0d60a703e4315aa1166689cc93b06cc0bfd52650794eb98
3
+ metadata.gz: 810dc1a62fe56a92f460841278575455fba64856bb4482094efd1ddb4a15c908
4
+ data.tar.gz: 8f6cb0edbdbdc1996b955f81783c423f2ebab9abcf7f256610d6ec4540fdaade
5
5
  SHA512:
6
- metadata.gz: 24c67e8d8cfb69b4d1afe87bb29687d3e70432e67d86d9242a544208d53d10679594073a6e79f198d43eeed04a572939864a80e75cf21d35bd7c116b887b978d
7
- data.tar.gz: 27255defdf94e04a676dc14334e6e6f7b5503b0792a252d982ef808df32d14655ab2c1dd71755978351e4c695030313ab35b3a2d1e304bc03b1e35aa76a8d390
6
+ metadata.gz: '082930dbd1a20c2fbc8fdb907e7ba71f5a1271c68c3139b837d0516e5bf4e1188873df28eb6ecabf808b81fabf1b1369fb522df458cbfdafeda9b5f6bc69f5bb'
7
+ data.tar.gz: 6ae0c77d00e8ee3dde8334be334409f37aa69c61e488d2636960d42de49a2854a6ca002bc8c644af70b147fb40e705803c578dc546b18be9ab0f73e8864b82a2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Release history for google-apis-drive_v2
2
2
 
3
+ ### v0.6.0 (2021-05-13)
4
+
5
+ * Regenerated from discovery document revision 20210509
6
+
7
+ ### v0.5.0 (2021-03-18)
8
+
9
+ * Regenerated from discovery document revision 20210315
10
+ * Regenerated using generator version 0.2.0
11
+
12
+ ### v0.4.0 (2021-03-04)
13
+
14
+ * Regenerated from discovery document revision 20210228
15
+
16
+ ### v0.3.0 (2021-02-11)
17
+
18
+ * Regenerated from discovery document revision 20210207
19
+
20
+ ### v0.2.0 (2021-02-04)
21
+
22
+ * Regenerated from discovery document revision 20210201
23
+ * Regenerated using generator version 0.1.2
24
+
3
25
  ### v0.1.0 (2021-01-07)
4
26
 
5
27
  * Regenerated using generator version 0.1.1
@@ -33,19 +33,19 @@ module Google
33
33
  # See, edit, create, and delete all of your Google Drive files
34
34
  AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
35
35
 
36
- # View and manage its own configuration data in your Google Drive
36
+ # See, create, and delete its own configuration data in your Google Drive
37
37
  AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata'
38
38
 
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
46
46
  AUTH_DRIVE_METADATA = 'https://www.googleapis.com/auth/drive.metadata'
47
47
 
48
- # View metadata for files in your Google Drive
48
+ # See information about your Google Drive files
49
49
  AUTH_DRIVE_METADATA_READONLY = 'https://www.googleapis.com/auth/drive.metadata.readonly'
50
50
 
51
51
  # View the photos, videos and albums in your Google Photos
@@ -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
@@ -3553,12 +3555,13 @@ module Google
3553
3555
  # @return [String]
3554
3556
  attr_accessor :original_filename
3555
3557
 
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.
3558
+ # Whether this revision is pinned to prevent automatic purging. If not set, the
3559
+ # revision is automatically purged 30 days after newer content is uploaded. This
3560
+ # field can only be modified on files with content stored in Drive, excluding
3561
+ # Docs Editors files. Revisions can also be pinned when they are created through
3562
+ # the drive.files.insert/update/copy by using the pinned query parameter. Pinned
3563
+ # revisions are stored indefinitely using additional storage quota, up to a
3564
+ # maximum of 200 revisions.
3562
3565
  # Corresponds to the JSON property `pinned`
3563
3566
  # @return [Boolean]
3564
3567
  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.1.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.1"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20201130"
25
+ REVISION = "20210509"
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.1.0
4
+ version: 0.6.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-01-08 00:00:00.000000000 Z
11
+ date: 2021-05-18 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.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v2/v0.6.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.1.4
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