From 47983e95a9a3eda6d76ec6a9f0786c98bc09f1d0 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 19 Apr 2024 13:06:48 +0000 Subject: [PATCH] feat: Automated regeneration of SafeBrowsing client --- .../safe_browsing/lib/google_api/safe_browsing/v4/metadata.ex | 2 +- .../safe_browsing/lib/google_api/safe_browsing/v5/metadata.ex | 2 +- .../google_security_safebrowsing_v5_search_hashes_response.ex | 2 +- clients/safe_browsing/mix.exs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/clients/safe_browsing/lib/google_api/safe_browsing/v4/metadata.ex b/clients/safe_browsing/lib/google_api/safe_browsing/v4/metadata.ex index 13f8aa91c2..d56d8901fd 100644 --- a/clients/safe_browsing/lib/google_api/safe_browsing/v4/metadata.ex +++ b/clients/safe_browsing/lib/google_api/safe_browsing/v4/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.SafeBrowsing.V4 do API client metadata for GoogleApi.SafeBrowsing.V4. """ - @discovery_revision "20240303" + @discovery_revision "20240414" def discovery_revision(), do: @discovery_revision end diff --git a/clients/safe_browsing/lib/google_api/safe_browsing/v5/metadata.ex b/clients/safe_browsing/lib/google_api/safe_browsing/v5/metadata.ex index 68b69318d4..3365336fc6 100644 --- a/clients/safe_browsing/lib/google_api/safe_browsing/v5/metadata.ex +++ b/clients/safe_browsing/lib/google_api/safe_browsing/v5/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.SafeBrowsing.V5 do API client metadata for GoogleApi.SafeBrowsing.V5. """ - @discovery_revision "20240303" + @discovery_revision "20240414" def discovery_revision(), do: @discovery_revision end diff --git a/clients/safe_browsing/lib/google_api/safe_browsing/v5/model/google_security_safebrowsing_v5_search_hashes_response.ex b/clients/safe_browsing/lib/google_api/safe_browsing/v5/model/google_security_safebrowsing_v5_search_hashes_response.ex index 65954092c0..9bf51ba84e 100644 --- a/clients/safe_browsing/lib/google_api/safe_browsing/v5/model/google_security_safebrowsing_v5_search_hashes_response.ex +++ b/clients/safe_browsing/lib/google_api/safe_browsing/v5/model/google_security_safebrowsing_v5_search_hashes_response.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.SafeBrowsing.V5.Model.GoogleSecuritySafebrowsingV5SearchHashesResponse do @moduledoc """ - The response returned after searching threat hashes. If nothing is found, the server will return an OK status (HTTP status code 200) with the `full_hashes` field empty, rather than returning a NOT_FOUND status (HTTP status code 404). **What's new in V5**: There is a separation between FullHash and FullHashDetail. In the case when a hash represents a site having multiple threats (e.g. both MALWARE and SOCIAL_ENGINEERING), the full hash does not need to be sent twice as in V4. Furthermore, the cache duration has been simplified into a single `cache_duration` field. + The response returned after searching threat hashes. If nothing is found, the server will return an OK status (HTTP status code 200) with the `full_hashes` field empty, rather than returning a NOT_FOUND status (HTTP status code 404). **What's new in V5**: There is a separation between `FullHash` and `FullHashDetail`. In the case when a hash represents a site having multiple threats (e.g. both MALWARE and SOCIAL_ENGINEERING), the full hash does not need to be sent twice as in V4. Furthermore, the cache duration has been simplified into a single `cache_duration` field. ## Attributes diff --git a/clients/safe_browsing/mix.exs b/clients/safe_browsing/mix.exs index 9478fb658c..6dcdcd7428 100644 --- a/clients/safe_browsing/mix.exs +++ b/clients/safe_browsing/mix.exs @@ -18,7 +18,7 @@ defmodule GoogleApi.SafeBrowsing.Mixfile do use Mix.Project - @version "0.25.0" + @version "0.25.1" def project() do [