Google Cloud Support V2 Client - Class ListCommentsRequest (0.1.2)

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

The request message for the ListComments endpoint.

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

Namespace

Google \ Cloud \ Support \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

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

↳ page_size int

The maximum number of comments fetched with each request. Defaults to 10.

↳ page_token string

A token identifying the page of results to return. If unspecified, the first page is retrieved.

getParent

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

Returns
TypeDescription
string

setParent

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

The maximum number of comments fetched with each request. Defaults to 10.

Returns
TypeDescription
int

setPageSize

The maximum number of comments fetched with each request. Defaults to 10.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

A token identifying the page of results to return. If unspecified, the first page is retrieved.

Returns
TypeDescription
string

setPageToken

A token identifying the page of results to return. If unspecified, the first page is retrieved.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
parent string

Required. The resource name of Case object for which comments should be listed. Please see Google\Cloud\Support\V2\CommentServiceClient::caseName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\Support\V2\ListCommentsRequest