google-apis-drive_v2 0.40.0 → 0.41.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: d18b0415f22956e3361799001196bd0c4ff0b6ceffc2c373aa20a0683152ee98
4
- data.tar.gz: 4ba7e52469dfe0d8b123a8c754f8ccde1c4563867b299e84b55b6f5d1823603a
3
+ metadata.gz: fe56bd23a7c40ff15ce9845baeca77036282bf8f2e807b81a7d851844ec384be
4
+ data.tar.gz: 4977b5fcac850fcba1fb1ef51f63af3a26e832e4def9996936ef4d3379b40446
5
5
  SHA512:
6
- metadata.gz: 9fb5ce30d129cb4e43c28a4fb405aa86135ecac0fd18fe1e0cd50e0d86a05594130413be10517a9a22ee724d7dbc5975b6f281942d2704c3c7581c5e9a86f311
7
- data.tar.gz: b8beb7e20a3041dfc6f54eb822a287ff165e32ff06682aa5e8c55848f3769bd8084473197116f1f3de8d2c86f03aa7a985253b8edc09a05e31af6001e26acd92
6
+ metadata.gz: 4ac4ce61aebd343b9e5097099ed456e2a8c99617a618d96a3df14eed9792bbe234b8f453c31b8f79547322b503d24baf59d1e43c4fbeb725f6ec3de68fd582bc
7
+ data.tar.gz: dd67246971fd9af0d3be1811018bc08b6973b1539ab93fdcb4e071177efeef95eab86c55f7ca25c86f43a0d532bb293a1378dec4f5213c01f65e38acb0ea525b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-drive_v2
2
2
 
3
+ ### v0.41.0 (2023-08-27)
4
+
5
+ * Regenerated from discovery document revision 20230822
6
+
3
7
  ### v0.40.0 (2023-07-23)
4
8
 
5
9
  * Regenerated from discovery document revision 20230714
@@ -452,7 +452,8 @@ module Google
452
452
 
453
453
  # The apps resource provides a list of the apps that a user has installed, with
454
454
  # information about each app's supported MIME types, file extensions, and other
455
- # details.
455
+ # details. Some resource methods (such as `apps.get`) require an `appId`. Use
456
+ # the `apps.list` method to retrieve the ID for an installed application.
456
457
  class App
457
458
  include Google::Apis::Core::Hashable
458
459
 
@@ -717,7 +718,9 @@ module Google
717
718
  attr_accessor :deleted
718
719
  alias_method :deleted?, :deleted
719
720
 
720
- # Representation of a shared drive.
721
+ # Representation of a shared drive. Some resource methods (such as `drives.
722
+ # update`) require a `driveId`. Use the `drives.list` method to retrieve the ID
723
+ # for a shared drive.
721
724
  # Corresponds to the JSON property `drive`
722
725
  # @return [Google::Apis::DriveV2::Drive]
723
726
  attr_accessor :drive
@@ -727,7 +730,8 @@ module Google
727
730
  # @return [String]
728
731
  attr_accessor :drive_id
729
732
 
730
- # The metadata for a file.
733
+ # The metadata for a file. Some resource methods (such as `files.update`)
734
+ # require a `fileId`. Use the `files.list` method to retrieve the ID for a file.
731
735
  # Corresponds to the JSON property `file`
732
736
  # @return [Google::Apis::DriveV2::File]
733
737
  attr_accessor :file
@@ -991,7 +995,9 @@ module Google
991
995
  end
992
996
  end
993
997
 
994
- # A reference to a folder's child.
998
+ # A reference to a folder's child. Some resource methods (such as `children.get`)
999
+ # require a `childId`. Use the `children.list` method to retrieve the ID of the
1000
+ # child.
995
1001
  class ChildReference
996
1002
  include Google::Apis::Core::Hashable
997
1003
 
@@ -1028,7 +1034,9 @@ module Google
1028
1034
  end
1029
1035
  end
1030
1036
 
1031
- # A comment on a file in Google Drive.
1037
+ # A comment on a file in Google Drive. Some resource methods (such as `comments.
1038
+ # update`) require a `commentId`. Use the `comments.list` method to retrieve the
1039
+ # ID for a comment in a file.
1032
1040
  class Comment
1033
1041
  include Google::Apis::Core::Hashable
1034
1042
 
@@ -1213,7 +1221,9 @@ module Google
1213
1221
  end
1214
1222
  end
1215
1223
 
1216
- # A comment on a file in Google Drive.
1224
+ # A comment on a file in Google Drive. Some resource methods (such as `replies.
1225
+ # update`) require a `replyId`. Use the `replies.list` method to retrieve the ID
1226
+ # for a reply.
1217
1227
  class CommentReply
1218
1228
  include Google::Apis::Core::Hashable
1219
1229
 
@@ -1393,7 +1403,9 @@ module Google
1393
1403
  end
1394
1404
  end
1395
1405
 
1396
- # Representation of a shared drive.
1406
+ # Representation of a shared drive. Some resource methods (such as `drives.
1407
+ # update`) require a `driveId`. Use the `drives.list` method to retrieve the ID
1408
+ # for a shared drive.
1397
1409
  class Drive
1398
1410
  include Google::Apis::Core::Hashable
1399
1411
 
@@ -1804,7 +1816,8 @@ module Google
1804
1816
  end
1805
1817
  end
1806
1818
 
1807
- # The metadata for a file.
1819
+ # The metadata for a file. Some resource methods (such as `files.update`)
1820
+ # require a `fileId`. Use the `files.list` method to retrieve the ID for a file.
1808
1821
  class File
1809
1822
  include Google::Apis::Core::Hashable
1810
1823
 
@@ -2227,7 +2240,10 @@ module Google
2227
2240
  # @return [Google::Apis::DriveV2::User]
2228
2241
  attr_accessor :trashing_user
2229
2242
 
2230
- # A permission for a file.
2243
+ # A permission for a file. A permission grants a user, group, domain, or the
2244
+ # world access to a file or a folder hierarchy. Some resource methods (such as `
2245
+ # permissions.update`) require a `permissionId`. Use the `permissions.list`
2246
+ # method to retrieve the ID for a file, folder, or shared drive.
2231
2247
  # Corresponds to the JSON property `userPermission`
2232
2248
  # @return [Google::Apis::DriveV2::Permission]
2233
2249
  attr_accessor :user_permission
@@ -3503,7 +3519,9 @@ module Google
3503
3519
  end
3504
3520
  end
3505
3521
 
3506
- # A reference to a file's parent.
3522
+ # A reference to a file's parent. Some resource methods (such as `parents.get`)
3523
+ # require a `parentId`. Use the `parents.list` method to retrieve the ID for a
3524
+ # parent.
3507
3525
  class ParentReference
3508
3526
  include Google::Apis::Core::Hashable
3509
3527
 
@@ -3547,7 +3565,10 @@ module Google
3547
3565
  end
3548
3566
  end
3549
3567
 
3550
- # A permission for a file.
3568
+ # A permission for a file. A permission grants a user, group, domain, or the
3569
+ # world access to a file or a folder hierarchy. Some resource methods (such as `
3570
+ # permissions.update`) require a `permissionId`. Use the `permissions.list`
3571
+ # method to retrieve the ID for a file, folder, or shared drive.
3551
3572
  class Permission
3552
3573
  include Google::Apis::Core::Hashable
3553
3574
 
@@ -3876,7 +3897,9 @@ module Google
3876
3897
  # application. The following limits apply to file properties: * Maximum of 100
3877
3898
  # properties total per file * Maximum of 30 private properties per app * Maximum
3878
3899
  # of 30 public properties * Maximum of 124 bytes size limit on (key + value)
3879
- # string in UTF-8 encoding for a single property
3900
+ # string in UTF-8 encoding for a single property Some resource methods (such as `
3901
+ # properties.update`) require a `propertyKey`. Use the `properties.list` method
3902
+ # to retrieve the key for a property.
3880
3903
  class Property
3881
3904
  include Google::Apis::Core::Hashable
3882
3905
 
@@ -3966,7 +3989,9 @@ module Google
3966
3989
  end
3967
3990
  end
3968
3991
 
3969
- # A revision of a file.
3992
+ # A revision of a file. Some resource methods (such as `revisions.update`)
3993
+ # require a `revisionId`. Use the `revisions.list` method to retrieve the ID for
3994
+ # a revision.
3970
3995
  class Revision
3971
3996
  include Google::Apis::Core::Hashable
3972
3997
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DriveV2
18
18
  # Version of the google-apis-drive_v2 gem
19
- GEM_VERSION = "0.40.0"
19
+ GEM_VERSION = "0.41.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 = "20230714"
25
+ REVISION = "20230822"
26
26
  end
27
27
  end
28
28
  end
@@ -826,7 +826,7 @@ module Google
826
826
  execute_or_queue_command(command, &block)
827
827
  end
828
828
 
829
- # Permanently deletes a shared drive for which the user is an organizer. The
829
+ # Permanently deletes a shared drive for which the user is an `organizer`. The
830
830
  # shared drive cannot contain any untrashed items.
831
831
  # @param [String] drive_id
832
832
  # The ID of the shared drive.
@@ -1151,8 +1151,10 @@ module Google
1151
1151
  execute_or_queue_command(command, &block)
1152
1152
  end
1153
1153
 
1154
- # Permanently deletes a file by ID. Skips the trash. The currently authenticated
1155
- # user must own the file or be an organizer on the parent for shared drive files.
1154
+ # Permanently deletes a file owned by the user without moving it to the trash.
1155
+ # If the file belongs to a shared drive, the user must be an `organizer` on the
1156
+ # parent folder. If the target is a folder, all descendants owned by the user
1157
+ # are also deleted.
1156
1158
  # @param [String] file_id
1157
1159
  # The ID of the file to delete.
1158
1160
  # @param [Boolean] enforce_single_parent
@@ -1565,7 +1567,7 @@ module Google
1565
1567
 
1566
1568
  # Lists the labels on a file.
1567
1569
  # @param [String] file_id
1568
- # The ID for the file or shared drive.
1570
+ # The ID for the file.
1569
1571
  # @param [Fixnum] max_results
1570
1572
  # The maximum number of labels to return per page. When not set, defaults to 100.
1571
1573
  # @param [String] page_token
@@ -1785,13 +1787,7 @@ module Google
1785
1787
  end
1786
1788
 
1787
1789
  # Moves a file to the trash. The currently authenticated user must own the file
1788
- # or be at least a `fileOrganizer` on the parent for shared drive files. Only
1789
- # the owner may trash a file. The trashed item is excluded from all `files.list`
1790
- # responses returned for any user who doesn't own the file. However, all users
1791
- # with access to the file can see the trashed item metadata in an API response.
1792
- # All users with access can copy, download, export, and share the file. *Note:*
1793
- # Files moved to the trash still appear by default in results from the `files.
1794
- # list` method. To permanently remove a file, use `files.delete`.
1790
+ # or be at least a `fileOrganizer` on the parent for shared drive files.
1795
1791
  # @param [String] file_id
1796
1792
  # The ID of the file to trash.
1797
1793
  # @param [String] include_labels
@@ -1837,7 +1833,6 @@ module Google
1837
1833
 
1838
1834
  # Restores a file from the trash. The currently authenticated user must own the
1839
1835
  # file or be at least a `fileOrganizer` on the parent for shared drive files.
1840
- # Only the owner may untrash a file.
1841
1836
  # @param [String] file_id
1842
1837
  # The ID of the file to untrash.
1843
1838
  # @param [String] include_labels
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-drive_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.40.0
4
+ version: 0.41.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-07-23 00:00:00.000000000 Z
11
+ date: 2023-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-drive_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v2/v0.40.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v2/v0.41.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-drive_v2
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Google Drive API V2