Versions in this module Expand all Collapse all v0 v0.37.1 Dec 15, 2020 Changes in this version + type Checksum struct + ForceSendFields []string + NullFields []string + Sha256 string + func (s *Checksum) MarshalJSON() ([]byte, error) + type ClientInfo struct + ClientId string + ClientVersion string + ForceSendFields []string + NullFields []string + func (s *ClientInfo) MarshalJSON() ([]byte, error) + type Constraints struct + DeviceLocation string + ForceSendFields []string + Language string + MaxDatabaseEntries int64 + MaxUpdateEntries int64 + NullFields []string + Region string + SupportedCompressions []string + func (s *Constraints) MarshalJSON() ([]byte, error) + type Empty struct + 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) (*FindFullHashesResponse, 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) (*FetchThreatListUpdatesResponse, 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 FetchThreatListUpdatesRequest struct + Client *ClientInfo + ForceSendFields []string + ListUpdateRequests []*ListUpdateRequest + NullFields []string + func (s *FetchThreatListUpdatesRequest) MarshalJSON() ([]byte, error) + type FetchThreatListUpdatesResponse struct + ForceSendFields []string + ListUpdateResponses []*ListUpdateResponse + MinimumWaitDuration string + NullFields []string + func (s *FetchThreatListUpdatesResponse) MarshalJSON() ([]byte, error) + type FindFullHashesRequest struct + ApiClient *ClientInfo + Client *ClientInfo + ClientStates []string + ForceSendFields []string + NullFields []string + ThreatInfo *ThreatInfo + func (s *FindFullHashesRequest) MarshalJSON() ([]byte, error) + type FindFullHashesResponse struct + ForceSendFields []string + Matches []*ThreatMatch + MinimumWaitDuration string + NegativeCacheDuration string + NullFields []string + func (s *FindFullHashesResponse) MarshalJSON() ([]byte, error) + type FindThreatMatchesRequest struct + Client *ClientInfo + ForceSendFields []string + NullFields []string + ThreatInfo *ThreatInfo + func (s *FindThreatMatchesRequest) MarshalJSON() ([]byte, error) + type FindThreatMatchesResponse struct + ForceSendFields []string + Matches []*ThreatMatch + NullFields []string + func (s *FindThreatMatchesResponse) MarshalJSON() ([]byte, error) + type FullHashesFindCall struct + func (c *FullHashesFindCall) Context(ctx context.Context) *FullHashesFindCall + func (c *FullHashesFindCall) Do(opts ...googleapi.CallOption) (*FindFullHashesResponse, 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(findfullhashesrequest *FindFullHashesRequest) *FullHashesFindCall + type ListThreatListsResponse struct + ForceSendFields []string + NullFields []string + ThreatLists []*ThreatListDescriptor + func (s *ListThreatListsResponse) MarshalJSON() ([]byte, error) + type ListUpdateRequest struct + Constraints *Constraints + ForceSendFields []string + NullFields []string + PlatformType string + State string + ThreatEntryType string + ThreatType string + func (s *ListUpdateRequest) MarshalJSON() ([]byte, error) + type ListUpdateResponse struct + Additions []*ThreatEntrySet + Checksum *Checksum + ForceSendFields []string + NewClientState string + NullFields []string + PlatformType string + Removals []*ThreatEntrySet + ResponseType string + ThreatEntryType string + ThreatType string + func (s *ListUpdateResponse) MarshalJSON() ([]byte, error) + type MetadataEntry struct + ForceSendFields []string + Key string + NullFields []string + Value string + func (s *MetadataEntry) MarshalJSON() ([]byte, error) + type RawHashes struct + ForceSendFields []string + NullFields []string + PrefixSize int64 + RawHashes string + func (s *RawHashes) MarshalJSON() ([]byte, error) + type RawIndices struct + ForceSendFields []string + Indices []int64 + NullFields []string + func (s *RawIndices) MarshalJSON() ([]byte, error) + type RiceDeltaEncoding struct + EncodedData string + FirstValue int64 + ForceSendFields []string + NullFields []string + NumEntries int64 + RiceParameter int64 + func (s *RiceDeltaEncoding) 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 ThreatEntry struct + Digest string + ForceSendFields []string + Hash string + NullFields []string + Url string + func (s *ThreatEntry) MarshalJSON() ([]byte, error) + type ThreatEntryMetadata struct + Entries []*MetadataEntry + ForceSendFields []string + NullFields []string + func (s *ThreatEntryMetadata) MarshalJSON() ([]byte, error) + type ThreatEntrySet struct + CompressionType string + ForceSendFields []string + NullFields []string + RawHashes *RawHashes + RawIndices *RawIndices + RiceHashes *RiceDeltaEncoding + RiceIndices *RiceDeltaEncoding + func (s *ThreatEntrySet) MarshalJSON() ([]byte, error) + type ThreatHit struct + ClientInfo *ClientInfo + Entry *ThreatEntry + ForceSendFields []string + NullFields []string + PlatformType string + Resources []*ThreatSource + ThreatType string + UserInfo *UserInfo + func (s *ThreatHit) MarshalJSON() ([]byte, error) + type ThreatHitsCreateCall struct + func (c *ThreatHitsCreateCall) Context(ctx context.Context) *ThreatHitsCreateCall + func (c *ThreatHitsCreateCall) Do(opts ...googleapi.CallOption) (*Empty, 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(threathit *ThreatHit) *ThreatHitsCreateCall + type ThreatInfo struct + ForceSendFields []string + NullFields []string + PlatformTypes []string + ThreatEntries []*ThreatEntry + ThreatEntryTypes []string + ThreatTypes []string + func (s *ThreatInfo) MarshalJSON() ([]byte, error) + type ThreatListDescriptor struct + ForceSendFields []string + NullFields []string + PlatformType string + ThreatEntryType string + ThreatType string + func (s *ThreatListDescriptor) MarshalJSON() ([]byte, error) + type ThreatListUpdatesFetchCall struct + func (c *ThreatListUpdatesFetchCall) Context(ctx context.Context) *ThreatListUpdatesFetchCall + func (c *ThreatListUpdatesFetchCall) Do(opts ...googleapi.CallOption) (*FetchThreatListUpdatesResponse, 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(fetchthreatlistupdatesrequest *FetchThreatListUpdatesRequest) *ThreatListUpdatesFetchCall + type ThreatListsListCall struct + func (c *ThreatListsListCall) Context(ctx context.Context) *ThreatListsListCall + func (c *ThreatListsListCall) Do(opts ...googleapi.CallOption) (*ListThreatListsResponse, 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 ThreatMatch struct + CacheDuration string + ForceSendFields []string + NullFields []string + PlatformType string + Threat *ThreatEntry + ThreatEntryMetadata *ThreatEntryMetadata + ThreatEntryType string + ThreatType string + func (s *ThreatMatch) MarshalJSON() ([]byte, error) + type ThreatMatchesFindCall struct + func (c *ThreatMatchesFindCall) Context(ctx context.Context) *ThreatMatchesFindCall + func (c *ThreatMatchesFindCall) Do(opts ...googleapi.CallOption) (*FindThreatMatchesResponse, 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(findthreatmatchesrequest *FindThreatMatchesRequest) *ThreatMatchesFindCall + type ThreatSource struct + ForceSendFields []string + NullFields []string + Referrer string + RemoteIp string + Type string + Url string + func (s *ThreatSource) MarshalJSON() ([]byte, error) + type UserInfo struct + ForceSendFields []string + NullFields []string + RegionCode string + UserId string + func (s *UserInfo) MarshalJSON() ([]byte, error)