[java-storage] Improve the example of setClientEndpoint adding how to change oauth endpoint
还没有人认领这个 Issue。
评估
调研方向
从 samples/snippets/src/main/java/com/example/storage/bucket/SetClientEndpoint.java 开始,并将其与 request-endpoints 文档进行比较。确认 Private Service Connect 设置如何更改 OAuth2 token endpoint,然后更新示例或记录相关指导,以便用户能够在该环境中获取 access token。
由索引模型根据 Issue 内容生成。
描述
Currently the code here [1] is being used as a reference here [2] however in an on-prem environment using Private Service Connect is also necessary to change the oauth2 token endpoint in order to get the access token.
Is your feature request related to a problem? Please describe.
setClientEndpoint example is not complete if you would like to use this library on a PSC environment
Describe the solution you'd like
Improve the current setClientEndpoint example [1]
Describe alternatives you've considered
Add a new section on [2], it looks like every library might need this feature as well
[1] https://github.com/googleapis/java-storage/blob/main/samples/snippets/src/main/java/com/example/storage/bucket/SetClientEndpoint.java
[2] https://cloud.google.com/storage/docs/request-endpoints
- 主要语言
- Java
- 星标
- 2.1k
- 派生
- 1.2k
- 平均合并
- 1 天 21 小时
- 30 天内合并 PR
- 131
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
googleapis/google-cloud-java 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
googleapis/google-cloud-java#14132 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
googleapis/google-cloud-java#14025 ·
-
priority: p2 type: bug
难度 2/5 1-3 小时 新手友好度 78/100
googleapis/google-cloud-java#13255 · 2 条评论 ·
-
priority: p3
难度 2/5 1-3 小时 新手友好度 72/100
googleapis/google-cloud-java#13032 ·
-
priority: p3 type: feature request
难度 2/5 1-3 小时 新手友好度 65/100
googleapis/google-cloud-java#12071 ·
查看 googleapis/google-cloud-java 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
infinispan/infinispan#18150 ·
-
难度 2/5 1-3 小时 新手友好度 84/100
-
untriaged
难度 2/5 1-3 小时 新手友好度 82/100
opensearch-project/k-NN#3597 ·
-
bug
难度 2/5 1-3 小时 新手友好度 88/100
-
bug
难度 2/5 1-3 小时 新手友好度 82/100