google-apis-drive_v3 0.79.0 → 0.81.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: 7e565160a105e8c8ab74dbb58936f307f59830630fc09806280633f75c90dd15
4
- data.tar.gz: 144517a280127b1dac835951f475b05d4ff007cf105b15330186a8e6ad237627
3
+ metadata.gz: 66d84858aaff8c9d3344e73f81cfd4f29b965544218b29966ad0804596904a2b
4
+ data.tar.gz: 5734bfff848cf0962d46d512feb791336452fb552c86ebb9b204c16e68d0b3bf
5
5
  SHA512:
6
- metadata.gz: 2892fc2afe280960a7edd791e21c81fd23ee62eee3f1485d7850d2caf06edd453a313ead6c1238d70afef54839d8b5897ff39cb93cf0ac2a84acf27e1a6bdab7
7
- data.tar.gz: b8de7ae8733438b2457801a07d2df5f643b4a0b8cda67eb3c48e12681b8a775a39f4e70b58b4ab5b9563e38c259694c21b64e9c78a7e4defa3a5b5cbb87790a6
6
+ metadata.gz: f34618563f687a8fbb5e12b1d353e2d3f7c7e8490d0a81471110c5eab2c9ae5fdd761f813dfa49bb1935fe9d507a712975efa7837892b3c0a7fab1c4a9b09ca6
7
+ data.tar.gz: 980db95fe5af8925293161168d1cfcc38e3f3125264f8c5c1b6b1623ae32cf0234c1ffe17dbf3fd4a85cf43602da79d8192a8728e7292ddd214f4a2bbc72cffe
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-drive_v3
2
2
 
3
+ ### v0.81.0 (2026-05-03)
4
+
5
+ * Regenerated from discovery document revision 20260428
6
+
7
+ ### v0.80.0 (2026-04-19)
8
+
9
+ * Regenerated from discovery document revision 20260405
10
+
3
11
  ### v0.79.0 (2026-03-15)
4
12
 
5
13
  * Regenerated from discovery document revision 20260305
@@ -313,6 +313,25 @@ module Google
313
313
  end
314
314
  end
315
315
 
316
+ # Representation of a reviewer addition.
317
+ class AddReviewer
318
+ include Google::Apis::Core::Hashable
319
+
320
+ # Required. The email of the reviewer to add.
321
+ # Corresponds to the JSON property `addedReviewerEmail`
322
+ # @return [String]
323
+ attr_accessor :added_reviewer_email
324
+
325
+ def initialize(**args)
326
+ update!(**args)
327
+ end
328
+
329
+ # Update properties of this object
330
+ def update!(**args)
331
+ @added_reviewer_email = args[:added_reviewer_email] if args.key?(:added_reviewer_email)
332
+ end
333
+ end
334
+
316
335
  # The `apps` resource provides a list of apps that a user has installed, with
317
336
  # information about each app's supported MIME types, file extensions, and other
318
337
  # details. Some resource methods (such as `apps.get`) require an `appId`. Use
@@ -561,12 +580,12 @@ module Google
561
580
  end
562
581
  end
563
582
 
564
- # Metadata for an approval. An approval is a review/approve process for a Drive
565
- # item.
583
+ # Metadata for an approval. An approval is a review or approve process for a
584
+ # Drive item.
566
585
  class Approval
567
586
  include Google::Apis::Core::Hashable
568
587
 
569
- # The Approval ID.
588
+ # The approval ID.
570
589
  # Corresponds to the JSON property `approvalId`
571
590
  # @return [String]
572
591
  attr_accessor :approval_id
@@ -601,7 +620,7 @@ module Google
601
620
  # @return [String]
602
621
  attr_accessor :modify_time
603
622
 
604
- # The responses made on the Approval by reviewers.
623
+ # The responses made on the approval by reviewers.
605
624
  # Corresponds to the JSON property `reviewerResponses`
606
625
  # @return [Array<Google::Apis::DriveV3::ReviewerResponse>]
607
626
  attr_accessor :reviewer_responses
@@ -636,11 +655,11 @@ module Google
636
655
  end
637
656
  end
638
657
 
639
- # The response of an Approvals list request.
658
+ # The response of an approvals list request.
640
659
  class ApprovalList
641
660
  include Google::Apis::Core::Hashable
642
661
 
643
- # The list of Approvals. If nextPageToken is populated, then this list may be
662
+ # The list of approvals. If `nextPageToken` is populated, then this list may be
644
663
  # incomplete and an additional page of results should be fetched.
645
664
  # Corresponds to the JSON property `items`
646
665
  # @return [Array<Google::Apis::DriveV3::Approval>]
@@ -651,10 +670,10 @@ module Google
651
670
  # @return [String]
652
671
  attr_accessor :kind
653
672
 
654
- # The page token for the next page of Approvals. This will be absent if the end
655
- # of the Approvals list has been reached. If the token is rejected for any
656
- # reason, it should be discarded, and pagination should be restarted from the
657
- # first page of results.
673
+ # The page token for the next page of approvals. This is absent if the end of
674
+ # the approvals list has been reached. If the token is rejected for any reason,
675
+ # it should be discarded, and pagination should be restarted from the first page
676
+ # of results.
658
677
  # Corresponds to the JSON property `nextPageToken`
659
678
  # @return [String]
660
679
  attr_accessor :next_page_token
@@ -671,6 +690,48 @@ module Google
671
690
  end
672
691
  end
673
692
 
693
+ # Request for approving an approval as a reviewer.
694
+ class ApproveApprovalRequest
695
+ include Google::Apis::Core::Hashable
696
+
697
+ # Optional. A message to accompany the reviewer response on the approval. This
698
+ # message is included in notifications for the action and in the approval
699
+ # activity log.
700
+ # Corresponds to the JSON property `message`
701
+ # @return [String]
702
+ attr_accessor :message
703
+
704
+ def initialize(**args)
705
+ update!(**args)
706
+ end
707
+
708
+ # Update properties of this object
709
+ def update!(**args)
710
+ @message = args[:message] if args.key?(:message)
711
+ end
712
+ end
713
+
714
+ # Request for cancelling an approval as an initiator.
715
+ class CancelApprovalRequest
716
+ include Google::Apis::Core::Hashable
717
+
718
+ # Optional. A message to accompany the cancellation of the approval. This
719
+ # message is included in notifications for the action and in the approval
720
+ # activity log.
721
+ # Corresponds to the JSON property `message`
722
+ # @return [String]
723
+ attr_accessor :message
724
+
725
+ def initialize(**args)
726
+ update!(**args)
727
+ end
728
+
729
+ # Update properties of this object
730
+ def update!(**args)
731
+ @message = args[:message] if args.key?(:message)
732
+ end
733
+ end
734
+
674
735
  # A change to a file or shared drive.
675
736
  class Change
676
737
  include Google::Apis::Core::Hashable
@@ -716,7 +777,7 @@ module Google
716
777
  attr_accessor :removed
717
778
  alias_method :removed?, :removed
718
779
 
719
- # Deprecated: use the drive collection instead.
780
+ # Deprecated: use the drive collection instead. Next ID: 33
720
781
  # Corresponds to the JSON property `teamDrive`
721
782
  # @return [Google::Apis::DriveV3::TeamDrive]
722
783
  attr_accessor :team_drive
@@ -877,6 +938,32 @@ module Google
877
938
  end
878
939
  end
879
940
 
941
+ # Details about the client-side encryption applied to the file.
942
+ class ClientEncryptionDetails
943
+ include Google::Apis::Core::Hashable
944
+
945
+ # Representation of the CSE DecryptionMetadata.
946
+ # Corresponds to the JSON property `decryptionMetadata`
947
+ # @return [Google::Apis::DriveV3::DecryptionMetadata]
948
+ attr_accessor :decryption_metadata
949
+
950
+ # The encryption state of the file. The values expected here are: - encrypted -
951
+ # unencrypted
952
+ # Corresponds to the JSON property `encryptionState`
953
+ # @return [String]
954
+ attr_accessor :encryption_state
955
+
956
+ def initialize(**args)
957
+ update!(**args)
958
+ end
959
+
960
+ # Update properties of this object
961
+ def update!(**args)
962
+ @decryption_metadata = args[:decryption_metadata] if args.key?(:decryption_metadata)
963
+ @encryption_state = args[:encryption_state] if args.key?(:encryption_state)
964
+ end
965
+ end
966
+
880
967
  # A comment on a file. Some resource methods (such as `comments.update`) require
881
968
  # a `commentId`. Use the `comments.list` method to retrieve the ID for a comment
882
969
  # in a file.
@@ -1016,6 +1103,26 @@ module Google
1016
1103
  end
1017
1104
  end
1018
1105
 
1106
+ # Request for commenting on an approval.
1107
+ class CommentApprovalRequest
1108
+ include Google::Apis::Core::Hashable
1109
+
1110
+ # Required. A message to comment on the approval. This message is included in
1111
+ # notifications for the action and in the approval activity log.
1112
+ # Corresponds to the JSON property `message`
1113
+ # @return [String]
1114
+ attr_accessor :message
1115
+
1116
+ def initialize(**args)
1117
+ update!(**args)
1118
+ end
1119
+
1120
+ # Update properties of this object
1121
+ def update!(**args)
1122
+ @message = args[:message] if args.key?(:message)
1123
+ end
1124
+ end
1125
+
1019
1126
  # A list of comments on a file.
1020
1127
  class CommentList
1021
1128
  include Google::Apis::Core::Hashable
@@ -1120,6 +1227,88 @@ module Google
1120
1227
  end
1121
1228
  end
1122
1229
 
1230
+ # Request for declining an approval as a reviewer.
1231
+ class DeclineApprovalRequest
1232
+ include Google::Apis::Core::Hashable
1233
+
1234
+ # Optional. A message to accompany the reviewer response on the approval. This
1235
+ # message is included in notifications for the action and in the approval
1236
+ # activity log.
1237
+ # Corresponds to the JSON property `message`
1238
+ # @return [String]
1239
+ attr_accessor :message
1240
+
1241
+ def initialize(**args)
1242
+ update!(**args)
1243
+ end
1244
+
1245
+ # Update properties of this object
1246
+ def update!(**args)
1247
+ @message = args[:message] if args.key?(:message)
1248
+ end
1249
+ end
1250
+
1251
+ # Representation of the CSE DecryptionMetadata.
1252
+ class DecryptionMetadata
1253
+ include Google::Apis::Core::Hashable
1254
+
1255
+ # Chunk size used if content was encrypted with the AES 256 GCM Cipher. Possible
1256
+ # values are: - default - small
1257
+ # Corresponds to the JSON property `aes256GcmChunkSize`
1258
+ # @return [String]
1259
+ attr_accessor :aes256_gcm_chunk_size
1260
+
1261
+ # The URL-safe Base64 encoded HMAC-SHA256 digest of the resource metadata with
1262
+ # its DEK (Data Encryption Key); see https://developers.google.com/workspace/cse/
1263
+ # reference
1264
+ # Corresponds to the JSON property `encryptionResourceKeyHash`
1265
+ # @return [String]
1266
+ attr_accessor :encryption_resource_key_hash
1267
+
1268
+ # The signed JSON Web Token (JWT) which can be used to authorize the requesting
1269
+ # user with the Key ACL Service (KACLS). The JWT asserts that the requesting
1270
+ # user has at least read permissions on the file.
1271
+ # Corresponds to the JSON property `jwt`
1272
+ # @return [String]
1273
+ attr_accessor :jwt
1274
+
1275
+ # The ID of the KACLS (Key ACL Service) used to encrypt the file.
1276
+ # Corresponds to the JSON property `kaclsId`
1277
+ # @return [Fixnum]
1278
+ attr_accessor :kacls_id
1279
+
1280
+ # The name of the KACLS (Key ACL Service) used to encrypt the file.
1281
+ # Corresponds to the JSON property `kaclsName`
1282
+ # @return [String]
1283
+ attr_accessor :kacls_name
1284
+
1285
+ # Key format for the unwrapped key. Must be `tinkAesGcmKey`.
1286
+ # Corresponds to the JSON property `keyFormat`
1287
+ # @return [String]
1288
+ attr_accessor :key_format
1289
+
1290
+ # The URL-safe Base64 encoded wrapped key used to encrypt the contents of the
1291
+ # file.
1292
+ # Corresponds to the JSON property `wrappedKey`
1293
+ # @return [String]
1294
+ attr_accessor :wrapped_key
1295
+
1296
+ def initialize(**args)
1297
+ update!(**args)
1298
+ end
1299
+
1300
+ # Update properties of this object
1301
+ def update!(**args)
1302
+ @aes256_gcm_chunk_size = args[:aes256_gcm_chunk_size] if args.key?(:aes256_gcm_chunk_size)
1303
+ @encryption_resource_key_hash = args[:encryption_resource_key_hash] if args.key?(:encryption_resource_key_hash)
1304
+ @jwt = args[:jwt] if args.key?(:jwt)
1305
+ @kacls_id = args[:kacls_id] if args.key?(:kacls_id)
1306
+ @kacls_name = args[:kacls_name] if args.key?(:kacls_name)
1307
+ @key_format = args[:key_format] if args.key?(:key_format)
1308
+ @wrapped_key = args[:wrapped_key] if args.key?(:wrapped_key)
1309
+ end
1310
+ end
1311
+
1123
1312
  # A restriction for copy and download of the file.
1124
1313
  class DownloadRestriction
1125
1314
  include Google::Apis::Core::Hashable
@@ -1130,8 +1319,8 @@ module Google
1130
1319
  attr_accessor :restricted_for_readers
1131
1320
  alias_method :restricted_for_readers?, :restricted_for_readers
1132
1321
 
1133
- # Whether download and copy is restricted for writers. If `true`, download is
1134
- # also restricted for readers.
1322
+ # Whether download and copy is restricted for writers. If true, download is also
1323
+ # restricted for readers.
1135
1324
  # Corresponds to the JSON property `restrictedForWriters`
1136
1325
  # @return [Boolean]
1137
1326
  attr_accessor :restricted_for_writers
@@ -1630,6 +1819,11 @@ module Google
1630
1819
  # @return [Google::Apis::DriveV3::File::Capabilities]
1631
1820
  attr_accessor :capabilities
1632
1821
 
1822
+ # Details about the client-side encryption applied to the file.
1823
+ # Corresponds to the JSON property `clientEncryptionDetails`
1824
+ # @return [Google::Apis::DriveV3::ClientEncryptionDetails]
1825
+ attr_accessor :client_encryption_details
1826
+
1633
1827
  # Additional information about the content of the file. These fields are never
1634
1828
  # populated in responses.
1635
1829
  # Corresponds to the JSON property `contentHints`
@@ -1761,7 +1955,7 @@ module Google
1761
1955
  # @return [String]
1762
1956
  attr_accessor :kind
1763
1957
 
1764
- # Output only. An overview of the labels on the file.
1958
+ # Label information on the file.
1765
1959
  # Corresponds to the JSON property `labelInfo`
1766
1960
  # @return [Google::Apis::DriveV3::File::LabelInfo]
1767
1961
  attr_accessor :label_info
@@ -1908,9 +2102,7 @@ module Google
1908
2102
  # @return [Google::Apis::DriveV3::User]
1909
2103
  attr_accessor :sharing_user
1910
2104
 
1911
- # Shortcut file details. Only populated for shortcut files, which have the
1912
- # mimeType field set to `application/vnd.google-apps.shortcut`. Can only be set
1913
- # on `files.create` requests.
2105
+ # Information about a shortcut file.
1914
2106
  # Corresponds to the JSON property `shortcutDetails`
1915
2107
  # @return [Google::Apis::DriveV3::File::ShortcutDetails]
1916
2108
  attr_accessor :shortcut_details
@@ -1955,8 +2147,8 @@ module Google
1955
2147
  attr_accessor :thumbnail_version
1956
2148
 
1957
2149
  # Whether the file has been trashed, either explicitly or from a trashed parent
1958
- # folder. Only the owner may trash a file, and other users cannot see files in
1959
- # the owner's trash.
2150
+ # folder. Only the owner may trash a file, but other users can still access the
2151
+ # file in the owner's trash until it's permanently deleted.
1960
2152
  # Corresponds to the JSON property `trashed`
1961
2153
  # @return [Boolean]
1962
2154
  attr_accessor :trashed
@@ -2030,6 +2222,7 @@ module Google
2030
2222
  def update!(**args)
2031
2223
  @app_properties = args[:app_properties] if args.key?(:app_properties)
2032
2224
  @capabilities = args[:capabilities] if args.key?(:capabilities)
2225
+ @client_encryption_details = args[:client_encryption_details] if args.key?(:client_encryption_details)
2033
2226
  @content_hints = args[:content_hints] if args.key?(:content_hints)
2034
2227
  @content_restrictions = args[:content_restrictions] if args.key?(:content_restrictions)
2035
2228
  @copy_requires_writer_permission = args[:copy_requires_writer_permission] if args.key?(:copy_requires_writer_permission)
@@ -2385,6 +2578,12 @@ module Google
2385
2578
  attr_accessor :can_share
2386
2579
  alias_method :can_share?, :can_share
2387
2580
 
2581
+ # Whether the current user can start an approval on the file.
2582
+ # Corresponds to the JSON property `canStartApproval`
2583
+ # @return [Boolean]
2584
+ attr_accessor :can_start_approval
2585
+ alias_method :can_start_approval?, :can_start_approval
2586
+
2388
2587
  # Output only. Whether the current user can move this file to trash.
2389
2588
  # Corresponds to the JSON property `canTrash`
2390
2589
  # @return [Boolean]
@@ -2452,6 +2651,7 @@ module Google
2452
2651
  @can_remove_my_drive_parent = args[:can_remove_my_drive_parent] if args.key?(:can_remove_my_drive_parent)
2453
2652
  @can_rename = args[:can_rename] if args.key?(:can_rename)
2454
2653
  @can_share = args[:can_share] if args.key?(:can_share)
2654
+ @can_start_approval = args[:can_start_approval] if args.key?(:can_start_approval)
2455
2655
  @can_trash = args[:can_trash] if args.key?(:can_trash)
2456
2656
  @can_trash_children = args[:can_trash_children] if args.key?(:can_trash_children)
2457
2657
  @can_untrash = args[:can_untrash] if args.key?(:can_untrash)
@@ -2687,7 +2887,7 @@ module Google
2687
2887
  end
2688
2888
  end
2689
2889
 
2690
- # Output only. An overview of the labels on the file.
2890
+ # Label information on the file.
2691
2891
  class LabelInfo
2692
2892
  include Google::Apis::Core::Hashable
2693
2893
 
@@ -2735,9 +2935,7 @@ module Google
2735
2935
  end
2736
2936
  end
2737
2937
 
2738
- # Shortcut file details. Only populated for shortcut files, which have the
2739
- # mimeType field set to `application/vnd.google-apps.shortcut`. Can only be set
2740
- # on `files.create` requests.
2938
+ # Information about a shortcut file.
2741
2939
  class ShortcutDetails
2742
2940
  include Google::Apis::Core::Hashable
2743
2941
 
@@ -2852,6 +3050,50 @@ module Google
2852
3050
  end
2853
3051
  end
2854
3052
 
3053
+ # JWT and associated metadata used to generate CSE files.
3054
+ class GenerateCseTokenResponse
3055
+ include Google::Apis::Core::Hashable
3056
+
3057
+ # The current Key ACL Service (KACLS) ID associated with the JWT.
3058
+ # Corresponds to the JSON property `currentKaclsId`
3059
+ # @return [Fixnum]
3060
+ attr_accessor :current_kacls_id
3061
+
3062
+ # Name of the KACLs that the returned KACLs ID points to.
3063
+ # Corresponds to the JSON property `currentKaclsName`
3064
+ # @return [String]
3065
+ attr_accessor :current_kacls_name
3066
+
3067
+ # The fileId for which the JWT was generated.
3068
+ # Corresponds to the JSON property `fileId`
3069
+ # @return [String]
3070
+ attr_accessor :file_id
3071
+
3072
+ # The signed JSON Web Token (JWT) for the file.
3073
+ # Corresponds to the JSON property `jwt`
3074
+ # @return [String]
3075
+ attr_accessor :jwt
3076
+
3077
+ # Output only. Identifies what kind of resource this is. Value: the fixed string
3078
+ # `"drive#generateCseTokenResponse"`.
3079
+ # Corresponds to the JSON property `kind`
3080
+ # @return [String]
3081
+ attr_accessor :kind
3082
+
3083
+ def initialize(**args)
3084
+ update!(**args)
3085
+ end
3086
+
3087
+ # Update properties of this object
3088
+ def update!(**args)
3089
+ @current_kacls_id = args[:current_kacls_id] if args.key?(:current_kacls_id)
3090
+ @current_kacls_name = args[:current_kacls_name] if args.key?(:current_kacls_name)
3091
+ @file_id = args[:file_id] if args.key?(:file_id)
3092
+ @jwt = args[:jwt] if args.key?(:jwt)
3093
+ @kind = args[:kind] if args.key?(:kind)
3094
+ end
3095
+ end
3096
+
2855
3097
  # A list of generated file IDs which can be provided in create requests.
2856
3098
  class GeneratedIds
2857
3099
  include Google::Apis::Core::Hashable
@@ -3301,12 +3543,13 @@ module Google
3301
3543
  # @return [String]
3302
3544
  attr_accessor :display_name
3303
3545
 
3304
- # The domain to which this permission refers.
3546
+ # Output only. The domain to which this permission refers.
3305
3547
  # Corresponds to the JSON property `domain`
3306
3548
  # @return [String]
3307
3549
  attr_accessor :domain
3308
3550
 
3309
- # The email address of the user or group to which this permission refers.
3551
+ # Output only. The email address of the user or group to which this permission
3552
+ # refers.
3310
3553
  # Corresponds to the JSON property `emailAddress`
3311
3554
  # @return [String]
3312
3555
  attr_accessor :email_address
@@ -3537,6 +3780,64 @@ module Google
3537
3780
  end
3538
3781
  end
3539
3782
 
3783
+ # Request for reassigning an approval. Reviewers can be added or replaced, but
3784
+ # not removed.
3785
+ class ReassignApprovalRequest
3786
+ include Google::Apis::Core::Hashable
3787
+
3788
+ # Optional. The list of reviewers to add.
3789
+ # Corresponds to the JSON property `addReviewers`
3790
+ # @return [Array<Google::Apis::DriveV3::AddReviewer>]
3791
+ attr_accessor :add_reviewers
3792
+
3793
+ # Optional. A message to send to the new reviewers. This message is included in
3794
+ # notifications for the action and in the approval activity log.
3795
+ # Corresponds to the JSON property `message`
3796
+ # @return [String]
3797
+ attr_accessor :message
3798
+
3799
+ # Optional. The list of reviewer replacements.
3800
+ # Corresponds to the JSON property `replaceReviewers`
3801
+ # @return [Array<Google::Apis::DriveV3::ReplaceReviewer>]
3802
+ attr_accessor :replace_reviewers
3803
+
3804
+ def initialize(**args)
3805
+ update!(**args)
3806
+ end
3807
+
3808
+ # Update properties of this object
3809
+ def update!(**args)
3810
+ @add_reviewers = args[:add_reviewers] if args.key?(:add_reviewers)
3811
+ @message = args[:message] if args.key?(:message)
3812
+ @replace_reviewers = args[:replace_reviewers] if args.key?(:replace_reviewers)
3813
+ end
3814
+ end
3815
+
3816
+ # Representation of a reviewer replacement.
3817
+ class ReplaceReviewer
3818
+ include Google::Apis::Core::Hashable
3819
+
3820
+ # Required. The email of the reviewer to add.
3821
+ # Corresponds to the JSON property `addedReviewerEmail`
3822
+ # @return [String]
3823
+ attr_accessor :added_reviewer_email
3824
+
3825
+ # Required. The email of the reviewer to remove.
3826
+ # Corresponds to the JSON property `removedReviewerEmail`
3827
+ # @return [String]
3828
+ attr_accessor :removed_reviewer_email
3829
+
3830
+ def initialize(**args)
3831
+ update!(**args)
3832
+ end
3833
+
3834
+ # Update properties of this object
3835
+ def update!(**args)
3836
+ @added_reviewer_email = args[:added_reviewer_email] if args.key?(:added_reviewer_email)
3837
+ @removed_reviewer_email = args[:removed_reviewer_email] if args.key?(:removed_reviewer_email)
3838
+ end
3839
+ end
3840
+
3540
3841
  # A reply to a comment on a file. Some resource methods (such as `replies.update`
3541
3842
  # ) require a `replyId`. Use the `replies.list` method to retrieve the ID for a
3542
3843
  # reply.
@@ -3706,7 +4007,7 @@ module Google
3706
4007
  end
3707
4008
  end
3708
4009
 
3709
- # A response on an Approval made by a specific Reviewer.
4010
+ # A response on an approval made by a specific reviewer.
3710
4011
  class ReviewerResponse
3711
4012
  include Google::Apis::Core::Hashable
3712
4013
 
@@ -3715,7 +4016,7 @@ module Google
3715
4016
  # @return [String]
3716
4017
  attr_accessor :kind
3717
4018
 
3718
- # A Reviewer’s Response for the Approval.
4019
+ # A reviewer’s response for the approval.
3719
4020
  # Corresponds to the JSON property `response`
3720
4021
  # @return [String]
3721
4022
  attr_accessor :response
@@ -3888,6 +4189,45 @@ module Google
3888
4189
  end
3889
4190
  end
3890
4191
 
4192
+ # Allows creating an approval on a file.
4193
+ class StartApprovalRequest
4194
+ include Google::Apis::Core::Hashable
4195
+
4196
+ # Optional. The time that the approval is due.
4197
+ # Corresponds to the JSON property `dueTime`
4198
+ # @return [String]
4199
+ attr_accessor :due_time
4200
+
4201
+ # Optional. Whether to lock the file when starting the approval.
4202
+ # Corresponds to the JSON property `lockFile`
4203
+ # @return [Boolean]
4204
+ attr_accessor :lock_file
4205
+ alias_method :lock_file?, :lock_file
4206
+
4207
+ # Optional. A message to send to reviewers when notifying them of the approval
4208
+ # request.
4209
+ # Corresponds to the JSON property `message`
4210
+ # @return [String]
4211
+ attr_accessor :message
4212
+
4213
+ # Required. The emails of the users who are set to review the approval.
4214
+ # Corresponds to the JSON property `reviewerEmails`
4215
+ # @return [Array<String>]
4216
+ attr_accessor :reviewer_emails
4217
+
4218
+ def initialize(**args)
4219
+ update!(**args)
4220
+ end
4221
+
4222
+ # Update properties of this object
4223
+ def update!(**args)
4224
+ @due_time = args[:due_time] if args.key?(:due_time)
4225
+ @lock_file = args[:lock_file] if args.key?(:lock_file)
4226
+ @message = args[:message] if args.key?(:message)
4227
+ @reviewer_emails = args[:reviewer_emails] if args.key?(:reviewer_emails)
4228
+ end
4229
+ end
4230
+
3891
4231
  #
3892
4232
  class StartPageToken
3893
4233
  include Google::Apis::Core::Hashable
@@ -3954,14 +4294,11 @@ module Google
3954
4294
  end
3955
4295
  end
3956
4296
 
3957
- # Deprecated: use the drive collection instead.
4297
+ # Deprecated: use the drive collection instead. Next ID: 33
3958
4298
  class TeamDrive
3959
4299
  include Google::Apis::Core::Hashable
3960
4300
 
3961
- # An image file and cropping parameters from which a background image for this
3962
- # Team Drive is set. This is a write only field; it can only be set on `drive.
3963
- # teamdrives.update` requests that don't set `themeId`. When specified, all
3964
- # fields of the `backgroundImageFile` must be set.
4301
+ # The background image file for a Team Drive.
3965
4302
  # Corresponds to the JSON property `backgroundImageFile`
3966
4303
  # @return [Google::Apis::DriveV3::TeamDrive::BackgroundImageFile]
3967
4304
  attr_accessor :background_image_file
@@ -4046,10 +4383,7 @@ module Google
4046
4383
  @theme_id = args[:theme_id] if args.key?(:theme_id)
4047
4384
  end
4048
4385
 
4049
- # An image file and cropping parameters from which a background image for this
4050
- # Team Drive is set. This is a write only field; it can only be set on `drive.
4051
- # teamdrives.update` requests that don't set `themeId`. When specified, all
4052
- # fields of the `backgroundImageFile` must be set.
4386
+ # The background image file for a Team Drive.
4053
4387
  class BackgroundImageFile
4054
4388
  include Google::Apis::Core::Hashable
4055
4389
 
@@ -4120,8 +4454,8 @@ module Google
4120
4454
  attr_accessor :can_change_domain_users_only_restriction
4121
4455
  alias_method :can_change_domain_users_only_restriction?, :can_change_domain_users_only_restriction
4122
4456
 
4123
- # Whether the current user can change organizer-applied download restrictions of
4124
- # this shared drive.
4457
+ # Output only. Whether the current user can change organizer-applied download
4458
+ # restrictions of this shared drive.
4125
4459
  # Corresponds to the JSON property `canChangeDownloadRestriction`
4126
4460
  # @return [Boolean]
4127
4461
  attr_accessor :can_change_download_restriction
@@ -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.79.0"
19
+ GEM_VERSION = "0.81.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 = "20260305"
25
+ REVISION = "20260428"
26
26
  end
27
27
  end
28
28
  end