Google Cloud Support V2 Client - Class ListCommentsResponse (0.1.2)

Reference documentation and code samples for the Google Cloud Support V2 Client class ListCommentsResponse.

The response message for the ListComments endpoint.

Generated from protobuf message google.cloud.support.v2.ListCommentsResponse

Namespace

Google \ Cloud \ Support \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ comments array<Google\Cloud\Support\V2\Comment>

The list of Comments associated with the given Case.

↳ next_page_token string

A token to retrieve the next page of results. This should be set in the page_token field of subsequent ListCommentsRequest message that is issued. If unspecified, there are no more results to retrieve.

getComments

The list of Comments associated with the given Case.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setComments

The list of Comments associated with the given Case.

Parameter
NameDescription
var array<Google\Cloud\Support\V2\Comment>
Returns
TypeDescription
$this

getNextPageToken

A token to retrieve the next page of results. This should be set in the page_token field of subsequent ListCommentsRequest message that is issued. If unspecified, there are no more results to retrieve.

Returns
TypeDescription
string

setNextPageToken

A token to retrieve the next page of results. This should be set in the page_token field of subsequent ListCommentsRequest message that is issued. If unspecified, there are no more results to retrieve.

Parameter
NameDescription
var string
Returns
TypeDescription
$this