google-apis-drive_v3 0.68.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 257acc6a67090afd4c31072bb22bf244fc63c0831c1efd1fcab78feade2dbb3d
4
- data.tar.gz: 54a10dd6bc476513735f90a44f13ec4f8f1a761260e529337816fab94444149b
3
+ metadata.gz: 3662ceee87ae582728046012f01b468700eec7bb11045470145ec6fa887ae262
4
+ data.tar.gz: d31b9b75bc0ab3d1f1f33d977dcba039646b602400264d273ebe6517e3c5823a
5
5
  SHA512:
6
- metadata.gz: b2289facb16657f062b2fdcdbf465e86fe5c3b895e5b46f2960cf5aa1bc21391d43414cf99edc1ab62f419928d718004c21061266906857cbbba1922c669cf02
7
- data.tar.gz: b7d548a0f8c2bb28d4b64a36d810b8a3123a3747705a83fd5b3284aa8fbeaf73f58791c8f4119e017b307a46a771ee39983994e69abfcb8d9f03858d5374159a
6
+ metadata.gz: 25f2735fcbe4803f57b6683d835d646dabccf0a7238488b40afc7749101b74e7a34049a7d34cc1c269e21d3a1d142aa70127dac9f8d8f8055a2ca4ea3f0dfe50
7
+ data.tar.gz: f8a0c830f0411fb767036b94477893d5bfc2afc536bdeae9ed72bb9cd9112450d9f88cb9b4cf729591bb134f0f5454a0451aa637caab0c3cf25e2b5b37b40958
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-drive_v3
2
2
 
3
+ ### v0.70.0 (2025-09-07)
4
+
5
+ * Regenerated from discovery document revision 20250829
6
+
7
+ ### v0.69.0 (2025-08-24)
8
+
9
+ * Regenerated from discovery document revision 20250819
10
+
3
11
  ### v0.68.0 (2025-07-27)
4
12
 
5
13
  * Regenerated from discovery document revision 20250723
@@ -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, download is also
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, should be disabled
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 About
1564
- # resource. If an unsupported color is specified, the closest color in the
1565
- # palette is used instead.
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 is not cleared if the new
1574
- # name does not contain a valid extension.
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 does not indicate whether
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 About resource.
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 is not necessarily unique within a folder. Note
1683
- # that for immutable items such as the top level folders of shared drives, My
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 is
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 is
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 first party editor files. Won't be
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 'drive', 'appDataFolder' and 'photos'.
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, consider using a proxy server.
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 `Files.thumbnailLink` must be
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 is not a folder.
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 is not a folder. Only populated for items in shared drives.
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 itself if it is not a folder.
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 is not a folder. Only populated for items in shared
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 is not a folder.
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` or `canRemoveContentRestriction`.
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 is not a folder. Only
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 is not a folder. Note that a request
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 is being added.
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 is being added and the parent that is being removed.
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 itself if it is not a folder, can be read.
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 is not a folder. For a folder in a shared
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 is a content restriction on the file that can be
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 is not a folder. Only populated for items in shared
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 128KB in length and may contain HTML elements.
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 ResourceKey for the target file.
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 'allDrives' corpora, but all corpora couldn'
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 'user' or 'drive'.
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 email
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 apply
2953
- # a label to a file, update an existing label on a file, or remove a label from
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 were
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.68.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 = "20250723"
25
+ REVISION = "20250829"
26
26
  end
27
27
  end
28
28
  end
@@ -703,7 +703,8 @@ module Google
703
703
  execute_or_queue_command(command, &block)
704
704
  end
705
705
 
706
- # Creates a shared drive.
706
+ # Creates a shared drive. For more information, see [Manage shared drives](https:
707
+ # //developers.google.com/workspace/drive/api/guides/manage-shareddrives).
707
708
  # @param [String] request_id
708
709
  # Required. An ID, such as a random UUID, which uniquely identifies this user's
709
710
  # request for idempotent creation of a shared drive. A repeated request by the
@@ -741,7 +742,9 @@ module Google
741
742
  end
742
743
 
743
744
  # Permanently deletes a shared drive for which the user is an `organizer`. The
744
- # shared drive cannot contain any untrashed items.
745
+ # shared drive cannot contain any untrashed items. For more information, see [
746
+ # Manage shared drives](https://developers.google.com/workspace/drive/api/guides/
747
+ # manage-shareddrives).
745
748
  # @param [String] drive_id
746
749
  # The ID of the shared drive.
747
750
  # @param [Boolean] allow_item_deletion
@@ -778,7 +781,9 @@ module Google
778
781
  execute_or_queue_command(command, &block)
779
782
  end
780
783
 
781
- # Gets a shared drive's metadata by ID.
784
+ # Gets a shared drive's metadata by ID. For more information, see [Manage shared
785
+ # drives](https://developers.google.com/workspace/drive/api/guides/manage-
786
+ # shareddrives).
782
787
  # @param [String] drive_id
783
788
  # The ID of the shared drive.
784
789
  # @param [Boolean] use_domain_admin_access
@@ -813,7 +818,9 @@ module Google
813
818
  execute_or_queue_command(command, &block)
814
819
  end
815
820
 
816
- # Hides a shared drive from the default view.
821
+ # Hides a shared drive from the default view. For more information, see [Manage
822
+ # shared drives](https://developers.google.com/workspace/drive/api/guides/manage-
823
+ # shareddrives).
817
824
  # @param [String] drive_id
818
825
  # The ID of the shared drive.
819
826
  # @param [String] fields
@@ -886,7 +893,9 @@ module Google
886
893
  execute_or_queue_command(command, &block)
887
894
  end
888
895
 
889
- # Restores a shared drive to the default view.
896
+ # Restores a shared drive to the default view. For more information, see [Manage
897
+ # shared drives](https://developers.google.com/workspace/drive/api/guides/manage-
898
+ # shareddrives).
890
899
  # @param [String] drive_id
891
900
  # The ID of the shared drive.
892
901
  # @param [String] fields
@@ -916,7 +925,9 @@ module Google
916
925
  execute_or_queue_command(command, &block)
917
926
  end
918
927
 
919
- # Updates the metadata for a shared drive.
928
+ # Updates the metadata for a shared drive. For more information, see [Manage
929
+ # shared drives](https://developers.google.com/workspace/drive/api/guides/manage-
930
+ # shareddrives).
920
931
  # @param [String] drive_id
921
932
  # The ID of the shared drive.
922
933
  # @param [Google::Apis::DriveV3::Drive] drive_object
@@ -955,12 +966,13 @@ module Google
955
966
  end
956
967
 
957
968
  # Creates a copy of a file and applies any requested updates with patch
958
- # semantics.
969
+ # semantics. For more information, see [Create and manage files](https://
970
+ # developers.google.com/workspace/drive/api/guides/create-file).
959
971
  # @param [String] file_id
960
972
  # The ID of the file.
961
973
  # @param [Google::Apis::DriveV3::File] file_object
962
974
  # @param [Boolean] enforce_single_parent
963
- # Deprecated. Copying files into multiple folders is no longer supported. Use
975
+ # Deprecated: Copying files into multiple folders is no longer supported. Use
964
976
  # shortcuts instead.
965
977
  # @param [Boolean] ignore_default_visibility
966
978
  # Whether to ignore the domain's default visibility settings for the created
@@ -972,9 +984,9 @@ module Google
972
984
  # the response.
973
985
  # @param [String] include_permissions_for_view
974
986
  # Specifies which additional view's permissions to include in the response. Only
975
- # 'published' is supported.
987
+ # `published` is supported.
976
988
  # @param [Boolean] keep_revision_forever
977
- # Whether to set the 'keepForever' field in the new head revision. This is only
989
+ # Whether to set the `keepForever` field in the new head revision. This is only
978
990
  # applicable to files with binary content in Google Drive. Only 200 revisions
979
991
  # for the file can be kept forever. If the limit is reached, try deleting pinned
980
992
  # revisions.
@@ -1021,26 +1033,28 @@ module Google
1021
1033
  execute_or_queue_command(command, &block)
1022
1034
  end
1023
1035
 
1024
- # Creates a new file. This method supports an */upload* URI and accepts
1025
- # uploaded media with the following characteristics: - *Maximum file size:* 5,
1026
- # 120 GB - *Accepted Media MIME types:*`*/*` Note: Specify a valid MIME type,
1027
- # rather than the literal `*/*` value. The literal `*/*` is only used to
1028
- # indicate that any valid MIME type can be uploaded. For more information on
1029
- # uploading files, see [Upload file data](/workspace/drive/api/guides/manage-
1030
- # uploads). Apps creating shortcuts with `files.create` must specify the MIME
1031
- # type `application/vnd.google-apps.shortcut`. Apps should specify a file
1032
- # extension in the `name` property when inserting files with the API. For
1033
- # example, an operation to insert a JPEG file should specify something like `"
1034
- # name": "cat.jpg"` in the metadata. Subsequent `GET` requests include the read-
1035
- # only `fileExtension` property populated with the extension originally
1036
- # specified in the `title` property. When a Google Drive user requests to
1037
- # download a file, or when the file is downloaded through the sync client, Drive
1038
- # builds a full filename (with extension) based on the title. In cases where the
1039
- # extension is missing, Drive attempts to determine the extension based on the
1040
- # file's MIME type.
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.
1041
1055
  # @param [Google::Apis::DriveV3::File] file_object
1042
1056
  # @param [Boolean] enforce_single_parent
1043
- # Deprecated. Creating files in multiple folders is no longer supported.
1057
+ # Deprecated: Creating files in multiple folders is no longer supported.
1044
1058
  # @param [Boolean] ignore_default_visibility
1045
1059
  # Whether to ignore the domain's default visibility settings for the created
1046
1060
  # file. Domain administrators can choose to make all uploaded files visible to
@@ -1051,9 +1065,9 @@ module Google
1051
1065
  # the response.
1052
1066
  # @param [String] include_permissions_for_view
1053
1067
  # Specifies which additional view's permissions to include in the response. Only
1054
- # 'published' is supported.
1068
+ # `published` is supported.
1055
1069
  # @param [Boolean] keep_revision_forever
1056
- # Whether to set the 'keepForever' field in the new head revision. This is only
1070
+ # Whether to set the `keepForever` field in the new head revision. This is only
1057
1071
  # applicable to files with binary content in Google Drive. Only 200 revisions
1058
1072
  # for the file can be kept forever. If the limit is reached, try deleting pinned
1059
1073
  # revisions.
@@ -1113,14 +1127,15 @@ module Google
1113
1127
  end
1114
1128
 
1115
1129
  # Permanently deletes a file owned by the user without moving it to the trash.
1116
- # If the file belongs to a shared drive, the user must be an `organizer` on the
1117
- # parent folder. If the target is a folder, all descendants owned by the user
1118
- # are also deleted.
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.
1119
1134
  # @param [String] file_id
1120
1135
  # The ID of the file.
1121
1136
  # @param [Boolean] enforce_single_parent
1122
- # Deprecated: If an item is not in a shared drive and its last parent is deleted
1123
- # but the item itself is not, the item will be placed under its owner's root.
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.
1124
1139
  # @param [Boolean] supports_all_drives
1125
1140
  # Whether the requesting application supports both My Drives and shared drives.
1126
1141
  # @param [Boolean] supports_team_drives
@@ -1153,16 +1168,18 @@ module Google
1153
1168
  execute_or_queue_command(command, &block)
1154
1169
  end
1155
1170
 
1156
- # Downloads content of a file. Operations are valid for 24 hours from the time
1157
- # of creation.
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.
1158
1174
  # @param [String] file_id
1159
1175
  # Required. The ID of the file to download.
1160
1176
  # @param [String] mime_type
1161
1177
  # Optional. The MIME type the file should be downloaded as. This field can only
1162
- # be set when downloading Google Workspace documents. See [Export MIME types for
1163
- # Google Workspace documents](/drive/api/guides/ref-export-formats) for the list
1164
- # of supported MIME types. If not set, a Google Workspace document is downloaded
1165
- # with a default MIME type. The default MIME type might change in the future.
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.
1166
1183
  # @param [String] revision_id
1167
1184
  # Optional. The revision ID of the file to download. This field can only be set
1168
1185
  # when downloading blob files, Google Docs, and Google Sheets. Returns `
@@ -1197,12 +1214,14 @@ module Google
1197
1214
  execute_or_queue_command(command, &block)
1198
1215
  end
1199
1216
 
1200
- # 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).
1201
1220
  # @param [String] drive_id
1202
1221
  # If set, empties the trash of the provided shared drive.
1203
1222
  # @param [Boolean] enforce_single_parent
1204
- # Deprecated: If an item is not in a shared drive and its last parent is deleted
1205
- # but the item itself is not, the item will be placed under its owner's root.
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.
1206
1225
  # @param [String] fields
1207
1226
  # Selector specifying which fields to include in a partial response.
1208
1227
  # @param [String] quota_user
@@ -1230,11 +1249,15 @@ module Google
1230
1249
  end
1231
1250
 
1232
1251
  # Exports a Google Workspace document to the requested MIME type and returns
1233
- # exported byte content. Note that the exported content is limited to 10MB.
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.
1234
1255
  # @param [String] file_id
1235
1256
  # The ID of the file.
1236
1257
  # @param [String] mime_type
1237
- # 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).
1238
1261
  # @param [String] fields
1239
1262
  # Selector specifying which fields to include in a partial response.
1240
1263
  # @param [String] quota_user
@@ -1269,15 +1292,21 @@ module Google
1269
1292
  end
1270
1293
 
1271
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).
1272
1297
  # @param [Fixnum] count
1273
1298
  # The number of IDs to return.
1274
1299
  # @param [String] space
1275
- # The space in which the IDs can be used to create new files. Supported values
1276
- # are 'drive' and 'appDataFolder'. (Default: 'drive')
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).
1277
1304
  # @param [String] type
1278
- # The type of items which the IDs can be used for. Supported values are 'files'
1279
- # and 'shortcuts'. Note that 'shortcuts' are only supported in the `drive` '
1280
- # space'. (Default: 'files')
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).
1281
1310
  # @param [String] fields
1282
1311
  # Selector specifying which fields to include in a partial response.
1283
1312
  # @param [String] quota_user
@@ -1307,12 +1336,14 @@ module Google
1307
1336
  execute_or_queue_command(command, &block)
1308
1337
  end
1309
1338
 
1310
- # Gets a file's metadata or content by ID. If you provide the URL parameter `
1311
- # alt=media`, then the response includes the file contents in the response body.
1312
- # Downloading content with `alt=media` only works if the file is stored in Drive.
1313
- # To download Google Docs, Sheets, and Slides use [`files.export`](/workspace/
1314
- # drive/api/reference/rest/v3/files/export) instead. For more information, see [
1315
- # Download & export files](/workspace/drive/api/guides/manage-downloads).
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).
1316
1347
  # @param [String] file_id
1317
1348
  # The ID of the file.
1318
1349
  # @param [Boolean] acknowledge_abuse
@@ -1325,7 +1356,7 @@ module Google
1325
1356
  # the response.
1326
1357
  # @param [String] include_permissions_for_view
1327
1358
  # Specifies which additional view's permissions to include in the response. Only
1328
- # 'published' is supported.
1359
+ # `published` is supported.
1329
1360
  # @param [Boolean] supports_all_drives
1330
1361
  # Whether the requesting application supports both My Drives and shared drives.
1331
1362
  # @param [Boolean] supports_team_drives
@@ -1369,19 +1400,21 @@ module Google
1369
1400
  execute_or_queue_command(command, &block)
1370
1401
  end
1371
1402
 
1372
- # Lists the user's files. This method accepts the `q` parameter, which is a
1373
- # search query combining one or more search terms. For more information, see the
1374
- # [Search for files & folders](/workspace/drive/api/guides/search-files) guide. *
1375
- # Note:* This method returns *all* files by default, including trashed files. If
1376
- # you don't want trashed files to appear in the list, use the `trashed=false`
1377
- # query parameter to remove trashed files from the results.
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.
1378
1409
  # @param [String] corpora
1379
- # Bodies of items (files/documents) to which the query applies. Supported bodies
1380
- # are 'user', 'domain', 'drive', and 'allDrives'. Prefer 'user' or 'drive' to '
1381
- # allDrives' for efficiency. By default, corpora is set to 'user'. However, this
1382
- # can change depending on the filter set through the 'q' parameter.
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).
1383
1416
  # @param [String] corpus
1384
- # Deprecated: The source of files to list. Use 'corpora' instead.
1417
+ # Deprecated: The source of files to list. Use `corpora` instead.
1385
1418
  # @param [String] drive_id
1386
1419
  # ID of the shared drive to search.
1387
1420
  # @param [Boolean] include_items_from_all_drives
@@ -1391,7 +1424,7 @@ module Google
1391
1424
  # the response.
1392
1425
  # @param [String] include_permissions_for_view
1393
1426
  # Specifies which additional view's permissions to include in the response. Only
1394
- # 'published' is supported.
1427
+ # `published` is supported.
1395
1428
  # @param [Boolean] include_team_drive_items
1396
1429
  # Deprecated: Use `includeItemsFromAllDrives` instead.
1397
1430
  # @param [String] order_by
@@ -1407,20 +1440,22 @@ module Google
1407
1440
  # sharedWithMeTime`: When the file was shared with the user, if applicable. * `
1408
1441
  # starred`: Whether the user has starred the file. * `viewedByMeTime`: The last
1409
1442
  # time the file was viewed by the user. Each key sorts ascending by default, but
1410
- # can be reversed with the 'desc' modifier. Example usage: `?orderBy=folder,
1443
+ # can be reversed with the `desc` modifier. Example usage: `?orderBy=folder,
1411
1444
  # modifiedTime desc,name`.
1412
1445
  # @param [Fixnum] page_size
1413
1446
  # The maximum number of files to return per page. Partial or empty result pages
1414
1447
  # are possible even before the end of the files list has been reached.
1415
1448
  # @param [String] page_token
1416
1449
  # The token for continuing a previous list request on the next page. This should
1417
- # be set to the value of 'nextPageToken' from the previous response.
1450
+ # be set to the value of `nextPageToken` from the previous response.
1418
1451
  # @param [String] q
1419
- # A query for filtering the file results. See the "Search for files & folders"
1420
- # guide for supported syntax.
1452
+ # A query for filtering the file results. For supported syntax, see [Search for
1453
+ # files and folders](/workspace/drive/api/guides/search-files).
1421
1454
  # @param [String] spaces
1422
1455
  # A comma-separated list of spaces to query within the corpora. Supported values
1423
- # are 'drive' and 'appDataFolder'.
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).
1424
1459
  # @param [Boolean] supports_all_drives
1425
1460
  # Whether the requesting application supports both My Drives and shared drives.
1426
1461
  # @param [Boolean] supports_team_drives
@@ -1468,14 +1503,15 @@ module Google
1468
1503
  execute_or_queue_command(command, &block)
1469
1504
  end
1470
1505
 
1471
- # 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).
1472
1508
  # @param [String] file_id
1473
1509
  # The ID for the file.
1474
1510
  # @param [Fixnum] max_results
1475
1511
  # The maximum number of labels to return per page. When not set, defaults to 100.
1476
1512
  # @param [String] page_token
1477
1513
  # The token for continuing a previous list request on the next page. This should
1478
- # be set to the value of 'nextPageToken' from the previous response.
1514
+ # be set to the value of `nextPageToken` from the previous response.
1479
1515
  # @param [String] fields
1480
1516
  # Selector specifying which fields to include in a partial response.
1481
1517
  # @param [String] quota_user
@@ -1505,8 +1541,9 @@ module Google
1505
1541
  execute_or_queue_command(command, &block)
1506
1542
  end
1507
1543
 
1508
- # Modifies the set of labels applied to a file. Returns a list of the labels
1509
- # that were added or modified.
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.
1510
1547
  # @param [String] file_id
1511
1548
  # The ID of the file to which the labels belong.
1512
1549
  # @param [Google::Apis::DriveV3::ModifyLabelsRequest] modify_labels_request_object
@@ -1539,16 +1576,17 @@ module Google
1539
1576
  execute_or_queue_command(command, &block)
1540
1577
  end
1541
1578
 
1542
- # Updates a file's metadata and/or content. When calling this method, only
1579
+ # Updates a file's metadata, content, or both. When calling this method, only
1543
1580
  # populate fields in the request that you want to modify. When updating fields,
1544
1581
  # some fields might be changed automatically, such as `modifiedDate`. This
1545
1582
  # method supports patch semantics. This method supports an */upload* URI and
