google-apis-drive_v3 0.71.0 → 0.72.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: f50c4bbb21b7d3fffee4a9d33ae65217db09abecf37ceb9f8032cc76100840d5
4
- data.tar.gz: cc220f450b65c597806fd98cc1daf774ce06bdc1951dc55164bee1f61189433f
3
+ metadata.gz: 0ff71cb12be0a53ad4977907a56d7a9ea8822d8260f12686e9aecae3649a2fd1
4
+ data.tar.gz: aa9a95cafc618c31c9225a1e75ec18a6f664b01ce38fc4da21c13f1e942e2394
5
5
  SHA512:
6
- metadata.gz: f425b7ae19279904245a205a16d73530fb5883ccdfe3a97b78dd02bbf1ffb44e992fc908fd7a04a54b7fbd7b37ff9d338f016f471212c77ef6639feed9ec3e01
7
- data.tar.gz: 23fe66999ef8724df649c6edb3bec613f953fa5f0a9715108943eda92e763e2e67bf1068fd8035e494bf29afdc2c4bef49cf2617fae4c9b019060e8530c9448e
6
+ metadata.gz: c85a5d2469356838ad2c82bd2f51e5bdaf9cad03e1e3a1f4a4266729161ebf12861a9b769dbcc509111e3d9c36d6de6500fe2da79e2eb588c068785d5ef71ff0
7
+ data.tar.gz: 81d080704d598849b42628d0710a8631190e9d75180cc93e2e4e00f22445040eb0f22c1f12fd3f8aa81443d8406d822b67a8edf557fad73de02450b8973b93b9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-drive_v3
2
2
 
3
+ ### v0.72.0 (2025-10-19)
4
+
5
+ * Regenerated from discovery document revision 20251013
6
+
3
7
  ### v0.71.0 (2025-09-21)
4
8
 
5
9
  * Regenerated from discovery document revision 20250910
@@ -3142,12 +3142,14 @@ module Google
3142
3142
  end
3143
3143
 
3144
3144
  # A permission for a file. A permission grants a user, group, domain, or the
3145
- # world access to a file or a folder hierarchy. By default, permissions requests
3146
- # only return a subset of fields. Permission kind, ID, type, and role are always
3147
- # returned. To retrieve specific fields, see https://developers.google.com/
3148
- # workspace/drive/api/guides/fields-parameter. Some resource methods (such as `
3149
- # permissions.update`) require a `permissionId`. Use the `permissions.list`
3150
- # method to retrieve the ID for a file, folder, or shared drive.
3145
+ # world access to a file or a folder hierarchy. For more information, see [Share
3146
+ # files, folders, and drives](https://developers.google.com/workspace/drive/api/
3147
+ # guides/manage-sharing). By default, permission requests only return a subset
3148
+ # of fields. Permission `kind`, `ID`, `type`, and `role` are always returned. To
3149
+ # retrieve specific fields, see [Return specific fields](https://developers.
3150
+ # google.com/workspace/drive/api/guides/fields-parameter). Some resource methods
3151
+ # (such as `permissions.update`) require a `permissionId`. Use the `permissions.
3152
+ # list` method to retrieve the ID for a file, folder, or shared drive.
3151
3153
  class Permission
3152
3154
  include Google::Apis::Core::Hashable
3153
3155
 
@@ -3159,7 +3161,7 @@ module Google
3159
3161
  alias_method :allow_file_discovery?, :allow_file_discovery
3160
3162
 
3161
3163
  # Output only. Whether the account associated with this permission has been
3162
- # deleted. This field only pertains to user and group permissions.
3164
+ # deleted. This field only pertains to permissions of type `user` or `group`.
3163
3165
  # Corresponds to the JSON property `deleted`
3164
3166
  # @return [Boolean]
3165
3167
  attr_accessor :deleted
@@ -3167,9 +3169,9 @@ module Google
3167
3169
 
3168
3170
  # Output only. The "pretty" name of the value of the permission. The following
3169
3171
  # is a list of examples for each type of permission: * `user` - User's full name,
3170
- # as defined for their Google account, such as "Joe Smith." * `group` - Name of
3172
+ # as defined for their Google Account, such as "Dana A." * `group` - Name of
3171
3173
  # the Google Group, such as "The Company Administrators." * `domain` - String
3172
- # domain name, such as "thecompany.com." * `anyone` - No `displayName` is
3174
+ # domain name, such as "cymbalgroup.com." * `anyone` - No `displayName` is
3173
3175
  # present.
3174
3176
  # Corresponds to the JSON property `displayName`
