Questions tagged [google-cloud-sdk]

Google Cloud SDK contains tools and libraries that enable you to easily create and manage resources on Google Cloud Platform, including App Engine, Compute Engine, Cloud Storage, BigQuery, Cloud SQL, and Cloud DNS.

Google Cloud SDK contains tools and libraries that enable you to easily create and manage resources on Google Cloud Platform, including App Engine, Compute Engine, Cloud Storage, BigQuery, Cloud SQL, and Cloud DNS.

System Requirements: Google Cloud SDK runs on Windows, Mac OS X and Linux, and requires Python 2.7.x. Some of the individual tools bundled with Cloud SDK have more stringent requirements: using App Engine tools for Java development requires Java 1.7+.

501 questions
13
votes
3 answers

GOOGLE_APPLICATION_CREDENTIALS error

I am trying to use the google speech API for converting an audio file to text, but facing some problems with the documentation.I have enabled the speech API and created an service account file. I also got the service account credentials activated.…
JSnow
  • 929
  • 2
  • 11
  • 24
12
votes
5 answers

Authorizing client libraries without access to a web browser - gcloud auth application-default login

When I use to run either command: gcloud auth application-default login OR for a specific docker container docker exec -it 822c4c491383 /home/astro/google-cloud-sdk/bin/gcloud auth application-default login. My command line would give me a link to…
12
votes
1 answer

Angular 7 Routing in Google Cloud App Engine not working

I've published an angular 7 Application to Google Cloud App Engine. The index page is loading, but the subdirectorys give me Error: Not Found The requested URL /admin was not found on this server. This is my app.yaml: runtime:…
12
votes
5 answers

There are older versions of Google Cloud Platform tools: Docker

After updating gcloud I get this warning, but how do I do it(Should I remove Docker)? WARNING: There are older versions of Google Cloud Platform tools on your system PATH. Please remove the following to avoid accidentally invoking these old…
Chris G.
  • 23,930
  • 48
  • 177
  • 302
11
votes
6 answers

anthoscli ERROR on installing Google Cloud SDK on Apple Silicon / Big Sur

I am searching for the solution for some weeks now. A couple weeks ago I received the new MacBook Pro with the Apple Silicon processor and with Big Sur installed on it. When I tried to install Google Cloud SDK, because I need that for my work, I get…
11
votes
5 answers

gcloud stop working - "was unexpected at this time."

I just update my google cloud SDK on windows 10 (gcloud components update). After the update the gcloud command stop working. All I get is (for example : gcloud -h): PATH\lib\gcloud.py" -h" was unexpected at this time. I try to re-install but it…
Tal Yahav
  • 159
  • 8
11
votes
5 answers

Error "No URLs matched" When copying Google cloud bucket data to my local computer?

I am trying to download a folder which is inside my Google Cloud Bucket, I read from google docs gsutil/commands/cp and executed below the line. gsutil cp -r appengine.googleapis.com gs://my-bucket But i am getting the error CommandException: No…
11
votes
1 answer

Passing Google service account credentials to Docker

My use case is a little different than others with this problem, so a little up-front description: I am working on Google Cloud and have a "dockerized" Django app. Part of the app depends on using gsutil for moving files to/from a Google Storage…
10
votes
1 answer

gcloud components update fails with UnicodeDecodeError in MacOS

gcloud components update fails with UnicodeDecodeError in MacOS. Its not clear what would be causing this issue in MacOS and it says Hotfix for UnicodeDecodeError issue affecting logging. How do I get past this issue? This is my current…
Rpj
  • 5,348
  • 16
  • 62
  • 122
10
votes
1 answer

gcloud command to retrieve metadata of a specific key

Is there any way to retrieve custom instance metadata value for a specific key ? I tried gcloud compute instances describe instance-1 command, this return whole meta data text. But i just want to retrieve the value of a specific key only.
10
votes
2 answers

User Google Cloud credentials inside ephemeral container?

We use Docker containers for most of our work, including development on our own machines. These are ephemeral (started each time we run a test, for example). For AWS, the auth is easy - we have our keys in our environment, and those are passed…
Maximilian
  • 7,512
  • 3
  • 50
  • 63
10
votes
2 answers

Every time I try to deploy I get - (gcloud.preview.app.deploy) Error Response: [4] DEADLINE_EXCEEDED

I'm new to Google cloud and I'm trying to do my first deploy to it. My first deploy is a Ruby on Rails project. I'm basically following this guide in the google cloud documentation. The only difference being that I'm using my own project instead of…
Rob
  • 1,835
  • 2
  • 25
  • 53
9
votes
3 answers

App Engine Python 2.7 - ImportError: cannot import name apiproxy

With the upgrade to Google Cloud SDK 360.0.0-0 i started seeing the following error when running the dev_appserver.py command for my Python 2.7 App Engine project. File "/home/..................py", line 6, in from…
danielx
  • 1,785
  • 1
  • 12
  • 23
9
votes
2 answers

"bq" command line tool throws CERTIFICATE_VERIFY_FAILED

Update (2019-02-07): the issue has now been fixed, so if you're still running into this, try gcloud components update. At some point during the past few monthts, my bq tool stopped working. Even a simple thing shows this error: $ bq show BigQuery…
Thomas
  • 174,939
  • 50
  • 355
  • 478
9
votes
5 answers

gsutil no longer works?

I've been using gcloud and gsutil for a while but now suddenly for any gsutil command I run I get errors: Traceback (most recent call last): File "/Users/julian/google-cloud-sdk/bin/bootstrapping/gsutil.py", line 12, in import bootstrapping …
julian
  • 368
  • 3
  • 12
1
2
3
33 34