class Google::Apis::DriveV3::File::Capabilities
Capabilities the current user has on the file.
Attributes
Whether the user can comment on the file. Corresponds to the JSON property `canComment` @return [Boolean]
Whether the user can comment on the file. Corresponds to the JSON property `canComment` @return [Boolean]
Whether the user can copy the file. Corresponds to the JSON property `canCopy` @return [Boolean]
Whether the user can copy the file. Corresponds to the JSON property `canCopy` @return [Boolean]
Whether the user can edit the file's content. Corresponds to the JSON property `canEdit` @return [Boolean]
Whether the user can edit the file's content. Corresponds to the JSON property `canEdit` @return [Boolean]
Whether the current user has read access to the Revisions resource of the file. Corresponds to the JSON property `canReadRevisions` @return [Boolean]
Whether the current user has read access to the Revisions resource of the file. Corresponds to the JSON property `canReadRevisions` @return [Boolean]
Public Class Methods
# File generated/google/apis/drive_v3/classes.rb, line 804 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/drive_v3/classes.rb, line 809 def update!(**args) @can_comment = args[:can_comment] if args.key?(:can_comment) @can_copy = args[:can_copy] if args.key?(:can_copy) @can_edit = args[:can_edit] if args.key?(:can_edit) @can_read_revisions = args[:can_read_revisions] if args.key?(:can_read_revisions) @can_share = args[:can_share] if args.key?(:can_share) end