google-apis-drive_v3 0.39.0 → 0.40.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,26 @@ 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.
1350
1359
  # Corresponds to the JSON property `thumbnailLink`
1351
1360
  # @return [String]
1352
1361
  attr_accessor :thumbnail_link
1353
1362
 
1354
- # The thumbnail version for use in thumbnail cache invalidation.
1363
+ # Output only. The thumbnail version for use in thumbnail cache invalidation.
1355
1364
  # Corresponds to the JSON property `thumbnailVersion`
1356
1365
  # @return [Fixnum]
1357
1366
  attr_accessor :thumbnail_version
1358
1367
 
1359
1368
  # 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.
1369
+ # folder. Only the owner may trash a file, and other users cannot see files in
1370
+ # the owner's trash.
1364
1371
  # Corresponds to the JSON property `trashed`
1365
1372
  # @return [Boolean]
1366
1373
  attr_accessor :trashed
@@ -1377,47 +1384,49 @@ module Google
1377
1384
  # @return [Google::Apis::DriveV3::User]
1378
1385
  attr_accessor :trashing_user
1379
1386
 
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.
1387
+ # Output only. A monotonically increasing version number for the file. This
1388
+ # reflects every change made to the file on the server, even those not visible
1389
+ # to the user.
1382
1390
  # Corresponds to the JSON property `version`
1383
1391
  # @return [Fixnum]
1384
1392
  attr_accessor :version
1385
1393
 
1386
- # Additional metadata about video media. This might not be available immediately
1387
- # upon upload.
1394
+ # Output only. Additional metadata about video media. This may not be available
1395
+ # immediately upon upload.
1388
1396
  # Corresponds to the JSON property `videoMediaMetadata`
1389
1397
  # @return [Google::Apis::DriveV3::File::VideoMediaMetadata]
1390
1398
  attr_accessor :video_media_metadata
1391
1399
 
1392
- # Whether this user has viewed the file.
1400
+ # Output only. Whether the file has been viewed by this user.
1393
1401
  # Corresponds to the JSON property `viewedByMe`
1394
1402
  # @return [Boolean]
1395
1403
  attr_accessor :viewed_by_me
1396
1404
  alias_method :viewed_by_me?, :viewed_by_me
1397
1405
 
1398
- # The last time the user viewed the file (RFC 3339 date-time).
1406
+ # The last time the file was viewed by the user (RFC 3339 date-time).
1399
1407
  # Corresponds to the JSON property `viewedByMeTime`
1400
1408
  # @return [DateTime]
1401
1409
  attr_accessor :viewed_by_me_time
1402
1410
 
1403
- # Deprecated - use copyRequiresWriterPermission instead.
1411
+ # Deprecated: Use `copyRequiresWriterPermission` instead.
1404
1412
  # Corresponds to the JSON property `viewersCanCopyContent`
1405
1413
  # @return [Boolean]
1406
1414
  attr_accessor :viewers_can_copy_content
1407
1415
  alias_method :viewers_can_copy_content?, :viewers_can_copy_content
1408
1416
 
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.
1417
+ # Output only. A link for downloading the content of the file in a browser. This
1418
+ # is only available for files with binary content in Google Drive.
1411
1419
  # Corresponds to the JSON property `webContentLink`
1412
1420
  # @return [String]
1413
1421
  attr_accessor :web_content_link
1414
1422
 
1415
- # A link for opening the file in a relevant Google editor or viewer in a browser.
1423
+ # Output only. A link for opening the file in a relevant Google editor or viewer
1424
+ # in a browser.
1416
1425
  # Corresponds to the JSON property `webViewLink`
1417
1426
  # @return [String]
1418
1427
  attr_accessor :web_view_link
1419
1428
 
1420
- # Whether users with only writer permission can modify the file's permissions.
1429
+ # Whether users with only `writer` permission can modify the file's permissions.
1421
1430
  # Not populated for items in shared drives.
1422
1431
  # Corresponds to the JSON property `writersCanShare`
1423
1432
  # @return [Boolean]
@@ -1494,264 +1503,270 @@ module Google
1494
1503
  @writers_can_share = args[:writers_can_share] if args.key?(:writers_can_share)
1495
1504
  end
1496
1505
 
1497
- # Capabilities the current user has on this file. Each capability corresponds to
1498
- # a fine-grained action that a user can take.
1506
+ # Output only. Capabilities the current user has on this file. Each capability
1507
+ # corresponds to a fine-grained action that a user may take.
1499
1508
  class Capabilities
1500
1509
  include Google::Apis::Core::Hashable
1501
1510
 
1502
- # Whether the current user is the pending owner of the file. Not populated for
1503
- # shared drive files.
1511
+ # Output only. Whether the current user is the pending owner of the file. Not
1512
+ # populated for shared drive files.
1504
1513
  # Corresponds to the JSON property `canAcceptOwnership`
1505
1514
  # @return [Boolean]
1506
1515
  attr_accessor :can_accept_ownership
1507
1516
  alias_method :can_accept_ownership?, :can_accept_ownership
1508
1517
 
1509
- # Whether the current user can add children to this folder. This is always false
1510
- # when the item isn't a folder.
1518
+ # Output only. Whether the current user can add children to this folder. This is
1519
+ # always false when the item is not a folder.
1511
1520
  # Corresponds to the JSON property `canAddChildren`
1512
1521
  # @return [Boolean]
1513
1522
  attr_accessor :can_add_children
1514
1523
  alias_method :can_add_children?, :can_add_children
1515
1524
 
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.
1525
+ # Output only. Whether the current user can add a folder from another drive (
1526
+ # different shared drive or My Drive) to this folder. This is false when the
1527
+ # item is not a folder. Only populated for items in shared drives.
1519
1528
  # Corresponds to the JSON property `canAddFolderFromAnotherDrive`
1520
1529
  # @return [Boolean]
1521
1530
  attr_accessor :can_add_folder_from_another_drive
1522
1531
  alias_method :can_add_folder_from_another_drive?, :can_add_folder_from_another_drive
1523
1532
 
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.
1533
+ # Output only. Whether the current user can add a parent for the item without
1534
+ # removing an existing parent in the same request. Not populated for shared
1535
+ # drive files.
1526
1536
  # Corresponds to the JSON property `canAddMyDriveParent`
1527
1537
  # @return [Boolean]
1528
1538
  attr_accessor :can_add_my_drive_parent
1529
1539
  alias_method :can_add_my_drive_parent?, :can_add_my_drive_parent
1530
1540
 
1531
- # Whether the current user can change the copyRequiresWriterPermission
1532
- # restriction of this file.
1541
+ # Output only. Whether the current user can change the `
1542
+ # copyRequiresWriterPermission` restriction of this file.
1533
1543
  # Corresponds to the JSON property `canChangeCopyRequiresWriterPermission`
1534
1544
  # @return [Boolean]
1535
1545
  attr_accessor :can_change_copy_requires_writer_permission
1536
1546
  alias_method :can_change_copy_requires_writer_permission?, :can_change_copy_requires_writer_permission
1537
1547
 
1538
- # Whether the current user can change the securityUpdateEnabled field on link
1539
- # share metadata.
1548
+ # Output only. Whether the current user can change the securityUpdateEnabled
1549
+ # field on link share metadata.
1540
1550
  # Corresponds to the JSON property `canChangeSecurityUpdateEnabled`
1541
1551
  # @return [Boolean]
1542
1552
  attr_accessor :can_change_security_update_enabled
1543
1553
  alias_method :can_change_security_update_enabled?, :can_change_security_update_enabled
1544
1554
 
1545
- # Deprecated
1555
+ # Deprecated: Output only.
1546
1556
  # Corresponds to the JSON property `canChangeViewersCanCopyContent`
1547
1557
  # @return [Boolean]
1548
1558
  attr_accessor :can_change_viewers_can_copy_content
1549
1559
  alias_method :can_change_viewers_can_copy_content?, :can_change_viewers_can_copy_content
1550
1560
 
1551
- # Whether the current user can comment on this file.
1561
+ # Output only. Whether the current user can comment on this file.
1552
1562
  # Corresponds to the JSON property `canComment`
1553
1563
  # @return [Boolean]
1554
1564
  attr_accessor :can_comment
1555
1565
  alias_method :can_comment?, :can_comment
1556
1566
 
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.
1567
+ # Output only. Whether the current user can copy this file. For an item in a
1568
+ # shared drive, whether the current user can copy non-folder descendants of this
1569
+ # item, or this item itself if it is not a folder.
1560
1570
  # Corresponds to the JSON property `canCopy`
1561
1571
  # @return [Boolean]
1562
1572
  attr_accessor :can_copy
1563
1573
  alias_method :can_copy?, :can_copy
1564
1574
 
1565
- # Whether the current user can delete this file.
1575
+ # Output only. Whether the current user can delete this file.
1566
1576
  # Corresponds to the JSON property `canDelete`
1567
1577
  # @return [Boolean]
1568
1578
  attr_accessor :can_delete
1569
1579
  alias_method :can_delete?, :can_delete
1570
1580
 
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.
1581
+ # Output only. Whether the current user can delete children of this folder. This
1582
+ # is false when the item is not a folder. Only populated for items in shared
1583
+ # drives.
1573
1584
  # Corresponds to the JSON property `canDeleteChildren`
1574
1585
  # @return [Boolean]
1575
1586
  attr_accessor :can_delete_children
1576
1587
  alias_method :can_delete_children?, :can_delete_children
1577
1588
 
1578
- # Whether the current user can download this file.
1589
+ # Output only. Whether the current user can download this file.
1579
1590
  # Corresponds to the JSON property `canDownload`
1580
1591
  # @return [Boolean]
1581
1592
  attr_accessor :can_download
1582
1593
  alias_method :can_download?, :can_download
1583
1594
 
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.
1595
+ # Output only. Whether the current user can edit this file. Other factors may
1596
+ # limit the type of changes a user can make to a file. For example, see `
1597
+ # canChangeCopyRequiresWriterPermission` or `canModifyContent`.
1587
1598
  # Corresponds to the JSON property `canEdit`
1588
1599
  # @return [Boolean]
1589
1600
  attr_accessor :can_edit
1590
1601
  alias_method :can_edit?, :can_edit
1591
1602
 
1592
- # Whether the current user can list the children of this folder. This is always
1593
- # false when the item isn't a folder.
1603
+ # Output only. Whether the current user can list the children of this folder.
1604
+ # This is always false when the item is not a folder.
1594
1605
  # Corresponds to the JSON property `canListChildren`
1595
1606
  # @return [Boolean]
1596
1607
  attr_accessor :can_list_children
1597
1608
  alias_method :can_list_children?, :can_list_children
1598
1609
 
1599
- # Whether the current user can modify the content of this file.
1610
+ # Output only. Whether the current user can modify the content of this file.
1600
1611
  # Corresponds to the JSON property `canModifyContent`
1601
1612
  # @return [Boolean]
1602
1613
  attr_accessor :can_modify_content
1603
1614
  alias_method :can_modify_content?, :can_modify_content
1604
1615
 
1605
- # Whether the current user can modify restrictions on content of this file.
1616
+ # Output only. Whether the current user can modify restrictions on content of
1617
+ # this file.
1606
1618
  # Corresponds to the JSON property `canModifyContentRestriction`
1607
1619
  # @return [Boolean]
1608
1620
  attr_accessor :can_modify_content_restriction
1609
1621
  alias_method :can_modify_content_restriction?, :can_modify_content_restriction
1610
1622
 
1611
- # Whether the current user can modify the labels on this file.
1623
+ # Output only. Whether the current user can modify the labels on the file.
1612
1624
  # Corresponds to the JSON property `canModifyLabels`
1613
1625
  # @return [Boolean]
1614
1626
  attr_accessor :can_modify_labels
1615
1627
  alias_method :can_modify_labels?, :can_modify_labels
1616
1628
 
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.
1629
+ # Output only. Whether the current user can move children of this folder outside
1630
+ # of the shared drive. This is false when the item is not a folder. Only
1631
+ # populated for items in shared drives.
1620
1632
  # Corresponds to the JSON property `canMoveChildrenOutOfDrive`
1621
1633
  # @return [Boolean]
1622
1634
  attr_accessor :can_move_children_out_of_drive
1623
1635
  alias_method :can_move_children_out_of_drive?, :can_move_children_out_of_drive
1624
1636
 
1625
- # Deprecated - use canMoveChildrenOutOfDrive instead.
1637
+ # Deprecated: Output only. Use `canMoveChildrenOutOfDrive` instead.
1626
1638
  # Corresponds to the JSON property `canMoveChildrenOutOfTeamDrive`
1627
1639
  # @return [Boolean]
1628
1640
  attr_accessor :can_move_children_out_of_team_drive
1629
1641
  alias_method :can_move_children_out_of_team_drive?, :can_move_children_out_of_team_drive
1630
1642
 
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.
1643
+ # Output only. Whether the current user can move children of this folder within
1644
+ # this drive. This is false when the item is not a folder. Note that a request
1645
+ # to move the child may still fail depending on the current user's access to the
1646
+ # child and to the destination folder.
1635
1647
  # Corresponds to the JSON property `canMoveChildrenWithinDrive`
1636
1648
  # @return [Boolean]
1637
1649
  attr_accessor :can_move_children_within_drive
1638
1650
  alias_method :can_move_children_within_drive?, :can_move_children_within_drive
1639
1651
 
1640
- # Deprecated - use canMoveChildrenWithinDrive instead.
1652
+ # Deprecated: Output only. Use `canMoveChildrenWithinDrive` instead.
1641
1653
  # Corresponds to the JSON property `canMoveChildrenWithinTeamDrive`
1642
1654
  # @return [Boolean]
1643
1655
  attr_accessor :can_move_children_within_team_drive
1644
1656
  alias_method :can_move_children_within_team_drive?, :can_move_children_within_team_drive
1645
1657
 
1646
- # Deprecated - use canMoveItemOutOfDrive instead.
1658
+ # Deprecated: Output only. Use `canMoveItemOutOfDrive` instead.
1647
1659
  # Corresponds to the JSON property `canMoveItemIntoTeamDrive`
1648
1660
  # @return [Boolean]
1649
1661
  attr_accessor :can_move_item_into_team_drive
1650
1662
  alias_method :can_move_item_into_team_drive?, :can_move_item_into_team_drive
1651
1663
 
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.
1664
+ # Output only. Whether the current user can move this item outside of this drive
1665
+ # by changing its parent. Note that a request to change the parent of the item
1666
+ # may still fail depending on the new parent that is being added.
1655
1667
  # Corresponds to the JSON property `canMoveItemOutOfDrive`
1656
1668
  # @return [Boolean]
1657
1669
  attr_accessor :can_move_item_out_of_drive
1658
1670
  alias_method :can_move_item_out_of_drive?, :can_move_item_out_of_drive
1659
1671
 
1660
- # Deprecated - use canMoveItemOutOfDrive instead.
1672
+ # Deprecated: Output only. Use `canMoveItemOutOfDrive` instead.
1661
1673
  # Corresponds to the JSON property `canMoveItemOutOfTeamDrive`
1662
1674
  # @return [Boolean]
1663
1675
  attr_accessor :can_move_item_out_of_team_drive
1664
1676
  alias_method :can_move_item_out_of_team_drive?, :can_move_item_out_of_team_drive
1665
1677
 
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.
1678
+ # Output only. Whether the current user can move this item within this drive.
1679
+ # Note that a request to change the parent of the item may still fail depending
1680
+ # on the new parent that is being added and the parent that is being removed.
1670
1681
  # Corresponds to the JSON property `canMoveItemWithinDrive`
1671
1682
  # @return [Boolean]
1672
1683
  attr_accessor :can_move_item_within_drive
1673
1684
  alias_method :can_move_item_within_drive?, :can_move_item_within_drive
1674
1685
 
1675
- # Deprecated - use canMoveItemWithinDrive instead.
1686
+ # Deprecated: Output only. Use `canMoveItemWithinDrive` instead.
1676
1687
  # Corresponds to the JSON property `canMoveItemWithinTeamDrive`
1677
1688
  # @return [Boolean]
1678
1689
  attr_accessor :can_move_item_within_team_drive
1679
1690
  alias_method :can_move_item_within_team_drive?, :can_move_item_within_team_drive
1680
1691
 
1681
- # Deprecated - use canMoveItemWithinDrive or canMoveItemOutOfDrive instead.
1692
+ # Deprecated: Output only. Use `canMoveItemWithinDrive` or `
1693
+ # canMoveItemOutOfDrive` instead.
1682
1694
  # Corresponds to the JSON property `canMoveTeamDriveItem`
1683
1695
  # @return [Boolean]
