[英]How to add the GCP (Google Cloud Storage) storage properties in application.yml in spring boot
I am currently trying to set up an GCP storage bucket with my Spring Boot webapp for adding/removing csv and jmx files.我目前正在尝试使用我的 Spring Boot webapp 设置一个 GCP 存储桶,用于添加/删除 csv 和 jmx 文件。
The guide I am using the following properties in application.yml :我在 application.yml 中使用以下属性的指南:
gcpProperties:
gcs:
bucket:
name: dpaas-assets
scripts: gs://assets/jmeter-scripts/
resources: gs://assets/resources/
You can check their Spring Cloud GCP Storage Starter Example as a Starting Guide.您可以查看他们的Spring Cloud GCP Storage Starter Example作为入门指南。 If it doesn't help, providing more info would help us to help you!如果没有帮助,提供更多信息将有助于我们为您提供帮助!
eg: the error you are getting, a sample of your project, stack trace, etc例如:您收到的错误、您的项目示例、堆栈跟踪等
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.