public void setConnectionValues ( final Google google , final ConnectionValues values ) { final UserInfo userInfo = google . oauth2Operations ( ) . getUserinfo ( ) ; values . setProviderUserId ( userInfo . getId ( ) ) ; values . setDisplayName ( userInfo . getName ( ) ) ; values . setProfileUrl ( userInfo . getLink ( ) ) ; values . setImageUrl ( userInfo . getPicture ( ) ) ; }
Set a value on the connection .