You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Whitelisting our projects for the Search API #1181
@jgeewax When beginning work on gcloud.search (2015-10-01), I requested that my project be whitelisted for the Search API via the form. Today, working on a system test for the API, I see the following:
I do not see "Cloud Search" as an available API from my developer console. We need to get expedited access: I just re-submitted the form with @jgeewax as the "project owner".
Most importantly, download the gcloud CLI tool and run
$ gcloud auth login
then we'll grab the user credentials.
You probably have GOOGLE_APPLICATION_CREDENTIALS set. I did. So I ran
importosos.environ.pop('GOOGLE_APPLICATION_CREDENTIALS')
fromgcloud.searchimportclientc=client.Client(project='foo')
printc.connection.credentials.to_json() # To verify it is a user accountprintc.list_indexes()
This actually caused a KeyError. I got {} as the response but the code assumes the indexes key is present.
Activity
jgeewax commentedon Oct 14, 2015
Which project IDs do you need ? Just
precise-truck-742? @tseavertseaver commentedon Oct 14, 2015
@jgeewax Mine is
citric-celerity-697. I'm sure @dhermes will need his, along with the project used when running system tests on Travis.dhermes commentedon Oct 14, 2015
omega-moonlight-697jgeewax commentedon Oct 14, 2015
OK, requesting whitelisting for all 3 projects. Will update this ticket once it's done.
dhermes commentedon Oct 26, 2015
FYI @tseaver to access using your personal account follow http://gcloud-python.readthedocs.org/en/latest/gcloud-auth.html#user-accounts-3-legged-oauth-2-0-with-a-refresh-token
Most importantly, download the
gcloudCLI tool and runthen we'll grab the user credentials.
You probably have
GOOGLE_APPLICATION_CREDENTIALSset. I did. So I ranThis actually caused a
KeyError. I got{}as the response but the code assumes theindexeskey is present.dhermes commentedon Dec 31, 2015
Closing because I am assuming we are whitelisted. @tseaver or @jgeewax re-open if this is false.
tseaver commentedon Jan 7, 2016
Project-based access is still not working.
dhermes commentedon Aug 11, 2016
@jgeewax we can close this out right? API removed in #1750
jgeewax commentedon Aug 13, 2016
Yep. This is fine.
chore(main): release 0.62.1 (#1181)
chore: add branch protection rules for v2 (#1181)
chore(spanner): Issue1178# [spanner_dbapi] While running a query that…