@Override protected void configure() { super.configure(); bindHttpApi(binder(), UseApiToResolveProjectName.GetProject.class); bind(OAuthScopes.class).toInstance(ReadOrWriteScopes.create( // "https://www.googleapis.com/auth/compute.readonly", // "https://www.googleapis.com/auth/compute" // )); }
@Override protected void configure() { super.configure(); bindHttpApi(binder(), UseApiToResolveProjectName.GetProject.class); bind(OAuthScopes.class).toInstance(ReadOrWriteScopes.create( // "https://www.googleapis.com/auth/compute.readonly", // "https://www.googleapis.com/auth/compute" // )); }
@Override protected void configure() { super.configure(); bindHttpApi(binder(), UseApiToResolveProjectName.GetProject.class); bind(OAuthScopes.class).toInstance(ReadOrWriteScopes.create( // "https://www.googleapis.com/auth/compute.readonly", // "https://www.googleapis.com/auth/compute" // )); }
@Override protected void configure() { super.configure(); bindHttpApi(binder(), UseApiToResolveProjectName.GetProject.class); bind(OAuthScopes.class).toInstance(ReadOrWriteScopes.create( // "https://www.googleapis.com/auth/compute.readonly", // "https://www.googleapis.com/auth/compute" // )); }