Cloud Phishing Protection v1beta1 API - Class PhishingProtectionServiceV1Beta1.PhishingProtectionServiceV1Beta1Client (2.0.0-beta04)

public class PhishingProtectionServiceV1Beta1.PhishingProtectionServiceV1Beta1Client : ClientBase<PhishingProtectionServiceV1Beta1.PhishingProtectionServiceV1Beta1Client>

Reference documentation and code samples for the Cloud Phishing Protection v1beta1 API class PhishingProtectionServiceV1Beta1.PhishingProtectionServiceV1Beta1Client.

Client for PhishingProtectionServiceV1Beta1

Inheritance

object > ClientBase > ClientBasePhishingProtectionServiceV1Beta1PhishingProtectionServiceV1Beta1Client > PhishingProtectionServiceV1Beta1.PhishingProtectionServiceV1Beta1Client

Namespace

Google.Cloud.PhishingProtection.V1Beta1

Assembly

Google.Cloud.PhishingProtection.V1Beta1.dll

Constructors

PhishingProtectionServiceV1Beta1Client()

protected PhishingProtectionServiceV1Beta1Client()

Protected parameterless constructor to allow creation of test doubles.

PhishingProtectionServiceV1Beta1Client(CallInvoker)

public PhishingProtectionServiceV1Beta1Client(CallInvoker callInvoker)

Creates a new client for PhishingProtectionServiceV1Beta1 that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

PhishingProtectionServiceV1Beta1Client(ChannelBase)

public PhishingProtectionServiceV1Beta1Client(ChannelBase channel)

Creates a new client for PhishingProtectionServiceV1Beta1

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

PhishingProtectionServiceV1Beta1Client(ClientBaseConfiguration)

protected PhishingProtectionServiceV1Beta1Client(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

NewInstance(ClientBaseConfiguration)

protected override PhishingProtectionServiceV1Beta1.PhishingProtectionServiceV1Beta1Client NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
PhishingProtectionServiceV1Beta1PhishingProtectionServiceV1Beta1Client
Overrides

ReportPhishing(ReportPhishingRequest, CallOptions)

public virtual ReportPhishingResponse ReportPhishing(ReportPhishingRequest request, CallOptions options)

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
NameDescription
requestReportPhishingRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ReportPhishingResponse

The response received from the server.

ReportPhishing(ReportPhishingRequest, Metadata, DateTime?, CancellationToken)

public virtual ReportPhishingResponse ReportPhishing(ReportPhishingRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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
NameDescription
requestReportPhishingRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ReportPhishingResponse

The response received from the server.

ReportPhishingAsync(ReportPhishingRequest, CallOptions)

public virtual AsyncUnaryCall<ReportPhishingResponse> ReportPhishingAsync(ReportPhishingRequest request, CallOptions options)

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
NameDescription
requestReportPhishingRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallReportPhishingResponse

The call object.

ReportPhishingAsync(ReportPhishingRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ReportPhishingResponse> ReportPhishingAsync(ReportPhishingRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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
NameDescription
requestReportPhishingRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallReportPhishingResponse

The call object.