Google Cloud Web Risk v1 API - Class WebRiskService (2.6.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
Name Description
serviceImpl WebRiskServiceWebRiskServiceBase

An object implementing the server-side handling logic.

Returns
Type Description
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
Name Description
serviceBinder ServiceBinderBase

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

serviceImpl WebRiskServiceWebRiskServiceBase

An object implementing the server-side handling logic.