google_api_safe_browsing v0.0.1 GoogleApi.SafeBrowsing.V4.Api.ThreatListUpdates View Source

API calls for all endpoints tagged ThreatListUpdates.

Link to this section Summary

Functions

Fetches the most recent threat list updates. A client can request updates for multiple lists at once

Link to this section Functions

Link to this function safebrowsing_threat_list_updates_fetch(connection, opts \\ []) View Source
safebrowsing_threat_list_updates_fetch(Tesla.Env.client, keyword) ::
  {:ok, GoogleApi.SafeBrowsing.V4.Model.FetchThreatListUpdatesResponse.t} |
  {:error, Tesla.Env.t}

Fetches the most recent threat list updates. A client can request updates for multiple lists at once.

Parameters

  • connection (GoogleApi.SafeBrowsing.V4.Connection): Connection to server
  • opts (KeywordList): [optional] Optional parameters

    • :upload_protocol (String): Upload protocol for media (e.g. "raw", "multipart").
    • :pretty_print (Boolean): Returns response with indentations and line breaks.
    • :upload_type (String): Legacy upload protocol for media (e.g. "media", "multipart").
    • :fields (String): Selector specifying which fields to include in a partial response.
    • :callback (String): JSONP
    • :__/xgafv (String): V1 error format.
    • :alt (String): Data format for response.
    • :access_token (String): OAuth access token.
    • :key (String): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :quota_user (String): Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :pp (Boolean): Pretty-print response.
    • :oauth_token (String): OAuth 2.0 token for the current user.
    • :bearer_token (String): OAuth bearer token.
    • :body (FetchThreatListUpdatesRequest):

Returns

{:ok, %GoogleApi.SafeBrowsing.V4.Model.FetchThreatListUpdatesResponse{}} on success {:error, info} on failure