Show / Hide Table of Contents

Class ThreatListsResource.ComputeDiffRequest

Gets the most recent threat list diffs. These diffs should be applied to a local database of hashes to keep it up-to-date. If the local database is empty or excessively out-of-date, a complete snapshot of the database will be returned. This Method only updates a single ThreatList at a time. To update multiple ThreatList databases, this method needs to be called once for each list.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleCloudWebriskV1ComputeThreatListDiffResponse>
WebRiskBaseServiceRequest<GoogleCloudWebriskV1ComputeThreatListDiffResponse>
ThreatListsResource.ComputeDiffRequest
Implements
IClientServiceRequest<GoogleCloudWebriskV1ComputeThreatListDiffResponse>
IClientServiceRequest
Inherited Members
WebRiskBaseServiceRequest<GoogleCloudWebriskV1ComputeThreatListDiffResponse>.Xgafv
WebRiskBaseServiceRequest<GoogleCloudWebriskV1ComputeThreatListDiffResponse>.AccessToken
WebRiskBaseServiceRequest<GoogleCloudWebriskV1ComputeThreatListDiffResponse>.Alt
WebRiskBaseServiceRequest<GoogleCloudWebriskV1ComputeThreatListDiffResponse>.Callback
WebRiskBaseServiceRequest<GoogleCloudWebriskV1ComputeThreatListDiffResponse>.Fields
WebRiskBaseServiceRequest<GoogleCloudWebriskV1ComputeThreatListDiffResponse>.Key
WebRiskBaseServiceRequest<GoogleCloudWebriskV1ComputeThreatListDiffResponse>.OauthToken
WebRiskBaseServiceRequest<GoogleCloudWebriskV1ComputeThreatListDiffResponse>.PrettyPrint
WebRiskBaseServiceRequest<GoogleCloudWebriskV1ComputeThreatListDiffResponse>.QuotaUser
WebRiskBaseServiceRequest<GoogleCloudWebriskV1ComputeThreatListDiffResponse>.UploadType
WebRiskBaseServiceRequest<GoogleCloudWebriskV1ComputeThreatListDiffResponse>.UploadProtocol
ClientServiceRequest<GoogleCloudWebriskV1ComputeThreatListDiffResponse>.Execute()
ClientServiceRequest<GoogleCloudWebriskV1ComputeThreatListDiffResponse>.ExecuteAsStream()
ClientServiceRequest<GoogleCloudWebriskV1ComputeThreatListDiffResponse>.ExecuteAsync()
ClientServiceRequest<GoogleCloudWebriskV1ComputeThreatListDiffResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleCloudWebriskV1ComputeThreatListDiffResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleCloudWebriskV1ComputeThreatListDiffResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleCloudWebriskV1ComputeThreatListDiffResponse>.CreateRequest(bool?)
ClientServiceRequest<GoogleCloudWebriskV1ComputeThreatListDiffResponse>.GenerateRequestUri()
ClientServiceRequest<GoogleCloudWebriskV1ComputeThreatListDiffResponse>.GetBody()
ClientServiceRequest<GoogleCloudWebriskV1ComputeThreatListDiffResponse>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleCloudWebriskV1ComputeThreatListDiffResponse>.ETagAction
ClientServiceRequest<GoogleCloudWebriskV1ComputeThreatListDiffResponse>.ModifyRequest
ClientServiceRequest<GoogleCloudWebriskV1ComputeThreatListDiffResponse>.ValidateParameters
ClientServiceRequest<GoogleCloudWebriskV1ComputeThreatListDiffResponse>.ApiVersion
ClientServiceRequest<GoogleCloudWebriskV1ComputeThreatListDiffResponse>.RequestParameters
ClientServiceRequest<GoogleCloudWebriskV1ComputeThreatListDiffResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.WebRisk.v1
Assembly: Google.Apis.WebRisk.v1.dll
Syntax
public class ThreatListsResource.ComputeDiffRequest : WebRiskBaseServiceRequest<GoogleCloudWebriskV1ComputeThreatListDiffResponse>, IClientServiceRequest<GoogleCloudWebriskV1ComputeThreatListDiffResponse>, IClientServiceRequest

Constructors

ComputeDiffRequest(IClientService)

Constructs a new ComputeDiff request.

Declaration
public ComputeDiffRequest(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

ConstraintsMaxDatabaseEntries

Sets the maximum number of entries that the client is willing to have in the local database. This should be a power of 2 between 210 and 220. If zero, no database size limit is set.

Declaration
[RequestParameter("constraints.maxDatabaseEntries", RequestParameterType.Query)]
public virtual int? ConstraintsMaxDatabaseEntries { get; set; }
Property Value
Type Description
int?

ConstraintsMaxDiffEntries

The maximum size in number of entries. The diff will not contain more entries than this value. This should be a power of 2 between 210 and 220. If zero, no diff size limit is set.

Declaration
[RequestParameter("constraints.maxDiffEntries", RequestParameterType.Query)]
public virtual int? ConstraintsMaxDiffEntries { get; set; }
Property Value
Type Description
int?

ConstraintsSupportedCompressions

The compression types supported by the client.

Declaration
[RequestParameter("constraints.supportedCompressions", RequestParameterType.Query)]
public virtual ThreatListsResource.ComputeDiffRequest.ConstraintsSupportedCompressionsEnum? ConstraintsSupportedCompressions { get; set; }
Property Value
Type Description
ThreatListsResource.ComputeDiffRequest.ConstraintsSupportedCompressionsEnum?
Remarks

Use this property to set a single value for the parameter, or ConstraintsSupportedCompressionsList to set multiple values. Do not set both properties.

ConstraintsSupportedCompressionsList

The compression types supported by the client.

Declaration
[RequestParameter("constraints.supportedCompressions", RequestParameterType.Query)]
public virtual Repeatable<ThreatListsResource.ComputeDiffRequest.ConstraintsSupportedCompressionsEnum> ConstraintsSupportedCompressionsList { get; set; }
Property Value
Type Description
Repeatable<ThreatListsResource.ComputeDiffRequest.ConstraintsSupportedCompressionsEnum>
Remarks

Use this property to set one or more values for the parameter. Do not set both this property and ConstraintsSupportedCompressions.

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudWebriskV1ComputeThreatListDiffResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudWebriskV1ComputeThreatListDiffResponse>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudWebriskV1ComputeThreatListDiffResponse>.RestPath

ThreatType

Required. The threat list to update. Only a single ThreatType should be specified per request. If you want to handle multiple ThreatTypes, you must make one request per ThreatType.

Declaration
[RequestParameter("threatType", RequestParameterType.Query)]
public virtual ThreatListsResource.ComputeDiffRequest.ThreatTypeEnum? ThreatType { get; set; }
Property Value
Type Description
ThreatListsResource.ComputeDiffRequest.ThreatTypeEnum?

VersionToken

The current version token of the client for the requested list (the client version that was received from the last successful diff). If the client does not have a version token (this is the first time calling ComputeThreatListDiff), this may be left empty and a full database snapshot will be returned.

Declaration
[RequestParameter("versionToken", RequestParameterType.Query)]
public virtual string VersionToken { get; set; }
Property Value
Type Description
string

Methods

InitParameters()

Initializes ComputeDiff parameter list.

Declaration
protected override void InitParameters()
Overrides
WebRiskBaseServiceRequest<GoogleCloudWebriskV1ComputeThreatListDiffResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX