google-apis-drive_v3 0.11.0 → 0.15.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 +17 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/drive_v3/classes.rb +3 -2
- data/lib/google/apis/drive_v3/gem_version.rb +2 -2
- data/lib/google/apis/drive_v3/service.rb +17 -6
- 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: aa5fb9cc8027f14850ce693d19fafa03ffd104349e56607db3493220cbc7b38e
|
4
|
+
data.tar.gz: 7e9dcb82975c552808ba0264669ae92f5811a9f1f632596a9232b4a505ab3dc3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e303e5411b48fbead4a68fbd8fdc7cf8b498ba16ddc54cbed5843abdd3c41e4795092bca6e43bad457977e3d63604c403446a6aa59a893b389b299ed7b0bc8d
|
7
|
+
data.tar.gz: 4476623e96a3fabe1daeb4c9b7ede59d58819585d14f077ee0ee7e4fdf8c65d6a9289af556831ecd65e2ea892c96c246574472c1b2c31fb5f29c70208b288ff8
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-drive_v3
|
2
2
|
|
3
|
+
### v0.15.0 (2021-10-21)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211017
|
6
|
+
* Unspecified changes
|
7
|
+
|
8
|
+
### v0.14.0 (2021-09-24)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20210919
|
11
|
+
|
12
|
+
### v0.13.0 (2021-07-29)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210725
|
15
|
+
|
16
|
+
### v0.12.0 (2021-07-13)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210707
|
19
|
+
|
3
20
|
### v0.11.0 (2021-07-01)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20210628
|
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Drive service in particular.)
|
67
67
|
|
@@ -1073,8 +1073,9 @@ module Google
|
|
1073
1073
|
# @return [String]
|
1074
1074
|
attr_accessor :file_extension
|
1075
1075
|
|
1076
|
-
# The color for a folder as an RGB hex string. The
|
1077
|
-
# published in the folderColorPalette field of the About
|
1076
|
+
# The color for a folder or shortcut to a folder as an RGB hex string. The
|
1077
|
+
# supported colors are published in the folderColorPalette field of the About
|
1078
|
+
# resource.
|
1078
1079
|
# If an unsupported color is specified, the closest color in the palette will be
|
1079
1080
|
# used instead.
|
1080
1081
|
# Corresponds to the JSON property `folderColorRgb`
|
@@ -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.15.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211017"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -996,8 +996,8 @@ module Google
|
|
996
996
|
execute_or_queue_command(command, &block)
|
997
997
|
end
|
998
998
|
|
999
|
-
# Exports a Google
|
1000
|
-
# content.
|
999
|
+
# Exports a Google Workspace document to the requested MIME type and returns
|
1000
|
+
# exported byte content. Note that the exported content is limited to 10MB.
|
1001
1001
|
# @param [String] file_id
|
1002
1002
|
# The ID of the file.
|
1003
1003
|
# @param [String] mime_type
|
@@ -1172,7 +1172,7 @@ module Google
|
|
1172
1172
|
# supported syntax.
|
1173
1173
|
# @param [String] spaces
|
1174
1174
|
# A comma-separated list of spaces to query within the corpus. Supported values
|
1175
|
-
# are 'drive'
|
1175
|
+
# are 'drive' and 'appDataFolder'.
|
1176
1176
|
# @param [Boolean] supports_all_drives
|
1177
1177
|
# Whether the requesting application supports both My Drives and shared drives.
|
1178
1178
|
# @param [Boolean] supports_team_drives
|
@@ -1222,7 +1222,10 @@ module Google
|
|
1222
1222
|
execute_or_queue_command(command, &block)
|
1223
1223
|
end
|
1224
1224
|
|
1225
|
-
# Updates a file's metadata and/or content.
|
1225
|
+
# Updates a file's metadata and/or content. When calling this method, only
|
1226
|
+
# populate fields in the request that you want to modify. When updating fields,
|
1227
|
+
# some fields might change automatically, such as modifiedDate. This method
|
1228
|
+
# supports patch semantics.
|
1226
1229
|
# @param [String] file_id
|
1227
1230
|
# The ID of the file.
|
1228
1231
|
# @param [Google::Apis::DriveV3::File] file_object
|
@@ -1381,7 +1384,11 @@ module Google
|
|
1381
1384
|
# @param [Boolean] transfer_ownership
|
1382
1385
|
# Whether to transfer ownership to the specified user and downgrade the current
|
1383
1386
|
# owner to a writer. This parameter is required as an acknowledgement of the
|
1384
|
-
# side effect.
|
1387
|
+
# side effect. File owners can only transfer ownership of files existing on My
|
1388
|
+
# Drive. Files existing in a shared drive are owned by the organization that
|
1389
|
+
# owns that shared drive. Ownership transfers are not supported for files and
|
1390
|
+
# folders in shared drives. Organizers of a shared drive can move items from
|
1391
|
+
# that shared drive into their My Drive which transfers the ownership to them.
|
1385
1392
|
# @param [Boolean] use_domain_admin_access
|
1386
1393
|
# Issue the request as a domain administrator; if set to true, then the
|
1387
1394
|
# requester will be granted access if the file ID parameter refers to a shared
|
@@ -1594,7 +1601,11 @@ module Google
|
|
1594
1601
|
# @param [Boolean] transfer_ownership
|
1595
1602
|
# Whether to transfer ownership to the specified user and downgrade the current
|
1596
1603
|
# owner to a writer. This parameter is required as an acknowledgement of the
|
1597
|
-
# side effect.
|
1604
|
+
# side effect. File owners can only transfer ownership of files existing on My
|
1605
|
+
# Drive. Files existing in a shared drive are owned by the organization that
|
1606
|
+
# owns that shared drive. Ownership transfers are not supported for files and
|
1607
|
+
# folders in shared drives. Organizers of a shared drive can move items from
|
1608
|
+
# that shared drive into their My Drive which transfers the ownership to them.
|
1598
1609
|
# @param [Boolean] use_domain_admin_access
|
1599
1610
|
# Issue the request as a domain administrator; if set to true, then the
|
1600
1611
|
# requester will be granted access if the file ID parameter refers to a shared
|
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.15.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-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v3/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-drive_v3/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v3/v0.15.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-drive_v3
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|