class CustomersCasesComments extends Resource (View source)

The "comments" collection of methods.

Typical usage is:

 $cloudsupportService = new Google\Service\CloudSupport(...);
 $comments = $cloudsupportService->customers_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)

listCustomersCasesComments(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 listCustomersCasesComments(string $parent, array $optParams = [])

Retrieve all Comments associated with the Case object.

(comments.listCustomersCasesComments)

Parameters

string $parent

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

array $optParams

Optional parameters.

Return Value

ListCommentsResponse