Skip to content

Commit fa0930c

Browse files
chore(safebrowsing): update the api
#### safebrowsing:v4 The following keys were deleted: - schemas.Checksum (Total Keys: 4) - schemas.ClientInfo (Total Keys: 4) - schemas.Constraints (Total Keys: 11) - schemas.Empty (Total Keys: 2) - schemas.FetchThreatListUpdatesRequest (Total Keys: 5) - schemas.FetchThreatListUpdatesResponse (Total Keys: 6) - schemas.FindFullHashesRequest (Total Keys: 8) - schemas.FindFullHashesResponse (Total Keys: 8) - schemas.FindThreatMatchesRequest (Total Keys: 4) - schemas.FindThreatMatchesResponse (Total Keys: 4) - schemas.ListThreatListsResponse (Total Keys: 4) - schemas.ListUpdateRequest (Total Keys: 8) - schemas.ListUpdateResponse (Total Keys: 13) - schemas.MetadataEntry (Total Keys: 6) - schemas.RawHashes (Total Keys: 6) - schemas.RawIndices (Total Keys: 5) - schemas.RiceDeltaEncoding (Total Keys: 10) - schemas.ThreatEntry (Total Keys: 17) - schemas.ThreatHit (Total Keys: 9) - schemas.ThreatInfo (Total Keys: 10) - schemas.ThreatListDescriptor (Total Keys: 5) - schemas.ThreatMatch (Total Keys: 9) - schemas.ThreatSource (Total Keys: 5) - schemas.UserInfo (Total Keys: 5) The following keys were added: - fullyEncodeReservedExpansion (Total Keys: 1) - schemas.GoogleProtobufEmpty (Total Keys: 2) - schemas.GoogleSecuritySafebrowsingV4Checksum (Total Keys: 4) - schemas.GoogleSecuritySafebrowsingV4ClientInfo (Total Keys: 4) - schemas.GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequest (Total Keys: 24) - schemas.GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse (Total Keys: 19) - schemas.GoogleSecuritySafebrowsingV4FindFullHashesRequest (Total Keys: 8) - schemas.GoogleSecuritySafebrowsingV4FindFullHashesResponse (Total Keys: 8) - schemas.GoogleSecuritySafebrowsingV4FindThreatMatchesRequest (Total Keys: 4) - schemas.GoogleSecuritySafebrowsingV4FindThreatMatchesResponse (Total Keys: 4) - schemas.GoogleSecuritySafebrowsingV4ListThreatListsResponse (Total Keys: 4) - schemas.GoogleSecuritySafebrowsingV4RawHashes (Total Keys: 6) - schemas.GoogleSecuritySafebrowsingV4RawIndices (Total Keys: 5) - schemas.GoogleSecuritySafebrowsingV4RiceDeltaEncoding (Total Keys: 10) - schemas.GoogleSecuritySafebrowsingV4ThreatEntry (Total Keys: 23) - schemas.GoogleSecuritySafebrowsingV4ThreatHit (Total Keys: 19) - schemas.GoogleSecuritySafebrowsingV4ThreatInfo (Total Keys: 10) - schemas.GoogleSecuritySafebrowsingV4ThreatListDescriptor (Total Keys: 5) - schemas.GoogleSecuritySafebrowsingV4ThreatMatch (Total Keys: 9) The following keys were changed: - resources.encodedFullHashes.methods.get.response (Total Keys: 1) - resources.encodedUpdates.methods.get.response (Total Keys: 1) - resources.fullHashes.methods.find.request (Total Keys: 1) - resources.fullHashes.methods.find.response (Total Keys: 1) - resources.threatHits.methods.create.request (Total Keys: 1) - resources.threatHits.methods.create.response (Total Keys: 1) - resources.threatListUpdates.methods.fetch.request (Total Keys: 1) - resources.threatListUpdates.methods.fetch.response (Total Keys: 1) - resources.threatLists.methods.list.response (Total Keys: 1) - resources.threatMatches.methods.find.request (Total Keys: 1) - resources.threatMatches.methods.find.response (Total Keys: 1)
1 parent 0f88024 commit fa0930c

File tree

3 files changed

+1276
-1275
lines changed

3 files changed

+1276
-1275
lines changed

docs/dyn/safebrowsing_v4.encodedUpdates.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ <h3>Method Details</h3>
103103
An object of the form:
104104

105105
{
106-
&quot;listUpdateResponses&quot;: [ # The list updates requested by the clients.
106+
&quot;listUpdateResponses&quot;: [ # The list updates requested by the clients. The number of responses here may be less than the number of requests sent by clients. This is the case, for example, if the server has no updates for a particular list.
107107
{ # An update to an individual list.
108108
&quot;additions&quot;: [ # A set of entries to add to a local threat type&#x27;s list. Repeated to allow for a combination of compressed and raw data to be sent in a single response.
109109
{ # A set of threats that should be added or removed from a client&#x27;s local database.

docs/dyn/safebrowsing_v4.threatListUpdates.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ <h3>Method Details</h3>
9494
body: object, The request body.
9595
The object takes the form of:
9696

97-
{ # Describes a Safe Browsing API update request. Clients can request updates for multiple lists in a single request. NOTE: Field index 2 is unused. NEXT: 5
97+
{ # Describes a Safe Browsing API update request. Clients can request updates for multiple lists in a single request. The server may not respond to all requests, if the server has no updates for that list. NOTE: Field index 2 is unused. NEXT: 5
9898
&quot;client&quot;: { # The client metadata associated with Safe Browsing API requests. # The client metadata.
9999
&quot;clientId&quot;: &quot;A String&quot;, # A client ID that (hopefully) uniquely identifies the client implementation of the Safe Browsing API.
100100
&quot;clientVersion&quot;: &quot;A String&quot;, # The version of the client implementation.
@@ -128,7 +128,7 @@ <h3>Method Details</h3>
128128
An object of the form:
129129

130130
{
131-
&quot;listUpdateResponses&quot;: [ # The list updates requested by the clients.
131+
&quot;listUpdateResponses&quot;: [ # The list updates requested by the clients. The number of responses here may be less than the number of requests sent by clients. This is the case, for example, if the server has no updates for a particular list.
132132
{ # An update to an individual list.
133133
&quot;additions&quot;: [ # A set of entries to add to a local threat type&#x27;s list. Repeated to allow for a combination of compressed and raw data to be sent in a single response.
134134
{ # A set of threats that should be added or removed from a client&#x27;s local database.

0 commit comments

Comments
 (0)