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
8
votes
2 answers

Doesn't OAuth 2.0 PKCE Flow open the door to masquerading/phishing attacks?

With OAuth 2.0 PKCE Flow for Installed App (e.g. a desktop app/cli/client library), it seems that nothing is preventing an attacker to: obtain client_id by using the original app (client_id is public and can be easily copied from browser bar/source…
dliu
  • 305
  • 3
  • 7
8
votes
1 answer

What is the difference between "gcloud container clusters" and "kubectl" commands when using them to provision K8S cluster on GCP?

I see 2 commands which can operate K8S cluster on GCP. One is gcloud container clusters and the other is kubectl. Can anyone tell me what is the difference between them?
8
votes
1 answer

Google Cloud SDK installation error: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 197: ordinal not in range(128)

Google Cloud SDK installation process is failing on my machine(MAC) and giving me following stack trace. Traceback (most recent call last): File "/Users/ttn/Desktop/google-cloud-sdk/bin/bootstrapping/install.py", line 218, in main() …
Gaurav Gupta
  • 4,586
  • 4
  • 39
  • 72
8
votes
3 answers

Network connection problems in Google Cloud SDK while I have access to google or website like google app engine in my browser

I created an account on Google App Engine, then I installed google-cloud-sdk by gcloud init, and get the following error: Pick configuration to use: [1] Re-initialize this configuration [a] with new settings [2] Create a new configuration [3]…
Xue Guo
  • 103
  • 1
  • 1
  • 5
7
votes
7 answers

gcloud update components - permission denied on file ...\kuberun_licenses\LICENSES.txt

Start udating gcloud: Your current Cloud SDK version is: 321.0.0 You will be upgraded to version: 322.0.0 ┌──────────────────────────────────────────────────┐ │ These components will be updated. …
Helloworld
  • 79
  • 4
7
votes
3 answers

Deployed wrong app to Google Cloud, how to prevent?

When I run gcloud app deploy I get the message: ERROR: (gcloud.app.deploy) The required property [project] is not currently set. You may set it for your current workspace by running: $ gcloud config set project VALUE or it can be set temporarily…
nateM
  • 502
  • 4
  • 10
  • 25
7
votes
5 answers

Error when installing Google Cloud SDK on Ubuntu, how to fix?

I'm attempting to set up Google Cloud SDK CLI to manage some compute resources, and I'm just following a guide for this part. I ran this command and it installed lots of stuff successfully but ran into the problem below. Can anyone suggest a…
Jules
  • 563
  • 1
  • 5
  • 16
7
votes
2 answers

How to get file size of objects from google cloud python library?

Problem Hello everyone. I am attempting to obtain the file size of an object using the google-cloud python library. This is my current code. from google.cloud import storage client = storage.Client() bucket =…
AlanSTACK
  • 5,525
  • 3
  • 40
  • 99
7
votes
3 answers

"sudo: gcloud: command not found" when running Google Cloud SDK

Running Ubuntu. Installed Google Cloud SDK via: $ sudo curl https://sdk.cloud.google.com | sudo bash $ exec -l $SHELL Running "gcloud" works just fine. Running "sudo gcloud" results in the following error: sudo: gcloud: command not found Oddly,…
AngryWhopper
  • 393
  • 3
  • 4
  • 16
7
votes
1 answer

Error when creating indexes for flexible Cloud Datastore: Unexpected attribute 'indexes' for object of type AppInfoExternal

When I access to the Cloud Datastore web management, there are no indexes listed under the "Indexes" section and I would like to define explicitly some indexes in order to run advanced queries. I have a yaml file that looks like: indexes: -…
6
votes
2 answers

Visual Studio perpetually reinstalls Cloud SDK

I have Visual Studio installed on Manjaro. After the last system update, Visual Studio stopped working with the Cloud Code extension. It perpetually installs and uninstalls the extension and throws the next error message: Cloud SDK was installed…
6
votes
3 answers

Using airflow with BigQuery and cloud sdk gives error "User must be authenticated when user project is provided"

I am trying to run airflow locally. My DAG has a BigQueryOperator and I want to use the cloud sdk for authentication. I run "gcloud auth application-default login" in order to get the json file with the credentials. I try to test my Dag running the…
Helga Holmestad
  • 197
  • 2
  • 10
6
votes
2 answers

Trying to run cbt (Cloud Bigtable Command Line Tool) from Google SDK

I am trying to run the Cloud Bigtable Command Line Tool but seeing this error when I run cbt help or any other cbt commands: -bash: cbt: command not found I have verified that the gcloud component is installed when I run gcloud components…
6
votes
3 answers

Google Cloud SDK Installation: Unzip Failed: Error opening zip file

I am getting Unzip Failed: Error opening zip file while installing Google Cloud SDK, I am using windows 7,64 bit. I have checked the zip/unzip software also, it is working fine. here is the error Can anybody help.
vinayak khosla
  • 101
  • 1
  • 6
6
votes
2 answers

pylint can't find google.cloud

I've installed the Google Cloud SDK and want the code I'm writing to pass pylint. Unfortunately any time I import anything from google.* I get an error: E: 10, 0: No name 'cloud' in module 'path/to/my/current/module.google' (no-name-in-module) E:…
laurenelizabeth
  • 786
  • 1
  • 7
  • 19
1 2
3
33 34