oauth を設定し、アクセス トークンを適切に取得しています。
これが私が叩いたときの反応です
https://www.google.com/accounts/AuthSubTokenInfo?access_token=<token>
parsed_response="Target=645428735890.apps.googleusercontent.com\nSecure=false\nScope=https://www.googleapis.com/auth/userinfo.profile\nScope2=https://www.googleapis.com/auth/userinfo.email\nScope3=https://www.googleapis.com/auth/glass.timeline\nScope4=https://www.googleapis.com/auth/glass.location\n"
これは、正しいアクセス許可を要求したことを正しく示していると私は信じています。
への呼び出し
https://www.googleapis.com/mirror/v1/timeline?access_token=<token>
収量:
"errors"=>[{"domain"=>"usageLimits", "reason"=>"accessNotConfigured", "message"=>"Access Not Configured"}]
これが何を意味するのか理解に苦しむ。私は実際のガラスのハードウェアを持っていません。ドキュメントによると、このアクセス トークンを使用すると、ミラー API に対して任意の要求を行うことができるようになります。
聞き逃した追加の設定や許可を求める必要はありますか? アプリケーション側で?これは私の Google アカウントに関連しており、Glass を設定していないのですか?
編集:
さて、認証ドキュメントから:
Select the Services tab in your API project, and enable the Google Mirror API.
しかし、[サービス] タブに Google Mirror API が表示されません。