Class ProjectsResource.AlertsResource.ListRequest
Get a list of alerts that meet the filter criteria.
Inheritance
Inherited Members
Namespace: Google.Apis.ThreatIntelligenceService.v1beta
Assembly: Google.Apis.ThreatIntelligenceService.v1beta.dll
Syntax
public class ProjectsResource.AlertsResource.ListRequest : ThreatIntelligenceServiceBaseServiceRequest<ListAlertsResponse>, IClientServiceRequest<ListAlertsResponse>, 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
Optional. Filter criteria. Supported fields for filtering include: * audit.create_time *
audit.creator * audit.update_time * audit.updater * detail.data_leak.discovery_document_ids
detail.data_leak.severity*detail.detail_type*detail.initial_access_broker.discovery_document_ids*detail.initial_access_broker.severity*detail.insider_threat.discovery_document_ids*detail.insider_threat.severity*finding_countpriority_analysis.priority_level*relevance_analysis.confidence*relevance_analysis.relevance_level*relevance_analysis.relevant*severity_analysis.severity_level*stateExamples: *detail.detail_type = "initial_access_broker"*detail.detail_type != "data_leak"*detail.insider_threat.severity = "HIGH"*audit.create_time >= "2026-04-03T00:00:00Z" AND audit.create_time < "2026-04-06T00:00:00Z"*state = "NEW" OR state = "TRIAGED"*severity_analysis.severity_level = "SEVERITY_LEVEL_CRITICAL"
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
OrderBy
Optional. Order by criteria in the csv format: "field1, field2 desc" or "field1, field2" or "field1
asc, field2". If a field is specified without asc or desc, ascending order is used by default.
Supported fields for ordering are identical to those supported for filtering. Examples: *
audit.create_time desc * audit.update_time asc * audit.create_time desc, severity_analysis.severity_level desc
Declaration
[RequestParameter("orderBy", RequestParameterType.Query)]
public virtual string OrderBy { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PageSize
Optional. Page size. Default to 100 alerts per page. Maximum is 1000 alerts per page.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
PageToken
Optional. Page token to retrieve the next page of results.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Parent
Required. Parent of the alerts. Format: projects/{project}
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()