1684
1696
  attr_accessor :can_move_team_drive_item
1685
1697
  alias_method :can_move_team_drive_item?, :can_move_team_drive_item
1686
1698
 
1687
- # Whether the current user can read the shared drive to which this file belongs.
1688
- # Only populated for items in shared drives.
1699
+ # Output only. Whether the current user can read the shared drive to which this
1700
+ # file belongs. Only populated for items in shared drives.
1689
1701
  # Corresponds to the JSON property `canReadDrive`
1690
1702
  # @return [Boolean]
1691
1703
  attr_accessor :can_read_drive
1692
1704
  alias_method :can_read_drive?, :can_read_drive
1693
1705
 
1694
- # Whether the current user can read the labels on this file.
1706
+ # Output only. Whether the current user can read the labels on the file.
1695
1707
  # Corresponds to the JSON property `canReadLabels`
1696
1708
  # @return [Boolean]
1697
1709
  attr_accessor :can_read_labels
1698
1710
  alias_method :can_read_labels?, :can_read_labels
1699
1711
 
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.
1712
+ # Output only. Whether the current user can read the revisions resource of this
1713
+ # file. For a shared drive item, whether revisions of non-folder descendants of
1714
+ # this item, or this item itself if it is not a folder, can be read.
1703
1715
  # Corresponds to the JSON property `canReadRevisions`
1704
1716
  # @return [Boolean]
1705
1717
  attr_accessor :can_read_revisions
1706
1718
  alias_method :can_read_revisions?, :can_read_revisions
1707
1719
 
1708
- # Deprecated - use canReadDrive instead.
1720
+ # Deprecated: Output only. Use `canReadDrive` instead.
1709
1721
  # Corresponds to the JSON property `canReadTeamDrive`
1710
1722
  # @return [Boolean]
1711
1723
  attr_accessor :can_read_team_drive
1712
1724
  alias_method :can_read_team_drive?, :can_read_team_drive
1713
1725
 
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.
1726
+ # Output only. Whether the current user can remove children from this folder.
1727
+ # This is always false when the item is not a folder. For a folder in a shared
1728
+ # drive, use `canDeleteChildren` or `canTrashChildren` instead.
1717
1729
  # Corresponds to the JSON property `canRemoveChildren`
1718
1730
  # @return [Boolean]
1719
1731
  attr_accessor :can_remove_children
1720
1732
  alias_method :can_remove_children?, :can_remove_children
1721
1733
 
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.
1734
+ # Output only. Whether the current user can remove a parent from the item
1735
+ # without adding another parent in the same request. Not populated for shared
1736
+ # drive files.
1724
1737
  # Corresponds to the JSON property `canRemoveMyDriveParent`
1725
1738
  # @return [Boolean]
1726
1739
  attr_accessor :can_remove_my_drive_parent
1727
1740
  alias_method :can_remove_my_drive_parent?, :can_remove_my_drive_parent
1728
1741
 
1729
- # Whether the current user can rename this file.
1742
+ # Output only. Whether the current user can rename this file.
1730
1743
  # Corresponds to the JSON property `canRename`
1731
1744
  # @return [Boolean]
1732
1745
  attr_accessor :can_rename
1733
1746
  alias_method :can_rename?, :can_rename
1734
1747
 
1735
- # Whether the current user can modify the sharing settings for this file.
1748
+ # Output only. Whether the current user can modify the sharing settings for this
1749
+ # file.
1736
1750
  # Corresponds to the JSON property `canShare`
1737
1751
  # @return [Boolean]
1738
1752
  attr_accessor :can_share
1739
1753
  alias_method :can_share?, :can_share
1740
1754
 
1741
- # Whether the current user can move this file to trash.
1755
+ # Output only. Whether the current user can move this file to trash.
1742
1756
  # Corresponds to the JSON property `canTrash`
1743
1757
  # @return [Boolean]
1744
1758
  attr_accessor :can_trash
1745
1759
  alias_method :can_trash?, :can_trash
1746
1760
 
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.
1761
+ # Output only. Whether the current user can trash children of this folder. This
1762
+ # is false when the item is not a folder. Only populated for items in shared
1763
+ # drives.
1749
1764
  # Corresponds to the JSON property `canTrashChildren`
1750
1765
  # @return [Boolean]
1751
1766
  attr_accessor :can_trash_children
1752
1767
  alias_method :can_trash_children?, :can_trash_children
1753
1768
 
1754
- # Whether the current user can restore this file from trash.
1769
+ # Output only. Whether the current user can restore this file from trash.
1755
1770
  # Corresponds to the JSON property `canUntrash`
1756
1771
  # @return [Boolean]
1757
1772
  attr_accessor :can_untrash
@@ -1810,8 +1825,7 @@ module Google
1810
1825
  include Google::Apis::Core::Hashable
1811
1826
 
1812
1827
  # 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.
1828
+ # to 128KB in length and may contain HTML elements.
1815
1829
  # Corresponds to the JSON property `indexableText`
1816
1830
  # @return [String]
1817
1831
  attr_accessor :indexable_text
@@ -1860,114 +1874,114 @@ module Google
1860
1874
  end
1861
1875
  end
1862
1876
 
1863
- # Additional metadata about image media, if available.
1877
+ # Output only. Additional metadata about image media, if available.
1864
1878
  class ImageMediaMetadata
1865
1879
  include Google::Apis::Core::Hashable
1866
1880
 
1867
- # The aperture used to create the photo (f-number).
1881
+ # Output only. The aperture used to create the photo (f-number).
1868
1882
  # Corresponds to the JSON property `aperture`
1869
1883
  # @return [Float]
1870
1884
  attr_accessor :aperture
1871
1885
 
1872
- # The make of the camera used to create the photo.
1886
+ # Output only. The make of the camera used to create the photo.
1873
1887
  # Corresponds to the JSON property `cameraMake`
1874
1888
  # @return [String]
1875
1889
  attr_accessor :camera_make
1876
1890
 
1877
- # The model of the camera used to create the photo.
1891
+ # Output only. The model of the camera used to create the photo.
1878
1892
  # Corresponds to the JSON property `cameraModel`
1879
1893
  # @return [String]
1880
1894
  attr_accessor :camera_model
1881
1895
 
1882
- # The color space of the photo.
1896
+ # Output only. The color space of the photo.
1883
1897
  # Corresponds to the JSON property `colorSpace`
1884
1898
  # @return [String]
1885
1899
  attr_accessor :color_space
1886
1900
 
1887
- # The exposure bias of the photo (APEX value).
1901
+ # Output only. The exposure bias of the photo (APEX value).
1888
1902
  # Corresponds to the JSON property `exposureBias`
1889
1903
  # @return [Float]
1890
1904
  attr_accessor :exposure_bias
1891
1905
 
1892
- # The exposure mode used to create the photo.
1906
+ # Output only. The exposure mode used to create the photo.
1893
1907
  # Corresponds to the JSON property `exposureMode`
1894
1908
  # @return [String]
1895
1909
  attr_accessor :exposure_mode
1896
1910
 
1897
- # The length of the exposure, in seconds.
1911
+ # Output only. The length of the exposure, in seconds.
1898
1912
  # Corresponds to the JSON property `exposureTime`
1899
1913
  # @return [Float]
1900
1914
  attr_accessor :exposure_time
1901
1915
 
1902
- # Whether a flash was used to create the photo.
1916
+ # Output only. Whether a flash was used to create the photo.
1903
1917
  # Corresponds to the JSON property `flashUsed`
1904
1918
  # @return [Boolean]
1905
1919
  attr_accessor :flash_used
1906
1920
  alias_method :flash_used?, :flash_used
1907
1921
 
1908
- # The focal length used to create the photo, in millimeters.
1922
+ # Output only. The focal length used to create the photo, in millimeters.
1909
1923
  # Corresponds to the JSON property `focalLength`
1910
1924
  # @return [Float]
1911
1925
  attr_accessor :focal_length
1912
1926
 
1913
- # The height of the image in pixels.
1927
+ # Output only. The height of the image in pixels.
1914
1928
  # Corresponds to the JSON property `height`
1915
1929
  # @return [Fixnum]
1916
1930
  attr_accessor :height
1917
1931
 
1918
- # The ISO speed used to create the photo.
1932
+ # Output only. The ISO speed used to create the photo.
1919
1933
  # Corresponds to the JSON property `isoSpeed`
1920
1934
  # @return [Fixnum]
1921
1935
  attr_accessor :iso_speed
1922
1936
 
1923
- # The lens used to create the photo.
1937
+ # Output only. The lens used to create the photo.
1924
1938
  # Corresponds to the JSON property `lens`
1925
1939
  # @return [String]
1926
1940
  attr_accessor :lens
1927
1941
 
1928
- # Geographic location information stored in the image.
1942
+ # Output only. Geographic location information stored in the image.
1929
1943
  # Corresponds to the JSON property `location`
1930
1944
  # @return [Google::Apis::DriveV3::File::ImageMediaMetadata::Location]
1931
1945
  attr_accessor :location
1932
1946
 
1933
- # The smallest f-number of the lens at the focal length used to create the photo
1934
- # (APEX value).
1947
+ # Output only. The smallest f-number of the lens at the focal length used to
1948
+ # create the photo (APEX value).
1935
1949
  # Corresponds to the JSON property `maxApertureValue`
1936
1950
  # @return [Float]
1937
1951
  attr_accessor :max_aperture_value
1938
1952
 
1939
- # The metering mode used to create the photo.
1953
+ # Output only. The metering mode used to create the photo.
1940
1954
  # Corresponds to the JSON property `meteringMode`
1941
1955
  # @return [String]
1942
1956
  attr_accessor :metering_mode
1943
1957
 
1944
- # The number of clockwise 90-degree rotations applied from the image's original
1945
- # orientation.
1958
+ # Output only. The number of clockwise 90 degree rotations applied from the
1959
+ # image's original orientation.
1946
1960
  # Corresponds to the JSON property `rotation`
1947
1961
  # @return [Fixnum]
1948
1962
  attr_accessor :rotation
1949
1963
 
1950
- # The type of sensor used to create the photo.
1964
+ # Output only. The type of sensor used to create the photo.
1951
1965
  # Corresponds to the JSON property `sensor`
1952
1966
  # @return [String]
1953
1967
  attr_accessor :sensor
1954
1968
 
1955
- # The distance to the subject of the photo, in meters.
1969
+ # Output only. The distance to the subject of the photo, in meters.
1956
1970
  # Corresponds to the JSON property `subjectDistance`
1957
1971
  # @return [Fixnum]
1958
1972
  attr_accessor :subject_distance
1959
1973
 
1960
- # The date and time the photo was taken (EXIF DateTime).
1974
+ # Output only. The date and time the photo was taken (EXIF DateTime).
1961
1975
  # Corresponds to the JSON property `time`
1962
1976
  # @return [String]
1963
1977
  attr_accessor :time
1964
1978
 
1965
- # The white balance mode used to create the photo.
1979
+ # Output only. The white balance mode used to create the photo.
1966
1980
  # Corresponds to the JSON property `whiteBalance`
1967
1981
  # @return [String]
1968
1982
  attr_accessor :white_balance
1969
1983
 
1970
- # The width of the image in pixels.
1984
+ # Output only. The width of the image in pixels.
1971
1985
  # Corresponds to the JSON property `width`
1972
1986
  # @return [Fixnum]
1973
1987
  attr_accessor :width
@@ -2001,21 +2015,21 @@ module Google
2001
2015
  @width = args[:width] if args.key?(:width)
2002
2016
  end
2003
2017
 
2004
- # Geographic location information stored in the image.
2018
+ # Output only. Geographic location information stored in the image.
2005
2019
  class Location
2006
2020
  include Google::Apis::Core::Hashable
2007
2021
 
2008
- # The altitude stored in the image.
2022
+ # Output only. The altitude stored in the image.
2009
2023
  # Corresponds to the JSON property `altitude`
2010
2024
  # @return [Float]
2011
2025
  attr_accessor :altitude
2012
2026
 
2013
- # The latitude stored in the image.
2027
+ # Output only. The latitude stored in the image.
2014
2028
  # Corresponds to the JSON property `latitude`
2015
2029
  # @return [Float]
2016
2030
  attr_accessor :latitude
2017
2031
 
2018
- # The longitude stored in the image.
2032
+ # Output only. The longitude stored in the image.
2019
2033
  # Corresponds to the JSON property `longitude`
2020
2034
  # @return [Float]
2021
2035
  attr_accessor :longitude
@@ -2033,12 +2047,12 @@ module Google
2033
2047
  end
2034
2048
  end
2035
2049
 
2036
- # An overview of the labels on the file.
2050
+ # Output only. An overview of the labels on the file.
2037
2051
  class LabelInfo
2038
2052
  include Google::Apis::Core::Hashable
2039
2053
 
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.
2054
+ # Output only. The set of labels on the file as requested by the label IDs in
2055
+ # the `includeLabels` parameter. By default, no labels are returned.
2042
2056
  # Corresponds to the JSON property `labels`
2043
2057
  # @return [Array<Google::Apis::DriveV3::Label>]
2044
2058
  attr_accessor :labels
@@ -2058,13 +2072,13 @@ module Google
2058
2072
  class LinkShareMetadata
2059
2073
  include Google::Apis::Core::Hashable
2060
2074
 
2061
- # Whether the file is eligible for security update.
2075
+ # Output only. Whether the file is eligible for security update.
2062
2076
  # Corresponds to the JSON property `securityUpdateEligible`
2063
2077
  # @return [Boolean]
2064
2078
  attr_accessor :security_update_eligible
2065
2079
  alias_method :security_update_eligible?, :security_update_eligible
2066
2080
 
2067
- # Whether the security update is enabled for this file.
2081
+ # Output only. Whether the security update is enabled for this file.
2068
2082
  # Corresponds to the JSON property `securityUpdateEnabled`
2069
2083
  # @return [Boolean]
2070
2084
  attr_accessor :security_update_enabled
@@ -2082,7 +2096,7 @@ module Google
2082
2096
  end
2083
2097
 
2084
2098
  # Shortcut file details. Only populated for shortcut files, which have the
2085
- # mimeType field set to application/vnd.google-apps.shortcut.
2099
+ # mimeType field set to `application/vnd.google-apps.shortcut`.
2086
2100
  class ShortcutDetails
2087
2101
  include Google::Apis::Core::Hashable
2088
2102
 
@@ -2091,14 +2105,14 @@ module Google
2091
2105
  # @return [String]
2092
2106
  attr_accessor :target_id
2093
2107
 
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.
2108
+ # Output only. The MIME type of the file that this shortcut points to. The value
2109
+ # of this field is a snapshot of the target's MIME type, captured when the
2110
+ # shortcut is created.
2097
2111
  # Corresponds to the JSON property `targetMimeType`
2098
2112
  # @return [String]
2099
2113
  attr_accessor :target_mime_type
2100
2114
 
2101
- # The ResourceKey for the target file.
2115
+ # Output only. The ResourceKey for the target file.
2102
2116
  # Corresponds to the JSON property `targetResourceKey`
2103
2117
  # @return [String]
2104
2118
  attr_accessor :target_resource_key
@@ -2115,22 +2129,22 @@ module Google
2115
2129
  end
2116
2130
  end
2117
2131
 
2118
- # Additional metadata about video media. This might not be available immediately
2119
- # upon upload.
2132
+ # Output only. Additional metadata about video media. This may not be available
2133
+ # immediately upon upload.
2120
2134
  class VideoMediaMetadata
2121
2135
  include Google::Apis::Core::Hashable
2122
2136
 
2123
- # The duration of the video in milliseconds.
2137
+ # Output only. The duration of the video in milliseconds.
2124
2138
  # Corresponds to the JSON property `durationMillis`
2125
2139
  # @return [Fixnum]
2126
2140
  attr_accessor :duration_millis
2127
2141
 
2128
- # The height of the video in pixels.
2142
+ # Output only. The height of the video in pixels.
2129
2143
  # Corresponds to the JSON property `height`
2130
2144
  # @return [Fixnum]
2131
2145
  attr_accessor :height
2132
2146
 
2133
- # The width of the video in pixels.
2147
+ # Output only. The width of the video in pixels.
2134
2148
  # Corresponds to the JSON property `width`
2135
2149
  # @return [Fixnum]
2136
2150
  attr_accessor :width
@@ -2159,17 +2173,17 @@ module Google
2159
2173
  attr_accessor :files
2160
2174
 
2161
2175
  # 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".
2176
+ # might be missing, since all documents were not searched. This can occur when
2177
+ # searching multiple drives with the 'allDrives' corpora, but all corpora couldn'
2178
+ # t be searched. When this happens, it's suggested that clients narrow their
2179
+ # query by choosing a different corpus such as 'user' or 'drive'.
2166
2180
  # Corresponds to the JSON property `incompleteSearch`
2167
2181
  # @return [Boolean]
2168
2182
  attr_accessor :incomplete_search
2169
2183
  alias_method :incomplete_search?, :incomplete_search
2170
2184
 
2171
- # Identifies what kind of resource this is. Value: the fixed string "drive#
2172
- # fileList".
2185
+ # Identifies what kind of resource this is. Value: the fixed string `"drive#
2186
+ # fileList"`.
2173
2187
  # Corresponds to the JSON property `kind`
2174
2188
  # @return [String]
2175
2189
  attr_accessor :kind
@@ -2204,8 +2218,8 @@ module Google
2204
2218
  # @return [Array<String>]
2205
2219
  attr_accessor :ids
2206
2220
 
2207
- # Identifies what kind of resource this is. Value: the fixed string "drive#
2208
- # generatedIds".
2221
+ # Identifies what kind of resource this is. Value: the fixed string `"drive#
2222
+ # generatedIds"`.
2209
2223
  # Corresponds to the JSON property `kind`
2210
2224
  # @return [String]
2211
2225
  attr_accessor :kind
@@ -2227,11 +2241,11 @@ module Google
2227
2241
  end
2228
2242
  end
2229
2243
 
2230
- # Representation of a label and its fields.
2244
+ # Representation of label and label fields.
2231
2245
  class Label
2232
2246
  include Google::Apis::Core::Hashable
2233
2247
 
2234
- # A map of the label's fields keyed by the field ID.
2248
+ # A map of the fields on the label, keyed by the field's ID.
2235
2249
  # Corresponds to the JSON property `fields`
2236
2250
  # @return [Hash<String,Google::Apis::DriveV3::LabelField>]
2237
2251
  attr_accessor :fields
@@ -2264,7 +2278,7 @@ module Google
2264
2278
  end
2265
2279
  end
2266
2280
 
2267
- # Representation of a label field.
2281
+ # Representation of field, which is a typed key-value pair.
2268
2282
  class LabelField
2269
2283
  include Google::Apis::Core::Hashable
2270
2284
 
@@ -2273,12 +2287,12 @@ module Google
2273
2287
  # @return [Array<Date>]
2274
2288
  attr_accessor :date_string
2275
2289
 
2276
- # The identifier of this field.
2290
+ # The identifier of this label field.
2277
2291
  # Corresponds to the JSON property `id`
2278
2292
  # @return [String]
2279
2293
  attr_accessor :id
2280
2294
 
2281
- # Only present if valueType is integer.
2295
+ # Only present if `valueType` is `integer`.
2282
2296
  # Corresponds to the JSON property `integer`
2283
2297
  # @return [Array<Fixnum>]
2284
2298
  attr_accessor :integer
@@ -2288,28 +2302,24 @@ module Google
2288
2302
  # @return [String]
2289
2303
  attr_accessor :kind
2290
2304
 
2291
- # Only present if valueType is selection.
2305
+ # Only present if `valueType` is `selection`
2292
2306
  # Corresponds to the JSON property `selection`
2293
2307
  # @return [Array<String>]
2294
2308
  attr_accessor :selection
2295
2309
 
2296
- # Only present if valueType is text.
2310
+ # Only present if `valueType` is `text`.
2297
2311
  # Corresponds to the JSON property `text`
2298
2312
  # @return [Array<String>]
2299
2313
  attr_accessor :text
2300
2314
 
2301
- # Only present if valueType is user.
2315
+ # Only present if `valueType` is `user`.
2302
2316
  # Corresponds to the JSON property `user`
2303
2317
  # @return [Array<Google::Apis::DriveV3::User>]
2304
2318
  attr_accessor :user
2305
2319
 
2306
2320
  # 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
2321
+ # are currently allowed: * `dateString` * `integer` * `selection` * `text` * `
2322
+ # user`
2313
2323
  # Corresponds to the JSON property `valueType`
2314
2324
  # @return [String]
2315
2325
  attr_accessor :value_type
@@ -2335,7 +2345,7 @@ module Google
2335
2345
  class LabelFieldModification
2336
2346
  include Google::Apis::Core::Hashable
2337
2347
 
2338
- # The ID of the Field to be modified.
2348
+ # The ID of the field to be modified.
2339
2349
  # Corresponds to the JSON property `fieldId`
2340
2350
  # @return [String]
2341
2351
  attr_accessor :field_id
@@ -2345,28 +2355,28 @@ module Google
2345
2355
  # @return [String]
2346
2356
  attr_accessor :kind
2347
2357
 
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.
2358
+ # Replaces the value of a dateString Field with these new values. The string
2359
+ # must be in the RFC 3339 full-date format: YYYY-MM-DD.
2350
2360
  # Corresponds to the JSON property `setDateValues`
2351
2361
  # @return [Array<Date>]
2352
2362
  attr_accessor :set_date_values
2353
2363
 
2354
- # Replaces an integer field with these new values.
2364
+ # Replaces the value of an `integer` field with these new values.
2355
2365
  # Corresponds to the JSON property `setIntegerValues`
2356
2366
  # @return [Array<Fixnum>]
2357
2367
  attr_accessor :set_integer_values
2358
2368
 
2359
- # Replaces a selection field with these new values.
2369
+ # Replaces a `selection` field with these new values.
2360
2370
  # Corresponds to the JSON property `setSelectionValues`
2361
2371
  # @return [Array<String>]
2362
2372
  attr_accessor :set_selection_values
2363
2373
 
2364
- # Replaces a text field with these new values.
2374
+ # Sets the value of a `text` field.
2365
2375
  # Corresponds to the JSON property `setTextValues`
2366
2376
  # @return [Array<String>]
2367
2377
  attr_accessor :set_text_values
2368
2378
 
2369
- # Replaces a user field with these new values. The values must be valid email
2379
+ # Replaces a `user` field with these new values. The values must be valid email
2370
2380
  # addresses.
2371
2381
  # Corresponds to the JSON property `setUserValues`
2372
2382
  # @return [Array<String>]
@@ -2395,7 +2405,7 @@ module Google
2395
2405
  end
2396
2406
  end
2397
2407
 
2398
- # A list of labels.
2408
+ # A list of labels applied to a file.
2399
2409
  class LabelList
2400
2410
  include Google::Apis::Core::Hashable
2401
2411
 
@@ -2470,11 +2480,11 @@ module Google
2470
2480
  end
2471
2481
 
2472
2482
  # 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.
2483
+ # modifications that will either all succeed or all fail atomically.
2474
2484
  class ModifyLabelsRequest
2475
2485
  include Google::Apis::Core::Hashable
2476
2486
 
2477
- # This is always drive#modifyLabelsRequest
2487
+ # This is always drive#modifyLabelsRequest.
2478
2488
  # Corresponds to the JSON property `kind`
2479
2489
  # @return [String]
2480
2490
  attr_accessor :kind
@@ -2521,40 +2531,36 @@ module Google
2521
2531
  end
2522
2532
  end
2523
2533
 
2524
- # A permission for a file. A permission grants a user, group, domain, or the
2534
+ # A permission for a file. A permission grants a user, group, domain or the
2525
2535
  # world access to a file or a folder hierarchy.
2526
2536
  class Permission
2527
2537
  include Google::Apis::Core::Hashable
2528
2538
 
2529
2539
  # Whether the permission allows the file to be discovered through search. This
2530
- # is only applicable for permissions of type domain or anyone.
2540
+ # is only applicable for permissions of type `domain` or `anyone`.
2531
2541
  # Corresponds to the JSON property `allowFileDiscovery`
2532
2542
  # @return [Boolean]
2533
2543
  attr_accessor :allow_file_discovery
2534
2544
  alias_method :allow_file_discovery?, :allow_file_discovery
2535
2545
 
2536
- # Whether the account associated with this permission has been deleted. This
2537
- # field only pertains to user and group permissions.
2546
+ # Output only. Whether the account associated with this permission has been
2547
+ # deleted. This field only pertains to user and group permissions.
2538
2548
  # Corresponds to the JSON property `deleted`
2539
2549
  # @return [Boolean]
2540
2550
  attr_accessor :deleted
2541
2551
  alias_method :deleted?, :deleted
2542
2552
 
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.
2553
+ # Output only. The "pretty" name of the value of the permission. The following
2554
+ # is a list of examples for each type of permission: * `user` - User's full name,
2555
+ # as defined for their Google account, such as "Joe Smith." * `group` - Name of
2556
+ # the Google Group, such as "The Company Administrators." * `domain` - String
2557
+ # domain name, such as "thecompany.com." * `anyone` - No `displayName` is
2558
+ # present.
2550
2559
  # Corresponds to the JSON property `displayName`
2551
2560
  # @return [String]
2552
2561
  attr_accessor :display_name
2553
2562
 
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."
2563
+ # The domain to which this permission refers.
2558
2564
  # Corresponds to the JSON property `domain`
2559
2565
  # @return [String]
2560
2566
  attr_accessor :domain
@@ -2565,77 +2571,68 @@ module Google
2565
2571
  attr_accessor :email_address
2566
2572
 
2567
2573
  # 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.
2574
+ # times have the following restrictions: - They can only be set on user and
2575
+ # group permissions - The time must be in the future - The time cannot be more
2576
+ # than a year in the future
2573
2577
  # Corresponds to the JSON property `expirationTime`
2574
2578
  # @return [DateTime]
2575
2579
  attr_accessor :expiration_time
2576
2580
 
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.
2581
+ # Output only. The ID of this permission. This is a unique identifier for the
2582
+ # grantee, and is published in User resources as `permissionId`. IDs should be
2583
+ # treated as opaque values.
2580
2584
  # Corresponds to the JSON property `id`
2581
2585
  # @return [String]
2582
2586
  attr_accessor :id
2583
2587
 
2584
- # Identifies what kind of resource this is. Value: the fixed string "drive#
2585
- # permission".
2588
+ # Output only. Identifies what kind of resource this is. Value: the fixed string
2589
+ # `"drive#permission"`.
2586
2590
  # Corresponds to the JSON property `kind`
2587
2591
  # @return [String]
2588
2592
  attr_accessor :kind
2589
2593
 
2590
2594
  # 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.
2595
+ # populated for `user` type permissions for files that are not in a shared drive.
2592
2596
  # Corresponds to the JSON property `pendingOwner`
2593
2597
  # @return [Boolean]
2594
2598
  attr_accessor :pending_owner
2595
2599
  alias_method :pending_owner?, :pending_owner
2596
2600
 
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.
2601
+ # Output only. Details of whether the permissions on this shared drive item are
2602
+ # inherited or directly on this item. This is an output-only field which is
2603
+ # present only for shared drive items.
2600
2604
  # Corresponds to the JSON property `permissionDetails`
2601
2605
  # @return [Array<Google::Apis::DriveV3::Permission::PermissionDetail>]
2602
2606
  attr_accessor :permission_details
2603
2607
 
2604
- # A link to the user's profile photo, if available.
2608
+ # Output only. A link to the user's profile photo, if available.
2605
2609
  # Corresponds to the JSON property `photoLink`
2606
2610
  # @return [String]
2607
2611
  attr_accessor :photo_link
2608
2612
 
2609
2613
  # 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
2614
+ # future, the following are currently allowed: * `owner` * `organizer` * `
2615
+ # fileOrganizer` * `writer` * `commenter` * `reader`
2617
2616
  # Corresponds to the JSON property `role`
2618
2617
  # @return [String]
2619
2618
  attr_accessor :role
2620
2619
 
2621
- # Deprecated - use permissionDetails instead.
2620
+ # Output only. Deprecated: Output only. Use `permissionDetails` instead.
2622
2621
  # Corresponds to the JSON property `teamDrivePermissionDetails`
2623
2622
  # @return [Array<Google::Apis::DriveV3::Permission::TeamDrivePermissionDetail>]
2624
2623
  attr_accessor :team_drive_permission_details
2625
2624
 
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.
2625
+ # The type of the grantee. Valid values are: * `user` * `group` * `domain` * `
2626
+ # anyone` When creating a permission, if `type` is `user` or `group`, you must
2627
+ # provide an `emailAddress` for the user or group. When `type` is `domain`, you
2628
+ # must provide a `domain`. There isn't extra information required for an `anyone`
2629
+ # type.
2633
2630
  # Corresponds to the JSON property `type`
2634
2631
  # @return [String]
2635
2632
  attr_accessor :type
2636
2633
 
2637
2634
  # Indicates the view for this permission. Only populated for permissions that
2638
- # belong to a view. published is the only supported value.
2635
+ # belong to a view. 'published' is the only supported value.
2639
2636
  # Corresponds to the JSON property `view`
2640
2637
  # @return [String]
2641
2638
  attr_accessor :view
@@ -2667,34 +2664,28 @@ module Google
2667
2664
  class PermissionDetail
2668
2665
  include Google::Apis::Core::Hashable
2669
2666
 
2670
- # Whether this permission is inherited. This field is always populated. This is
2671
- # an output-only field.
2667
+ # Output only. Whether this permission is inherited. This field is always
2668
+ # populated. This is an output-only field.
2672
2669
  # Corresponds to the JSON property `inherited`
2673
2670
  # @return [Boolean]
2674
2671
  attr_accessor :inherited
2675
2672
  alias_method :inherited?, :inherited
2676
2673
 
2677
- # The ID of the item from which this permission is inherited. This is an output-
2678
- # only field.
2674
+ # Output only. The ID of the item from which this permission is inherited. This
2675
+ # is an output-only field.
2679
2676
  # Corresponds to the JSON property `inheritedFrom`
2680
2677
  # @return [String]
2681
2678
  attr_accessor :inherited_from
2682
2679
 
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
2680
+ # Output only. The permission type for this user. While new values may be added
2681
+ # in future, the following are currently possible: * `file` * `member`
2687
2682
  # Corresponds to the JSON property `permissionType`
2688
2683
  # @return [String]
2689
2684
  attr_accessor :permission_type
2690
2685
 
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
2686
+ # Output only. The primary role for this user. While new values may be added in
2687
+ # the future, the following are currently possible: * `organizer` * `
2688
+ # fileOrganizer` * `writer` * `commenter` * `reader`
2698
2689
  # Corresponds to the JSON property `role`
2699
2690
  # @return [String]
2700
2691
  attr_accessor :role
@@ -2716,23 +2707,23 @@ module Google
2716
2707
  class TeamDrivePermissionDetail
2717
2708
  include Google::Apis::Core::Hashable
2718
2709
 
2719
- # Deprecated - use permissionDetails/inherited instead.
2710
+ # Deprecated: Output only. Use `permissionDetails/inherited` instead.
2720
2711
  # Corresponds to the JSON property `inherited`
2721
2712
  # @return [Boolean]
2722
2713
  attr_accessor :inherited
2723
2714
  alias_method :inherited?, :inherited
2724
2715
 
2725
- # Deprecated - use permissionDetails/inheritedFrom instead.
2716
+ # Deprecated: Output only. Use `permissionDetails/inheritedFrom` instead.
2726
2717
  # Corresponds to the JSON property `inheritedFrom`
2727
2718
  # @return [String]
2728
2719
  attr_accessor :inherited_from
2729
2720
 
2730
- # Deprecated - use permissionDetails/role instead.
2721
+ # Deprecated: Output only. Use `permissionDetails/role` instead.
2731
2722
  # Corresponds to the JSON property `role`
2732
2723
  # @return [String]
2733
2724
  attr_accessor :role
2734
2725
 
2735
- # Deprecated - use permissionDetails/permissionType instead.
2726
+ # Deprecated: Output only. Use `permissionDetails/permissionType` instead.
2736
2727
  # Corresponds to the JSON property `teamDrivePermissionType`
2737
2728
  # @return [String]
2738
2729
  attr_accessor :team_drive_permission_type
@@ -2755,8 +2746,8 @@ module Google
2755
2746
  class PermissionList
2756
2747
  include Google::Apis::Core::Hashable
2757
2748
 
2758
- # Identifies what kind of resource this is. Value: the fixed string "drive#
2759
- # permissionList".
2749
+ # Identifies what kind of resource this is. Value: the fixed string `"drive#
2750
+ # permissionList"`.
2760
2751
  # Corresponds to the JSON property `kind`
2761
2752
  # @return [String]
2762
2753
  attr_accessor :kind
@@ -2791,9 +2782,8 @@ module Google
2791
2782
  class Reply
2792
2783
  include Google::Apis::Core::Hashable
2793
2784
 
2794
- # The action the reply performed to the parent comment. Valid values are:
2795
- # - resolve
2796
- # - reopen
2785
+ # The action the reply performed to the parent comment. Valid values are: * `
2786
+ # resolve` * `reopen`
2797
2787
  # Corresponds to the JSON property `action`
2798
2788
  # @return [String]
2799
2789
  attr_accessor :action
@@ -2804,8 +2794,8 @@ module Google
2804
2794
  attr_accessor :author
2805
2795
 
2806
2796
  # 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.
2797
+ # content, while `htmlContent` should be displayed. This is required on creates
2798
+ # if no `action` is specified.
2809
2799
  # Corresponds to the JSON property `content`
2810
2800
  # @return [String]
2811
2801
  attr_accessor :content
@@ -2815,24 +2805,25 @@ module Google
2815
2805
  # @return [DateTime]
2816
2806
  attr_accessor :created_time
2817
2807
 
2818
- # Whether the reply has been deleted. A deleted reply has no content.
2808
+ # Output only. Whether the reply has been deleted. A deleted reply has no
2809
+ # content.
2819
2810
  # Corresponds to the JSON property `deleted`
2820
2811
  # @return [Boolean]
2821
2812
  attr_accessor :deleted
2822
2813
  alias_method :deleted?, :deleted
2823
2814
 
2824
- # The content of the reply with HTML formatting.
2815
+ # Output only. The content of the reply with HTML formatting.
2825
2816
  # Corresponds to the JSON property `htmlContent`
2826
2817
  # @return [String]
2827
2818
  attr_accessor :html_content
2828
2819
 
2829
- # The ID of the reply.
2820
+ # Output only. The ID of the reply.
2830
2821
  # Corresponds to the JSON property `id`
2831
2822
  # @return [String]
2832
2823
  attr_accessor :id
2833
2824
 
2834
- # Identifies what kind of resource this is. Value: the fixed string "drive#reply"
2835
- # .
2825
+ # Output only. Identifies what kind of resource this is. Value: the fixed string
2826
+ # `"drive#reply"`.
2836
2827
  # Corresponds to the JSON property `kind`
2837
2828
  # @return [String]
2838
2829
  attr_accessor :kind
@@ -2864,8 +2855,8 @@ module Google
2864
2855
  class ReplyList
2865
2856
  include Google::Apis::Core::Hashable
2866
2857
 
2867
- # Identifies what kind of resource this is. Value: the fixed string "drive#
2868
- # replyList".
2858
+ # Identifies what kind of resource this is. Value: the fixed string `"drive#
2859
+ # replyList"`.
2869
2860
  # Corresponds to the JSON property `kind`
2870
2861
  # @return [String]
2871
2862
  attr_accessor :kind
@@ -2900,12 +2891,12 @@ module Google
2900
2891
  class Revision
2901
2892
  include Google::Apis::Core::Hashable
2902
2893
 
2903
- # Links for exporting Docs Editors files to specific formats.
2894
+ # Output only. Links for exporting Docs Editors files to specific formats.
2904
2895
  # Corresponds to the JSON property `exportLinks`
2905
2896
  # @return [Hash<String,String>]
2906
2897
  attr_accessor :export_links
2907
2898
 
2908
- # The ID of the revision.
2899
+ # Output only. The ID of the revision.
2909
2900
  # Corresponds to the JSON property `id`
2910
2901
  # @return [String]
2911
2902
  attr_accessor :id
@@ -2913,15 +2904,14 @@ module Google
2913
2904
  # Whether to keep this revision forever, even if it is no longer the head
2914
2905
  # revision. If not set, the revision will be automatically purged 30 days after
2915
2906
  # 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.
2907
+ # file. This field is only applicable to files with binary content in Drive.
2918
2908
  # Corresponds to the JSON property `keepForever`
2919
2909
  # @return [Boolean]
2920
2910
  attr_accessor :keep_forever
2921
2911
  alias_method :keep_forever?, :keep_forever
2922
2912
 
2923
- # Identifies what kind of resource this is. Value: the fixed string "drive#
2924
- # revision".
2913
+ # Output only. Identifies what kind of resource this is. Value: the fixed string
2914
+ # `"drive#revision"`.
2925
2915
  # Corresponds to the JSON property `kind`
2926
2916
  # @return [String]
2927
2917
  attr_accessor :kind
@@ -2931,13 +2921,13 @@ module Google
2931
2921
  # @return [Google::Apis::DriveV3::User]
2932
2922
  attr_accessor :last_modifying_user
2933
2923
 
2934
- # The MD5 checksum of the revision's content. This is only applicable to files
2935
- # with binary content in Drive.
2924
+ # Output only. The MD5 checksum of the revision's content. This is only
2925
+ # applicable to files with binary content in Drive.
2936
2926
  # Corresponds to the JSON property `md5Checksum`
2937
2927
  # @return [String]
2938
2928
  attr_accessor :md5_checksum
2939
2929
 
2940
- # The MIME type of the revision.
2930
+ # Output only. The MIME type of the revision.
2941
2931
  # Corresponds to the JSON property `mimeType`
2942
2932
  # @return [String]
2943
2933
  attr_accessor :mime_type
@@ -2947,8 +2937,8 @@ module Google
2947
2937
  # @return [DateTime]
2948
2938
  attr_accessor :modified_time
2949
2939
 
2950
- # The original filename used to create this revision. This is only applicable to
2951
- # files with binary content in Drive.
2940
+ # Output only. The original filename used to create this revision. This is only
2941
+ # applicable to files with binary content in Drive.
2952
2942
  # Corresponds to the JSON property `originalFilename`
2953
2943
  # @return [String]
2954
2944
  attr_accessor :original_filename
@@ -2967,8 +2957,8 @@ module Google
2967
2957
  attr_accessor :published
2968
2958
  alias_method :published?, :published
2969
2959
 
2970
- # A link to the published revision. This is only populated for Google Sites
2971
- # files.
2960
+ # Output only. A link to the published revision. This is only populated for
2961
+ # Google Sites files.
2972
2962
  # Corresponds to the JSON property `publishedLink`
2973
2963
  # @return [String]
2974
2964
  attr_accessor :published_link
@@ -2980,8 +2970,8 @@ module Google
2980
2970
  attr_accessor :published_outside_domain
2981
2971
  alias_method :published_outside_domain?, :published_outside_domain
2982
2972
 
2983
- # The size of the revision's content in bytes. This is only applicable to files
2984
- # with binary content in Drive.
2973
+ # Output only. The size of the revision's content in bytes. This is only
2974
+ # applicable to files with binary content in Drive.
2985
2975
  # Corresponds to the JSON property `size`
2986
2976
  # @return [Fixnum]
2987
2977
  attr_accessor :size
@@ -3013,8 +3003,8 @@ module Google
3013
3003
  class RevisionList
3014
3004
  include Google::Apis::Core::Hashable
3015
3005
 
3016
- # Identifies what kind of resource this is. Value: the fixed string "drive#
3017
- # revisionList".
3006
+ # Identifies what kind of resource this is. Value: the fixed string `"drive#
3007
+ # revisionList"`.
3018
3008
  # Corresponds to the JSON property `kind`
3019
3009
  # @return [String]
3020
3010
  attr_accessor :kind
@@ -3049,8 +3039,8 @@ module Google
3049
3039
  class StartPageToken
3050
3040
  include Google::Apis::Core::Hashable
3051
3041
 
3052
- # Identifies what kind of resource this is. Value: the fixed string "drive#
3053
- # startPageToken".
3042
+ # Identifies what kind of resource this is. Value: the fixed string `"drive#
3043
+ # startPageToken"`.
3054
3044
  # Corresponds to the JSON property `kind`
3055
3045
  # @return [String]
3056
3046
  attr_accessor :kind
@@ -3076,9 +3066,9 @@ module Google
3076
3066
  include Google::Apis::Core::Hashable
3077
3067
 
3078
3068
  # 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.
3069
+ # Team Drive is set. This is a write only field; it can only be set on `drive.
3070
+ # teamdrives.update` requests that don't set `themeId`. When specified, all
3071
+ # fields of the `backgroundImageFile` must be set.
3082
3072
  # Corresponds to the JSON property `backgroundImageFile`
3083
3073
  # @return [Google::Apis::DriveV3::TeamDrive::BackgroundImageFile]
3084
3074
  attr_accessor :background_image_file
@@ -3093,8 +3083,8 @@ module Google
3093
3083
  # @return [Google::Apis::DriveV3::TeamDrive::Capabilities]
3094
3084
  attr_accessor :capabilities
3095
3085
 
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.
3086
+ # The color of this Team Drive as an RGB hex string. It can only be set on a `
3087
+ # drive.teamdrives.update` request that does not set `themeId`.
3098
3088
  # Corresponds to the JSON property `colorRgb`
3099
3089
  # @return [String]
3100
3090
  attr_accessor :color_rgb
@@ -3110,8 +3100,8 @@ module Google
3110
3100
  # @return [String]
3111
3101
  attr_accessor :id
3112
3102
 
3113
- # Identifies what kind of resource this is. Value: the fixed string "drive#
3114
- # teamDrive".
3103
+ # Identifies what kind of resource this is. Value: the fixed string `"drive#
3104
+ # teamDrive"`.
3115
3105
  # Corresponds to the JSON property `kind`
3116
3106
  # @return [String]
3117
3107
  attr_accessor :kind
@@ -3121,8 +3111,9 @@ module Google
3121
3111
  # @return [String]
3122
3112
  attr_accessor :name
3123
3113
 
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.
3114
+ # The organizational unit of this shared drive. This field is only populated on `
3115
+ # drives.list` responses when the `useDomainAdminAccess` parameter is set to `
3116
+ # true`.
3126
3117
  # Corresponds to the JSON property `orgUnitId`
3127
3118
  # @return [String]
3128
3119
  attr_accessor :org_unit_id
@@ -3134,11 +3125,11 @@ module Google
3134
3125
  attr_accessor :restrictions
3135
3126
 
3136
3127
  # 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
3128
+ # set of possible `teamDriveThemes` can be retrieved from a `drive.about.get`
3129
+ # response. When not specified on a `drive.teamdrives.create` request, a random
3139
3130
  # 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.
3131
+ # write-only field; it can only be set on requests that don't set `colorRgb` or `
3132
+ # backgroundImageFile`.
3142
3133
  # Corresponds to the JSON property `themeId`
3143
3134
  # @return [String]
3144
3135
  attr_accessor :theme_id
@@ -3163,9 +3154,9 @@ module Google
3163
3154
  end
3164
3155
 
3165
3156
  # 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.
3157
+ # Team Drive is set. This is a write only field; it can only be set on `drive.
3158
+ # teamdrives.update` requests that don't set `themeId`. When specified, all
3159
+ # fields of the `backgroundImageFile` must be set.
3169
3160
  class BackgroundImageFile
3170
3161
  include Google::Apis::Core::Hashable
3171
3162
 
@@ -3222,22 +3213,22 @@ module Google
3222
3213
  attr_accessor :can_add_children
3223
3214
  alias_method :can_add_children?, :can_add_children
3224
3215
 
3225
- # Whether the current user can change the copyRequiresWriterPermission
3216
+ # Whether the current user can change the `copyRequiresWriterPermission`
3226
3217
  # restriction of this Team Drive.
3227
3218
  # Corresponds to the JSON property `canChangeCopyRequiresWriterPermissionRestriction`
3228
3219
  # @return [Boolean]
3229
3220
  attr_accessor :can_change_copy_requires_writer_permission_restriction
3230
3221
  alias_method :can_change_copy_requires_writer_permission_restriction?, :can_change_copy_requires_writer_permission_restriction
3231
3222
 
3232
- # Whether the current user can change the domainUsersOnly restriction of this
3223
+ # Whether the current user can change the `domainUsersOnly` restriction of this
3233
3224
  # Team Drive.
3234
3225
  # Corresponds to the JSON property `canChangeDomainUsersOnlyRestriction`
3235
3226
  # @return [Boolean]
3236
3227
  attr_accessor :can_change_domain_users_only_restriction
3237
3228
  alias_method :can_change_domain_users_only_restriction?, :can_change_domain_users_only_restriction
3238
3229
 
3239
- # Whether the current user can change the
3240
- # sharingFoldersRequiresOrganizerPermission restriction of this Team Drive.
3230
+ # Whether the current user can change the `
3231
+ # sharingFoldersRequiresOrganizerPermission` restriction of this Team Drive.
3241
3232
  # Corresponds to the JSON property `canChangeSharingFoldersRequiresOrganizerPermissionRestriction`
3242
3233
  # @return [Boolean]
3243
3234
  attr_accessor :can_change_sharing_folders_requires_organizer_permission_restriction
@@ -3249,7 +3240,7 @@ module Google
3249
3240
  attr_accessor :can_change_team_drive_background
3250
3241
  alias_method :can_change_team_drive_background?, :can_change_team_drive_background
3251
3242
 
3252
- # Whether the current user can change the teamMembersOnly restriction of this
3243
+ # Whether the current user can change the `teamMembersOnly` restriction of this
3253
3244
  # Team Drive.
3254
3245
  # Corresponds to the JSON property `canChangeTeamMembersOnlyRestriction`
3255
3246
  # @return [Boolean]
@@ -3313,7 +3304,7 @@ module Google
3313
3304
  attr_accessor :can_read_revisions
3314
3305
  alias_method :can_read_revisions?, :can_read_revisions
3315
3306
 
3316
- # Deprecated - use canDeleteChildren or canTrashChildren instead.
3307
+ # Deprecated: Use `canDeleteChildren` or `canTrashChildren` instead.
3317
3308
  # Corresponds to the JSON property `canRemoveChildren`
3318
3309
  # @return [Boolean]
3319
3310
  attr_accessor :can_remove_children
@@ -3393,8 +3384,8 @@ module Google
3393
3384
 
3394
3385
  # Whether the options to copy, print, or download files inside this Team Drive,
3395
3386
  # 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.
3387
+ # `true`, it will override the similarly named field to `true` for any file
3388
+ # inside this Team Drive.
3398
3389
  # Corresponds to the JSON property `copyRequiresWriterPermission`
3399
3390
  # @return [Boolean]
3400
3391
  attr_accessor :copy_requires_writer_permission
@@ -3442,8 +3433,8 @@ module Google
3442
3433
  class TeamDriveList
3443
3434
  include Google::Apis::Core::Hashable
3444
3435
 
3445
- # Identifies what kind of resource this is. Value: the fixed string "drive#
3446
- # teamDriveList".
3436
+ # Identifies what kind of resource this is. Value: the fixed string `"drive#
3437
+ # teamDriveList"`.
3447
3438
  # Corresponds to the JSON property `kind`
3448
3439
  # @return [String]
3449
3440
  attr_accessor :kind
@@ -3478,34 +3469,35 @@ module Google
3478
3469
  class User
3479
3470
  include Google::Apis::Core::Hashable
3480
3471
 
3481
- # A plain text displayable name for this user.
3472
+ # Output only. A plain text displayable name for this user.
3482
3473
  # Corresponds to the JSON property `displayName`
3483
3474
  # @return [String]
3484
3475
  attr_accessor :display_name
3485
3476
 
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.
3477
+ # Output only. The email address of the user. This may not be present in certain
3478
+ # contexts if the user has not made their email address visible to the requester.
3488
3479
  # Corresponds to the JSON property `emailAddress`
3489
3480
  # @return [String]
3490
3481
  attr_accessor :email_address
3491
3482
 
3492
- # Identifies what kind of resource this is. Value: the fixed string "drive#user".
3483
+ # Output only. Identifies what kind of resource this is. Value: the fixed string
3484
+ # `"drive#user"`.
3493
3485
  # Corresponds to the JSON property `kind`
3494
3486
  # @return [String]
3495
3487
  attr_accessor :kind
3496
3488
 
3497
- # Whether this user is the requesting user.
3489
+ # Output only. Whether this user is the requesting user.
3498
3490
  # Corresponds to the JSON property `me`
3499
3491
  # @return [Boolean]
3500
3492
  attr_accessor :me
3501
3493
  alias_method :me?, :me
3502
3494
 
3503
- # The user's ID as visible in Permission resources.
3495
+ # Output only. The user's ID as visible in Permission resources.
3504
3496
  # Corresponds to the JSON property `permissionId`
3505
3497
  # @return [String]
3506
3498
  attr_accessor :permission_id
3507
3499
 
3508
- # A link to the user's profile photo, if available.
3500
+ # Output only. A link to the user's profile photo, if available.
3509
3501
  # Corresponds to the JSON property `photoLink`
3510
3502
  # @return [String]
3511
3503
  attr_accessor :photo_link