cost 129 ms
为什么我不能在 Firebase 函数中使用 ENV 变量 - Why can't I use ENV variables with Firebase functions

为什么我不能像使用 Google Cloud Functions 那样使用 env 变量? 据我了解,Firebase 函数位于 Google Cloud 之上。 使用 Firebase 函数,您可以使用环境配置,但不一样。 我已经完成了这两种实现,但我发现使用谷歌云函数处理环境变量更容易。 也 ...

如何获取推送到谷歌容器注册表的镜像的最新 20 个左右镜像版本(标签)? - How to get the latest 20 or so image versions(tags) of an image pushed to google container registry?

我需要使用 API 推送到 gcr 的 20-30 个最新图像版本的列表。 我知道我们可以使用https://cloud.google.com/sdk/gcloud/reference/container/images/list 。 但我希望它使用 apis。 我使用了https://github ...

Google Cloud PubSub提供-订阅的拉取请求发送到暂时超载的服务器。 请再试一次 - Google Cloud PubSub giving - A pull requests for subscription went to a server that is temporarily overloaded. Please try the request again

我有16位工作人员订阅了一个主题,他们正在使用拉机制从队列中检索消息。 我经常收到Error: A pull requests for subscription '/subscriptions/quizizz-org/socket-worker' went to a server that i ...

GCloud pubsub 模拟器不尊重“PUBSUB_EMULATOR_HOST”环境变量 - GCloud pubsub emulator doesn't respect "PUBSUB_EMULATOR_HOST" environment variable

我尝试在本地运行 pubsub 模拟器,并使用我在 pubsub 上运行的现有服务向它发送消息。 没有收到消息,我得到的只是日志中的身份验证错误。 我正在请求从 dotnet 和 nodejs 发布和拉取。 C# NodeJs ...

使用nodejs gcloud api在Google云端存储中移动/重命名文件夹 - Move/rename folder in Google Cloud Storage using nodejs gcloud api

我正在尝试使用gcloud api重命名或移动谷歌云存储中的文件夹。 类似的问题解释了如何删除文件夹: 使用nodejs gcloud api删除Google云端存储中的文件夹 但是如何重命名文件夹呢? 或者转移到另一条路? ...

一次请求后,Speech-Api每日请求配额计数器增加太多 - Speech-Api daily requests quota counter increses too much after one request

我知道这里列出的限制,因此我需要对配额限制进行一些说明。 我正在使用Node.js库通过存储在存储桶中的.raw文件制作一个简单的异步语音转文本API。 请求完成后,在检查API Manager流量时 ,每日请求计数器将增加50到100个请求。 我没有使用任何类型的请求库或其他框架。 只 ...

gcloud nodejs模块可以互相看到吗? - Can gcloud nodejs modules see each other?

我正在开发一个在节点服务器内部运行客户端js代码的应用程序(我知道这是不安全的)。 我使用node vm ,尽管看起来很安全,但我想将其隔离在另一个模块中,因此即使某些恶意代码读取了我所有的节点服务器代码和配置,它也看不到重要文件。 我正在阅读https://cloud.google ...

如何使用node.js为要上载到Google云端存储的文件设置内容类型 - How to set the Content-Type for a file being uploaded to Google Cloud Storage using node.js

我正在编写代码,使用gcloud-node将使用node-fetch获取的文件上传到Google云端存储中的存储桶。 到目前为止一切正常,但我无法找到如何在GCloud上设置文件的Content-Type ,否则文件将作为application/octet-stream下载。 这是我 ...

使用 nodejs gcloud api 删除 Google Cloud Storage 中的文件夹 - Delete folder in Google Cloud Storage using nodejs gcloud api

我正在使用gcloud nodejs api访问 Google Cloud Storage。 我可以单独保存/删除/存在文件,但我没有找到删除文件夹的方法,甚至没有使用gcloud nodejs api列出文件夹中的文件。 我看到有人说 GCS 中的文件夹层次结构不是真正的树结构,而只是名称。 所 ...

Google数据存储区前置条件失败并带有时间戳 - Google datastore precondition fail with timestamps

您好,我正在尝试从node.js api查询google datastore条目。 我有一个具有所有者(字符串),开始时间(日期时间)和结束时间(日期时间)的实体,我试图查询与给定所有者字符串匹配并在给定日期之后开始的所有实体,并使用以下内容功能(es2016)。 index.yaml ...


 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM