The "comments" collection of methods.
More...
|
| call ($name, $arguments, $expected_class=null) |
| TODO: This function needs simplifying.
|
|
| get ($commentId, $optParams=array()) |
| Get a comment.
|
|
| insert ($activityId, Google_Service_PlusDomains_Comment $postBody, $optParams=array()) |
| Create a new comment in reply to an activity.
|
|
| listComments ($activityId, $optParams=array()) |
| List all of the comments for an activity.
|
|
|
| convertToArrayAndStripNulls ($o) |
|
The "comments" collection of methods.
Typical usage is: $plusDomainsService = new Google_Service_PlusDomains(...); $comments = $plusDomainsService->comments;
◆ call()
Google_Service_Resource::call |
( |
| $name, |
|
|
| $arguments, |
|
|
| $expected_class = null ) |
|
inherited |
TODO: This function needs simplifying.
- Parameters
-
$name | |
$arguments | |
$expected_class | - optional, the expected class name |
- Return values
-
Google_Http_Request|expected_class | |
- Exceptions
-
◆ get()
Google_Service_PlusDomains_Comments_Resource::get |
( |
| $commentId, |
|
|
| $optParams = array() ) |
Get a comment.
(comments.get)
- Parameters
-
string | $commentId | The ID of the comment to get. |
array | $optParams | Optional parameters. |
- Return values
-
◆ insert()
Create a new comment in reply to an activity.
(comments.insert)
- Parameters
-
string | $activityId | The ID of the activity to reply to. |
Google_Comment | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
◆ listComments()
Google_Service_PlusDomains_Comments_Resource::listComments |
( |
| $activityId, |
|
|
| $optParams = array() ) |
List all of the comments for an activity.
(comments.listComments)
- Parameters
-
string | $activityId | The ID of the activity to get comments for. |
array | $optParams | Optional parameters. |
@opt_param string pageToken The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of "nextPageToken" from the previous response. @opt_param string sortOrder The order in which to sort the list of comments. @opt_param string maxResults The maximum number of comments to include in the response, which is used for paging. For any response, the actual number returned might be less than the specified maxResults.
- Return values
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/PlusDomains.php