-
Notifications
You must be signed in to change notification settings - Fork 10
New GDriveUserObj
Creates a new Drive API User object.
New-GDriveUserObj [[-DisplayName] <String>] [[-EmailAddress] <String>] [[-Me] <Boolean>]
[[-PermissionId] <String>] [[-PhotoLink] <String>] [-WhatIf] [-Confirm]
This provides a Cmdlet-Based approach to creating a User 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.User
PS C:\> New-GDriveUserObj
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.
A plain text displayable name for this user.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 0
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseThe email address of the user. This may not be present in certain contexts if the user has not made their email address visible to the requester.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseWhether this user is the requesting user.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseThe user's ID as visible in Permission resources.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseA link to the user's profile photo, if available.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseA plain text displayable name for this user.
The email address of the user. This may not be present in certain contexts if the user has not made their email address visible to the requester.
Whether this user is the requesting user.
The user's ID as visible in Permission resources.
A link to the user's profile photo, if available.
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