google-apis-drive_v3 0.36.0 → 0.38.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2a8e9ee034a138adf347aef950c58dee504e2c114144e5753f716592e3663739
4
- data.tar.gz: b83951624906fe76b14acdf7687a79d99660066a43f8e6adff043bc6fac72bc9
3
+ metadata.gz: df1fc0ee81f5ad9e7869a7f4447a2f0679c2c785e03772c61e9ce3a6b47860c3
4
+ data.tar.gz: c876ab99ac5051ddfd41c4c6d823b207d62dfe1ee6fb1f079fe10a0207b4532f
5
5
  SHA512:
6
- metadata.gz: 70156f0f7d44c8ba21270ed07564921a5c64839af2668c65a2d56f9a1295305a4e11e587ef2e92890f7a85a4c993af7b6812a5e4d1395d1dca1cc59c90ab0003
7
- data.tar.gz: 5f3e93df1bfe42374edfd761ef38dc4cb7d0779e3fb13fa92e8e0b24cc6c5d104f8c69d29f1e45bad5dfe2885dbdf74b3d662319d4fef6c79becf34b0198a0e6
6
+ metadata.gz: daec6c32d18a436d7b2508851742cea7ba576cc3af0d0f440d3990bbd71ad5dd7c98d816fc60ab0f79375c9e558b26f13bec2098af888a7f1ad5d85b1dd189f2
7
+ data.tar.gz: 02cf20565c76fef5cff265fe6c73de7120d9e77c48108878b3c1fc69998acddf2deda848ad7430f1b8390f9799193fe570271b2037972a9e3f46bf60a9a39a8d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-drive_v3
2
2
 
3
+ ### v0.38.0 (2023-04-23)
4
+
5
+ * Regenerated from discovery document revision 20230413
6
+
7
+ ### v0.37.0 (2023-03-12)
8
+
9
+ * Regenerated from discovery document revision 20230306
10
+
3
11
  ### v0.36.0 (2023-02-26)
4
12
 
5
13
  * Regenerated from discovery document revision 20230219
@@ -633,7 +633,7 @@ module Google
633
633
  include Google::Apis::Core::Hashable
634
634
 
635
635
  # An image file and cropping parameters from which a background image for this
636
- # shared drive is set. This is a write only field; it can only be set on drive.
636
+ # shared drive is set. This is a write-only field; it can only be set on drive.
637
637
  # drives.update requests that don't set themeId. When specified, all fields of
638
638
  # the backgroundImageFile must be set.
639
639
  # Corresponds to the JSON property `backgroundImageFile`
@@ -650,8 +650,8 @@ module Google
650
650
  # @return [Google::Apis::DriveV3::Drive::Capabilities]
651
651
  attr_accessor :capabilities
652
652
 
653
- # The color of this shared drive as an RGB hex string. It can only be set on a
654
- # drive.drives.update request that does not set themeId.
653
+ # The color of this shared drive as an RGB hex string. It can only be set on
654
+ # drive.drives.update requests that don't set themeId.
655
655
  # Corresponds to the JSON property `colorRgb`
656
656
  # @return [String]
657
657
  attr_accessor :color_rgb
@@ -696,11 +696,11 @@ module Google
696
696
  # @return [Google::Apis::DriveV3::Drive::Restrictions]
697
697
  attr_accessor :restrictions
698
698
 
699
- # The ID of the theme from which the background image and color will be set. The
700
- # set of possible driveThemes can be retrieved from a drive.about.get response.
701
- # When not specified on a drive.drives.create request, a random theme is chosen
702
- # from which the background image and color are set. This is a write-only field;
703
- # it can only be set on requests that don't set colorRgb or backgroundImageFile.
699
+ # The ID of the theme from which the background image and color are set. The set
700
+ # of possible driveThemes can be retrieved from a drive.about.get response. When
701
+ # not specified on a drive.drives.create request, a random theme is chosen from
702
+ # which the background image and color are set. This is a write-only field; it
703
+ # can only be set on requests that don't set colorRgb or backgroundImageFile.
704
704
  # Corresponds to the JSON property `themeId`
