Versions in this module Expand all Collapse all v0 v0.0.1 Dec 7, 2023 Changes in this version + type EncodedFullHashesGetCall struct + func (c *EncodedFullHashesGetCall) ClientId(clientId string) *EncodedFullHashesGetCall + func (c *EncodedFullHashesGetCall) ClientVersion(clientVersion string) *EncodedFullHashesGetCall + func (c *EncodedFullHashesGetCall) Context(ctx context.Context) *EncodedFullHashesGetCall + func (c *EncodedFullHashesGetCall) Do(opts ...googleapi.CallOption) (*GoogleSecuritySafebrowsingV4FindFullHashesResponse, error) + func (c *EncodedFullHashesGetCall) Fields(s ...googleapi.Field) *EncodedFullHashesGetCall + func (c *EncodedFullHashesGetCall) Header() http.Header + func (c *EncodedFullHashesGetCall) IfNoneMatch(entityTag string) *EncodedFullHashesGetCall + type EncodedFullHashesService struct + func NewEncodedFullHashesService(s *Service) *EncodedFullHashesService + func (r *EncodedFullHashesService) Get(encodedRequest string) *EncodedFullHashesGetCall + type EncodedUpdatesGetCall struct + func (c *EncodedUpdatesGetCall) ClientId(clientId string) *EncodedUpdatesGetCall + func (c *EncodedUpdatesGetCall) ClientVersion(clientVersion string) *EncodedUpdatesGetCall + func (c *EncodedUpdatesGetCall) Context(ctx context.Context) *EncodedUpdatesGetCall + func (c *EncodedUpdatesGetCall) Do(opts ...googleapi.CallOption) (*GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse, error) + func (c *EncodedUpdatesGetCall) Fields(s ...googleapi.Field) *EncodedUpdatesGetCall + func (c *EncodedUpdatesGetCall) Header() http.Header + func (c *EncodedUpdatesGetCall) IfNoneMatch(entityTag string) *EncodedUpdatesGetCall + type EncodedUpdatesService struct + func NewEncodedUpdatesService(s *Service) *EncodedUpdatesService + func (r *EncodedUpdatesService) Get(encodedRequest string) *EncodedUpdatesGetCall + type FullHashesFindCall struct + func (c *FullHashesFindCall) Context(ctx context.Context) *FullHashesFindCall + func (c *FullHashesFindCall) Do(opts ...googleapi.CallOption) (*GoogleSecuritySafebrowsingV4FindFullHashesResponse, error) + func (c *FullHashesFindCall) Fields(s ...googleapi.Field) *FullHashesFindCall + func (c *FullHashesFindCall) Header() http.Header + type FullHashesService struct + func NewFullHashesService(s *Service) *FullHashesService + func (r *FullHashesService) Find(...) *FullHashesFindCall + type GoogleProtobufEmpty struct + type GoogleSecuritySafebrowsingV4Checksum struct + ForceSendFields []string + NullFields []string + Sha256 string + func (s *GoogleSecuritySafebrowsingV4Checksum) MarshalJSON() ([]byte, error) + type GoogleSecuritySafebrowsingV4ClientInfo struct + ClientId string + ClientVersion string + ForceSendFields []string + NullFields []string + func (s *GoogleSecuritySafebrowsingV4ClientInfo) MarshalJSON() ([]byte, error) + type GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequest struct + Client *GoogleSecuritySafebrowsingV4ClientInfo + ForceSendFields []string + ListUpdateRequests []*GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequest + NullFields []string + func (s *GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequest) MarshalJSON() ([]byte, error) + type GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequest struct + Constraints *GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequestConstraints + ForceSendFields []string + NullFields []string + PlatformType string + State string + ThreatEntryType string + ThreatType string + func (s *GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequest) MarshalJSON() ([]byte, error) + type GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequestConstraints struct + DeviceLocation string + ForceSendFields []string + Language string + MaxDatabaseEntries int64 + MaxUpdateEntries int64 + NullFields []string + Region string + SupportedCompressions []string + func (s *GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequestConstraints) MarshalJSON() ([]byte, error) + type GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse struct + ForceSendFields []string + ListUpdateResponses []*GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponseListUpdateResponse + MinimumWaitDuration string + NullFields []string + func (s *GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse) MarshalJSON() ([]byte, error) + type GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponseListUpdateResponse struct + Additions []*GoogleSecuritySafebrowsingV4ThreatEntrySet + Checksum *GoogleSecuritySafebrowsingV4Checksum + ForceSendFields []string + NewClientState string + NullFields []string + PlatformType string + Removals []*GoogleSecuritySafebrowsingV4ThreatEntrySet + ResponseType string + ThreatEntryType string + ThreatType string + func (s *GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponseListUpdateResponse) MarshalJSON() ([]byte, error) + type GoogleSecuritySafebrowsingV4FindFullHashesRequest struct + ApiClient *GoogleSecuritySafebrowsingV4ClientInfo + Client *GoogleSecuritySafebrowsingV4ClientInfo + ClientStates []string + ForceSendFields []string + NullFields []string + ThreatInfo *GoogleSecuritySafebrowsingV4ThreatInfo + func (s *GoogleSecuritySafebrowsingV4FindFullHashesRequest) MarshalJSON() ([]byte, error) + type GoogleSecuritySafebrowsingV4FindFullHashesResponse struct + ForceSendFields []string + Matches []*GoogleSecuritySafebrowsingV4ThreatMatch + MinimumWaitDuration string + NegativeCacheDuration string + NullFields []string + func (s *GoogleSecuritySafebrowsingV4FindFullHashesResponse) MarshalJSON() ([]byte, error) + type GoogleSecuritySafebrowsingV4FindThreatMatchesRequest struct + Client *GoogleSecuritySafebrowsingV4ClientInfo + ForceSendFields []string + NullFields []string + ThreatInfo *GoogleSecuritySafebrowsingV4ThreatInfo + func (s *GoogleSecuritySafebrowsingV4FindThreatMatchesRequest) MarshalJSON() ([]byte, error) + type GoogleSecuritySafebrowsingV4FindThreatMatchesResponse struct + ForceSendFields []string + Matches []*GoogleSecuritySafebrowsingV4ThreatMatch + NullFields []string + func (s *GoogleSecuritySafebrowsingV4FindThreatMatchesResponse) MarshalJSON() ([]byte, error) + type GoogleSecuritySafebrowsingV4ListThreatListsResponse struct + ForceSendFields []string + NullFields []string + ThreatLists []*GoogleSecuritySafebrowsingV4ThreatListDescriptor + func (s *GoogleSecuritySafebrowsingV4ListThreatListsResponse) MarshalJSON() ([]byte, error) + type GoogleSecuritySafebrowsingV4RawHashes struct + ForceSendFields []string + NullFields []string + PrefixSize int64 + RawHashes string + func (s *GoogleSecuritySafebrowsingV4RawHashes) MarshalJSON() ([]byte, error) + type GoogleSecuritySafebrowsingV4RawIndices struct + ForceSendFields []string + Indices []int64 + NullFields []string + func (s *GoogleSecuritySafebrowsingV4RawIndices) MarshalJSON() ([]byte, error) + type GoogleSecuritySafebrowsingV4RiceDeltaEncoding struct + EncodedData string + FirstValue int64 + ForceSendFields []string + NullFields []string + NumEntries int64 + RiceParameter int64 + func (s *GoogleSecuritySafebrowsingV4RiceDeltaEncoding) MarshalJSON() ([]byte, error) + type GoogleSecuritySafebrowsingV4ThreatEntry struct + Digest string + ForceSendFields []string + Hash string + NullFields []string + Url string + func (s *GoogleSecuritySafebrowsingV4ThreatEntry) MarshalJSON() ([]byte, error) + type GoogleSecuritySafebrowsingV4ThreatEntryMetadata struct + Entries []*GoogleSecuritySafebrowsingV4ThreatEntryMetadataMetadataEntry + ForceSendFields []string + NullFields []string + func (s *GoogleSecuritySafebrowsingV4ThreatEntryMetadata) MarshalJSON() ([]byte, error) + type GoogleSecuritySafebrowsingV4ThreatEntryMetadataMetadataEntry struct + ForceSendFields []string + Key string + NullFields []string + Value string + func (s *GoogleSecuritySafebrowsingV4ThreatEntryMetadataMetadataEntry) MarshalJSON() ([]byte, error) + type GoogleSecuritySafebrowsingV4ThreatEntrySet struct + CompressionType string + ForceSendFields []string + NullFields []string + RawHashes *GoogleSecuritySafebrowsingV4RawHashes + RawIndices *GoogleSecuritySafebrowsingV4RawIndices + RiceHashes *GoogleSecuritySafebrowsingV4RiceDeltaEncoding + RiceIndices *GoogleSecuritySafebrowsingV4RiceDeltaEncoding + func (s *GoogleSecuritySafebrowsingV4ThreatEntrySet) MarshalJSON() ([]byte, error) + type GoogleSecuritySafebrowsingV4ThreatHit struct + ClientInfo *GoogleSecuritySafebrowsingV4ClientInfo + Entry *GoogleSecuritySafebrowsingV4ThreatEntry + ForceSendFields []string + NullFields []string + PlatformType string + Resources []*GoogleSecuritySafebrowsingV4ThreatHitThreatSource + ThreatType string + UserInfo *GoogleSecuritySafebrowsingV4ThreatHitUserInfo + func (s *GoogleSecuritySafebrowsingV4ThreatHit) MarshalJSON() ([]byte, error) + type GoogleSecuritySafebrowsingV4ThreatHitThreatSource struct + ForceSendFields []string + NullFields []string + Referrer string + RemoteIp string + Type string + Url string + func (s *GoogleSecuritySafebrowsingV4ThreatHitThreatSource) MarshalJSON() ([]byte, error) + type GoogleSecuritySafebrowsingV4ThreatHitUserInfo struct + ForceSendFields []string + NullFields []string + RegionCode string + UserId string + func (s *GoogleSecuritySafebrowsingV4ThreatHitUserInfo) MarshalJSON() ([]byte, error) + type GoogleSecuritySafebrowsingV4ThreatInfo struct + ForceSendFields []string + NullFields []string + PlatformTypes []string + ThreatEntries []*GoogleSecuritySafebrowsingV4ThreatEntry + ThreatEntryTypes []string + ThreatTypes []string + func (s *GoogleSecuritySafebrowsingV4ThreatInfo) MarshalJSON() ([]byte, error) + type GoogleSecuritySafebrowsingV4ThreatListDescriptor struct + ForceSendFields []string + NullFields []string + PlatformType string + ThreatEntryType string + ThreatType string + func (s *GoogleSecuritySafebrowsingV4ThreatListDescriptor) MarshalJSON() ([]byte, error) + type GoogleSecuritySafebrowsingV4ThreatMatch struct + CacheDuration string + ForceSendFields []string + NullFields []string + PlatformType string + Threat *GoogleSecuritySafebrowsingV4ThreatEntry + ThreatEntryMetadata *GoogleSecuritySafebrowsingV4ThreatEntryMetadata + ThreatEntryType string + ThreatType string + func (s *GoogleSecuritySafebrowsingV4ThreatMatch) MarshalJSON() ([]byte, error) + type Service struct + BasePath string + EncodedFullHashes *EncodedFullHashesService + EncodedUpdates *EncodedUpdatesService + FullHashes *FullHashesService + ThreatHits *ThreatHitsService + ThreatListUpdates *ThreatListUpdatesService + ThreatLists *ThreatListsService + ThreatMatches *ThreatMatchesService + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) + type ThreatHitsCreateCall struct + func (c *ThreatHitsCreateCall) Context(ctx context.Context) *ThreatHitsCreateCall + func (c *ThreatHitsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) + func (c *ThreatHitsCreateCall) Fields(s ...googleapi.Field) *ThreatHitsCreateCall + func (c *ThreatHitsCreateCall) Header() http.Header + type ThreatHitsService struct + func NewThreatHitsService(s *Service) *ThreatHitsService + func (r *ThreatHitsService) Create(googlesecuritysafebrowsingv4threathit *GoogleSecuritySafebrowsingV4ThreatHit) *ThreatHitsCreateCall + type ThreatListUpdatesFetchCall struct + func (c *ThreatListUpdatesFetchCall) Context(ctx context.Context) *ThreatListUpdatesFetchCall + func (c *ThreatListUpdatesFetchCall) Do(opts ...googleapi.CallOption) (*GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse, error) + func (c *ThreatListUpdatesFetchCall) Fields(s ...googleapi.Field) *ThreatListUpdatesFetchCall + func (c *ThreatListUpdatesFetchCall) Header() http.Header + type ThreatListUpdatesService struct + func NewThreatListUpdatesService(s *Service) *ThreatListUpdatesService + func (r *ThreatListUpdatesService) Fetch(...) *ThreatListUpdatesFetchCall + type ThreatListsListCall struct + func (c *ThreatListsListCall) Context(ctx context.Context) *ThreatListsListCall + func (c *ThreatListsListCall) Do(opts ...googleapi.CallOption) (*GoogleSecuritySafebrowsingV4ListThreatListsResponse, error) + func (c *ThreatListsListCall) Fields(s ...googleapi.Field) *ThreatListsListCall + func (c *ThreatListsListCall) Header() http.Header + func (c *ThreatListsListCall) IfNoneMatch(entityTag string) *ThreatListsListCall + type ThreatListsService struct + func NewThreatListsService(s *Service) *ThreatListsService + func (r *ThreatListsService) List() *ThreatListsListCall + type ThreatMatchesFindCall struct + func (c *ThreatMatchesFindCall) Context(ctx context.Context) *ThreatMatchesFindCall + func (c *ThreatMatchesFindCall) Do(opts ...googleapi.CallOption) (*GoogleSecuritySafebrowsingV4FindThreatMatchesResponse, error) + func (c *ThreatMatchesFindCall) Fields(s ...googleapi.Field) *ThreatMatchesFindCall + func (c *ThreatMatchesFindCall) Header() http.Header + type ThreatMatchesService struct + func NewThreatMatchesService(s *Service) *ThreatMatchesService + func (r *ThreatMatchesService) Find(...) *ThreatMatchesFindCall