Google Cloud Web Risk v1 API - Class WebRiskService (2.4.0)

public static class WebRiskService

Reference documentation and code samples for the Google Cloud Web Risk v1 API class WebRiskService.

Web Risk API defines an interface to detect malicious URLs on your website and in client applications.

Inheritance

object > WebRiskService

Namespace

Google.Cloud.WebRisk.V1

Assembly

Google.Cloud.WebRisk.V1.dll

Methods

BindService(WebRiskServiceBase)

public static ServerServiceDefinition BindService(WebRiskService.WebRiskServiceBase serviceImpl)

Creates service definition that can be registered with a server

Parameter
NameDescription
serviceImplWebRiskServiceWebRiskServiceBase

An object implementing the server-side handling logic.

Returns
TypeDescription
ServerServiceDefinition

BindService(ServiceBinderBase, WebRiskServiceBase)

public static void BindService(ServiceBinderBase serviceBinder, WebRiskService.WebRiskServiceBase serviceImpl)

Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.

Parameters
NameDescription
serviceBinderServiceBinderBase

Service methods will be bound by calling AddMethod on this object.

serviceImplWebRiskServiceWebRiskServiceBase

An object implementing the server-side handling logic.