Class CasesResource.ListRequest
Retrieve all cases under the specified parent. Note: Listing cases under an Organization returns only the
cases directly parented by that organization. To retrieve all cases under an organization, including cases
parented by projects under that organization, use cases.search.
Inheritance
Inherited Members
Namespace: Google.Apis.CloudSupport.v2beta
Assembly: Google.Apis.CloudSupport.v2beta.dll
Syntax
public class CasesResource.ListRequest : CloudSupportBaseServiceRequest<ListCasesResponse>, IClientServiceRequest<ListCasesResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | parent |
Properties
Filter
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)
Declaration
[RequestParameter("filter", RequestParameterType.Query)]
public virtual string Filter { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
PageSize
The maximum number of cases fetched with each request. Defaults to 10.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
PageToken
A token identifying the page of results to return. If unspecified, the first page is retrieved.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Parent
Required. The fully qualified name of parent resource to list cases under.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()