Skip to content

Conversation

@diegomarquezp
Copy link
Contributor

@diegomarquezp diegomarquezp commented Nov 6, 2025

b/414071824

@product-auto-label product-auto-label bot added the size: xs Pull request size is extra small. label Nov 6, 2025
@diegomarquezp diegomarquezp marked this pull request as ready for review November 6, 2025 18:32
@diegomarquezp diegomarquezp requested review from a team as code owners November 6, 2025 18:32
@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 6, 2025

@diegomarquezp diegomarquezp requested a review from lqiu96 November 9, 2025 03:37
return new Builder();
}

/** Builder of IdTokenCredentials. For usage and examples, see {@link IdTokenCredentials} */
Copy link
Member

Choose a reason for hiding this comment

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

Hey sorry, I just noticed this PR. I don't think this change actually address the feedback from the ticket.

We should add javadocs for:

  1. setIdTokenProvider - This cannot be set to null
  2. setTargetAudience - should not be set for userCredentials as targetAudience cannot be set for UserCredentials. For other credentials, this cannot be null.

Additionally, it looks like setOptions can be null, though I think we probably should check for nullness here as well

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

Labels

size: xs Pull request size is extra small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants