Skip to content

Conversation

@rsgowman
Copy link
Member

@rsgowman rsgowman commented Feb 4, 2020

Corresponding doc change to enable it: http://cl/282953279

@rsgowman rsgowman self-assigned this Feb 4, 2020
Base automatically changed from rsgowman/bulk_get to dev May 20, 2020 20:48
@rsgowman rsgowman force-pushed the rsgowman/bulk_get_delete_snippets branch 2 times, most recently from 4c449aa to 7555672 Compare May 29, 2020 18:57
Corresponding doc change to enable it: http://cl/282953279
@rsgowman rsgowman force-pushed the rsgowman/bulk_get_delete_snippets branch from 7555672 to da2fc72 Compare May 29, 2020 18:57
@rsgowman rsgowman requested review from hiranya911 and samtstern May 29, 2020 18:58
@rsgowman rsgowman assigned hiranya911 and samtstern and unassigned rsgowman May 29, 2020
Copy link
Contributor

@hiranya911 hiranya911 left a comment

Choose a reason for hiding this comment

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

LGTM with a suggestion

snippets/auth.go Outdated
providerUID := "google_uid1"
// [START bulk_get_users_golang]
getUsersResult, err := client.GetUsers(ctx, []auth.UserIdentifier{
auth.UIDIdentifier{UID: uid},
Copy link
Contributor

Choose a reason for hiding this comment

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

May be inline the values of uid, email etc for clarity.

Copy link
Member Author

Choose a reason for hiding this comment

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

Done. I've also applied this to bulk delete (despite it just being uids.)

@hiranya911 hiranya911 assigned rsgowman and unassigned hiranya911 and samtstern May 29, 2020
@rsgowman rsgowman merged commit f2eb40b into dev May 29, 2020
@rsgowman rsgowman deleted the rsgowman/bulk_get_delete_snippets branch May 29, 2020 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants