Method PickerBuilder.setAppId

Sets the Id of the application needing to access the user's files via the Drive API.

This is required for the https://www.googleapis.com/auth/drive.file scope.

@params appId The Cloud project number.

Examples

Basic usage

const builder = new google.pickerPickerBuilder()
  .setAppId('1234567890');

Signature

setAppId(appId: string): PickerBuilder;

Details

Optional No
Final No
Protected No
Static No

Parameters

Name Type Optional Description
appId string No

Returns

PickerBuilder