google-apis-drive_v2 0.47.0 → 0.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/google/apis/drive_v2/classes.rb +15 -10
- data/lib/google/apis/drive_v2/gem_version.rb +3 -3
- data/lib/google/apis/drive_v2/service.rb +22 -9
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b788e951eeeccf5b4847297a717db695fb3a8ee82a684975891e793d5e9196b5
|
|
4
|
+
data.tar.gz: 541ff6dd0a5639332802b80ac24b6a68427160a6c78c241760e3cafc060cf033
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 67d59384559f339241e2103edcf3b2d05e567c0c2bd8f4773324d2604702a37c1fea5aabc897b9108051caa6b257becba758beac5e228ad9006bf4a11291eb9c
|
|
7
|
+
data.tar.gz: 8e8bb5d8852296e69ebb91056cf99ff0e99a9907736b8dbf4c80efbeb72b7ab8d1c9958d69b448515fb653bf9b63931b541724420810fc34a77166a063b452e4
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Release history for google-apis-drive_v2
|
|
2
2
|
|
|
3
|
+
### v0.48.0 (2024-12-02)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20240914
|
|
6
|
+
* Regenerated using generator version 0.15.1
|
|
7
|
+
|
|
3
8
|
### v0.47.0 (2024-07-25)
|
|
4
9
|
|
|
5
10
|
* Regenerated from discovery document revision 20240628
|
|
@@ -2118,10 +2118,11 @@ module Google
|
|
|
2118
2118
|
# @return [Array<Google::Apis::DriveV2::User>]
|
|
2119
2119
|
attr_accessor :owners
|
|
2120
2120
|
|
|
2121
|
-
#
|
|
2122
|
-
#
|
|
2123
|
-
#
|
|
2124
|
-
#
|
|
2121
|
+
# The ID of the parent folder containing the file. A file can only have one
|
|
2122
|
+
# parent folder; specifying multiple parents isn't supported. If not specified
|
|
2123
|
+
# as part of an insert request, the file is placed directly in the user's My
|
|
2124
|
+
# Drive folder. If not specified as part of a copy request, the file inherits
|
|
2125
|
+
# any discoverable parent of the source file. Update requests must use the `
|
|
2125
2126
|
# addParents` and `removeParents` parameters to modify the parents list.
|
|
2126
2127
|
# Corresponds to the JSON property `parents`
|
|
2127
2128
|
# @return [Array<Google::Apis::DriveV2::ParentReference>]
|
|
@@ -2221,9 +2222,12 @@ module Google
|
|
|
2221
2222
|
attr_accessor :thumbnail
|
|
2222
2223
|
|
|
2223
2224
|
# Output only. A short-lived link to the file's thumbnail, if available.
|
|
2224
|
-
# Typically lasts on the order of hours.
|
|
2225
|
-
#
|
|
2226
|
-
#
|
|
2225
|
+
# Typically lasts on the order of hours. Not intended for direct usage on web
|
|
2226
|
+
# applications due to [Cross-Origin Resource Sharing (CORS)](https://developer.
|
|
2227
|
+
# mozilla.org/en-US/docs/Web/HTTP/CORS), consider using a proxy server. Only
|
|
2228
|
+
# populated when the requesting app can access the file's content. If the file
|
|
2229
|
+
# isn't shared publicly, the URL returned in `Files.thumbnailLink` must be
|
|
2230
|
+
# fetched using a credentialed request.
|
|
2227
2231
|
# Corresponds to the JSON property `thumbnailLink`
|
|
2228
2232
|
# @return [String]
|
|
2229
2233
|
attr_accessor :thumbnail_link
|
|
@@ -3532,9 +3536,10 @@ module Google
|
|
|
3532
3536
|
end
|
|
3533
3537
|
end
|
|
3534
3538
|
|
|
3535
|
-
# A reference to a file's parent.
|
|
3536
|
-
#
|
|
3537
|
-
#
|
|
3539
|
+
# A reference to a file's parent. A file can only have one parent folder;
|
|
3540
|
+
# specifying multiple parents isn't supported. Some resource methods (such as `
|
|
3541
|
+
# parents.get`) require a `parentId`. Use the `parents.list` method to retrieve
|
|
3542
|
+
# the ID for a parent.
|
|
3538
3543
|
class ParentReference
|
|
3539
3544
|
include Google::Apis::Core::Hashable
|
|
3540
3545
|
|
|
@@ -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.48.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.15.
|
|
22
|
+
GENERATOR_VERSION = "0.15.1"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20240914"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -1314,7 +1314,9 @@ module Google
|
|
|
1314
1314
|
# The ID for the file in question.
|
|
1315
1315
|
# @param [Boolean] acknowledge_abuse
|
|
1316
1316
|
# Whether the user is acknowledging the risk of downloading known malware or
|
|
1317
|
-
# other abusive files.
|
|
1317
|
+
# other abusive files. This is only applicable when the `alt` parameter is set
|
|
1318
|
+
# to `media` and the user is the owner of the file or an organizer of the shared
|
|
1319
|
+
# drive in which the file resides.
|
|
1318
1320
|
# @param [String] include_labels
|
|
1319
1321
|
# A comma-separated list of IDs of labels to include in the `labelInfo` part of
|
|
1320
1322
|
# the response.
|
|
@@ -1503,13 +1505,22 @@ module Google
|
|
|
1503
1505
|
# The maximum number of files to return per page. Partial or empty result pages
|
|
1504
1506
|
# are possible even before the end of the files list has been reached.
|
|
1505
1507
|
# @param [String] order_by
|
|
1506
|
-
# A comma-separated list of sort keys. Valid keys are `createdDate
|
|
1507
|
-
#
|
|
1508
|
-
#
|
|
1509
|
-
#
|
|
1510
|
-
#
|
|
1511
|
-
#
|
|
1512
|
-
#
|
|
1508
|
+
# A comma-separated list of sort keys. Valid keys are: * `createdDate`: When the
|
|
1509
|
+
# file was created. * `folder`: The folder ID. This field is sorted using
|
|
1510
|
+
# alphabetical ordering. * `lastViewedByMeDate`: The last time the file was
|
|
1511
|
+
# viewed by the user. * `modifiedByMeDate`: The last time the file was modified
|
|
1512
|
+
# by the user. * `modifiedDate`: The last time the file was modified by anyone. *
|
|
1513
|
+
# `quotaBytesUsed`: The number of storage quota bytes used by the file. * `
|
|
1514
|
+
# recency`: The most recent timestamp from the file's date-time fields. * `
|
|
1515
|
+
# sharedWithMeDate`: When the file was shared with the user, if applicable. * `
|
|
1516
|
+
# starred`: Whether the user has starred the file. * `title`: The title of the
|
|
1517
|
+
# file. This field is sorted using alphabetical ordering, so 1, 12, 2, 22. * `
|
|
1518
|
+
# title_natural`: The title of the file. This field is sorted using natural sort
|
|
1519
|
+
# ordering, so 1, 2, 12, 22. Each key sorts ascending by default, but can be
|
|
1520
|
+
# reversed with the 'desc' modifier. Example usage: `?orderBy=folder,
|
|
1521
|
+
# modifiedDate desc,title`. Note that there's a current limitation for users
|
|
1522
|
+
# with approximately one million files in which the requested sort order is
|
|
1523
|
+
# ignored.
|
|
1513
1524
|
# @param [String] page_token
|
|
1514
1525
|
# Page token for files.
|
|
1515
1526
|
# @param [String] projection
|
|
@@ -2003,7 +2014,9 @@ module Google
|
|
|
2003
2014
|
# @param [Google::Apis::DriveV2::Channel] channel_object
|
|
2004
2015
|
# @param [Boolean] acknowledge_abuse
|
|
2005
2016
|
# Whether the user is acknowledging the risk of downloading known malware or
|
|
2006
|
-
# other abusive files.
|
|
2017
|
+
# other abusive files. This is only applicable when the `alt` parameter is set
|
|
2018
|
+
# to `media` and the user is the owner of the file or an organizer of the shared
|
|
2019
|
+
# drive in which the file resides.
|
|
2007
2020
|
# @param [String] include_labels
|
|
2008
2021
|
# A comma-separated list of IDs of labels to include in the `labelInfo` part of
|
|
2009
2022
|
# the response.
|
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.48.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: 2024-
|
|
11
|
+
date: 2024-12-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-apis-core
|
|
@@ -58,7 +58,7 @@ licenses:
|
|
|
58
58
|
metadata:
|
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
60
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.
|
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v2/v0.48.0
|
|
62
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: []
|
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
75
75
|
- !ruby/object:Gem::Version
|
|
76
76
|
version: '0'
|
|
77
77
|
requirements: []
|
|
78
|
-
rubygems_version: 3.5.
|
|
78
|
+
rubygems_version: 3.5.22
|
|
79
79
|
signing_key:
|
|
80
80
|
specification_version: 4
|
|
81
81
|
summary: Simple REST client for Google Drive API V2
|