Correct way to configure API client to manage resources on GCP account

0 votes
I want to configure API client to manage resources on my GCP account. These steps that I did. Are there any missing steps?

1- Install the Google API client -->; (Done)

Win 10: pip install virtualenv

virtualenv my_env

my_env\Scripts\activate my-env\Scripts\pip.exe install google-api-python-client

2- Set up GCP credentials --> I am not sure which option to choose but I choose API keys, Dashboard -> Credentials -> there are 3 options: API keys, OAuth 2.0 Client IDs, Service Accounts

3- Create a new GCP project. (done)

4- Set up google cloud SDK --> (done)
Jul 22, 2020 in GCP by Angelus
• 170 points

edited Jul 22, 2020 by Angelus 506 views
What is the requirement ? Are you trying to manage the python application using this?

1 answer to this question.

0 votes

Here's how you could do the installation:

On Windows:

pip install virtualenv
virtualenv <your-env>
<your-env>\Scripts\activate
<your-env>\Scripts\pip.exe install google-api-python-client

On MAC/Linux:

pip install virtualenv
virtualenv <your-env>
source <your-env>/bin/activate
<your-env>/bin/pip install google-api-python-client

This should do!

answered Jul 28, 2020 by Sirajul
• 59,230 points

Related Questions In GCP

0 votes
1 answer

How to authenticate with the correct account in GCP from Command Line?

Hi@akhtar, You can check your accounts from the ...READ MORE

answered Sep 24, 2020 in GCP by MD
• 95,440 points
422 views
0 votes
1 answer
+3 votes
1 answer

GCP Error: "Unable to connect on port 22"

You may see this error under the ...READ MORE

answered Sep 24, 2019 in GCP by Sirajul
• 59,230 points
7,593 views
0 votes
1 answer
0 votes
2 answers
0 votes
1 answer
0 votes
1 answer

Changing Machine Instance on GCP

There is no direct method to change ...READ MORE

answered Aug 1, 2018 in GCP by kurt_cobain
• 9,390 points
403 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Is it possible to require labels on creation of any of the GCP resources?

The labels are a simple way to group resources that are connected or related to others. For example you'll ...READ MORE

answered Nov 5, 2019 in GCP by anonymous
• 59,230 points
2,024 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP