@VisibleForTesting
  @Nullable
  GoogleAlbum getGoogleAlbum(String albumIdempotentId, String albumId, String albumName,
      TokensAndUrlAuthData authData) throws IOException, InvalidTokenException,
      PermissionDeniedException {
    if (retryingExecutor == null || !enableRetrying) {
      return getOrCreatePhotosInterface(authData).getAlbum(albumId);
    }

    try {
      GoogleAlbum googleAlbum = retryingExecutor.executeAndSwallowIOExceptions(
          albumIdempotentId, albumName,
          () -> getOrCreatePhotosInterface(authData).getAlbum(albumId)
      );
      return googleAlbum;
    } catch (Exception e) {
      monitor.info(() -> format("Retry exception encountered while fetching an album: %s", e));
    }
    return null;
  }
Method for storing a list of all photos that are already contained in albums
extensions/data-transfer/portability-data-transfer-google/src/main/java/org/datatransferproject/datatransfer/google/media/GoogleMediaExporter.java