public sealed class PhishingProtectionServiceV1Beta1ClientImpl : PhishingProtectionServiceV1Beta1Client
Reference documentation and code samples for the Cloud Phishing Protection v1beta1 API class PhishingProtectionServiceV1Beta1ClientImpl.
PhishingProtectionServiceV1Beta1 client wrapper implementation, for convenient use.
Inheritance
object > PhishingProtectionServiceV1Beta1Client > PhishingProtectionServiceV1Beta1ClientImplNamespace
Google.Cloud.PhishingProtection.V1Beta1Assembly
Google.Cloud.PhishingProtection.V1Beta1.dll
Remarks
Service to report phishing URIs.
Constructors
PhishingProtectionServiceV1Beta1ClientImpl(PhishingProtectionServiceV1Beta1Client, PhishingProtectionServiceV1Beta1Settings, ILogger)
public PhishingProtectionServiceV1Beta1ClientImpl(PhishingProtectionServiceV1Beta1.PhishingProtectionServiceV1Beta1Client grpcClient, PhishingProtectionServiceV1Beta1Settings settings, ILogger logger)
Constructs a client wrapper for the PhishingProtectionServiceV1Beta1 service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | PhishingProtectionServiceV1Beta1PhishingProtectionServiceV1Beta1Client The underlying gRPC client. |
settings | PhishingProtectionServiceV1Beta1Settings The base PhishingProtectionServiceV1Beta1Settings used within this client. |
logger | ILogger Optional ILogger to use within this client. |
Properties
GrpcClient
public override PhishingProtectionServiceV1Beta1.PhishingProtectionServiceV1Beta1Client GrpcClient { get; }
The underlying gRPC PhishingProtectionServiceV1Beta1 client
Property Value | |
---|---|
Type | Description |
PhishingProtectionServiceV1Beta1PhishingProtectionServiceV1Beta1Client |
Methods
ReportPhishing(ReportPhishingRequest, CallSettings)
public override ReportPhishingResponse ReportPhishing(ReportPhishingRequest request, CallSettings callSettings = null)
Reports a URI suspected of containing phishing content to be reviewed. Once the report review is complete, its result can be found in the Cloud Security Command Center findings dashboard for Phishing Protection. If the result verifies the existence of malicious phishing content, the site will be added the to Google's Social Engineering lists in order to protect users that could get exposed to this threat in the future.
Parameters | |
---|---|
Name | Description |
request | ReportPhishingRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
ReportPhishingResponse | The RPC response. |
ReportPhishingAsync(ReportPhishingRequest, CallSettings)
public override Task<ReportPhishingResponse> ReportPhishingAsync(ReportPhishingRequest request, CallSettings callSettings = null)
Reports a URI suspected of containing phishing content to be reviewed. Once the report review is complete, its result can be found in the Cloud Security Command Center findings dashboard for Phishing Protection. If the result verifies the existence of malicious phishing content, the site will be added the to Google's Social Engineering lists in order to protect users that could get exposed to this threat in the future.
Parameters | |
---|---|
Name | Description |
request | ReportPhishingRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskReportPhishingResponse | A Task containing the RPC response. |