1546
1583
  # accepts uploaded media with the following characteristics: - *Maximum file
1547
- # size:* 5,120 GB - *Accepted Media MIME types:*`*/*` Note: Specify a valid MIME
1584
+ # size:* 5,120 GB - *Accepted Media MIME types:* `*/*` (Specify a valid MIME
1548
1585
  # type, rather than the literal `*/*` value. The literal `*/*` is only used to
1549
- # indicate that any valid MIME type can be uploaded. For more information on
1550
- # uploading files, see [Upload file data](/workspace/drive/api/guides/manage-
1551
- # uploads).
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).
1552
1590
  # @param [String] file_id
1553
1591
  # The ID of the file.
1554
1592
  # @param [Google::Apis::DriveV3::File] file_object
@@ -1562,9 +1600,9 @@ module Google
1562
1600
  # the response.
1563
1601
  # @param [String] include_permissions_for_view
1564
1602
  # Specifies which additional view's permissions to include in the response. Only
1565
- # 'published' is supported.
1603
+ # `published` is supported.
1566
1604
  # @param [Boolean] keep_revision_forever
1567
- # Whether to set the 'keepForever' field in the new head revision. This is only
1605
+ # Whether to set the `keepForever` field in the new head revision. This is only
1568
1606
  # applicable to files with binary content in Google Drive. Only 200 revisions
1569
1607
  # for the file can be kept forever. If the limit is reached, try deleting pinned
1570
1608
  # revisions.
@@ -1627,7 +1665,9 @@ module Google
1627
1665
  execute_or_queue_command(command, &block)
1628
1666
  end
1629
1667
 
1630
- # 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).
1631
1671
  # @param [String] file_id
1632
1672
  # The ID of the file.
1633
1673
  # @param [Google::Apis::DriveV3::Channel] channel_object
@@ -1641,7 +1681,7 @@ module Google
1641
1681
  # the response.
1642
1682
  # @param [String] include_permissions_for_view
1643
1683
  # Specifies which additional view's permissions to include in the response. Only
1644
- # 'published' is supported.
1684
+ # `published` is supported.
1645
1685
  # @param [Boolean] supports_all_drives
1646
1686
  # Whether the requesting application supports both My Drives and shared drives.
1647
1687
  # @param [Boolean] supports_team_drives
@@ -1730,7 +1770,7 @@ module Google
1730
1770
  # prior parents removed. If set to `false`, parents are not changed.
1731
1771
  # @param [Boolean] send_notification_email
1732
1772
  # Whether to send a notification email when sharing to users or groups. This
1733
- # 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.
1734
1774
  # It must not be disabled for ownership transfers.
1735
1775
  # @param [Boolean] supports_all_drives
1736
1776
  # Whether the requesting application supports both My Drives and shared drives.
@@ -2186,7 +2226,8 @@ module Google
2186
2226
  # Permanently deletes a file version. You can only delete revisions for files
2187
2227
  # with binary content in Google Drive, like images or videos. Revisions for
2188
2228
  # other files, like Google Docs or Sheets, and the last remaining file version
2189
- # can't be deleted.
2229
+ # can't be deleted. For more information, see [Manage file revisions](https://
2230
+ # developers.google.com/drive/api/guides/manage-revisions).
2190
2231
  # @param [String] file_id
2191
2232
  # The ID of the file.
2192
2233
  # @param [String] revision_id
@@ -2217,7 +2258,9 @@ module Google
2217
2258
  execute_or_queue_command(command, &block)
2218
2259
  end
2219
2260
 
2220
- # Gets a revision's metadata or content by ID.
2261
+ # Gets a revision's metadata or content by ID. For more information, see [Manage
2262
+ # file revisions](https://developers.google.com/workspace/drive/api/guides/
2263
+ # manage-revisions).
2221
2264
  # @param [String] file_id
2222
2265
  # The ID of the file.
2223
2266
  # @param [String] revision_id
@@ -2263,7 +2306,8 @@ module Google
2263
2306
  execute_or_queue_command(command, &block)
2264
2307
  end
2265
2308
 
2266
- # Lists a file's revisions.
2309
+ # Lists a file's revisions. For more information, see [Manage file revisions](
2310
+ # https://developers.google.com/workspace/drive/api/guides/manage-revisions).
2267
2311
  # @param [String] file_id
2268
2312
  # The ID of the file.
2269
2313
  # @param [Fixnum] page_size
@@ -2300,7 +2344,9 @@ module Google
2300
2344
  execute_or_queue_command(command, &block)
2301
2345
  end
2302
2346
 
2303
- # Updates a revision with patch semantics.
2347
+ # Updates a revision with patch semantics. For more information, see [Manage
2348
+ # file revisions](https://developers.google.com/workspace/drive/api/guides/
2349
+ # manage-revisions).
2304
2350
  # @param [String] file_id
2305
2351
  # The ID of the file.
2306
2352
  # @param [String] revision_id
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.68.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.68.0
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: