google-apis-drive_v3 0.69.0 → 0.70.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 +4 -0
- data/lib/google/apis/drive_v3/classes.rb +63 -56
- data/lib/google/apis/drive_v3/gem_version.rb +2 -2
- data/lib/google/apis/drive_v3/service.rb +112 -83
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3662ceee87ae582728046012f01b468700eec7bb11045470145ec6fa887ae262
|
4
|
+
data.tar.gz: d31b9b75bc0ab3d1f1f33d977dcba039646b602400264d273ebe6517e3c5823a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25f2735fcbe4803f57b6683d835d646dabccf0a7238488b40afc7749101b74e7a34049a7d34cc1c269e21d3a1d142aa70127dac9f8d8f8055a2ca4ea3f0dfe50
|
7
|
+
data.tar.gz: f8a0c830f0411fb767036b94477893d5bfc2afc536bdeae9ed72bb9cd9112450d9f88cb9b4cf729591bb134f0f5454a0451aa637caab0c3cf25e2b5b37b40958
|
data/CHANGELOG.md
CHANGED
@@ -1003,8 +1003,8 @@ module Google
|
|
1003
1003
|
attr_accessor :restricted_for_readers
|
1004
1004
|
alias_method :restricted_for_readers?, :restricted_for_readers
|
1005
1005
|
|
1006
|
-
# Whether download and copy is restricted for writers. If true
|
1007
|
-
# restricted for readers.
|
1006
|
+
# Whether download and copy is restricted for writers. If `true`, download is
|
1007
|
+
# also restricted for readers.
|
1008
1008
|
# Corresponds to the JSON property `restrictedForWriters`
|
1009
1009
|
# @return [Boolean]
|
1010
1010
|
attr_accessor :restricted_for_writers
|
@@ -1496,7 +1496,9 @@ module Google
|
|
1496
1496
|
attr_accessor :app_properties
|
1497
1497
|
|
1498
1498
|
# Output only. Capabilities the current user has on this file. Each capability
|
1499
|
-
# corresponds to a fine-grained action that a user may take.
|
1499
|
+
# corresponds to a fine-grained action that a user may take. For more
|
1500
|
+
# information, see [Understand file capabilities](https://developers.google.com/
|
1501
|
+
# workspace/drive/api/guides/manage-sharing#capabilities).
|
1500
1502
|
# Corresponds to the JSON property `capabilities`
|
1501
1503
|
# @return [Google::Apis::DriveV3::File::Capabilities]
|
1502
1504
|
attr_accessor :capabilities
|
@@ -1513,7 +1515,7 @@ module Google
|
|
1513
1515
|
# @return [Array<Google::Apis::DriveV3::ContentRestriction>]
|
1514
1516
|
attr_accessor :content_restrictions
|
1515
1517
|
|
1516
|
-
# Whether the options to copy, print, or download this file
|
1518
|
+
# Whether the options to copy, print, or download this file should be disabled
|
1517
1519
|
# for readers and commenters.
|
1518
1520
|
# Corresponds to the JSON property `copyRequiresWriterPermission`
|
1519
1521
|
# @return [Boolean]
|
@@ -1560,9 +1562,10 @@ module Google
|
|
1560
1562
|
attr_accessor :file_extension
|
1561
1563
|
|
1562
1564
|
# The color for a folder or a shortcut to a folder as an RGB hex string. The
|
1563
|
-
# supported colors are published in the `folderColorPalette` field of the
|
1564
|
-
# resource. If an
|
1565
|
-
# palette is used
|
1565
|
+
# supported colors are published in the `folderColorPalette` field of the [`
|
1566
|
+
# about`](/workspace/drive/api/reference/rest/v3/about) resource. If an
|
1567
|
+
# unsupported color is specified, the closest color in the palette is used
|
1568
|
+
# instead.
|
1566
1569
|
# Corresponds to the JSON property `folderColorRgb`
|
1567
1570
|
# @return [String]
|
1568
1571
|
attr_accessor :folder_color_rgb
|
@@ -1570,8 +1573,8 @@ module Google
|
|
1570
1573
|
# Output only. The full file extension extracted from the `name` field. May
|
1571
1574
|
# contain multiple concatenated extensions, such as "tar.gz". This is only
|
1572
1575
|
# available for files with binary content in Google Drive. This is automatically
|
1573
|
-
# updated when the `name` field changes, however it
|
1574
|
-
# name
|
1576
|
+
# updated when the `name` field changes, however it's not cleared if the new
|
1577
|
+
# name doesn't contain a valid extension.
|
1575
1578
|
# Corresponds to the JSON property `fullFileExtension`
|
1576
1579
|
# @return [String]
|
1577
1580
|
attr_accessor :full_file_extension
|
@@ -1583,7 +1586,7 @@ module Google
|
|
1583
1586
|
attr_accessor :has_augmented_permissions
|
1584
1587
|
alias_method :has_augmented_permissions?, :has_augmented_permissions
|
1585
1588
|
|
1586
|
-
# Output only. Whether this file has a thumbnail. This
|
1589
|
+
# Output only. Whether this file has a thumbnail. This doesn't indicate whether
|
1587
1590
|
# the requesting app has access to the thumbnail. To check access, look for the
|
1588
1591
|
# presence of the thumbnailLink field.
|
1589
1592
|
# Corresponds to the JSON property `hasThumbnail`
|
@@ -1657,7 +1660,8 @@ module Google
|
|
1657
1660
|
# appropriate value from uploaded content, if no value is provided. The value
|
1658
1661
|
# cannot be changed unless a new revision is uploaded. If a file is created with
|
1659
1662
|
# a Google Doc MIME type, the uploaded content is imported, if possible. The
|
1660
|
-
# supported import formats are published in the
|
1663
|
+
# supported import formats are published in the [`about`](/workspace/drive/api/
|
1664
|
+
# reference/rest/v3/about) resource.
|
1661
1665
|
# Corresponds to the JSON property `mimeType`
|
1662
1666
|
# @return [String]
|
1663
1667
|
attr_accessor :mime_type
|
@@ -1679,9 +1683,9 @@ module Google
|
|
1679
1683
|
# @return [DateTime]
|
1680
1684
|
attr_accessor :modified_time
|
1681
1685
|
|
1682
|
-
# The name of the file. This
|
1683
|
-
#
|
1684
|
-
# Drive root folder, and Application Data folder the name is constant.
|
1686
|
+
# The name of the file. This isn't necessarily unique within a folder. Note that
|
1687
|
+
# for immutable items such as the top-level folders of shared drives, the My
|
1688
|
+
# Drive root folder, and the Application Data folder, the name is constant.
|
1685
1689
|
# Corresponds to the JSON property `name`
|
1686
1690
|
# @return [String]
|
1687
1691
|
attr_accessor :name
|
@@ -1746,14 +1750,14 @@ module Google
|
|
1746
1750
|
attr_accessor :resource_key
|
1747
1751
|
|
1748
1752
|
# Output only. The SHA1 checksum associated with this file, if available. This
|
1749
|
-
# field is only populated for files with content stored in Google Drive; it
|
1753
|
+
# field is only populated for files with content stored in Google Drive; it's
|
1750
1754
|
# not populated for Docs Editors or shortcut files.
|
1751
1755
|
# Corresponds to the JSON property `sha1Checksum`
|
1752
1756
|
# @return [String]
|
1753
1757
|
attr_accessor :sha1_checksum
|
1754
1758
|
|
1755
1759
|
# Output only. The SHA256 checksum associated with this file, if available. This
|
1756
|
-
# field is only populated for files with content stored in Google Drive; it
|
1760
|
+
# field is only populated for files with content stored in Google Drive; it's
|
1757
1761
|
# not populated for Docs Editors or shortcut files.
|
1758
1762
|
# Corresponds to the JSON property `sha256Checksum`
|
1759
1763
|
# @return [String]
|
@@ -1784,14 +1788,14 @@ module Google
|
|
1784
1788
|
# @return [Google::Apis::DriveV3::File::ShortcutDetails]
|
1785
1789
|
attr_accessor :shortcut_details
|
1786
1790
|
|
1787
|
-
# Output only. Size in bytes of blobs and
|
1788
|
-
# populated for files that have no size, like shortcuts and folders.
|
1791
|
+
# Output only. Size in bytes of blobs and Google Workspace editor files. Won't
|
1792
|
+
# be populated for files that have no size, like shortcuts and folders.
|
1789
1793
|
# Corresponds to the JSON property `size`
|
1790
1794
|
# @return [Fixnum]
|
1791
1795
|
attr_accessor :size
|
1792
1796
|
|
1793
1797
|
# Output only. The list of spaces which contain the file. The currently
|
1794
|
-
# supported values are
|
1798
|
+
# supported values are `drive`, `appDataFolder`, and `photos`.
|
1795
1799
|
# Corresponds to the JSON property `spaces`
|
1796
1800
|
# @return [Array<String>]
|
1797
1801
|
attr_accessor :spaces
|
@@ -1810,9 +1814,9 @@ module Google
|
|
1810
1814
|
# Output only. A short-lived link to the file's thumbnail, if available.
|
1811
1815
|
# Typically lasts on the order of hours. Not intended for direct usage on web
|
1812
1816
|
# applications due to [Cross-Origin Resource Sharing (CORS)](https://developer.
|
1813
|
-
# mozilla.org/en-US/docs/Web/HTTP/CORS) policies
|
1817
|
+
# mozilla.org/en-US/docs/Web/HTTP/CORS) policies. Consider using a proxy server.
|
1814
1818
|
# Only populated when the requesting app can access the file's content. If the
|
1815
|
-
# file isn't shared publicly, the URL returned in `
|
1819
|
+
# file isn't shared publicly, the URL returned in `files.thumbnailLink` must be
|
1816
1820
|
# fetched using a credentialed request.
|
1817
1821
|
# Corresponds to the JSON property `thumbnailLink`
|
1818
1822
|
# @return [String]
|
@@ -1964,7 +1968,9 @@ module Google
|
|
1964
1968
|
end
|
1965
1969
|
|
1966
1970
|
# Output only. Capabilities the current user has on this file. Each capability
|
1967
|
-
# corresponds to a fine-grained action that a user may take.
|
1971
|
+
# corresponds to a fine-grained action that a user may take. For more
|
1972
|
+
# information, see [Understand file capabilities](https://developers.google.com/
|
1973
|
+
# workspace/drive/api/guides/manage-sharing#capabilities).
|
1968
1974
|
class Capabilities
|
1969
1975
|
include Google::Apis::Core::Hashable
|
1970
1976
|
|
@@ -1976,15 +1982,15 @@ module Google
|
|
1976
1982
|
alias_method :can_accept_ownership?, :can_accept_ownership
|
1977
1983
|
|
1978
1984
|
# Output only. Whether the current user can add children to this folder. This is
|
1979
|
-
# always false when the item
|
1985
|
+
# always `false` when the item isn't a folder.
|
1980
1986
|
# Corresponds to the JSON property `canAddChildren`
|
1981
1987
|
# @return [Boolean]
|
1982
1988
|
attr_accessor :can_add_children
|
1983
1989
|
alias_method :can_add_children?, :can_add_children
|
1984
1990
|
|
1985
1991
|
# Output only. Whether the current user can add a folder from another drive (
|
1986
|
-
# different shared drive or My Drive) to this folder. This is false when the
|
1987
|
-
# item
|
1992
|
+
# different shared drive or My Drive) to this folder. This is `false` when the
|
1993
|
+
# item isn't a folder. Only populated for items in shared drives.
|
1988
1994
|
# Corresponds to the JSON property `canAddFolderFromAnotherDrive`
|
1989
1995
|
# @return [Boolean]
|
1990
1996
|
attr_accessor :can_add_folder_from_another_drive
|
@@ -2012,7 +2018,7 @@ module Google
|
|
2012
2018
|
attr_accessor :can_change_item_download_restriction
|
2013
2019
|
alias_method :can_change_item_download_restriction?, :can_change_item_download_restriction
|
2014
2020
|
|
2015
|
-
# Output only. Whether the current user can change the securityUpdateEnabled
|
2021
|
+
# Output only. Whether the current user can change the `securityUpdateEnabled`
|
2016
2022
|
# field on link share metadata.
|
2017
2023
|
# Corresponds to the JSON property `canChangeSecurityUpdateEnabled`
|
2018
2024
|
# @return [Boolean]
|
@@ -2033,7 +2039,7 @@ module Google
|
|
2033
2039
|
|
2034
2040
|
# Output only. Whether the current user can copy this file. For an item in a
|
2035
2041
|
# shared drive, whether the current user can copy non-folder descendants of this
|
2036
|
-
# item, or this item
|
2042
|
+
# item, or this item if it's not a folder.
|
2037
2043
|
# Corresponds to the JSON property `canCopy`
|
2038
2044
|
# @return [Boolean]
|
2039
2045
|
attr_accessor :can_copy
|
@@ -2046,7 +2052,7 @@ module Google
|
|
2046
2052
|
alias_method :can_delete?, :can_delete
|
2047
2053
|
|
2048
2054
|
# Output only. Whether the current user can delete children of this folder. This
|
2049
|
-
# is false when the item
|
2055
|
+
# is `false` when the item isn't a folder. Only populated for items in shared
|
2050
2056
|
# drives.
|
2051
2057
|
# Corresponds to the JSON property `canDeleteChildren`
|
2052
2058
|
# @return [Boolean]
|
@@ -2080,7 +2086,7 @@ module Google
|
|
2080
2086
|
alias_method :can_enable_inherited_permissions?, :can_enable_inherited_permissions
|
2081
2087
|
|
2082
2088
|
# Output only. Whether the current user can list the children of this folder.
|
2083
|
-
# This is always false when the item
|
2089
|
+
# This is always `false` when the item isn't a folder.
|
2084
2090
|
# Corresponds to the JSON property `canListChildren`
|
2085
2091
|
# @return [Boolean]
|
2086
2092
|
attr_accessor :can_list_children
|
@@ -2093,7 +2099,7 @@ module Google
|
|
2093
2099
|
alias_method :can_modify_content?, :can_modify_content
|
2094
2100
|
|
2095
2101
|
# Deprecated: Output only. Use one of `canModifyEditorContentRestriction`, `
|
2096
|
-
# canModifyOwnerContentRestriction
|
2102
|
+
# canModifyOwnerContentRestriction`, or `canRemoveContentRestriction`.
|
2097
2103
|
# Corresponds to the JSON property `canModifyContentRestriction`
|
2098
2104
|
# @return [Boolean]
|
2099
2105
|
attr_accessor :can_modify_content_restriction
|
@@ -2120,7 +2126,7 @@ module Google
|
|
2120
2126
|
alias_method :can_modify_owner_content_restriction?, :can_modify_owner_content_restriction
|
2121
2127
|
|
2122
2128
|
# Output only. Whether the current user can move children of this folder outside
|
2123
|
-
# of the shared drive. This is false when the item
|
2129
|
+
# of the shared drive. This is `false` when the item isn't a folder. Only
|
2124
2130
|
# populated for items in shared drives.
|
2125
2131
|
# Corresponds to the JSON property `canMoveChildrenOutOfDrive`
|
2126
2132
|
# @return [Boolean]
|
@@ -2134,7 +2140,7 @@ module Google
|
|
2134
2140
|
alias_method :can_move_children_out_of_team_drive?, :can_move_children_out_of_team_drive
|
2135
2141
|
|
2136
2142
|
# Output only. Whether the current user can move children of this folder within
|
2137
|
-
# this drive. This is false when the item
|
2143
|
+
# this drive. This is `false` when the item isn't a folder. Note that a request
|
2138
2144
|
# to move the child may still fail depending on the current user's access to the
|
2139
2145
|
# child and to the destination folder.
|
2140
2146
|
# Corresponds to the JSON property `canMoveChildrenWithinDrive`
|
@@ -2156,7 +2162,7 @@ module Google
|
|
2156
2162
|
|
2157
2163
|
# Output only. Whether the current user can move this item outside of this drive
|
2158
2164
|
# by changing its parent. Note that a request to change the parent of the item
|
2159
|
-
# may still fail depending on the new parent that
|
2165
|
+
# may still fail depending on the new parent that's being added.
|
2160
2166
|
# Corresponds to the JSON property `canMoveItemOutOfDrive`
|
2161
2167
|
# @return [Boolean]
|
2162
2168
|
attr_accessor :can_move_item_out_of_drive
|
@@ -2170,7 +2176,7 @@ module Google
|
|
2170
2176
|
|
2171
2177
|
# Output only. Whether the current user can move this item within this drive.
|
2172
2178
|
# Note that a request to change the parent of the item may still fail depending
|
2173
|
-
# on the new parent that
|
2179
|
+
# on the new parent that's being added and the parent that is being removed.
|
2174
2180
|
# Corresponds to the JSON property `canMoveItemWithinDrive`
|
2175
2181
|
# @return [Boolean]
|
2176
2182
|
attr_accessor :can_move_item_within_drive
|
@@ -2204,7 +2210,7 @@ module Google
|
|
2204
2210
|
|
2205
2211
|
# Output only. Whether the current user can read the revisions resource of this
|
2206
2212
|
# file. For a shared drive item, whether revisions of non-folder descendants of
|
2207
|
-
# this item, or this item
|
2213
|
+
# this item, or this item if it's not a folder, can be read.
|
2208
2214
|
# Corresponds to the JSON property `canReadRevisions`
|
2209
2215
|
# @return [Boolean]
|
2210
2216
|
attr_accessor :can_read_revisions
|
@@ -2217,14 +2223,14 @@ module Google
|
|
2217
2223
|
alias_method :can_read_team_drive?, :can_read_team_drive
|
2218
2224
|
|
2219
2225
|
# Output only. Whether the current user can remove children from this folder.
|
2220
|
-
# This is always false when the item
|
2226
|
+
# This is always `false` when the item isn't a folder. For a folder in a shared
|
2221
2227
|
# drive, use `canDeleteChildren` or `canTrashChildren` instead.
|
2222
2228
|
# Corresponds to the JSON property `canRemoveChildren`
|
2223
2229
|
# @return [Boolean]
|
2224
2230
|
attr_accessor :can_remove_children
|
2225
2231
|
alias_method :can_remove_children?, :can_remove_children
|
2226
2232
|
|
2227
|
-
# Output only. Whether there
|
2233
|
+
# Output only. Whether there's a content restriction on the file that can be
|
2228
2234
|
# removed by the current user.
|
2229
2235
|
# Corresponds to the JSON property `canRemoveContentRestriction`
|
2230
2236
|
# @return [Boolean]
|
@@ -2259,7 +2265,7 @@ module Google
|
|
2259
2265
|
alias_method :can_trash?, :can_trash
|
2260
2266
|
|
2261
2267
|
# Output only. Whether the current user can trash children of this folder. This
|
2262
|
-
# is false when the item
|
2268
|
+
# is `false` when the item isn't a folder. Only populated for items in shared
|
2263
2269
|
# drives.
|
2264
2270
|
# Corresponds to the JSON property `canTrashChildren`
|
2265
2271
|
# @return [Boolean]
|
@@ -2331,7 +2337,7 @@ module Google
|
|
2331
2337
|
include Google::Apis::Core::Hashable
|
2332
2338
|
|
2333
2339
|
# Text to be indexed for the file to improve fullText queries. This is limited
|
2334
|
-
# to
|
2340
|
+
# to 128 KB in length and may contain HTML elements.
|
2335
2341
|
# Corresponds to the JSON property `indexableText`
|
2336
2342
|
# @return [String]
|
2337
2343
|
attr_accessor :indexable_text
|
@@ -2357,7 +2363,8 @@ module Google
|
|
2357
2363
|
class Thumbnail
|
2358
2364
|
include Google::Apis::Core::Hashable
|
2359
2365
|
|
2360
|
-
# The thumbnail data encoded with URL-safe Base64 (RFC 4648 section 5
|
2366
|
+
# The thumbnail data encoded with URL-safe Base64 ([RFC 4648 section 5](https://
|
2367
|
+
# datatracker.ietf.org/doc/html/rfc4648#section-5)).
|
2361
2368
|
# Corresponds to the JSON property `image`
|
2362
2369
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2363
2370
|
# @return [String]
|
@@ -2620,7 +2627,7 @@ module Google
|
|
2620
2627
|
# @return [String]
|
2621
2628
|
attr_accessor :target_mime_type
|
2622
2629
|
|
2623
|
-
# Output only. The
|
2630
|
+
# Output only. The `resourceKey` for the target file.
|
2624
2631
|
# Corresponds to the JSON property `targetResourceKey`
|
2625
2632
|
# @return [String]
|
2626
2633
|
attr_accessor :target_resource_key
|
@@ -2674,7 +2681,7 @@ module Google
|
|
2674
2681
|
class FileList
|
2675
2682
|
include Google::Apis::Core::Hashable
|
2676
2683
|
|
2677
|
-
# The list of files. If nextPageToken is populated, then this list may be
|
2684
|
+
# The list of files. If `nextPageToken` is populated, then this list may be
|
2678
2685
|
# incomplete and an additional page of results should be fetched.
|
2679
2686
|
# Corresponds to the JSON property `files`
|
2680
2687
|
# @return [Array<Google::Apis::DriveV3::File>]
|
@@ -2682,9 +2689,9 @@ module Google
|
|
2682
2689
|
|
2683
2690
|
# Whether the search process was incomplete. If true, then some search results
|
2684
2691
|
# might be missing, since all documents were not searched. This can occur when
|
2685
|
-
# searching multiple drives with the
|
2692
|
+
# searching multiple drives with the `allDrives` corpora, but all corpora couldn'
|
2686
2693
|
# t be searched. When this happens, it's suggested that clients narrow their
|
2687
|
-
# query by choosing a different corpus such as
|
2694
|
+
# query by choosing a different corpus such as `user` or `drive`.
|
2688
2695
|
# Corresponds to the JSON property `incompleteSearch`
|
2689
2696
|
# @return [Boolean]
|
2690
2697
|
attr_accessor :incomplete_search
|
@@ -2859,7 +2866,7 @@ module Google
|
|
2859
2866
|
# @return [String]
|
2860
2867
|
attr_accessor :field_id
|
2861
2868
|
|
2862
|
-
# This is always drive#labelFieldModification
|
2869
|
+
# This is always `"drive#labelFieldModification"`.
|
2863
2870
|
# Corresponds to the JSON property `kind`
|
2864
2871
|
# @return [String]
|
2865
2872
|
attr_accessor :kind
|
@@ -2885,8 +2892,8 @@ module Google
|
|
2885
2892
|
# @return [Array<String>]
|
2886
2893
|
attr_accessor :set_text_values
|
2887
2894
|
|
2888
|
-
# Replaces a `user` field with these new values. The values must be valid
|
2889
|
-
# addresses.
|
2895
|
+
# Replaces a `user` field with these new values. The values must be a valid
|
2896
|
+
# email addresses.
|
2890
2897
|
# Corresponds to the JSON property `setUserValues`
|
2891
2898
|
# @return [Array<String>]
|
2892
2899
|
attr_accessor :set_user_values
|
@@ -2918,7 +2925,7 @@ module Google
|
|
2918
2925
|
class LabelList
|
2919
2926
|
include Google::Apis::Core::Hashable
|
2920
2927
|
|
2921
|
-
# This is always drive#labelList
|
2928
|
+
# This is always `"drive#labelList"`.
|
2922
2929
|
# Corresponds to the JSON property `kind`
|
2923
2930
|
# @return [String]
|
2924
2931
|
attr_accessor :kind
|
@@ -2949,9 +2956,9 @@ module Google
|
|
2949
2956
|
end
|
2950
2957
|
end
|
2951
2958
|
|
2952
|
-
# A modification to a label on a file. A LabelModification can be used to
|
2953
|
-
# a label to a file, update an existing label on a file, or remove a label
|
2954
|
-
# a file.
|
2959
|
+
# A modification to a label on a file. A `LabelModification` can be used to
|
2960
|
+
# apply a label to a file, update an existing label on a file, or remove a label
|
2961
|
+
# from a file.
|
2955
2962
|
class LabelModification
|
2956
2963
|
include Google::Apis::Core::Hashable
|
2957
2964
|
|
@@ -2960,7 +2967,7 @@ module Google
|
|
2960
2967
|
# @return [Array<Google::Apis::DriveV3::LabelFieldModification>]
|
2961
2968
|
attr_accessor :field_modifications
|
2962
2969
|
|
2963
|
-
# This is always drive#labelModification
|
2970
|
+
# This is always `"drive#labelModification"`.
|
2964
2971
|
# Corresponds to the JSON property `kind`
|
2965
2972
|
# @return [String]
|
2966
2973
|
attr_accessor :kind
|
@@ -3022,7 +3029,7 @@ module Google
|
|
3022
3029
|
class ModifyLabelsRequest
|
3023
3030
|
include Google::Apis::Core::Hashable
|
3024
3031
|
|
3025
|
-
# This is always drive#modifyLabelsRequest
|
3032
|
+
# This is always `"drive#modifyLabelsRequest"`.
|
3026
3033
|
# Corresponds to the JSON property `kind`
|
3027
3034
|
# @return [String]
|
3028
3035
|
attr_accessor :kind
|
@@ -3043,12 +3050,12 @@ module Google
|
|
3043
3050
|
end
|
3044
3051
|
end
|
3045
3052
|
|
3046
|
-
# Response to a ModifyLabels request. This contains only those labels which
|
3047
|
-
# added or updated by the request.
|
3053
|
+
# Response to a `ModifyLabels` request. This contains only those labels which
|
3054
|
+
# were added or updated by the request.
|
3048
3055
|
class ModifyLabelsResponse
|
3049
3056
|
include Google::Apis::Core::Hashable
|
3050
3057
|
|
3051
|
-
# This is always drive#modifyLabelsResponse
|
3058
|
+
# This is always `"drive#modifyLabelsResponse"`.
|
3052
3059
|
# Corresponds to the JSON property `kind`
|
3053
3060
|
# @return [String]
|
3054
3061
|
attr_accessor :kind
|
@@ -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.70.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250829"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -966,12 +966,13 @@ module Google
|
|
966
966
|
end
|
967
967
|
|
968
968
|
# Creates a copy of a file and applies any requested updates with patch
|
969
|
-
# semantics.
|
969
|
+
# semantics. For more information, see [Create and manage files](https://
|
970
|
+
# developers.google.com/workspace/drive/api/guides/create-file).
|
970
971
|
# @param [String] file_id
|
971
972
|
# The ID of the file.
|
972
973
|
# @param [Google::Apis::DriveV3::File] file_object
|
973
974
|
# @param [Boolean] enforce_single_parent
|
974
|
-
# Deprecated
|
975
|
+
# Deprecated: Copying files into multiple folders is no longer supported. Use
|
975
976
|
# shortcuts instead.
|
976
977
|
# @param [Boolean] ignore_default_visibility
|
977
978
|
# Whether to ignore the domain's default visibility settings for the created
|
@@ -983,9 +984,9 @@ module Google
|
|
983
984
|
# the response.
|
984
985
|
# @param [String] include_permissions_for_view
|
985
986
|
# Specifies which additional view's permissions to include in the response. Only
|
986
|
-
#
|
987
|
+
# `published` is supported.
|
987
988
|
# @param [Boolean] keep_revision_forever
|
988
|
-
# Whether to set the
|
989
|
+
# Whether to set the `keepForever` field in the new head revision. This is only
|
989
990
|
# applicable to files with binary content in Google Drive. Only 200 revisions
|
990
991
|
# for the file can be kept forever. If the limit is reached, try deleting pinned
|
991
992
|
# revisions.
|
@@ -1032,26 +1033,28 @@ module Google
|
|
1032
1033
|
execute_or_queue_command(command, &block)
|
1033
1034
|
end
|
1034
1035
|
|
1035
|
-
# Creates a
|
1036
|
-
#
|
1037
|
-
#
|
1038
|
-
#
|
1039
|
-
#
|
1040
|
-
#
|
1041
|
-
#
|
1042
|
-
#
|
1043
|
-
#
|
1044
|
-
#
|
1045
|
-
#
|
1046
|
-
#
|
1047
|
-
#
|
1048
|
-
#
|
1049
|
-
#
|
1050
|
-
#
|
1051
|
-
#
|
1036
|
+
# Creates a file. For more information, see [Create and manage files](/
|
1037
|
+
# workspace/drive/api/guides/create-file). This method supports an */upload* URI
|
1038
|
+
# and accepts uploaded media with the following characteristics: - *Maximum file
|
1039
|
+
# size:* 5,120 GB - *Accepted Media MIME types:* `*/*` (Specify a valid MIME
|
1040
|
+
# type, rather than the literal `*/*` value. The literal `*/*` is only used to
|
1041
|
+
# indicate that any valid MIME type can be uploaded. For more information, see [
|
1042
|
+
# Google Workspace and Google Drive supported MIME types](/workspace/drive/api/
|
1043
|
+
# guides/mime-types).) For more information on uploading files, see [Upload file
|
1044
|
+
# data](/workspace/drive/api/guides/manage-uploads). Apps creating shortcuts
|
1045
|
+
# with the `create` method must specify the MIME type `application/vnd.google-
|
1046
|
+
# apps.shortcut`. Apps should specify a file extension in the `name` property
|
1047
|
+
# when inserting files with the API. For example, an operation to insert a JPEG
|
1048
|
+
# file should specify something like `"name": "cat.jpg"` in the metadata.
|
1049
|
+
# Subsequent `GET` requests include the read-only `fileExtension` property
|
1050
|
+
# populated with the extension originally specified in the `name` property. When
|
1051
|
+
# a Google Drive user requests to download a file, or when the file is
|
1052
|
+
# downloaded through the sync client, Drive builds a full filename (with
|
1053
|
+
# extension) based on the name. In cases where the extension is missing, Drive
|
1054
|
+
# attempts to determine the extension based on the file's MIME type.
|
1052
1055
|
# @param [Google::Apis::DriveV3::File] file_object
|
1053
1056
|
# @param [Boolean] enforce_single_parent
|
1054
|
-
# Deprecated
|
1057
|
+
# Deprecated: Creating files in multiple folders is no longer supported.
|
1055
1058
|
# @param [Boolean] ignore_default_visibility
|
1056
1059
|
# Whether to ignore the domain's default visibility settings for the created
|
1057
1060
|
# file. Domain administrators can choose to make all uploaded files visible to
|
@@ -1062,9 +1065,9 @@ module Google
|
|
1062
1065
|
# the response.
|
1063
1066
|
# @param [String] include_permissions_for_view
|
1064
1067
|
# Specifies which additional view's permissions to include in the response. Only
|
1065
|
-
#
|
1068
|
+
# `published` is supported.
|
1066
1069
|
# @param [Boolean] keep_revision_forever
|
1067
|
-
# Whether to set the
|
1070
|
+
# Whether to set the `keepForever` field in the new head revision. This is only
|
1068
1071
|
# applicable to files with binary content in Google Drive. Only 200 revisions
|
1069
1072
|
# for the file can be kept forever. If the limit is reached, try deleting pinned
|
1070
1073
|
# revisions.
|
@@ -1124,14 +1127,15 @@ module Google
|
|
1124
1127
|
end
|
1125
1128
|
|
1126
1129
|
# Permanently deletes a file owned by the user without moving it to the trash.
|
1127
|
-
#
|
1128
|
-
#
|
1129
|
-
#
|
1130
|
+
# For more information, see [Trash or delete files and folders](https://
|
1131
|
+
# developers.google.com/workspace/drive/api/guides/delete). If the file belongs
|
1132
|
+
# to a shared drive, the user must be an `organizer` on the parent folder. If
|
1133
|
+
# the target is a folder, all descendants owned by the user are also deleted.
|
1130
1134
|
# @param [String] file_id
|
1131
1135
|
# The ID of the file.
|
1132
1136
|
# @param [Boolean] enforce_single_parent
|
1133
|
-
# Deprecated: If an item
|
1134
|
-
# but the item itself
|
1137
|
+
# Deprecated: If an item isn't in a shared drive and its last parent is deleted
|
1138
|
+
# but the item itself isn't, the item will be placed under its owner's root.
|
1135
1139
|
# @param [Boolean] supports_all_drives
|
1136
1140
|
# Whether the requesting application supports both My Drives and shared drives.
|
1137
1141
|
# @param [Boolean] supports_team_drives
|
@@ -1164,16 +1168,18 @@ module Google
|
|
1164
1168
|
execute_or_queue_command(command, &block)
|
1165
1169
|
end
|
1166
1170
|
|
1167
|
-
# Downloads content of a file.
|
1168
|
-
#
|
1171
|
+
# Downloads the content of a file. For more information, see [Download and
|
1172
|
+
# export files](https://developers.google.com/workspace/drive/api/guides/manage-
|
1173
|
+
# downloads). Operations are valid for 24 hours from the time of creation.
|
1169
1174
|
# @param [String] file_id
|
1170
1175
|
# Required. The ID of the file to download.
|
1171
1176
|
# @param [String] mime_type
|
1172
1177
|
# Optional. The MIME type the file should be downloaded as. This field can only
|
1173
|
-
# be set when downloading Google Workspace documents.
|
1174
|
-
# Google Workspace documents](/
|
1175
|
-
#
|
1176
|
-
# with a default MIME type. The default MIME type might change in
|
1178
|
+
# be set when downloading Google Workspace documents. For a list of supported
|
1179
|
+
# MIME types, see [Export MIME types for Google Workspace documents](/workspace/
|
1180
|
+
# drive/api/guides/ref-export-formats). If not set, a Google Workspace document
|
1181
|
+
# is downloaded with a default MIME type. The default MIME type might change in
|
1182
|
+
# the future.
|
1177
1183
|
# @param [String] revision_id
|
1178
1184
|
# Optional. The revision ID of the file to download. This field can only be set
|
1179
1185
|
# when downloading blob files, Google Docs, and Google Sheets. Returns `
|
@@ -1208,12 +1214,14 @@ module Google
|
|
1208
1214
|
execute_or_queue_command(command, &block)
|
1209
1215
|
end
|
1210
1216
|
|
1211
|
-
# Permanently deletes all of the user's trashed files.
|
1217
|
+
# Permanently deletes all of the user's trashed files. For more information, see
|
1218
|
+
# [Trash or delete files and folders](https://developers.google.com/workspace/
|
1219
|
+
# drive/api/guides/delete).
|
1212
1220
|
# @param [String] drive_id
|
1213
1221
|
# If set, empties the trash of the provided shared drive.
|
1214
1222
|
# @param [Boolean] enforce_single_parent
|
1215
|
-
# Deprecated: If an item
|
1216
|
-
# but the item itself
|
1223
|
+
# Deprecated: If an item isn't in a shared drive and its last parent is deleted
|
1224
|
+
# but the item itself isn't, the item will be placed under its owner's root.
|
1217
1225
|
# @param [String] fields
|
1218
1226
|
# Selector specifying which fields to include in a partial response.
|
1219
1227
|
# @param [String] quota_user
|
@@ -1241,11 +1249,15 @@ module Google
|
|
1241
1249
|
end
|
1242
1250
|
|
1243
1251
|
# Exports a Google Workspace document to the requested MIME type and returns
|
1244
|
-
# exported byte content.
|
1252
|
+
# exported byte content. For more information, see [Download and export files](
|
1253
|
+
# https://developers.google.com/workspace/drive/api/guides/manage-downloads).
|
1254
|
+
# Note that the exported content is limited to 10 MB.
|
1245
1255
|
# @param [String] file_id
|
1246
1256
|
# The ID of the file.
|
1247
1257
|
# @param [String] mime_type
|
1248
|
-
# Required. The MIME type of the format requested for this export.
|
1258
|
+
# Required. The MIME type of the format requested for this export. For a list of
|
1259
|
+
# supported MIME types, see [Export MIME types for Google Workspace documents](/
|
1260
|
+
# workspace/drive/api/guides/ref-export-formats).
|
1249
1261
|
# @param [String] fields
|
1250
1262
|
# Selector specifying which fields to include in a partial response.
|
1251
1263
|
# @param [String] quota_user
|
@@ -1280,15 +1292,21 @@ module Google
|
|
1280
1292
|
end
|
1281
1293
|
|
1282
1294
|
# Generates a set of file IDs which can be provided in create or copy requests.
|
1295
|
+
# For more information, see [Create and manage files](https://developers.google.
|
1296
|
+
# com/workspace/drive/api/guides/create-file).
|
1283
1297
|
# @param [Fixnum] count
|
1284
1298
|
# The number of IDs to return.
|
1285
1299
|
# @param [String] space
|
1286
|
-
# The space in which the IDs can be used to create
|
1287
|
-
#
|
1300
|
+
# The space in which the IDs can be used to create files. Supported values are `
|
1301
|
+
# drive` and `appDataFolder`. (Default: `drive`.) For more information, see [
|
1302
|
+
# File organization](https://developers.google.com/workspace/drive/api/guides/
|
1303
|
+
# about-files#file-organization).
|
1288
1304
|
# @param [String] type
|
1289
|
-
# The type of items which the IDs can be used for. Supported values are
|
1290
|
-
# and
|
1291
|
-
# space
|
1305
|
+
# The type of items which the IDs can be used for. Supported values are `files`
|
1306
|
+
# and `shortcuts`. Note that `shortcuts` are only supported in the `drive` `
|
1307
|
+
# space`. (Default: `files`.) For more information, see [File organization](
|
1308
|
+
# https://developers.google.com/workspace/drive/api/guides/about-files#file-
|
1309
|
+
# organization).
|
1292
1310
|
# @param [String] fields
|
1293
1311
|
# Selector specifying which fields to include in a partial response.
|
1294
1312
|
# @param [String] quota_user
|
@@ -1318,12 +1336,14 @@ module Google
|
|
1318
1336
|
execute_or_queue_command(command, &block)
|
1319
1337
|
end
|
1320
1338
|
|
1321
|
-
# Gets a file's metadata or content by ID.
|
1322
|
-
#
|
1323
|
-
#
|
1324
|
-
#
|
1325
|
-
#
|
1326
|
-
#
|
1339
|
+
# Gets a file's metadata or content by ID. For more information, see [Search
|
1340
|
+
# for files and folders](/workspace/drive/api/guides/search-files). If you
|
1341
|
+
# provide the URL parameter `alt=media`, then the response includes the file
|
1342
|
+
# contents in the response body. Downloading content with `alt=media` only works
|
1343
|
+
# if the file is stored in Drive. To download Google Docs, Sheets, and Slides
|
1344
|
+
# use [`files.export`](/workspace/drive/api/reference/rest/v3/files/export)
|
1345
|
+
# instead. For more information, see [Download and export files](/workspace/
|
1346
|
+
# drive/api/guides/manage-downloads).
|
1327
1347
|
# @param [String] file_id
|
1328
1348
|
# The ID of the file.
|
1329
1349
|
# @param [Boolean] acknowledge_abuse
|
@@ -1336,7 +1356,7 @@ module Google
|
|
1336
1356
|
# the response.
|
1337
1357
|
# @param [String] include_permissions_for_view
|
1338
1358
|
# Specifies which additional view's permissions to include in the response. Only
|
1339
|
-
#
|
1359
|
+
# `published` is supported.
|
1340
1360
|
# @param [Boolean] supports_all_drives
|
1341
1361
|
# Whether the requesting application supports both My Drives and shared drives.
|
1342
1362
|
# @param [Boolean] supports_team_drives
|
@@ -1380,19 +1400,21 @@ module Google
|
|
1380
1400
|
execute_or_queue_command(command, &block)
|
1381
1401
|
end
|
1382
1402
|
|
1383
|
-
# Lists the user's files.
|
1384
|
-
# search
|
1385
|
-
#
|
1386
|
-
#
|
1387
|
-
#
|
1388
|
-
#
|
1403
|
+
# Lists the user's files. For more information, see [Search for files and
|
1404
|
+
# folders](/workspace/drive/api/guides/search-files). This method accepts the `q`
|
1405
|
+
# parameter, which is a search query combining one or more search terms. This
|
1406
|
+
# method returns *all* files by default, including trashed files. If you don't
|
1407
|
+
# want trashed files to appear in the list, use the `trashed=false` query
|
1408
|
+
# parameter to remove trashed files from the results.
|
1389
1409
|
# @param [String] corpora
|
1390
|
-
# Bodies of items (files
|
1391
|
-
# are
|
1392
|
-
# allDrives
|
1393
|
-
# can change depending on the filter set through the
|
1410
|
+
# Bodies of items (files or documents) to which the query applies. Supported
|
1411
|
+
# bodies are: * `user` * `domain` * `drive` * `allDrives` Prefer `user` or `
|
1412
|
+
# drive` to `allDrives` for efficiency. By default, corpora is set to `user`.
|
1413
|
+
# However, this can change depending on the filter set through the `q` parameter.
|
1414
|
+
# For more information, see [File organization](https://developers.google.com/
|
1415
|
+
# workspace/drive/api/guides/about-files#file-organization).
|
1394
1416
|
# @param [String] corpus
|
1395
|
-
# Deprecated: The source of files to list. Use
|
1417
|
+
# Deprecated: The source of files to list. Use `corpora` instead.
|
1396
1418
|
# @param [String] drive_id
|
1397
1419
|
# ID of the shared drive to search.
|
1398
1420
|
# @param [Boolean] include_items_from_all_drives
|
@@ -1402,7 +1424,7 @@ module Google
|
|
1402
1424
|
# the response.
|
1403
1425
|
# @param [String] include_permissions_for_view
|
1404
1426
|
# Specifies which additional view's permissions to include in the response. Only
|
1405
|
-
#
|
1427
|
+
# `published` is supported.
|
1406
1428
|
# @param [Boolean] include_team_drive_items
|
1407
1429
|
# Deprecated: Use `includeItemsFromAllDrives` instead.
|
1408
1430
|
# @param [String] order_by
|
@@ -1418,20 +1440,22 @@ module Google
|
|
1418
1440
|
# sharedWithMeTime`: When the file was shared with the user, if applicable. * `
|
1419
1441
|
# starred`: Whether the user has starred the file. * `viewedByMeTime`: The last
|
1420
1442
|
# time the file was viewed by the user. Each key sorts ascending by default, but
|
1421
|
-
# can be reversed with the
|
1443
|
+
# can be reversed with the `desc` modifier. Example usage: `?orderBy=folder,
|
1422
1444
|
# modifiedTime desc,name`.
|
1423
1445
|
# @param [Fixnum] page_size
|
1424
1446
|
# The maximum number of files to return per page. Partial or empty result pages
|
1425
1447
|
# are possible even before the end of the files list has been reached.
|
1426
1448
|
# @param [String] page_token
|
1427
1449
|
# The token for continuing a previous list request on the next page. This should
|
1428
|
-
# be set to the value of
|
1450
|
+
# be set to the value of `nextPageToken` from the previous response.
|
1429
1451
|
# @param [String] q
|
1430
|
-
# A query for filtering the file results.
|
1431
|
-
#
|
1452
|
+
# A query for filtering the file results. For supported syntax, see [Search for
|
1453
|
+
# files and folders](/workspace/drive/api/guides/search-files).
|
1432
1454
|
# @param [String] spaces
|
1433
1455
|
# A comma-separated list of spaces to query within the corpora. Supported values
|
1434
|
-
# are
|
1456
|
+
# are `drive` and `appDataFolder`. For more information, see [File organization](
|
1457
|
+
# https://developers.google.com/workspace/drive/api/guides/about-files#file-
|
1458
|
+
# organization).
|
1435
1459
|
# @param [Boolean] supports_all_drives
|
1436
1460
|
# Whether the requesting application supports both My Drives and shared drives.
|
1437
1461
|
# @param [Boolean] supports_team_drives
|
@@ -1479,14 +1503,15 @@ module Google
|
|
1479
1503
|
execute_or_queue_command(command, &block)
|
1480
1504
|
end
|
1481
1505
|
|
1482
|
-
# Lists the labels on a file.
|
1506
|
+
# Lists the labels on a file. For more information, see [List labels on a file](
|
1507
|
+
# https://developers.google.com/workspace/drive/api/guides/list-labels).
|
1483
1508
|
# @param [String] file_id
|
1484
1509
|
# The ID for the file.
|
1485
1510
|
# @param [Fixnum] max_results
|
1486
1511
|
# The maximum number of labels to return per page. When not set, defaults to 100.
|
1487
1512
|
# @param [String] page_token
|
1488
1513
|
# The token for continuing a previous list request on the next page. This should
|
1489
|
-
# be set to the value of
|
1514
|
+
# be set to the value of `nextPageToken` from the previous response.
|
1490
1515
|
# @param [String] fields
|
1491
1516
|
# Selector specifying which fields to include in a partial response.
|
1492
1517
|
# @param [String] quota_user
|
@@ -1516,8 +1541,9 @@ module Google
|
|
1516
1541
|
execute_or_queue_command(command, &block)
|
1517
1542
|
end
|
1518
1543
|
|
1519
|
-
# Modifies the set of labels applied to a file.
|
1520
|
-
#
|
1544
|
+
# Modifies the set of labels applied to a file. For more information, see [Set a
|
1545
|
+
# label field on a file](https://developers.google.com/workspace/drive/api/
|
1546
|
+
# guides/set-label). Returns a list of the labels that were added or modified.
|
1521
1547
|
# @param [String] file_id
|
1522
1548
|
# The ID of the file to which the labels belong.
|
1523
1549
|
# @param [Google::Apis::DriveV3::ModifyLabelsRequest] modify_labels_request_object
|
@@ -1550,16 +1576,17 @@ module Google
|
|
1550
1576
|
execute_or_queue_command(command, &block)
|
1551
1577
|
end
|
1552
1578
|
|
1553
|
-
# Updates a file's metadata
|
1579
|
+
# Updates a file's metadata, content, or both. When calling this method, only
|
1554
1580
|
# populate fields in the request that you want to modify. When updating fields,
|
1555
1581
|
# some fields might be changed automatically, such as `modifiedDate`. This
|
1556
1582
|
# method supports patch semantics. This method supports an */upload* URI and
|
1557
1583
|
# accepts uploaded media with the following characteristics: - *Maximum file
|
1558
|
-
# size:* 5,120 GB - *Accepted Media MIME types
|
1584
|
+
# size:* 5,120 GB - *Accepted Media MIME types:* `*/*` (Specify a valid MIME
|
1559
1585
|
# type, rather than the literal `*/*` value. The literal `*/*` is only used to
|
1560
|
-
# indicate that any valid MIME type can be uploaded. For more information
|
1561
|
-
#
|
1562
|
-
#
|
1586
|
+
# indicate that any valid MIME type can be uploaded. For more information, see [
|
1587
|
+
# Google Workspace and Google Drive supported MIME types](/workspace/drive/api/
|
1588
|
+
# guides/mime-types).) For more information on uploading files, see [Upload file
|
1589
|
+
# data](/workspace/drive/api/guides/manage-uploads).
|
1563
1590
|
# @param [String] file_id
|
1564
1591
|
# The ID of the file.
|
1565
1592
|
# @param [Google::Apis::DriveV3::File] file_object
|
@@ -1573,9 +1600,9 @@ module Google
|
|
1573
1600
|
# the response.
|
1574
1601
|
# @param [String] include_permissions_for_view
|
1575
1602
|
# Specifies which additional view's permissions to include in the response. Only
|
1576
|
-
#
|
1603
|
+
# `published` is supported.
|
1577
1604
|
# @param [Boolean] keep_revision_forever
|
1578
|
-
# Whether to set the
|
1605
|
+
# Whether to set the `keepForever` field in the new head revision. This is only
|
1579
1606
|
# applicable to files with binary content in Google Drive. Only 200 revisions
|
1580
1607
|
# for the file can be kept forever. If the limit is reached, try deleting pinned
|
1581
1608
|
# revisions.
|
@@ -1638,7 +1665,9 @@ module Google
|
|
1638
1665
|
execute_or_queue_command(command, &block)
|
1639
1666
|
end
|
1640
1667
|
|
1641
|
-
# Subscribes to changes to a file.
|
1668
|
+
# Subscribes to changes to a file. For more information, see [Notifications for
|
1669
|
+
# resource changes](https://developers.google.com/workspace/drive/api/guides/
|
1670
|
+
# push).
|
1642
1671
|
# @param [String] file_id
|
1643
1672
|
# The ID of the file.
|
1644
1673
|
# @param [Google::Apis::DriveV3::Channel] channel_object
|
@@ -1652,7 +1681,7 @@ module Google
|
|
1652
1681
|
# the response.
|
1653
1682
|
# @param [String] include_permissions_for_view
|
1654
1683
|
# Specifies which additional view's permissions to include in the response. Only
|
1655
|
-
#
|
1684
|
+
# `published` is supported.
|
1656
1685
|
# @param [Boolean] supports_all_drives
|
1657
1686
|
# Whether the requesting application supports both My Drives and shared drives.
|
1658
1687
|
# @param [Boolean] supports_team_drives
|
@@ -1741,7 +1770,7 @@ module Google
|
|
1741
1770
|
# prior parents removed. If set to `false`, parents are not changed.
|
1742
1771
|
# @param [Boolean] send_notification_email
|
1743
1772
|
# Whether to send a notification email when sharing to users or groups. This
|
1744
|
-
# defaults to true for users and groups, and is not allowed for other requests.
|
1773
|
+
# defaults to `true` for users and groups, and is not allowed for other requests.
|
1745
1774
|
# It must not be disabled for ownership transfers.
|
1746
1775
|
# @param [Boolean] supports_all_drives
|
1747
1776
|
# Whether the requesting application supports both My Drives and shared drives.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.70.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-drive_v3/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v3/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v3/v0.70.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-drive_v3
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|