google-apis-drive_v3 0.39.0 → 0.41.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -38,7 +38,7 @@ module Google
38
38
  attr_accessor :can_create_drives
39
39
  alias_method :can_create_drives?, :can_create_drives
40
40
 
41
- # Deprecated - use canCreateDrives instead.
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
@@ -64,8 +64,8 @@ module Google
64
64
  # @return [Hash<String,Array<String>>]
65
65
  attr_accessor :import_formats
66
66
 
67
- # Identifies what kind of resource this is. Value: the fixed string "drive#about"
68
- # .
67
+ # Identifies what kind of resource this is. Value: the fixed string `"drive#
68
+ # about"`.
69
69
  # Corresponds to the JSON property `kind`
70
70
  # @return [String]
71
71
  attr_accessor :kind
@@ -85,7 +85,7 @@ module Google
85
85
  # @return [Google::Apis::DriveV3::About::StorageQuota]
86
86
  attr_accessor :storage_quota
87
87
 
88
- # Deprecated - use driveThemes instead.
88
+ # Deprecated: Use `driveThemes` instead.
89
89
  # Corresponds to the JSON property `teamDriveThemes`
90
90
  # @return [Array<Google::Apis::DriveV3::About::TeamDriveTheme>]
91
91
  attr_accessor :team_drive_themes
@@ -189,17 +189,17 @@ module Google
189
189
  class TeamDriveTheme
190
190
  include Google::Apis::Core::Hashable
191
191
 
192
- # Deprecated - use driveThemes/backgroundImageLink instead.
192
+ # Deprecated: Use `driveThemes/backgroundImageLink` instead.
193
193
  # Corresponds to the JSON property `backgroundImageLink`
194
194
  # @return [String]
195
195
  attr_accessor :background_image_link
196
196
 
197
- # Deprecated - use driveThemes/colorRgb instead.
197
+ # Deprecated: Use `driveThemes/colorRgb` instead.
198
198
  # Corresponds to the JSON property `colorRgb`
199
199
  # @return [String]
200
200
  attr_accessor :color_rgb
201
201
 
202
- # Deprecated - use driveThemes/id instead.
202
+ # Deprecated: Use `driveThemes/id` instead.
203
203
  # Corresponds to the JSON property `id`
204
204
  # @return [String]
205
205
  attr_accessor :id
@@ -221,7 +221,7 @@ module Google
221
221
  class Change
222
222
  include Google::Apis::Core::Hashable
223
223
 
224
- # The type of the change. Possible values are file and drive.
224
+ # The type of the change. Possible values are `file` and `drive`.
225
225
  # Corresponds to the JSON property `changeType`
226
226
  # @return [String]
227
227
  attr_accessor :change_type
@@ -246,8 +246,8 @@ module Google
246
246
  # @return [String]
247
247
  attr_accessor :file_id
248
248
 
249
- # Identifies what kind of resource this is. Value: the fixed string "drive#
250
- # change".
249
+ # Identifies what kind of resource this is. Value: the fixed string `"drive#
250
+ # change"`.
251
251
  # Corresponds to the JSON property `kind`
252
252
  # @return [String]
253
253
  attr_accessor :kind
@@ -264,7 +264,7 @@ module Google
264
264
  # @return [Google::Apis::DriveV3::TeamDrive]
265
265
  attr_accessor :team_drive
266
266
 
267
- # Deprecated - use driveId instead.
267
+ # Deprecated: Use `driveId` instead.
268
268
  # Corresponds to the JSON property `teamDriveId`
269
269
  # @return [String]
270
270
  attr_accessor :team_drive_id
@@ -274,7 +274,7 @@ module Google
274
274
  # @return [DateTime]
275
275
  attr_accessor :time
276
276
 
277
- # Deprecated - use changeType instead.
277
+ # Deprecated: Use `changeType` instead.
278
278
  # Corresponds to the JSON property `type`
279
279
  # @return [String]
280
280
  attr_accessor :type
@@ -309,8 +309,8 @@ module Google
309
309
  # @return [Array<Google::Apis::DriveV3::Change>]
310
310
  attr_accessor :changes
311
311
 
312
- # Identifies what kind of resource this is. Value: the fixed string "drive#
313
- # changeList".
312
+ # Identifies what kind of resource this is. Value: the fixed string `"drive#
313
+ # changeList"`.
314
314
  # Corresponds to the JSON property `kind`
315
315
  # @return [String]
316
316
  attr_accessor :kind
@@ -342,7 +342,7 @@ module Google
342
342
  end
343
343
  end
344
344
 
345
- # An notification channel used to watch for resource changes.
345
+ # A notification channel used to watch for resource changes.
346
346
  class Channel
347
347
  include Google::Apis::Core::Hashable
348
348
 
@@ -363,7 +363,7 @@ module Google
363
363
  attr_accessor :id
364
364
 
365
365
  # Identifies this as a notification channel used to watch for changes to a
366
- # resource, which is "api#channel".
366
+ # resource, which is `api#channel`.
367
367
  # Corresponds to the JSON property `kind`
368
368
  # @return [String]
369
369
  attr_accessor :kind
@@ -396,9 +396,7 @@ module Google
396
396
  # @return [String]
397
397
  attr_accessor :token
398
398
 
399
- # The type of delivery mechanism used for this channel. Valid values are "
400
- # web_hook" (or "webhook"). Both values refer to a channel where Http requests
401
- # are used to deliver messages.
399
+ # The type of delivery mechanism used for this channel.
402
400
  # Corresponds to the JSON property `type`
403
401
  # @return [String]
404
402
  attr_accessor :type
@@ -427,7 +425,8 @@ module Google
427
425
  include Google::Apis::Core::Hashable
428
426
 
429
427
  # A region of the document represented as a JSON string. For details on defining
430
- # anchor properties, refer to Add comments and replies.
428
+ # anchor properties, refer to [Manage comments and replies](https://developers.
429
+ # google.com/drive/api/v3/manage-comments).
431
430
  # Corresponds to the JSON property `anchor`
432
431
  # @return [String]
433
432
  attr_accessor :anchor
@@ -438,7 +437,7 @@ module Google
438
437
  attr_accessor :author
439
438
 
440
439
  # The plain text content of the comment. This field is used for setting the
441
- # content, while htmlContent should be displayed.
440
+ # content, while `htmlContent` should be displayed.
442
441
  # Corresponds to the JSON property `content`
443
442
  # @return [String]
444
443
  attr_accessor :content
@@ -448,24 +447,25 @@ module Google
448
447
  # @return [DateTime]
449
448
  attr_accessor :created_time
450
449
 
451
- # Whether the comment has been deleted. A deleted comment has no content.
450
+ # Output only. Whether the comment has been deleted. A deleted comment has no
451
+ # content.
452
452
  # Corresponds to the JSON property `deleted`
453
453
  # @return [Boolean]
454
454
  attr_accessor :deleted
455
455
  alias_method :deleted?, :deleted
456
456
 
457
- # The content of the comment with HTML formatting.
457
+ # Output only. The content of the comment with HTML formatting.
458
458
  # Corresponds to the JSON property `htmlContent`
459
459
  # @return [String]
460
460
  attr_accessor :html_content
461
461
 
462
- # The ID of the comment.
462
+ # Output only. The ID of the comment.
463
463
  # Corresponds to the JSON property `id`
464
464
  # @return [String]
465
465
  attr_accessor :id
466
466
 
467
- # Identifies what kind of resource this is. Value: the fixed string "drive#
468
- # comment".
467
+ # Output only. Identifies what kind of resource this is. Value: the fixed string
468
+ # `"drive#comment"`.
469
469
  # Corresponds to the JSON property `kind`
470
470
  # @return [String]
471
471
  attr_accessor :kind
@@ -483,12 +483,12 @@ module Google
483
483
  # @return [Google::Apis::DriveV3::Comment::QuotedFileContent]
484
484
  attr_accessor :quoted_file_content
485
485
 
486
- # The full list of replies to the comment in chronological order.
486
+ # Output only. The full list of replies to the comment in chronological order.
487
487
  # Corresponds to the JSON property `replies`
488
488
  # @return [Array<Google::Apis::DriveV3::Reply>]
489
489
  attr_accessor :replies
490
490
 
491
- # Whether the comment has been resolved by one of its replies.
491
+ # Output only. Whether the comment has been resolved by one of its replies.
492
492
  # Corresponds to the JSON property `resolved`
493
493
  # @return [Boolean]
494
494
  attr_accessor :resolved
@@ -553,8 +553,8 @@ module Google
553
553
  # @return [Array<Google::Apis::DriveV3::Comment>]
554
554
  attr_accessor :comments
555
555
 
556
- # Identifies what kind of resource this is. Value: the fixed string "drive#
557
- # commentList".
556
+ # Identifies what kind of resource this is. Value: the fixed string `"drive#
557
+ # commentList"`.
558
558
  # Corresponds to the JSON property `kind`
559
559
  # @return [String]
560
560
  attr_accessor :kind
@@ -592,7 +592,7 @@ module Google
592
592
  alias_method :read_only?, :read_only
593
593
 
594
594
  # Reason for why the content of the file is restricted. This is only mutable on
595
- # requests that also set readOnly=true.
595
+ # requests that also set `readOnly=true`.
596
596
  # Corresponds to the JSON property `reason`
597
597
  # @return [String]
598
598
  attr_accessor :reason
@@ -608,8 +608,8 @@ module Google
608
608
  # @return [DateTime]
609
609
  attr_accessor :restriction_time
610
610
 
611
- # The type of the content restriction. Currently the only possible value is
612
- # globalContentRestriction.
611
+ # Output only. The type of the content restriction. Currently the only possible
612
+ # value is `globalContentRestriction`.
613
613
  # Corresponds to the JSON property `type`
614
614
  # @return [String]
615
615
  attr_accessor :type
@@ -633,25 +633,25 @@ module Google
633
633
  include Google::Apis::Core::Hashable
634
634
 
635
635
  # An image file and cropping parameters from which a background image for this
636
- # shared drive is set. This is a write-only field; it can only be set on drive.
637
- # drives.update requests that don't set themeId. When specified, all fields of
638
- # the backgroundImageFile must be set.
636
+ # shared drive is set. This is a write only field; it can only be set on `drive.
637
+ # drives.update` requests that don't set `themeId`. When specified, all fields
638
+ # of the `backgroundImageFile` must be set.
639
639
  # Corresponds to the JSON property `backgroundImageFile`
640
640
  # @return [Google::Apis::DriveV3::Drive::BackgroundImageFile]
641
641
  attr_accessor :background_image_file
642
642
 
643
- # A short-lived link to this shared drive's background image.
643
+ # Output only. A short-lived link to this shared drive's background image.
644
644
  # Corresponds to the JSON property `backgroundImageLink`
645
645
  # @return [String]
646
646
  attr_accessor :background_image_link
647
647
 
648
- # Capabilities the current user has on this shared drive.
648
+ # Output only. Capabilities the current user has on this shared drive.
649
649
  # Corresponds to the JSON property `capabilities`
650
650
  # @return [Google::Apis::DriveV3::Drive::Capabilities]
651
651
  attr_accessor :capabilities
652
652
 
653
- # The color of this shared drive as an RGB hex string. It can only be set on
654
- # drive.drives.update requests that don't set themeId.
653
+ # The color of this shared drive as an RGB hex string. It can only be set on a `
654
+ # drive.drives.update` request that does not set `themeId`.
655
655
  # Corresponds to the JSON property `colorRgb`
656
656
  # @return [String]
657
657
  attr_accessor :color_rgb
@@ -667,14 +667,14 @@ module Google
667
667
  attr_accessor :hidden
668
668
  alias_method :hidden?, :hidden
669
669
 
670
- # The ID of this shared drive which is also the ID of the top level folder of
671
- # this shared drive.
670
+ # Output only. The ID of this shared drive which is also the ID of the top level
671
+ # folder of this shared drive.
672
672
  # Corresponds to the JSON property `id`
673
673
  # @return [String]
674
674
  attr_accessor :id
675
675
 
676
- # Identifies what kind of resource this is. Value: the fixed string "drive#drive"
677
- # .
676
+ # Output only. Identifies what kind of resource this is. Value: the fixed string
677
+ # `"drive#drive"`.
678
678
  # Corresponds to the JSON property `kind`
679
679
  # @return [String]
680
680
  attr_accessor :kind
@@ -684,8 +684,9 @@ module Google
684
684
  # @return [String]
685
685
  attr_accessor :name
686
686
 
687
- # The organizational unit of this shared drive. This field is only populated on
688
- # drives.list responses when the useDomainAdminAccess parameter is set to true.
687
+ # Output only. The organizational unit of this shared drive. This field is only
688
+ # populated on `drives.list` responses when the `useDomainAdminAccess` parameter
689
+ # is set to `true`.
689
690
  # Corresponds to the JSON property `orgUnitId`
690
691
  # @return [String]
691
692
  attr_accessor :org_unit_id
@@ -696,11 +697,12 @@ module Google
696
697
  # @return [Google::Apis::DriveV3::Drive::Restrictions]
697
698
  attr_accessor :restrictions
698
699
 
699
- # The ID of the theme from which the background image and color are set. The set
700
- # of possible driveThemes can be retrieved from a drive.about.get response. When
701
- # not specified on a drive.drives.create request, a random theme is chosen from
702
- # which the background image and color are set. This is a write-only field; it
703
- # can only be set on requests that don't set colorRgb or backgroundImageFile.
700
+ # The ID of the theme from which the background image and color will be set. The
701
+ # set of possible `driveThemes` can be retrieved from a `drive.about.get`
702
+ # response. When not specified on a `drive.drives.create` request, a random
703
+ # theme is chosen from which the background image and color are set. This is a
704
+ # write-only field; it can only be set on requests that don't set `colorRgb` or `
705
+ # backgroundImageFile`.
704
706
  # Corresponds to the JSON property `themeId`
705
707
  # @return [String]
706
708
  attr_accessor :theme_id
@@ -726,9 +728,9 @@ module Google
726
728
  end
727
729
 
728
730
  # An image file and cropping parameters from which a background image for this
729
- # shared drive is set. This is a write-only field; it can only be set on drive.
730
- # drives.update requests that don't set themeId. When specified, all fields of
731
- # the backgroundImageFile must be set.
731
+ # shared drive is set. This is a write only field; it can only be set on `drive.
732
+ # drives.update` requests that don't set `themeId`. When specified, all fields
733
+ # of the `backgroundImageFile` must be set.
732
734
  class BackgroundImageFile
733
735
  include Google::Apis::Core::Hashable
734
736
 
@@ -775,133 +777,142 @@ module Google
775
777
  end
776
778
  end
