Class HashesResource.SearchRequest
Search for full hashes matching the specified prefixes. This is a custom method as defined by https://google.aip.dev/136 (the custom method refers to this method having a custom name within Google's general API development nomenclature; it does not refer to using a custom HTTP method).
Inheritance
HashesResource.SearchRequest
Implements
Inherited Members
Namespace: Google.Apis.Safebrowsing.v5
Assembly: Google.Apis.Safebrowsing.v5.dll
Syntax
public class HashesResource.SearchRequest : SafebrowsingBaseServiceRequest<GoogleSecuritySafebrowsingV5SearchHashesResponse>, IClientServiceRequest<GoogleSecuritySafebrowsingV5SearchHashesResponse>, IClientServiceRequest
Constructors
SearchRequest(IClientService)
Constructs a new Search request.
Declaration
public SearchRequest(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
HashPrefixes
Required. The hash prefixes to be looked up. Clients MUST NOT send more than 1000 hash prefixes. However, following the URL processing procedure, clients SHOULD NOT need to send more than 30 hash prefixes. Currently each hash prefix is required to be exactly 4 bytes long. This MAY be relaxed in the future.
Declaration
[RequestParameter("hashPrefixes", RequestParameterType.Query)]
public virtual Repeatable<string> HashPrefixes { get; set; }
Property Value
Type | Description |
---|---|
Repeatable<string> |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Safebrowsing.v5.Data.GoogleSecuritySafebrowsingV5SearchHashesResponse>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Safebrowsing.v5.Data.GoogleSecuritySafebrowsingV5SearchHashesResponse>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Safebrowsing.v5.Data.GoogleSecuritySafebrowsingV5SearchHashesResponse>.RestPath
Methods
InitParameters()
Initializes Search parameter list.
Declaration
protected override void InitParameters()