PetscErrorCode PetscGoogleDriveRefresh(MPI_Comm comm,const char refresh_token[],char access_token[],size_t tokensize)Not collective, only the first process in the MPI_Comm does anything
comm | - MPI communicator | |
refresh token | - obtained with PetscGoogleDriveAuthorize(), if NULL PETSc will first look for one in the options data if not found it will call PetscGoogleDriveAuthorize() | |
tokensize | - size of the output string access_token |
access_token | - token that can be passed to PetscGoogleDriveUpload() |
-google_refresh_token XXX | - where XXX was obtained from PetscGoogleDriveAuthorize() |