Gmail API Python Client in Cloud Function
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- Meio dia
- Facilidade para iniciantes
- 15/100
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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?
- Linguagem predominante
- Python
- Estrelas
- 1.4k
- Forks
- 917
- Merge médio
- 3min
- PRs com merge (30d)
- 1
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de googleworkspace/python-samples
-
ايقاف البحث الأمنTalvez livre de novo @sqrrrl assumiu há 400 dias e não há nenhum pull request aberto. Aberta
googleworkspace/python-samples#2434 · 1 responsável ·
-
Slow Uploads using Google Drive API with PythonTalvez livre de novo @sqrrrl assumiu há 740 dias e não há nenhum pull request aberto. Aberta
googleworkspace/python-samples#1852 · 1 comentário · 1 responsável ·
-
403 error from google after a few successful runs of my codeTalvez livre de novo @vinay-google assumiu há 912 dias e não há nenhum pull request aberto. Aberta
googleworkspace/python-samples#1424 · 1 responsável ·
-
How to see the progress of files which is getting uploadedTalvez livre de novo @vinay-google assumiu há 928 dias e não há nenhum pull request aberto. Aberta
googleworkspace/python-samples#1404 · 1 responsável ·
-
Phyton SamplesTalvez livre de novo @PierrickVoulet assumiu há 975 dias e não há nenhum pull request aberto. Aberta
googleworkspace/python-samples#1279 · 1 responsável ·
Todas as issues de googleworkspace/python-samples
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 2 dias
-
Reference check: findingsAbertaaudit-reference-check
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia
-
site-bug triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 77/100
canonical/paas-charm#407 · 1 comentário ·
Mantenedores costumam responder em até 5 dias