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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9810dc388f3f5deb3164a5a9bf099a7ee3534d3fb2445f7dac1d9193445c0353
4
- data.tar.gz: 77f271ce85a94f7379fca7a7fb04246b704df74caa09f4e1e848d3565e93c58e
3
+ metadata.gz: 173ced4739703ac1cb99d616a2e5a86a2f53d5da9e6127eb5f170f936174d2d1
4
+ data.tar.gz: 4a769e494e56ab855d10ff684ed39ef433048dded7badf8a5d494383e6d9a909
5
5
  SHA512:
6
- metadata.gz: a8837b354e056e06217f909fe1b54744557e5dd7ada55dfed5ef2529fd270b178a5be0d0bdaa3efdca5b97fc36f93a2ac5b4f700b10282900600074eaf53240d
7
- data.tar.gz: be94001a739f5298f1373483dce71dec7b40382c86b42f0918b8653a837176cb47609170afe9135fbc0eaf0ebea26c87f43a4bca81e7aa6b0e6ca5412b159b1a
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/master/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/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
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. The list of
1889
- # supported colors is available in the folderColorPalette field of the About
1890
- # resource. If an unsupported color is specified, it will be changed to the
1891
- # closest color in the palette. Not populated for items in shared drives.
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.11.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 = "20210628"
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 Doc to the requested MIME type and returns the exported
1286
- # content. Please note that the exported content is limited to 10MB.
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' and 'photos'.
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. This method supports patch semantics.
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 changing a role to 'owner' downgrades the current owners to writers.
2496
- # Does nothing if the specified role is not 'owner'.
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.11.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-07-05 00:00:00.000000000 Z
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/master/generated/google-apis-drive_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v2/v0.11.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-drive_v2
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: