google-apis-drive_v3 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 +4 -4
- data/CHANGELOG.md +21 -0
- data/lib/google/apis/drive_v3.rb +1 -1
- data/lib/google/apis/drive_v3/classes.rb +7 -5
- data/lib/google/apis/drive_v3/gem_version.rb +3 -3
- data/lib/google/apis/drive_v3/service.rb +7 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1613bf20edf2680ac407a7cc26d49cd398f43db5e234b0bc054e04cdce1eb5a7
|
4
|
+
data.tar.gz: 3bff702ec6bc57d01e595165b525b37ffa4899a61f4d0799237cfb15baccaf33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6cb1af1e33b1755817c1ab13dadae5c2264eda230937bf4167135eb1e2712892fe1c497e2c602f821cb217e5e1c280b71a6eb73f29db70ba3354547aa75c7faf
|
7
|
+
data.tar.gz: 25162d3e4e8b02a24e7347256954d282de8440ab7f9e2a82671e8f13aacb72f48de7351b0b18609f1b0fc94d338f208daa538c1a2e0fdda6813bd696a6badb05
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-drive_v3
|
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
|
data/lib/google/apis/drive_v3.rb
CHANGED
@@ -36,7 +36,7 @@ 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
|
-
#
|
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
|
@@ -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.
|
428
|
-
#
|
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
|
@@ -1194,8 +1196,8 @@ module Google
|
|
1194
1196
|
attr_accessor :owned_by_me
|
1195
1197
|
alias_method :owned_by_me?, :owned_by_me
|
1196
1198
|
|
1197
|
-
# The
|
1198
|
-
#
|
1199
|
+
# The owner of this file. Only certain legacy files may have more than one owner.
|
1200
|
+
# This field isn't populated for items in shared drives.
|
1199
1201
|
# Corresponds to the JSON property `owners`
|
1200
1202
|
# @return [Array<Google::Apis::DriveV3::User>]
|
1201
1203
|
attr_accessor :owners
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.8.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210524"
|
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.
|
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-
|
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_v3/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v3/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v3/v0.8.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.
|
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.
|
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
|