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

Update/Set group type ie distribution/discussion/collaborative inbox #184

Closed
n-searle opened this issue Apr 30, 2019 · 7 comments
Closed
Assignees

Comments

@n-searle
Copy link

Hiya,

Is it possible to add the functionality to set group type with Set-GSGroupSettings / Update-GSGroupSettings.

I would like to be able to create groups and set them to one of the following:
image

Cheers

P.S the cached sessions are working excellently :D

@scrthq scrthq self-assigned this May 2, 2019
@scrthq
Copy link
Member

scrthq commented May 2, 2019

Hey @n-searle - I don't think the API supports those types directly out of the box, but I should be able to add something like a Template parameter that has those as options and wraps the actual settings that correspond to each. Checking it out!

@scrthq
Copy link
Member

scrthq commented May 2, 2019

and awesome to hear about the cached sessions! that's fantastic :D

@scrthq
Copy link
Member

scrthq commented May 2, 2019

So it looks like the only Group Type that can be adjusted with the latest version of the API is Enabling/Disabling the Collaborative Inbox feature:

image

I'l get that added in ASAP and see if there's a way to pass the canned settings for the other group types or if those truly aren't doable

@n-searle
Copy link
Author

n-searle commented May 3, 2019

Hey,

That sounds great, the collaborative inbox feature was the one I was mainly looking for but if there is a way to template the others that sounds even better.

Thanks for looking into it :)

@scrthq
Copy link
Member

scrthq commented May 4, 2019

hey @n-searle - this will likely take me a little bit to implement, primarily since the field is read-only either until Monday when the update for that API goes live or possibly indefinitely read-only, but I'll need to wait until at least next week to test. I'll try and work on what I can in the meantime :D

scrthq added a commit that referenced this issue Jun 28, 2019
scrthq added a commit that referenced this issue Jun 28, 2019
## 2.29.0

* [Issue #201](#201)
  * Fixed: Fields parameter on remaining `*-GSDriveFile` functions
* [Issue #197](#197)
  * Updated: All remaining `*-TeamDrive` functions now use the new Drives namespace. All previous functions names have been converted to aliases to maintain backwards compatibility.
  * Added: `Hide-GSDrive`
  * Added: `Show-GSDrive`
* [Issue #184](#184)
  * Added: `EnableCollaborativeInbox` parameter to `Update-GSGroupSettings`
  * Added: `WhoCanDiscoverGroup` parameter to `Update-GSGroupSettings`
scrthq added a commit that referenced this issue Jun 28, 2019
## 2.29.0

* [Issue #201](#201)
  * Fixed: Fields parameter on remaining *-GSDriveFile functions
* [Issue #197](#197)
  * Updated: All remaining *-TeamDrive functions now use the new Drives namespace. All previous functions names have been converted to aliases to maintain backwards compatibility.
  * Added: Hide-GSDrive
  * Added: Show-GSDrive
* [Issue #184](#184)
  * Added: EnableCollaborativeInbox parameter to Update-GSGroupSettings
  * Added: WhoCanDiscoverGroup parameter to Update-GSGroupSettings.
@scrthq
Copy link
Member

scrthq commented Jun 28, 2019

Hey @n-searle - This should be doable now in 2.29.0! EnableCollaborativeInbox is a new Switch parameter on Update-GSGroupSettings. Pass as-is to enable, otherwise flag as false to disable, i.e. Update-GSGroupSettings -EnableCollaborativeInbox:$false ....

@scrthq scrthq closed this as completed Jun 28, 2019
@n-searle
Copy link
Author

Heya,

Awesome, thanks for implementing :)

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