google-apis-drive_v2 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_v2/classes.rb +4 -4
- data/lib/google/apis/drive_v2/gem_version.rb +2 -2
- data/lib/google/apis/drive_v2/service.rb +19 -8
- 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: 173ced4739703ac1cb99d616a2e5a86a2f53d5da9e6127eb5f170f936174d2d1
|
4
|
+
data.tar.gz: 4a769e494e56ab855d10ff684ed39ef433048dded7badf8a5d494383e6d9a909
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5998a59a0e771a24e92de363230425e5f76ace28f34f61f25483b7fd6ace11d5ea4de9aaaf4fe31877256feca2b34a75ed8de470b37d9414897bca8993ad8755
|
7
|
+
data.tar.gz: d67d6a5a0e2c97cd524e701ff3b48896cadc349e294a049c2308ac8e87e6187cf6f2f479160b89b20f5c66b10e62e6a696dfc611cdd7f32da62156b6f63c79e4
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-drive_v2
|
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
|
|
@@ -1885,10 +1885,10 @@ module Google
|
|
1885
1885
|
# @return [Fixnum]
|
1886
1886
|
attr_accessor :file_size
|
1887
1887
|
|
1888
|
-
# Folder color as an RGB hex string if the file is a folder
|
1889
|
-
# supported colors is available in the folderColorPalette
|
1890
|
-
# resource. If an unsupported color is specified, it will be
|
1891
|
-
# closest color in the palette.
|
1888
|
+
# Folder color as an RGB hex string if the file is a folder or a shortcut to a
|
1889
|
+
# folder. The list of supported colors is available in the folderColorPalette
|
1890
|
+
# field of the About resource. If an unsupported color is specified, it will be
|
1891
|
+
# changed to the closest color in the palette.
|
1892
1892
|
# Corresponds to the JSON property `folderColorRgb`
|
1893
1893
|
# @return [String]
|
1894
1894
|
attr_accessor :folder_color_rgb
|
@@ -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.
|
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
|
@@ -1282,8 +1282,8 @@ module Google
|
|
1282
1282
|
execute_or_queue_command(command, &block)
|
1283
1283
|
end
|
1284
1284
|
|
1285
|
-
# Exports a Google
|
1286
|
-
# content.
|
1285
|
+
# Exports a Google Workspace document to the requested MIME type and returns
|
1286
|
+
# exported byte content. Note that the exported content is limited to 10MB.
|
1287
1287
|
# @param [String] file_id
|
1288
1288
|
# The ID of the file.
|
1289
1289
|
# @param [String] mime_type
|
@@ -1551,8 +1551,8 @@ module Google
|
|
1551
1551
|
# @param [String] q
|
1552
1552
|
# Query string for searching files.
|
1553
1553
|
# @param [String] spaces
|
1554
|
-
# A comma-separated list of spaces to query. Supported values are 'drive'
|
1555
|
-
# appDataFolder'
|
1554
|
+
# A comma-separated list of spaces to query. Supported values are 'drive' and '
|
1555
|
+
# appDataFolder'.
|
1556
1556
|
# @param [Boolean] supports_all_drives
|
1557
1557
|
# Whether the requesting application supports both My Drives and shared drives.
|
1558
1558
|
# @param [Boolean] supports_team_drives
|
@@ -1603,7 +1603,10 @@ module Google
|
|
1603
1603
|
execute_or_queue_command(command, &block)
|
1604
1604
|
end
|
1605
1605
|
|
1606
|
-
# Updates file metadata and/or content.
|
1606
|
+
# Updates a file's metadata and/or content. When calling this method, only
|
1607
|
+
# populate fields in the request that you want to modify. When updating fields,
|
1608
|
+
# some fields might might change automatically, such as modifiedDate. This
|
1609
|
+
# method supports patch semantics.
|
1607
1610
|
# @param [String] file_id
|
1608
1611
|
# The ID of the file to update.
|
1609
1612
|
# @param [Google::Apis::DriveV2::File] file_object
|
@@ -1840,7 +1843,10 @@ module Google
|
|
1840
1843
|
execute_or_queue_command(command, &block)
|
1841
1844
|
end
|
1842
1845
|
|
1843
|
-
# Updates file metadata and/or content.
|
1846
|
+
# Updates a file's metadata and/or content. When calling this method, only
|
1847
|
+
# populate fields in the request that you want to modify. When updating fields,
|
1848
|
+
# some fields might be changed automatically, such as modifiedDate. This method
|
1849
|
+
# supports patch semantics.
|
1844
1850
|
# @param [String] file_id
|
1845
1851
|
# The ID of the file to update.
|
1846
1852
|
# @param [Google::Apis::DriveV2::File] file_object
|
@@ -2492,8 +2498,13 @@ module Google
|
|
2492
2498
|
# @param [Boolean] supports_team_drives
|
2493
2499
|
# Deprecated use supportsAllDrives instead.
|
2494
2500
|
# @param [Boolean] transfer_ownership
|
2495
|
-
# Whether
|
2496
|
-
#
|
2501
|
+
# Whether to transfer ownership to the specified user and downgrade the current
|
2502
|
+
# owner to a writer. This parameter is required as an acknowledgement of the
|
2503
|
+
# side effect. File owners can only transfer ownership of files existing on My
|
2504
|
+
# Drive. Files existing in a shared drive are owned by the organization that
|
2505
|
+
# owns that shared drive. Ownership transfers are not supported for files and
|
2506
|
+
# folders in shared drives. Organizers of a shared drive can move items from
|
2507
|
+
# that shared drive into their My Drive which transfers the ownership to them.
|
2497
2508
|
# @param [Boolean] use_domain_admin_access
|
2498
2509
|
# Issue the request as a domain administrator; if set to true, then the
|
2499
2510
|
# 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_v2
|
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_v2/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_v2/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v2/v0.15.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-drive_v2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|