Gmail API Python Client in Cloud Function
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 半日
- 初心者へのやさしさ
- 15/100
調査の方向性
The send call is gmail_client.users().messages().send(...) from the linked Python guide, but the bucket writes at /bucket/emailSubject/attachmentFileName most likely come from the user's own Cloud Function code, not from this repo. Start by finding where attachments are written to Cloud Storage in that code. Done means a maintainer reply or doc note that says which code controls the upload and how to skip it.
索引モデルが issue の本文から書いたものです。
説明
Problem
I'm using Gmail API to send emails with attachments within a cloud function. using gmail api client
gmail_client.users().messages().send(userId='me', body={'raw': raw_string}).execute()
following this Guide: https://developers.google.com/gmail/api/guides/sending#python
I implemented it and it is working fine, but the problem is that the attachments are saved (uploaded) to a cloud storage whenever an email is sent, in the following path
/bucket/emailSubject/attachmentFileName
I don't wish this to happen, I don't want the attachments to be saved in cloud storage, is there a way I can prevent this?
- 主要言語
- Python
- スター
- 1.4k
- フォーク
- 917
- 平均マージ
- 3分
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
googleworkspace/python-samples のほかの issue
-
ايقاف البحث الأمن再び着手できるかも @sqrrrl が 400 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
googleworkspace/python-samples#2434 · 担当者 1 名 ·
-
Slow Uploads using Google Drive API with Python再び着手できるかも @sqrrrl が 740 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
googleworkspace/python-samples#1852 · コメント 1 件 · 担当者 1 名 ·
-
403 error from google after a few successful runs of my code再び着手できるかも @vinay-google が 912 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
googleworkspace/python-samples#1424 · 担当者 1 名 ·
-
How to see the progress of files which is getting uploaded再び着手できるかも @vinay-google が 928 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
googleworkspace/python-samples#1404 · 担当者 1 名 ·
-
Phyton Samples再び着手できるかも @PierrickVoulet が 975 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
googleworkspace/python-samples#1279 · 担当者 1 名 ·
googleworkspace/python-samples の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 2 日以内に返信
-
audit-reference-check
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
site-bug triage
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
canonical/paas-charm#407 · コメント 1 件 ·
メンテナーはふだん 5 日以内に返信