Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for User Locations #168

Closed
gfree23 opened this issue Mar 28, 2019 · 3 comments
Closed

Support for User Locations #168

gfree23 opened this issue Mar 28, 2019 · 3 comments
Assignees

Comments

@gfree23
Copy link

gfree23 commented Mar 28, 2019

It would be great to have support for user locations on the Update-GSUser and New-GSUser.
https://developers.google.com/admin-sdk/directory/v1/reference/users/insert

locations[].area
locations[].buildingId
locations[].customType
locations[].deskCode
locations[].floorName
locations[].floorSection
locations[].type

Thanks!

@scrthq scrthq self-assigned this Mar 28, 2019
@scrthq
Copy link
Member

scrthq commented Mar 28, 2019

Hey @gfree23 - I'm on it! Should have this turned around by this weekend, completely makes sense! I'll keep you updated here

@ghost ghost added the work in progress label Mar 30, 2019
@scrthq scrthq closed this as completed in f561cfa Mar 30, 2019
scrthq added a commit that referenced this issue Mar 30, 2019
…support

## 2.26.0

* [Issue #169](#169)
  * Fixed: `Get-GSGmailMessage` fails to download attachments containing invalid characters (e.g. `:`)
* [Issue #168](#168)
  * Added: `Add-GSUserLocation`
  * Updated: `New-GSUser` and `Update-GSUser` to add in Location support
* Miscellaneous
  * Improved pipeline support for the `User` parameter across all pertinent functions, i.e. Drive, Calendar, Gmail, Sheets & Tasks APIs.
@ghost ghost removed the work in progress label Mar 30, 2019
@scrthq
Copy link
Member

scrthq commented Mar 30, 2019

Hey @gfree23 - Location support is being deployed in v2.26.0 right now! This will behave identically to ExternalIds/Organizations/Phones in that there is a new Helper function named Add-GSUserLocation which will build the correct data type.

Feel free to reach out if you have any questions or issues!

@gfree23
Copy link
Author

gfree23 commented Mar 30, 2019

Wow, thanks @scrthq ! I really appreciate it!

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

No branches or pull requests

2 participants