google app engine - Write Cron Job in Java on GAE to Run BigQuery -
i want run cron job on gae internally calls bigquery.
i able run bigquery need log in credentials. run cron job bigquery without login.
any highly appreciated.
i know it's not java you're expecting. secret use appassertioncredentials. here python sample:
from apiclient.discovery import build oauth2client.appengine import appassertioncredentials import httplib2 google.appengine.api import memcache scope = 'https://www.googleapis.com/auth/bigquery' credentials = appassertioncredentials(scope=scope) http = credentials.authorize(httplib2.http(memcache)) return build("bigquery", "v2", http=http)
Comments
Post a Comment