705
705
  # @return [String]
706
706
  attr_accessor :theme_id
@@ -726,7 +726,7 @@ module Google
726
726
  end
727
727
 
728
728
  # An image file and cropping parameters from which a background image for this
729
- # shared drive is set. This is a write only field; it can only be set on drive.
729
+ # shared drive is set. This is a write-only field; it can only be set on drive.
730
730
  # drives.update requests that don't set themeId. When specified, all fields of
731
731
  # the backgroundImageFile must be set.
732
732
  class BackgroundImageFile
@@ -1034,18 +1034,18 @@ module Google
1034
1034
  class File
1035
1035
  include Google::Apis::Core::Hashable
1036
1036
 
1037
- # A collection of arbitrary key-value pairs which are private to the requesting
1037
+ # A collection of arbitrary key-value pairs that are private to the requesting
1038
1038
  # app.
1039
1039
  # Entries with null values are cleared in update and copy requests. These
1040
1040
  # properties can only be retrieved using an authenticated request. An
1041
- # authenticated request uses an access token obtained with a OAuth 2 client ID.
1041
+ # authenticated request uses an access token obtained with an OAuth 2 client ID.
1042
1042
  # You cannot use an API key to retrieve private properties.
1043
1043
  # Corresponds to the JSON property `appProperties`
1044
1044
  # @return [Hash<String,String>]
1045
1045
  attr_accessor :app_properties
1046
1046
 
1047
1047
  # Capabilities the current user has on this file. Each capability corresponds to
1048
- # a fine-grained action that a user may take.
1048
+ # a fine-grained action that a user can take.
1049
1049
  # Corresponds to the JSON property `capabilities`
1050
1050
  # @return [Google::Apis::DriveV3::File::Capabilities]
1051
1051
  attr_accessor :capabilities
@@ -1112,10 +1112,10 @@ module Google
1112
1112
  # @return [String]
1113
1113
  attr_accessor :folder_color_rgb
1114
1114
 
1115
- # The full file extension extracted from the name field. May contain multiple
1115
+ # The full file extension extracted from the name field. Can contain multiple
1116
1116
  # concatenated extensions, such as "tar.gz". This is only available for files
1117
1117
  # with binary content in Google Drive.
1118
- # This is automatically updated when the name field changes, however it isn't
1118
+ # This is automatically updated when the name field changes, however it's not
1119
1119
  # cleared if the new name does not contain a valid extension.
1120
1120
  # Corresponds to the JSON property `fullFileExtension`
1121
1121
  # @return [String]
@@ -1136,8 +1136,8 @@ module Google
1136
1136
  attr_accessor :has_thumbnail
1137
1137
  alias_method :has_thumbnail?, :has_thumbnail
1138
1138
 
1139
- # The ID of the file's head revision. This is currently only available for files
1140
- # with binary content in Google Drive.
1139
+ # The ID of the file's head revision. This is only available for files with
1140
+ # binary content in Google Drive.
1141
1141
  # Corresponds to the JSON property `headRevisionId`
1142
1142
  # @return [String]
1143
1143
  attr_accessor :head_revision_id
@@ -1157,7 +1157,7 @@ module Google
1157
1157
  # @return [Google::Apis::DriveV3::File::ImageMediaMetadata]
1158
1158
  attr_accessor :image_media_metadata
1159
1159
 
1160
- # Whether the file was created or opened by the requesting app.
1160
+ # Whether the requesting app created or opened the file.
1161
1161
  # Corresponds to the JSON property `isAppAuthorized`
1162
1162
  # @return [Boolean]
1163
1163
  attr_accessor :is_app_authorized
@@ -1201,26 +1201,26 @@ module Google
1201
1201
  # @return [String]
1202
1202
  attr_accessor :mime_type
1203
1203
 
1204
- # Whether the file has been modified by this user.
1204
+ # Whether this user has modified the file.
1205
1205
  # Corresponds to the JSON property `modifiedByMe`
1206
1206
  # @return [Boolean]
1207
1207
  attr_accessor :modified_by_me
1208
1208
  alias_method :modified_by_me?, :modified_by_me
1209
1209
 
1210
- # The last time the file was modified by the user (RFC 3339 date-time).
1210
+ # The last time the user modified the file (RFC 3339 date-time).
1211
1211
  # Corresponds to the JSON property `modifiedByMeTime`
1212
1212
  # @return [DateTime]
1213
1213
  attr_accessor :modified_by_me_time
1214
1214
 
1215
- # The last time the file was modified by anyone (RFC 3339 date-time).
1215
+ # The last time anyone modified the file (RFC 3339 date-time).
1216
1216
  # Note that setting modifiedTime will also update modifiedByMeTime for the user.
1217
1217
  # Corresponds to the JSON property `modifiedTime`
1218
1218
  # @return [DateTime]
1219
1219
  attr_accessor :modified_time
1220
1220
 
1221
- # The name of the file. This is not necessarily unique within a folder. Note
1222
- # that for immutable items such as the top level folders of shared drives, My
1223
- # Drive root folder, and Application Data folder the name is constant.
1221
+ # The name of the file. This isn't necessarily unique within a folder. Note that
1222
+ # for immutable items such as the top-level folders of shared drives, My Drive
1223
+ # root folder, and Application Data folder the name is constant.
1224
1224
  # Corresponds to the JSON property `name`
1225
1225
  # @return [String]
1226
1226
  attr_accessor :name
@@ -1238,13 +1238,13 @@ module Google
1238
1238
  attr_accessor :owned_by_me
1239
1239
  alias_method :owned_by_me?, :owned_by_me
1240
1240
 
1241
- # The owner of this file. Only certain legacy files may have more than one owner.
1242
- # This field isn't populated for items in shared drives.
1241
+ # The owner of this file. Only certain legacy files might have more than one
1242
+ # owner. This field isn't populated for items in shared drives.
1243
1243
  # Corresponds to the JSON property `owners`
1244
1244
  # @return [Array<Google::Apis::DriveV3::User>]
1245
1245
  attr_accessor :owners
1246
1246
 
1247
- # The IDs of the parent folders which contain the file.
1247
+ # The IDs of the parent folders that contain the file.
1248
1248
  # If not specified as part of a create request, the file will be placed directly
1249
1249
  # in the user's My Drive folder. If not specified as part of a copy request, the
1250
1250
  # file will inherit any discoverable parents of the source file. Update requests
@@ -1265,7 +1265,7 @@ module Google
1265
1265
  # @return [Array<Google::Apis::DriveV3::Permission>]
1266
1266
  attr_accessor :permissions
1267
1267
 
1268
- # A collection of arbitrary key-value pairs which are visible to all apps.
1268
+ # A collection of arbitrary key-value pairs that are visible to all apps.
1269
1269
  # Entries with null values are cleared in update and copy requests.
1270
1270
  # Corresponds to the JSON property `properties`
1271
1271
  # @return [Hash<String,String>]
@@ -1283,14 +1283,14 @@ module Google
1283
1283
  attr_accessor :resource_key
1284
1284
 
1285
1285
  # The SHA1 checksum associated with this file, if available. This field is only
1286
- # populated for files with content stored in Google Drive; it isn't populated
1286
+ # populated for files with content stored in Google Drive; it's not populated
1287
1287
  # for Docs Editors or shortcut files.
1288
1288
  # Corresponds to the JSON property `sha1Checksum`
1289
1289
  # @return [String]
1290
1290
  attr_accessor :sha1_checksum
1291
1291
 
1292
1292
  # The SHA256 checksum associated with this file, if available. This field is
1293
- # only populated for files with content stored in Google Drive; it isn't
1293
+ # only populated for files with content stored in Google Drive; it's not
1294
1294
  # populated for Docs Editors or shortcut files.
1295
1295
  # Corresponds to the JSON property `sha256Checksum`
1296
1296
  # @return [String]
@@ -1320,13 +1320,13 @@ module Google
1320
1320
  attr_accessor :shortcut_details
1321
1321
 
1322
1322
  # The size of the file's content in bytes. This field is populated for files
1323
- # with binary content stored in Google Drive and for Docs Editors files; it is
1323
+ # with binary content stored in Google Drive and for Docs Editors files; it's
1324
1324
  # not populated for shortcuts or folders.
1325
1325
  # Corresponds to the JSON property `size`
1326
1326
  # @return [Fixnum]
1327
1327
  attr_accessor :size
1328
1328
 
1329
- # The list of spaces which contain the file. The currently supported values are '
1329
+ # The list of spaces that contain the file. The currently supported values are '
1330
1330
  # drive', 'appDataFolder' and 'photos'.
1331
1331
  # Corresponds to the JSON property `spaces`
1332
1332
  # @return [Array<String>]
@@ -1357,7 +1357,7 @@ module Google
1357
1357
  attr_accessor :thumbnail_version
1358
1358
 
1359
1359
  # Whether the file has been trashed, either explicitly or from a trashed parent
1360
- # folder. Only the owner may trash a file. The trashed item is excluded from all
1360
+ # folder. Only the owner can trash a file. The trashed item is excluded from all
1361
1361
  # files.list responses returned for any user who does not own the file. However,
1362
1362
  # all users with access to the file can see the trashed item metadata in an API
1363
1363
  # response. All users with access can copy, download, export, and share the file.
@@ -1383,19 +1383,19 @@ module Google
1383
1383
  # @return [Fixnum]
1384
1384
  attr_accessor :version
1385
1385
 
1386
- # Additional metadata about video media. This may not be available immediately
1386
+ # Additional metadata about video media. This might not be available immediately
1387
1387
  # upon upload.
1388
1388
  # Corresponds to the JSON property `videoMediaMetadata`
1389
1389
  # @return [Google::Apis::DriveV3::File::VideoMediaMetadata]
1390
1390
  attr_accessor :video_media_metadata
1391
1391
 
1392
- # Whether the file has been viewed by this user.
1392
+ # Whether this user has viewed the file.
1393
1393
  # Corresponds to the JSON property `viewedByMe`
1394
1394
  # @return [Boolean]
1395
1395
  attr_accessor :viewed_by_me
1396
1396
  alias_method :viewed_by_me?, :viewed_by_me
1397
1397
 
1398
- # The last time the file was viewed by the user (RFC 3339 date-time).
1398
+ # The last time the user viewed the file (RFC 3339 date-time).
1399
1399
  # Corresponds to the JSON property `viewedByMeTime`
1400
1400
  # @return [DateTime]
1401
1401
  attr_accessor :viewed_by_me_time
@@ -1495,7 +1495,7 @@ module Google
1495
1495
  end
1496
1496
 
1497
1497
  # Capabilities the current user has on this file. Each capability corresponds to
1498
- # a fine-grained action that a user may take.
1498
+ # a fine-grained action that a user can take.
1499
1499
  class Capabilities
1500
1500
  include Google::Apis::Core::Hashable
1501
1501
 
@@ -1507,14 +1507,14 @@ module Google
1507
1507
  alias_method :can_accept_ownership?, :can_accept_ownership
1508
1508
 
1509
1509
  # Whether the current user can add children to this folder. This is always false
1510
- # when the item is not a folder.
1510
+ # when the item isn't a folder.
1511
1511
  # Corresponds to the JSON property `canAddChildren`
1512
1512
  # @return [Boolean]
1513
1513
  attr_accessor :can_add_children
1514
1514
  alias_method :can_add_children?, :can_add_children
1515
1515
 
1516
1516
  # Whether the current user can add a folder from another drive (different shared
1517
- # drive or My Drive) to this folder. This is false when the item is not a folder.
1517
+ # drive or My Drive) to this folder. This is false when the item isn't a folder.
1518
1518
  # Only populated for items in shared drives.
1519
1519
  # Corresponds to the JSON property `canAddFolderFromAnotherDrive`
1520
1520
  # @return [Boolean]
@@ -1556,7 +1556,7 @@ module Google
1556
1556
 
1557
1557
  # Whether the current user can copy this file. For an item in a shared drive,
1558
1558
  # whether the current user can copy non-folder descendants of this item, or this
1559
- # item itself if it is not a folder.
1559
+ # item itself if it's not a folder.
1560
1560
  # Corresponds to the JSON property `canCopy`
1561
1561
  # @return [Boolean]
1562
1562
  attr_accessor :can_copy
@@ -1569,7 +1569,7 @@ module Google
1569
1569
  alias_method :can_delete?, :can_delete
1570
1570
 
1571
1571
  # Whether the current user can delete children of this folder. This is false
1572
- # when the item is not a folder. Only populated for items in shared drives.
1572
+ # when the item isn't a folder. Only populated for items in shared drives.
1573
1573
  # Corresponds to the JSON property `canDeleteChildren`
1574
1574
  # @return [Boolean]
1575
1575
  attr_accessor :can_delete_children
@@ -1581,8 +1581,8 @@ module Google
1581
1581
  attr_accessor :can_download
1582
1582
  alias_method :can_download?, :can_download
1583
1583
 
1584
- # Whether the current user can edit this file. Other factors may limit the type
1585
- # of changes a user can make to a file. For example, see
1584
+ # Whether the current user can edit this file. Other factors might limit the
1585
+ # type of changes a user can make to a file. For example, see
1586
1586
  # canChangeCopyRequiresWriterPermission or canModifyContent.
1587
1587
  # Corresponds to the JSON property `canEdit`
1588
1588
  # @return [Boolean]
@@ -1590,7 +1590,7 @@ module Google
1590
1590
  alias_method :can_edit?, :can_edit
1591
1591
 
1592
1592
  # Whether the current user can list the children of this folder. This is always
1593
- # false when the item is not a folder.
1593
+ # false when the item isn't a folder.
1594
1594
  # Corresponds to the JSON property `canListChildren`
1595
1595
  # @return [Boolean]
1596
1596
  attr_accessor :can_list_children
@@ -1615,7 +1615,7 @@ module Google
1615
1615
  alias_method :can_modify_labels?, :can_modify_labels
1616
1616
 
1617
1617
  # Whether the current user can move children of this folder outside of the
1618
- # shared drive. This is false when the item is not a folder. Only populated for
1618
+ # shared drive. This is false when the item isn't a folder. Only populated for
1619
1619
  # items in shared drives.
1620
1620
  # Corresponds to the JSON property `canMoveChildrenOutOfDrive`
1621
1621
  # @return [Boolean]
@@ -1628,10 +1628,10 @@ module Google
1628
1628
  attr_accessor :can_move_children_out_of_team_drive
1629
1629
  alias_method :can_move_children_out_of_team_drive?, :can_move_children_out_of_team_drive
1630
1630
 
1631
- # Whether the current user can move children of this folder within this drive.
1632
- # This is false when the item is not a folder. Note that a request to move the
1633
- # child may still fail depending on the current user's access to the child and
1634
- # to the destination folder.
1631
+ # Whether the current user can move children of this folder within this shared
1632
+ # drive or My Drive. This is false when the item isn't a folder. Note that a
1633
+ # request to move the child might still fail depending on the current user's
1634
+ # access to the child and to the destination folder.
1635
1635
  # Corresponds to the JSON property `canMoveChildrenWithinDrive`
1636
1636
  # @return [Boolean]
1637
1637
  attr_accessor :can_move_children_within_drive
@@ -1649,9 +1649,9 @@ module Google
1649
1649
  attr_accessor :can_move_item_into_team_drive
1650
1650
  alias_method :can_move_item_into_team_drive?, :can_move_item_into_team_drive
1651
1651
 
1652
- # Whether the current user can move this item outside of this drive by changing
1653
- # its parent. Note that a request to change the parent of the item may still
1654
- # fail depending on the new parent that is being added.
1652
+ # Whether the current user can move this item outside of this shared drive or My
1653
+ # Drive by changing its parent. Note that a request to change the parent of the
1654
+ # item might still fail depending on the new parent that's being added.
1655
1655
  # Corresponds to the JSON property `canMoveItemOutOfDrive`
1656
1656
  # @return [Boolean]
1657
1657
  attr_accessor :can_move_item_out_of_drive
@@ -1663,9 +1663,10 @@ module Google
1663
1663
  attr_accessor :can_move_item_out_of_team_drive
1664
1664
  alias_method :can_move_item_out_of_team_drive?, :can_move_item_out_of_team_drive
1665
1665
 
1666
- # Whether the current user can move this item within this drive. Note that a
1667
- # request to change the parent of the item may still fail depending on the new
1668
- # parent that is being added and the parent that is being removed.
1666
+ # Whether the current user can move this item within this shared drive or My
1667
+ # Drive. Note that a request to change the parent of the item might still fail
1668
+ # depending on the new parent that's being added and the parent that's being
1669
+ # removed.
1669
1670
  # Corresponds to the JSON property `canMoveItemWithinDrive`
1670
1671
  # @return [Boolean]
1671
1672
  attr_accessor :can_move_item_within_drive
@@ -1698,7 +1699,7 @@ module Google
1698
1699
 
1699
1700
  # Whether the current user can read the revisions resource of this file. For a
1700
1701
  # shared drive item, whether revisions of non-folder descendants of this item,
1701
- # or this item itself if it isn't a folder, can be read.
1702
+ # or this item itself if it's not a folder, can be read.
1702
1703
  # Corresponds to the JSON property `canReadRevisions`
1703
1704
  # @return [Boolean]
1704
1705
  attr_accessor :can_read_revisions
@@ -1711,7 +1712,7 @@ module Google
1711
1712
  alias_method :can_read_team_drive?, :can_read_team_drive
1712
1713
 
1713
1714
  # Whether the current user can remove children from this folder. This is always
1714
- # false when the item is not a folder. For a folder in a shared drive, use
1715
+ # false when the item isn't a folder. For a folder in a shared drive, use
1715
1716
  # canDeleteChildren or canTrashChildren instead.
1716
1717
  # Corresponds to the JSON property `canRemoveChildren`
1717
1718
  # @return [Boolean]
@@ -1744,7 +1745,7 @@ module Google
1744
1745
  alias_method :can_trash?, :can_trash
1745
1746
 
1746
1747
  # Whether the current user can trash children of this folder. This is false when
1747
- # the item is not a folder. Only populated for items in shared drives.
1748
+ # the item isn't a folder. Only populated for items in shared drives.
1748
1749
  # Corresponds to the JSON property `canTrashChildren`
1749
1750
  # @return [Boolean]
1750
1751
  attr_accessor :can_trash_children
@@ -1809,7 +1810,7 @@ module Google
1809
1810
  include Google::Apis::Core::Hashable
1810
1811
 
1811
1812
  # Text to be indexed for the file to improve fullText queries. This is limited
1812
- # to 128 KB in length and may contain HTML elements. For more information, see
1813
+ # to 128 KB in length and might contain HTML elements. For more information, see
1813
1814
  # Manage file metadata.
1814
1815
  # Corresponds to the JSON property `indexableText`
1815
1816
  # @return [String]
@@ -1940,7 +1941,7 @@ module Google
1940
1941
  # @return [String]
1941
1942
  attr_accessor :metering_mode
1942
1943
 
1943
- # The number of clockwise 90 degree rotations applied from the image's original
1944
+ # The number of clockwise 90-degree rotations applied from the image's original
1944
1945
  # orientation.
1945
1946
  # Corresponds to the JSON property `rotation`
1946
1947
  # @return [Fixnum]
@@ -2114,7 +2115,7 @@ module Google
2114
2115
  end
2115
2116
  end
2116
2117
 
2117
- # Additional metadata about video media. This may not be available immediately
2118
+ # Additional metadata about video media. This might not be available immediately
2118
2119
  # upon upload.
2119
2120
  class VideoMediaMetadata
2120
2121
  include Google::Apis::Core::Hashable
@@ -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.36.0"
19
+ GEM_VERSION = "0.38.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230219"
25
+ REVISION = "20230413"
26
26
  end
27
27
  end
28
28
  end
@@ -757,14 +757,14 @@ module Google
757
757
  execute_or_queue_command(command, &block)
758
758
  end
759
759
 
760
- # Updates the metadate for a shared drive.
760
+ # Updates the metadata for a shared drive.
761
761
  # @param [String] drive_id
762
762
  # The ID of the shared drive.
763
763
  # @param [Google::Apis::DriveV3::Drive] drive_object
764
764
  # @param [Boolean] use_domain_admin_access
765
- # Issue the request as a domain administrator; if set to true, then the
766
- # requester will be granted access if they are an administrator of the domain to
767
- # which the shared drive belongs.
765
+ # Issue the request as a domain administrator. If set to true, then the
766
+ # requester is granted access if they're an administrator of the domain to which
767
+ # the shared drive belongs.
768
768
  # @param [String] fields
769
769
  # Selector specifying which fields to include in a partial response.
770
770
  # @param [String] quota_user
@@ -991,6 +991,8 @@ module Google
991
991
  end
992
992
 
993
993
  # Permanently deletes all of the user's trashed files.
994
+ # @param [String] drive_id
995
+ # If set, empties the trash of the provided shared drive.
994
996
  # @param [Boolean] enforce_single_parent
995
997
  # Deprecated. If an item is not in a shared drive and its last parent is deleted
996
998
  # but the item itself is not, the item will be placed under its owner's root.
@@ -1013,8 +1015,9 @@ module Google
1013
1015
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1014
1016
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1015
1017
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1016
- def empty_file_trash(enforce_single_parent: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1018
+ def empty_file_trash(drive_id: nil, enforce_single_parent: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1017
1019
  command = make_simple_command(:delete, 'files/trash', options)
1020
+ command.query['driveId'] = drive_id unless drive_id.nil?
1018
1021
  command.query['enforceSingleParent'] = enforce_single_parent unless enforce_single_parent.nil?
1019
1022
  command.query['fields'] = fields unless fields.nil?
1020
1023
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1418,9 +1421,7 @@ module Google
1418
1421
  execute_or_queue_command(command, &block)
1419
1422
  end
1420
1423
 
1421
- # Subscribes to changes to a file. While you can establish a channel for changes
1422
- # to a file on a shared drive, a change to a shared drive file won't create a
1423
- # notification.
1424
+ # Subscribes to changes to a file.
1424
1425
  # @param [String] file_id
1425
1426
  # The ID of the file.
1426
1427
  # @param [Google::Apis::DriveV3::Channel] channel_object
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-drive_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.36.0
4
+ version: 0.38.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-26 00:00:00.000000000 Z
11
+ date: 2023-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-drive_v3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v3/v0.36.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v3/v0.38.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-drive_v3
63
63
  post_install_message:
64
64
  rdoc_options: []