google-apis-drive_v2 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 +4 -4
- data/CHANGELOG.md +8 -0
- data/OVERVIEW.md +3 -3
- data/lib/google/apis/drive_v2/classes.rb +499 -505
- data/lib/google/apis/drive_v2/gem_version.rb +2 -2
- data/lib/google/apis/drive_v2/service.rb +466 -664
- data/lib/google/apis/drive_v2.rb +3 -4
- metadata +7 -7
@@ -38,17 +38,14 @@ module Google
|
|
38
38
|
attr_accessor :can_create_drives
|
39
39
|
alias_method :can_create_drives?, :can_create_drives
|
40
40
|
|
41
|
-
# Deprecated
|
41
|
+
# Deprecated: Use `canCreateDrives` instead.
|
42
42
|
# Corresponds to the JSON property `canCreateTeamDrives`
|
43
43
|
# @return [Boolean]
|
44
44
|
attr_accessor :can_create_team_drives
|
45
45
|
alias_method :can_create_team_drives?, :can_create_team_drives
|
46
46
|
|
47
|
-
# The domain sharing policy for the current user. Possible values are:
|
48
|
-
#
|
49
|
-
# - allowedWithWarning
|
50
|
-
# - incomingOnly
|
51
|
-
# - disallowed
|
47
|
+
# The domain sharing policy for the current user. Possible values are: * `
|
48
|
+
# allowed` * `allowedWithWarning` * `incomingOnly` * `disallowed`
|
52
49
|
# Corresponds to the JSON property `domainSharingPolicy`
|
53
50
|
# @return [String]
|
54
51
|
attr_accessor :domain_sharing_policy
|
@@ -90,7 +87,7 @@ module Google
|
|
90
87
|
attr_accessor :is_current_app_installed
|
91
88
|
alias_method :is_current_app_installed?, :is_current_app_installed
|
92
89
|
|
93
|
-
# This is always drive#about
|
90
|
+
# This is always `drive#about`.
|
94
91
|
# Corresponds to the JSON property `kind`
|
95
92
|
# @return [String]
|
96
93
|
attr_accessor :kind
|
@@ -148,9 +145,8 @@ module Google
|
|
148
145
|
# @return [Fixnum]
|
149
146
|
attr_accessor :quota_bytes_used_in_trash
|
150
147
|
|
151
|
-
# The type of the user's storage quota. Possible values are:
|
152
|
-
#
|
153
|
-
# - UNLIMITED
|
148
|
+
# The type of the user's storage quota. Possible values are: * `LIMITED` * `
|
149
|
+
# UNLIMITED`
|
154
150
|
# Corresponds to the JSON property `quotaType`
|
155
151
|
# @return [String]
|
156
152
|
attr_accessor :quota_type
|
@@ -170,7 +166,7 @@ module Google
|
|
170
166
|
# @return [String]
|
171
167
|
attr_accessor :self_link
|
172
168
|
|
173
|
-
# Deprecated
|
169
|
+
# Deprecated: Use `driveThemes` instead.
|
174
170
|
# Corresponds to the JSON property `teamDriveThemes`
|
175
171
|
# @return [Array<Google::Apis::DriveV2::About::TeamDriveTheme>]
|
176
172
|
attr_accessor :team_drive_themes
|
@@ -426,17 +422,17 @@ module Google
|
|
426
422
|
class TeamDriveTheme
|
427
423
|
include Google::Apis::Core::Hashable
|
428
424
|
|
429
|
-
# Deprecated
|
425
|
+
# Deprecated: Use `driveThemes/backgroundImageLink` instead.
|
430
426
|
# Corresponds to the JSON property `backgroundImageLink`
|
431
427
|
# @return [String]
|
432
428
|
attr_accessor :background_image_link
|
433
429
|
|
434
|
-
# Deprecated
|
430
|
+
# Deprecated: Use `driveThemes/colorRgb` instead.
|
435
431
|
# Corresponds to the JSON property `colorRgb`
|
436
432
|
# @return [String]
|
437
433
|
attr_accessor :color_rgb
|
438
434
|
|
439
|
-
# Deprecated
|
435
|
+
# Deprecated: Use `driveThemes/id` instead.
|
440
436
|
# Corresponds to the JSON property `id`
|
441
437
|
# @return [String]
|
442
438
|
attr_accessor :id
|
@@ -501,7 +497,7 @@ module Google
|
|
501
497
|
attr_accessor :installed
|
502
498
|
alias_method :installed?, :installed
|
503
499
|
|
504
|
-
# This is always drive#app
|
500
|
+
# This is always `drive#app`.
|
505
501
|
# Corresponds to the JSON property `kind`
|
506
502
|
# @return [String]
|
507
503
|
attr_accessor :kind
|
@@ -522,9 +518,9 @@ module Google
|
|
522
518
|
# @return [String]
|
523
519
|
attr_accessor :object_type
|
524
520
|
|
525
|
-
# The template url for opening files with this app. The template will contain
|
526
|
-
# ids
|
527
|
-
# for the full documentation.
|
521
|
+
# The template url for opening files with this app. The template will contain ``
|
522
|
+
# ids`` and/or ``exportIds`` to be replaced by the actual file ids. See Open
|
523
|
+
# Files for the full documentation.
|
528
524
|
# Corresponds to the JSON property `openUrlTemplate`
|
529
525
|
# @return [String]
|
530
526
|
attr_accessor :open_url_template
|
@@ -630,10 +626,9 @@ module Google
|
|
630
626
|
class Icon
|
631
627
|
include Google::Apis::Core::Hashable
|
632
628
|
|
633
|
-
# Category of the icon. Allowed values are:
|
634
|
-
#
|
635
|
-
#
|
636
|
-
# - documentShared - icon for a shared file associated with the app
|
629
|
+
# Category of the icon. Allowed values are: * `application` - icon for the
|
630
|
+
# application * `document` - icon for a file associated with the app * `
|
631
|
+
# documentShared` - icon for a shared file associated with the app
|
637
632
|
# Corresponds to the JSON property `category`
|
638
633
|
# @return [String]
|
639
634
|
attr_accessor :category
|
@@ -682,7 +677,7 @@ module Google
|
|
682
677
|
# @return [Array<Google::Apis::DriveV2::App>]
|
683
678
|
attr_accessor :items
|
684
679
|
|
685
|
-
# This is always drive#appList
|
680
|
+
# This is always `drive#appList`.
|
686
681
|
# Corresponds to the JSON property `kind`
|
687
682
|
# @return [String]
|
688
683
|
attr_accessor :kind
|
@@ -710,7 +705,7 @@ module Google
|
|
710
705
|
class Change
|
711
706
|
include Google::Apis::Core::Hashable
|
712
707
|
|
713
|
-
# The type of the change. Possible values are file and drive
|
708
|
+
# The type of the change. Possible values are `file` and `drive`.
|
714
709
|
# Corresponds to the JSON property `changeType`
|
715
710
|
# @return [String]
|
716
711
|
attr_accessor :change_type
|
@@ -747,7 +742,7 @@ module Google
|
|
747
742
|
# @return [Fixnum]
|
748
743
|
attr_accessor :id
|
749
744
|
|
750
|
-
# This is always drive#change
|
745
|
+
# This is always `drive#change`.
|
751
746
|
# Corresponds to the JSON property `kind`
|
752
747
|
# @return [String]
|
753
748
|
attr_accessor :kind
|
@@ -762,17 +757,17 @@ module Google
|
|
762
757
|
# @return [String]
|
763
758
|
attr_accessor :self_link
|
764
759
|
|
765
|
-
# Deprecated:
|
760
|
+
# Deprecated: Use the `drive` collection instead.
|
766
761
|
# Corresponds to the JSON property `teamDrive`
|
767
762
|
# @return [Google::Apis::DriveV2::TeamDrive]
|
768
763
|
attr_accessor :team_drive
|
769
764
|
|
770
|
-
# Deprecated
|
765
|
+
# Deprecated: Use `driveId` instead.
|
771
766
|
# Corresponds to the JSON property `teamDriveId`
|
772
767
|
# @return [String]
|
773
768
|
attr_accessor :team_drive_id
|
774
769
|
|
775
|
-
# Deprecated
|
770
|
+
# Deprecated: Use `changeType` instead.
|
776
771
|
# Corresponds to the JSON property `type`
|
777
772
|
# @return [String]
|
778
773
|
attr_accessor :type
|
@@ -814,7 +809,7 @@ module Google
|
|
814
809
|
# @return [Array<Google::Apis::DriveV2::Change>]
|
815
810
|
attr_accessor :items
|
816
811
|
|
817
|
-
# This is always drive#changeList
|
812
|
+
# This is always `drive#changeList`.
|
818
813
|
# Corresponds to the JSON property `kind`
|
819
814
|
# @return [String]
|
820
815
|
attr_accessor :kind
|
@@ -865,7 +860,7 @@ module Google
|
|
865
860
|
end
|
866
861
|
end
|
867
862
|
|
868
|
-
#
|
863
|
+
# A notification channel used to watch for resource changes.
|
869
864
|
class Channel
|
870
865
|
include Google::Apis::Core::Hashable
|
871
866
|
|
@@ -886,7 +881,7 @@ module Google
|
|
886
881
|
attr_accessor :id
|
887
882
|
|
888
883
|
# Identifies this as a notification channel used to watch for changes to a
|
889
|
-
# resource, which is
|
884
|
+
# resource, which is `api#channel`.
|
890
885
|
# Corresponds to the JSON property `kind`
|
891
886
|
# @return [String]
|
892
887
|
attr_accessor :kind
|
@@ -919,9 +914,7 @@ module Google
|
|
919
914
|
# @return [String]
|
920
915
|
attr_accessor :token
|
921
916
|
|
922
|
-
# The type of delivery mechanism used for this channel.
|
923
|
-
# web_hook" (or "webhook"). Both values refer to a channel where Http requests
|
924
|
-
# are used to deliver messages.
|
917
|
+
# The type of delivery mechanism used for this channel.
|
925
918
|
# Corresponds to the JSON property `type`
|
926
919
|
# @return [String]
|
927
920
|
attr_accessor :type
|
@@ -960,7 +953,7 @@ module Google
|
|
960
953
|
# @return [Array<Google::Apis::DriveV2::ChildReference>]
|
961
954
|
attr_accessor :items
|
962
955
|
|
963
|
-
# This is always drive#childList
|
956
|
+
# This is always `drive#childList`.
|
964
957
|
# Corresponds to the JSON property `kind`
|
965
958
|
# @return [String]
|
966
959
|
attr_accessor :kind
|
@@ -1002,7 +995,7 @@ module Google
|
|
1002
995
|
class ChildReference
|
1003
996
|
include Google::Apis::Core::Hashable
|
1004
997
|
|
1005
|
-
# A link to the child.
|
998
|
+
# Output only. A link to the child.
|
1006
999
|
# Corresponds to the JSON property `childLink`
|
1007
1000
|
# @return [String]
|
1008
1001
|
attr_accessor :child_link
|
@@ -1012,12 +1005,12 @@ module Google
|
|
1012
1005
|
# @return [String]
|
1013
1006
|
attr_accessor :id
|
1014
1007
|
|
1015
|
-
# This is always drive#childReference
|
1008
|
+
# Output only. This is always `drive#childReference`.
|
1016
1009
|
# Corresponds to the JSON property `kind`
|
1017
1010
|
# @return [String]
|
1018
1011
|
attr_accessor :kind
|
1019
1012
|
|
1020
|
-
# A link back to this reference.
|
1013
|
+
# Output only. A link back to this reference.
|
1021
1014
|
# Corresponds to the JSON property `selfLink`
|
1022
1015
|
# @return [String]
|
1023
1016
|
attr_accessor :self_link
|
@@ -1040,7 +1033,8 @@ module Google
|
|
1040
1033
|
include Google::Apis::Core::Hashable
|
1041
1034
|
|
1042
1035
|
# A region of the document represented as a JSON string. For details on defining
|
1043
|
-
# anchor properties, refer to
|
1036
|
+
# anchor properties, refer to [Add comments and replies](https://developers.
|
1037
|
+
# google.com/drive/api/v2/manage-comments).
|
1044
1038
|
# Corresponds to the JSON property `anchor`
|
1045
1039
|
# @return [String]
|
1046
1040
|
attr_accessor :anchor
|
@@ -1050,7 +1044,7 @@ module Google
|
|
1050
1044
|
# @return [Google::Apis::DriveV2::User]
|
1051
1045
|
attr_accessor :author
|
1052
1046
|
|
1053
|
-
# The ID of the comment.
|
1047
|
+
# Output only. The ID of the comment.
|
1054
1048
|
# Corresponds to the JSON property `commentId`
|
1055
1049
|
# @return [String]
|
1056
1050
|
attr_accessor :comment_id
|
@@ -1071,30 +1065,30 @@ module Google
|
|
1071
1065
|
# @return [DateTime]
|
1072
1066
|
attr_accessor :created_date
|
1073
1067
|
|
1074
|
-
# Whether this comment has been deleted. If a comment has been
|
1075
|
-
# content will be cleared and this will only represent a comment
|
1076
|
-
# existed.
|
1068
|
+
# Output only. Whether this comment has been deleted. If a comment has been
|
1069
|
+
# deleted the content will be cleared and this will only represent a comment
|
1070
|
+
# that once existed.
|
1077
1071
|
# Corresponds to the JSON property `deleted`
|
1078
1072
|
# @return [Boolean]
|
1079
1073
|
attr_accessor :deleted
|
1080
1074
|
alias_method :deleted?, :deleted
|
1081
1075
|
|
1082
|
-
# The file which this comment is addressing.
|
1076
|
+
# Output only. The file which this comment is addressing.
|
1083
1077
|
# Corresponds to the JSON property `fileId`
|
1084
1078
|
# @return [String]
|
1085
1079
|
attr_accessor :file_id
|
1086
1080
|
|
1087
|
-
# The title of the file which this comment is addressing.
|
1081
|
+
# Output only. The title of the file which this comment is addressing.
|
1088
1082
|
# Corresponds to the JSON property `fileTitle`
|
1089
1083
|
# @return [String]
|
1090
1084
|
attr_accessor :file_title
|
1091
1085
|
|
1092
|
-
# HTML formatted content for this comment.
|
1086
|
+
# Output only. HTML formatted content for this comment.
|
1093
1087
|
# Corresponds to the JSON property `htmlContent`
|
1094
1088
|
# @return [String]
|
1095
1089
|
attr_accessor :html_content
|
1096
1090
|
|
1097
|
-
# This is always drive#comment
|
1091
|
+
# Output only. This is always `drive#comment`.
|
1098
1092
|
# Corresponds to the JSON property `kind`
|
1099
1093
|
# @return [String]
|
1100
1094
|
attr_accessor :kind
|
@@ -1104,20 +1098,19 @@ module Google
|
|
1104
1098
|
# @return [DateTime]
|
1105
1099
|
attr_accessor :modified_date
|
1106
1100
|
|
1107
|
-
# Replies to this post.
|
1101
|
+
# Output only. Replies to this post.
|
1108
1102
|
# Corresponds to the JSON property `replies`
|
1109
1103
|
# @return [Array<Google::Apis::DriveV2::CommentReply>]
|
1110
1104
|
attr_accessor :replies
|
1111
1105
|
|
1112
|
-
# A link back to this comment.
|
1106
|
+
# Output only. A link back to this comment.
|
1113
1107
|
# Corresponds to the JSON property `selfLink`
|
1114
1108
|
# @return [String]
|
1115
1109
|
attr_accessor :self_link
|
1116
1110
|
|
1117
|
-
# The status of this comment. Status can be changed by posting a
|
1118
|
-
# comment with the desired status.
|
1119
|
-
#
|
1120
|
-
# - "resolved" - The comment has been resolved by one of its replies.
|
1111
|
+
# Output only. The status of this comment. Status can be changed by posting a
|
1112
|
+
# reply to a comment with the desired status. * `open` - The comment is still
|
1113
|
+
# open. * `resolved` - The comment has been resolved by one of its replies.
|
1121
1114
|
# Corresponds to the JSON property `status`
|
1122
1115
|
# @return [String]
|
1123
1116
|
attr_accessor :status
|
@@ -1183,7 +1176,7 @@ module Google
|
|
1183
1176
|
# @return [Array<Google::Apis::DriveV2::Comment>]
|
1184
1177
|
attr_accessor :items
|
1185
1178
|
|
1186
|
-
# This is always drive#commentList
|
1179
|
+
# This is always `drive#commentList`.
|
1187
1180
|
# Corresponds to the JSON property `kind`
|
1188
1181
|
# @return [String]
|
1189
1182
|
attr_accessor :kind
|
@@ -1241,19 +1234,20 @@ module Google
|
|
1241
1234
|
# @return [DateTime]
|
1242
1235
|
attr_accessor :created_date
|
1243
1236
|
|
1244
|
-
# Whether this reply has been deleted. If a reply has been deleted
|
1245
|
-
# will be cleared and this will only represent a reply that once
|
1237
|
+
# Output only. Whether this reply has been deleted. If a reply has been deleted
|
1238
|
+
# the content will be cleared and this will only represent a reply that once
|
1239
|
+
# existed.
|
1246
1240
|
# Corresponds to the JSON property `deleted`
|
1247
1241
|
# @return [Boolean]
|
1248
1242
|
attr_accessor :deleted
|
1249
1243
|
alias_method :deleted?, :deleted
|
1250
1244
|
|
1251
|
-
# HTML formatted content for this reply.
|
1245
|
+
# Output only. HTML formatted content for this reply.
|
1252
1246
|
# Corresponds to the JSON property `htmlContent`
|
1253
1247
|
# @return [String]
|
1254
1248
|
attr_accessor :html_content
|
1255
1249
|
|
1256
|
-
# This is always drive#commentReply
|
1250
|
+
# Output only. This is always `drive#commentReply`.
|
1257
1251
|
# Corresponds to the JSON property `kind`
|
1258
1252
|
# @return [String]
|
1259
1253
|
attr_accessor :kind
|
@@ -1263,16 +1257,15 @@ module Google
|
|
1263
1257
|
# @return [DateTime]
|
1264
1258
|
attr_accessor :modified_date
|
1265
1259
|
|
1266
|
-
# The ID of the reply.
|
1260
|
+
# Output only. The ID of the reply.
|
1267
1261
|
# Corresponds to the JSON property `replyId`
|
1268
1262
|
# @return [String]
|
1269
1263
|
attr_accessor :reply_id
|
1270
1264
|
|
1271
1265
|
# The action this reply performed to the parent comment. When creating a new
|
1272
1266
|
# reply this is the action to be perform to the parent comment. Possible values
|
1273
|
-
# are:
|
1274
|
-
#
|
1275
|
-
# - "reopen" - To reopen (un-resolve) a comment.
|
1267
|
+
# are: * `resolve` - To resolve a comment. * `reopen` - To reopen (un-resolve) a
|
1268
|
+
# comment.
|
1276
1269
|
# Corresponds to the JSON property `verb`
|
1277
1270
|
# @return [String]
|
1278
1271
|
attr_accessor :verb
|
@@ -1305,7 +1298,7 @@ module Google
|
|
1305
1298
|
# @return [Array<Google::Apis::DriveV2::CommentReply>]
|
1306
1299
|
attr_accessor :items
|
1307
1300
|
|
1308
|
-
# This is always drive#commentReplyList
|
1301
|
+
# This is always `drive#commentReplyList`.
|
1309
1302
|
# Corresponds to the JSON property `kind`
|
1310
1303
|
# @return [String]
|
1311
1304
|
attr_accessor :kind
|
@@ -1355,7 +1348,7 @@ module Google
|
|
1355
1348
|
alias_method :read_only?, :read_only
|
1356
1349
|
|
1357
1350
|
# Reason for why the content of the file is restricted. This is only mutable on
|
1358
|
-
# requests that also set readOnly=true
|
1351
|
+
# requests that also set `readOnly=true`.
|
1359
1352
|
# Corresponds to the JSON property `reason`
|
1360
1353
|
# @return [String]
|
1361
1354
|
attr_accessor :reason
|
@@ -1371,8 +1364,8 @@ module Google
|
|
1371
1364
|
# @return [DateTime]
|
1372
1365
|
attr_accessor :restriction_date
|
1373
1366
|
|
1374
|
-
# The type of the content restriction. Currently the only possible
|
1375
|
-
# globalContentRestriction
|
1367
|
+
# Output only. The type of the content restriction. Currently the only possible
|
1368
|
+
# value is `globalContentRestriction`.
|
1376
1369
|
# Corresponds to the JSON property `type`
|
1377
1370
|
# @return [String]
|
1378
1371
|
attr_accessor :type
|
@@ -1396,25 +1389,25 @@ module Google
|
|
1396
1389
|
include Google::Apis::Core::Hashable
|
1397
1390
|
|
1398
1391
|
# An image file and cropping parameters from which a background image for this
|
1399
|
-
# shared drive is set. This is a write only field; it can only be set on drive.
|
1400
|
-
# drives.update requests that don't set themeId
|
1401
|
-
# the backgroundImageFile must be set.
|
1392
|
+
# shared drive is set. This is a write only field; it can only be set on `drive.
|
1393
|
+
# drives.update` requests that don't set `themeId`. When specified, all fields
|
1394
|
+
# of the `backgroundImageFile` must be set.
|
1402
1395
|
# Corresponds to the JSON property `backgroundImageFile`
|
1403
1396
|
# @return [Google::Apis::DriveV2::Drive::BackgroundImageFile]
|
1404
1397
|
attr_accessor :background_image_file
|
1405
1398
|
|
1406
|
-
# A short-lived link to this shared drive's background image.
|
1399
|
+
# Output only. A short-lived link to this shared drive's background image.
|
1407
1400
|
# Corresponds to the JSON property `backgroundImageLink`
|
1408
1401
|
# @return [String]
|
1409
1402
|
attr_accessor :background_image_link
|
1410
1403
|
|
1411
|
-
# Capabilities the current user has on this shared drive.
|
1404
|
+
# Output only. Capabilities the current user has on this shared drive.
|
1412
1405
|
# Corresponds to the JSON property `capabilities`
|
1413
1406
|
# @return [Google::Apis::DriveV2::Drive::Capabilities]
|
1414
1407
|
attr_accessor :capabilities
|
1415
1408
|
|
1416
|
-
# The color of this shared drive as an RGB hex string. It can only be set on a
|
1417
|
-
# drive.drives.update request that does not set themeId
|
1409
|
+
# The color of this shared drive as an RGB hex string. It can only be set on a `
|
1410
|
+
# drive.drives.update` request that does not set `themeId`.
|
1418
1411
|
# Corresponds to the JSON property `colorRgb`
|
1419
1412
|
# @return [String]
|
1420
1413
|
attr_accessor :color_rgb
|
@@ -1430,13 +1423,13 @@ module Google
|
|
1430
1423
|
attr_accessor :hidden
|
1431
1424
|
alias_method :hidden?, :hidden
|
1432
1425
|
|
1433
|
-
# The ID of this shared drive which is also the ID of the top level
|
1434
|
-
# this shared drive.
|
1426
|
+
# Output only. The ID of this shared drive which is also the ID of the top level
|
1427
|
+
# folder of this shared drive.
|
1435
1428
|
# Corresponds to the JSON property `id`
|
1436
1429
|
# @return [String]
|
1437
1430
|
attr_accessor :id
|
1438
1431
|
|
1439
|
-
# This is always drive#drive
|
1432
|
+
# Output only. This is always `drive#drive`
|
1440
1433
|
# Corresponds to the JSON property `kind`
|
1441
1434
|
# @return [String]
|
1442
1435
|
attr_accessor :kind
|
@@ -1446,8 +1439,9 @@ module Google
|
|
1446
1439
|
# @return [String]
|
1447
1440
|
attr_accessor :name
|
1448
1441
|
|
1449
|
-
# The organizational unit of this shared drive. This field is only
|
1450
|
-
# drives.list responses when the useDomainAdminAccess parameter
|
1442
|
+
# Output only. The organizational unit of this shared drive. This field is only
|
1443
|
+
# populated on `drives.list` responses when the `useDomainAdminAccess` parameter
|
1444
|
+
# is set to `true`.
|
1451
1445
|
# Corresponds to the JSON property `orgUnitId`
|
1452
1446
|
# @return [String]
|
1453
1447
|
attr_accessor :org_unit_id
|
@@ -1459,10 +1453,11 @@ module Google
|
|
1459
1453
|
attr_accessor :restrictions
|
1460
1454
|
|
1461
1455
|
# The ID of the theme from which the background image and color will be set. The
|
1462
|
-
# set of possible driveThemes can be retrieved from a drive.about.get
|
1463
|
-
# When not specified on a drive.drives.insert request, a random
|
1464
|
-
# from which the background image and color are set. This is a
|
1465
|
-
# it can only be set on requests that don't set colorRgb or
|
1456
|
+
# set of possible `driveThemes` can be retrieved from a `drive.about.get`
|
1457
|
+
# response. When not specified on a `drive.drives.insert` request, a random
|
1458
|
+
# theme is chosen from which the background image and color are set. This is a
|
1459
|
+
# write-only field; it can only be set on requests that don't set `colorRgb` or `
|
1460
|
+
# backgroundImageFile`.
|
1466
1461
|
# Corresponds to the JSON property `themeId`
|
1467
1462
|
# @return [String]
|
1468
1463
|
attr_accessor :theme_id
|
@@ -1488,9 +1483,9 @@ module Google
|
|
1488
1483
|
end
|
1489
1484
|
|
1490
1485
|
# An image file and cropping parameters from which a background image for this
|
1491
|
-
# shared drive is set. This is a write only field; it can only be set on drive.
|
1492
|
-
# drives.update requests that don't set themeId
|
1493
|
-
# the backgroundImageFile must be set.
|
1486
|
+
# shared drive is set. This is a write only field; it can only be set on `drive.
|
1487
|
+
# drives.update` requests that don't set `themeId`. When specified, all fields
|
1488
|
+
# of the `backgroundImageFile` must be set.
|
1494
1489
|
class BackgroundImageFile
|
1495
1490
|
include Google::Apis::Core::Hashable
|
1496
1491
|
|
@@ -1537,133 +1532,142 @@ module Google
|
|
1537
1532
|
end
|
1538
1533
|
end
|
1539
1534
|
|
1540
|
-
# Capabilities the current user has on this shared drive.
|
1535
|
+
# Output only. Capabilities the current user has on this shared drive.
|
1541
1536
|
class Capabilities
|
1542
1537
|
include Google::Apis::Core::Hashable
|
1543
1538
|
|
1544
|
-
# Whether the current user can add children to folders in this
|
1539
|
+
# Output only. Whether the current user can add children to folders in this
|
1540
|
+
# shared drive.
|
1545
1541
|
# Corresponds to the JSON property `canAddChildren`
|
1546
1542
|
# @return [Boolean]
|
1547
1543
|
attr_accessor :can_add_children
|
1548
1544
|
alias_method :can_add_children?, :can_add_children
|
1549
1545
|
|
1550
|
-
# Whether the current user can change the
|
1551
|
-
# restriction of this shared drive.
|
1546
|
+
# Output only. Whether the current user can change the `
|
1547
|
+
# copyRequiresWriterPermission` restriction of this shared drive.
|
1552
1548
|
# Corresponds to the JSON property `canChangeCopyRequiresWriterPermissionRestriction`
|
1553
1549
|
# @return [Boolean]
|
1554
1550
|
attr_accessor :can_change_copy_requires_writer_permission_restriction
|
1555
1551
|
alias_method :can_change_copy_requires_writer_permission_restriction?, :can_change_copy_requires_writer_permission_restriction
|
1556
1552
|
|
1557
|
-
# Whether the current user can change the domainUsersOnly
|
1558
|
-
# shared drive.
|
1553
|
+
# Output only. Whether the current user can change the `domainUsersOnly`
|
1554
|
+
# restriction of this shared drive.
|
1559
1555
|
# Corresponds to the JSON property `canChangeDomainUsersOnlyRestriction`
|
1560
1556
|
# @return [Boolean]
|
1561
1557
|
attr_accessor :can_change_domain_users_only_restriction
|
1562
1558
|
alias_method :can_change_domain_users_only_restriction?, :can_change_domain_users_only_restriction
|
1563
1559
|
|
1564
|
-
# Whether the current user can change the background of this shared
|
1560
|
+
# Output only. Whether the current user can change the background of this shared
|
1561
|
+
# drive.
|
1565
1562
|
# Corresponds to the JSON property `canChangeDriveBackground`
|
1566
1563
|
# @return [Boolean]
|
1567
1564
|
attr_accessor :can_change_drive_background
|
1568
1565
|
alias_method :can_change_drive_background?, :can_change_drive_background
|
1569
1566
|
|
1570
|
-
# Whether the current user can change the driveMembersOnly
|
1571
|
-
# shared drive.
|
1567
|
+
# Output only. Whether the current user can change the `driveMembersOnly`
|
1568
|
+
# restriction of this shared drive.
|
1572
1569
|
# Corresponds to the JSON property `canChangeDriveMembersOnlyRestriction`
|
1573
1570
|
# @return [Boolean]
|
1574
1571
|
attr_accessor :can_change_drive_members_only_restriction
|
1575
1572
|
alias_method :can_change_drive_members_only_restriction?, :can_change_drive_members_only_restriction
|
1576
1573
|
|
1577
|
-
# Whether the current user can change the
|
1578
|
-
# sharingFoldersRequiresOrganizerPermission restriction of this shared drive.
|
1574
|
+
# Output only. Whether the current user can change the `
|
1575
|
+
# sharingFoldersRequiresOrganizerPermission` restriction of this shared drive.
|
1579
1576
|
# Corresponds to the JSON property `canChangeSharingFoldersRequiresOrganizerPermissionRestriction`
|
1580
1577
|
# @return [Boolean]
|
1581
1578
|
attr_accessor :can_change_sharing_folders_requires_organizer_permission_restriction
|
1582
1579
|
alias_method :can_change_sharing_folders_requires_organizer_permission_restriction?, :can_change_sharing_folders_requires_organizer_permission_restriction
|
1583
1580
|
|
1584
|
-
# Whether the current user can comment on files in this shared
|
1581
|
+
# Output only. Whether the current user can comment on files in this shared
|
1582
|
+
# drive.
|
1585
1583
|
# Corresponds to the JSON property `canComment`
|
1586
1584
|
# @return [Boolean]
|
1587
1585
|
attr_accessor :can_comment
|
1588
1586
|
alias_method :can_comment?, :can_comment
|
1589
1587
|
|
1590
|
-
# Whether the current user can copy files in this shared drive.
|
1588
|
+
# Output only. Whether the current user can copy files in this shared drive.
|
1591
1589
|
# Corresponds to the JSON property `canCopy`
|
1592
1590
|
# @return [Boolean]
|
1593
1591
|
attr_accessor :can_copy
|
1594
1592
|
alias_method :can_copy?, :can_copy
|
1595
1593
|
|
1596
|
-
# Whether the current user can delete children from folders in this
|
1594
|
+
# Output only. Whether the current user can delete children from folders in this
|
1595
|
+
# shared drive.
|
1597
1596
|
# Corresponds to the JSON property `canDeleteChildren`
|
1598
1597
|
# @return [Boolean]
|
1599
1598
|
attr_accessor :can_delete_children
|
1600
1599
|
alias_method :can_delete_children?, :can_delete_children
|
1601
1600
|
|
1602
|
-
# Whether the current user can delete this shared drive. Attempting
|
1603
|
-
# the shared drive may still fail if there are untrashed items inside
|
1604
|
-
# drive.
|
1601
|
+
# Output only. Whether the current user can delete this shared drive. Attempting
|
1602
|
+
# to delete the shared drive may still fail if there are untrashed items inside
|
1603
|
+
# the shared drive.
|
1605
1604
|
# Corresponds to the JSON property `canDeleteDrive`
|
1606
1605
|
# @return [Boolean]
|
1607
1606
|
attr_accessor :can_delete_drive
|
1608
1607
|
alias_method :can_delete_drive?, :can_delete_drive
|
1609
1608
|
|
1610
|
-
# Whether the current user can download files in this shared drive.
|
1609
|
+
# Output only. Whether the current user can download files in this shared drive.
|
1611
1610
|
# Corresponds to the JSON property `canDownload`
|
1612
1611
|
# @return [Boolean]
|
1613
1612
|
attr_accessor :can_download
|
1614
1613
|
alias_method :can_download?, :can_download
|
1615
1614
|
|
1616
|
-
# Whether the current user can edit files in this shared drive
|
1615
|
+
# Output only. Whether the current user can edit files in this shared drive
|
1617
1616
|
# Corresponds to the JSON property `canEdit`
|
1618
1617
|
# @return [Boolean]
|
1619
1618
|
attr_accessor :can_edit
|
1620
1619
|
alias_method :can_edit?, :can_edit
|
1621
1620
|
|
1622
|
-
# Whether the current user can list the children of folders in this
|
1621
|
+
# Output only. Whether the current user can list the children of folders in this
|
1622
|
+
# shared drive.
|
1623
1623
|
# Corresponds to the JSON property `canListChildren`
|
1624
1624
|
# @return [Boolean]
|
1625
1625
|
attr_accessor :can_list_children
|
1626
1626
|
alias_method :can_list_children?, :can_list_children
|
1627
1627
|
|
1628
|
-
# Whether the current user can add members to this shared drive or
|
1629
|
-
# or change their role.
|
1628
|
+
# Output only. Whether the current user can add members to this shared drive or
|
1629
|
+
# remove them or change their role.
|
1630
1630
|
# Corresponds to the JSON property `canManageMembers`
|
1631
1631
|
# @return [Boolean]
|
1632
1632
|
attr_accessor :can_manage_members
|
1633
1633
|
alias_method :can_manage_members?, :can_manage_members
|
1634
1634
|
|
1635
|
-
# Whether the current user can read the revisions resource of files
|
1636
|
-
# shared drive.
|
1635
|
+
# Output only. Whether the current user can read the revisions resource of files
|
1636
|
+
# in this shared drive.
|
1637
1637
|
# Corresponds to the JSON property `canReadRevisions`
|
1638
1638
|
# @return [Boolean]
|
1639
1639
|
attr_accessor :can_read_revisions
|
1640
1640
|
alias_method :can_read_revisions?, :can_read_revisions
|
1641
1641
|
|
1642
|
-
# Whether the current user can rename files or folders in this
|
1642
|
+
# Output only. Whether the current user can rename files or folders in this
|
1643
|
+
# shared drive.
|
1643
1644
|
# Corresponds to the JSON property `canRename`
|
1644
1645
|
# @return [Boolean]
|
1645
1646
|
attr_accessor :can_rename
|
1646
1647
|
alias_method :can_rename?, :can_rename
|
1647
1648
|
|
1648
|
-
# Whether the current user can rename this shared drive.
|
1649
|
+
# Output only. Whether the current user can rename this shared drive.
|
1649
1650
|
# Corresponds to the JSON property `canRenameDrive`
|
1650
1651
|
# @return [Boolean]
|
1651
1652
|
attr_accessor :can_rename_drive
|
1652
1653
|
alias_method :can_rename_drive?, :can_rename_drive
|
1653
1654
|
|
1654
|
-
# Whether the current user can reset the shared drive restrictions
|
1655
|
+
# Output only. Whether the current user can reset the shared drive restrictions
|
1656
|
+
# to defaults.
|
1655
1657
|
# Corresponds to the JSON property `canResetDriveRestrictions`
|
1656
1658
|
# @return [Boolean]
|
1657
1659
|
attr_accessor :can_reset_drive_restrictions
|
1658
1660
|
alias_method :can_reset_drive_restrictions?, :can_reset_drive_restrictions
|
1659
1661
|
|
1660
|
-
# Whether the current user can share files or folders in this
|
1662
|
+
# Output only. Whether the current user can share files or folders in this
|
1663
|
+
# shared drive.
|
1661
1664
|
# Corresponds to the JSON property `canShare`
|
1662
1665
|
# @return [Boolean]
|
1663
1666
|
attr_accessor :can_share
|
1664
1667
|
alias_method :can_share?, :can_share
|
1665
1668
|
|
1666
|
-
# Whether the current user can trash children from folders in this
|
1669
|
+
# Output only. Whether the current user can trash children from folders in this
|
1670
|
+
# shared drive.
|
1667
1671
|
# Corresponds to the JSON property `canTrashChildren`
|
1668
1672
|
# @return [Boolean]
|
1669
1673
|
attr_accessor :can_trash_children
|
@@ -1712,7 +1716,7 @@ module Google
|
|
1712
1716
|
|
1713
1717
|
# Whether the options to copy, print, or download files inside this shared drive,
|
1714
1718
|
# should be disabled for readers and commenters. When this restriction is set
|
1715
|
-
# to true
|
1719
|
+
# to `true`, it will override the similarly named field to `true` for any file
|
1716
1720
|
# inside this shared drive.
|
1717
1721
|
# Corresponds to the JSON property `copyRequiresWriterPermission`
|
1718
1722
|
# @return [Boolean]
|
@@ -1766,7 +1770,7 @@ module Google
|
|
1766
1770
|
# @return [Array<Google::Apis::DriveV2::Drive>]
|
1767
1771
|
attr_accessor :items
|
1768
1772
|
|
1769
|
-
# This is always drive#driveList
|
1773
|
+
# This is always `drive#driveList`
|
1770
1774
|
# Corresponds to the JSON property `kind`
|
1771
1775
|
# @return [String]
|
1772
1776
|
attr_accessor :kind
|
@@ -1795,31 +1799,31 @@ module Google
|
|
1795
1799
|
class File
|
1796
1800
|
include Google::Apis::Core::Hashable
|
1797
1801
|
|
1798
|
-
# A link for opening the file in a relevant Google editor or viewer.
|
1802
|
+
# Output only. A link for opening the file in a relevant Google editor or viewer.
|
1799
1803
|
# Corresponds to the JSON property `alternateLink`
|
1800
1804
|
# @return [String]
|
1801
1805
|
attr_accessor :alternate_link
|
1802
1806
|
|
1803
|
-
# Whether this file is in the Application Data folder.
|
1807
|
+
# Output only. Whether this file is in the Application Data folder.
|
1804
1808
|
# Corresponds to the JSON property `appDataContents`
|
1805
1809
|
# @return [Boolean]
|
1806
1810
|
attr_accessor :app_data_contents
|
1807
1811
|
alias_method :app_data_contents?, :app_data_contents
|
1808
1812
|
|
1809
|
-
# Deprecated:
|
1813
|
+
# Output only. Deprecated: Use `capabilities/canComment` instead.
|
1810
1814
|
# Corresponds to the JSON property `canComment`
|
1811
1815
|
# @return [Boolean]
|
1812
1816
|
attr_accessor :can_comment
|
1813
1817
|
alias_method :can_comment?, :can_comment
|
1814
1818
|
|
1815
|
-
# Deprecated:
|
1819
|
+
# Output only. Deprecated: Use `capabilities/canReadRevisions` instead.
|
1816
1820
|
# Corresponds to the JSON property `canReadRevisions`
|
1817
1821
|
# @return [Boolean]
|
1818
1822
|
attr_accessor :can_read_revisions
|
1819
1823
|
alias_method :can_read_revisions?, :can_read_revisions
|
1820
1824
|
|
1821
|
-
# Capabilities the current user has on this file. Each capability
|
1822
|
-
# a fine-grained action that a user may take.
|
1825
|
+
# Output only. Capabilities the current user has on this file. Each capability
|
1826
|
+
# corresponds to a fine-grained action that a user may take.
|
1823
1827
|
# Corresponds to the JSON property `capabilities`
|
1824
1828
|
# @return [Google::Apis::DriveV2::File::Capabilities]
|
1825
1829
|
attr_accessor :capabilities
|
@@ -1837,7 +1841,7 @@ module Google
|
|
1837
1841
|
attr_accessor :copy_requires_writer_permission
|
1838
1842
|
alias_method :copy_requires_writer_permission?, :copy_requires_writer_permission
|
1839
1843
|
|
1840
|
-
# Deprecated:
|
1844
|
+
# Output only. Deprecated: Use `capabilities/canCopy` instead.
|
1841
1845
|
# Corresponds to the JSON property `copyable`
|
1842
1846
|
# @return [Boolean]
|
1843
1847
|
attr_accessor :copyable
|
@@ -1848,8 +1852,8 @@ module Google
|
|
1848
1852
|
# @return [DateTime]
|
1849
1853
|
attr_accessor :created_date
|
1850
1854
|
|
1851
|
-
# A link to open this file with the user's default app for this
|
1852
|
-
# populated when the drive.apps.readonly scope is used.
|
1855
|
+
# Output only. A link to open this file with the user's default app for this
|
1856
|
+
# file. Only populated when the drive.apps.readonly scope is used.
|
1853
1857
|
# Corresponds to the JSON property `defaultOpenWithLink`
|
1854
1858
|
# @return [String]
|
1855
1859
|
attr_accessor :default_open_with_link
|
@@ -1859,58 +1863,57 @@ module Google
|
|
1859
1863
|
# @return [String]
|
1860
1864
|
attr_accessor :description
|
1861
1865
|
|
1862
|
-
# Short lived download URL for the file. This field is only
|
1863
|
-
# with content stored in Google Drive; it
|
1864
|
-
# shortcut files.
|
1866
|
+
# Output only. Short lived download URL for the file. This field is only
|
1867
|
+
# populated for files with content stored in Google Drive; it is not populated
|
1868
|
+
# for Google Docs or shortcut files.
|
1865
1869
|
# Corresponds to the JSON property `downloadUrl`
|
1866
1870
|
# @return [String]
|
1867
1871
|
attr_accessor :download_url
|
1868
1872
|
|
1869
|
-
# ID of the shared drive the file resides in. Only populated for
|
1870
|
-
# drives.
|
1873
|
+
# Output only. ID of the shared drive the file resides in. Only populated for
|
1874
|
+
# items in shared drives.
|
1871
1875
|
# Corresponds to the JSON property `driveId`
|
1872
1876
|
# @return [String]
|
1873
1877
|
attr_accessor :drive_id
|
1874
1878
|
|
1875
|
-
# Deprecated:
|
1879
|
+
# Output only. Deprecated: Use `capabilities/canEdit` instead.
|
1876
1880
|
# Corresponds to the JSON property `editable`
|
1877
1881
|
# @return [Boolean]
|
1878
1882
|
attr_accessor :editable
|
1879
1883
|
alias_method :editable?, :editable
|
1880
1884
|
|
1881
|
-
# A link for embedding the file.
|
1885
|
+
# Output only. A link for embedding the file.
|
1882
1886
|
# Corresponds to the JSON property `embedLink`
|
1883
1887
|
# @return [String]
|
1884
1888
|
attr_accessor :embed_link
|
1885
1889
|
|
1886
|
-
# ETag of the file.
|
1890
|
+
# Output only. ETag of the file.
|
1887
1891
|
# Corresponds to the JSON property `etag`
|
1888
1892
|
# @return [String]
|
1889
1893
|
attr_accessor :etag
|
1890
1894
|
|
1891
|
-
# Whether this file has been explicitly trashed, as opposed to
|
1892
|
-
# trashed.
|
1895
|
+
# Output only. Whether this file has been explicitly trashed, as opposed to
|
1896
|
+
# recursively trashed.
|
1893
1897
|
# Corresponds to the JSON property `explicitlyTrashed`
|
1894
1898
|
# @return [Boolean]
|
1895
1899
|
attr_accessor :explicitly_trashed
|
1896
1900
|
alias_method :explicitly_trashed?, :explicitly_trashed
|
1897
1901
|
|
1898
|
-
# Links for exporting Docs Editors files to specific formats.
|
1902
|
+
# Output only. Links for exporting Docs Editors files to specific formats.
|
1899
1903
|
# Corresponds to the JSON property `exportLinks`
|
1900
1904
|
# @return [Hash<String,String>]
|
1901
1905
|
attr_accessor :export_links
|
1902
1906
|
|
1903
|
-
# The final component of fullFileExtension with trailing text
|
1904
|
-
# appear to be part of the extension removed. This field is only
|
1905
|
-
# files with content stored in Google Drive; it
|
1906
|
-
# or shortcut files.
|
1907
|
+
# Output only. The final component of `fullFileExtension` with trailing text
|
1908
|
+
# that does not appear to be part of the extension removed. This field is only
|
1909
|
+
# populated for files with content stored in Google Drive; it is not populated
|
1910
|
+
# for Docs Editors or shortcut files.
|
1907
1911
|
# Corresponds to the JSON property `fileExtension`
|
1908
1912
|
# @return [String]
|
1909
1913
|
attr_accessor :file_extension
|
1910
1914
|
|
1911
|
-
#
|
1912
|
-
#
|
1913
|
-
# not populated for shortcuts or folders.
|
1915
|
+
# Output only. Size in bytes of blobs and first party editor files. Won't be
|
1916
|
+
# populated for files that have no size, like shortcuts and folders.
|
1914
1917
|
# Corresponds to the JSON property `fileSize`
|
1915
1918
|
# @return [Fixnum]
|
1916
1919
|
attr_accessor :file_size
|
@@ -1923,38 +1926,39 @@ module Google
|
|
1923
1926
|
# @return [String]
|
1924
1927
|
attr_accessor :folder_color_rgb
|
1925
1928
|
|
1926
|
-
# The full file extension; extracted from the title. May contain
|
1927
|
-
# concatenated extensions, such as "tar.gz". Removing an extension from
|
1928
|
-
# title does not clear this field; however, changing the extension on the
|
1929
|
-
# does update this field. This field is only populated for files with
|
1930
|
-
# stored in Google Drive; it
|
1929
|
+
# Output only. The full file extension; extracted from the title. May contain
|
1930
|
+
# multiple concatenated extensions, such as "tar.gz". Removing an extension from
|
1931
|
+
# the title does not clear this field; however, changing the extension on the
|
1932
|
+
# title does update this field. This field is only populated for files with
|
1933
|
+
# content stored in Google Drive; it is not populated for Docs Editors or
|
1934
|
+
# shortcut files.
|
1931
1935
|
# Corresponds to the JSON property `fullFileExtension`
|
1932
1936
|
# @return [String]
|
1933
1937
|
attr_accessor :full_file_extension
|
1934
1938
|
|
1935
|
-
# Whether there are permissions directly on this file. This field
|
1936
|
-
# populated for items in shared drives.
|
1939
|
+
# Output only. Whether there are permissions directly on this file. This field
|
1940
|
+
# is only populated for items in shared drives.
|
1937
1941
|
# Corresponds to the JSON property `hasAugmentedPermissions`
|
1938
1942
|
# @return [Boolean]
|
1939
1943
|
attr_accessor :has_augmented_permissions
|
1940
1944
|
alias_method :has_augmented_permissions?, :has_augmented_permissions
|
1941
1945
|
|
1942
|
-
# Whether this file has a thumbnail. This does not indicate whether
|
1943
|
-
# requesting app has access to the thumbnail. To check access, look for the
|
1946
|
+
# Output only. Whether this file has a thumbnail. This does not indicate whether
|
1947
|
+
# the requesting app has access to the thumbnail. To check access, look for the
|
1944
1948
|
# presence of the thumbnailLink field.
|
1945
1949
|
# Corresponds to the JSON property `hasThumbnail`
|
1946
1950
|
# @return [Boolean]
|
1947
1951
|
attr_accessor :has_thumbnail
|
1948
1952
|
alias_method :has_thumbnail?, :has_thumbnail
|
1949
1953
|
|
1950
|
-
# The ID of the file's head revision. This field is only populated
|
1951
|
-
# with content stored in Google Drive; it
|
1952
|
-
# shortcut files.
|
1954
|
+
# Output only. The ID of the file's head revision. This field is only populated
|
1955
|
+
# for files with content stored in Google Drive; it is not populated for Docs
|
1956
|
+
# Editors or shortcut files.
|
1953
1957
|
# Corresponds to the JSON property `headRevisionId`
|
1954
1958
|
# @return [String]
|
1955
1959
|
attr_accessor :head_revision_id
|
1956
1960
|
|
1957
|
-
# A link to the file's icon.
|
1961
|
+
# Output only. A link to the file's icon.
|
1958
1962
|
# Corresponds to the JSON property `iconLink`
|
1959
1963
|
# @return [String]
|
1960
1964
|
attr_accessor :icon_link
|
@@ -1964,30 +1968,30 @@ module Google
|
|
1964
1968
|
# @return [String]
|
1965
1969
|
attr_accessor :id
|
1966
1970
|
|
1967
|
-
# Metadata about image media. This will only be present for image
|
1968
|
-
# contents will depend on what can be parsed from the image
|
1971
|
+
# Output only. Metadata about image media. This will only be present for image
|
1972
|
+
# types, and its contents will depend on what can be parsed from the image
|
1973
|
+
# content.
|
1969
1974
|
# Corresponds to the JSON property `imageMediaMetadata`
|
1970
1975
|
# @return [Google::Apis::DriveV2::File::ImageMediaMetadata]
|
1971
1976
|
attr_accessor :image_media_metadata
|
1972
1977
|
|
1973
|
-
# Indexable text attributes for the file (can only be written)
|
1974
|
-
# information, see Manage file metadata.
|
1978
|
+
# Indexable text attributes for the file (can only be written)
|
1975
1979
|
# Corresponds to the JSON property `indexableText`
|
1976
1980
|
# @return [Google::Apis::DriveV2::File::IndexableText]
|
1977
1981
|
attr_accessor :indexable_text
|
1978
1982
|
|
1979
|
-
# Whether the file was created or opened by the requesting app.
|
1983
|
+
# Output only. Whether the file was created or opened by the requesting app.
|
1980
1984
|
# Corresponds to the JSON property `isAppAuthorized`
|
1981
1985
|
# @return [Boolean]
|
1982
1986
|
attr_accessor :is_app_authorized
|
1983
1987
|
alias_method :is_app_authorized?, :is_app_authorized
|
1984
1988
|
|
1985
|
-
# The type of file. This is always drive#file
|
1989
|
+
# Output only. The type of file. This is always `drive#file`.
|
1986
1990
|
# Corresponds to the JSON property `kind`
|
1987
1991
|
# @return [String]
|
1988
1992
|
attr_accessor :kind
|
1989
1993
|
|
1990
|
-
# An overview of the labels on the file.
|
1994
|
+
# Output only. An overview of the labels on the file.
|
1991
1995
|
# Corresponds to the JSON property `labelInfo`
|
1992
1996
|
# @return [Google::Apis::DriveV2::File::LabelInfo]
|
1993
1997
|
attr_accessor :label_info
|
@@ -2002,7 +2006,7 @@ module Google
|
|
2002
2006
|
# @return [Google::Apis::DriveV2::User]
|
2003
2007
|
attr_accessor :last_modifying_user
|
2004
2008
|
|
2005
|
-
# Name of the last user to modify this file.
|
2009
|
+
# Output only. Name of the last user to modify this file.
|
2006
2010
|
# Corresponds to the JSON property `lastModifyingUserName`
|
2007
2011
|
# @return [String]
|
2008
2012
|
attr_accessor :last_modifying_user_name
|
@@ -2023,9 +2027,9 @@ module Google
|
|
2023
2027
|
# @return [DateTime]
|
2024
2028
|
attr_accessor :marked_viewed_by_me_date
|
2025
2029
|
|
2026
|
-
# An MD5 checksum for the content of this file. This field is only
|
2027
|
-
# files with content stored in Google Drive; it
|
2028
|
-
# or shortcut files.
|
2030
|
+
# Output only. An MD5 checksum for the content of this file. This field is only
|
2031
|
+
# populated for files with content stored in Google Drive; it is not populated
|
2032
|
+
# for Docs Editors or shortcut files.
|
2029
2033
|
# Corresponds to the JSON property `md5Checksum`
|
2030
2034
|
# @return [String]
|
2031
2035
|
attr_accessor :md5_checksum
|
@@ -2050,54 +2054,54 @@ module Google
|
|
2050
2054
|
# @return [DateTime]
|
2051
2055
|
attr_accessor :modified_date
|
2052
2056
|
|
2053
|
-
# A map of the id of each of the user's apps to a link to open this
|
2054
|
-
# that app. Only populated when the drive.apps.readonly scope is used.
|
2057
|
+
# Output only. A map of the id of each of the user's apps to a link to open this
|
2058
|
+
# file with that app. Only populated when the drive.apps.readonly scope is used.
|
2055
2059
|
# Corresponds to the JSON property `openWithLinks`
|
2056
2060
|
# @return [Hash<String,String>]
|
2057
2061
|
attr_accessor :open_with_links
|
2058
2062
|
|
2059
2063
|
# The original filename of the uploaded content if available, or else the
|
2060
|
-
# original value of the title field. This is only available for files with
|
2064
|
+
# original value of the `title` field. This is only available for files with
|
2061
2065
|
# binary content in Google Drive.
|
2062
2066
|
# Corresponds to the JSON property `originalFilename`
|
2063
2067
|
# @return [String]
|
2064
2068
|
attr_accessor :original_filename
|
2065
2069
|
|
2066
|
-
# Whether the file is owned by the current user. Not populated for
|
2067
|
-
# shared drives.
|
2070
|
+
# Output only. Whether the file is owned by the current user. Not populated for
|
2071
|
+
# items in shared drives.
|
2068
2072
|
# Corresponds to the JSON property `ownedByMe`
|
2069
2073
|
# @return [Boolean]
|
2070
2074
|
attr_accessor :owned_by_me
|
2071
2075
|
alias_method :owned_by_me?, :owned_by_me
|
2072
2076
|
|
2073
|
-
# Name(s) of the owner(s) of this file. Not populated for items in
|
2077
|
+
# Output only. Name(s) of the owner(s) of this file. Not populated for items in
|
2078
|
+
# shared drives.
|
2074
2079
|
# Corresponds to the JSON property `ownerNames`
|
2075
2080
|
# @return [Array<String>]
|
2076
2081
|
attr_accessor :owner_names
|
2077
2082
|
|
2078
|
-
# The owner of this file. Only certain legacy files may have more
|
2079
|
-
# This field isn't populated for items in shared drives.
|
2083
|
+
# Output only. The owner of this file. Only certain legacy files may have more
|
2084
|
+
# than one owner. This field isn't populated for items in shared drives.
|
2080
2085
|
# Corresponds to the JSON property `owners`
|
2081
2086
|
# @return [Array<Google::Apis::DriveV2::User>]
|
2082
2087
|
attr_accessor :owners
|
2083
2088
|
|
2084
|
-
# Collection of parent folders which contain this file.
|
2085
|
-
#
|
2086
|
-
#
|
2087
|
-
#
|
2088
|
-
#
|
2089
|
-
# modify the parents list.
|
2089
|
+
# Collection of parent folders which contain this file. If not specified as part
|
2090
|
+
# of an insert request, the file will be placed directly in the user's My Drive
|
2091
|
+
# folder. If not specified as part of a copy request, the file will inherit any
|
2092
|
+
# discoverable parents of the source file. Update requests can also use the `
|
2093
|
+
# addParents` and `removeParents` parameters to modify the parents list.
|
2090
2094
|
# Corresponds to the JSON property `parents`
|
2091
2095
|
# @return [Array<Google::Apis::DriveV2::ParentReference>]
|
2092
2096
|
attr_accessor :parents
|
2093
2097
|
|
2094
|
-
# List of permission IDs for users with access to this file.
|
2098
|
+
# Output only. List of permission IDs for users with access to this file.
|
2095
2099
|
# Corresponds to the JSON property `permissionIds`
|
2096
2100
|
# @return [Array<String>]
|
2097
2101
|
attr_accessor :permission_ids
|
2098
2102
|
|
2099
|
-
# The list of permissions for users with access to this file. Not
|
2100
|
-
# items in shared drives.
|
2103
|
+
# Output only. The list of permissions for users with access to this file. Not
|
2104
|
+
# populated for items in shared drives.
|
2101
2105
|
# Corresponds to the JSON property `permissions`
|
2102
2106
|
# @return [Array<Google::Apis::DriveV2::Permission>]
|
2103
2107
|
attr_accessor :permissions
|
@@ -2107,42 +2111,43 @@ module Google
|
|
2107
2111
|
# @return [Array<Google::Apis::DriveV2::Property>]
|
2108
2112
|
attr_accessor :properties
|
2109
2113
|
|
2110
|
-
# The number of quota bytes used by this file.
|
2114
|
+
# Output only. The number of quota bytes used by this file.
|
2111
2115
|
# Corresponds to the JSON property `quotaBytesUsed`
|
2112
2116
|
# @return [Fixnum]
|
2113
2117
|
attr_accessor :quota_bytes_used
|
2114
2118
|
|
2115
|
-
# A key needed to access the item via a shared link.
|
2119
|
+
# Output only. A key needed to access the item via a shared link.
|
2116
2120
|
# Corresponds to the JSON property `resourceKey`
|
2117
2121
|
# @return [String]
|
2118
2122
|
attr_accessor :resource_key
|
2119
2123
|
|
2120
|
-
# A link back to this file.
|
2124
|
+
# Output only. A link back to this file.
|
2121
2125
|
# Corresponds to the JSON property `selfLink`
|
2122
2126
|
# @return [String]
|
2123
2127
|
attr_accessor :self_link
|
2124
2128
|
|
2125
|
-
# The SHA1 checksum associated with this file, if available. This
|
2126
|
-
# populated for files with content stored in Google Drive; it
|
2127
|
-
# for Docs Editors or shortcut files.
|
2129
|
+
# Output only. The SHA1 checksum associated with this file, if available. This
|
2130
|
+
# field is only populated for files with content stored in Google Drive; it is
|
2131
|
+
# not populated for Docs Editors or shortcut files.
|
2128
2132
|
# Corresponds to the JSON property `sha1Checksum`
|
2129
2133
|
# @return [String]
|
2130
2134
|
attr_accessor :sha1_checksum
|
2131
2135
|
|
2132
|
-
# The SHA256 checksum associated with this file, if available. This
|
2133
|
-
# only populated for files with content stored in Google Drive; it
|
2134
|
-
# populated for Docs Editors or shortcut files.
|
2136
|
+
# Output only. The SHA256 checksum associated with this file, if available. This
|
2137
|
+
# field is only populated for files with content stored in Google Drive; it is
|
2138
|
+
# not populated for Docs Editors or shortcut files.
|
2135
2139
|
# Corresponds to the JSON property `sha256Checksum`
|
2136
2140
|
# @return [String]
|
2137
2141
|
attr_accessor :sha256_checksum
|
2138
2142
|
|
2139
|
-
# Deprecated:
|
2143
|
+
# Output only. Deprecated: Use `capabilities/canShare` instead.
|
2140
2144
|
# Corresponds to the JSON property `shareable`
|
2141
2145
|
# @return [Boolean]
|
2142
2146
|
attr_accessor :shareable
|
2143
2147
|
alias_method :shareable?, :shareable
|
2144
2148
|
|
2145
|
-
# Whether the file has been shared. Not populated for items in
|
2149
|
+
# Output only. Whether the file has been shared. Not populated for items in
|
2150
|
+
# shared drives.
|
2146
2151
|
# Corresponds to the JSON property `shared`
|
2147
2152
|
# @return [Boolean]
|
2148
2153
|
attr_accessor :shared
|
@@ -2160,18 +2165,18 @@ module Google
|
|
2160
2165
|
attr_accessor :sharing_user
|
2161
2166
|
|
2162
2167
|
# Shortcut file details. Only populated for shortcut files, which have the
|
2163
|
-
# mimeType field set to application/vnd.google-apps.shortcut
|
2168
|
+
# mimeType field set to `application/vnd.google-apps.shortcut`.
|
2164
2169
|
# Corresponds to the JSON property `shortcutDetails`
|
2165
2170
|
# @return [Google::Apis::DriveV2::File::ShortcutDetails]
|
2166
2171
|
attr_accessor :shortcut_details
|
2167
2172
|
|
2168
|
-
# The list of spaces which contain the file. Supported values are
|
2169
|
-
# appDataFolder
|
2173
|
+
# Output only. The list of spaces which contain the file. Supported values are `
|
2174
|
+
# drive`, `appDataFolder` and `photos`.
|
2170
2175
|
# Corresponds to the JSON property `spaces`
|
2171
2176
|
# @return [Array<String>]
|
2172
2177
|
attr_accessor :spaces
|
2173
2178
|
|
2174
|
-
# Deprecated
|
2179
|
+
# Output only. Deprecated: Use `driveId` instead.
|
2175
2180
|
# Corresponds to the JSON property `teamDriveId`
|
2176
2181
|
# @return [String]
|
2177
2182
|
attr_accessor :team_drive_id
|
@@ -2182,15 +2187,14 @@ module Google
|
|
2182
2187
|
# @return [Google::Apis::DriveV2::File::Thumbnail]
|
2183
2188
|
attr_accessor :thumbnail
|
2184
2189
|
|
2185
|
-
# A short-lived link to the file's thumbnail. Typically lasts on
|
2186
|
-
# hours. Only populated when the requesting app can access the file'
|
2187
|
-
#
|
2188
|
-
# must be fetched using a credentialed request.
|
2190
|
+
# Output only. A short-lived link to the file's thumbnail. Typically lasts on
|
2191
|
+
# the order of hours. Only populated when the requesting app can access the file'
|
2192
|
+
# s content.
|
2189
2193
|
# Corresponds to the JSON property `thumbnailLink`
|
2190
2194
|
# @return [String]
|
2191
2195
|
attr_accessor :thumbnail_link
|
2192
2196
|
|
2193
|
-
# The thumbnail version for use in thumbnail cache invalidation.
|
2197
|
+
# Output only. The thumbnail version for use in thumbnail cache invalidation.
|
2194
2198
|
# Corresponds to the JSON property `thumbnailVersion`
|
2195
2199
|
# @return [Fixnum]
|
2196
2200
|
attr_accessor :thumbnail_version
|
@@ -2218,27 +2222,28 @@ module Google
|
|
2218
2222
|
# @return [Google::Apis::DriveV2::Permission]
|
2219
2223
|
attr_accessor :user_permission
|
2220
2224
|
|
2221
|
-
# A monotonically increasing version number for the file. This
|
2222
|
-
# change made to the file on the server, even those not visible
|
2223
|
-
# requesting user.
|
2225
|
+
# Output only. A monotonically increasing version number for the file. This
|
2226
|
+
# reflects every change made to the file on the server, even those not visible
|
2227
|
+
# to the requesting user.
|
2224
2228
|
# Corresponds to the JSON property `version`
|
2225
2229
|
# @return [Fixnum]
|
2226
2230
|
attr_accessor :version
|
2227
2231
|
|
2228
|
-
# Metadata about video media. This will only be present for video
|
2232
|
+
# Output only. Metadata about video media. This will only be present for video
|
2233
|
+
# types.
|
2229
2234
|
# Corresponds to the JSON property `videoMediaMetadata`
|
2230
2235
|
# @return [Google::Apis::DriveV2::File::VideoMediaMetadata]
|
2231
2236
|
attr_accessor :video_media_metadata
|
2232
2237
|
|
2233
|
-
# A link for downloading the content of the file in a browser using
|
2234
|
-
# authentication. In cases where the content is shared publicly,
|
2235
|
-
# be downloaded without any credentials.
|
2238
|
+
# Output only. A link for downloading the content of the file in a browser using
|
2239
|
+
# cookie based authentication. In cases where the content is shared publicly,
|
2240
|
+
# the content can be downloaded without any credentials.
|
2236
2241
|
# Corresponds to the JSON property `webContentLink`
|
2237
2242
|
# @return [String]
|
2238
2243
|
attr_accessor :web_content_link
|
2239
2244
|
|
2240
|
-
# A link only available on public folders for viewing their static
|
2241
|
-
# HTML, CSS, JS, etc) via Google Drive's Website Hosting.
|
2245
|
+
# Output only. A link only available on public folders for viewing their static
|
2246
|
+
# web assets (HTML, CSS, JS, etc) via Google Drive's Website Hosting.
|
2242
2247
|
# Corresponds to the JSON property `webViewLink`
|
2243
2248
|
# @return [String]
|
2244
2249
|
attr_accessor :web_view_link
|
@@ -2333,263 +2338,270 @@ module Google
|
|
2333
2338
|
@writers_can_share = args[:writers_can_share] if args.key?(:writers_can_share)
|
2334
2339
|
end
|
2335
2340
|
|
2336
|
-
# Capabilities the current user has on this file. Each capability
|
2337
|
-
# a fine-grained action that a user may take.
|
2341
|
+
# Output only. Capabilities the current user has on this file. Each capability
|
2342
|
+
# corresponds to a fine-grained action that a user may take.
|
2338
2343
|
class Capabilities
|
2339
2344
|
include Google::Apis::Core::Hashable
|
2340
2345
|
|
2341
|
-
# Whether the current user is the pending owner of the file. Not
|
2342
|
-
# shared drive files.
|
2346
|
+
# Output only. Whether the current user is the pending owner of the file. Not
|
2347
|
+
# populated for shared drive files.
|
2343
2348
|
# Corresponds to the JSON property `canAcceptOwnership`
|
2344
2349
|
# @return [Boolean]
|
2345
2350
|
attr_accessor :can_accept_ownership
|
2346
2351
|
alias_method :can_accept_ownership?, :can_accept_ownership
|
2347
2352
|
|
2348
|
-
# Whether the current user can add children to this folder. This is
|
2349
|
-
# when the item is not a folder.
|
2353
|
+
# Output only. Whether the current user can add children to this folder. This is
|
2354
|
+
# always false when the item is not a folder.
|
2350
2355
|
# Corresponds to the JSON property `canAddChildren`
|
2351
2356
|
# @return [Boolean]
|
2352
2357
|
attr_accessor :can_add_children
|
2353
2358
|
alias_method :can_add_children?, :can_add_children
|
2354
2359
|
|
2355
|
-
# Whether the current user can add a folder from another drive (
|
2356
|
-
# drive or My Drive) to this folder. This is false when the
|
2357
|
-
# Only populated for items in shared drives.
|
2360
|
+
# Output only. Whether the current user can add a folder from another drive (
|
2361
|
+
# different shared drive or My Drive) to this folder. This is false when the
|
2362
|
+
# item is not a folder. Only populated for items in shared drives.
|
2358
2363
|
# Corresponds to the JSON property `canAddFolderFromAnotherDrive`
|
2359
2364
|
# @return [Boolean]
|
2360
2365
|
attr_accessor :can_add_folder_from_another_drive
|
2361
2366
|
alias_method :can_add_folder_from_another_drive?, :can_add_folder_from_another_drive
|
2362
2367
|
|
2363
|
-
# Whether the current user can add a parent for the item without
|
2364
|
-
# existing parent in the same request. Not populated for shared
|
2368
|
+
# Output only. Whether the current user can add a parent for the item without
|
2369
|
+
# removing an existing parent in the same request. Not populated for shared
|
2370
|
+
# drive files.
|
2365
2371
|
# Corresponds to the JSON property `canAddMyDriveParent`
|
2366
2372
|
# @return [Boolean]
|
2367
2373
|
attr_accessor :can_add_my_drive_parent
|
2368
2374
|
alias_method :can_add_my_drive_parent?, :can_add_my_drive_parent
|
2369
2375
|
|
2370
|
-
# Whether the current user can change the
|
2371
|
-
# restriction of this file.
|
2376
|
+
# Output only. Whether the current user can change the `
|
2377
|
+
# copyRequiresWriterPermission` restriction of this file.
|
2372
2378
|
# Corresponds to the JSON property `canChangeCopyRequiresWriterPermission`
|
2373
2379
|
# @return [Boolean]
|
2374
2380
|
attr_accessor :can_change_copy_requires_writer_permission
|
2375
2381
|
alias_method :can_change_copy_requires_writer_permission?, :can_change_copy_requires_writer_permission
|
2376
2382
|
|
2377
|
-
# Deprecated
|
2383
|
+
# Output only. Deprecated.
|
2378
2384
|
# Corresponds to the JSON property `canChangeRestrictedDownload`
|
2379
2385
|
# @return [Boolean]
|
2380
2386
|
attr_accessor :can_change_restricted_download
|
2381
2387
|
alias_method :can_change_restricted_download?, :can_change_restricted_download
|
2382
2388
|
|
2383
|
-
# Whether the current user can change the securityUpdateEnabled
|
2384
|
-
# share metadata.
|
2389
|
+
# Output only. Whether the current user can change the securityUpdateEnabled
|
2390
|
+
# field on link share metadata.
|
2385
2391
|
# Corresponds to the JSON property `canChangeSecurityUpdateEnabled`
|
2386
2392
|
# @return [Boolean]
|
2387
2393
|
attr_accessor :can_change_security_update_enabled
|
2388
2394
|
alias_method :can_change_security_update_enabled?, :can_change_security_update_enabled
|
2389
2395
|
|
2390
|
-
# Whether the current user can comment on this file.
|
2396
|
+
# Output only. Whether the current user can comment on this file.
|
2391
2397
|
# Corresponds to the JSON property `canComment`
|
2392
2398
|
# @return [Boolean]
|
2393
2399
|
attr_accessor :can_comment
|
2394
2400
|
alias_method :can_comment?, :can_comment
|
2395
2401
|
|
2396
|
-
# Whether the current user can copy this file. For an item in a
|
2397
|
-
# whether the current user can copy non-folder descendants of this
|
2398
|
-
# item itself if it is not a folder.
|
2402
|
+
# Output only. Whether the current user can copy this file. For an item in a
|
2403
|
+
# shared drive, whether the current user can copy non-folder descendants of this
|
2404
|
+
# item, or this item itself if it is not a folder.
|
2399
2405
|
# Corresponds to the JSON property `canCopy`
|
2400
2406
|
# @return [Boolean]
|
2401
2407
|
attr_accessor :can_copy
|
2402
2408
|
alias_method :can_copy?, :can_copy
|
2403
2409
|
|
2404
|
-
# Whether the current user can delete this file.
|
2410
|
+
# Output only. Whether the current user can delete this file.
|
2405
2411
|
# Corresponds to the JSON property `canDelete`
|
2406
2412
|
# @return [Boolean]
|
2407
2413
|
attr_accessor :can_delete
|
2408
2414
|
alias_method :can_delete?, :can_delete
|
2409
2415
|
|
2410
|
-
# Whether the current user can delete children of this folder. This
|
2411
|
-
# when the item is not a folder. Only populated for items in shared
|
2416
|
+
# Output only. Whether the current user can delete children of this folder. This
|
2417
|
+
# is false when the item is not a folder. Only populated for items in shared
|
2418
|
+
# drives.
|
2412
2419
|
# Corresponds to the JSON property `canDeleteChildren`
|
2413
2420
|
# @return [Boolean]
|
2414
2421
|
attr_accessor :can_delete_children
|
2415
2422
|
alias_method :can_delete_children?, :can_delete_children
|
2416
2423
|
|
2417
|
-
# Whether the current user can download this file.
|
2424
|
+
# Output only. Whether the current user can download this file.
|
2418
2425
|
# Corresponds to the JSON property `canDownload`
|
2419
2426
|
# @return [Boolean]
|
2420
2427
|
attr_accessor :can_download
|
2421
2428
|
alias_method :can_download?, :can_download
|
2422
2429
|
|
2423
|
-
# Whether the current user can edit this file. Other factors may
|
2424
|
-
# of changes a user can make to a file. For example, see
|
2425
|
-
# canChangeCopyRequiresWriterPermission or canModifyContent
|
2430
|
+
# Output only. Whether the current user can edit this file. Other factors may
|
2431
|
+
# limit the type of changes a user can make to a file. For example, see `
|
2432
|
+
# canChangeCopyRequiresWriterPermission` or `canModifyContent`.
|
2426
2433
|
# Corresponds to the JSON property `canEdit`
|
2427
2434
|
# @return [Boolean]
|
2428
2435
|
attr_accessor :can_edit
|
2429
2436
|
alias_method :can_edit?, :can_edit
|
2430
2437
|
|
2431
|
-
# Whether the current user can list the children of this folder.
|
2432
|
-
# false when the item is not a folder.
|
2438
|
+
# Output only. Whether the current user can list the children of this folder.
|
2439
|
+
# This is always false when the item is not a folder.
|
2433
2440
|
# Corresponds to the JSON property `canListChildren`
|
2434
2441
|
# @return [Boolean]
|
2435
2442
|
attr_accessor :can_list_children
|
2436
2443
|
alias_method :can_list_children?, :can_list_children
|
2437
2444
|
|
2438
|
-
# Whether the current user can modify the content of this file.
|
2445
|
+
# Output only. Whether the current user can modify the content of this file.
|
2439
2446
|
# Corresponds to the JSON property `canModifyContent`
|
2440
2447
|
# @return [Boolean]
|
2441
2448
|
attr_accessor :can_modify_content
|
2442
2449
|
alias_method :can_modify_content?, :can_modify_content
|
2443
2450
|
|
2444
|
-
# Whether the current user can modify restrictions on content of
|
2451
|
+
# Output only. Whether the current user can modify restrictions on content of
|
2452
|
+
# this file.
|
2445
2453
|
# Corresponds to the JSON property `canModifyContentRestriction`
|
2446
2454
|
# @return [Boolean]
|
2447
2455
|
attr_accessor :can_modify_content_restriction
|
2448
2456
|
alias_method :can_modify_content_restriction?, :can_modify_content_restriction
|
2449
2457
|
|
2450
|
-
# Whether the current user can modify the labels on
|
2458
|
+
# Output only. Whether the current user can modify the labels on the file.
|
2451
2459
|
# Corresponds to the JSON property `canModifyLabels`
|
2452
2460
|
# @return [Boolean]
|
2453
2461
|
attr_accessor :can_modify_labels
|
2454
2462
|
alias_method :can_modify_labels?, :can_modify_labels
|
2455
2463
|
|
2456
|
-
# Whether the current user can move children of this folder outside
|
2457
|
-
# shared drive. This is false when the item is not a folder. Only
|
2458
|
-
# items in shared drives.
|
2464
|
+
# Output only. Whether the current user can move children of this folder outside
|
2465
|
+
# of the shared drive. This is false when the item is not a folder. Only
|
2466
|
+
# populated for items in shared drives.
|
2459
2467
|
# Corresponds to the JSON property `canMoveChildrenOutOfDrive`
|
2460
2468
|
# @return [Boolean]
|
2461
2469
|
attr_accessor :can_move_children_out_of_drive
|
2462
2470
|
alias_method :can_move_children_out_of_drive?, :can_move_children_out_of_drive
|
2463
2471
|
|
2464
|
-
# Deprecated
|
2472
|
+
# Output only. Deprecated: Use `canMoveChildrenOutOfDrive` instead.
|
2465
2473
|
# Corresponds to the JSON property `canMoveChildrenOutOfTeamDrive`
|
2466
2474
|
# @return [Boolean]
|
2467
2475
|
attr_accessor :can_move_children_out_of_team_drive
|
2468
2476
|
alias_method :can_move_children_out_of_team_drive?, :can_move_children_out_of_team_drive
|
2469
2477
|
|
2470
|
-
# Whether the current user can move children of this folder within
|
2471
|
-
# This is false when the item is not a folder. Note that a request
|
2472
|
-
# child may still fail depending on the current user's access to the
|
2473
|
-
# to the destination folder.
|
2478
|
+
# Output only. Whether the current user can move children of this folder within
|
2479
|
+
# this drive. This is false when the item is not a folder. Note that a request
|
2480
|
+
# to move the child may still fail depending on the current user's access to the
|
2481
|
+
# child and to the destination folder.
|
2474
2482
|
# Corresponds to the JSON property `canMoveChildrenWithinDrive`
|
2475
2483
|
# @return [Boolean]
|
2476
2484
|
attr_accessor :can_move_children_within_drive
|
2477
2485
|
alias_method :can_move_children_within_drive?, :can_move_children_within_drive
|
2478
2486
|
|
2479
|
-
# Deprecated
|
2487
|
+
# Output only. Deprecated: Use `canMoveChildrenWithinDrive` instead.
|
2480
2488
|
# Corresponds to the JSON property `canMoveChildrenWithinTeamDrive`
|
2481
2489
|
# @return [Boolean]
|
2482
2490
|
attr_accessor :can_move_children_within_team_drive
|
2483
2491
|
alias_method :can_move_children_within_team_drive?, :can_move_children_within_team_drive
|
2484
2492
|
|
2485
|
-
# Deprecated
|
2493
|
+
# Output only. Deprecated: Use `canMoveItemOutOfDrive` instead.
|
2486
2494
|
# Corresponds to the JSON property `canMoveItemIntoTeamDrive`
|
2487
2495
|
# @return [Boolean]
|
2488
2496
|
attr_accessor :can_move_item_into_team_drive
|
2489
2497
|
alias_method :can_move_item_into_team_drive?, :can_move_item_into_team_drive
|
2490
2498
|
|
2491
|
-
# Whether the current user can move this item outside of this drive
|
2492
|
-
# its parent. Note that a request to change the parent of the item
|
2493
|
-
# fail depending on the new parent that is being added.
|
2499
|
+
# Output only. Whether the current user can move this item outside of this drive
|
2500
|
+
# by changing its parent. Note that a request to change the parent of the item
|
2501
|
+
# may still fail depending on the new parent that is being added.
|
2494
2502
|
# Corresponds to the JSON property `canMoveItemOutOfDrive`
|
2495
2503
|
# @return [Boolean]
|
2496
2504
|
attr_accessor :can_move_item_out_of_drive
|
2497
2505
|
alias_method :can_move_item_out_of_drive?, :can_move_item_out_of_drive
|
2498
2506
|
|
2499
|
-
# Deprecated
|
2507
|
+
# Output only. Deprecated: Use `canMoveItemOutOfDrive` instead.
|
2500
2508
|
# Corresponds to the JSON property `canMoveItemOutOfTeamDrive`
|
2501
2509
|
# @return [Boolean]
|
2502
2510
|
attr_accessor :can_move_item_out_of_team_drive
|
2503
2511
|
alias_method :can_move_item_out_of_team_drive?, :can_move_item_out_of_team_drive
|
2504
2512
|
|
2505
|
-
# Whether the current user can move this item within this drive.
|
2506
|
-
# request to change the parent of the item may still fail depending
|
2507
|
-
# parent that is being added and the parent that is being removed.
|
2513
|
+
# Output only. Whether the current user can move this item within this drive.
|
2514
|
+
# Note that a request to change the parent of the item may still fail depending
|
2515
|
+
# on the new parent that is being added and the parent that is being removed.
|
2508
2516
|
# Corresponds to the JSON property `canMoveItemWithinDrive`
|
2509
2517
|
# @return [Boolean]
|
2510
2518
|
attr_accessor :can_move_item_within_drive
|
2511
2519
|
alias_method :can_move_item_within_drive?, :can_move_item_within_drive
|
2512
2520
|
|
2513
|
-
# Deprecated
|
2521
|
+
# Output only. Deprecated: Use `canMoveItemWithinDrive` instead.
|
2514
2522
|
# Corresponds to the JSON property `canMoveItemWithinTeamDrive`
|
2515
2523
|
# @return [Boolean]
|
2516
2524
|
attr_accessor :can_move_item_within_team_drive
|
2517
2525
|
alias_method :can_move_item_within_team_drive?, :can_move_item_within_team_drive
|
2518
2526
|
|
2519
|
-
# Deprecated
|
2527
|
+
# Output only. Deprecated: Use `canMoveItemWithinDrive` or `
|
2528
|
+
# canMoveItemOutOfDrive` instead.
|
2520
2529
|
# Corresponds to the JSON property `canMoveTeamDriveItem`
|
2521
2530
|
# @return [Boolean]
|
2522
2531
|
attr_accessor :can_move_team_drive_item
|
2523
2532
|
alias_method :can_move_team_drive_item?, :can_move_team_drive_item
|
2524
2533
|
|
2525
|
-
# Whether the current user can read the shared drive to which this
|
2526
|
-
# Only populated for items in shared drives.
|
2534
|
+
# Output only. Whether the current user can read the shared drive to which this
|
2535
|
+
# file belongs. Only populated for items in shared drives.
|
2527
2536
|
# Corresponds to the JSON property `canReadDrive`
|
2528
2537
|
# @return [Boolean]
|
2529
2538
|
attr_accessor :can_read_drive
|
2530
2539
|
alias_method :can_read_drive?, :can_read_drive
|
2531
2540
|
|
2532
|
-
# Whether the current user can read the labels on
|
2541
|
+
# Output only. Whether the current user can read the labels on the file.
|
2533
2542
|
# Corresponds to the JSON property `canReadLabels`
|
2534
2543
|
# @return [Boolean]
|
2535
2544
|
attr_accessor :can_read_labels
|
2536
2545
|
alias_method :can_read_labels?, :can_read_labels
|
2537
2546
|
|
2538
|
-
# Whether the current user can read the revisions resource of this
|
2539
|
-
# shared drive item, whether revisions of non-folder descendants of
|
2540
|
-
# or this item itself if it
|
2547
|
+
# Output only. Whether the current user can read the revisions resource of this
|
2548
|
+
# file. For a shared drive item, whether revisions of non-folder descendants of
|
2549
|
+
# this item, or this item itself if it is not a folder, can be read.
|
2541
2550
|
# Corresponds to the JSON property `canReadRevisions`
|
2542
2551
|
# @return [Boolean]
|
2543
2552
|
attr_accessor :can_read_revisions
|
2544
2553
|
alias_method :can_read_revisions?, :can_read_revisions
|
2545
2554
|
|
2546
|
-
# Deprecated
|
2555
|
+
# Output only. Deprecated: Use `canReadDrive` instead.
|
2547
2556
|
# Corresponds to the JSON property `canReadTeamDrive`
|
2548
2557
|
# @return [Boolean]
|
2549
2558
|
attr_accessor :can_read_team_drive
|
2550
2559
|
alias_method :can_read_team_drive?, :can_read_team_drive
|
2551
2560
|
|
2552
|
-
# Whether the current user can remove children from this folder.
|
2553
|
-
# false when the item is not a folder. For a folder in a shared
|
2554
|
-
# canDeleteChildren or canTrashChildren instead.
|
2561
|
+
# Output only. Whether the current user can remove children from this folder.
|
2562
|
+
# This is always false when the item is not a folder. For a folder in a shared
|
2563
|
+
# drive, use `canDeleteChildren` or `canTrashChildren` instead.
|
2555
2564
|
# Corresponds to the JSON property `canRemoveChildren`
|
2556
2565
|
# @return [Boolean]
|
2557
2566
|
attr_accessor :can_remove_children
|
2558
2567
|
alias_method :can_remove_children?, :can_remove_children
|
2559
2568
|
|
2560
|
-
# Whether the current user can remove a parent from the item
|
2561
|
-
# another parent in the same request. Not populated for shared
|
2569
|
+
# Output only. Whether the current user can remove a parent from the item
|
2570
|
+
# without adding another parent in the same request. Not populated for shared
|
2571
|
+
# drive files.
|
2562
2572
|
# Corresponds to the JSON property `canRemoveMyDriveParent`
|
2563
2573
|
# @return [Boolean]
|
2564
2574
|
attr_accessor :can_remove_my_drive_parent
|
2565
2575
|
alias_method :can_remove_my_drive_parent?, :can_remove_my_drive_parent
|
2566
2576
|
|
2567
|
-
# Whether the current user can rename this file.
|
2577
|
+
# Output only. Whether the current user can rename this file.
|
2568
2578
|
# Corresponds to the JSON property `canRename`
|
2569
2579
|
# @return [Boolean]
|
2570
2580
|
attr_accessor :can_rename
|
2571
2581
|
alias_method :can_rename?, :can_rename
|
2572
2582
|
|
2573
|
-
# Whether the current user can modify the sharing settings for this
|
2583
|
+
# Output only. Whether the current user can modify the sharing settings for this
|
2584
|
+
# file.
|
2574
2585
|
# Corresponds to the JSON property `canShare`
|
2575
2586
|
# @return [Boolean]
|
2576
2587
|
attr_accessor :can_share
|
2577
2588
|
alias_method :can_share?, :can_share
|
2578
2589
|
|
2579
|
-
# Whether the current user can move this file to trash.
|
2590
|
+
# Output only. Whether the current user can move this file to trash.
|
2580
2591
|
# Corresponds to the JSON property `canTrash`
|
2581
2592
|
# @return [Boolean]
|
2582
2593
|
attr_accessor :can_trash
|
2583
2594
|
alias_method :can_trash?, :can_trash
|
2584
2595
|
|
2585
|
-
# Whether the current user can trash children of this folder. This
|
2586
|
-
# the item is not a folder. Only populated for items in shared
|
2596
|
+
# Output only. Whether the current user can trash children of this folder. This
|
2597
|
+
# is false when the item is not a folder. Only populated for items in shared
|
2598
|
+
# drives.
|
2587
2599
|
# Corresponds to the JSON property `canTrashChildren`
|
2588
2600
|
# @return [Boolean]
|
2589
2601
|
attr_accessor :can_trash_children
|
2590
2602
|
alias_method :can_trash_children?, :can_trash_children
|
2591
2603
|
|
2592
|
-
# Whether the current user can restore this file from trash.
|
2604
|
+
# Output only. Whether the current user can restore this file from trash.
|
2593
2605
|
# Corresponds to the JSON property `canUntrash`
|
2594
2606
|
# @return [Boolean]
|
2595
2607
|
attr_accessor :can_untrash
|
@@ -2642,115 +2654,116 @@ module Google
|
|
2642
2654
|
end
|
2643
2655
|
end
|
2644
2656
|
|
2645
|
-
# Metadata about image media. This will only be present for image
|
2646
|
-
# contents will depend on what can be parsed from the image
|
2657
|
+
# Output only. Metadata about image media. This will only be present for image
|
2658
|
+
# types, and its contents will depend on what can be parsed from the image
|
2659
|
+
# content.
|
2647
2660
|
class ImageMediaMetadata
|
2648
2661
|
include Google::Apis::Core::Hashable
|
2649
2662
|
|
2650
|
-
# The aperture used to create the photo (f-number).
|
2663
|
+
# Output only. The aperture used to create the photo (f-number).
|
2651
2664
|
# Corresponds to the JSON property `aperture`
|
2652
2665
|
# @return [Float]
|
2653
2666
|
attr_accessor :aperture
|
2654
2667
|
|
2655
|
-
# The make of the camera used to create the photo.
|
2668
|
+
# Output only. The make of the camera used to create the photo.
|
2656
2669
|
# Corresponds to the JSON property `cameraMake`
|
2657
2670
|
# @return [String]
|
2658
2671
|
attr_accessor :camera_make
|
2659
2672
|
|
2660
|
-
# The model of the camera used to create the photo.
|
2673
|
+
# Output only. The model of the camera used to create the photo.
|
2661
2674
|
# Corresponds to the JSON property `cameraModel`
|
2662
2675
|
# @return [String]
|
2663
2676
|
attr_accessor :camera_model
|
2664
2677
|
|
2665
|
-
# The color space of the photo.
|
2678
|
+
# Output only. The color space of the photo.
|
2666
2679
|
# Corresponds to the JSON property `colorSpace`
|
2667
2680
|
# @return [String]
|
2668
2681
|
attr_accessor :color_space
|
2669
2682
|
|
2670
|
-
# The date and time the photo was taken (EXIF format timestamp).
|
2683
|
+
# Output only. The date and time the photo was taken (EXIF format timestamp).
|
2671
2684
|
# Corresponds to the JSON property `date`
|
2672
2685
|
# @return [String]
|
2673
2686
|
attr_accessor :date
|
2674
2687
|
|
2675
|
-
# The exposure bias of the photo (APEX value).
|
2688
|
+
# Output only. The exposure bias of the photo (APEX value).
|
2676
2689
|
# Corresponds to the JSON property `exposureBias`
|
2677
2690
|
# @return [Float]
|
2678
2691
|
attr_accessor :exposure_bias
|
2679
2692
|
|
2680
|
-
# The exposure mode used to create the photo.
|
2693
|
+
# Output only. The exposure mode used to create the photo.
|
2681
2694
|
# Corresponds to the JSON property `exposureMode`
|
2682
2695
|
# @return [String]
|
2683
2696
|
attr_accessor :exposure_mode
|
2684
2697
|
|
2685
|
-
# The length of the exposure, in seconds.
|
2698
|
+
# Output only. The length of the exposure, in seconds.
|
2686
2699
|
# Corresponds to the JSON property `exposureTime`
|
2687
2700
|
# @return [Float]
|
2688
2701
|
attr_accessor :exposure_time
|
2689
2702
|
|
2690
|
-
# Whether a flash was used to create the photo.
|
2703
|
+
# Output only. Whether a flash was used to create the photo.
|
2691
2704
|
# Corresponds to the JSON property `flashUsed`
|
2692
2705
|
# @return [Boolean]
|
2693
2706
|
attr_accessor :flash_used
|
2694
2707
|
alias_method :flash_used?, :flash_used
|
2695
2708
|
|
2696
|
-
# The focal length used to create the photo, in millimeters.
|
2709
|
+
# Output only. The focal length used to create the photo, in millimeters.
|
2697
2710
|
# Corresponds to the JSON property `focalLength`
|
2698
2711
|
# @return [Float]
|
2699
2712
|
attr_accessor :focal_length
|
2700
2713
|
|
2701
|
-
# The height of the image in pixels.
|
2714
|
+
# Output only. The height of the image in pixels.
|
2702
2715
|
# Corresponds to the JSON property `height`
|
2703
2716
|
# @return [Fixnum]
|
2704
2717
|
attr_accessor :height
|
2705
2718
|
|
2706
|
-
# The ISO speed used to create the photo.
|
2719
|
+
# Output only. The ISO speed used to create the photo.
|
2707
2720
|
# Corresponds to the JSON property `isoSpeed`
|
2708
2721
|
# @return [Fixnum]
|
2709
2722
|
attr_accessor :iso_speed
|
2710
2723
|
|
2711
|
-
# The lens used to create the photo.
|
2724
|
+
# Output only. The lens used to create the photo.
|
2712
2725
|
# Corresponds to the JSON property `lens`
|
2713
2726
|
# @return [String]
|
2714
2727
|
attr_accessor :lens
|
2715
2728
|
|
2716
|
-
# Geographic location information stored in the image.
|
2729
|
+
# Output only. Geographic location information stored in the image.
|
2717
2730
|
# Corresponds to the JSON property `location`
|
2718
2731
|
# @return [Google::Apis::DriveV2::File::ImageMediaMetadata::Location]
|
2719
2732
|
attr_accessor :location
|
2720
2733
|
|
2721
|
-
# The smallest f-number of the lens at the focal length used to
|
2722
|
-
# (APEX value).
|
2734
|
+
# Output only. The smallest f-number of the lens at the focal length used to
|
2735
|
+
# create the photo (APEX value).
|
2723
2736
|
# Corresponds to the JSON property `maxApertureValue`
|
2724
2737
|
# @return [Float]
|
2725
2738
|
attr_accessor :max_aperture_value
|
2726
2739
|
|
2727
|
-
# The metering mode used to create the photo.
|
2740
|
+
# Output only. The metering mode used to create the photo.
|
2728
2741
|
# Corresponds to the JSON property `meteringMode`
|
2729
2742
|
# @return [String]
|
2730
2743
|
attr_accessor :metering_mode
|
2731
2744
|
|
2732
|
-
# The number of clockwise 90 degree rotations applied from the
|
2733
|
-
# orientation.
|
2745
|
+
# Output only. The number of clockwise 90 degree rotations applied from the
|
2746
|
+
# image's original orientation.
|
2734
2747
|
# Corresponds to the JSON property `rotation`
|
2735
2748
|
# @return [Fixnum]
|
2736
2749
|
attr_accessor :rotation
|
2737
2750
|
|
2738
|
-
# The type of sensor used to create the photo.
|
2751
|
+
# Output only. The type of sensor used to create the photo.
|
2739
2752
|
# Corresponds to the JSON property `sensor`
|
2740
2753
|
# @return [String]
|
2741
2754
|
attr_accessor :sensor
|
2742
2755
|
|
2743
|
-
# The distance to the subject of the photo, in meters.
|
2756
|
+
# Output only. The distance to the subject of the photo, in meters.
|
2744
2757
|
# Corresponds to the JSON property `subjectDistance`
|
2745
2758
|
# @return [Fixnum]
|
2746
2759
|
attr_accessor :subject_distance
|
2747
2760
|
|
2748
|
-
# The white balance mode used to create the photo.
|
2761
|
+
# Output only. The white balance mode used to create the photo.
|
2749
2762
|
# Corresponds to the JSON property `whiteBalance`
|
2750
2763
|
# @return [String]
|
2751
2764
|
attr_accessor :white_balance
|
2752
2765
|
|
2753
|
-
# The width of the image in pixels.
|
2766
|
+
# Output only. The width of the image in pixels.
|
2754
2767
|
# Corresponds to the JSON property `width`
|
2755
2768
|
# @return [Fixnum]
|
2756
2769
|
attr_accessor :width
|
@@ -2784,21 +2797,21 @@ module Google
|
|
2784
2797
|
@width = args[:width] if args.key?(:width)
|
2785
2798
|
end
|
2786
2799
|
|
2787
|
-
# Geographic location information stored in the image.
|
2800
|
+
# Output only. Geographic location information stored in the image.
|
2788
2801
|
class Location
|
2789
2802
|
include Google::Apis::Core::Hashable
|
2790
2803
|
|
2791
|
-
# The altitude stored in the image.
|
2804
|
+
# Output only. The altitude stored in the image.
|
2792
2805
|
# Corresponds to the JSON property `altitude`
|
2793
2806
|
# @return [Float]
|
2794
2807
|
attr_accessor :altitude
|
2795
2808
|
|
2796
|
-
# The latitude stored in the image.
|
2809
|
+
# Output only. The latitude stored in the image.
|
2797
2810
|
# Corresponds to the JSON property `latitude`
|
2798
2811
|
# @return [Float]
|
2799
2812
|
attr_accessor :latitude
|
2800
2813
|
|
2801
|
-
# The longitude stored in the image.
|
2814
|
+
# Output only. The longitude stored in the image.
|
2802
2815
|
# Corresponds to the JSON property `longitude`
|
2803
2816
|
# @return [Float]
|
2804
2817
|
attr_accessor :longitude
|
@@ -2816,8 +2829,7 @@ module Google
|
|
2816
2829
|
end
|
2817
2830
|
end
|
2818
2831
|
|
2819
|
-
# Indexable text attributes for the file (can only be written)
|
2820
|
-
# information, see Manage file metadata.
|
2832
|
+
# Indexable text attributes for the file (can only be written)
|
2821
2833
|
class IndexableText
|
2822
2834
|
include Google::Apis::Core::Hashable
|
2823
2835
|
|
@@ -2836,12 +2848,12 @@ module Google
|
|
2836
2848
|
end
|
2837
2849
|
end
|
2838
2850
|
|
2839
|
-
# An overview of the labels on the file.
|
2851
|
+
# Output only. An overview of the labels on the file.
|
2840
2852
|
class LabelInfo
|
2841
2853
|
include Google::Apis::Core::Hashable
|
2842
2854
|
|
2843
|
-
# The set of labels on the file as requested by the label IDs in
|
2844
|
-
# includeLabels parameter. By default, no labels are returned.
|
2855
|
+
# Output only. The set of labels on the file as requested by the label IDs in
|
2856
|
+
# the `includeLabels` parameter. By default, no labels are returned.
|
2845
2857
|
# Corresponds to the JSON property `labels`
|
2846
2858
|
# @return [Array<Google::Apis::DriveV2::Label>]
|
2847
2859
|
attr_accessor :labels
|
@@ -2860,19 +2872,19 @@ module Google
|
|
2860
2872
|
class Labels
|
2861
2873
|
include Google::Apis::Core::Hashable
|
2862
2874
|
|
2863
|
-
# Deprecated.
|
2875
|
+
# Output only. Deprecated.
|
2864
2876
|
# Corresponds to the JSON property `hidden`
|
2865
2877
|
# @return [Boolean]
|
2866
2878
|
attr_accessor :hidden
|
2867
2879
|
alias_method :hidden?, :hidden
|
2868
2880
|
|
2869
|
-
# Whether the file has been modified by this user.
|
2881
|
+
# Output only. Whether the file has been modified by this user.
|
2870
2882
|
# Corresponds to the JSON property `modified`
|
2871
2883
|
# @return [Boolean]
|
2872
2884
|
attr_accessor :modified
|
2873
2885
|
alias_method :modified?, :modified
|
2874
2886
|
|
2875
|
-
# Deprecated
|
2887
|
+
# Output only. Deprecated: Use `copyRequiresWriterPermission` instead.
|
2876
2888
|
# Corresponds to the JSON property `restricted`
|
2877
2889
|
# @return [Boolean]
|
2878
2890
|
attr_accessor :restricted
|
@@ -2884,11 +2896,8 @@ module Google
|
|
2884
2896
|
attr_accessor :starred
|
2885
2897
|
alias_method :starred?, :starred
|
2886
2898
|
|
2887
|
-
# Whether
|
2888
|
-
#
|
2889
|
-
# files.list responses returned for any user who does not own the file. However,
|
2890
|
-
# all users with access to the file can see the trashed item metadata in an API
|
2891
|
-
# response. All users with access can copy, download, export, and share the file.
|
2899
|
+
# Whether this file has been trashed. This label applies to all users accessing
|
2900
|
+
# the file; however, only owners are allowed to see and untrash files.
|
2892
2901
|
# Corresponds to the JSON property `trashed`
|
2893
2902
|
# @return [Boolean]
|
2894
2903
|
attr_accessor :trashed
|
@@ -2920,13 +2929,13 @@ module Google
|
|
2920
2929
|
class LinkShareMetadata
|
2921
2930
|
include Google::Apis::Core::Hashable
|
2922
2931
|
|
2923
|
-
# Whether the file is eligible for security update.
|
2932
|
+
# Output only. Whether the file is eligible for security update.
|
2924
2933
|
# Corresponds to the JSON property `securityUpdateEligible`
|
2925
2934
|
# @return [Boolean]
|
2926
2935
|
attr_accessor :security_update_eligible
|
2927
2936
|
alias_method :security_update_eligible?, :security_update_eligible
|
2928
2937
|
|
2929
|
-
# Whether the security update is enabled for this file.
|
2938
|
+
# Output only. Whether the security update is enabled for this file.
|
2930
2939
|
# Corresponds to the JSON property `securityUpdateEnabled`
|
2931
2940
|
# @return [Boolean]
|
2932
2941
|
attr_accessor :security_update_enabled
|
@@ -2944,7 +2953,7 @@ module Google
|
|
2944
2953
|
end
|
2945
2954
|
|
2946
2955
|
# Shortcut file details. Only populated for shortcut files, which have the
|
2947
|
-
# mimeType field set to application/vnd.google-apps.shortcut
|
2956
|
+
# mimeType field set to `application/vnd.google-apps.shortcut`.
|
2948
2957
|
class ShortcutDetails
|
2949
2958
|
include Google::Apis::Core::Hashable
|
2950
2959
|
|
@@ -2953,14 +2962,14 @@ module Google
|
|
2953
2962
|
# @return [String]
|
2954
2963
|
attr_accessor :target_id
|
2955
2964
|
|
2956
|
-
# The MIME type of the file that this shortcut points to. The value
|
2957
|
-
# field is a snapshot of the target's MIME type, captured when the
|
2958
|
-
# created.
|
2965
|
+
# Output only. The MIME type of the file that this shortcut points to. The value
|
2966
|
+
# of this field is a snapshot of the target's MIME type, captured when the
|
2967
|
+
# shortcut is created.
|
2959
2968
|
# Corresponds to the JSON property `targetMimeType`
|
2960
2969
|
# @return [String]
|
2961
2970
|
attr_accessor :target_mime_type
|
2962
2971
|
|
2963
|
-
# The ResourceKey for the target file.
|
2972
|
+
# Output only. The ResourceKey for the target file.
|
2964
2973
|
# Corresponds to the JSON property `targetResourceKey`
|
2965
2974
|
# @return [String]
|
2966
2975
|
attr_accessor :target_resource_key
|
@@ -3005,21 +3014,22 @@ module Google
|
|
3005
3014
|
end
|
3006
3015
|
end
|
3007
3016
|
|
3008
|
-
# Metadata about video media. This will only be present for video
|
3017
|
+
# Output only. Metadata about video media. This will only be present for video
|
3018
|
+
# types.
|
3009
3019
|
class VideoMediaMetadata
|
3010
3020
|
include Google::Apis::Core::Hashable
|
3011
3021
|
|
3012
|
-
# The duration of the video in milliseconds.
|
3022
|
+
# Output only. The duration of the video in milliseconds.
|
3013
3023
|
# Corresponds to the JSON property `durationMillis`
|
3014
3024
|
# @return [Fixnum]
|
3015
3025
|
attr_accessor :duration_millis
|
3016
3026
|
|
3017
|
-
# The height of the video in pixels.
|
3027
|
+
# Output only. The height of the video in pixels.
|
3018
3028
|
# Corresponds to the JSON property `height`
|
3019
3029
|
# @return [Fixnum]
|
3020
3030
|
attr_accessor :height
|
3021
3031
|
|
3022
|
-
# The width of the video in pixels.
|
3032
|
+
# Output only. The width of the video in pixels.
|
3023
3033
|
# Corresponds to the JSON property `width`
|
3024
3034
|
# @return [Fixnum]
|
3025
3035
|
attr_accessor :width
|
@@ -3062,7 +3072,7 @@ module Google
|
|
3062
3072
|
# @return [Array<Google::Apis::DriveV2::File>]
|
3063
3073
|
attr_accessor :items
|
3064
3074
|
|
3065
|
-
# This is always drive#fileList
|
3075
|
+
# This is always `drive#fileList`.
|
3066
3076
|
# Corresponds to the JSON property `kind`
|
3067
3077
|
# @return [String]
|
3068
3078
|
attr_accessor :kind
|
@@ -3110,7 +3120,7 @@ module Google
|
|
3110
3120
|
# @return [Array<String>]
|
3111
3121
|
attr_accessor :ids
|
3112
3122
|
|
3113
|
-
# This is always drive#generatedIds
|
3123
|
+
# This is always `drive#generatedIds`
|
3114
3124
|
# Corresponds to the JSON property `kind`
|
3115
3125
|
# @return [String]
|
3116
3126
|
attr_accessor :kind
|
@@ -3132,11 +3142,11 @@ module Google
|
|
3132
3142
|
end
|
3133
3143
|
end
|
3134
3144
|
|
3135
|
-
# Representation of a label and
|
3145
|
+
# Representation of a label and label fields.
|
3136
3146
|
class Label
|
3137
3147
|
include Google::Apis::Core::Hashable
|
3138
3148
|
|
3139
|
-
# A map of the label
|
3149
|
+
# A map of the fields on the label, keyed by the field's ID.
|
3140
3150
|
# Corresponds to the JSON property `fields`
|
3141
3151
|
# @return [Hash<String,Google::Apis::DriveV2::LabelField>]
|
3142
3152
|
attr_accessor :fields
|
@@ -3146,7 +3156,7 @@ module Google
|
|
3146
3156
|
# @return [String]
|
3147
3157
|
attr_accessor :id
|
3148
3158
|
|
3149
|
-
# This is always drive#label
|
3159
|
+
# This is always `drive#label`
|
3150
3160
|
# Corresponds to the JSON property `kind`
|
3151
3161
|
# @return [String]
|
3152
3162
|
attr_accessor :kind
|
@@ -3169,7 +3179,7 @@ module Google
|
|
3169
3179
|
end
|
3170
3180
|
end
|
3171
3181
|
|
3172
|
-
# Representation of a
|
3182
|
+
# Representation of field, which is a typed key-value pair.
|
3173
3183
|
class LabelField
|
3174
3184
|
include Google::Apis::Core::Hashable
|
3175
3185
|
|
@@ -3178,43 +3188,39 @@ module Google
|
|
3178
3188
|
# @return [Array<Date>]
|
3179
3189
|
attr_accessor :date_string
|
3180
3190
|
|
3181
|
-
# The identifier of this field.
|
3191
|
+
# The identifier of this label field.
|
3182
3192
|
# Corresponds to the JSON property `id`
|
3183
3193
|
# @return [String]
|
3184
3194
|
attr_accessor :id
|
3185
3195
|
|
3186
|
-
# Only present if valueType is integer
|
3196
|
+
# Only present if `valueType` is `integer`.
|
3187
3197
|
# Corresponds to the JSON property `integer`
|
3188
3198
|
# @return [Array<Fixnum>]
|
3189
3199
|
attr_accessor :integer
|
3190
3200
|
|
3191
|
-
# This is always drive#labelField
|
3201
|
+
# This is always `drive#labelField`.
|
3192
3202
|
# Corresponds to the JSON property `kind`
|
3193
3203
|
# @return [String]
|
3194
3204
|
attr_accessor :kind
|
3195
3205
|
|
3196
|
-
# Only present if valueType is selection
|
3206
|
+
# Only present if `valueType` is `selection`
|
3197
3207
|
# Corresponds to the JSON property `selection`
|
3198
3208
|
# @return [Array<String>]
|
3199
3209
|
attr_accessor :selection
|
3200
3210
|
|
3201
|
-
# Only present if valueType is text
|
3211
|
+
# Only present if `valueType` is `text`.
|
3202
3212
|
# Corresponds to the JSON property `text`
|
3203
3213
|
# @return [Array<String>]
|
3204
3214
|
attr_accessor :text
|
3205
3215
|
|
3206
|
-
# Only present if valueType is user
|
3216
|
+
# Only present if `valueType` is `user`.
|
3207
3217
|
# Corresponds to the JSON property `user`
|
3208
3218
|
# @return [Array<Google::Apis::DriveV2::User>]
|
3209
3219
|
attr_accessor :user
|
3210
3220
|
|
3211
3221
|
# The field type. While new values may be supported in the future, the following
|
3212
|
-
# are currently allowed:
|
3213
|
-
#
|
3214
|
-
# - integer
|
3215
|
-
# - selection
|
3216
|
-
# - text
|
3217
|
-
# - user
|
3222
|
+
# are currently allowed: * `dateString` * `integer` * `selection` * `text` * `
|
3223
|
+
# user`
|
3218
3224
|
# Corresponds to the JSON property `valueType`
|
3219
3225
|
# @return [String]
|
3220
3226
|
attr_accessor :value_type
|
@@ -3245,33 +3251,33 @@ module Google
|
|
3245
3251
|
# @return [String]
|
3246
3252
|
attr_accessor :field_id
|
3247
3253
|
|
3248
|
-
# This is always drive#labelFieldModification
|
3254
|
+
# This is always `drive#labelFieldModification`.
|
3249
3255
|
# Corresponds to the JSON property `kind`
|
3250
3256
|
# @return [String]
|
3251
3257
|
attr_accessor :kind
|
3252
3258
|
|
3253
|
-
# Replaces a dateString
|
3254
|
-
# in the RFC 3339 full-date format: YYYY-MM-DD.
|
3259
|
+
# Replaces the value of a dateString Field with these new values. The string
|
3260
|
+
# must be in the RFC 3339 full-date format: YYYY-MM-DD.
|
3255
3261
|
# Corresponds to the JSON property `setDateValues`
|
3256
3262
|
# @return [Array<Date>]
|
3257
3263
|
attr_accessor :set_date_values
|
3258
3264
|
|
3259
|
-
# Replaces an integer field with these new values.
|
3265
|
+
# Replaces the value of an `integer` field with these new values.
|
3260
3266
|
# Corresponds to the JSON property `setIntegerValues`
|
3261
3267
|
# @return [Array<Fixnum>]
|
3262
3268
|
attr_accessor :set_integer_values
|
3263
3269
|
|
3264
|
-
# Replaces a selection field with these new values.
|
3270
|
+
# Replaces a `selection` field with these new values.
|
3265
3271
|
# Corresponds to the JSON property `setSelectionValues`
|
3266
3272
|
# @return [Array<String>]
|
3267
3273
|
attr_accessor :set_selection_values
|
3268
3274
|
|
3269
|
-
#
|
3275
|
+
# Sets the value of a `text` field.
|
3270
3276
|
# Corresponds to the JSON property `setTextValues`
|
3271
3277
|
# @return [Array<String>]
|
3272
3278
|
attr_accessor :set_text_values
|
3273
3279
|
|
3274
|
-
# Replaces a user field with these new values. The values must be valid email
|
3280
|
+
# Replaces a `user` field with these new values. The values must be valid email
|
3275
3281
|
# addresses.
|
3276
3282
|
# Corresponds to the JSON property `setUserValues`
|
3277
3283
|
# @return [Array<String>]
|
@@ -3300,7 +3306,7 @@ module Google
|
|
3300
3306
|
end
|
3301
3307
|
end
|
3302
3308
|
|
3303
|
-
# A list of labels.
|
3309
|
+
# A list of labels applied to a file.
|
3304
3310
|
class LabelList
|
3305
3311
|
include Google::Apis::Core::Hashable
|
3306
3312
|
|
@@ -3309,7 +3315,7 @@ module Google
|
|
3309
3315
|
# @return [Array<Google::Apis::DriveV2::Label>]
|
3310
3316
|
attr_accessor :items
|
3311
3317
|
|
3312
|
-
# This is always drive#labelList
|
3318
|
+
# This is always `drive#labelList`
|
3313
3319
|
# Corresponds to the JSON property `kind`
|
3314
3320
|
# @return [String]
|
3315
3321
|
attr_accessor :kind
|
@@ -3345,7 +3351,7 @@ module Google
|
|
3345
3351
|
# @return [Array<Google::Apis::DriveV2::LabelFieldModification>]
|
3346
3352
|
attr_accessor :field_modifications
|
3347
3353
|
|
3348
|
-
# This is always drive#labelModification
|
3354
|
+
# This is always `drive#labelModification`.
|
3349
3355
|
# Corresponds to the JSON property `kind`
|
3350
3356
|
# @return [String]
|
3351
3357
|
attr_accessor :kind
|
@@ -3375,11 +3381,11 @@ module Google
|
|
3375
3381
|
end
|
3376
3382
|
|
3377
3383
|
# A request to modify the set of labels on a file. This request may contain many
|
3378
|
-
# modifications that will either all succeed or all fail
|
3384
|
+
# modifications that will either all succeed or all fail atomically.
|
3379
3385
|
class ModifyLabelsRequest
|
3380
3386
|
include Google::Apis::Core::Hashable
|
3381
3387
|
|
3382
|
-
# This is always drive#modifyLabelsRequest
|
3388
|
+
# This is always `drive#modifyLabelsRequest`.
|
3383
3389
|
# Corresponds to the JSON property `kind`
|
3384
3390
|
# @return [String]
|
3385
3391
|
attr_accessor :kind
|
@@ -3405,7 +3411,7 @@ module Google
|
|
3405
3411
|
class ModifyLabelsResponse
|
3406
3412
|
include Google::Apis::Core::Hashable
|
3407
3413
|
|
3408
|
-
# This is always drive#modifyLabelsResponse
|
3414
|
+
# This is always `drive#modifyLabelsResponse`
|
3409
3415
|
# Corresponds to the JSON property `kind`
|
3410
3416
|
# @return [String]
|
3411
3417
|
attr_accessor :kind
|
@@ -3440,7 +3446,7 @@ module Google
|
|
3440
3446
|
# @return [Array<Google::Apis::DriveV2::ParentReference>]
|
3441
3447
|
attr_accessor :items
|
3442
3448
|
|
3443
|
-
# This is always drive#parentList
|
3449
|
+
# This is always `drive#parentList`.
|
3444
3450
|
# Corresponds to the JSON property `kind`
|
3445
3451
|
# @return [String]
|
3446
3452
|
attr_accessor :kind
|
@@ -3472,23 +3478,23 @@ module Google
|
|
3472
3478
|
# @return [String]
|
3473
3479
|
attr_accessor :id
|
3474
3480
|
|
3475
|
-
# Whether or not the parent is the root folder.
|
3481
|
+
# Output only. Whether or not the parent is the root folder.
|
3476
3482
|
# Corresponds to the JSON property `isRoot`
|
3477
3483
|
# @return [Boolean]
|
3478
3484
|
attr_accessor :is_root
|
3479
3485
|
alias_method :is_root?, :is_root
|
3480
3486
|
|
3481
|
-
# This is always drive#parentReference
|
3487
|
+
# Output only. This is always `drive#parentReference`.
|
3482
3488
|
# Corresponds to the JSON property `kind`
|
3483
3489
|
# @return [String]
|
3484
3490
|
attr_accessor :kind
|
3485
3491
|
|
3486
|
-
# A link to the parent.
|
3492
|
+
# Output only. A link to the parent.
|
3487
3493
|
# Corresponds to the JSON property `parentLink`
|
3488
3494
|
# @return [String]
|
3489
3495
|
attr_accessor :parent_link
|
3490
3496
|
|
3491
|
-
# A link back to this reference.
|
3497
|
+
# Output only. A link back to this reference.
|
3492
3498
|
# Corresponds to the JSON property `selfLink`
|
3493
3499
|
# @return [String]
|
3494
3500
|
attr_accessor :self_link
|
@@ -3511,128 +3517,123 @@ module Google
|
|
3511
3517
|
class Permission
|
3512
3518
|
include Google::Apis::Core::Hashable
|
3513
3519
|
|
3514
|
-
# Additional roles for this user. Only commenter is currently allowed, though
|
3520
|
+
# Additional roles for this user. Only `commenter` is currently allowed, though
|
3515
3521
|
# more may be supported in the future.
|
3516
3522
|
# Corresponds to the JSON property `additionalRoles`
|
3517
3523
|
# @return [Array<String>]
|
3518
3524
|
attr_accessor :additional_roles
|
3519
3525
|
|
3520
|
-
# Deprecated.
|
3526
|
+
# Output only. Deprecated.
|
3521
3527
|
# Corresponds to the JSON property `authKey`
|
3522
3528
|
# @return [String]
|
3523
3529
|
attr_accessor :auth_key
|
3524
3530
|
|
3525
|
-
# Whether the account associated with this permission has been
|
3526
|
-
# field only pertains to user and group permissions.
|
3531
|
+
# Output only. Whether the account associated with this permission has been
|
3532
|
+
# deleted. This field only pertains to user and group permissions.
|
3527
3533
|
# Corresponds to the JSON property `deleted`
|
3528
3534
|
# @return [Boolean]
|
3529
3535
|
attr_accessor :deleted
|
3530
3536
|
alias_method :deleted?, :deleted
|
3531
3537
|
|
3532
|
-
# The domain name of the entity this permission refers to. This is
|
3533
|
-
# only field which is present when the permission type is user
|
3538
|
+
# Output only. The domain name of the entity this permission refers to. This is
|
3539
|
+
# an output-only field which is present when the permission type is `user`, `
|
3540
|
+
# group` or `domain`.
|
3534
3541
|
# Corresponds to the JSON property `domain`
|
3535
3542
|
# @return [String]
|
3536
3543
|
attr_accessor :domain
|
3537
3544
|
|
3538
|
-
# The email address of the user or group this permission refers to.
|
3539
|
-
# output-only field which is present when the permission type is
|
3545
|
+
# Output only. The email address of the user or group this permission refers to.
|
3546
|
+
# This is an output-only field which is present when the permission type is `
|
3547
|
+
# user` or `group`.
|
3540
3548
|
# Corresponds to the JSON property `emailAddress`
|
3541
3549
|
# @return [String]
|
3542
3550
|
attr_accessor :email_address
|
3543
3551
|
|
3544
|
-
# The ETag of the permission.
|
3552
|
+
# Output only. The ETag of the permission.
|
3545
3553
|
# Corresponds to the JSON property `etag`
|
3546
3554
|
# @return [String]
|
3547
3555
|
attr_accessor :etag
|
3548
3556
|
|
3549
3557
|
# The time at which this permission will expire (RFC 3339 date-time). Expiration
|
3550
|
-
# dates have the following restrictions:
|
3551
|
-
# -
|
3552
|
-
# -
|
3553
|
-
#
|
3554
|
-
# - The date cannot be more than a year in the future
|
3558
|
+
# dates have the following restrictions: - They can only be set on user and
|
3559
|
+
# group permissions - The date must be in the future - The date cannot be more
|
3560
|
+
# than a year in the future - The date can only be set on drive.permissions.
|
3561
|
+
# update or drive.permissions.patch requests
|
3555
3562
|
# Corresponds to the JSON property `expirationDate`
|
3556
3563
|
# @return [DateTime]
|
3557
3564
|
attr_accessor :expiration_date
|
3558
3565
|
|
3559
|
-
# The ID of the user this permission refers to, and identical to the
|
3560
|
-
# permissionId in the About and Files resources. When making a drive.
|
3561
|
-
# insert request, exactly one of the id or value fields must be
|
3562
|
-
# the permission type is anyone
|
3566
|
+
# The ID of the user this permission refers to, and identical to the `
|
3567
|
+
# permissionId` in the About and Files resources. When making a `drive.
|
3568
|
+
# permissions.insert` request, exactly one of the `id` or `value` fields must be
|
3569
|
+
# specified unless the permission type is `anyone`, in which case both `id` and `
|
3570
|
+
# value` are ignored.
|
3563
3571
|
# Corresponds to the JSON property `id`
|
3564
3572
|
# @return [String]
|
3565
3573
|
attr_accessor :id
|
3566
3574
|
|
3567
|
-
# This is always drive#permission
|
3575
|
+
# Output only. This is always `drive#permission`.
|
3568
3576
|
# Corresponds to the JSON property `kind`
|
3569
3577
|
# @return [String]
|
3570
3578
|
attr_accessor :kind
|
3571
3579
|
|
3572
|
-
# The name for this permission.
|
3580
|
+
# Output only. The name for this permission.
|
3573
3581
|
# Corresponds to the JSON property `name`
|
3574
3582
|
# @return [String]
|
3575
3583
|
attr_accessor :name
|
3576
3584
|
|
3577
3585
|
# Whether the account associated with this permission is a pending owner. Only
|
3578
|
-
# populated for user type permissions for files that are not in a shared drive.
|
3586
|
+
# populated for `user` type permissions for files that are not in a shared drive.
|
3579
3587
|
# Corresponds to the JSON property `pendingOwner`
|
3580
3588
|
# @return [Boolean]
|
3581
3589
|
attr_accessor :pending_owner
|
3582
3590
|
alias_method :pending_owner?, :pending_owner
|
3583
3591
|
|
3584
|
-
# Details of whether the permissions on this shared drive item are
|
3585
|
-
# directly on this item. This is an output-only field which is
|
3586
|
-
# shared drive items.
|
3592
|
+
# Output only. Details of whether the permissions on this shared drive item are
|
3593
|
+
# inherited or directly on this item. This is an output-only field which is
|
3594
|
+
# present only for shared drive items.
|
3587
3595
|
# Corresponds to the JSON property `permissionDetails`
|
3588
3596
|
# @return [Array<Google::Apis::DriveV2::Permission::PermissionDetail>]
|
3589
3597
|
attr_accessor :permission_details
|
3590
3598
|
|
3591
|
-
# A link to the profile photo, if available.
|
3599
|
+
# Output only. A link to the profile photo, if available.
|
3592
3600
|
# Corresponds to the JSON property `photoLink`
|
3593
3601
|
# @return [String]
|
3594
3602
|
attr_accessor :photo_link
|
3595
3603
|
|
3596
3604
|
# The primary role for this user. While new values may be supported in the
|
3597
|
-
# future, the following are currently allowed:
|
3598
|
-
#
|
3599
|
-
# - organizer
|
3600
|
-
# - fileOrganizer
|
3601
|
-
# - writer
|
3602
|
-
# - reader
|
3605
|
+
# future, the following are currently allowed: * `owner` * `organizer` * `
|
3606
|
+
# fileOrganizer` * `writer` * `reader`
|
3603
3607
|
# Corresponds to the JSON property `role`
|
3604
3608
|
# @return [String]
|
3605
3609
|
attr_accessor :role
|
3606
3610
|
|
3607
|
-
# A link back to this permission.
|
3611
|
+
# Output only. A link back to this permission.
|
3608
3612
|
# Corresponds to the JSON property `selfLink`
|
3609
3613
|
# @return [String]
|
3610
3614
|
attr_accessor :self_link
|
3611
3615
|
|
3612
|
-
# Deprecated
|
3616
|
+
# Output only. Deprecated: Use `permissionDetails` instead.
|
3613
3617
|
# Corresponds to the JSON property `teamDrivePermissionDetails`
|
3614
3618
|
# @return [Array<Google::Apis::DriveV2::Permission::TeamDrivePermissionDetail>]
|
3615
3619
|
attr_accessor :team_drive_permission_details
|
3616
3620
|
|
3617
|
-
# The account type. Allowed values are:
|
3618
|
-
# - user
|
3619
|
-
# - group
|
3620
|
-
# - domain
|
3621
|
-
# - anyone
|
3621
|
+
# The account type. Allowed values are: * `user` * `group` * `domain` * `anyone`
|
3622
3622
|
# Corresponds to the JSON property `type`
|
3623
3623
|
# @return [String]
|
3624
3624
|
attr_accessor :type
|
3625
3625
|
|
3626
3626
|
# The email address or domain name for the entity. This is used during inserts
|
3627
|
-
# and is not populated in responses. When making a drive.permissions.insert
|
3628
|
-
# request, exactly one of the id or value fields must be specified unless
|
3629
|
-
# permission type is anyone
|
3627
|
+
# and is not populated in responses. When making a `drive.permissions.insert`
|
3628
|
+
# request, exactly one of the `id` or `value` fields must be specified unless
|
3629
|
+
# the permission type is `anyone`, in which case both `id` and `value` are
|
3630
|
+
# ignored.
|
3630
3631
|
# Corresponds to the JSON property `value`
|
3631
3632
|
# @return [String]
|
3632
3633
|
attr_accessor :value
|
3633
3634
|
|
3634
3635
|
# Indicates the view for this permission. Only populated for permissions that
|
3635
|
-
# belong to a view. published is the only supported value.
|
3636
|
+
# belong to a view. `published` is the only supported value.
|
3636
3637
|
# Corresponds to the JSON property `view`
|
3637
3638
|
# @return [String]
|
3638
3639
|
attr_accessor :view
|
@@ -3675,39 +3676,34 @@ module Google
|
|
3675
3676
|
class PermissionDetail
|
3676
3677
|
include Google::Apis::Core::Hashable
|
3677
3678
|
|
3678
|
-
# Additional roles for this user. Only commenter is currently
|
3679
|
-
# more may be supported in the future.
|
3679
|
+
# Output only. Additional roles for this user. Only `commenter` is currently
|
3680
|
+
# possible, though more may be supported in the future.
|
3680
3681
|
# Corresponds to the JSON property `additionalRoles`
|
3681
3682
|
# @return [Array<String>]
|
3682
3683
|
attr_accessor :additional_roles
|
3683
3684
|
|
3684
|
-
# Whether this permission is inherited. This field is always
|
3685
|
-
# an output-only field.
|
3685
|
+
# Output only. Whether this permission is inherited. This field is always
|
3686
|
+
# populated. This is an output-only field.
|
3686
3687
|
# Corresponds to the JSON property `inherited`
|
3687
3688
|
# @return [Boolean]
|
3688
3689
|
attr_accessor :inherited
|
3689
3690
|
alias_method :inherited?, :inherited
|
3690
3691
|
|
3691
|
-
# The ID of the item from which this permission is inherited. This
|
3692
|
-
# only field.
|
3692
|
+
# Output only. The ID of the item from which this permission is inherited. This
|
3693
|
+
# is an output-only field.
|
3693
3694
|
# Corresponds to the JSON property `inheritedFrom`
|
3694
3695
|
# @return [String]
|
3695
3696
|
attr_accessor :inherited_from
|
3696
3697
|
|
3697
|
-
# The permission type for this user. While new values may be added
|
3698
|
-
# the following are currently possible:
|
3699
|
-
# - file
|
3700
|
-
# - member
|
3698
|
+
# Output only. The permission type for this user. While new values may be added
|
3699
|
+
# in future, the following are currently possible: * `file` * `member`
|
3701
3700
|
# Corresponds to the JSON property `permissionType`
|
3702
3701
|
# @return [String]
|
3703
3702
|
attr_accessor :permission_type
|
3704
3703
|
|
3705
|
-
# The primary role for this user. While new values may be added in
|
3706
|
-
# the following are currently possible:
|
3707
|
-
#
|
3708
|
-
# - fileOrganizer
|
3709
|
-
# - writer
|
3710
|
-
# - reader
|
3704
|
+
# Output only. The primary role for this user. While new values may be added in
|
3705
|
+
# the future, the following are currently possible: * `organizer` * `
|
3706
|
+
# fileOrganizer` * `writer` * `reader`
|
3711
3707
|
# Corresponds to the JSON property `role`
|
3712
3708
|
# @return [String]
|
3713
3709
|
attr_accessor :role
|
@@ -3730,28 +3726,28 @@ module Google
|
|
3730
3726
|
class TeamDrivePermissionDetail
|
3731
3727
|
include Google::Apis::Core::Hashable
|
3732
3728
|
|
3733
|
-
# Deprecated
|
3729
|
+
# Output only. Deprecated: Use `permissionDetails/additionalRoles` instead.
|
3734
3730
|
# Corresponds to the JSON property `additionalRoles`
|
3735
3731
|
# @return [Array<String>]
|
3736
3732
|
attr_accessor :additional_roles
|
3737
3733
|
|
3738
|
-
# Deprecated
|
3734
|
+
# Output only. Deprecated: Use `permissionDetails/inherited` instead.
|
3739
3735
|
# Corresponds to the JSON property `inherited`
|
3740
3736
|
# @return [Boolean]
|
3741
3737
|
attr_accessor :inherited
|
3742
3738
|
alias_method :inherited?, :inherited
|
3743
3739
|
|
3744
|
-
# Deprecated
|
3740
|
+
# Output only. Deprecated: Use `permissionDetails/inheritedFrom` instead.
|
3745
3741
|
# Corresponds to the JSON property `inheritedFrom`
|
3746
3742
|
# @return [String]
|
3747
3743
|
attr_accessor :inherited_from
|
3748
3744
|
|
3749
|
-
# Deprecated
|
3745
|
+
# Output only. Deprecated: Use `permissionDetails/role` instead.
|
3750
3746
|
# Corresponds to the JSON property `role`
|
3751
3747
|
# @return [String]
|
3752
3748
|
attr_accessor :role
|
3753
3749
|
|
3754
|
-
# Deprecated
|
3750
|
+
# Output only. Deprecated: Use `permissionDetails/permissionType` instead.
|
3755
3751
|
# Corresponds to the JSON property `teamDrivePermissionType`
|
3756
3752
|
# @return [String]
|
3757
3753
|
attr_accessor :team_drive_permission_type
|
@@ -3780,7 +3776,7 @@ module Google
|
|
3780
3776
|
# @return [String]
|
3781
3777
|
attr_accessor :id
|
3782
3778
|
|
3783
|
-
# This is always drive#permissionId
|
3779
|
+
# This is always `drive#permissionId`.
|
3784
3780
|
# Corresponds to the JSON property `kind`
|
3785
3781
|
# @return [String]
|
3786
3782
|
attr_accessor :kind
|
@@ -3810,7 +3806,7 @@ module Google
|
|
3810
3806
|
# @return [Array<Google::Apis::DriveV2::Permission>]
|
3811
3807
|
attr_accessor :items
|
3812
3808
|
|
3813
|
-
# This is always drive#permissionList
|
3809
|
+
# This is always `drive#permissionList`.
|
3814
3810
|
# Corresponds to the JSON property `kind`
|
3815
3811
|
# @return [String]
|
3816
3812
|
attr_accessor :kind
|
@@ -3843,17 +3839,14 @@ module Google
|
|
3843
3839
|
end
|
3844
3840
|
|
3845
3841
|
# A key-value pair attached to a file that is either public or private to an
|
3846
|
-
# application.
|
3847
|
-
#
|
3848
|
-
#
|
3849
|
-
#
|
3850
|
-
# - Maximum of 30 public properties
|
3851
|
-
# - Maximum of 124 bytes size limit on (key + value) string in UTF-8 encoding
|
3852
|
-
# for a single property.
|
3842
|
+
# application. The following limits apply to file properties: * Maximum of 100
|
3843
|
+
# properties total per file * Maximum of 30 private properties per app * Maximum
|
3844
|
+
# of 30 public properties * Maximum of 124 bytes size limit on (key + value)
|
3845
|
+
# string in UTF-8 encoding for a single property
|
3853
3846
|
class Property
|
3854
3847
|
include Google::Apis::Core::Hashable
|
3855
3848
|
|
3856
|
-
# ETag of the property.
|
3849
|
+
# Output only. ETag of the property.
|
3857
3850
|
# Corresponds to the JSON property `etag`
|
3858
3851
|
# @return [String]
|
3859
3852
|
attr_accessor :etag
|
@@ -3863,12 +3856,12 @@ module Google
|
|
3863
3856
|
# @return [String]
|
3864
3857
|
attr_accessor :key
|
3865
3858
|
|
3866
|
-
# This is always drive#property
|
3859
|
+
# Output only. This is always `drive#property`.
|
3867
3860
|
# Corresponds to the JSON property `kind`
|
3868
3861
|
# @return [String]
|
3869
3862
|
attr_accessor :kind
|
3870
3863
|
|
3871
|
-
# The link back to this property.
|
3864
|
+
# Output only. The link back to this property.
|
3872
3865
|
# Corresponds to the JSON property `selfLink`
|
3873
3866
|
# @return [String]
|
3874
3867
|
attr_accessor :self_link
|
@@ -3878,11 +3871,10 @@ module Google
|
|
3878
3871
|
# @return [String]
|
3879
3872
|
attr_accessor :value
|
3880
3873
|
|
3881
|
-
# The visibility of this property. Allowed values are PRIVATE and
|
3882
|
-
#
|
3883
|
-
#
|
3884
|
-
#
|
3885
|
-
# properties.
|
3874
|
+
# The visibility of this property. Allowed values are PRIVATE (default) and
|
3875
|
+
# PUBLIC. Private properties can only be retrieved using an authenticated
|
3876
|
+
# request. An authenticated request uses an access token obtained with a OAuth 2
|
3877
|
+
# client ID. You cannot use an API key to retrieve private properties.
|
3886
3878
|
# Corresponds to the JSON property `visibility`
|
3887
3879
|
# @return [String]
|
3888
3880
|
attr_accessor :visibility
|
@@ -3917,7 +3909,7 @@ module Google
|
|
3917
3909
|
# @return [Array<Google::Apis::DriveV2::Property>]
|
3918
3910
|
attr_accessor :items
|
3919
3911
|
|
3920
|
-
# This is always drive#propertyList
|
3912
|
+
# This is always `drive#propertyList`.
|
3921
3913
|
# Corresponds to the JSON property `kind`
|
3922
3914
|
# @return [String]
|
3923
3915
|
attr_accessor :kind
|
@@ -3944,33 +3936,34 @@ module Google
|
|
3944
3936
|
class Revision
|
3945
3937
|
include Google::Apis::Core::Hashable
|
3946
3938
|
|
3947
|
-
#
|
3939
|
+
# Output only. Short term download URL for the file. This will only be populated
|
3940
|
+
# on files with content stored in Drive.
|
3948
3941
|
# Corresponds to the JSON property `downloadUrl`
|
3949
3942
|
# @return [String]
|
3950
3943
|
attr_accessor :download_url
|
3951
3944
|
|
3952
|
-
# The ETag of the revision.
|
3945
|
+
# Output only. The ETag of the revision.
|
3953
3946
|
# Corresponds to the JSON property `etag`
|
3954
3947
|
# @return [String]
|
3955
3948
|
attr_accessor :etag
|
3956
3949
|
|
3957
|
-
# Links for exporting Docs Editors files to specific formats.
|
3950
|
+
# Output only. Links for exporting Docs Editors files to specific formats.
|
3958
3951
|
# Corresponds to the JSON property `exportLinks`
|
3959
3952
|
# @return [Hash<String,String>]
|
3960
3953
|
attr_accessor :export_links
|
3961
3954
|
|
3962
|
-
# The size of the revision in bytes. This will only be populated on
|
3963
|
-
# content stored in Drive.
|
3955
|
+
# Output only. The size of the revision in bytes. This will only be populated on
|
3956
|
+
# files with content stored in Drive.
|
3964
3957
|
# Corresponds to the JSON property `fileSize`
|
3965
3958
|
# @return [Fixnum]
|
3966
3959
|
attr_accessor :file_size
|
3967
3960
|
|
3968
|
-
# The ID of the revision.
|
3961
|
+
# Output only. The ID of the revision.
|
3969
3962
|
# Corresponds to the JSON property `id`
|
3970
3963
|
# @return [String]
|
3971
3964
|
attr_accessor :id
|
3972
3965
|
|
3973
|
-
# This is always drive#revision
|
3966
|
+
# Output only. This is always `drive#revision`.
|
3974
3967
|
# Corresponds to the JSON property `kind`
|
3975
3968
|
# @return [String]
|
3976
3969
|
attr_accessor :kind
|
@@ -3980,18 +3973,18 @@ module Google
|
|
3980
3973
|
# @return [Google::Apis::DriveV2::User]
|
3981
3974
|
attr_accessor :last_modifying_user
|
3982
3975
|
|
3983
|
-
# Name of the last user to modify this revision.
|
3976
|
+
# Output only. Name of the last user to modify this revision.
|
3984
3977
|
# Corresponds to the JSON property `lastModifyingUserName`
|
3985
3978
|
# @return [String]
|
3986
3979
|
attr_accessor :last_modifying_user_name
|
3987
3980
|
|
3988
|
-
# An MD5 checksum for the content of this revision. This will only
|
3989
|
-
# on files with content stored in Drive.
|
3981
|
+
# Output only. An MD5 checksum for the content of this revision. This will only
|
3982
|
+
# be populated on files with content stored in Drive.
|
3990
3983
|
# Corresponds to the JSON property `md5Checksum`
|
3991
3984
|
# @return [String]
|
3992
3985
|
attr_accessor :md5_checksum
|
3993
3986
|
|
3994
|
-
# The MIME type of the revision.
|
3987
|
+
# Output only. The MIME type of the revision.
|
3995
3988
|
# Corresponds to the JSON property `mimeType`
|
3996
3989
|
# @return [String]
|
3997
3990
|
attr_accessor :mime_type
|
@@ -4001,8 +3994,8 @@ module Google
|
|
4001
3994
|
# @return [DateTime]
|
4002
3995
|
attr_accessor :modified_date
|
4003
3996
|
|
4004
|
-
# The original filename when this revision was created. This will
|
4005
|
-
# populated on files with content stored in Drive.
|
3997
|
+
# Output only. The original filename when this revision was created. This will
|
3998
|
+
# only be populated on files with content stored in Drive.
|
4006
3999
|
# Corresponds to the JSON property `originalFilename`
|
4007
4000
|
# @return [String]
|
4008
4001
|
attr_accessor :original_filename
|
@@ -4033,8 +4026,8 @@ module Google
|
|
4033
4026
|
attr_accessor :published
|
4034
4027
|
alias_method :published?, :published
|
4035
4028
|
|
4036
|
-
# A link to the published revision. This is only populated for
|
4037
|
-
# files.
|
4029
|
+
# Output only. A link to the published revision. This is only populated for
|
4030
|
+
# Google Sites files.
|
4038
4031
|
# Corresponds to the JSON property `publishedLink`
|
4039
4032
|
# @return [String]
|
4040
4033
|
attr_accessor :published_link
|
@@ -4046,7 +4039,7 @@ module Google
|
|
4046
4039
|
attr_accessor :published_outside_domain
|
4047
4040
|
alias_method :published_outside_domain?, :published_outside_domain
|
4048
4041
|
|
4049
|
-
# A link back to this revision.
|
4042
|
+
# Output only. A link back to this revision.
|
4050
4043
|
# Corresponds to the JSON property `selfLink`
|
4051
4044
|
# @return [String]
|
4052
4045
|
attr_accessor :self_link
|
@@ -4093,7 +4086,7 @@ module Google
|
|
4093
4086
|
# @return [Array<Google::Apis::DriveV2::Revision>]
|
4094
4087
|
attr_accessor :items
|
4095
4088
|
|
4096
|
-
# This is always drive#revisionList
|
4089
|
+
# This is always `drive#revisionList`.
|
4097
4090
|
# Corresponds to the JSON property `kind`
|
4098
4091
|
# @return [String]
|
4099
4092
|
attr_accessor :kind
|
@@ -4129,8 +4122,8 @@ module Google
|
|
4129
4122
|
class StartPageToken
|
4130
4123
|
include Google::Apis::Core::Hashable
|
4131
4124
|
|
4132
|
-
# Identifies what kind of resource this is. Value: the fixed string "drive#
|
4133
|
-
# startPageToken"
|
4125
|
+
# Identifies what kind of resource this is. Value: the fixed string `"drive#
|
4126
|
+
# startPageToken"`.
|
4134
4127
|
# Corresponds to the JSON property `kind`
|
4135
4128
|
# @return [String]
|
4136
4129
|
attr_accessor :kind
|
@@ -4151,14 +4144,14 @@ module Google
|
|
4151
4144
|
end
|
4152
4145
|
end
|
4153
4146
|
|
4154
|
-
# Deprecated:
|
4147
|
+
# Deprecated: Use the `drive` collection instead.
|
4155
4148
|
class TeamDrive
|
4156
4149
|
include Google::Apis::Core::Hashable
|
4157
4150
|
|
4158
4151
|
# An image file and cropping parameters from which a background image for this
|
4159
|
-
# Team Drive is set. This is a write only field; it can only be set on drive.
|
4160
|
-
# teamdrives.update requests that don't set themeId
|
4161
|
-
# of the backgroundImageFile must be set.
|
4152
|
+
# Team Drive is set. This is a write only field; it can only be set on `drive.
|
4153
|
+
# teamdrives.update` requests that don't set `themeId`. When specified, all
|
4154
|
+
# fields of the `backgroundImageFile` must be set.
|
4162
4155
|
# Corresponds to the JSON property `backgroundImageFile`
|
4163
4156
|
# @return [Google::Apis::DriveV2::TeamDrive::BackgroundImageFile]
|
4164
4157
|
attr_accessor :background_image_file
|
@@ -4173,8 +4166,8 @@ module Google
|
|
4173
4166
|
# @return [Google::Apis::DriveV2::TeamDrive::Capabilities]
|
4174
4167
|
attr_accessor :capabilities
|
4175
4168
|
|
4176
|
-
# The color of this Team Drive as an RGB hex string. It can only be set on a
|
4177
|
-
# drive.teamdrives.update request that does not set themeId
|
4169
|
+
# The color of this Team Drive as an RGB hex string. It can only be set on a `
|
4170
|
+
# drive.teamdrives.update` request that does not set `themeId`.
|
4178
4171
|
# Corresponds to the JSON property `colorRgb`
|
4179
4172
|
# @return [String]
|
4180
4173
|
attr_accessor :color_rgb
|
@@ -4190,7 +4183,7 @@ module Google
|
|
4190
4183
|
# @return [String]
|
4191
4184
|
attr_accessor :id
|
4192
4185
|
|
4193
|
-
# This is always drive#teamDrive
|
4186
|
+
# This is always `drive#teamDrive`
|
4194
4187
|
# Corresponds to the JSON property `kind`
|
4195
4188
|
# @return [String]
|
4196
4189
|
attr_accessor :kind
|
@@ -4200,8 +4193,9 @@ module Google
|
|
4200
4193
|
# @return [String]
|
4201
4194
|
attr_accessor :name
|
4202
4195
|
|
4203
|
-
# The organizational unit of this shared drive. This field is only populated on
|
4204
|
-
# drives.list responses when the useDomainAdminAccess parameter is set to
|
4196
|
+
# The organizational unit of this shared drive. This field is only populated on `
|
4197
|
+
# drives.list` responses when the `useDomainAdminAccess` parameter is set to `
|
4198
|
+
# true`.
|
4205
4199
|
# Corresponds to the JSON property `orgUnitId`
|
4206
4200
|
# @return [String]
|
4207
4201
|
attr_accessor :org_unit_id
|
@@ -4213,11 +4207,11 @@ module Google
|
|
4213
4207
|
attr_accessor :restrictions
|
4214
4208
|
|
4215
4209
|
# The ID of the theme from which the background image and color will be set. The
|
4216
|
-
# set of possible teamDriveThemes can be retrieved from a drive.about.get
|
4217
|
-
# response. When not specified on a drive.teamdrives.insert request, a random
|
4210
|
+
# set of possible `teamDriveThemes` can be retrieved from a `drive.about.get`
|
4211
|
+
# response. When not specified on a `drive.teamdrives.insert` request, a random
|
4218
4212
|
# theme is chosen from which the background image and color are set. This is a
|
4219
|
-
# write-only field; it can only be set on requests that don't set colorRgb or
|
4220
|
-
# backgroundImageFile
|
4213
|
+
# write-only field; it can only be set on requests that don't set `colorRgb` or `
|
4214
|
+
# backgroundImageFile`.
|
4221
4215
|
# Corresponds to the JSON property `themeId`
|
4222
4216
|
# @return [String]
|
4223
4217
|
attr_accessor :theme_id
|
@@ -4242,9 +4236,9 @@ module Google
|
|
4242
4236
|
end
|
4243
4237
|
|
4244
4238
|
# An image file and cropping parameters from which a background image for this
|
4245
|
-
# Team Drive is set. This is a write only field; it can only be set on drive.
|
4246
|
-
# teamdrives.update requests that don't set themeId
|
4247
|
-
# of the backgroundImageFile must be set.
|
4239
|
+
# Team Drive is set. This is a write only field; it can only be set on `drive.
|
4240
|
+
# teamdrives.update` requests that don't set `themeId`. When specified, all
|
4241
|
+
# fields of the `backgroundImageFile` must be set.
|
4248
4242
|
class BackgroundImageFile
|
4249
4243
|
include Google::Apis::Core::Hashable
|
4250
4244
|
|
@@ -4301,22 +4295,22 @@ module Google
|
|
4301
4295
|
attr_accessor :can_add_children
|
4302
4296
|
alias_method :can_add_children?, :can_add_children
|
4303
4297
|
|
4304
|
-
# Whether the current user can change the copyRequiresWriterPermission
|
4298
|
+
# Whether the current user can change the `copyRequiresWriterPermission`
|
4305
4299
|
# restriction of this Team Drive.
|
4306
4300
|
# Corresponds to the JSON property `canChangeCopyRequiresWriterPermissionRestriction`
|
4307
4301
|
# @return [Boolean]
|
4308
4302
|
attr_accessor :can_change_copy_requires_writer_permission_restriction
|
4309
4303
|
alias_method :can_change_copy_requires_writer_permission_restriction?, :can_change_copy_requires_writer_permission_restriction
|
4310
4304
|
|
4311
|
-
# Whether the current user can change the domainUsersOnly restriction of this
|
4305
|
+
# Whether the current user can change the `domainUsersOnly` restriction of this
|
4312
4306
|
# Team Drive.
|
4313
4307
|
# Corresponds to the JSON property `canChangeDomainUsersOnlyRestriction`
|
4314
4308
|
# @return [Boolean]
|
4315
4309
|
attr_accessor :can_change_domain_users_only_restriction
|
4316
4310
|
alias_method :can_change_domain_users_only_restriction?, :can_change_domain_users_only_restriction
|
4317
4311
|
|
4318
|
-
# Whether the current user can change the
|
4319
|
-
# sharingFoldersRequiresOrganizerPermission restriction of this Team Drive.
|
4312
|
+
# Whether the current user can change the `
|
4313
|
+
# sharingFoldersRequiresOrganizerPermission` restriction of this Team Drive.
|
4320
4314
|
# Corresponds to the JSON property `canChangeSharingFoldersRequiresOrganizerPermissionRestriction`
|
4321
4315
|
# @return [Boolean]
|
4322
4316
|
attr_accessor :can_change_sharing_folders_requires_organizer_permission_restriction
|
@@ -4328,7 +4322,7 @@ module Google
|
|
4328
4322
|
attr_accessor :can_change_team_drive_background
|
4329
4323
|
alias_method :can_change_team_drive_background?, :can_change_team_drive_background
|
4330
4324
|
|
4331
|
-
# Whether the current user can change the teamMembersOnly restriction of this
|
4325
|
+
# Whether the current user can change the `teamMembersOnly` restriction of this
|
4332
4326
|
# Team Drive.
|
4333
4327
|
# Corresponds to the JSON property `canChangeTeamMembersOnlyRestriction`
|
4334
4328
|
# @return [Boolean]
|
@@ -4392,7 +4386,7 @@ module Google
|
|
4392
4386
|
attr_accessor :can_read_revisions
|
4393
4387
|
alias_method :can_read_revisions?, :can_read_revisions
|
4394
4388
|
|
4395
|
-
# Deprecated
|
4389
|
+
# Deprecated: Use `canDeleteChildren` or `canTrashChildren` instead.
|
4396
4390
|
# Corresponds to the JSON property `canRemoveChildren`
|
4397
4391
|
# @return [Boolean]
|
4398
4392
|
attr_accessor :can_remove_children
|
@@ -4472,8 +4466,8 @@ module Google
|
|
4472
4466
|
|
4473
4467
|
# Whether the options to copy, print, or download files inside this Team Drive,
|
4474
4468
|
# should be disabled for readers and commenters. When this restriction is set to
|
4475
|
-
# true
|
4476
|
-
# this Team Drive.
|
4469
|
+
# `true`, it will override the similarly named field to `true` for any file
|
4470
|
+
# inside this Team Drive.
|
4477
4471
|
# Corresponds to the JSON property `copyRequiresWriterPermission`
|
4478
4472
|
# @return [Boolean]
|
4479
4473
|
attr_accessor :copy_requires_writer_permission
|
@@ -4526,7 +4520,7 @@ module Google
|
|
4526
4520
|
# @return [Array<Google::Apis::DriveV2::TeamDrive>]
|
4527
4521
|
attr_accessor :items
|
4528
4522
|
|
4529
|
-
# This is always drive#teamDriveList
|
4523
|
+
# This is always `drive#teamDriveList`
|
4530
4524
|
# Corresponds to the JSON property `kind`
|
4531
4525
|
# @return [String]
|
4532
4526
|
attr_accessor :kind
|
@@ -4552,34 +4546,34 @@ module Google
|
|
4552
4546
|
class User
|
4553
4547
|
include Google::Apis::Core::Hashable
|
4554
4548
|
|
4555
|
-
# A plain text displayable name for this user.
|
4549
|
+
# Output only. A plain text displayable name for this user.
|
4556
4550
|
# Corresponds to the JSON property `displayName`
|
4557
4551
|
# @return [String]
|
4558
4552
|
attr_accessor :display_name
|
4559
4553
|
|
4560
|
-
# The email address of the user.
|
4554
|
+
# Output only. The email address of the user.
|
4561
4555
|
# Corresponds to the JSON property `emailAddress`
|
4562
4556
|
# @return [String]
|
4563
4557
|
attr_accessor :email_address
|
4564
4558
|
|
4565
|
-
# Whether this user is the same as the authenticated user for whom
|
4566
|
-
# was made.
|
4559
|
+
# Output only. Whether this user is the same as the authenticated user for whom
|
4560
|
+
# the request was made.
|
4567
4561
|
# Corresponds to the JSON property `isAuthenticatedUser`
|
4568
4562
|
# @return [Boolean]
|
4569
4563
|
attr_accessor :is_authenticated_user
|
4570
4564
|
alias_method :is_authenticated_user?, :is_authenticated_user
|
4571
4565
|
|
4572
|
-
# This is always drive#user
|
4566
|
+
# Output only. This is always `drive#user`.
|
4573
4567
|
# Corresponds to the JSON property `kind`
|
4574
4568
|
# @return [String]
|
4575
4569
|
attr_accessor :kind
|
4576
4570
|
|
4577
|
-
# The user's ID as visible in the permissions collection.
|
4571
|
+
# Output only. The user's ID as visible in the permissions collection.
|
4578
4572
|
# Corresponds to the JSON property `permissionId`
|
4579
4573
|
# @return [String]
|
4580
4574
|
attr_accessor :permission_id
|
4581
4575
|
|
4582
|
-
# The user's profile picture.
|
4576
|
+
# Output only. The user's profile picture.
|
4583
4577
|
# Corresponds to the JSON property `picture`
|
4584
4578
|
# @return [Google::Apis::DriveV2::User::Picture]
|
4585
4579
|
attr_accessor :picture
|
@@ -4598,11 +4592,11 @@ module Google
|
|
4598
4592
|
@picture = args[:picture] if args.key?(:picture)
|
4599
4593
|
end
|
4600
4594
|
|
4601
|
-
# The user's profile picture.
|
4595
|
+
# Output only. The user's profile picture.
|
4602
4596
|
class Picture
|
4603
4597
|
include Google::Apis::Core::Hashable
|
4604
4598
|
|
4605
|
-
# A URL that points to a profile picture of this user.
|
4599
|
+
# Output Only. A URL that points to a profile picture of this user.
|
4606
4600
|
# Corresponds to the JSON property `url`
|
4607
4601
|
# @return [String]
|
4608
4602
|
attr_accessor :url
|