async _authorizeDriveAccess() {
    const auth2 = await this._gapiAuth2;
    const googleAuth = auth2.init({
      client_id: this._clientId,
      scope: GOOGLE_DRIVE_SCOPE,
    });

    const user = await googleAuth.signIn();
    const authResponse = await user.getAuthResponse();
    return authResponse.access_token;
  }
/**
   * Authorize this application's access to the user's files in Google Drive.
   *
   * @return {Promise<string>} - An access token for making Google Drive API requests.
   */
Authorize this application's access to the user's files in Google Drive.
@return {Promise} - An access token for making Google Drive API requests.
Authorize this application ' s access to the user ' s files in Google Drive . @return { Promise } - An access token for making Google Drive API requests .
async _authorizeDriveAccess() {
    const auth2 = await this._gapiAuth2;
    const googleAuth = auth2.init({
      client_id: this._clientId,
      scope: GOOGLE_DRIVE_SCOPE,
    });
    const user = await googleAuth.signIn();
    const authResponse = await user.getAuthResponse();
    return authResponse.access_token;
  }
async _authorizeDriveAccess ( ) { const auth2 = await this . _gapiAuth2 ; const googleAuth = auth2 . init ( { client_id : this . _clientId , scope : GOOGLE_DRIVE_SCOPE , } ) ; const user = await googleAuth . signIn ( ) ; const authResponse = await user . getAuthResponse ( ) ; return authResponse . access_token ; }
Authorize this application's access to the user's files in Google Drive.
Authorize this application ' s access to the user ' s files in Google Drive .