Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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<String> getScopes() {
return ImmutableList.of(StorageScopes.DEVSTORAGE_FULL_CONTROL);
return ImmutableList.of(StorageScopes.CLOUD_PLATFORM);
}
}