ListCasesRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The request message for the ListCases endpoint.
Attributes | |
---|---|
Name | Description |
parent |
str
Required. The fully qualified name of parent resource to list cases under. |
filter |
str
An expression written in filter language. If non-empty, the query returns the cases that match the filter. Else, the query doesn't filter the cases. Filter expressions use the following fields with the operators equals ( = ) and AND :
- state : The accepted values are OPEN or
CLOSED .
- priority : The accepted values are 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 |
str
A token identifying the page of results to return. If unspecified, the first page is retrieved. |