-
Notifications
You must be signed in to change notification settings - Fork 10
New GDriveCommentObj
Creates a new Drive API Comment object.
New-GDriveCommentObj [[-Anchor] <String>] [[-Author] <User>] [[-Content] <String>] [[-CreatedTime] <DateTime>]
[[-Deleted] <Boolean>] [[-HtmlContent] <String>] [[-Id] <String>] [[-ModifiedTime] <DateTime>]
[[-QuotedFileContent] <QuotedFileContentData>] [[-Replies] <Reply[]>] [[-Resolved] <Boolean>] [-WhatIf]
[-Confirm]
This provides a Cmdlet-Based approach to creating a Comment 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.Comment
PS C:\> New-GDriveCommentObj
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 region of the document represented as a JSON string. See anchor documentation for details on how to define and interpret anchor properties.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 0
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
The user who created the comment.
Type: User
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
The plain text content of the comment. This field is used for setting the content, while htmlContent should be displayed.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
The time at which the comment was created (RFC 3339 date-time).
Type: DateTime
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Whether the comment has been deleted. A deleted comment has no content.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
The content of the comment with HTML formatting.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
The ID of the comment.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 6
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
The last time the comment or any of its replies was modified (RFC 3339 date-time).
Type: DateTime
Parameter Sets: (All)
Aliases:
Required: False
Position: 7
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
The file content to which the comment refers, typically within the anchor region. For a text file, for example, this would be the text at the location of the comment.
Type: QuotedFileContentData
Parameter Sets: (All)
Aliases:
Required: False
Position: 8
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
The full list of replies to the comment in chronological order.
Type: Reply[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 9
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Whether the comment has been resolved by one of its replies.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 10
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
A region of the document represented as a JSON string. See anchor documentation for details on how to define and interpret anchor properties.
The user who created the comment.
The plain text content of the comment. This field is used for setting the content, while htmlContent should be displayed.
The time at which the comment was created (RFC 3339 date-time).
Whether the comment has been deleted. A deleted comment has no content.
The content of the comment with HTML formatting.
The ID of the comment.
The last time the comment or any of its replies was modified (RFC 3339 date-time).
The file content to which the comment refers, typically within the anchor region. For a text file, for example, this would be the text at the location of the comment.
The full list of replies to the comment in chronological order.
Whether the comment has been resolved by one of its replies.
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