package webrisk
import "google.golang.org/genproto/googleapis/cloud/webrisk/v1"
Package webrisk aliases all exported identifiers in package "cloud.google.com/go/webrisk/apiv1/webriskpb".
Deprecated: Please use types in: cloud.google.com/go/webrisk/apiv1/webriskpb. Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md for more details.
Index ¶
- Constants
- Variables
- func RegisterWebRiskServiceServer(s *grpc.Server, srv WebRiskServiceServer)
- type CompressionType
- type ComputeThreatListDiffRequest
- type ComputeThreatListDiffRequest_Constraints
- type ComputeThreatListDiffResponse
- type ComputeThreatListDiffResponse_Checksum
- type ComputeThreatListDiffResponse_ResponseType
- type CreateSubmissionRequest
- type RawHashes
- type RawIndices
- type RiceDeltaEncoding
- type SearchHashesRequest
- type SearchHashesResponse
- type SearchHashesResponse_ThreatHash
- type SearchUrisRequest
- type SearchUrisResponse
- type SearchUrisResponse_ThreatUri
- type Submission
- type ThreatEntryAdditions
- type ThreatEntryRemovals
- type ThreatType
- type UnimplementedWebRiskServiceServer
- type WebRiskServiceClient
- type WebRiskServiceServer
Constants ¶
const ( CompressionType_COMPRESSION_TYPE_UNSPECIFIED = src.CompressionType_COMPRESSION_TYPE_UNSPECIFIED CompressionType_RAW = src.CompressionType_RAW CompressionType_RICE = src.CompressionType_RICE ComputeThreatListDiffResponse_DIFF = src.ComputeThreatListDiffResponse_DIFF ComputeThreatListDiffResponse_RESET = src.ComputeThreatListDiffResponse_RESET ComputeThreatListDiffResponse_RESPONSE_TYPE_UNSPECIFIED = src.ComputeThreatListDiffResponse_RESPONSE_TYPE_UNSPECIFIED ThreatType_MALWARE = src.ThreatType_MALWARE ThreatType_SOCIAL_ENGINEERING = src.ThreatType_SOCIAL_ENGINEERING ThreatType_SOCIAL_ENGINEERING_EXTENDED_COVERAGE = src.ThreatType_SOCIAL_ENGINEERING_EXTENDED_COVERAGE ThreatType_THREAT_TYPE_UNSPECIFIED = src.ThreatType_THREAT_TYPE_UNSPECIFIED ThreatType_UNWANTED_SOFTWARE = src.ThreatType_UNWANTED_SOFTWARE )
Deprecated: Please use consts in: cloud.google.com/go/webrisk/apiv1/webriskpb
Variables ¶
var ( CompressionType_name = src.CompressionType_name CompressionType_value = src.CompressionType_value ComputeThreatListDiffResponse_ResponseType_name = src.ComputeThreatListDiffResponse_ResponseType_name ComputeThreatListDiffResponse_ResponseType_value = src.ComputeThreatListDiffResponse_ResponseType_value File_google_cloud_webrisk_v1_webrisk_proto = src.File_google_cloud_webrisk_v1_webrisk_proto ThreatType_name = src.ThreatType_name ThreatType_value = src.ThreatType_value )
Deprecated: Please use vars in: cloud.google.com/go/webrisk/apiv1/webriskpb
Functions ¶
func RegisterWebRiskServiceServer ¶
func RegisterWebRiskServiceServer(s *grpc.Server, srv WebRiskServiceServer)
Deprecated: Please use funcs in: cloud.google.com/go/webrisk/apiv1/webriskpb
Types ¶
type CompressionType ¶
type CompressionType = src.CompressionType
The ways in which threat entry sets can be compressed.
Deprecated: Please use types in: cloud.google.com/go/webrisk/apiv1/webriskpb
type ComputeThreatListDiffRequest ¶
type ComputeThreatListDiffRequest = src.ComputeThreatListDiffRequest
Describes an API diff request.
Deprecated: Please use types in: cloud.google.com/go/webrisk/apiv1/webriskpb
type ComputeThreatListDiffRequest_Constraints ¶
type ComputeThreatListDiffRequest_Constraints = src.ComputeThreatListDiffRequest_Constraints
The constraints for this diff.
Deprecated: Please use types in: cloud.google.com/go/webrisk/apiv1/webriskpb
type ComputeThreatListDiffResponse ¶
type ComputeThreatListDiffResponse = src.ComputeThreatListDiffResponse
type ComputeThreatListDiffResponse_Checksum ¶
type ComputeThreatListDiffResponse_Checksum = src.ComputeThreatListDiffResponse_Checksum
The expected state of a client's local database.
Deprecated: Please use types in: cloud.google.com/go/webrisk/apiv1/webriskpb
type ComputeThreatListDiffResponse_ResponseType ¶
type ComputeThreatListDiffResponse_ResponseType = src.ComputeThreatListDiffResponse_ResponseType
The type of response sent to the client.
Deprecated: Please use types in: cloud.google.com/go/webrisk/apiv1/webriskpb
type CreateSubmissionRequest ¶
type CreateSubmissionRequest = src.CreateSubmissionRequest
Request to send a potentially phishy URI to WebRisk.
Deprecated: Please use types in: cloud.google.com/go/webrisk/apiv1/webriskpb
type RawHashes ¶
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.
Deprecated: Please use types in: cloud.google.com/go/webrisk/apiv1/webriskpb
type RawIndices ¶
type RawIndices = src.RawIndices
A set of raw indices to remove from a local list.
Deprecated: Please use types in: cloud.google.com/go/webrisk/apiv1/webriskpb
type RiceDeltaEncoding ¶
type RiceDeltaEncoding = src.RiceDeltaEncoding
The Rice-Golomb encoded data. Used for sending compressed 4-byte hashes or compressed removal indices.
Deprecated: Please use types in: cloud.google.com/go/webrisk/apiv1/webriskpb
type SearchHashesRequest ¶
type SearchHashesRequest = src.SearchHashesRequest
Request to return full hashes matched by the provided hash prefixes.
Deprecated: Please use types in: cloud.google.com/go/webrisk/apiv1/webriskpb
type SearchHashesResponse ¶
type SearchHashesResponse = src.SearchHashesResponse
type SearchHashesResponse_ThreatHash ¶
type SearchHashesResponse_ThreatHash = src.SearchHashesResponse_ThreatHash
Contains threat information on a matching hash.
Deprecated: Please use types in: cloud.google.com/go/webrisk/apiv1/webriskpb
type SearchUrisRequest ¶
type SearchUrisRequest = src.SearchUrisRequest
Request to check URI entries against threatLists.
Deprecated: Please use types in: cloud.google.com/go/webrisk/apiv1/webriskpb
type SearchUrisResponse ¶
type SearchUrisResponse = src.SearchUrisResponse
type SearchUrisResponse_ThreatUri ¶
type SearchUrisResponse_ThreatUri = src.SearchUrisResponse_ThreatUri
Contains threat information on a matching uri.
Deprecated: Please use types in: cloud.google.com/go/webrisk/apiv1/webriskpb
type Submission ¶
type Submission = src.Submission
Wraps a URI that might be displaying malicious content.
Deprecated: Please use types in: cloud.google.com/go/webrisk/apiv1/webriskpb
type ThreatEntryAdditions ¶
type ThreatEntryAdditions = src.ThreatEntryAdditions
Contains the set of entries to add to a local database. May contain a combination of compressed and raw data in a single response.
Deprecated: Please use types in: cloud.google.com/go/webrisk/apiv1/webriskpb
type ThreatEntryRemovals ¶
type ThreatEntryRemovals = src.ThreatEntryRemovals
Contains the set of entries to remove from a local database.
Deprecated: Please use types in: cloud.google.com/go/webrisk/apiv1/webriskpb
type ThreatType ¶
type ThreatType = src.ThreatType
The type of threat. This maps directly to the threat list a threat may belong to.
Deprecated: Please use types in: cloud.google.com/go/webrisk/apiv1/webriskpb
type UnimplementedWebRiskServiceServer ¶
type UnimplementedWebRiskServiceServer = src.UnimplementedWebRiskServiceServer
UnimplementedWebRiskServiceServer can be embedded to have forward compatible implementations.
Deprecated: Please use types in: cloud.google.com/go/webrisk/apiv1/webriskpb
type WebRiskServiceClient ¶
type WebRiskServiceClient = src.WebRiskServiceClient
WebRiskServiceClient is the client API for WebRiskService service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
Deprecated: Please use types in: cloud.google.com/go/webrisk/apiv1/webriskpb
func NewWebRiskServiceClient ¶
func NewWebRiskServiceClient(cc grpc.ClientConnInterface) WebRiskServiceClient
Deprecated: Please use funcs in: cloud.google.com/go/webrisk/apiv1/webriskpb
type WebRiskServiceServer ¶
type WebRiskServiceServer = src.WebRiskServiceServer
WebRiskServiceServer is the server API for WebRiskService service.
Deprecated: Please use types in: cloud.google.com/go/webrisk/apiv1/webriskpb
Source Files ¶
alias.go
- Version
- v0.0.0-20250219182151-9fdb1cabc7b2 (latest)
- Published
- Feb 19, 2025
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 1 hour ago –
Tools for package owners.