Class ProjectsResource.FindingsResource.SearchRequest
SearchFindings is a more powerful version of ListFindings that supports complex queries like "findings
for issues" using functions such as has_issue and has_asset in the query string. Example to search
for findings for a specific issue: has_issue("name=\"vaults/vault-12345/issues/issue-12345\""))
Inheritance
Inherited Members
Namespace: Google.Apis.ThreatIntelligenceService.v1beta
Assembly: Google.Apis.ThreatIntelligenceService.v1beta.dll
Syntax
public class ProjectsResource.FindingsResource.SearchRequest : ThreatIntelligenceServiceBaseServiceRequest<SearchFindingsResponse>, IClientServiceRequest<SearchFindingsResponse>, IClientServiceRequest
Constructors
SearchRequest(IClientService, string)
Constructs a new Search request.
Declaration
public SearchRequest(IClientService service, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | parent |
Properties
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".
Declaration
[RequestParameter("orderBy", RequestParameterType.Query)]
public virtual string OrderBy { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PageSize
Optional. Page size.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
PageToken
Optional. Page token.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Parent
Required. Parent of the findings. Format: vaults/{vault}
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
| Type | Description |
|---|---|
| string |
Query
Optional. Query on what findings will be returned. This supports the same filter criteria as
FindingService.ListFindings as well as the following relationship queries has_issue and
has_asset. Examples: - has_issue("name="vaults/vault-12345/issues/issue-12345"") -
has_asset("name="vaults/vault-12345/assets/asset-12345"")
Declaration
[RequestParameter("query", RequestParameterType.Query)]
public virtual string Query { get; set; }
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 Search parameter list.
Declaration
protected override void InitParameters()