Class ThreatHitsResource
The "threatHits" collection of methods.
Inheritance
System.Object
ThreatHitsResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Safebrowsing.v4
Assembly: Google.Apis.Safebrowsing.v4.dll
Syntax
public class ThreatHitsResource
Constructors
ThreatHitsResource(IClientService)
Constructs a new resource.
Declaration
public ThreatHitsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
Google.Apis.Services.IClientService | service |
Methods
Create(GoogleSecuritySafebrowsingV4ThreatHit)
Reports a Safe Browsing threat list hit to Google. Only projects with TRUSTED_REPORTER visibility can use this method.
Declaration
public virtual ThreatHitsResource.CreateRequest Create(GoogleSecuritySafebrowsingV4ThreatHit body)
Parameters
Type | Name | Description |
---|---|---|
GoogleSecuritySafebrowsingV4ThreatHit | body | The body of the request. |
Returns
Type | Description |
---|---|
ThreatHitsResource.CreateRequest |