-
Notifications
You must be signed in to change notification settings - Fork 10
New GDriveFileCapabilitiesDataObj
Creates a new Drive API File.CapabilitiesData object.
New-GDriveFileCapabilitiesDataObj [[-CanComment] <Boolean>] [[-CanCopy] <Boolean>] [[-CanEdit] <Boolean>]
[[-CanReadRevisions] <Boolean>] [[-CanShare] <Boolean>] [-WhatIf] [-Confirm]
This provides a Cmdlet-Based approach to creating a File.CapabilitiesData object which may be required as a parameter for some other Cmdlets in the Drive API category.
You could alternately create this object by calling New-Object -TypeName Google.Apis.Drive.v3.Data.File.CapabilitiesData
PS C:\> New-GDriveFileCapabilitiesDataObj
This automatically generated example serves to show the bare minimum required to call this Cmdlet.
Additional examples may be added, viewed and edited by users on the community wiki at the URL found in the related links.
Whether the user can comment on the file.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 0
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Whether the user can copy the file.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Whether the user can edit the file's content.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Whether the current user has read access to the Revisions resource of the file.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Whether the user can modify the file's permissions and sharing settings.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Whether the user can comment on the file.
Whether the user can copy the file.
Whether the user can edit the file's content.
Whether the current user has read access to the Revisions resource of the file.
Whether the user can modify the file's permissions and sharing settings.
Part of the gShell Project, relating to the Google Drive API; see Related Links or use the -Online parameter.
News - Get Started - Cmdlet Index - FAQ - Discussion - Downloads