public sealed class ListCasesRequest : IMessage<ListCasesRequest>, IEquatable<ListCasesRequest>, IDeepCloneable<ListCasesRequest>, IBufferMessage, IMessage, IPageRequest
Reference documentation and code samples for the Google Cloud Support v2 API class ListCasesRequest.
The request message for the ListCases endpoint.
Implements
IMessageListCasesRequest, IEquatableListCasesRequest, IDeepCloneableListCasesRequest, IBufferMessage, IMessage, IPageRequestNamespace
Google.Cloud.Support.V2Assembly
Google.Cloud.Support.V2.dll
Constructors
ListCasesRequest()
public ListCasesRequest()
ListCasesRequest(ListCasesRequest)
public ListCasesRequest(ListCasesRequest other)
Parameter | |
---|---|
Name | Description |
other |
ListCasesRequest |
Properties
Filter
public string Filter { get; set; }
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 areOPEN
orCLOSED
.priority
: The accepted values areP0
,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)
Property Value | |
---|---|
Type | Description |
string |
PageSize
public int PageSize { get; set; }
The maximum number of cases fetched with each request. Defaults to 10.
Property Value | |
---|---|
Type | Description |
int |
PageToken
public string PageToken { get; set; }
A token identifying the page of results to return. If unspecified, the first page is retrieved.
Property Value | |
---|---|
Type | Description |
string |
Parent
public string Parent { get; set; }
Required. The fully qualified name of parent resource to list cases under.
Property Value | |
---|---|
Type | Description |
string |
ParentAsOrganizationName
public OrganizationName ParentAsOrganizationName { get; set; }
OrganizationName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
OrganizationName |
ParentAsProjectName
public ProjectName ParentAsProjectName { get; set; }
ProjectName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
ProjectName |
ParentAsResourceName
public IResourceName ParentAsResourceName { get; set; }
IResourceName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
IResourceName |