class ProjectsCasesComments extends Resource (View source)

The "comments" collection of methods.

Typical usage is:

 $cloudsupportService = new Google\Service\CloudSupport(...);
 $comments = $cloudsupportService->projects_cases_comments;

Methods

create(string $parent, Comment $postBody, array $optParams = [])

Add a new comment to the specified Case. The comment object must have the following fields set: body. (comments.create)

listProjectsCasesComments(string $parent, array $optParams = [])

Retrieve all Comments associated with the Case object.

Details

Comment create(string $parent, Comment $postBody, array $optParams = [])

Add a new comment to the specified Case. The comment object must have the following fields set: body. (comments.create)

Parameters

string $parent

Required. The resource name of Case to which this comment should be added.

Comment $postBody
array $optParams

Optional parameters.

Return Value

Comment

ListCommentsResponse listProjectsCasesComments(string $parent, array $optParams = [])

Retrieve all Comments associated with the Case object.

(comments.listProjectsCasesComments)

Parameters

string $parent

Required. The resource name of Case object for which comments should be listed.

array $optParams

Optional parameters.

Return Value

ListCommentsResponse