3175
3177
  # @return [String]
@@ -3194,14 +3196,15 @@ module Google
3194
3196
  attr_accessor :expiration_time
3195
3197
 
3196
3198
  # Output only. The ID of this permission. This is a unique identifier for the
3197
- # grantee, and is published in User resources as `permissionId`. IDs should be
3199
+ # grantee, and is published in the [User resource](https://developers.google.com/
3200
+ # workspace/drive/api/reference/rest/v3/User) as `permissionId`. IDs should be
3198
3201
  # treated as opaque values.
3199
3202
  # Corresponds to the JSON property `id`
3200
3203
  # @return [String]
3201
3204
  attr_accessor :id
3202
3205
 
3203
- # When true, only organizers, owners, and users with permissions added directly
3204
- # on the item can access it.
3206
+ # When `true`, only organizers, owners, and users with permissions added
3207
+ # directly on the item can access it.
3205
3208
  # Corresponds to the JSON property `inheritedPermissionsDisabled`
3206
3209
  # @return [Boolean]
3207
3210
  attr_accessor :inherited_permissions_disabled
@@ -3214,14 +3217,15 @@ module Google
3214
3217
  attr_accessor :kind
3215
3218
 
3216
3219
  # Whether the account associated with this permission is a pending owner. Only
3217
- # populated for `user` type permissions for files that are not in a shared drive.
3220
+ # populated for permissions of type `user` for files that aren't in a shared
3221
+ # drive.
3218
3222
  # Corresponds to the JSON property `pendingOwner`
3219
3223
  # @return [Boolean]
3220
3224
  attr_accessor :pending_owner
3221
3225
  alias_method :pending_owner?, :pending_owner
3222
3226
 
3223
3227
  # Output only. Details of whether the permissions on this item are inherited or
3224
- # directly on this item.
3228
+ # are directly on this item.
3225
3229
  # Corresponds to the JSON property `permissionDetails`
3226
3230
  # @return [Array<Google::Apis::DriveV3::Permission::PermissionDetail>]
3227
3231
  attr_accessor :permission_details
@@ -3231,9 +3235,10 @@ module Google
3231
3235
  # @return [String]
3232
3236
  attr_accessor :photo_link
3233
3237
 
3234
- # The role granted by this permission. While new values may be supported in the
3235
- # future, the following are currently allowed: * `owner` * `organizer` * `
3236
- # fileOrganizer` * `writer` * `commenter` * `reader`
3238
+ # The role granted by this permission. Supported values include: * `owner` * `
3239
+ # organizer` * `fileOrganizer` * `writer` * `commenter` * `reader` For more
3240
+ # information, see [Roles and permissions](https://developers.google.com/
3241
+ # workspace/drive/api/guides/ref-roles).
3237
3242
  # Corresponds to the JSON property `role`
3238
3243
  # @return [String]
3239
3244
  attr_accessor :role
@@ -3243,21 +3248,22 @@ module Google
3243
3248
  # @return [Array<Google::Apis::DriveV3::Permission::TeamDrivePermissionDetail>]
3244
3249
  attr_accessor :team_drive_permission_details
3245
3250
 
3246
- # The type of the grantee. Valid values are: * `user` * `group` * `domain` * `
3247
- # anyone` When creating a permission, if `type` is `user` or `group`, you must
3248
- # provide an `emailAddress` for the user or group. When `type` is `domain`, you
3249
- # must provide a `domain`. There isn't extra information required for an `anyone`
3250
- # type.
3251
+ # The type of the grantee. Supported values include: * `user` * `group` * `
3252
+ # domain` * `anyone` When creating a permission, if `type` is `user` or `group`,
3253
+ # you must provide an `emailAddress` for the user or group. If `type` is `domain`
3254
+ # , you must provide a `domain`. If `type` is `anyone`, no extra information is
3255
+ # required.
3251
3256
  # Corresponds to the JSON property `type`
3252
3257
  # @return [String]
3253
3258
  attr_accessor :type
3254
3259
 
3255
3260
  # Indicates the view for this permission. Only populated for permissions that
3256
- # belong to a view. published and metadata are the only supported values. -
3257
- # published: The permission's role is published_reader. - metadata: The item is
3258
- # only visible to the metadata view because the item has limited access and the
3259
- # scope has at least read access to the parent. Note: The metadata view is
3260
- # currently only supported on folders.
3261
+ # belong to a view. The only supported values are `published` and `metadata`: * `
3262
+ # published`: The permission's role is `publishedReader`. * `metadata`: The item
3263
+ # is only visible to the `metadata` view because the item has limited access and
3264
+ # the scope has at least read access to the parent. The `metadata` view is only
3265
+ # supported on folders. For more information, see [Views](https://developers.
3266
+ # google.com/workspace/drive/api/guides/ref-roles#views).
3261
3267
  # Corresponds to the JSON property `view`
3262
3268
  # @return [String]
3263
3269
  attr_accessor :view
@@ -3303,15 +3309,16 @@ module Google
3303
3309
  # @return [String]
3304
3310
  attr_accessor :inherited_from
3305
3311
 
3306
- # Output only. The permission type for this user. While new values may be added
3307
- # in future, the following are currently possible: * `file` * `member`
3312
+ # Output only. The permission type for this user. Supported values include: * `
3313
+ # file` * `member`
3308
3314
  # Corresponds to the JSON property `permissionType`
3309
3315
  # @return [String]
3310
3316
  attr_accessor :permission_type
3311
3317
 
3312
- # Output only. The primary role for this user. While new values may be added in
3313
- # the future, the following are currently possible: * `owner` * `organizer` * `
3314
- # fileOrganizer` * `writer` * `commenter` * `reader`
3318
+ # Output only. The primary role for this user. Supported values include: * `
3319
+ # owner` * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader` For
3320
+ # more information, see [Roles and permissions](https://developers.google.com/
3321
+ # workspace/drive/api/guides/ref-roles).
3315
3322
  # Corresponds to the JSON property `role`
3316
3323
  # @return [String]
3317
3324
  attr_accessor :role
@@ -3388,8 +3395,8 @@ module Google
3388
3395
  # @return [String]
3389
3396
  attr_accessor :next_page_token
3390
3397
 
3391
- # The list of permissions. If nextPageToken is populated, then this list may be
3392
- # incomplete and an additional page of results should be fetched.
3398
+ # The list of permissions. If `nextPageToken` is populated, then this list may
3399
+ # be incomplete and an additional page of results should be fetched.
3393
3400
  # Corresponds to the JSON property `permissions`
3394
3401
  # @return [Array<Google::Apis::DriveV3::Permission>]
3395
3402
  attr_accessor :permissions
@@ -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.71.0"
19
+ GEM_VERSION = "0.72.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 = "20250910"
25
+ REVISION = "20251013"
26
26
  end
27
27
  end
28
28
  end
@@ -1757,9 +1757,10 @@ module Google
1757
1757
  execute_or_queue_command(command, &block)
1758
1758
  end
1759
1759
 
1760
- # Creates a permission for a file or shared drive. **Warning:** Concurrent
1761
- # permissions operations on the same file are not supported; only the last
1762
- # update is applied.
1760
+ # Creates a permission for a file or shared drive. For more information, see [
1761
+ # Share files, folders, and drives](https://developers.google.com/workspace/
1762
+ # drive/api/guides/manage-sharing). **Warning:** Concurrent permissions
1763
+ # operations on the same file aren't supported; only the last update is applied.
1763
1764
  # @param [String] file_id
1764
1765
  # The ID of the file or shared drive.
1765
1766
  # @param [Google::Apis::DriveV3::Permission] permission_object
@@ -1770,10 +1771,10 @@ module Google
1770
1771
  # @param [Boolean] enforce_single_parent
1771
1772
  # Deprecated: See `moveToNewOwnersRoot` for details.
1772
1773
  # @param [Boolean] move_to_new_owners_root
1773
- # This parameter will only take effect if the item is not in a shared drive and
1774
- # the request is attempting to transfer the ownership of the item. If set to `
1775
- # true`, the item will be moved to the new owner's My Drive root folder and all
1776
- # prior parents removed. If set to `false`, parents are not changed.
1774
+ # This parameter only takes effect if the item isn't in a shared drive and the
1775
+ # request is attempting to transfer the ownership of the item. If set to `true`,
1776
+ # the item is moved to the new owner's My Drive root folder and all prior
1777
+ # parents removed. If set to `false`, parents aren't changed.
1777
1778
  # @param [Boolean] send_notification_email
1778
1779
  # Whether to send a notification email when sharing to users or groups. This
1779
1780
  # defaults to `true` for users and groups, and is not allowed for other requests.
@@ -1785,12 +1786,16 @@ module Google
1785
1786
  # @param [Boolean] transfer_ownership
1786
1787
  # Whether to transfer ownership to the specified user and downgrade the current
1787
1788
  # owner to a writer. This parameter is required as an acknowledgement of the
1788
- # side effect.
1789
+ # side effect. For more information, see [Transfer file ownership](https://
1790
+ # developers.google.com/workspace/drive/api/guides/transfer-file).
1789
1791
  # @param [Boolean] use_domain_admin_access
1790
- # Issue the request as a domain administrator; if set to true, then the
1791
- # requester will be granted access if the file ID parameter refers to a shared
1792
- # drive and the requester is an administrator of the domain to which the shared
1793
- # drive belongs.
1792
+ # Issue the request as a domain administrator. If set to `true`, and if the
1793
+ # following additional conditions are met, the requester is granted access: 1.
1794
+ # The file ID parameter refers to a shared drive. 2. The requester is an
1795
+ # administrator of the domain to which the shared drive belongs. For more
1796
+ # information, see [Manage shared drives as domain administrators](https://
1797
+ # developers.google.com/workspace/drive/api/guides/manage-shareddrives#manage-
1798
+ # administrators).
1794
1799
  # @param [String] fields
1795
1800
  # Selector specifying which fields to include in a partial response.
1796
1801
  # @param [String] quota_user
@@ -1829,8 +1834,10 @@ module Google
1829
1834
  execute_or_queue_command(command, &block)
1830
1835
  end
1831
1836
 
1832
- # Deletes a permission. **Warning:** Concurrent permissions operations on the
1833
- # same file are not supported; only the last update is applied.
1837
+ # Deletes a permission. For more information, see [Share files, folders, and
1838
+ # drives](https://developers.google.com/workspace/drive/api/guides/manage-
1839
+ # sharing). **Warning:** Concurrent permissions operations on the same file aren'
1840
+ # t supported; only the last update is applied.
1834
1841
  # @param [String] file_id
1835
1842
  # The ID of the file or shared drive.
1836
1843
  # @param [String] permission_id
@@ -1842,10 +1849,13 @@ module Google
1842
1849
  # @param [Boolean] supports_team_drives
1843
1850
  # Deprecated: Use `supportsAllDrives` instead.
1844
1851
  # @param [Boolean] use_domain_admin_access
1845
- # Issue the request as a domain administrator; if set to true, then the
1846
- # requester will be granted access if the file ID parameter refers to a shared
1847
- # drive and the requester is an administrator of the domain to which the shared
1848
- # drive belongs.
1852
+ # Issue the request as a domain administrator. If set to `true`, and if the
1853
+ # following additional conditions are met, the requester is granted access: 1.
1854
+ # The file ID parameter refers to a shared drive. 2. The requester is an
1855
+ # administrator of the domain to which the shared drive belongs. For more
1856
+ # information, see [Manage shared drives as domain administrators](https://
1857
+ # developers.google.com/workspace/drive/api/guides/manage-shareddrives#manage-
1858
+ # administrators).
1849
1859
  # @param [String] fields
1850
1860
  # Selector specifying which fields to include in a partial response.
1851
1861
  # @param [String] quota_user
@@ -1876,7 +1886,9 @@ module Google
1876
1886
  execute_or_queue_command(command, &block)
1877
1887
  end
1878
1888
 
1879
- # Gets a permission by ID.
1889
+ # Gets a permission by ID. For more information, see [Share files, folders, and
1890
+ # drives](https://developers.google.com/workspace/drive/api/guides/manage-
1891
+ # sharing).
1880
1892
  # @param [String] file_id
1881
1893
  # The ID of the file.
1882
1894
  # @param [String] permission_id
@@ -1886,10 +1898,13 @@ module Google
1886
1898
  # @param [Boolean] supports_team_drives
1887
1899
  # Deprecated: Use `supportsAllDrives` instead.
1888
1900
  # @param [Boolean] use_domain_admin_access
1889
- # Issue the request as a domain administrator; if set to true, then the
1890
- # requester will be granted access if the file ID parameter refers to a shared
1891
- # drive and the requester is an administrator of the domain to which the shared
1892
- # drive belongs.
1901
+ # Issue the request as a domain administrator. If set to `true`, and if the
1902
+ # following additional conditions are met, the requester is granted access: 1.
1903
+ # The file ID parameter refers to a shared drive. 2. The requester is an
1904
+ # administrator of the domain to which the shared drive belongs. For more
1905
+ # information, see [Manage shared drives as domain administrators](https://
1906
+ # developers.google.com/workspace/drive/api/guides/manage-shareddrives#manage-
1907
+ # administrators).
1893
1908
  # @param [String] fields
1894
1909
  # Selector specifying which fields to include in a partial response.
1895
1910
  # @param [String] quota_user
@@ -1921,28 +1936,33 @@ module Google
1921
1936
  execute_or_queue_command(command, &block)
1922
1937
  end
1923
1938
 
1924
- # Lists a file's or shared drive's permissions.
1939
+ # Lists a file's or shared drive's permissions. For more information, see [Share
1940
+ # files, folders, and drives](https://developers.google.com/workspace/drive/api/
1941
+ # guides/manage-sharing).
1925
1942
  # @param [String] file_id
1926
1943
  # The ID of the file or shared drive.
1927
1944
  # @param [String] include_permissions_for_view
1928
1945
  # Specifies which additional view's permissions to include in the response. Only
1929
- # 'published' is supported.
1946
+ # `published` is supported.
1930
1947
  # @param [Fixnum] page_size
1931
1948
  # The maximum number of permissions to return per page. When not set for files
1932
1949
  # in a shared drive, at most 100 results will be returned. When not set for
1933
1950
  # files that are not in a shared drive, the entire list will be returned.
1934
1951
  # @param [String] page_token
1935
1952
  # The token for continuing a previous list request on the next page. This should
1936
- # be set to the value of 'nextPageToken' from the previous response.
1953
+ # be set to the value of `nextPageToken` from the previous response.
1937
1954
  # @param [Boolean] supports_all_drives
1938
1955
  # Whether the requesting application supports both My Drives and shared drives.
1939
1956
  # @param [Boolean] supports_team_drives
1940
1957
  # Deprecated: Use `supportsAllDrives` instead.
1941
1958
  # @param [Boolean] use_domain_admin_access
1942
- # Issue the request as a domain administrator; if set to true, then the
1943
- # requester will be granted access if the file ID parameter refers to a shared
1944
- # drive and the requester is an administrator of the domain to which the shared
1945
- # drive belongs.
1959
+ # Issue the request as a domain administrator. If set to `true`, and if the
1960
+ # following additional conditions are met, the requester is granted access: 1.
1961
+ # The file ID parameter refers to a shared drive. 2. The requester is an
1962
+ # administrator of the domain to which the shared drive belongs. For more
1963
+ # information, see [Manage shared drives as domain administrators](https://
1964
+ # developers.google.com/workspace/drive/api/guides/manage-shareddrives#manage-
1965
+ # administrators).
1946
1966
  # @param [String] fields
1947
1967
  # Selector specifying which fields to include in a partial response.
1948
1968
  # @param [String] quota_user
@@ -1976,8 +1996,10 @@ module Google
1976
1996
  execute_or_queue_command(command, &block)
1977
1997
  end
1978
1998
 
1979
- # Updates a permission with patch semantics. **Warning:** Concurrent permissions
1980
- # operations on the same file are not supported; only the last update is applied.
1999
+ # Updates a permission with patch semantics. For more information, see [Share
2000
+ # files, folders, and drives](https://developers.google.com/workspace/drive/api/
2001
+ # guides/manage-sharing). **Warning:** Concurrent permissions operations on the
2002
+ # same file aren't supported; only the last update is applied.
1981
2003
  # @param [String] file_id
1982
2004
  # The ID of the file or shared drive.
1983
2005
  # @param [String] permission_id
@@ -1994,12 +2016,16 @@ module Google
1994
2016
  # @param [Boolean] transfer_ownership
1995
2017
  # Whether to transfer ownership to the specified user and downgrade the current
1996
2018
  # owner to a writer. This parameter is required as an acknowledgement of the
1997
- # side effect.
2019
+ # side effect. For more information, see [Transfer file ownership](https://
2020
+ # developers.google.com//workspace/drive/api/guides/transfer-file).
1998
2021
  # @param [Boolean] use_domain_admin_access
1999
- # Issue the request as a domain administrator; if set to true, then the
2000
- # requester will be granted access if the file ID parameter refers to a shared
2001
- # drive and the requester is an administrator of the domain to which the shared
2002
- # drive belongs.
2022
+ # Issue the request as a domain administrator. If set to `true`, and if the
2023
+ # following additional conditions are met, the requester is granted access: 1.
2024
+ # The file ID parameter refers to a shared drive. 2. The requester is an
2025
+ # administrator of the domain to which the shared drive belongs. For more
2026
+ # information, see [Manage shared drives as domain administrators](https://
2027
+ # developers.google.com/workspace/drive/api/guides/manage-shareddrives#manage-
2028
+ # administrators).
2003
2029
  # @param [String] fields
2004
2030
  # Selector specifying which fields to include in a partial response.
2005
2031
  # @param [String] quota_user
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.71.0
4
+ version: 0.72.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.71.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v3/v0.72.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: