google-apis-drive_v3 0.51.0 → 0.63.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.
@@ -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.51.0"
19
+ GEM_VERSION = "0.63.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240521"
25
+ REVISION = "20250329"
26
26
  end
27
27
  end
28
28
  end
@@ -46,6 +46,18 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
+ class AccessProposal
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class AccessProposalRoleAndView
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
49
61
  class App
50
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
63
 
@@ -106,6 +118,12 @@ module Google
106
118
  include Google::Apis::Core::JsonObjectSupport
107
119
  end
108
120
 
121
+ class DownloadRestriction
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
109
127
  class Drive
110
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
129
 
@@ -238,6 +256,18 @@ module Google
238
256
  include Google::Apis::Core::JsonObjectSupport
239
257
  end
240
258
 
259
+ class ListAccessProposalsResponse
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class ListOperationsResponse
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
241
271
  class ModifyLabelsRequest
242
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
273
 
@@ -250,6 +280,12 @@ module Google
250
280
  include Google::Apis::Core::JsonObjectSupport
251
281
  end
252
282
 
283
+ class Operation
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
253
289
  class Permission
254
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
291
 
@@ -286,6 +322,12 @@ module Google
286
322
  include Google::Apis::Core::JsonObjectSupport
287
323
  end
288
324
 
325
+ class ResolveAccessProposalRequest
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
289
331
  class Revision
290
332
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
333
 
@@ -304,6 +346,12 @@ module Google
304
346
  include Google::Apis::Core::JsonObjectSupport
305
347
  end
306
348
 
349
+ class Status
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
307
355
  class TeamDrive
308
356
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
357
 
@@ -399,6 +447,28 @@ module Google
399
447
  end
400
448
  end
401
449
 
450
+ class AccessProposal
451
+ # @private
452
+ class Representation < Google::Apis::Core::JsonRepresentation
453
+ property :create_time, as: 'createTime'
454
+ property :file_id, as: 'fileId'
455
+ property :proposal_id, as: 'proposalId'
456
+ property :recipient_email_address, as: 'recipientEmailAddress'
457
+ property :request_message, as: 'requestMessage'
458
+ property :requester_email_address, as: 'requesterEmailAddress'
459
+ collection :roles_and_views, as: 'rolesAndViews', class: Google::Apis::DriveV3::AccessProposalRoleAndView, decorator: Google::Apis::DriveV3::AccessProposalRoleAndView::Representation
460
+
461
+ end
462
+ end
463
+
464
+ class AccessProposalRoleAndView
465
+ # @private
466
+ class Representation < Google::Apis::Core::JsonRepresentation
467
+ property :role, as: 'role'
468
+ property :view, as: 'view'
469
+ end
470
+ end
471
+
402
472
  class App
403
473
  # @private
404
474
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -554,6 +624,14 @@ module Google
554
624
  end
555
625
  end
556
626
 
627
+ class DownloadRestriction
628
+ # @private
629
+ class Representation < Google::Apis::Core::JsonRepresentation
630
+ property :restricted_for_readers, as: 'restrictedForReaders'
631
+ property :restricted_for_writers, as: 'restrictedForWriters'
632
+ end
633
+ end
634
+
557
635
  class Drive
558
636
  # @private
559
637
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -617,6 +695,8 @@ module Google
617
695
  property :admin_managed_restrictions, as: 'adminManagedRestrictions'
618
696
  property :copy_requires_writer_permission, as: 'copyRequiresWriterPermission'
619
697
  property :domain_users_only, as: 'domainUsersOnly'
698
+ property :download_restriction, as: 'downloadRestriction', class: Google::Apis::DriveV3::DownloadRestriction, decorator: Google::Apis::DriveV3::DownloadRestriction::Representation
699
+
620
700
  property :drive_members_only, as: 'driveMembersOnly'
621
701
  property :sharing_folders_requires_organizer_permission, as: 'sharingFoldersRequiresOrganizerPermission'
622
702
  end
@@ -660,6 +740,7 @@ module Google
660
740
  property :id, as: 'id'
661
741
  property :image_media_metadata, as: 'imageMediaMetadata', class: Google::Apis::DriveV3::File::ImageMediaMetadata, decorator: Google::Apis::DriveV3::File::ImageMediaMetadata::Representation
662
742
 
743
+ property :inherited_permissions_disabled, as: 'inheritedPermissionsDisabled'
663
744
  property :is_app_authorized, as: 'isAppAuthorized'
664
745
  property :kind, as: 'kind'
665
746
  property :label_info, as: 'labelInfo', class: Google::Apis::DriveV3::File::LabelInfo, decorator: Google::Apis::DriveV3::File::LabelInfo::Representation
@@ -733,8 +814,10 @@ module Google
733
814
  property :can_copy, as: 'canCopy'
734
815
  property :can_delete, as: 'canDelete'
735
816
  property :can_delete_children, as: 'canDeleteChildren'
817
+ property :can_disable_inherited_permissions, as: 'canDisableInheritedPermissions'
736
818
  property :can_download, as: 'canDownload'
737
819
  property :can_edit, as: 'canEdit'
820
+ property :can_enable_inherited_permissions, as: 'canEnableInheritedPermissions'
738
821
  property :can_list_children, as: 'canListChildren'
739
822
  property :can_modify_content, as: 'canModifyContent'
740
823
  property :can_modify_content_restriction, as: 'canModifyContentRestriction'
@@ -938,6 +1021,24 @@ module Google
938
1021
  end
939
1022
  end
940
1023
 
1024
+ class ListAccessProposalsResponse
1025
+ # @private
1026
+ class Representation < Google::Apis::Core::JsonRepresentation
1027
+ collection :access_proposals, as: 'accessProposals', class: Google::Apis::DriveV3::AccessProposal, decorator: Google::Apis::DriveV3::AccessProposal::Representation
1028
+
1029
+ property :next_page_token, as: 'nextPageToken'
1030
+ end
1031
+ end
1032
+
1033
+ class ListOperationsResponse
1034
+ # @private
1035
+ class Representation < Google::Apis::Core::JsonRepresentation
1036
+ property :next_page_token, as: 'nextPageToken'
1037
+ collection :operations, as: 'operations', class: Google::Apis::DriveV3::Operation, decorator: Google::Apis::DriveV3::Operation::Representation
1038
+
1039
+ end
1040
+ end
1041
+
941
1042
  class ModifyLabelsRequest
942
1043
  # @private
943
1044
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -956,6 +1057,18 @@ module Google
956
1057
  end
957
1058
  end
958
1059
 
1060
+ class Operation
1061
+ # @private
1062
+ class Representation < Google::Apis::Core::JsonRepresentation
1063
+ property :done, as: 'done'
1064
+ property :error, as: 'error', class: Google::Apis::DriveV3::Status, decorator: Google::Apis::DriveV3::Status::Representation
1065
+
1066
+ hash :metadata, as: 'metadata'
1067
+ property :name, as: 'name'
1068
+ hash :response, as: 'response'
1069
+ end
1070
+ end
1071
+
959
1072
  class Permission
960
1073
  # @private
961
1074
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -967,6 +1080,7 @@ module Google
967
1080
  property :expiration_time, as: 'expirationTime', type: DateTime
968
1081
 
969
1082
  property :id, as: 'id'
1083
+ property :inherited_permissions_disabled, as: 'inheritedPermissionsDisabled'
970
1084
  property :kind, as: 'kind'
971
1085
  property :pending_owner, as: 'pendingOwner'
972
1086
  collection :permission_details, as: 'permissionDetails', class: Google::Apis::DriveV3::Permission::PermissionDetail, decorator: Google::Apis::DriveV3::Permission::PermissionDetail::Representation
@@ -1038,6 +1152,16 @@ module Google
1038
1152
  end
1039
1153
  end
1040
1154
 
1155
+ class ResolveAccessProposalRequest
1156
+ # @private
1157
+ class Representation < Google::Apis::Core::JsonRepresentation
1158
+ property :action, as: 'action'
1159
+ collection :role, as: 'role'
1160
+ property :send_notification, as: 'sendNotification'
1161
+ property :view, as: 'view'
1162
+ end
1163
+ end
1164
+
1041
1165
  class Revision
1042
1166
  # @private
1043
1167
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1078,6 +1202,15 @@ module Google
1078
1202
  end
1079
1203
  end
1080
1204
 
1205
+ class Status
1206
+ # @private
1207
+ class Representation < Google::Apis::Core::JsonRepresentation
1208
+ property :code, as: 'code'
1209
+ collection :details, as: 'details'
1210
+ property :message, as: 'message'
1211
+ end
1212
+ end
1213
+
1081
1214
  class TeamDrive
1082
1215
  # @private
1083
1216
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1141,6 +1274,8 @@ module Google
1141
1274
  property :admin_managed_restrictions, as: 'adminManagedRestrictions'
1142
1275
  property :copy_requires_writer_permission, as: 'copyRequiresWriterPermission'
1143
1276
  property :domain_users_only, as: 'domainUsersOnly'
1277
+ property :download_restriction, as: 'downloadRestriction', class: Google::Apis::DriveV3::DownloadRestriction, decorator: Google::Apis::DriveV3::DownloadRestriction::Representation
1278
+
1144
1279
  property :sharing_folders_requires_organizer_permission, as: 'sharingFoldersRequiresOrganizerPermission'
1145
1280
  property :team_members_only, as: 'teamMembersOnly'
1146
1281
  end