Class PhishingProtectionServiceV1Beta1.PhishingProtectionServiceV1Beta1Client (1.0.0-beta05)

public class PhishingProtectionServiceV1Beta1Client : ClientBase<PhishingProtectionServiceV1Beta1.PhishingProtectionServiceV1Beta1Client>

Client for PhishingProtectionServiceV1Beta1

Inheritance

Object > ClientBase > ClientBase<PhishingProtectionServiceV1Beta1.PhishingProtectionServiceV1Beta1Client> > 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(ClientBase.ClientBaseConfiguration)

protected PhishingProtectionServiceV1Beta1Client(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

NewInstance(ClientBase.ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
PhishingProtectionServiceV1Beta1.PhishingProtectionServiceV1Beta1Client
Overrides
Grpc.Core.ClientBase<Google.Cloud.PhishingProtection.V1Beta1.PhishingProtectionServiceV1Beta1.PhishingProtectionServiceV1Beta1Client>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<ReportPhishingResponse>

The call object.

ReportPhishingAsync(ReportPhishingRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<ReportPhishingResponse>

The call object.