Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filter active project when gen sa #59

Closed
LeeeMooo opened this issue Sep 14, 2020 · 2 comments
Closed

filter active project when gen sa #59

LeeeMooo opened this issue Sep 14, 2020 · 2 comments

Comments

@LeeeMooo
Copy link

return [i['projectId'] for i in service.projects().list().execute()['projects']]

return [i['projectId'] for i in service.projects().list().execute()['projects'] if i['lifecycleState'] == 'ACTIVE']
@harryqt
Copy link

harryqt commented Sep 15, 2020

You should send a PR.

@ChaojuWang
Copy link

PR created. #63

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants