LoginSignup
0
0

More than 1 year has passed since last update.

【GCP】Cloud ShellからGCP APIの有効化を試しました

Posted at

GCPのAPI有効化について

GCPコンソール画面から「APIとサービス」をクリックし、必要なAPIを選択して、有効化することができます。
一方で、GCPのCloud ShellからもAPIを有効化することができます。

Cloud Shellコマンド

利用したコマンドは下記になります。

$ gcloud services enable SERVICE_NAME

Cloud ShellコマンドからAPIを有効化

コマンドを実行する前に、「Cloud Vision API」は無効であることを確認できております。
image.png

試しで「Cloud Vision API」のAPIをCloud Shellから叩きました。

$ gcloud services enable vision.googleapis.com
Operation "operations/acat.p2-XXXXXXXXXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" finished successfully.

すると、「APIとサービス」に「Cloud Vision API」が有効化していることを確認できました。
image.png

参考資料:

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0