google-cloud-webrisk 0.5.1 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +5 -0
- data/lib/google/cloud/webrisk.rb +5 -0
- data/lib/google/cloud/webrisk/v1beta1/webrisk_pb.rb +19 -25
- data/lib/google/cloud/webrisk/v1beta1/webrisk_services_pb.rb +22 -28
- data/lib/google/cloud/webrisk/version.rb +1 -1
- metadata +8 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1e89c1828b61da74ee297003f340bddcfa0de51e566b9f13e30c85208e49b29f
|
|
4
|
+
data.tar.gz: 86aa76efd29c5a1451e0016e2cda7299cd6ba58c003d53b737b5e28e55ab602f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 28997a82f690970ea43cc77b71ac2bafc27cf4b851801af8ed9b78d2a1014cb3b067c86361ad7d7dee260af0fb29aa287b535be5e3b52cc54f856c80e57cff48
|
|
7
|
+
data.tar.gz: d5c8a57fa129f9b90fe5640303748b999fddfa94c83677966823d692934f8bc9adcfc2e90f70888e6547df19249f6aaed89e6cf3f371f8527d36dd298072b543
|
data/LICENSE
CHANGED
data/README.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Ruby Client for Web Risk API
|
|
2
2
|
|
|
3
|
+
**This library is deprecated, and will no longer receive updates. Please use the
|
|
4
|
+
[`google-cloud-web_risk`](https://rubygems.org/gems/google-cloud-web_risk)
|
|
5
|
+
library instead. For detailed information on the differences, see the
|
|
6
|
+
[migration guide](https://googleapis.dev/ruby/google-cloud-web_risk/latest/file.MIGRATING.html).**
|
|
7
|
+
|
|
3
8
|
[Web Risk API][Product Documentation]:
|
|
4
9
|
|
|
5
10
|
- [Client Library Documentation][]
|
data/lib/google/cloud/webrisk.rb
CHANGED
|
@@ -23,6 +23,11 @@ module Google
|
|
|
23
23
|
##
|
|
24
24
|
# # Ruby Client for Web Risk API
|
|
25
25
|
#
|
|
26
|
+
# **This library is deprecated, and will no longer receive updates. Please use the
|
|
27
|
+
# [`google-cloud-web_risk`](https://rubygems.org/gems/google-cloud-web_risk)
|
|
28
|
+
# library instead. For detailed information on the differences, see the
|
|
29
|
+
# [migration guide](https://googleapis.dev/ruby/google-cloud-web_risk/latest/file.MIGRATING.html).**
|
|
30
|
+
#
|
|
26
31
|
# [Web Risk API][Product Documentation]:
|
|
27
32
|
#
|
|
28
33
|
# - [Product Documentation][]
|
|
@@ -93,29 +93,23 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
93
93
|
end
|
|
94
94
|
end
|
|
95
95
|
|
|
96
|
-
module Google
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
RiceDeltaEncoding = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.RiceDeltaEncoding").msgclass
|
|
116
|
-
ThreatType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.ThreatType").enummodule
|
|
117
|
-
CompressionType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.CompressionType").enummodule
|
|
118
|
-
end
|
|
119
|
-
end
|
|
120
|
-
end
|
|
96
|
+
module Google::Cloud::Webrisk::V1beta1
|
|
97
|
+
ComputeThreatListDiffRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.ComputeThreatListDiffRequest").msgclass
|
|
98
|
+
ComputeThreatListDiffRequest::Constraints = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.ComputeThreatListDiffRequest.Constraints").msgclass
|
|
99
|
+
ComputeThreatListDiffResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse").msgclass
|
|
100
|
+
ComputeThreatListDiffResponse::Checksum = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse.Checksum").msgclass
|
|
101
|
+
ComputeThreatListDiffResponse::ResponseType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse.ResponseType").enummodule
|
|
102
|
+
SearchUrisRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.SearchUrisRequest").msgclass
|
|
103
|
+
SearchUrisResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.SearchUrisResponse").msgclass
|
|
104
|
+
SearchUrisResponse::ThreatUri = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.SearchUrisResponse.ThreatUri").msgclass
|
|
105
|
+
SearchHashesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.SearchHashesRequest").msgclass
|
|
106
|
+
SearchHashesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.SearchHashesResponse").msgclass
|
|
107
|
+
SearchHashesResponse::ThreatHash = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.SearchHashesResponse.ThreatHash").msgclass
|
|
108
|
+
ThreatEntryAdditions = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.ThreatEntryAdditions").msgclass
|
|
109
|
+
ThreatEntryRemovals = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.ThreatEntryRemovals").msgclass
|
|
110
|
+
RawIndices = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.RawIndices").msgclass
|
|
111
|
+
RawHashes = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.RawHashes").msgclass
|
|
112
|
+
RiceDeltaEncoding = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.RiceDeltaEncoding").msgclass
|
|
113
|
+
ThreatType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.ThreatType").enummodule
|
|
114
|
+
CompressionType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.CompressionType").enummodule
|
|
121
115
|
end
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
-
# Source: google/cloud/webrisk/v1beta1/webrisk.proto for package '
|
|
2
|
+
# Source: google/cloud/webrisk/v1beta1/webrisk.proto for package 'Google::Cloud::WebRisk::V1beta1'
|
|
3
3
|
# Original file comments:
|
|
4
4
|
# Copyright 2019 Google LLC.
|
|
5
5
|
#
|
|
@@ -21,36 +21,30 @@
|
|
|
21
21
|
require 'grpc'
|
|
22
22
|
require 'google/cloud/webrisk/v1beta1/webrisk_pb'
|
|
23
23
|
|
|
24
|
-
module Google
|
|
25
|
-
module
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
# Web Risk v1beta1 API defines an interface to detect malicious URLs on your
|
|
30
|
-
# website and in client applications.
|
|
31
|
-
class Service
|
|
24
|
+
module Google::Cloud::Webrisk::V1beta1
|
|
25
|
+
module WebRiskServiceV1Beta1
|
|
26
|
+
# Web Risk v1beta1 API defines an interface to detect malicious URLs on your
|
|
27
|
+
# website and in client applications.
|
|
28
|
+
class Service
|
|
32
29
|
|
|
33
|
-
|
|
30
|
+
include GRPC::GenericService
|
|
34
31
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
32
|
+
self.marshal_class_method = :encode
|
|
33
|
+
self.unmarshal_class_method = :decode
|
|
34
|
+
self.service_name = 'google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1'
|
|
38
35
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
end
|
|
50
|
-
|
|
51
|
-
Stub = Service.rpc_stub_class
|
|
52
|
-
end
|
|
53
|
-
end
|
|
36
|
+
# Gets the most recent threat list diffs.
|
|
37
|
+
rpc :ComputeThreatListDiff, ComputeThreatListDiffRequest, ComputeThreatListDiffResponse
|
|
38
|
+
# This method is used to check whether a URI is on a given threatList.
|
|
39
|
+
rpc :SearchUris, SearchUrisRequest, SearchUrisResponse
|
|
40
|
+
# Gets the full hashes that match the requested hash prefix.
|
|
41
|
+
# This is used after a hash prefix is looked up in a threatList
|
|
42
|
+
# and there is a match. The client side threatList only holds partial hashes
|
|
43
|
+
# so the client must query this method to determine if there is a full
|
|
44
|
+
# hash match of a threat.
|
|
45
|
+
rpc :SearchHashes, SearchHashesRequest, SearchHashesResponse
|
|
54
46
|
end
|
|
47
|
+
|
|
48
|
+
Stub = Service.rpc_stub_class
|
|
55
49
|
end
|
|
56
50
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-webrisk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.6.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: 2020-
|
|
11
|
+
date: 2020-05-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-gax
|
|
@@ -134,7 +134,8 @@ dependencies:
|
|
|
134
134
|
- - "~>"
|
|
135
135
|
- !ruby/object:Gem::Version
|
|
136
136
|
version: '0.9'
|
|
137
|
-
description:
|
|
137
|
+
description: This library is deprecated, and will no longer receive updates. Please
|
|
138
|
+
use google-cloud-web_risk instead.
|
|
138
139
|
email: googleapis-packages@google.com
|
|
139
140
|
executables: []
|
|
140
141
|
extensions: []
|
|
@@ -158,7 +159,9 @@ homepage: https://github.com/googleapis/googleapis
|
|
|
158
159
|
licenses:
|
|
159
160
|
- Apache-2.0
|
|
160
161
|
metadata: {}
|
|
161
|
-
post_install_message:
|
|
162
|
+
post_install_message: The google-cloud-webrisk library is deprecated. Please use google-cloud-web_risk
|
|
163
|
+
instead. See https://googleapis.dev/ruby/google-cloud-web_risk/latest/file.MIGRATING.html
|
|
164
|
+
for detailed information on the differences.
|
|
162
165
|
rdoc_options: []
|
|
163
166
|
require_paths:
|
|
164
167
|
- lib
|
|
@@ -176,5 +179,5 @@ requirements: []
|
|
|
176
179
|
rubygems_version: 3.0.6
|
|
177
180
|
signing_key:
|
|
178
181
|
specification_version: 4
|
|
179
|
-
summary: API Client library for Web Risk API
|
|
182
|
+
summary: Obsolete API Client library for Web Risk API
|
|
180
183
|
test_files: []
|