777
779
 
778
- # Capabilities the current user has on this shared drive.
780
+ # Output only. Capabilities the current user has on this shared drive.
779
781
  class Capabilities
780
782
  include Google::Apis::Core::Hashable
781
783
 
782
- # Whether the current user can add children to folders in this shared drive.
784
+ # Output only. Whether the current user can add children to folders in this
785
+ # shared drive.
783
786
  # Corresponds to the JSON property `canAddChildren`
784
787
  # @return [Boolean]
785
788
  attr_accessor :can_add_children
786
789
  alias_method :can_add_children?, :can_add_children
787
790
 
788
- # Whether the current user can change the copyRequiresWriterPermission
789
- # restriction of this shared drive.
791
+ # Output only. Whether the current user can change the `
792
+ # copyRequiresWriterPermission` restriction of this shared drive.
790
793
  # Corresponds to the JSON property `canChangeCopyRequiresWriterPermissionRestriction`
791
794
  # @return [Boolean]
792
795
  attr_accessor :can_change_copy_requires_writer_permission_restriction
793
796
  alias_method :can_change_copy_requires_writer_permission_restriction?, :can_change_copy_requires_writer_permission_restriction
794
797
 
795
- # Whether the current user can change the domainUsersOnly restriction of this
796
- # shared drive.
798
+ # Output only. Whether the current user can change the `domainUsersOnly`
799
+ # restriction of this shared drive.
797
800
  # Corresponds to the JSON property `canChangeDomainUsersOnlyRestriction`
798
801
  # @return [Boolean]
799
802
  attr_accessor :can_change_domain_users_only_restriction
800
803
  alias_method :can_change_domain_users_only_restriction?, :can_change_domain_users_only_restriction
801
804
 
802
- # Whether the current user can change the background of this shared drive.
805
+ # Output only. Whether the current user can change the background of this shared
806
+ # drive.
803
807
  # Corresponds to the JSON property `canChangeDriveBackground`
804
808
  # @return [Boolean]
805
809
  attr_accessor :can_change_drive_background
806
810
  alias_method :can_change_drive_background?, :can_change_drive_background
807
811
 
808
- # Whether the current user can change the driveMembersOnly restriction of this
809
- # shared drive.
812
+ # Output only. Whether the current user can change the `driveMembersOnly`
813
+ # restriction of this shared drive.
810
814
  # Corresponds to the JSON property `canChangeDriveMembersOnlyRestriction`
811
815
  # @return [Boolean]
812
816
  attr_accessor :can_change_drive_members_only_restriction
813
817
  alias_method :can_change_drive_members_only_restriction?, :can_change_drive_members_only_restriction
814
818
 
815
- # Whether the current user can change the
816
- # sharingFoldersRequiresOrganizerPermission restriction of this shared drive.
819
+ # Output only. Whether the current user can change the `
820
+ # sharingFoldersRequiresOrganizerPermission` restriction of this shared drive.
817
821
  # Corresponds to the JSON property `canChangeSharingFoldersRequiresOrganizerPermissionRestriction`
818
822
  # @return [Boolean]
819
823
  attr_accessor :can_change_sharing_folders_requires_organizer_permission_restriction
820
824
  alias_method :can_change_sharing_folders_requires_organizer_permission_restriction?, :can_change_sharing_folders_requires_organizer_permission_restriction
821
825
 
822
- # Whether the current user can comment on files in this shared drive.
826
+ # Output only. Whether the current user can comment on files in this shared
827
+ # drive.
823
828
  # Corresponds to the JSON property `canComment`
824
829
  # @return [Boolean]
825
830
  attr_accessor :can_comment
826
831
  alias_method :can_comment?, :can_comment
827
832
 
828
- # Whether the current user can copy files in this shared drive.
833
+ # Output only. Whether the current user can copy files in this shared drive.
829
834
  # Corresponds to the JSON property `canCopy`
830
835
  # @return [Boolean]
831
836
  attr_accessor :can_copy
832
837
  alias_method :can_copy?, :can_copy
833
838
 
834
- # Whether the current user can delete children from folders in this shared drive.
839
+ # Output only. Whether the current user can delete children from folders in this
840
+ # shared drive.
835
841
  # Corresponds to the JSON property `canDeleteChildren`
836
842
  # @return [Boolean]
837
843
  attr_accessor :can_delete_children
838
844
  alias_method :can_delete_children?, :can_delete_children
839
845
 
840
- # Whether the current user can delete this shared drive. Attempting to delete
841
- # the shared drive may still fail if there are untrashed items inside the shared
842
- # drive.
846
+ # Output only. Whether the current user can delete this shared drive. Attempting
847
+ # to delete the shared drive may still fail if there are untrashed items inside
848
+ # the shared drive.
843
849
  # Corresponds to the JSON property `canDeleteDrive`
844
850
  # @return [Boolean]
845
851
  attr_accessor :can_delete_drive
846
852
  alias_method :can_delete_drive?, :can_delete_drive
847
853
 
848
- # Whether the current user can download files in this shared drive.
854
+ # Output only. Whether the current user can download files in this shared drive.
849
855
  # Corresponds to the JSON property `canDownload`
850
856
  # @return [Boolean]
851
857
  attr_accessor :can_download
852
858
  alias_method :can_download?, :can_download
853
859
 
854
- # Whether the current user can edit files in this shared drive
860
+ # Output only. Whether the current user can edit files in this shared drive
855
861
  # Corresponds to the JSON property `canEdit`
856
862
  # @return [Boolean]
857
863
  attr_accessor :can_edit
858
864
  alias_method :can_edit?, :can_edit
859
865
 
860
- # Whether the current user can list the children of folders in this shared drive.
866
+ # Output only. Whether the current user can list the children of folders in this
867
+ # shared drive.
861
868
  # Corresponds to the JSON property `canListChildren`
862
869
  # @return [Boolean]
863
870
  attr_accessor :can_list_children
864
871
  alias_method :can_list_children?, :can_list_children
865
872
 
866
- # Whether the current user can add members to this shared drive or remove them
867
- # or change their role.
873
+ # Output only. Whether the current user can add members to this shared drive or
874
+ # remove them or change their role.
868
875
  # Corresponds to the JSON property `canManageMembers`
869
876
  # @return [Boolean]
870
877
  attr_accessor :can_manage_members
871
878
  alias_method :can_manage_members?, :can_manage_members
872
879
 
873
- # Whether the current user can read the revisions resource of files in this
874
- # shared drive.
880
+ # Output only. Whether the current user can read the revisions resource of files
881
+ # in this shared drive.
875
882
  # Corresponds to the JSON property `canReadRevisions`
876
883
  # @return [Boolean]
877
884
  attr_accessor :can_read_revisions
878
885
  alias_method :can_read_revisions?, :can_read_revisions
879
886
 
880
- # Whether the current user can rename files or folders in this shared drive.
887
+ # Output only. Whether the current user can rename files or folders in this
888
+ # shared drive.
881
889
  # Corresponds to the JSON property `canRename`
882
890
  # @return [Boolean]
883
891
  attr_accessor :can_rename
884
892
  alias_method :can_rename?, :can_rename
885
893
 
886
- # Whether the current user can rename this shared drive.
894
+ # Output only. Whether the current user can rename this shared drive.
887
895
  # Corresponds to the JSON property `canRenameDrive`
888
896
  # @return [Boolean]
889
897
  attr_accessor :can_rename_drive
890
898
  alias_method :can_rename_drive?, :can_rename_drive
891
899
 
892
- # Whether the current user can reset the shared drive restrictions to defaults.
900
+ # Output only. Whether the current user can reset the shared drive restrictions
901
+ # to defaults.
893
902
  # Corresponds to the JSON property `canResetDriveRestrictions`
894
903
  # @return [Boolean]
895
904
  attr_accessor :can_reset_drive_restrictions
896
905
  alias_method :can_reset_drive_restrictions?, :can_reset_drive_restrictions
897
906
 
898
- # Whether the current user can share files or folders in this shared drive.
907
+ # Output only. Whether the current user can share files or folders in this
908
+ # shared drive.
899
909
  # Corresponds to the JSON property `canShare`
900
910
  # @return [Boolean]
901
911
  attr_accessor :can_share
902
912
  alias_method :can_share?, :can_share
903
913
 
904
- # Whether the current user can trash children from folders in this shared drive.
914
+ # Output only. Whether the current user can trash children from folders in this
915
+ # shared drive.
905
916
  # Corresponds to the JSON property `canTrashChildren`
906
917
  # @return [Boolean]
907
918
  attr_accessor :can_trash_children
@@ -950,7 +961,7 @@ module Google
950
961
 
951
962
  # Whether the options to copy, print, or download files inside this shared drive,
952
963
  # should be disabled for readers and commenters. When this restriction is set
953
- # to true, it will override the similarly named field to true for any file
964
+ # to `true`, it will override the similarly named field to `true` for any file
954
965
  # inside this shared drive.
955
966
  # Corresponds to the JSON property `copyRequiresWriterPermission`
956
967
  # @return [Boolean]
@@ -1004,8 +1015,8 @@ module Google
1004
1015
  # @return [Array<Google::Apis::DriveV3::Drive>]
1005
1016
  attr_accessor :drives
1006
1017
 
1007
- # Identifies what kind of resource this is. Value: the fixed string "drive#
1008
- # driveList".
1018
+ # Identifies what kind of resource this is. Value: the fixed string `"drive#
1019
+ # driveList"`.
1009
1020
  # Corresponds to the JSON property `kind`
1010
1021
  # @return [String]
1011
1022
  attr_accessor :kind
@@ -1034,18 +1045,18 @@ module Google
1034
1045
  class File
1035
1046
  include Google::Apis::Core::Hashable
1036
1047
 
1037
- # A collection of arbitrary key-value pairs that are private to the requesting
1048
+ # A collection of arbitrary key-value pairs which are private to the requesting
1038
1049
  # app.
1039
1050
  # Entries with null values are cleared in update and copy requests. These
1040
1051
  # properties can only be retrieved using an authenticated request. An
1041
- # authenticated request uses an access token obtained with an OAuth 2 client ID.
1052
+ # authenticated request uses an access token obtained with a OAuth 2 client ID.
1042
1053
  # You cannot use an API key to retrieve private properties.
1043
1054
  # Corresponds to the JSON property `appProperties`
1044
1055
  # @return [Hash<String,String>]
1045
1056
  attr_accessor :app_properties
1046
1057
 
1047
- # Capabilities the current user has on this file. Each capability corresponds to
1048
- # a fine-grained action that a user can take.
1058
+ # Output only. Capabilities the current user has on this file. Each capability
1059
+ # corresponds to a fine-grained action that a user may take.
1049
1060
  # Corresponds to the JSON property `capabilities`
1050
1061
  # @return [Google::Apis::DriveV3::File::Capabilities]
1051
1062
  attr_accessor :capabilities
@@ -1079,70 +1090,69 @@ module Google
1079
1090
  # @return [String]
1080
1091
  attr_accessor :description
1081
1092
 
1082
- # ID of the shared drive the file resides in. Only populated for items in shared
1083
- # drives.
1093
+ # Output only. ID of the shared drive the file resides in. Only populated for
1094
+ # items in shared drives.
1084
1095
  # Corresponds to the JSON property `driveId`
1085
1096
  # @return [String]
1086
1097
  attr_accessor :drive_id
1087
1098
 
1088
- # Whether the file has been explicitly trashed, as opposed to recursively
1089
- # trashed from a parent folder.
1099
+ # Output only. Whether the file has been explicitly trashed, as opposed to
1100
+ # recursively trashed from a parent folder.
1090
1101
  # Corresponds to the JSON property `explicitlyTrashed`
1091
1102
  # @return [Boolean]
1092
1103
  attr_accessor :explicitly_trashed
1093
1104
  alias_method :explicitly_trashed?, :explicitly_trashed
1094
1105
 
1095
- # Links for exporting Docs Editors files to specific formats.
1106
+ # Output only. Links for exporting Docs Editors files to specific formats.
1096
1107
  # Corresponds to the JSON property `exportLinks`
1097
1108
  # @return [Hash<String,String>]
1098
1109
  attr_accessor :export_links
1099
1110
 
1100
- # The final component of fullFileExtension. This is only available for files
1101
- # with binary content in Google Drive.
1111
+ # Output only. The final component of `fullFileExtension`. This is only
1112
+ # available for files with binary content in Google Drive.
1102
1113
  # Corresponds to the JSON property `fileExtension`
1103
1114
  # @return [String]
1104
1115
  attr_accessor :file_extension
1105
1116
 
1106
- # The color for a folder or shortcut to a folder as an RGB hex string. The
1107
- # supported colors are published in the folderColorPalette field of the About
1108
- # resource.
1109
- # If an unsupported color is specified, the closest color in the palette will be
1110
- # used instead.
1117
+ # The color for a folder or a shortcut to a folder as an RGB hex string. The
1118
+ # supported colors are published in the `folderColorPalette` field of the About
1119
+ # resource. If an unsupported color is specified, the closest color in the
1120
+ # palette is used instead.
1111
1121
  # Corresponds to the JSON property `folderColorRgb`
1112
1122
  # @return [String]
1113
1123
  attr_accessor :folder_color_rgb
1114
1124
 
1115
- # The full file extension extracted from the name field. Can contain multiple
1116
- # concatenated extensions, such as "tar.gz". This is only available for files
1117
- # with binary content in Google Drive.
1118
- # This is automatically updated when the name field changes, however it's not
1119
- # cleared if the new name does not contain a valid extension.
1125
+ # Output only. The full file extension extracted from the `name` field. May
1126
+ # contain multiple concatenated extensions, such as "tar.gz". This is only
1127
+ # available for files with binary content in Google Drive. This is automatically
1128
+ # updated when the `name` field changes, however it is not cleared if the new
1129
+ # name does not contain a valid extension.
1120
1130
  # Corresponds to the JSON property `fullFileExtension`
1121
1131
  # @return [String]
1122
1132
  attr_accessor :full_file_extension
1123
1133
 
1124
- # Whether there are permissions directly on this file. This field is only
1125
- # populated for items in shared drives.
1134
+ # Output only. Whether there are permissions directly on this file. This field
1135
+ # is only populated for items in shared drives.
1126
1136
  # Corresponds to the JSON property `hasAugmentedPermissions`
1127
1137
  # @return [Boolean]
1128
1138
  attr_accessor :has_augmented_permissions
1129
1139
  alias_method :has_augmented_permissions?, :has_augmented_permissions
1130
1140
 
1131
- # Whether this file has a thumbnail. This does not indicate whether the
1132
- # requesting app has access to the thumbnail. To check access, look for the
1141
+ # Output only. Whether this file has a thumbnail. This does not indicate whether
1142
+ # the requesting app has access to the thumbnail. To check access, look for the
1133
1143
  # presence of the thumbnailLink field.
1134
1144
  # Corresponds to the JSON property `hasThumbnail`
1135
1145
  # @return [Boolean]
1136
1146
  attr_accessor :has_thumbnail
1137
1147
  alias_method :has_thumbnail?, :has_thumbnail
1138
1148
 
1139
- # The ID of the file's head revision. This is only available for files with
1140
- # binary content in Google Drive.
1149
+ # Output only. The ID of the file's head revision. This is currently only
1150
+ # available for files with binary content in Google Drive.
1141
1151
  # Corresponds to the JSON property `headRevisionId`
1142
1152
  # @return [String]
1143
1153
  attr_accessor :head_revision_id
1144
1154
 
1145
- # A static, unauthenticated link to the file's icon.
1155
+ # Output only. A static, unauthenticated link to the file's icon.
1146
1156
  # Corresponds to the JSON property `iconLink`
1147
1157
  # @return [String]
1148
1158
  attr_accessor :icon_link
@@ -1152,23 +1162,24 @@ module Google
1152
1162
  # @return [String]
1153
1163
  attr_accessor :id
1154
1164
 
1155
- # Additional metadata about image media, if available.
1165
+ # Output only. Additional metadata about image media, if available.
1156
1166
  # Corresponds to the JSON property `imageMediaMetadata`
1157
1167
  # @return [Google::Apis::DriveV3::File::ImageMediaMetadata]
1158
1168
  attr_accessor :image_media_metadata
1159
1169
 
1160
- # Whether the requesting app created or opened the file.
1170
+ # Output only. Whether the file was created or opened by the requesting app.
1161
1171
  # Corresponds to the JSON property `isAppAuthorized`
1162
1172
  # @return [Boolean]
1163
1173
  attr_accessor :is_app_authorized
1164
1174
  alias_method :is_app_authorized?, :is_app_authorized
1165
1175
 
1166
- # Identifies what kind of resource this is. Value: the fixed string "drive#file".
1176
+ # Output only. Identifies what kind of resource this is. Value: the fixed string
1177
+ # `"drive#file"`.
1167
1178
  # Corresponds to the JSON property `kind`
1168
1179
  # @return [String]
1169
1180
  attr_accessor :kind
1170
1181
 
1171
- # An overview of the labels on the file.
1182
+ # Output only. An overview of the labels on the file.
1172
1183
  # Corresponds to the JSON property `labelInfo`
1173
1184
  # @return [Google::Apis::DriveV3::File::LabelInfo]
1174
1185
  attr_accessor :label_info
@@ -1184,119 +1195,119 @@ module Google
1184
1195
  # @return [Google::Apis::DriveV3::File::LinkShareMetadata]
1185
1196
  attr_accessor :link_share_metadata
1186
1197
 
1187
- # The MD5 checksum for the content of the file. This is only applicable to files
1188
- # with binary content in Google Drive.
1198
+ # Output only. The MD5 checksum for the content of the file. This is only
1199
+ # applicable to files with binary content in Google Drive.
1189
1200
  # Corresponds to the JSON property `md5Checksum`
1190
1201
  # @return [String]
1191
1202
  attr_accessor :md5_checksum
1192
1203
 
1193
- # The MIME type of the file.
1194
- # Google Drive will attempt to automatically detect an appropriate value from
1195
- # uploaded content if no value is provided. The value cannot be changed unless a
1196
- # new revision is uploaded.
1197
- # If a file is created with a Google Doc MIME type, the uploaded content will be
1198
- # imported if possible. The supported import formats are published in the About
1199
- # resource.
1204
+ # The MIME type of the file. Google Drive attempts to automatically detect an
1205
+ # appropriate value from uploaded content, if no value is provided. The value
1206
+ # cannot be changed unless a new revision is uploaded. If a file is created with
1207
+ # a Google Doc MIME type, the uploaded content is imported, if possible. The
1208
+ # supported import formats are published in the About resource.
1200
1209
  # Corresponds to the JSON property `mimeType`
1201
1210
  # @return [String]
1202
1211
  attr_accessor :mime_type
1203
1212
 
1204
- # Whether this user has modified the file.
1213
+ # Output only. Whether the file has been modified by this user.
1205
1214
  # Corresponds to the JSON property `modifiedByMe`
1206
1215
  # @return [Boolean]
1207
1216
  attr_accessor :modified_by_me
1208
1217
  alias_method :modified_by_me?, :modified_by_me
1209
1218
 
1210
- # The last time the user modified the file (RFC 3339 date-time).
1219
+ # The last time the file was modified by the user (RFC 3339 date-time).
1211
1220
  # Corresponds to the JSON property `modifiedByMeTime`
1212
1221
  # @return [DateTime]
1213
1222
  attr_accessor :modified_by_me_time
1214
1223
 
1215
- # The last time anyone modified the file (RFC 3339 date-time).
1216
- # Note that setting modifiedTime will also update modifiedByMeTime for the user.
1224
+ # he last time the file was modified by anyone (RFC 3339 date-time). Note that
1225
+ # setting modifiedTime will also update modifiedByMeTime for the user.
1217
1226
  # Corresponds to the JSON property `modifiedTime`
1218
1227
  # @return [DateTime]
1219
1228
  attr_accessor :modified_time
1220
1229
 
1221
- # The name of the file. This isn't necessarily unique within a folder. Note that
1222
- # for immutable items such as the top-level folders of shared drives, My Drive
1223
- # root folder, and Application Data folder the name is constant.
1230
+ # The name of the file. This is not necessarily unique within a folder. Note
1231
+ # that for immutable items such as the top level folders of shared drives, My
1232
+ # Drive root folder, and Application Data folder the name is constant.
1224
1233
  # Corresponds to the JSON property `name`
1225
1234
  # @return [String]
1226
1235
  attr_accessor :name
1227
1236
 
1228
1237
  # The original filename of the uploaded content if available, or else the
1229
- # original value of the name field. This is only available for files with binary
1230
- # content in Google Drive.
1238
+ # original value of the `name` field. This is only available for files with
1239
+ # binary content in Google Drive.
1231
1240
  # Corresponds to the JSON property `originalFilename`
1232
1241
  # @return [String]
1233
1242
  attr_accessor :original_filename
1234
1243
 
1235
- # Whether the user owns the file. Not populated for items in shared drives.
1244
+ # Output only. Whether the user owns the file. Not populated for items in shared
1245
+ # drives.
1236
1246
  # Corresponds to the JSON property `ownedByMe`
1237
1247
  # @return [Boolean]
1238
1248
  attr_accessor :owned_by_me
1239
1249
  alias_method :owned_by_me?, :owned_by_me
1240
1250
 
1241
- # The owner of this file. Only certain legacy files might have more than one
1242
- # owner. This field isn't populated for items in shared drives.
1251
+ # Output only. The owner of this file. Only certain legacy files may have more
1252
+ # than one owner. This field isn't populated for items in shared drives.
1243
1253
  # Corresponds to the JSON property `owners`
1244
1254
  # @return [Array<Google::Apis::DriveV3::User>]
1245
1255
  attr_accessor :owners
1246
1256
 
1247
- # The IDs of the parent folders that contain the file.
1248
- # If not specified as part of a create request, the file will be placed directly
1249
- # in the user's My Drive folder. If not specified as part of a copy request, the
1250
- # file will inherit any discoverable parents of the source file. Update requests
1251
- # must use the addParents and removeParents parameters to modify the parents
1252
- # list.
1257
+ # The IDs of the parent folders which contain the file. If not specified as part
1258
+ # of a create request, the file is placed directly in the user's My Drive folder.
1259
+ # If not specified as part of a copy request, the file inherits any
1260
+ # discoverable parents of the source file. Update requests must use the `
1261
+ # addParents` and `removeParents` parameters to modify the parents list.
1253
1262
  # Corresponds to the JSON property `parents`
1254
1263
  # @return [Array<String>]
1255
1264
  attr_accessor :parents
1256
1265
 
1257
- # List of permission IDs for users with access to this file.
1266
+ # Output only. List of permission IDs for users with access to this file.
1258
1267
  # Corresponds to the JSON property `permissionIds`
1259
1268
  # @return [Array<String>]
1260
1269
  attr_accessor :permission_ids
1261
1270
 
1262
- # The full list of permissions for the file. This is only available if the
1263
- # requesting user can share the file. Not populated for items in shared drives.
1271
+ # Output only. The full list of permissions for the file. This is only available
1272
+ # if the requesting user can share the file. Not populated for items in shared
1273
+ # drives.
1264
1274
  # Corresponds to the JSON property `permissions`
1265
1275
  # @return [Array<Google::Apis::DriveV3::Permission>]
1266
1276
  attr_accessor :permissions
1267
1277
 
1268
- # A collection of arbitrary key-value pairs that are visible to all apps.
1278
+ # A collection of arbitrary key-value pairs which are visible to all apps.
1269
1279
  # Entries with null values are cleared in update and copy requests.
1270
1280
  # Corresponds to the JSON property `properties`
1271
1281
  # @return [Hash<String,String>]
1272
1282
  attr_accessor :properties
1273
1283
 
1274
- # The number of storage quota bytes used by the file. This includes the head
1275
- # revision as well as previous revisions with keepForever enabled.
1284
+ # Output only. The number of storage quota bytes used by the file. This includes
1285
+ # the head revision as well as previous revisions with `keepForever` enabled.
1276
1286
  # Corresponds to the JSON property `quotaBytesUsed`
1277
1287
  # @return [Fixnum]
1278
1288
  attr_accessor :quota_bytes_used
1279
1289
 
1280
- # A key needed to access the item via a shared link.
1290
+ # Output only. A key needed to access the item via a shared link.
1281
1291
  # Corresponds to the JSON property `resourceKey`
1282
1292
  # @return [String]
1283
1293
  attr_accessor :resource_key
1284
1294
 
1285
- # The SHA1 checksum associated with this file, if available. This field is only
1286
- # populated for files with content stored in Google Drive; it's not populated
1287
- # for Docs Editors or shortcut files.
1295
+ # Output only. The SHA1 checksum associated with this file, if available. This
1296
+ # field is only populated for files with content stored in Google Drive; it is
1297
+ # not populated for Docs Editors or shortcut files.
1288
1298
  # Corresponds to the JSON property `sha1Checksum`
1289
1299
  # @return [String]
1290
1300
  attr_accessor :sha1_checksum
1291
1301
 
1292
- # The SHA256 checksum associated with this file, if available. This field is
1293
- # only populated for files with content stored in Google Drive; it's not
1294
- # populated for Docs Editors or shortcut files.
1302
+ # Output only. The SHA256 checksum associated with this file, if available. This
1303
+ # field is only populated for files with content stored in Google Drive; it is
1304
+ # not populated for Docs Editors or shortcut files.
1295
1305
  # Corresponds to the JSON property `sha256Checksum`
1296
1306
  # @return [String]
1297
1307
  attr_accessor :sha256_checksum
1298
1308
 
1299
- # Whether the file has been shared. Not populated for items in shared drives.
1309
+ # Output only. Whether the file has been shared. Not populated for items in
1310
+ # shared drives.
1300
1311
  # Corresponds to the JSON property `shared`
1301
1312
  # @return [Boolean]
1302
1313
  attr_accessor :shared
@@ -1314,20 +1325,19 @@ module Google
1314
1325
  attr_accessor :sharing_user
1315
1326
 
1316
1327
  # Shortcut file details. Only populated for shortcut files, which have the
1317
- # mimeType field set to application/vnd.google-apps.shortcut.
1328
+ # mimeType field set to `application/vnd.google-apps.shortcut`.
1318
1329
  # Corresponds to the JSON property `shortcutDetails`
1319
1330
  # @return [Google::Apis::DriveV3::File::ShortcutDetails]
1320
1331
  attr_accessor :shortcut_details
1321
1332
 
1322
- # The size of the file's content in bytes. This field is populated for files
1323
- # with binary content stored in Google Drive and for Docs Editors files; it's
1324
- # not populated for shortcuts or folders.
1333
+ # Output only. Size in bytes of blobs and first party editor files. Won't be
1334
+ # populated for files that have no size, like shortcuts and folders.
1325
1335
  # Corresponds to the JSON property `size`
1326
1336
  # @return [Fixnum]
1327
1337
  attr_accessor :size
1328
1338
 
1329
- # The list of spaces that contain the file. The currently supported values are '
1330
- # drive', 'appDataFolder' and 'photos'.
1339
+ # Output only. The list of spaces which contain the file. The currently
1340
+ # supported values are 'drive', 'appDataFolder' and 'photos'.
1331
1341
  # Corresponds to the JSON property `spaces`
1332
1342
  # @return [Array<String>]
1333
1343
  attr_accessor :spaces
@@ -1338,29 +1348,27 @@ module Google
1338
1348
  attr_accessor :starred
1339
1349
  alias_method :starred?, :starred
1340
1350
 
1341
- # Deprecated - use driveId instead.
1351
+ # Deprecated: Output only. Use `driveId` instead.
1342
1352
  # Corresponds to the JSON property `teamDriveId`
1343
1353
  # @return [String]
1344
1354
  attr_accessor :team_drive_id
1345
1355
 
1346
- # A short-lived link to the file's thumbnail, if available. Typically lasts on
1347
- # the order of hours. Only populated when the requesting app can access the file'
1348
- # s content. If the file isn't shared publicly, the URL returned in Files.
1349
- # thumbnailLink must be fetched using a credentialed request.
1356
+ # Output only. A short-lived link to the file's thumbnail, if available.
1357
+ # Typically lasts on the order of hours. Only populated when the requesting app
1358
+ # can access the file's content. If the file isn't shared publicly, the URL
1359
+ # returned in `Files.thumbnailLink` must be fetched using a credentialed request.
1350
1360
  # Corresponds to the JSON property `thumbnailLink`
1351
1361
  # @return [String]
1352
1362
  attr_accessor :thumbnail_link
1353
1363
 
1354
- # The thumbnail version for use in thumbnail cache invalidation.
1364
+ # Output only. The thumbnail version for use in thumbnail cache invalidation.
1355
1365
  # Corresponds to the JSON property `thumbnailVersion`
1356
1366
  # @return [Fixnum]
1357
1367
  attr_accessor :thumbnail_version
1358
1368
 
1359
1369
  # Whether the file has been trashed, either explicitly or from a trashed parent
1360
- # folder. Only the owner can trash a file. The trashed item is excluded from all
1361
- # files.list responses returned for any user who does not own the file. However,
1362
- # all users with access to the file can see the trashed item metadata in an API
1363
- # response. All users with access can copy, download, export, and share the file.
1370
+ # folder. Only the owner may trash a file, and other users cannot see files in
1371
+ # the owner's trash.
1364
1372
  # Corresponds to the JSON property `trashed`
1365
1373
  # @return [Boolean]
1366
1374
  attr_accessor :trashed
@@ -1377,47 +1385,49 @@ module Google
1377
1385
  # @return [Google::Apis::DriveV3::User]
1378
1386
  attr_accessor :trashing_user
1379
1387
 
1380
- # A monotonically increasing version number for the file. This reflects every
1381
- # change made to the file on the server, even those not visible to the user.
1388
+ # Output only. A monotonically increasing version number for the file. This
1389
+ # reflects every change made to the file on the server, even those not visible
1390
+ # to the user.
1382
1391
  # Corresponds to the JSON property `version`
1383
1392
  # @return [Fixnum]
1384
1393
  attr_accessor :version
1385
1394
 
1386
- # Additional metadata about video media. This might not be available immediately
1387
- # upon upload.
1395
+ # Output only. Additional metadata about video media. This may not be available
1396
+ # immediately upon upload.
1388
1397
  # Corresponds to the JSON property `videoMediaMetadata`
1389
1398
  # @return [Google::Apis::DriveV3::File::VideoMediaMetadata]
1390
1399
  attr_accessor :video_media_metadata
1391
1400
 
1392
- # Whether this user has viewed the file.
1401
+ # Output only. Whether the file has been viewed by this user.
1393
1402
  # Corresponds to the JSON property `viewedByMe`
1394
1403
  # @return [Boolean]
1395
1404
  attr_accessor :viewed_by_me
1396
1405
  alias_method :viewed_by_me?, :viewed_by_me
1397
1406
 
1398
- # The last time the user viewed the file (RFC 3339 date-time).
1407
+ # The last time the file was viewed by the user (RFC 3339 date-time).
1399
1408
  # Corresponds to the JSON property `viewedByMeTime`
1400
1409
  # @return [DateTime]
1401
1410
  attr_accessor :viewed_by_me_time
1402
1411
 
1403
- # Deprecated - use copyRequiresWriterPermission instead.
1412
+ # Deprecated: Use `copyRequiresWriterPermission` instead.
1404
1413
  # Corresponds to the JSON property `viewersCanCopyContent`
1405
1414
  # @return [Boolean]
1406
1415
  attr_accessor :viewers_can_copy_content
1407
1416
  alias_method :viewers_can_copy_content?, :viewers_can_copy_content
1408
1417
 
1409
- # A link for downloading the content of the file in a browser. This is only
1410
- # available for files with binary content in Google Drive.
1418
+ # Output only. A link for downloading the content of the file in a browser. This
1419
+ # is only available for files with binary content in Google Drive.
1411
1420
  # Corresponds to the JSON property `webContentLink`
1412
1421
  # @return [String]
1413
1422
  attr_accessor :web_content_link
1414
1423
 
1415
- # A link for opening the file in a relevant Google editor or viewer in a browser.
1424
+ # Output only. A link for opening the file in a relevant Google editor or viewer
1425
+ # in a browser.
1416
1426
  # Corresponds to the JSON property `webViewLink`
1417
1427
  # @return [String]
1418
1428
  attr_accessor :web_view_link
1419
1429
 
1420
- # Whether users with only writer permission can modify the file's permissions.
1430
+ # Whether users with only `writer` permission can modify the file's permissions.
1421
1431
  # Not populated for items in shared drives.
1422
1432
  # Corresponds to the JSON property `writersCanShare`
1423
1433
  # @return [Boolean]
@@ -1494,264 +1504,270 @@ module Google
1494
1504
  @writers_can_share = args[:writers_can_share] if args.key?(:writers_can_share)
1495
1505
  end
1496
1506
 
1497
- # Capabilities the current user has on this file. Each capability corresponds to
1498
- # a fine-grained action that a user can take.
1507
+ # Output only. Capabilities the current user has on this file. Each capability
1508
+ # corresponds to a fine-grained action that a user may take.
1499
1509
  class Capabilities
1500
1510
  include Google::Apis::Core::Hashable
1501
1511
 
1502
- # Whether the current user is the pending owner of the file. Not populated for
1503
- # shared drive files.
1512
+ # Output only. Whether the current user is the pending owner of the file. Not
1513
+ # populated for shared drive files.
1504
1514
  # Corresponds to the JSON property `canAcceptOwnership`
1505
1515
  # @return [Boolean]
1506
1516
  attr_accessor :can_accept_ownership
1507
1517
  alias_method :can_accept_ownership?, :can_accept_ownership
1508
1518
 
1509
- # Whether the current user can add children to this folder. This is always false
1510
- # when the item isn't a folder.
1519
+ # Output only. Whether the current user can add children to this folder. This is
1520
+ # always false when the item is not a folder.
1511
1521
  # Corresponds to the JSON property `canAddChildren`
1512
1522
  # @return [Boolean]
1513
1523
  attr_accessor :can_add_children
1514
1524
  alias_method :can_add_children?, :can_add_children
1515
1525
 
1516
- # Whether the current user can add a folder from another drive (different shared
1517
- # drive or My Drive) to this folder. This is false when the item isn't a folder.
1518
- # Only populated for items in shared drives.
1526
+ # Output only. Whether the current user can add a folder from another drive (
1527
+ # different shared drive or My Drive) to this folder. This is false when the
1528
+ # item is not a folder. Only populated for items in shared drives.
1519
1529
  # Corresponds to the JSON property `canAddFolderFromAnotherDrive`
1520
1530
  # @return [Boolean]
1521
1531
  attr_accessor :can_add_folder_from_another_drive
1522
1532
  alias_method :can_add_folder_from_another_drive?, :can_add_folder_from_another_drive
1523
1533
 
1524
- # Whether the current user can add a parent for the item without removing an
1525
- # existing parent in the same request. Not populated for shared drive files.
1534
+ # Output only. Whether the current user can add a parent for the item without
1535
+ # removing an existing parent in the same request. Not populated for shared
1536
+ # drive files.
1526
1537
  # Corresponds to the JSON property `canAddMyDriveParent`
1527
1538
  # @return [Boolean]
1528
1539
  attr_accessor :can_add_my_drive_parent
1529
1540
  alias_method :can_add_my_drive_parent?, :can_add_my_drive_parent
1530
1541
 
1531
- # Whether the current user can change the copyRequiresWriterPermission
1532
- # restriction of this file.
1542
+ # Output only. Whether the current user can change the `
1543
+ # copyRequiresWriterPermission` restriction of this file.
1533
1544
  # Corresponds to the JSON property `canChangeCopyRequiresWriterPermission`
1534
1545
  # @return [Boolean]
1535
1546
  attr_accessor :can_change_copy_requires_writer_permission
1536
1547
  alias_method :can_change_copy_requires_writer_permission?, :can_change_copy_requires_writer_permission
1537
1548
 
1538
- # Whether the current user can change the securityUpdateEnabled field on link
1539
- # share metadata.
1549
+ # Output only. Whether the current user can change the securityUpdateEnabled
1550
+ # field on link share metadata.
1540
1551
  # Corresponds to the JSON property `canChangeSecurityUpdateEnabled`
1541
1552
  # @return [Boolean]
1542
1553
  attr_accessor :can_change_security_update_enabled
1543
1554
  alias_method :can_change_security_update_enabled?, :can_change_security_update_enabled
1544
1555
 
1545
- # Deprecated
1556
+ # Deprecated: Output only.
1546
1557
  # Corresponds to the JSON property `canChangeViewersCanCopyContent`
1547
1558
  # @return [Boolean]
1548
1559
  attr_accessor :can_change_viewers_can_copy_content
1549
1560
  alias_method :can_change_viewers_can_copy_content?, :can_change_viewers_can_copy_content
1550
1561
 
1551
- # Whether the current user can comment on this file.
1562
+ # Output only. Whether the current user can comment on this file.
1552
1563
  # Corresponds to the JSON property `canComment`
1553
1564
  # @return [Boolean]
1554
1565
  attr_accessor :can_comment
1555
1566
  alias_method :can_comment?, :can_comment
1556
1567
 
1557
- # Whether the current user can copy this file. For an item in a shared drive,
1558
- # whether the current user can copy non-folder descendants of this item, or this
1559
- # item itself if it's not a folder.
1568
+ # Output only. Whether the current user can copy this file. For an item in a
1569
+ # shared drive, whether the current user can copy non-folder descendants of this
1570
+ # item, or this item itself if it is not a folder.
1560
1571
  # Corresponds to the JSON property `canCopy`
1561
1572
  # @return [Boolean]
1562
1573
  attr_accessor :can_copy
1563
1574
  alias_method :can_copy?, :can_copy
1564
1575
 
1565
- # Whether the current user can delete this file.
1576
+ # Output only. Whether the current user can delete this file.
1566
1577
  # Corresponds to the JSON property `canDelete`
1567
1578
  # @return [Boolean]
1568
1579
  attr_accessor :can_delete
1569
1580
  alias_method :can_delete?, :can_delete
1570
1581
 
1571
- # Whether the current user can delete children of this folder. This is false
1572
- # when the item isn't a folder. Only populated for items in shared drives.
1582
+ # Output only. Whether the current user can delete children of this folder. This
1583
+ # is false when the item is not a folder. Only populated for items in shared
1584
+ # drives.
1573
1585
  # Corresponds to the JSON property `canDeleteChildren`
1574
1586
  # @return [Boolean]
1575
1587
  attr_accessor :can_delete_children
1576
1588
  alias_method :can_delete_children?, :can_delete_children
1577
1589
 
1578
- # Whether the current user can download this file.
1590
+ # Output only. Whether the current user can download this file.
1579
1591
  # Corresponds to the JSON property `canDownload`
1580
1592
  # @return [Boolean]
1581
1593
  attr_accessor :can_download
1582
1594
  alias_method :can_download?, :can_download
1583
1595
 
1584
- # Whether the current user can edit this file. Other factors might limit the
1585
- # type of changes a user can make to a file. For example, see
1586
- # canChangeCopyRequiresWriterPermission or canModifyContent.
1596
+ # Output only. Whether the current user can edit this file. Other factors may
1597
+ # limit the type of changes a user can make to a file. For example, see `
1598
+ # canChangeCopyRequiresWriterPermission` or `canModifyContent`.
1587
1599
  # Corresponds to the JSON property `canEdit`
1588
1600
  # @return [Boolean]
1589
1601
  attr_accessor :can_edit
1590
1602
  alias_method :can_edit?, :can_edit
1591
1603
 
1592
- # Whether the current user can list the children of this folder. This is always
1593
- # false when the item isn't a folder.
1604
+ # Output only. Whether the current user can list the children of this folder.
1605
+ # This is always false when the item is not a folder.
1594
1606
  # Corresponds to the JSON property `canListChildren`
1595
1607
  # @return [Boolean]
1596
1608
  attr_accessor :can_list_children
1597
1609
  alias_method :can_list_children?, :can_list_children
1598
1610
 
1599
- # Whether the current user can modify the content of this file.
1611
+ # Output only. Whether the current user can modify the content of this file.
1600
1612
  # Corresponds to the JSON property `canModifyContent`
1601
1613
  # @return [Boolean]
1602
1614
  attr_accessor :can_modify_content
1603
1615
  alias_method :can_modify_content?, :can_modify_content
1604
1616
 
1605
- # Whether the current user can modify restrictions on content of this file.
1617
+ # Output only. Whether the current user can modify restrictions on content of
1618
+ # this file.
1606
1619
  # Corresponds to the JSON property `canModifyContentRestriction`
1607
1620
  # @return [Boolean]
1608
1621
  attr_accessor :can_modify_content_restriction
1609
1622
  alias_method :can_modify_content_restriction?, :can_modify_content_restriction
1610
1623
 
1611
- # Whether the current user can modify the labels on this file.
1624
+ # Output only. Whether the current user can modify the labels on the file.
1612
1625
  # Corresponds to the JSON property `canModifyLabels`
1613
1626
  # @return [Boolean]
1614
1627
  attr_accessor :can_modify_labels
1615
1628
  alias_method :can_modify_labels?, :can_modify_labels
1616
1629
 
1617
- # Whether the current user can move children of this folder outside of the
1618
- # shared drive. This is false when the item isn't a folder. Only populated for
1619
- # items in shared drives.
1630
+ # Output only. Whether the current user can move children of this folder outside
1631
+ # of the shared drive. This is false when the item is not a folder. Only
1632
+ # populated for items in shared drives.
1620
1633
  # Corresponds to the JSON property `canMoveChildrenOutOfDrive`
1621
1634
  # @return [Boolean]
1622
1635
  attr_accessor :can_move_children_out_of_drive
1623
1636
  alias_method :can_move_children_out_of_drive?, :can_move_children_out_of_drive
1624
1637
 
1625
- # Deprecated - use canMoveChildrenOutOfDrive instead.
1638
+ # Deprecated: Output only. Use `canMoveChildrenOutOfDrive` instead.
1626
1639
  # Corresponds to the JSON property `canMoveChildrenOutOfTeamDrive`
1627
1640
  # @return [Boolean]
1628
1641
  attr_accessor :can_move_children_out_of_team_drive
1629
1642
  alias_method :can_move_children_out_of_team_drive?, :can_move_children_out_of_team_drive
1630
1643
 
1631
- # Whether the current user can move children of this folder within this shared
1632
- # drive or My Drive. This is false when the item isn't a folder. Note that a
1633
- # request to move the child might still fail depending on the current user's
1634
- # access to the child and to the destination folder.
1644
+ # Output only. Whether the current user can move children of this folder within
1645
+ # this drive. This is false when the item is not a folder. Note that a request
1646
+ # to move the child may still fail depending on the current user's access to the
1647
+ # child and to the destination folder.
1635
1648
  # Corresponds to the JSON property `canMoveChildrenWithinDrive`
1636
1649
  # @return [Boolean]
1637
1650
  attr_accessor :can_move_children_within_drive
1638
1651
  alias_method :can_move_children_within_drive?, :can_move_children_within_drive
1639
1652
 
1640
- # Deprecated - use canMoveChildrenWithinDrive instead.
1653
+ # Deprecated: Output only. Use `canMoveChildrenWithinDrive` instead.
1641
1654
  # Corresponds to the JSON property `canMoveChildrenWithinTeamDrive`
1642
1655
  # @return [Boolean]
1643
1656
  attr_accessor :can_move_children_within_team_drive
1644
1657
  alias_method :can_move_children_within_team_drive?, :can_move_children_within_team_drive
1645
1658
 
1646
- # Deprecated - use canMoveItemOutOfDrive instead.
1659
+ # Deprecated: Output only. Use `canMoveItemOutOfDrive` instead.
1647
1660
  # Corresponds to the JSON property `canMoveItemIntoTeamDrive`
1648
1661
  # @return [Boolean]
1649
1662
  attr_accessor :can_move_item_into_team_drive
1650
1663
  alias_method :can_move_item_into_team_drive?, :can_move_item_into_team_drive
1651
1664
 
1652
- # Whether the current user can move this item outside of this shared drive or My
1653
- # Drive by changing its parent. Note that a request to change the parent of the
1654
- # item might still fail depending on the new parent that's being added.
1665
+ # Output only. Whether the current user can move this item outside of this drive
1666
+ # by changing its parent. Note that a request to change the parent of the item
1667
+ # may still fail depending on the new parent that is being added.
1655
1668
  # Corresponds to the JSON property `canMoveItemOutOfDrive`
1656
1669
  # @return [Boolean]
1657
1670
  attr_accessor :can_move_item_out_of_drive
1658
1671
  alias_method :can_move_item_out_of_drive?, :can_move_item_out_of_drive
1659
1672
 
1660
- # Deprecated - use canMoveItemOutOfDrive instead.
1673
+ # Deprecated: Output only. Use `canMoveItemOutOfDrive` instead.
1661
1674
  # Corresponds to the JSON property `canMoveItemOutOfTeamDrive`
1662
1675
  # @return [Boolean]
1663
1676
  attr_accessor :can_move_item_out_of_team_drive
1664
1677
  alias_method :can_move_item_out_of_team_drive?, :can_move_item_out_of_team_drive
1665
1678
 
1666
- # Whether the current user can move this item within this shared drive or My
1667
- # Drive. Note that a request to change the parent of the item might still fail
1668
- # depending on the new parent that's being added and the parent that's being
1669
- # removed.
1679
+ # Output only. Whether the current user can move this item within this drive.
1680
+ # Note that a request to change the parent of the item may still fail depending
1681
+ # on the new parent that is being added and the parent that is being removed.
1670
1682
  # Corresponds to the JSON property `canMoveItemWithinDrive`
1671
1683
  # @return [Boolean]
1672
1684
  attr_accessor :can_move_item_within_drive
1673
1685
  alias_method :can_move_item_within_drive?, :can_move_item_within_drive
1674
1686
 
1675
- # Deprecated - use canMoveItemWithinDrive instead.
1687
+ # Deprecated: Output only. Use `canMoveItemWithinDrive` instead.
1676
1688
  # Corresponds to the JSON property `canMoveItemWithinTeamDrive`
1677
1689
  # @return [Boolean]
1678
1690
  attr_accessor :can_move_item_within_team_drive
1679
1691
  alias_method :can_move_item_within_team_drive?, :can_move_item_within_team_drive
1680
1692
 
1681
- # Deprecated - use canMoveItemWithinDrive or canMoveItemOutOfDrive instead.
1693
+ # Deprecated: Output only. Use `canMoveItemWithinDrive` or `
1694
+ # canMoveItemOutOfDrive` instead.
1682
1695
  # Corresponds to the JSON property `canMoveTeamDriveItem`
1683
1696
  # @return [Boolean]
1684
1697
  attr_accessor :can_move_team_drive_item
1685
1698
  alias_method :can_move_team_drive_item?, :can_move_team_drive_item
1686
1699
 
1687
- # Whether the current user can read the shared drive to which this file belongs.
1688
- # Only populated for items in shared drives.
1700
+ # Output only. Whether the current user can read the shared drive to which this
1701
+ # file belongs. Only populated for items in shared drives.
1689
1702
  # Corresponds to the JSON property `canReadDrive`
1690
1703
  # @return [Boolean]
1691
1704
  attr_accessor :can_read_drive
1692
1705
  alias_method :can_read_drive?, :can_read_drive
1693
1706
 
1694
- # Whether the current user can read the labels on this file.
1707
+ # Output only. Whether the current user can read the labels on the file.
1695
1708
  # Corresponds to the JSON property `canReadLabels`
1696
1709
  # @return [Boolean]
1697
1710
  attr_accessor :can_read_labels
1698
1711
  alias_method :can_read_labels?, :can_read_labels
1699
1712
 
1700
- # Whether the current user can read the revisions resource of this file. For a
1701
- # shared drive item, whether revisions of non-folder descendants of this item,
1702
- # or this item itself if it's not a folder, can be read.
1713
+ # Output only. Whether the current user can read the revisions resource of this
1714
+ # file. For a shared drive item, whether revisions of non-folder descendants of
1715
+ # this item, or this item itself if it is not a folder, can be read.
1703
1716
  # Corresponds to the JSON property `canReadRevisions`
1704
1717
  # @return [Boolean]
1705
1718
  attr_accessor :can_read_revisions
1706
1719
  alias_method :can_read_revisions?, :can_read_revisions
1707
1720
 
1708
- # Deprecated - use canReadDrive instead.
1721
+ # Deprecated: Output only. Use `canReadDrive` instead.
1709
1722
  # Corresponds to the JSON property `canReadTeamDrive`
1710
1723
  # @return [Boolean]
1711
1724
  attr_accessor :can_read_team_drive
1712
1725
  alias_method :can_read_team_drive?, :can_read_team_drive
1713
1726
 
1714
- # Whether the current user can remove children from this folder. This is always
1715
- # false when the item isn't a folder. For a folder in a shared drive, use
1716
- # canDeleteChildren or canTrashChildren instead.
1727
+ # Output only. Whether the current user can remove children from this folder.
1728
+ # This is always false when the item is not a folder. For a folder in a shared
1729
+ # drive, use `canDeleteChildren` or `canTrashChildren` instead.
1717
1730
  # Corresponds to the JSON property `canRemoveChildren`
1718
1731
  # @return [Boolean]
1719
1732
  attr_accessor :can_remove_children
1720
1733
  alias_method :can_remove_children?, :can_remove_children
1721
1734
 
1722
- # Whether the current user can remove a parent from the item without adding
1723
- # another parent in the same request. Not populated for shared drive files.
1735
+ # Output only. Whether the current user can remove a parent from the item
1736
+ # without adding another parent in the same request. Not populated for shared
1737
+ # drive files.
1724
1738
  # Corresponds to the JSON property `canRemoveMyDriveParent`
1725
1739
  # @return [Boolean]
1726
1740
  attr_accessor :can_remove_my_drive_parent
1727
1741
  alias_method :can_remove_my_drive_parent?, :can_remove_my_drive_parent
1728
1742
 
1729
- # Whether the current user can rename this file.
1743
+ # Output only. Whether the current user can rename this file.
1730
1744
  # Corresponds to the JSON property `canRename`
1731
1745
  # @return [Boolean]
1732
1746
  attr_accessor :can_rename
1733
1747
  alias_method :can_rename?, :can_rename
1734
1748
 
1735
- # Whether the current user can modify the sharing settings for this file.
1749
+ # Output only. Whether the current user can modify the sharing settings for this
1750
+ # file.
1736
1751
  # Corresponds to the JSON property `canShare`
1737
1752
  # @return [Boolean]
1738
1753
  attr_accessor :can_share
1739
1754
  alias_method :can_share?, :can_share
1740
1755
 
1741
- # Whether the current user can move this file to trash.
1756
+ # Output only. Whether the current user can move this file to trash.
1742
1757
  # Corresponds to the JSON property `canTrash`
1743
1758
  # @return [Boolean]
1744
1759
  attr_accessor :can_trash
1745
1760
  alias_method :can_trash?, :can_trash
1746
1761
 
1747
- # Whether the current user can trash children of this folder. This is false when
1748
- # the item isn't a folder. Only populated for items in shared drives.
1762
+ # Output only. Whether the current user can trash children of this folder. This
1763
+ # is false when the item is not a folder. Only populated for items in shared
1764
+ # drives.
1749
1765
  # Corresponds to the JSON property `canTrashChildren`
1750
1766
  # @return [Boolean]
1751
1767
  attr_accessor :can_trash_children
1752
1768
  alias_method :can_trash_children?, :can_trash_children
1753
1769
 
1754
- # Whether the current user can restore this file from trash.
1770
+ # Output only. Whether the current user can restore this file from trash.
1755
1771
  # Corresponds to the JSON property `canUntrash`
1756
1772
  # @return [Boolean]
1757
1773
  attr_accessor :can_untrash
@@ -1810,8 +1826,7 @@ module Google
1810
1826
  include Google::Apis::Core::Hashable
1811
1827
 
1812
1828
  # Text to be indexed for the file to improve fullText queries. This is limited
1813
- # to 128 KB in length and might contain HTML elements. For more information, see
1814
- # Manage file metadata.
1829
+ # to 128KB in length and may contain HTML elements.
1815
1830
  # Corresponds to the JSON property `indexableText`
1816
1831
  # @return [String]
1817
1832
  attr_accessor :indexable_text
@@ -1860,114 +1875,114 @@ module Google
1860
1875
  end
1861
1876
  end
1862
1877
 
1863
- # Additional metadata about image media, if available.
1878
+ # Output only. Additional metadata about image media, if available.
1864
1879
  class ImageMediaMetadata
1865
1880
  include Google::Apis::Core::Hashable
1866
1881
 
1867
- # The aperture used to create the photo (f-number).
1882
+ # Output only. The aperture used to create the photo (f-number).
1868
1883
  # Corresponds to the JSON property `aperture`
1869
1884
  # @return [Float]
1870
1885
  attr_accessor :aperture
1871
1886
 
1872
- # The make of the camera used to create the photo.
1887
+ # Output only. The make of the camera used to create the photo.
1873
1888
  # Corresponds to the JSON property `cameraMake`
1874
1889
  # @return [String]
1875
1890
  attr_accessor :camera_make
1876
1891
 
1877
- # The model of the camera used to create the photo.
1892
+ # Output only. The model of the camera used to create the photo.
1878
1893
  # Corresponds to the JSON property `cameraModel`
1879
1894
  # @return [String]
1880
1895
  attr_accessor :camera_model
1881
1896
 
1882
- # The color space of the photo.
1897
+ # Output only. The color space of the photo.
1883
1898
  # Corresponds to the JSON property `colorSpace`
1884
1899
  # @return [String]
1885
1900
  attr_accessor :color_space
1886
1901
 
1887
- # The exposure bias of the photo (APEX value).
1902
+ # Output only. The exposure bias of the photo (APEX value).
1888
1903
  # Corresponds to the JSON property `exposureBias`
1889
1904
  # @return [Float]
1890
1905
  attr_accessor :exposure_bias
1891
1906
 
1892
- # The exposure mode used to create the photo.
1907
+ # Output only. The exposure mode used to create the photo.
1893
1908
  # Corresponds to the JSON property `exposureMode`
1894
1909
  # @return [String]
1895
1910
  attr_accessor :exposure_mode
1896
1911
 
1897
- # The length of the exposure, in seconds.
1912
+ # Output only. The length of the exposure, in seconds.
1898
1913
  # Corresponds to the JSON property `exposureTime`
1899
1914
  # @return [Float]
1900
1915
  attr_accessor :exposure_time
1901
1916
 
1902
- # Whether a flash was used to create the photo.
1917
+ # Output only. Whether a flash was used to create the photo.
1903
1918
  # Corresponds to the JSON property `flashUsed`
1904
1919
  # @return [Boolean]
1905
1920
  attr_accessor :flash_used
1906
1921
  alias_method :flash_used?, :flash_used
1907
1922
 
1908
- # The focal length used to create the photo, in millimeters.
1923
+ # Output only. The focal length used to create the photo, in millimeters.
1909
1924
  # Corresponds to the JSON property `focalLength`
1910
1925
  # @return [Float]
1911
1926
  attr_accessor :focal_length
1912
1927
 
1913
- # The height of the image in pixels.
1928
+ # Output only. The height of the image in pixels.
1914
1929
  # Corresponds to the JSON property `height`
1915
1930
  # @return [Fixnum]
1916
1931
  attr_accessor :height
1917
1932
 
1918
- # The ISO speed used to create the photo.
1933
+ # Output only. The ISO speed used to create the photo.
1919
1934
  # Corresponds to the JSON property `isoSpeed`
1920
1935
  # @return [Fixnum]
1921
1936
  attr_accessor :iso_speed
1922
1937
 
1923
- # The lens used to create the photo.
1938
+ # Output only. The lens used to create the photo.
1924
1939
  # Corresponds to the JSON property `lens`
1925
1940
  # @return [String]
1926
1941
  attr_accessor :lens
1927
1942
 
1928
- # Geographic location information stored in the image.
1943
+ # Output only. Geographic location information stored in the image.
1929
1944
  # Corresponds to the JSON property `location`
1930
1945
  # @return [Google::Apis::DriveV3::File::ImageMediaMetadata::Location]
1931
1946
  attr_accessor :location
1932
1947
 
1933
- # The smallest f-number of the lens at the focal length used to create the photo
1934
- # (APEX value).
1948
+ # Output only. The smallest f-number of the lens at the focal length used to
1949
+ # create the photo (APEX value).
1935
1950
  # Corresponds to the JSON property `maxApertureValue`
1936
1951
  # @return [Float]
1937
1952
  attr_accessor :max_aperture_value
1938
1953
 
1939
- # The metering mode used to create the photo.
1954
+ # Output only. The metering mode used to create the photo.
1940
1955
  # Corresponds to the JSON property `meteringMode`
1941
1956
  # @return [String]
1942
1957
  attr_accessor :metering_mode
1943
1958
 
1944
- # The number of clockwise 90-degree rotations applied from the image's original
1945
- # orientation.
1959
+ # Output only. The number of clockwise 90 degree rotations applied from the
1960
+ # image's original orientation.
1946
1961
  # Corresponds to the JSON property `rotation`
1947
1962
  # @return [Fixnum]
1948
1963
  attr_accessor :rotation
1949
1964
 
1950
- # The type of sensor used to create the photo.
1965
+ # Output only. The type of sensor used to create the photo.
1951
1966
  # Corresponds to the JSON property `sensor`
1952
1967
  # @return [String]
1953
1968
  attr_accessor :sensor
1954
1969
 
1955
- # The distance to the subject of the photo, in meters.
1970
+ # Output only. The distance to the subject of the photo, in meters.
1956
1971
  # Corresponds to the JSON property `subjectDistance`
1957
1972
  # @return [Fixnum]
1958
1973
  attr_accessor :subject_distance
1959
1974
 
1960
- # The date and time the photo was taken (EXIF DateTime).
1975
+ # Output only. The date and time the photo was taken (EXIF DateTime).
1961
1976
  # Corresponds to the JSON property `time`
1962
1977
  # @return [String]
1963
1978
  attr_accessor :time
1964
1979
 
1965
- # The white balance mode used to create the photo.
1980
+ # Output only. The white balance mode used to create the photo.
1966
1981
  # Corresponds to the JSON property `whiteBalance`
1967
1982
  # @return [String]
1968
1983
  attr_accessor :white_balance
1969
1984
 
1970
- # The width of the image in pixels.
1985
+ # Output only. The width of the image in pixels.
1971
1986
  # Corresponds to the JSON property `width`
1972
1987
  # @return [Fixnum]
1973
1988
  attr_accessor :width
@@ -2001,21 +2016,21 @@ module Google
2001
2016
  @width = args[:width] if args.key?(:width)
2002
2017
  end
2003
2018
 
2004
- # Geographic location information stored in the image.
2019
+ # Output only. Geographic location information stored in the image.
2005
2020
  class Location
2006
2021
  include Google::Apis::Core::Hashable
2007
2022
 
2008
- # The altitude stored in the image.
2023
+ # Output only. The altitude stored in the image.
2009
2024
  # Corresponds to the JSON property `altitude`
2010
2025
  # @return [Float]
2011
2026
  attr_accessor :altitude
2012
2027
 
2013
- # The latitude stored in the image.
2028
+ # Output only. The latitude stored in the image.
2014
2029
  # Corresponds to the JSON property `latitude`
2015
2030
  # @return [Float]
2016
2031
  attr_accessor :latitude
2017
2032
 
2018
- # The longitude stored in the image.
2033
+ # Output only. The longitude stored in the image.
2019
2034
  # Corresponds to the JSON property `longitude`
2020
2035
  # @return [Float]
2021
2036
  attr_accessor :longitude
@@ -2033,12 +2048,12 @@ module Google
2033
2048
  end
2034
2049
  end
2035
2050
 
2036
- # An overview of the labels on the file.
2051
+ # Output only. An overview of the labels on the file.
2037
2052
  class LabelInfo
2038
2053
  include Google::Apis::Core::Hashable
2039
2054
 
2040
- # The set of labels on the file as requested by the label IDs in the
2041
- # includeLabels parameter. By default, no labels are returned.
2055
+ # Output only. The set of labels on the file as requested by the label IDs in
2056
+ # the `includeLabels` parameter. By default, no labels are returned.
2042
2057
  # Corresponds to the JSON property `labels`
2043
2058
  # @return [Array<Google::Apis::DriveV3::Label>]
2044
2059
  attr_accessor :labels
@@ -2058,13 +2073,13 @@ module Google
2058
2073
  class LinkShareMetadata
2059
2074
  include Google::Apis::Core::Hashable
2060
2075
 
2061
- # Whether the file is eligible for security update.
2076
+ # Output only. Whether the file is eligible for security update.
2062
2077
  # Corresponds to the JSON property `securityUpdateEligible`
2063
2078
  # @return [Boolean]
2064
2079
  attr_accessor :security_update_eligible
2065
2080
  alias_method :security_update_eligible?, :security_update_eligible
2066
2081
 
2067
- # Whether the security update is enabled for this file.
2082
+ # Output only. Whether the security update is enabled for this file.
2068
2083
  # Corresponds to the JSON property `securityUpdateEnabled`
2069
2084
  # @return [Boolean]
2070
2085
  attr_accessor :security_update_enabled
@@ -2082,7 +2097,7 @@ module Google
2082
2097
  end
2083
2098
 
2084
2099
  # Shortcut file details. Only populated for shortcut files, which have the
2085
- # mimeType field set to application/vnd.google-apps.shortcut.
2100
+ # mimeType field set to `application/vnd.google-apps.shortcut`.
2086
2101
  class ShortcutDetails
2087
2102
  include Google::Apis::Core::Hashable
2088
2103
 
@@ -2091,14 +2106,14 @@ module Google
2091
2106
  # @return [String]
2092
2107
  attr_accessor :target_id
2093
2108
 
2094
- # The MIME type of the file that this shortcut points to. The value of this
2095
- # field is a snapshot of the target's MIME type, captured when the shortcut is
2096
- # created.
2109
+ # Output only. The MIME type of the file that this shortcut points to. The value
2110
+ # of this field is a snapshot of the target's MIME type, captured when the
2111
+ # shortcut is created.
2097
2112
  # Corresponds to the JSON property `targetMimeType`
2098
2113
  # @return [String]
2099
2114
  attr_accessor :target_mime_type
2100
2115
 
2101
- # The ResourceKey for the target file.
2116
+ # Output only. The ResourceKey for the target file.
2102
2117
  # Corresponds to the JSON property `targetResourceKey`
2103
2118
  # @return [String]
2104
2119
  attr_accessor :target_resource_key
@@ -2115,22 +2130,22 @@ module Google
2115
2130
  end
2116
2131
  end
2117
2132
 
2118
- # Additional metadata about video media. This might not be available immediately
2119
- # upon upload.
2133
+ # Output only. Additional metadata about video media. This may not be available
2134
+ # immediately upon upload.
2120
2135
  class VideoMediaMetadata
2121
2136
  include Google::Apis::Core::Hashable
2122
2137
 
2123
- # The duration of the video in milliseconds.
2138
+ # Output only. The duration of the video in milliseconds.
2124
2139
  # Corresponds to the JSON property `durationMillis`
2125
2140
  # @return [Fixnum]
2126
2141
  attr_accessor :duration_millis
2127
2142
 
2128
- # The height of the video in pixels.
2143
+ # Output only. The height of the video in pixels.
2129
2144
  # Corresponds to the JSON property `height`
2130
2145
  # @return [Fixnum]
2131
2146
  attr_accessor :height
2132
2147
 
2133
- # The width of the video in pixels.
2148
+ # Output only. The width of the video in pixels.
2134
2149
  # Corresponds to the JSON property `width`
2135
2150
  # @return [Fixnum]
2136
2151
  attr_accessor :width
@@ -2159,17 +2174,17 @@ module Google
2159
2174
  attr_accessor :files
2160
2175
 
2161
2176
  # Whether the search process was incomplete. If true, then some search results
2162
- # may be missing, since all documents were not searched. This may occur when
2163
- # searching multiple drives with the "allDrives" corpora, but all corpora could
2164
- # not be searched. When this happens, it is suggested that clients narrow their
2165
- # query by choosing a different corpus such as "user" or "drive".
2177
+ # might be missing, since all documents were not searched. This can occur when
2178
+ # searching multiple drives with the 'allDrives' corpora, but all corpora couldn'
2179
+ # t be searched. When this happens, it's suggested that clients narrow their
2180
+ # query by choosing a different corpus such as 'user' or 'drive'.
2166
2181
  # Corresponds to the JSON property `incompleteSearch`
2167
2182
  # @return [Boolean]
2168
2183
  attr_accessor :incomplete_search
2169
2184
  alias_method :incomplete_search?, :incomplete_search
2170
2185
 
2171
- # Identifies what kind of resource this is. Value: the fixed string "drive#
2172
- # fileList".
2186
+ # Identifies what kind of resource this is. Value: the fixed string `"drive#
2187
+ # fileList"`.
2173
2188
  # Corresponds to the JSON property `kind`
2174
2189
  # @return [String]
2175
2190
  attr_accessor :kind
@@ -2204,8 +2219,8 @@ module Google
2204
2219
  # @return [Array<String>]
2205
2220
  attr_accessor :ids
2206
2221
 
2207
- # Identifies what kind of resource this is. Value: the fixed string "drive#
2208
- # generatedIds".
2222
+ # Identifies what kind of resource this is. Value: the fixed string `"drive#
2223
+ # generatedIds"`.
2209
2224
  # Corresponds to the JSON property `kind`
2210
2225
  # @return [String]
2211
2226
  attr_accessor :kind
@@ -2227,11 +2242,11 @@ module Google
2227
2242
  end
2228
2243
  end
2229
2244
 
2230
- # Representation of a label and its fields.
2245
+ # Representation of label and label fields.
2231
2246
  class Label
2232
2247
  include Google::Apis::Core::Hashable
2233
2248
 
2234
- # A map of the label's fields keyed by the field ID.
2249
+ # A map of the fields on the label, keyed by the field's ID.
2235
2250
  # Corresponds to the JSON property `fields`
2236
2251
  # @return [Hash<String,Google::Apis::DriveV3::LabelField>]
2237
2252
  attr_accessor :fields
@@ -2264,7 +2279,7 @@ module Google
2264
2279
  end
2265
2280
  end
2266
2281
 
2267
- # Representation of a label field.
2282
+ # Representation of field, which is a typed key-value pair.
2268
2283
  class LabelField
2269
2284
  include Google::Apis::Core::Hashable
2270
2285
 
@@ -2273,12 +2288,12 @@ module Google
2273
2288
  # @return [Array<Date>]
2274
2289
  attr_accessor :date_string
2275
2290
 
2276
- # The identifier of this field.
2291
+ # The identifier of this label field.
2277
2292
  # Corresponds to the JSON property `id`
2278
2293
  # @return [String]
2279
2294
  attr_accessor :id
2280
2295
 
2281
- # Only present if valueType is integer.
2296
+ # Only present if `valueType` is `integer`.
2282
2297
  # Corresponds to the JSON property `integer`
2283
2298
  # @return [Array<Fixnum>]
2284
2299
  attr_accessor :integer
@@ -2288,28 +2303,24 @@ module Google
2288
2303
  # @return [String]
2289
2304
  attr_accessor :kind
2290
2305
 
2291
- # Only present if valueType is selection.
2306
+ # Only present if `valueType` is `selection`
2292
2307
  # Corresponds to the JSON property `selection`
2293
2308
  # @return [Array<String>]
2294
2309
  attr_accessor :selection
2295
2310
 
2296
- # Only present if valueType is text.
2311
+ # Only present if `valueType` is `text`.
2297
2312
  # Corresponds to the JSON property `text`
2298
2313
  # @return [Array<String>]
2299
2314
  attr_accessor :text
2300
2315
 
2301
- # Only present if valueType is user.
2316
+ # Only present if `valueType` is `user`.
2302
2317
  # Corresponds to the JSON property `user`
2303
2318
  # @return [Array<Google::Apis::DriveV3::User>]
2304
2319
  attr_accessor :user
2305
2320
 
2306
2321
  # The field type. While new values may be supported in the future, the following
2307
- # are currently allowed:
2308
- # - dateString
2309
- # - integer
2310
- # - selection
2311
- # - text
2312
- # - user
2322
+ # are currently allowed: * `dateString` * `integer` * `selection` * `text` * `
2323
+ # user`
2313
2324
  # Corresponds to the JSON property `valueType`
2314
2325
  # @return [String]
2315
2326
  attr_accessor :value_type
@@ -2335,7 +2346,7 @@ module Google
2335
2346
  class LabelFieldModification
2336
2347
  include Google::Apis::Core::Hashable
2337
2348
 
2338
- # The ID of the Field to be modified.
2349
+ # The ID of the field to be modified.
2339
2350
  # Corresponds to the JSON property `fieldId`
2340
2351
  # @return [String]
2341
2352
  attr_accessor :field_id
@@ -2345,28 +2356,28 @@ module Google
2345
2356
  # @return [String]
2346
2357
  attr_accessor :kind
2347
2358
 
2348
- # Replaces a dateString field with these new values. The values must be strings
2349
- # in the RFC 3339 full-date format: YYYY-MM-DD.
2359
+ # Replaces the value of a dateString Field with these new values. The string
2360
+ # must be in the RFC 3339 full-date format: YYYY-MM-DD.
2350
2361
  # Corresponds to the JSON property `setDateValues`
2351
2362
  # @return [Array<Date>]
2352
2363
  attr_accessor :set_date_values
2353
2364
 
2354
- # Replaces an integer field with these new values.
2365
+ # Replaces the value of an `integer` field with these new values.
2355
2366
  # Corresponds to the JSON property `setIntegerValues`
2356
2367
  # @return [Array<Fixnum>]
2357
2368
  attr_accessor :set_integer_values
2358
2369
 
2359
- # Replaces a selection field with these new values.
2370
+ # Replaces a `selection` field with these new values.
2360
2371
  # Corresponds to the JSON property `setSelectionValues`
2361
2372
  # @return [Array<String>]
2362
2373
  attr_accessor :set_selection_values
2363
2374
 
2364
- # Replaces a text field with these new values.
2375
+ # Sets the value of a `text` field.
2365
2376
  # Corresponds to the JSON property `setTextValues`
2366
2377
  # @return [Array<String>]
2367
2378
  attr_accessor :set_text_values
2368
2379
 
2369
- # Replaces a user field with these new values. The values must be valid email
2380
+ # Replaces a `user` field with these new values. The values must be valid email
2370
2381
  # addresses.
2371
2382
  # Corresponds to the JSON property `setUserValues`
2372
2383
  # @return [Array<String>]
@@ -2395,7 +2406,7 @@ module Google
2395
2406
  end
2396
2407
  end
2397
2408
 
2398
- # A list of labels.
2409
+ # A list of labels applied to a file.
2399
2410
  class LabelList
2400
2411
  include Google::Apis::Core::Hashable
2401
2412
 
@@ -2470,11 +2481,11 @@ module Google
2470
2481
  end
2471
2482
 
2472
2483
  # A request to modify the set of labels on a file. This request may contain many
2473
- # modifications that will either all succeed or all fail transactionally.
2484
+ # modifications that will either all succeed or all fail atomically.
2474
2485
  class ModifyLabelsRequest
2475
2486
  include Google::Apis::Core::Hashable
2476
2487
 
2477
- # This is always drive#modifyLabelsRequest
2488
+ # This is always drive#modifyLabelsRequest.
2478
2489
  # Corresponds to the JSON property `kind`
2479
2490
  # @return [String]
2480
2491
  attr_accessor :kind
@@ -2521,40 +2532,36 @@ module Google
2521
2532
  end
2522
2533
  end
2523
2534
 
2524
- # A permission for a file. A permission grants a user, group, domain, or the
2535
+ # A permission for a file. A permission grants a user, group, domain or the
2525
2536
  # world access to a file or a folder hierarchy.
2526
2537
  class Permission
2527
2538
  include Google::Apis::Core::Hashable
2528
2539
 
2529
2540
  # Whether the permission allows the file to be discovered through search. This
2530
- # is only applicable for permissions of type domain or anyone.
2541
+ # is only applicable for permissions of type `domain` or `anyone`.
2531
2542
  # Corresponds to the JSON property `allowFileDiscovery`
2532
2543
  # @return [Boolean]
2533
2544
  attr_accessor :allow_file_discovery
2534
2545
  alias_method :allow_file_discovery?, :allow_file_discovery
2535
2546
 
2536
- # Whether the account associated with this permission has been deleted. This
2537
- # field only pertains to user and group permissions.
2547
+ # Output only. Whether the account associated with this permission has been
2548
+ # deleted. This field only pertains to user and group permissions.
2538
2549
  # Corresponds to the JSON property `deleted`
2539
2550
  # @return [Boolean]
2540
2551
  attr_accessor :deleted
2541
2552
  alias_method :deleted?, :deleted
2542
2553
 
2543
- # The "pretty" name of the value of the permission. The following is a list of
2544
- # examples for each type of permission:
2545
- # - user - User's full name, as defined for their Google Account, such as "Joe
2546
- # Smith."
2547
- # - group - Name of the Google Group, such as "The Company Administrators."
2548
- # - domain - String domain name, such as "your-company.com."
2549
- # - anyone - No displayName is present.
2554
+ # Output only. The "pretty" name of the value of the permission. The following
2555
+ # is a list of examples for each type of permission: * `user` - User's full name,
2556
+ # as defined for their Google account, such as "Joe Smith." * `group` - Name of
2557
+ # the Google Group, such as "The Company Administrators." * `domain` - String
2558
+ # domain name, such as "thecompany.com." * `anyone` - No `displayName` is
2559
+ # present.
2550
2560
  # Corresponds to the JSON property `displayName`
2551
2561
  # @return [String]
2552
2562
  attr_accessor :display_name
2553
2563
 
2554
- # The domain to which this permission refers. The following options are
2555
- # currently allowed:
2556
- # - The entire domain, such as "your-company.com."
2557
- # - A target audience, such as "ID.audience.googledomains.com."
2564
+ # The domain to which this permission refers.
2558
2565
  # Corresponds to the JSON property `domain`
2559
2566
  # @return [String]
2560
2567
  attr_accessor :domain
@@ -2565,77 +2572,68 @@ module Google
2565
2572
  attr_accessor :email_address
2566
2573
 
2567
2574
  # The time at which this permission will expire (RFC 3339 date-time). Expiration
2568
- # times have the following restrictions:
2569
- # - They cannot be set on shared drive items.
2570
- # - They can only be set on user and group permissions.
2571
- # - The time must be in the future.
2572
- # - The time cannot be more than one year in the future.
2575
+ # times have the following restrictions: - They can only be set on user and
2576
+ # group permissions - The time must be in the future - The time cannot be more
2577
+ # than a year in the future
2573
2578
  # Corresponds to the JSON property `expirationTime`
2574
2579
  # @return [DateTime]
2575
2580
  attr_accessor :expiration_time
2576
2581
 
2577
- # The ID of this permission. This is a unique identifier for the grantee, and is
2578
- # published in User resources as permissionId. IDs should be treated as opaque
2579
- # values.
2582
+ # Output only. The ID of this permission. This is a unique identifier for the
2583
+ # grantee, and is published in User resources as `permissionId`. IDs should be
2584
+ # treated as opaque values.
2580
2585
  # Corresponds to the JSON property `id`
2581
2586
  # @return [String]
2582
2587
  attr_accessor :id
2583
2588
 
2584
- # Identifies what kind of resource this is. Value: the fixed string "drive#
2585
- # permission".
2589
+ # Output only. Identifies what kind of resource this is. Value: the fixed string
2590
+ # `"drive#permission"`.
2586
2591
  # Corresponds to the JSON property `kind`
2587
2592
  # @return [String]
2588
2593
  attr_accessor :kind
2589
2594
 
2590
2595
  # Whether the account associated with this permission is a pending owner. Only
2591
- # populated for user type permissions for files that aren't in a shared drive.
2596
+ # populated for `user` type permissions for files that are not in a shared drive.
2592
2597
  # Corresponds to the JSON property `pendingOwner`
2593
2598
  # @return [Boolean]
2594
2599
  attr_accessor :pending_owner
2595
2600
  alias_method :pending_owner?, :pending_owner
2596
2601
 
2597
- # Details of whether the permissions on this shared drive item are inherited or
2598
- # are directly on this item. This is an output-only field that's present only
2599
- # for shared drive items.
2602
+ # Output only. Details of whether the permissions on this shared drive item are
2603
+ # inherited or directly on this item. This is an output-only field which is
2604
+ # present only for shared drive items.
2600
2605
  # Corresponds to the JSON property `permissionDetails`
2601
2606
  # @return [Array<Google::Apis::DriveV3::Permission::PermissionDetail>]
2602
2607
  attr_accessor :permission_details
2603
2608
 
2604
- # A link to the user's profile photo, if available.
2609
+ # Output only. A link to the user's profile photo, if available.
2605
2610
  # Corresponds to the JSON property `photoLink`
2606
2611
  # @return [String]
2607
2612
  attr_accessor :photo_link
2608
2613
 
2609
2614
  # The role granted by this permission. While new values may be supported in the
2610
- # future, the following are currently allowed:
2611
- # - owner
2612
- # - organizer
2613
- # - fileOrganizer
2614
- # - writer
2615
- # - commenter
2616
- # - reader
2615
+ # future, the following are currently allowed: * `owner` * `organizer` * `
2616
+ # fileOrganizer` * `writer` * `commenter` * `reader`
2617
2617
  # Corresponds to the JSON property `role`
2618
2618
  # @return [String]
2619
2619
  attr_accessor :role
2620
2620
 
2621
- # Deprecated - use permissionDetails instead.
2621
+ # Output only. Deprecated: Output only. Use `permissionDetails` instead.
2622
2622
  # Corresponds to the JSON property `teamDrivePermissionDetails`
2623
2623
  # @return [Array<Google::Apis::DriveV3::Permission::TeamDrivePermissionDetail>]
2624
2624
  attr_accessor :team_drive_permission_details
2625
2625
 
2626
- # The type of the grantee. Valid values are:
2627
- # - user
2628
- # - group
2629
- # - domain
2630
- # - anyone When creating a permission, if type is user or group, you must
2631
- # provide an emailAddress for the user or group. When type is domain, you must
2632
- # provide a domain. There isn't extra information required for the anyone type.
2626
+ # The type of the grantee. Valid values are: * `user` * `group` * `domain` * `
2627
+ # anyone` When creating a permission, if `type` is `user` or `group`, you must
2628
+ # provide an `emailAddress` for the user or group. When `type` is `domain`, you
2629
+ # must provide a `domain`. There isn't extra information required for an `anyone`
2630
+ # type.
2633
2631
  # Corresponds to the JSON property `type`
2634
2632
  # @return [String]
2635
2633
  attr_accessor :type
2636
2634
 
2637
2635
  # Indicates the view for this permission. Only populated for permissions that
2638
- # belong to a view. published is the only supported value.
2636
+ # belong to a view. 'published' is the only supported value.
2639
2637
  # Corresponds to the JSON property `view`
2640
2638
  # @return [String]
2641
2639
  attr_accessor :view
@@ -2667,34 +2665,28 @@ module Google
2667
2665
  class PermissionDetail
2668
2666
  include Google::Apis::Core::Hashable
2669
2667
 
2670
- # Whether this permission is inherited. This field is always populated. This is
2671
- # an output-only field.
2668
+ # Output only. Whether this permission is inherited. This field is always
2669
+ # populated. This is an output-only field.
2672
2670
  # Corresponds to the JSON property `inherited`
2673
2671
  # @return [Boolean]
2674
2672
  attr_accessor :inherited
2675
2673
  alias_method :inherited?, :inherited
2676
2674
 
2677
- # The ID of the item from which this permission is inherited. This is an output-
2678
- # only field.
2675
+ # Output only. The ID of the item from which this permission is inherited. This
2676
+ # is an output-only field.
2679
2677
  # Corresponds to the JSON property `inheritedFrom`
2680
2678
  # @return [String]
2681
2679
  attr_accessor :inherited_from
2682
2680
 
2683
- # The permission type for this user. While new values may be added in future,
2684
- # the following are currently allowed:
2685
- # - file
2686
- # - member
2681
+ # Output only. The permission type for this user. While new values may be added
2682
+ # in future, the following are currently possible: * `file` * `member`
2687
2683
  # Corresponds to the JSON property `permissionType`
2688
2684
  # @return [String]
2689
2685
  attr_accessor :permission_type
2690
2686
 
2691
- # The primary role for this user. While new values may be added in the future,
2692
- # the following are currently allowed:
2693
- # - organizer
2694
- # - fileOrganizer
2695
- # - writer
2696
- # - commenter
2697
- # - reader
2687
+ # Output only. The primary role for this user. While new values may be added in
2688
+ # the future, the following are currently possible: * `organizer` * `
2689
+ # fileOrganizer` * `writer` * `commenter` * `reader`
2698
2690
  # Corresponds to the JSON property `role`
2699
2691
  # @return [String]
2700
2692
  attr_accessor :role
@@ -2716,23 +2708,23 @@ module Google
2716
2708
  class TeamDrivePermissionDetail
2717
2709
  include Google::Apis::Core::Hashable
2718
2710
 
2719
- # Deprecated - use permissionDetails/inherited instead.
2711
+ # Deprecated: Output only. Use `permissionDetails/inherited` instead.
2720
2712
  # Corresponds to the JSON property `inherited`
2721
2713
  # @return [Boolean]
2722
2714
  attr_accessor :inherited
2723
2715
  alias_method :inherited?, :inherited
2724
2716
 
2725
- # Deprecated - use permissionDetails/inheritedFrom instead.
2717
+ # Deprecated: Output only. Use `permissionDetails/inheritedFrom` instead.
2726
2718
  # Corresponds to the JSON property `inheritedFrom`
2727
2719
  # @return [String]
2728
2720
  attr_accessor :inherited_from
2729
2721
 
2730
- # Deprecated - use permissionDetails/role instead.
2722
+ # Deprecated: Output only. Use `permissionDetails/role` instead.
2731
2723
  # Corresponds to the JSON property `role`
2732
2724
  # @return [String]
2733
2725
  attr_accessor :role
2734
2726
 
2735
- # Deprecated - use permissionDetails/permissionType instead.
2727
+ # Deprecated: Output only. Use `permissionDetails/permissionType` instead.
2736
2728
  # Corresponds to the JSON property `teamDrivePermissionType`
2737
2729
  # @return [String]
2738
2730
  attr_accessor :team_drive_permission_type
@@ -2755,8 +2747,8 @@ module Google
2755
2747
  class PermissionList
2756
2748
  include Google::Apis::Core::Hashable
2757
2749
 
2758
- # Identifies what kind of resource this is. Value: the fixed string "drive#
2759
- # permissionList".
2750
+ # Identifies what kind of resource this is. Value: the fixed string `"drive#
2751
+ # permissionList"`.
2760
2752
  # Corresponds to the JSON property `kind`
2761
2753
  # @return [String]
2762
2754
  attr_accessor :kind
@@ -2791,9 +2783,8 @@ module Google
2791
2783
  class Reply
2792
2784
  include Google::Apis::Core::Hashable
2793
2785
 
2794
- # The action the reply performed to the parent comment. Valid values are:
2795
- # - resolve
2796
- # - reopen
2786
+ # The action the reply performed to the parent comment. Valid values are: * `
2787
+ # resolve` * `reopen`
2797
2788
  # Corresponds to the JSON property `action`
2798
2789
  # @return [String]
2799
2790
  attr_accessor :action
@@ -2804,8 +2795,8 @@ module Google
2804
2795
  attr_accessor :author
2805
2796
 
2806
2797
  # The plain text content of the reply. This field is used for setting the
2807
- # content, while htmlContent should be displayed. This is required on creates if
2808
- # no action is specified.
2798
+ # content, while `htmlContent` should be displayed. This is required on creates
2799
+ # if no `action` is specified.
2809
2800
  # Corresponds to the JSON property `content`
2810
2801
  # @return [String]
2811
2802
  attr_accessor :content
@@ -2815,24 +2806,25 @@ module Google
2815
2806
  # @return [DateTime]
2816
2807
  attr_accessor :created_time
2817
2808
 
2818
- # Whether the reply has been deleted. A deleted reply has no content.
2809
+ # Output only. Whether the reply has been deleted. A deleted reply has no
2810
+ # content.
2819
2811
  # Corresponds to the JSON property `deleted`
2820
2812
  # @return [Boolean]
2821
2813
  attr_accessor :deleted
2822
2814
  alias_method :deleted?, :deleted
2823
2815
 
2824
- # The content of the reply with HTML formatting.
2816
+ # Output only. The content of the reply with HTML formatting.
2825
2817
  # Corresponds to the JSON property `htmlContent`
2826
2818
  # @return [String]
2827
2819
  attr_accessor :html_content
2828
2820
 
2829
- # The ID of the reply.
2821
+ # Output only. The ID of the reply.
2830
2822
  # Corresponds to the JSON property `id`
2831
2823
  # @return [String]
2832
2824
  attr_accessor :id
2833
2825
 
2834
- # Identifies what kind of resource this is. Value: the fixed string "drive#reply"
2835
- # .
2826
+ # Output only. Identifies what kind of resource this is. Value: the fixed string
2827
+ # `"drive#reply"`.
2836
2828
  # Corresponds to the JSON property `kind`
2837
2829
  # @return [String]
2838
2830
  attr_accessor :kind
@@ -2864,8 +2856,8 @@ module Google
2864
2856
  class ReplyList
2865
2857
  include Google::Apis::Core::Hashable
2866
2858
 
2867
- # Identifies what kind of resource this is. Value: the fixed string "drive#
2868
- # replyList".
2859
+ # Identifies what kind of resource this is. Value: the fixed string `"drive#
2860
+ # replyList"`.
2869
2861
  # Corresponds to the JSON property `kind`
2870
2862
  # @return [String]
2871
2863
  attr_accessor :kind
@@ -2900,12 +2892,12 @@ module Google
2900
2892
  class Revision
2901
2893
  include Google::Apis::Core::Hashable
2902
2894
 
2903
- # Links for exporting Docs Editors files to specific formats.
2895
+ # Output only. Links for exporting Docs Editors files to specific formats.
2904
2896
  # Corresponds to the JSON property `exportLinks`
2905
2897
  # @return [Hash<String,String>]
2906
2898
  attr_accessor :export_links
2907
2899
 
2908
- # The ID of the revision.
2900
+ # Output only. The ID of the revision.
2909
2901
  # Corresponds to the JSON property `id`
2910
2902
  # @return [String]
2911
2903
  attr_accessor :id
@@ -2913,15 +2905,14 @@ module Google
2913
2905
  # Whether to keep this revision forever, even if it is no longer the head
2914
2906
  # revision. If not set, the revision will be automatically purged 30 days after
2915
2907
  # newer content is uploaded. This can be set on a maximum of 200 revisions for a
2916
- # file.
2917
- # This field is only applicable to files with binary content in Drive.
2908
+ # file. This field is only applicable to files with binary content in Drive.
2918
2909
  # Corresponds to the JSON property `keepForever`
2919
2910
  # @return [Boolean]
2920
2911
  attr_accessor :keep_forever
2921
2912
  alias_method :keep_forever?, :keep_forever
2922
2913
 
2923
- # Identifies what kind of resource this is. Value: the fixed string "drive#
2924
- # revision".
2914
+ # Output only. Identifies what kind of resource this is. Value: the fixed string
2915
+ # `"drive#revision"`.
2925
2916
  # Corresponds to the JSON property `kind`
2926
2917
  # @return [String]
2927
2918
  attr_accessor :kind
@@ -2931,13 +2922,13 @@ module Google
2931
2922
  # @return [Google::Apis::DriveV3::User]
2932
2923
  attr_accessor :last_modifying_user
2933
2924
 
2934
- # The MD5 checksum of the revision's content. This is only applicable to files
2935
- # with binary content in Drive.
2925
+ # Output only. The MD5 checksum of the revision's content. This is only
2926
+ # applicable to files with binary content in Drive.
2936
2927
  # Corresponds to the JSON property `md5Checksum`
2937
2928
  # @return [String]
2938
2929
  attr_accessor :md5_checksum
2939
2930
 
2940
- # The MIME type of the revision.
2931
+ # Output only. The MIME type of the revision.
2941
2932
  # Corresponds to the JSON property `mimeType`
2942
2933
  # @return [String]
2943
2934
  attr_accessor :mime_type
@@ -2947,8 +2938,8 @@ module Google
2947
2938
  # @return [DateTime]
2948
2939
  attr_accessor :modified_time
2949
2940
 
2950
- # The original filename used to create this revision. This is only applicable to
2951
- # files with binary content in Drive.
2941
+ # Output only. The original filename used to create this revision. This is only
2942
+ # applicable to files with binary content in Drive.
2952
2943
  # Corresponds to the JSON property `originalFilename`
2953
2944
  # @return [String]
2954
2945
  attr_accessor :original_filename
@@ -2967,8 +2958,8 @@ module Google
2967
2958
  attr_accessor :published
2968
2959
  alias_method :published?, :published
2969
2960
 
2970
- # A link to the published revision. This is only populated for Google Sites
2971
- # files.
2961
+ # Output only. A link to the published revision. This is only populated for
2962
+ # Google Sites files.
2972
2963
  # Corresponds to the JSON property `publishedLink`
2973
2964
  # @return [String]
2974
2965
  attr_accessor :published_link
@@ -2980,8 +2971,8 @@ module Google
2980
2971
  attr_accessor :published_outside_domain
2981
2972
  alias_method :published_outside_domain?, :published_outside_domain
2982
2973
 
2983
- # The size of the revision's content in bytes. This is only applicable to files
2984
- # with binary content in Drive.
2974
+ # Output only. The size of the revision's content in bytes. This is only
2975
+ # applicable to files with binary content in Drive.
2985
2976
  # Corresponds to the JSON property `size`
2986
2977
  # @return [Fixnum]
2987
2978
  attr_accessor :size
@@ -3013,8 +3004,8 @@ module Google
3013
3004
  class RevisionList
3014
3005
  include Google::Apis::Core::Hashable
3015
3006
 
3016
- # Identifies what kind of resource this is. Value: the fixed string "drive#
3017
- # revisionList".
3007
+ # Identifies what kind of resource this is. Value: the fixed string `"drive#
3008
+ # revisionList"`.
3018
3009
  # Corresponds to the JSON property `kind`
3019
3010
  # @return [String]
3020
3011
  attr_accessor :kind
@@ -3049,8 +3040,8 @@ module Google
3049
3040
  class StartPageToken
3050
3041
  include Google::Apis::Core::Hashable
3051
3042
 
3052
- # Identifies what kind of resource this is. Value: the fixed string "drive#
3053
- # startPageToken".
3043
+ # Identifies what kind of resource this is. Value: the fixed string `"drive#
3044
+ # startPageToken"`.
3054
3045
  # Corresponds to the JSON property `kind`
3055
3046
  # @return [String]
3056
3047
  attr_accessor :kind
@@ -3076,9 +3067,9 @@ module Google
3076
3067
  include Google::Apis::Core::Hashable
3077
3068
 
3078
3069
  # An image file and cropping parameters from which a background image for this
3079
- # Team Drive is set. This is a write only field; it can only be set on drive.
3080
- # teamdrives.update requests that don't set themeId. When specified, all fields
3081
- # of the backgroundImageFile must be set.
3070
+ # Team Drive is set. This is a write only field; it can only be set on `drive.
3071
+ # teamdrives.update` requests that don't set `themeId`. When specified, all
3072
+ # fields of the `backgroundImageFile` must be set.
3082
3073
  # Corresponds to the JSON property `backgroundImageFile`
3083
3074
  # @return [Google::Apis::DriveV3::TeamDrive::BackgroundImageFile]
3084
3075
  attr_accessor :background_image_file
@@ -3093,8 +3084,8 @@ module Google
3093
3084
  # @return [Google::Apis::DriveV3::TeamDrive::Capabilities]
3094
3085
  attr_accessor :capabilities
3095
3086
 
3096
- # The color of this Team Drive as an RGB hex string. It can only be set on a
3097
- # drive.teamdrives.update request that does not set themeId.
3087
+ # The color of this Team Drive as an RGB hex string. It can only be set on a `
3088
+ # drive.teamdrives.update` request that does not set `themeId`.
3098
3089
  # Corresponds to the JSON property `colorRgb`
3099
3090
  # @return [String]
3100
3091
  attr_accessor :color_rgb
@@ -3110,8 +3101,8 @@ module Google
3110
3101
  # @return [String]
3111
3102
  attr_accessor :id
3112
3103
 
3113
- # Identifies what kind of resource this is. Value: the fixed string "drive#
3114
- # teamDrive".
3104
+ # Identifies what kind of resource this is. Value: the fixed string `"drive#
3105
+ # teamDrive"`.
3115
3106
  # Corresponds to the JSON property `kind`
3116
3107
  # @return [String]
3117
3108
  attr_accessor :kind
@@ -3121,8 +3112,9 @@ module Google
3121
3112
  # @return [String]
3122
3113
  attr_accessor :name
3123
3114
 
3124
- # The organizational unit of this shared drive. This field is only populated on
3125
- # drives.list responses when the useDomainAdminAccess parameter is set to true.
3115
+ # The organizational unit of this shared drive. This field is only populated on `
3116
+ # drives.list` responses when the `useDomainAdminAccess` parameter is set to `
3117
+ # true`.
3126
3118
  # Corresponds to the JSON property `orgUnitId`
3127
3119
  # @return [String]
3128
3120
  attr_accessor :org_unit_id
@@ -3134,11 +3126,11 @@ module Google
3134
3126
  attr_accessor :restrictions
3135
3127
 
3136
3128
  # The ID of the theme from which the background image and color will be set. The
3137
- # set of possible teamDriveThemes can be retrieved from a drive.about.get
3138
- # response. When not specified on a drive.teamdrives.create request, a random
3129
+ # set of possible `teamDriveThemes` can be retrieved from a `drive.about.get`
3130
+ # response. When not specified on a `drive.teamdrives.create` request, a random
3139
3131
  # theme is chosen from which the background image and color are set. This is a
3140
- # write-only field; it can only be set on requests that don't set colorRgb or
3141
- # backgroundImageFile.
3132
+ # write-only field; it can only be set on requests that don't set `colorRgb` or `
3133
+ # backgroundImageFile`.
3142
3134
  # Corresponds to the JSON property `themeId`
3143
3135
  # @return [String]
3144
3136
  attr_accessor :theme_id
@@ -3163,9 +3155,9 @@ module Google
3163
3155
  end
3164
3156
 
3165
3157
  # An image file and cropping parameters from which a background image for this
3166
- # Team Drive is set. This is a write only field; it can only be set on drive.
3167
- # teamdrives.update requests that don't set themeId. When specified, all fields
3168
- # of the backgroundImageFile must be set.
3158
+ # Team Drive is set. This is a write only field; it can only be set on `drive.
3159
+ # teamdrives.update` requests that don't set `themeId`. When specified, all
3160
+ # fields of the `backgroundImageFile` must be set.
3169
3161
  class BackgroundImageFile
3170
3162
  include Google::Apis::Core::Hashable
3171
3163
 
@@ -3222,22 +3214,22 @@ module Google
3222
3214
  attr_accessor :can_add_children
3223
3215
  alias_method :can_add_children?, :can_add_children
3224
3216
 
3225
- # Whether the current user can change the copyRequiresWriterPermission
3217
+ # Whether the current user can change the `copyRequiresWriterPermission`
3226
3218
  # restriction of this Team Drive.
3227
3219
  # Corresponds to the JSON property `canChangeCopyRequiresWriterPermissionRestriction`
3228
3220
  # @return [Boolean]
3229
3221
  attr_accessor :can_change_copy_requires_writer_permission_restriction
3230
3222
  alias_method :can_change_copy_requires_writer_permission_restriction?, :can_change_copy_requires_writer_permission_restriction
3231
3223
 
3232
- # Whether the current user can change the domainUsersOnly restriction of this
3224
+ # Whether the current user can change the `domainUsersOnly` restriction of this
3233
3225
  # Team Drive.
3234
3226
  # Corresponds to the JSON property `canChangeDomainUsersOnlyRestriction`
3235
3227
  # @return [Boolean]
3236
3228
  attr_accessor :can_change_domain_users_only_restriction
3237
3229
  alias_method :can_change_domain_users_only_restriction?, :can_change_domain_users_only_restriction
3238
3230
 
3239
- # Whether the current user can change the
3240
- # sharingFoldersRequiresOrganizerPermission restriction of this Team Drive.
3231
+ # Whether the current user can change the `
3232
+ # sharingFoldersRequiresOrganizerPermission` restriction of this Team Drive.
3241
3233
  # Corresponds to the JSON property `canChangeSharingFoldersRequiresOrganizerPermissionRestriction`
3242
3234
  # @return [Boolean]
3243
3235
  attr_accessor :can_change_sharing_folders_requires_organizer_permission_restriction
@@ -3249,7 +3241,7 @@ module Google
3249
3241
  attr_accessor :can_change_team_drive_background
3250
3242
  alias_method :can_change_team_drive_background?, :can_change_team_drive_background
3251
3243
 
3252
- # Whether the current user can change the teamMembersOnly restriction of this
3244
+ # Whether the current user can change the `teamMembersOnly` restriction of this
3253
3245
  # Team Drive.
3254
3246
  # Corresponds to the JSON property `canChangeTeamMembersOnlyRestriction`
3255
3247
  # @return [Boolean]
@@ -3313,7 +3305,7 @@ module Google
3313
3305
  attr_accessor :can_read_revisions
3314
3306
  alias_method :can_read_revisions?, :can_read_revisions
3315
3307
 
3316
- # Deprecated - use canDeleteChildren or canTrashChildren instead.
3308
+ # Deprecated: Use `canDeleteChildren` or `canTrashChildren` instead.
3317
3309
  # Corresponds to the JSON property `canRemoveChildren`
3318
3310
  # @return [Boolean]
3319
3311
  attr_accessor :can_remove_children
@@ -3393,8 +3385,8 @@ module Google
3393
3385
 
3394
3386
  # Whether the options to copy, print, or download files inside this Team Drive,
3395
3387
  # should be disabled for readers and commenters. When this restriction is set to
3396
- # true, it will override the similarly named field to true for any file inside
3397
- # this Team Drive.
3388
+ # `true`, it will override the similarly named field to `true` for any file
3389
+ # inside this Team Drive.
3398
3390
  # Corresponds to the JSON property `copyRequiresWriterPermission`
3399
3391
  # @return [Boolean]
3400
3392
  attr_accessor :copy_requires_writer_permission
@@ -3442,8 +3434,8 @@ module Google
3442
3434
  class TeamDriveList
3443
3435
  include Google::Apis::Core::Hashable
3444
3436
 
3445
- # Identifies what kind of resource this is. Value: the fixed string "drive#
3446
- # teamDriveList".
3437
+ # Identifies what kind of resource this is. Value: the fixed string `"drive#
3438
+ # teamDriveList"`.
3447
3439
  # Corresponds to the JSON property `kind`
3448
3440
  # @return [String]
3449
3441
  attr_accessor :kind
@@ -3478,34 +3470,35 @@ module Google
3478
3470
  class User
3479
3471
  include Google::Apis::Core::Hashable
3480
3472
 
3481
- # A plain text displayable name for this user.
3473
+ # Output only. A plain text displayable name for this user.
3482
3474
  # Corresponds to the JSON property `displayName`
3483
3475
  # @return [String]
3484
3476
  attr_accessor :display_name
3485
3477
 
3486
- # The email address of the user. This may not be present in certain contexts if
3487
- # the user has not made their email address visible to the requester.
3478
+ # Output only. The email address of the user. This may not be present in certain
3479
+ # contexts if the user has not made their email address visible to the requester.
3488
3480
  # Corresponds to the JSON property `emailAddress`
3489
3481
  # @return [String]
3490
3482
  attr_accessor :email_address
3491
3483
 
3492
- # Identifies what kind of resource this is. Value: the fixed string "drive#user".
3484
+ # Output only. Identifies what kind of resource this is. Value: the fixed string
3485
+ # `"drive#user"`.
3493
3486
  # Corresponds to the JSON property `kind`
3494
3487
  # @return [String]
3495
3488
  attr_accessor :kind
3496
3489
 
3497
- # Whether this user is the requesting user.
3490
+ # Output only. Whether this user is the requesting user.
3498
3491
  # Corresponds to the JSON property `me`
3499
3492
  # @return [Boolean]
3500
3493
  attr_accessor :me
3501
3494
  alias_method :me?, :me
3502
3495
 
3503
- # The user's ID as visible in Permission resources.
3496
+ # Output only. The user's ID as visible in Permission resources.
3504
3497
  # Corresponds to the JSON property `permissionId`
3505
3498
  # @return [String]
3506
3499
  attr_accessor :permission_id
3507
3500
 
3508
- # A link to the user's profile photo, if available.
3501
+ # Output only. A link to the user's profile photo, if available.
3509
3502
  # Corresponds to the JSON property `photoLink`
3510
3503
  # @return [String]
3511
3504
  attr_accessor :photo_link