Class ProjectsResource.AlertsResource.BenignRequest
Marks an alert as benign - BENIGN.
Inheritance
ProjectsResource.AlertsResource.BenignRequest
Inherited Members
Namespace: Google.Apis.ThreatIntelligenceService.v1beta
Assembly: Google.Apis.ThreatIntelligenceService.v1beta.dll
Syntax
public class ProjectsResource.AlertsResource.BenignRequest : ThreatIntelligenceServiceBaseServiceRequest<Alert>, IClientServiceRequest<Alert>, IClientServiceRequest
Constructors
BenignRequest(IClientService, MarkAlertAsBenignRequest, string)
Constructs a new Benign request.
Declaration
public BenignRequest(IClientService service, MarkAlertAsBenignRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| MarkAlertAsBenignRequest | body | |
| string | name |
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
Name
Required. Name of the alert to mark as a benign. Format: projects/{project}/alerts/{alert}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes Benign parameter list.
Declaration
protected override void InitParameters()