Google Cloud Platform

Cloud Google Tools for Eclipse (175.0.0 and later)

https://cloud.google.com/eclipse/docs/

https://cloud.google.com/sdk/docs/

Steps:

1.For Eclipse 4.5 and up

GoogleCloudSDKInstaller.exe (Python is required)

Cloud SDK component manager (in order to allow deploy using gcloud commands)

Cloud Client Libraries (according to programming language)

  1. Run Cloud SDK Installer

Automatically this command is run: gcloud init

Network diagnostic detects and fixes local network connection issues.
Checking network connection...done.
Reachability Check passed.
Network diagnostic (1/1 checks) passed.

You must log in to continue. Would you like to log in (Y/n)?  y

Your browser has been opened to visit:

    https://accounts.google.com/o/oauth2/auth?redirect_uri=http%3A%2F%2Flocalhost%3A8085%2F&prompt=select_account&response_type=code&client_id=32555940559.apps.googleusercontent.com&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcloud-platform+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fappengine.admin+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcompute+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Faccounts.reauth&access_type=offline


You are logged in as: [[email protected]].

Pick cloud project to use:
 [1] analog-context-119417
 [2] cloudbrokerapp
 [3] fabled-plating-119022
 [4] fir-demo-project
 [5] icarus-app-e76aa
 [6] nina-gmr
 [7] Create a new project
Please enter numeric choice or text value (must exactly match list
item):  6

Your current project has been set to: [nina-gmr].

API [compute.googleapis.com] not enabled on project [800433750345].
Would you like to enable and retry?  (Y/n)?  n
  1. Execute next as administrator
gcloud components install app-engine-java

Output:

Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>gcloud components install app-engine-java

Restarting command:
  $ gcloud components install app-engine-java


C:\WINDOWS\system32>
  1. Eclipse plugin from Marketplace

Output:

Your current Cloud SDK version is: 175.0.0
Installing components from version: 175.0.0

┌────────────────────────────────────────────────────┐
│        These components will be installed.         │
├──────────────────────────────┬─────────┬───────────┤
│             Name             │ Version │    Size   │
├──────────────────────────────┼─────────┼───────────┤
│ gcloud app Java Extensions   │  1.9.57 │ 116.9 MiB │
│ gcloud app Python Extensions │  1.9.61 │   6.2 MiB │
└──────────────────────────────┴─────────┴───────────┘

For the latest full release notes, please visit:
  https://cloud.google.com/sdk/release_notes

Do you want to continue (Y/n)?  Y

╔════════════════════════════════════════════════════════════╗
╠═ Creating update staging area                             ═╣
╠════════════════════════════════════════════════════════════╣
╠═ Installing: gcloud app Java Extensions                   ═╣
╠════════════════════════════════════════════════════════════╣
╠═ Installing: gcloud app Python Extensions                 ═╣
╠════════════════════════════════════════════════════════════╣
╠═ Creating backup and activating new installation          ═╣
╚════════════════════════════════════════════════════════════╝

Performing post processing steps...done.

Update done!

Press any key to continue . . .

Troubleshooting

When Google Cloud SDK Tools was installed using a different account, it is required to change the account with the following steps:

  1. Remove above directories from C:\Users\gisela.medina\AppData\Roaming\gcloud

  1. Run gcloud config set account [email protected]
  2. Run gcloud auth login
  3. Run gcloud auth application-default login
  4. Ready

References

https://drive.google.com/drive/folders/0BxOSXa0QJuHVUGJHZExNWk1UNFk

results matching ""

    No results matching ""