Lines Matching refs:desc

5 DriveFile = function(ui, data, desc)  argument
9 this.desc = desc;
30 return this.desc.fileSize;
38 return this.desc.userPermission != null && this.desc.labels != null &&
39 this.desc.userPermission.role == 'reader' && this.desc.labels.restricted;
75 url: '/files/' + this.desc.id + '/permissions?supportsAllDrives=true'
86 fn(this.desc.webContentLink);
139 return this.desc.labels.trashed;
186 var lastDesc = this.desc;
210 this.desc = resp;
249 }), mxUtils.bind(this, function(err, desc) argument
263 this.sync.fileConflict(desc, mxUtils.bind(this, function()
379 this.desc = resp;
422 this.ui.drive.renameFile(this.getId(), title, mxUtils.bind(this, function(desc) argument
426 this.desc = desc;
437 this.desc = desc;
447 success(desc);
463 this.desc = resp;
492 return this.desc.title;
514 return this.desc.id;
526 this.desc.editable;
598 var chan = this.ui.drive.getCustomProperty(this.desc, 'channel');
613 return this.ui.drive.getCustomProperty(this.desc, 'key');
621 return new Date(this.desc.modifiedDate);
629 return this.desc;
635 DriveFile.prototype.setDescriptor = function(desc) argument
637 this.desc = desc;
643 DriveFile.prototype.getDescriptorSecret = function(desc) argument
645 return this.ui.drive.getCustomProperty(desc, 'secret');
651 DriveFile.prototype.setDescriptorRevisionId = function(desc, id) argument
653 desc.headRevisionId = id;
659 DriveFile.prototype.getDescriptorRevisionId = function(desc) argument
661 return desc.headRevisionId;
667 DriveFile.prototype.getDescriptorEtag = function(desc) argument
669 return desc.etag;
675 DriveFile.prototype.setDescriptorEtag = function(desc, etag) argument
677 desc.etag = etag;
689 mxUtils.bind(this, function(desc) argument
691 success(desc);
698 DriveFile.prototype.patchDescriptor = function(desc, patch) argument
700 desc.headRevisionId = patch.headRevisionId;
701 desc.modifiedDate = patch.modifiedDate;
798 return this.desc.canComment;