google-apis-drive_v3 0.2.0 → 0.7.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: fe84c7fdfac0bc1b6395783f6900172e4ae225d8913e3b32f6d963cc6a8a4a1d
4
- data.tar.gz: 074352cb9d31189ae734d4a8b1080e04c43e9a1486431b06c9d22263c1358b8d
3
+ metadata.gz: 9c2aacdb351d329928033f7e7c1f215b1bb466b705637e644837158238d3a9f7
4
+ data.tar.gz: ca440aded29f7f95f7e7f49094acfee4ad298ab6e1fa12bff9643f02954eb576
5
5
  SHA512:
6
- metadata.gz: e8c63dd84c51c381d9f895ff0e1a9a9bb43085defebc65920782ed3aecb8235f7ffd0e79d2f10b9e5ee8216cee1d483281b2481995d0d6f04ef32503c5061f5d
7
- data.tar.gz: 60558fb7b512f567dac36d04068d418b88839269a56037687d76b30189d4a94a72da45aff2d8f413b7dbe66e548a629ebdb3fae5c9c36f669e7d9f9f12b2162d
6
+ metadata.gz: b4ef62dac701372f3b2db62bee51f4b3918dda5aedf7f066ee0e448c5ec7beeace3c3ff78e972068e5bc6e3a5eac92b73323c93ab9cb634a31d43ad30d58c8d6
7
+ data.tar.gz: a001996e159c129b1b36dc39714905c9f33b3bd4fcd159db063d583bf9d9a4b28c7e0468b239557d9ea3d8dff01cc3dc71bd41bfae244053982b9c6013d580e1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-drive_v3
2
2
 
3
+ ### v0.7.0 (2021-05-19)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.6.0 (2021-05-13)
8
+
9
+ * Regenerated from discovery document revision 20210509
10
+
11
+ ### v0.5.0 (2021-03-18)
12
+
13
+ * Regenerated from discovery document revision 20210315
14
+ * Regenerated using generator version 0.2.0
15
+
16
+ ### v0.4.0 (2021-03-04)
17
+
18
+ * Regenerated from discovery document revision 20210228
19
+
20
+ ### v0.3.0 (2021-02-11)
21
+
22
+ * Regenerated from discovery document revision 20210207
23
+
3
24
  ### v0.2.0 (2021-02-04)
4
25
 
5
26
  * Regenerated from discovery document revision 20210201
@@ -36,13 +36,13 @@ module Google
36
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.2.0"
19
+ GEM_VERSION = "0.7.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 = "20210201"
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.2.0
4
+ version: 0.7.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-08 00:00:00.000000000 Z
11
+ date: 2021-05-24 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.2.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v3/v0.7.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.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 V3