Show / Hide Table of Contents

Class UrisResource.SearchRequest

This method is used to check whether a URI is on a given threatList. Multiple threatLists may be searched in a single query. The response will list all requested threatLists the URI was found to match. If the URI is not found on any of the requested ThreatList an empty response will be returned.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleCloudWebriskV1SearchUrisResponse>
WebRiskBaseServiceRequest<GoogleCloudWebriskV1SearchUrisResponse>
UrisResource.SearchRequest
Implements
IClientServiceRequest<GoogleCloudWebriskV1SearchUrisResponse>
IClientServiceRequest
Inherited Members
WebRiskBaseServiceRequest<GoogleCloudWebriskV1SearchUrisResponse>.Xgafv
WebRiskBaseServiceRequest<GoogleCloudWebriskV1SearchUrisResponse>.AccessToken
WebRiskBaseServiceRequest<GoogleCloudWebriskV1SearchUrisResponse>.Alt
WebRiskBaseServiceRequest<GoogleCloudWebriskV1SearchUrisResponse>.Callback
WebRiskBaseServiceRequest<GoogleCloudWebriskV1SearchUrisResponse>.Fields
WebRiskBaseServiceRequest<GoogleCloudWebriskV1SearchUrisResponse>.Key
WebRiskBaseServiceRequest<GoogleCloudWebriskV1SearchUrisResponse>.OauthToken
WebRiskBaseServiceRequest<GoogleCloudWebriskV1SearchUrisResponse>.PrettyPrint
WebRiskBaseServiceRequest<GoogleCloudWebriskV1SearchUrisResponse>.QuotaUser
WebRiskBaseServiceRequest<GoogleCloudWebriskV1SearchUrisResponse>.UploadType
WebRiskBaseServiceRequest<GoogleCloudWebriskV1SearchUrisResponse>.UploadProtocol
ClientServiceRequest<GoogleCloudWebriskV1SearchUrisResponse>.Execute()
ClientServiceRequest<GoogleCloudWebriskV1SearchUrisResponse>.ExecuteAsStream()
ClientServiceRequest<GoogleCloudWebriskV1SearchUrisResponse>.ExecuteAsync()
ClientServiceRequest<GoogleCloudWebriskV1SearchUrisResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleCloudWebriskV1SearchUrisResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleCloudWebriskV1SearchUrisResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleCloudWebriskV1SearchUrisResponse>.CreateRequest(bool?)
ClientServiceRequest<GoogleCloudWebriskV1SearchUrisResponse>.GenerateRequestUri()
ClientServiceRequest<GoogleCloudWebriskV1SearchUrisResponse>.GetBody()
ClientServiceRequest<GoogleCloudWebriskV1SearchUrisResponse>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleCloudWebriskV1SearchUrisResponse>.ETagAction
ClientServiceRequest<GoogleCloudWebriskV1SearchUrisResponse>.ModifyRequest
ClientServiceRequest<GoogleCloudWebriskV1SearchUrisResponse>.ValidateParameters
ClientServiceRequest<GoogleCloudWebriskV1SearchUrisResponse>.RequestParameters
ClientServiceRequest<GoogleCloudWebriskV1SearchUrisResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.WebRisk.v1
Assembly: Google.Apis.WebRisk.v1.dll
Syntax
public class UrisResource.SearchRequest : WebRiskBaseServiceRequest<GoogleCloudWebriskV1SearchUrisResponse>, IClientServiceRequest<GoogleCloudWebriskV1SearchUrisResponse>, 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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.WebRisk.v1.Data.GoogleCloudWebriskV1SearchUrisResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.WebRisk.v1.Data.GoogleCloudWebriskV1SearchUrisResponse>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.WebRisk.v1.Data.GoogleCloudWebriskV1SearchUrisResponse>.RestPath

ThreatTypes

Required. The ThreatLists to search in. Multiple ThreatLists may be specified.

Declaration
[RequestParameter("threatTypes", RequestParameterType.Query)]
public virtual UrisResource.SearchRequest.ThreatTypesEnum? ThreatTypes { get; set; }
Property Value
Type Description
UrisResource.SearchRequest.ThreatTypesEnum?
Remarks

Use this property to set a single value for the parameter, or ThreatTypesList to set multiple values. Do not set both properties.

ThreatTypesList

Required. The ThreatLists to search in. Multiple ThreatLists may be specified.

Declaration
[RequestParameter("threatTypes", RequestParameterType.Query)]
public virtual Repeatable<UrisResource.SearchRequest.ThreatTypesEnum> ThreatTypesList { get; set; }
Property Value
Type Description
Repeatable<UrisResource.SearchRequest.ThreatTypesEnum>
Remarks

Use this property to set one or more values for the parameter. Do not set both this property and ThreatTypes.

Uri

Required. The URI to be checked for matches.

Declaration
[RequestParameter("uri", RequestParameterType.Query)]
public virtual string Uri { get; set; }
Property Value
Type Description
string

Methods

InitParameters()

Initializes Search parameter list.

Declaration
protected override void InitParameters()
Overrides
WebRiskBaseServiceRequest<GoogleCloudWebriskV1SearchUrisResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top Generated by DocFX