google-apis-drive_v3 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: 853a577026fedc1b9ecb5d8b677b7953875c41fb07462308d40669dddaaa4c86
4
- data.tar.gz: 2218dcb4cb151603c6f4d2906d13fff4e550937878a55fa4b86f3141198ee535
3
+ metadata.gz: 4f7c70eb7dad76cc556fc4da0edeb47975c9633457281e338563f0bc97333684
4
+ data.tar.gz: e915bac8562d4dddeca4799a857e3f29448b0939b08aa5d88e111c8bb2ff55c5
5
5
  SHA512:
6
- metadata.gz: 945621a40f0b440a8b0ac210ff49e5693fa5649ae005b7dac513227d6d40c7ace628aeb17c4dbf1c0667a36b8bc8bdadf71cd478a335c338561ac316cf93c605
7
- data.tar.gz: caa3c35c2e88e5f4afa408d9a7bc2e07f590fb900f4fe10da6347ff1cbf7fa3f9505ae71061d5654361c8635d782e986e268c1ae97514197940de79529e4eccb
6
+ metadata.gz: 77908d5dbdb187ab90034af8cd62a42b3c708fcfce168c7f9f4834a60907a7abf0353267951ce376780d11d4dcef654d02645da2803cf56d875e23565ddc1215
7
+ data.tar.gz: ed847e429be53a1c464823d5bfd9bb8f3aae726e1ff5629f8a466ef54010550733605d9e37b890285b0ca96632d87c71859bf9c97bd7835edb7c7d214a3c1220
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Release history for google-apis-drive_v3
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,16 +33,16 @@ 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
- # View and manage Google Drive files and folders that you have opened or created with this app
39
+ # See, edit, create, and delete only the specific Google Drive files you use with this app
40
40
  AUTH_DRIVE_FILE = 'https://www.googleapis.com/auth/drive.file'
41
41
 
42
42
  # View and manage metadata of files in your Google Drive
43
43
  AUTH_DRIVE_METADATA = 'https://www.googleapis.com/auth/drive.metadata'
44
44
 
45
- # View metadata for files in your Google Drive
45
+ # See information about your Google Drive files
46
46
  AUTH_DRIVE_METADATA_READONLY = 'https://www.googleapis.com/auth/drive.metadata.readonly'
47
47
 
48
48
  # View the photos, videos and albums in your Google Photos
@@ -396,7 +396,9 @@ module Google
396
396
  # @return [String]
397
397
  attr_accessor :token
398
398
 
399
- # The type of delivery mechanism used for this channel.
399
+ # The type of delivery mechanism used for this channel. Valid values are "
400
+ # web_hook" (or "webhook"). Both values refer to a channel where Http requests
401
+ # are used to deliver messages.
400
402
  # Corresponds to the JSON property `type`
401
403
  # @return [String]
402
404
  attr_accessor :type
@@ -424,8 +426,8 @@ module Google
424
426
  class Comment
425
427
  include Google::Apis::Core::Hashable
426
428
 
427
- # A region of the document represented as a JSON string. See anchor
428
- # documentation for details on how to define and interpret anchor properties.
429
+ # A region of the document represented as a JSON string. For details on defining
430
+ # anchor properties, refer to Add comments and replies.
429
431
  # Corresponds to the JSON property `anchor`
430
432
  # @return [String]
431
433
  attr_accessor :anchor
@@ -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.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
@@ -1043,7 +1043,11 @@ module Google
1043
1043
  # The number of IDs to return.
1044
1044
  # @param [String] space
1045
1045
  # The space in which the IDs can be used to create new files. Supported values
1046
- # are 'drive' and 'appDataFolder'.
1046
+ # are 'drive' and 'appDataFolder'. (Default: 'drive')
1047
+ # @param [String] type
1048
+ # The type of items which the IDs can be used for. Supported values are 'files'
1049
+ # and 'shortcuts'. Note that 'shortcuts' are only supported in the drive 'space'.
1050
+ # (Default: 'files')
1047
1051
  # @param [String] fields
1048
1052
  # Selector specifying which fields to include in a partial response.
1049
1053
  # @param [String] quota_user
@@ -1063,12 +1067,13 @@ module Google
1063
1067
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1064
1068
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1065
1069
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1066
- def generate_file_ids(count: nil, space: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1070
+ def generate_file_ids(count: nil, space: nil, type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1067
1071
  command = make_simple_command(:get, 'files/generateIds', options)
1068
1072
  command.response_representation = Google::Apis::DriveV3::GeneratedIds::Representation
1069
1073
  command.response_class = Google::Apis::DriveV3::GeneratedIds
1070
1074
  command.query['count'] = count unless count.nil?
1071
1075
  command.query['space'] = space unless space.nil?
1076
+ command.query['type'] = type unless type.nil?
1072
1077
  command.query['fields'] = fields unless fields.nil?
1073
1078
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1074
1079
  command.query['userIp'] = user_ip unless user_ip.nil?
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.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_v3/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v3/v0.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v3/v0.6.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-drive_v3
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 V3