I am using Google Picker API on my website. This is my code:
this.picker = new google.picker.PickerBuilder().
addView(new google.picker.DocsView(google.picker.ViewId.DOCS).
setIncludeFolders(true).
setOwnedByMe(true)).
addView(new google.picker.DocsView(google.picker.ViewId.DOCS).
setIncludeFolders(true).
setOwnedByMe(false)).
addView(google.picker.ViewId.RECENTLY_PICKED).
addView(new google.picker.DocsView(google.picker.ViewId.DOCS).
setStarred(true)).
setAppId(this.clientId).
enableFeature(google.picker.Feature.MULTISELECT_ENABLED).
disableFeature(google.picker.Feature.SUPPORT_TEAM_DRIVES).
setOAuthToken(accessToken).
setLocale('es').
setTitle('Selecciona uno o varios archivos').
setCallback(this._pickerCallback.bind(this)).
build().
setVisible(true);
Which is being shown as (names are censored but they are showing as they should):
The issue is the starred DocsView, which has the title "Google Drive". I would like to change it to something of my choice (the rest of the DocsView have default names) or just "Starred" but I just cannot achieve this.
Does someone know how can I change that?