Class UrlsResource.SearchRequest
Searches for URLs matching known threats. Each URL and it's host-suffix and path-prefix expressions (up to a limited depth) are checked. This means that the response may contain URLs that were not included in the request, but are expressions of the requested URLs.
Inheritance
UrlsResource.SearchRequest
Implements
Inherited Members
Namespace: Google.Apis.Safebrowsing.v5
Assembly: Google.Apis.Safebrowsing.v5.dll
Syntax
public class UrlsResource.SearchRequest : SafebrowsingBaseServiceRequest<GoogleSecuritySafebrowsingV5SearchUrlsResponse>, IClientServiceRequest<GoogleSecuritySafebrowsingV5SearchUrlsResponse>, IClientServiceRequest
Constructors
SearchRequest(IClientService)
Constructs a new Search request.
Declaration
public SearchRequest(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
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
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Urls
Required. The URLs to be looked up. Clients MUST NOT send more than 50 URLs.
Declaration
[RequestParameter("urls", RequestParameterType.Query)]
public virtual Repeatable<string> Urls { get; set; }
Property Value
| Type | Description |
|---|---|
| Repeatable<string> |
Methods
InitParameters()
Initializes Search parameter list.
Declaration
protected override void InitParameters()