-
Notifications
You must be signed in to change notification settings - Fork 67
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
v2.26.2 adding features and squashing bugs #181
Conversation
## 2.26.2 * [Issue #177](#177) * Added: Fields parameter to Get-GSDriveFileList * [Issue #178](#178) * Fixed: Start-GSDriveFileUpload failing on PowerShell 4.0 * [Issue #179](#179) * Added: Ims parameter to both New-GSUser and Update-GSUser * Added: Add-GSUserIm function to create correct type for new Ims parameter. * Miscellaneous * Added: Clear-PSGSuiteServiceCache to clear the cache and dispose of any remaining open web clients. * Improved overall service caching. * Added: Support for Cloud-Identity licenses for Get-GSUserLicense * Added: OutputType for all applicable Helper functions (i.e. Add-GSUserIm)
@@ -113,7 +122,6 @@ function Get-GSDriveFileList { | |||
try { | |||
$request = $service.Files.List() | |||
$request.SupportsTeamDrives = $true | |||
$request.Fields = 'files,kind,nextPageToken' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@WJurecki - Previously, 'files,kind,nextPageToken'
was what was always being sent for the Fields parameter with no option to specify the Fields desired due to missing the parameter on the function itself. To prevent an disruption, I set the default value of the newly added Fields
parameter to @('files','kind','nextPageToken')
, resolving to the same.
To your point though in #177 , since it now only gets attached to the body if the Fields parameter is explicitly used, the default value never is passed so Fields isn't set by default anymore.
2.26.2
Fields
parameter toGet-GSDriveFileList
Start-GSDriveFileUpload
failing on PowerShell 4.0Ims
parameter to bothNew-GSUser
andUpdate-GSUser
Add-GSUserIm
function to create correct type for newIms
parameter.Clear-PSGSuiteServiceCache
to clear the cache and dispose of any remaining open web clients.Cloud-Identity
licenses forGet-GSUserLicense
OutputType
for all applicable Helper functions (i.e.Add-GSUserIm
)