google-apis-safebrowsing_v5 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f1181116a9a437fb1c1f5a58fae6b36e91e2b8217ccf22d554675c0bcc911596
|
4
|
+
data.tar.gz: ff03770e5e035cca234f74b02e70c9b4bcdcf9cfa93bb1521f2411b1504d7499
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3775677a46454eb8183eaa2dd438f97f9ad121f5cf4d4c4d5fc1735118f10a2116f0e26c649ce7cd63b8d30223ab6ac7b692acb855129e8d1a964cca8a86dca6
|
7
|
+
data.tar.gz: 7f2dcc3800848dc6d1a0a31b2b6ce7020b1ff972910bb4c33a972f99dd29aa0bbce7f0f8073ee8b2118f9a66559e6fba7f831b1d665e2177cc37bf2ba8a94f2d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-safebrowsing_v5
|
2
2
|
|
3
|
+
### v0.3.0 (2024-02-18)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240211
|
6
|
+
* Regenerated using generator version 0.13.1
|
7
|
+
|
3
8
|
### v0.2.0 (2024-01-23)
|
4
9
|
|
5
10
|
* Regenerated using generator version 0.13.0
|
@@ -54,12 +54,13 @@ module Google
|
|
54
54
|
# compatibility: new threat types and threat attributes may be added by the
|
55
55
|
# server at any time; those additions are considered minor version changes. It
|
56
56
|
# is Google's policy not to expose minor version numbers in APIs (see https://
|
57
|
-
# cloud.google.com/apis/design/versioning), so clients
|
58
|
-
# receive FullHashDetail messages containing ThreatType
|
59
|
-
# ThreatAttribute enum values that are considered invalid by
|
60
|
-
# Therefore, it is the client's responsibility to check for the
|
61
|
-
# ThreatType and ThreatAttribute enum values; if any value
|
62
|
-
# the client MUST disregard the entire FullHashDetail
|
57
|
+
# cloud.google.com/apis/design/versioning for the versioning policy), so clients
|
58
|
+
# MUST be prepared to receive `FullHashDetail` messages containing `ThreatType`
|
59
|
+
# enum values or `ThreatAttribute` enum values that are considered invalid by
|
60
|
+
# the client. Therefore, it is the client's responsibility to check for the
|
61
|
+
# validity of all `ThreatType` and `ThreatAttribute` enum values; if any value
|
62
|
+
# is considered invalid, the client MUST disregard the entire `FullHashDetail`
|
63
|
+
# message.
|
63
64
|
class GoogleSecuritySafebrowsingV5FullHashFullHashDetail
|
64
65
|
include Google::Apis::Core::Hashable
|
65
66
|
|
@@ -85,20 +86,24 @@ module Google
|
|
85
86
|
end
|
86
87
|
end
|
87
88
|
|
88
|
-
# The response returned after searching threat hashes.
|
89
|
-
#
|
90
|
-
#
|
91
|
-
#
|
89
|
+
# The response returned after searching threat hashes. If nothing is found, the
|
90
|
+
# server will return an OK status (HTTP status code 200) with the `full_hashes`
|
91
|
+
# field empty, rather than returning a NOT_FOUND status (HTTP status code 404). *
|
92
|
+
# *What's new in V5**: There is a separation between FullHash and FullHashDetail.
|
93
|
+
# In the case when a hash represents a site having multiple threats (e.g. both
|
94
|
+
# MALWARE and SOCIAL_ENGINEERING), the full hash does not need to be sent twice
|
95
|
+
# as in V4. Furthermore, the cache duration has been simplified into a single `
|
96
|
+
# cache_duration` field.
|
92
97
|
class GoogleSecuritySafebrowsingV5SearchHashesResponse
|
93
98
|
include Google::Apis::Core::Hashable
|
94
99
|
|
95
|
-
# The client-side cache duration. The client
|
100
|
+
# The client-side cache duration. The client MUST add this duration to the
|
96
101
|
# current time to determine the expiration time. The expiration time then
|
97
102
|
# applies to every hash prefix queried by the client in the request, regardless
|
98
103
|
# of how many full hashes are returned in the response. Even if the server
|
99
|
-
# returns no full hashes for a particular hash prefix, this fact
|
100
|
-
# cached by the client. Important: the client
|
101
|
-
# will return the same cache duration for all responses. The server
|
104
|
+
# returns no full hashes for a particular hash prefix, this fact MUST also be
|
105
|
+
# cached by the client. Important: the client MUST NOT assume that the server
|
106
|
+
# will return the same cache duration for all responses. The server MAY choose
|
102
107
|
# different cache durations for different responses depending on the situation.
|
103
108
|
# Corresponds to the JSON property `cacheDuration`
|
104
109
|
# @return [String]
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module SafebrowsingV5
|
18
18
|
# Version of the google-apis-safebrowsing_v5 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.3.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.13.
|
22
|
+
GENERATOR_VERSION = "0.13.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240211"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -56,9 +56,14 @@ module Google
|
|
56
56
|
end
|
57
57
|
|
58
58
|
# Search for full hashes matching the specified prefixes. This is a custom
|
59
|
-
# method as
|
59
|
+
# method as defined by https://google.aip.dev/136 (the custom method refers to
|
60
|
+
# this method having a custom name within Google's general API development
|
61
|
+
# nomenclature; it does not refer to using a custom HTTP method).
|
60
62
|
# @param [Array<String>, String] hash_prefixes
|
61
|
-
# Required. The hash prefixes to be looked up.
|
63
|
+
# Required. The hash prefixes to be looked up. Clients MUST NOT send more than
|
64
|
+
# 1000 hash prefixes. However, following the URL processing procedure, clients
|
65
|
+
# SHOULD NOT need to send more than 30 hash prefixes. Currently each hash prefix
|
66
|
+
# is required to be exactly 4 bytes long. This MAY be relaxed in the future.
|
62
67
|
# @param [String] fields
|
63
68
|
# Selector specifying which fields to include in a partial response.
|
64
69
|
# @param [String] quota_user
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-safebrowsing_v5
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-02-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-safebrowsing_v5/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-safebrowsing_v5/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-safebrowsing_v5/v0.3.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-safebrowsing_v5
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|