< Back

Get-GDriveItemRevisionList

Mon Jan 13, 2020 10:24 pm

NAME Get-GDriveItemRevisionList



SYNOPSIS

Get GoogleDrive Item revisions





SYNTAX

Get-GDriveItemRevisionList [-ID] <String> [-Property <String[]>] [-NextPageToken <String>] [-PageSize <Int32>]

-AccessToken <String> [<CommonParameters>]



Get-GDriveItemRevisionList [-ID] <String> [-Property <String[]>] [-AllResults] [-PageSize <Int32>] -AccessToken

<String> [<CommonParameters>]





DESCRIPTION

Get GoogleDrive Item revisions





PARAMETERS

-ID <String>

File ID to return revisions from



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Property <String[]>



Required? false

Position? named

Default value @()

Accept pipeline input? false

Accept wildcard characters? false



-NextPageToken <String>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-AllResults [<SwitchParameter>]



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-PageSize <Int32>

seems for now it keep only 101 revision in free version



Required? false

Position? named

Default value 200

Accept pipeline input? false

Accept wildcard characters? false



-AccessToken <String>

Access Token for request



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

Json with item revisions list as PSObject





NOTES





Author: Max Kozlov



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-GDriveItemRevisionList -AccessToken $access_token -ID '0BAjkl4cBDNVpVbB5nGhKQ195aU0'















RELATED LINKS

Get-GDriveItemContent

Set-GDriveItemProperty

Set-GDriveItemContent

https://developers.google.com/drive/api ... sions/list