Skip to content

Commit

Permalink
fix: adding default parameters to updated interfaces (#1622)
Browse files Browse the repository at this point in the history
* fix: adding default parameters to updated interfaces

* fix: adding default UD parameter to client

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
TimurSadykov and gcf-owl-bot[bot] authored Oct 30, 2024
1 parent 9e2789a commit 8cf1cb1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion google/auth/impersonated_credentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,12 @@


def _make_iam_token_request(
request, principal, headers, body, universe_domain, iam_endpoint_override=None
request,
principal,
headers,
body,
universe_domain=credentials.DEFAULT_UNIVERSE_DOMAIN,
iam_endpoint_override=None,
):
"""Makes a request to the Google Cloud IAM service for an access token.
Args:
Expand Down
2 changes: 1 addition & 1 deletion google/oauth2/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ def call_iam_generate_id_token_endpoint(
signer_email,
audience,
access_token,
universe_domain,
universe_domain=credentials.DEFAULT_UNIVERSE_DOMAIN,
):
"""Call iam.generateIdToken endpoint to get ID token.
Expand Down

0 comments on commit 8cf1cb1

Please sign in to comment.