Create
|
|||||
|
|
Creates a new reply to a comment
Authorization
To use this building block you will have to grant access to at least one of the following scopes:
- See, edit, create, and delete all of your Google Drive files
- View and manage Google Drive files and folders that you have opened or created with this app
Input
This building block consumes 17 input parameters
Name | Format | Description |
---|---|---|
fileId Required |
STRING |
The ID of the file |
commentId Required |
STRING |
The ID of the comment |
action |
STRING |
The action the reply performed to the parent comment. Valid values are:
|
author |
OBJECT |
Information about a Drive user |
author.displayName |
STRING |
A plain text displayable name for this user |
author.emailAddress |
STRING |
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 |
author.kind |
STRING |
Identifies what kind of resource this is. Value: the fixed string "drive#user" |
author.me |
BOOLEAN |
Whether this user is the requesting user |
author.permissionId |
STRING |
The user's ID as visible in Permission resources |
author.photoLink |
STRING |
A link to the user's profile photo, if available |
content |
STRING |
The plain text content of the reply. This field is used for setting the content, while htmlContent should be displayed. This is required on creates if no action is specified |
createdTime |
DATE_TIME |
The time at which the reply was created (RFC 3339 date-time) |
deleted |
BOOLEAN |
Whether the reply has been deleted. A deleted reply has no content |
htmlContent |
STRING |
The content of the reply with HTML formatting |
id |
STRING |
The ID of the reply |
kind |
STRING |
Identifies what kind of resource this is. Value: the fixed string "drive#reply" |
modifiedTime |
DATE_TIME |
The last time the reply was modified (RFC 3339 date-time) |
= Parameter name
= Format
fileId STRING Required The ID of the file |
commentId STRING Required The ID of the comment |
action STRING The action the reply performed to the parent comment. Valid values are:
|
author OBJECT Information about a Drive user |
author.displayName STRING A plain text displayable name for this user |
author.emailAddress STRING 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 |
author.kind STRING Identifies what kind of resource this is. Value: the fixed string "drive#user" |
author.me BOOLEAN Whether this user is the requesting user |
author.permissionId STRING The user's ID as visible in Permission resources |
author.photoLink STRING A link to the user's profile photo, if available |
content STRING The plain text content of the reply. This field is used for setting the content, while htmlContent should be displayed. This is required on creates if no action is specified |
createdTime DATE_TIME The time at which the reply was created (RFC 3339 date-time) |
deleted BOOLEAN Whether the reply has been deleted. A deleted reply has no content |
htmlContent STRING The content of the reply with HTML formatting |
id STRING The ID of the reply |
kind STRING Identifies what kind of resource this is. Value: the fixed string "drive#reply" |
modifiedTime DATE_TIME The last time the reply was modified (RFC 3339 date-time) |
Output
This building block provides 15 output parameters
Name | Format | Description |
---|---|---|
action |
STRING |
The action the reply performed to the parent comment. Valid values are:
|
author |
OBJECT |
Information about a Drive user |
author.displayName |
STRING |
A plain text displayable name for this user |
author.emailAddress |
STRING |
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 |
author.kind |
STRING |
Identifies what kind of resource this is. Value: the fixed string "drive#user" |
author.me |
BOOLEAN |
Whether this user is the requesting user |
author.permissionId |
STRING |
The user's ID as visible in Permission resources |
author.photoLink |
STRING |
A link to the user's profile photo, if available |
content |
STRING |
The plain text content of the reply. This field is used for setting the content, while htmlContent should be displayed. This is required on creates if no action is specified |
createdTime |
DATE_TIME |
The time at which the reply was created (RFC 3339 date-time) |
deleted |
BOOLEAN |
Whether the reply has been deleted. A deleted reply has no content |
htmlContent |
STRING |
The content of the reply with HTML formatting |
id |
STRING |
The ID of the reply |
kind |
STRING |
Identifies what kind of resource this is. Value: the fixed string "drive#reply" |
modifiedTime |
DATE_TIME |
The last time the reply was modified (RFC 3339 date-time) |
= Parameter name
= Format
action STRING The action the reply performed to the parent comment. Valid values are:
|
author OBJECT Information about a Drive user |
author.displayName STRING A plain text displayable name for this user |
author.emailAddress STRING 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 |
author.kind STRING Identifies what kind of resource this is. Value: the fixed string "drive#user" |
author.me BOOLEAN Whether this user is the requesting user |
author.permissionId STRING The user's ID as visible in Permission resources |
author.photoLink STRING A link to the user's profile photo, if available |
content STRING The plain text content of the reply. This field is used for setting the content, while htmlContent should be displayed. This is required on creates if no action is specified |
createdTime DATE_TIME The time at which the reply was created (RFC 3339 date-time) |
deleted BOOLEAN Whether the reply has been deleted. A deleted reply has no content |
htmlContent STRING The content of the reply with HTML formatting |
id STRING The ID of the reply |
kind STRING Identifies what kind of resource this is. Value: the fixed string "drive#reply" |
modifiedTime DATE_TIME The last time the reply was modified (RFC 3339 date-time) |