public class PhishingProtectionServiceV1Beta1Client : ClientBase<PhishingProtectionServiceV1Beta1.PhishingProtectionServiceV1Beta1Client>
Client for PhishingProtectionServiceV1Beta1
Inheritance
Object > ClientBase > ClientBase<PhishingProtectionServiceV1Beta1.PhishingProtectionServiceV1Beta1Client> > PhishingProtectionServiceV1Beta1.PhishingProtectionServiceV1Beta1ClientNamespace
Google.Cloud.PhishingProtection.V1Beta1Assembly
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 | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
PhishingProtectionServiceV1Beta1Client(ChannelBase)
public PhishingProtectionServiceV1Beta1Client(ChannelBase channel)
Creates a new client for PhishingProtectionServiceV1Beta1
Parameter | |
---|---|
Name | Description |
channel | ChannelBase 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 | |
---|---|
Name | Description |
configuration | ClientBase.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 | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
PhishingProtectionServiceV1Beta1.PhishingProtectionServiceV1Beta1Client |
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 | |
---|---|
Name | Description |
request | ReportPhishingRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ReportPhishingRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ReportPhishingRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ReportPhishingRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ReportPhishingResponse> | The call object. |