Reference documentation and code samples for the Web Risk V1 API class Google::Cloud::WebRisk::V1::ComputeThreatListDiffResponse.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#additions
def additions() -> ::Google::Cloud::WebRisk::V1::ThreatEntryAdditions
Returns
- (::Google::Cloud::WebRisk::V1::ThreatEntryAdditions) — A set of entries to add to a local threat type's list.
#additions=
def additions=(value) -> ::Google::Cloud::WebRisk::V1::ThreatEntryAdditions
Parameter
- value (::Google::Cloud::WebRisk::V1::ThreatEntryAdditions) — A set of entries to add to a local threat type's list.
Returns
- (::Google::Cloud::WebRisk::V1::ThreatEntryAdditions) — A set of entries to add to a local threat type's list.
#checksum
def checksum() -> ::Google::Cloud::WebRisk::V1::ComputeThreatListDiffResponse::Checksum
Returns
- (::Google::Cloud::WebRisk::V1::ComputeThreatListDiffResponse::Checksum) — The expected SHA256 hash of the client state; that is, of the sorted list of all hashes present in the database after applying the provided diff. If the client state doesn't match the expected state, the client must discard this diff and retry later.
#checksum=
def checksum=(value) -> ::Google::Cloud::WebRisk::V1::ComputeThreatListDiffResponse::Checksum
Parameter
- value (::Google::Cloud::WebRisk::V1::ComputeThreatListDiffResponse::Checksum) — The expected SHA256 hash of the client state; that is, of the sorted list of all hashes present in the database after applying the provided diff. If the client state doesn't match the expected state, the client must discard this diff and retry later.
Returns
- (::Google::Cloud::WebRisk::V1::ComputeThreatListDiffResponse::Checksum) — The expected SHA256 hash of the client state; that is, of the sorted list of all hashes present in the database after applying the provided diff. If the client state doesn't match the expected state, the client must discard this diff and retry later.
#new_version_token
def new_version_token() -> ::String
Returns
- (::String) — The new opaque client version token. This should be retained by the client and passed into the next call of ComputeThreatListDiff as 'version_token'. A separate version token should be stored and used for each threatList.
#new_version_token=
def new_version_token=(value) -> ::String
Parameter
- value (::String) — The new opaque client version token. This should be retained by the client and passed into the next call of ComputeThreatListDiff as 'version_token'. A separate version token should be stored and used for each threatList.
Returns
- (::String) — The new opaque client version token. This should be retained by the client and passed into the next call of ComputeThreatListDiff as 'version_token'. A separate version token should be stored and used for each threatList.
#recommended_next_diff
def recommended_next_diff() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The soonest the client should wait before issuing any diff request. Querying sooner is unlikely to produce a meaningful diff. Waiting longer is acceptable considering the use case. If this field is not set clients may update as soon as they want.
#recommended_next_diff=
def recommended_next_diff=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The soonest the client should wait before issuing any diff request. Querying sooner is unlikely to produce a meaningful diff. Waiting longer is acceptable considering the use case. If this field is not set clients may update as soon as they want.
Returns
- (::Google::Protobuf::Timestamp) — The soonest the client should wait before issuing any diff request. Querying sooner is unlikely to produce a meaningful diff. Waiting longer is acceptable considering the use case. If this field is not set clients may update as soon as they want.
#removals
def removals() -> ::Google::Cloud::WebRisk::V1::ThreatEntryRemovals
Returns
- (::Google::Cloud::WebRisk::V1::ThreatEntryRemovals) — A set of entries to remove from a local threat type's list. This field may be empty.
#removals=
def removals=(value) -> ::Google::Cloud::WebRisk::V1::ThreatEntryRemovals
Parameter
- value (::Google::Cloud::WebRisk::V1::ThreatEntryRemovals) — A set of entries to remove from a local threat type's list. This field may be empty.
Returns
- (::Google::Cloud::WebRisk::V1::ThreatEntryRemovals) — A set of entries to remove from a local threat type's list. This field may be empty.
#response_type
def response_type() -> ::Google::Cloud::WebRisk::V1::ComputeThreatListDiffResponse::ResponseType
Returns
- (::Google::Cloud::WebRisk::V1::ComputeThreatListDiffResponse::ResponseType) — The type of response. This may indicate that an action must be taken by the client when the response is received.
#response_type=
def response_type=(value) -> ::Google::Cloud::WebRisk::V1::ComputeThreatListDiffResponse::ResponseType
Parameter
- value (::Google::Cloud::WebRisk::V1::ComputeThreatListDiffResponse::ResponseType) — The type of response. This may indicate that an action must be taken by the client when the response is received.
Returns
- (::Google::Cloud::WebRisk::V1::ComputeThreatListDiffResponse::ResponseType) — The type of response. This may indicate that an action must be taken by the client when the response is received.