Google-Google Cloud Platform
gcloud logging read で textPayload だけを表示する(--format フラグの使い方) gcloud logging read で textPayload だけを表示する(--format フラグの使い方) はじめに 結論: --format="value(textPayload)" バリエーション タイムスタンプも一緒に表…
Cloud Run でバッチ処理を構築する際、「どうやってセキュアに認証を通せばいいのか?」「ADC(Application Default Credentials)って具体的にどう動いているのか?」と気になったので調べてみました。 Cloud Run × Cloud Scheduler の認証・権限管理(ADC…
Google Cloud Pricing Calculator Google Cloud Pricing Calculator は GCP のコストを計算するための試算ツールです。 利用を検討している機能やインスタンス数、使用容量などの必要事項を入力すると、機能ごとの利用料金をシミュレーションできます。 利用…
Secret Manager に登録した情報を呼び出す処理を調べてみました。 コード from google.cloud import secretmanager class SecretManagerUtil: def get_secret(self, project_id: str, secret_id: str) -> str: client = secretmanager.SecretManagerServiceC…