Skip to content

Add an example of how to change the oauth endpoint#1972

Closed
DKbyo wants to merge 1 commit into
googleapis:mainfrom
DKbyo:main
Closed

Add an example of how to change the oauth endpoint#1972
DKbyo wants to merge 1 commit into
googleapis:mainfrom
DKbyo:main

Conversation

@DKbyo

@DKbyo DKbyo commented Apr 5, 2023

Copy link
Copy Markdown

@product-auto-label product-auto-label Bot added size: s Pull request size is small. api: storage Issues related to the googleapis/java-storage API. labels Apr 5, 2023

public class SetClientEndpoint {

public static ServiceAccountCredentials setOAuthEndpoint(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally we would make a seperate sample (including a seperate class, test etc) if we were going to add a sample like this and not add it into the existing sample for another use case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: storage Issues related to the googleapis/java-storage API. size: s Pull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[java-storage] Improve the example of setClientEndpoint adding how to change oauth endpoint

2 participants