> @Override protected void bindErrorHandlers() { > > bind(HttpErrorHandler.class).annotatedWith(Redirection.class).to(GoogleComputeEngineErrorHandler.class); > > bind(HttpErrorHandler.class).annotatedWith(ClientError.class).to(GoogleComputeEngineErrorHandler.class); > > bind(HttpErrorHandler.class).annotatedWith(ServerError.class).to(GoogleComputeEngineErrorHandler.class); > } > > + @Provides @Singleton @CurrentProject Supplier<URI> > project(@Named(PROJECT_NAME) final String projectName,
@ccustine Now, we define a custom base endpoint with the `@CurrentProject` annotation. Any api method that has `@Endpoint(CurrentProject.class)` does not need to ask the user for the current project, as it is implied. --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs-google/pull/88/files#r20096398