Reference documentation and code samples for the Google Cloud Support V2 Client class ListCasesRequest.
The request message for the ListCases endpoint.
Generated from protobuf message google.cloud.support.v2.ListCasesRequest
Namespace
Google \ Cloud \ Support \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The name of a parent to list cases under.
↳ filter
string
An expression used to filter cases. If it's an empty string, then no filtering happens. Otherwise, the endpoint returns the cases that match the filter. Expressions use the following fields separated by AND
and specified with =
: - state
: Can be OPEN
or CLOSED
. - priority
: Can be P0
, P1
, P2
, P3
, or P4
. You can specify multiple values for priority using the OR
operator. For example, priority=P1 OR priority=P2
. - creator.email
: The email address of the case creator. EXAMPLES: - state=CLOSED
- state=OPEN AND creator.email="tester@example.com"
- state=OPEN AND (priority=P0 OR priority=P1)
↳ page_size
int
The maximum number of cases 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 name of a parent to list cases under.
string
setParent
Required. The name of a parent to list cases under.
var
string
$this
getFilter
An expression used to filter cases.
If it's an empty string, then no filtering happens. Otherwise, the endpoint
returns the cases that match the filter.
Expressions use the following fields separated by AND
and specified with =
:
-
state
: Can beOPEN
orCLOSED
. -
priority
: Can beP0
,P1
,P2
,P3
, orP4
. You can specify multiple values for priority using theOR
operator. For example,priority=P1 OR priority=P2
. -
creator.email
: The email address of the case creator. EXAMPLES: -
state=CLOSED
-
state=OPEN AND creator.email="tester@example.com"
-
state=OPEN AND (priority=P0 OR priority=P1)
string
setFilter
An expression used to filter cases.
If it's an empty string, then no filtering happens. Otherwise, the endpoint
returns the cases that match the filter.
Expressions use the following fields separated by AND
and specified with =
:
-
state
: Can beOPEN
orCLOSED
. -
priority
: Can beP0
,P1
,P2
,P3
, orP4
. You can specify multiple values for priority using theOR
operator. For example,priority=P1 OR priority=P2
. -
creator.email
: The email address of the case creator. EXAMPLES: -
state=CLOSED
-
state=OPEN AND creator.email="tester@example.com"
-
state=OPEN AND (priority=P0 OR priority=P1)
var
string
$this
getPageSize
The maximum number of cases fetched with each request. Defaults to 10.
int
setPageSize
The maximum number of cases fetched with each request. Defaults to 10.
var
int
$this
getPageToken
A token identifying the page of results to return. If unspecified, the first page is retrieved.
string
setPageToken
A token identifying the page of results to return. If unspecified, the first page is retrieved.
var
string
$this
static::build
parent
string
Required. The name of a parent to list cases under. Please see CaseServiceClient::projectName() for help formatting this field.