Google Cloud Support V2 Client - Class ListCommentsRequest (1.2.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 name of the case for which to list comments.

↳ page_size
int

The maximum number of comments to fetch. Defaults to 10.

↳ page_token
string

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

getParent

Required. The name of the case for which to list comments.

Returns
Type
Description
string

setParent

Required. The name of the case for which to list comments.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getPageSize

The maximum number of comments to fetch. Defaults to 10.

Returns
Type
Description
int

setPageSize

The maximum number of comments to fetch. 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 returned.

Returns
Type
Description
string

setPageToken

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

Parameter
Name
Description
var
string
Returns
Type
Description
$this

static::build

Parameter
Name
Description
parent
string

Required. The name of the case for which to list comments. Please see CommentServiceClient::caseName() for help formatting this field.

Returns
Type
Description
Create a Mobile Website
View Site in Mobile | Classic
Share by: