Google Cloud Support V2 Client - Class ListCommentsRequest (1.0.1)

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
Name Description
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
Type Description
string

setParent

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

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

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

Returns
Type Description
int

setPageSize

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

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

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

Returns
Type Description
string

setPageToken

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

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

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

Returns
Type Description
ListCommentsRequest