Skip to content

Commit c4d0e46

Browse files
🤖 Merge PR DefinitelyTyped#72183 [google.picker]: automated update to Google Picker cl/736159387 by @googleworkspace-bot
1 parent e658654 commit c4d0e46

File tree

2 files changed

+30
-8
lines changed

2 files changed

+30
-8
lines changed

‎types/google.picker/google.picker-tests.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
// https://issuetracker.google.com/issues/new?component=191628
2121

2222
// Skipping tests by updating with checksum
23-
// d94cd28364ab9b3272acb33c7302966c
23+
// b03a54c16f601e791ab7dee3dfd08fe7
2424

2525
// tslint:disable:no-unused-expression
2626
google.picker.PickerBuilder;

‎types/google.picker/index.d.ts‎

Lines changed: 29 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -489,9 +489,7 @@ declare namespace google {
489489
constructor(viewId?: ViewId);
490490

491491
/**
492-
* Show folders in the view items. Do not combine with
493-
* `setOwnedByMe`. When `setIncludeFolders(true)` is
494-
* set, `setOwnedByMe` is ignored.
492+
* Show folders in the view items.
495493
*
496494
* If you don't set this option, folders aren't displayed in the
497495
* view.
@@ -514,10 +512,12 @@ declare namespace google {
514512
setMode(mode: DocsViewMode): DocsView;
515513

516514
/**
517-
* Filters the documents based on whether they are owned by the user, or
518-
* shared with the user. Do not combine this setting with
519-
* `setIncludeFolders`. When `setIncludeFolders(true)`
520-
* is set, `setOwnedByMe` is ignored.
515+
* Filters the documents based on whether they are owned by the user, or
516+
* shared with the user.
517+
*
518+
* Don't combine this setting with `setEnableDrives`.
519+
* When `setEnableDrives(true)` and `setOwnedByMe(true)` are set,
520+
* there are no results.
521521
*
522522
* If you don't set this option, all documents, including shared
523523
* documents, are displayed in the view.
@@ -529,6 +529,9 @@ declare namespace google {
529529
*
530530
* If `true`, only starred documents are displayed in the view. If
531531
* `false`, all documents are displayed in the view.
532+
*
533+
* Don't combine this setting with `setEnableDrives`.
534+
* When `setEnableDrives(true)` is set, `setStarred` is ignored.
532535
*/
533536
setStarred(starred: boolean): DocsView;
534537

@@ -539,17 +542,36 @@ declare namespace google {
539542
* GoogleDrive API documentation for enabling shared drives}.
540543
*
541544
* If `true`, only shared drives are included in the view.
545+
*
546+
* Don't combine this setting with `setParent` or `setFileIds`.
547+
* Calls to this function override previous calls to `setParent` or
548+
* `setFileIds`.
549+
*
550+
* Don't combine this setting with `setOwnedByMe`.
551+
* When `setEnableDrives(true)` and `setOwnedByMe(true)` are set,
552+
* there are no results.
553+
*
554+
* Don't combine this setting with `setStarred`.
555+
* When `setEnableDrives(true)` is set, `setStarred` is ignored.
542556
*/
543557
setEnableDrives(enabled: boolean): DocsView;
544558

545559
/**
546560
* Sets the initial parent folder to display.
561+
*
562+
* Don't combine this setting with `setEnableDrives` or `setFileIds`.
563+
* Calls to this function override previous calls to `setEnableDrives`
564+
* or `setFileIds`.
547565
*/
548566
setParent(parentId: string): View;
549567

550568
/**
551569
* Sets the file IDs included in the view.
552570
*
571+
* Don't combine this setting with `setEnableDrives` or `setParent`.
572+
* Calls to this function override previous calls to `setEnableDrives`
573+
* or `setParent`.
574+
*
553575
* @param fileIds A string of file IDs. Use commas to separate file IDs if
554576
* setting more than one. If you include the file ID of a file that the
555577
* user doesn't have access to, the file is excluded from the view.

0 commit comments

Comments
 (0)