diff --git a/src/main/java/com/google/jenkins/plugins/storage/StorageScopeRequirement.java b/src/main/java/com/google/jenkins/plugins/storage/StorageScopeRequirement.java index 5fd11930..babc2517 100644 --- a/src/main/java/com/google/jenkins/plugins/storage/StorageScopeRequirement.java +++ b/src/main/java/com/google/jenkins/plugins/storage/StorageScopeRequirement.java @@ -20,11 +20,14 @@ import com.google.jenkins.plugins.credentials.oauth.GoogleOAuth2ScopeRequirement; import java.util.Collection; -/** The required OAuth2 scopes for managing Google Cloud Storage buckets and objects. */ +/** + * The required OAuth2 scopes for managing Google Cloud Storage buckets and + * objects. + */ public class StorageScopeRequirement extends GoogleOAuth2ScopeRequirement { /** {@inheritDoc} */ @Override public Collection getScopes() { - return ImmutableList.of(StorageScopes.DEVSTORAGE_FULL_CONTROL); + return ImmutableList.of(StorageScopes.CLOUD_PLATFORM); } }