Web Risk V1 API - Class Google::Cloud::WebRisk::V1::ComputeThreatListDiffRequest (v0.10.0)

Reference documentation and code samples for the Web Risk V1 API class Google::Cloud::WebRisk::V1::ComputeThreatListDiffRequest.

Describes an API diff request.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#constraints

def constraints() -> ::Google::Cloud::WebRisk::V1::ComputeThreatListDiffRequest::Constraints
Returns

#constraints=

def constraints=(value) -> ::Google::Cloud::WebRisk::V1::ComputeThreatListDiffRequest::Constraints
Parameter
Returns

#threat_type

def threat_type() -> ::Google::Cloud::WebRisk::V1::ThreatType
Returns
  • (::Google::Cloud::WebRisk::V1::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.

#threat_type=

def threat_type=(value) -> ::Google::Cloud::WebRisk::V1::ThreatType
Parameter
  • value (::Google::Cloud::WebRisk::V1::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.
Returns
  • (::Google::Cloud::WebRisk::V1::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.

#version_token

def version_token() -> ::String
Returns
  • (::String) — 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.

#version_token=

def version_token=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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.