View Source API Reference google_api_web_risk v0.4.0
Modules
API client metadata for GoogleApi.WebRisk.V1.
API calls for all endpoints tagged Hashes
.
API calls for all endpoints tagged Projects
.
API calls for all endpoints tagged ThreatLists
.
API calls for all endpoints tagged Uris
.
Handle Tesla connections for GoogleApi.WebRisk.V1.
Attributes
-
additions
(type:GoogleApi.WebRisk.V1.Model.GoogleCloudWebriskV1ThreatEntryAdditions.t
, default:nil
) - A set of entries to add to a local threat type's list. -
checksum
(type:GoogleApi.WebRisk.V1.Model.GoogleCloudWebriskV1ComputeThreatListDiffResponseChecksum.t
, default:nil
) - 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. -
newVersionToken
(type:String.t
, default:nil
) - 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. -
recommendedNextDiff
(type:DateTime.t
, default:nil
) - 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
(type:GoogleApi.WebRisk.V1.Model.GoogleCloudWebriskV1ThreatEntryRemovals.t
, default:nil
) - A set of entries to remove from a local threat type's list. This field may be empty. -
responseType
(type:String.t
, default:nil
) - The type of response. This may indicate that an action must be taken by the client when the response is received.
The expected state of a client's local database.
The uncompressed threat entries in hash format. Hashes can be anywhere from 4 to 32 bytes in size. A large majority are 4 bytes, but some hashes are lengthened if they collide with the hash of a popular URI. Used for sending ThreatEntryAdditons to clients that do not support compression, or when sending non-4-byte hashes to clients that do support compression.
A set of raw indices to remove from a local list.
The Rice-Golomb encoded data. Used for sending compressed 4-byte hashes or compressed removal indices.
Attributes
-
negativeExpireTime
(type:DateTime.t
, default:nil
) - For requested entities that did not match the threat list, how long to cache the response until. -
threats
(type:list(GoogleApi.WebRisk.V1.Model.GoogleCloudWebriskV1SearchHashesResponseThreatHash.t)
, default:nil
) - The full hashes that matched the requested prefixes. The hash will be populated in the key.
Contains threat information on a matching hash.
Contains threat information on a matching uri.
Wraps a URI that might be displaying malicious content.
Contains the set of entries to add to a local database. May contain a combination of compressed and raw data in a single response.
Contains the set of entries to remove from a local database.
The request message for Operations.CancelOperation.
The response message for Operations.ListOperations.
This resource represents a long-running operation that is the result of a network API call.
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
The Status
type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status
message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide.