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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8e0403c7afb73f6e0815034e40ba592190114ea46af19b08db23a318cca667bc
4
- data.tar.gz: 3fd161c6060e0f3fbb1236f65f24f804f80b7522bd3c0d0a39c68fa2c701f22b
3
+ metadata.gz: 1e89c1828b61da74ee297003f340bddcfa0de51e566b9f13e30c85208e49b29f
4
+ data.tar.gz: 86aa76efd29c5a1451e0016e2cda7299cd6ba58c003d53b737b5e28e55ab602f
5
5
  SHA512:
6
- metadata.gz: d9e0842378d374967fcb32e5c335d67c9020fd74f15451fdb63b89c45de29a8f5d45e45325fce6d0e60f74ae883b6a04fac5956205a85669429f332638154db8
7
- data.tar.gz: 7312dd1572b9c601062bdaf13f97844c3a63c3ebb591e8352f91de575126c5e6561fe5173ddd1ffd2969bc4088fbc3e99b41ccbf0b0d9dab0fe27f0cd426151f
6
+ metadata.gz: 28997a82f690970ea43cc77b71ac2bafc27cf4b851801af8ed9b78d2a1014cb3b067c86361ad7d7dee260af0fb29aa287b535be5e3b52cc54f856c80e57cff48
7
+ data.tar.gz: d5c8a57fa129f9b90fe5640303748b999fddfa94c83677966823d692934f8bc9adcfc2e90f70888e6547df19249f6aaed89e6cf3f371f8527d36dd298072b543
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Apache License
1
+ Apache License
2
2
  Version 2.0, January 2004
3
3
  https://www.apache.org/licenses/
4
4
 
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][]
@@ -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
- module Cloud
98
- module Webrisk
99
- module V1beta1
100
- ComputeThreatListDiffRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.ComputeThreatListDiffRequest").msgclass
101
- ComputeThreatListDiffRequest::Constraints = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.ComputeThreatListDiffRequest.Constraints").msgclass
102
- ComputeThreatListDiffResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse").msgclass
103
- ComputeThreatListDiffResponse::Checksum = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse.Checksum").msgclass
104
- ComputeThreatListDiffResponse::ResponseType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse.ResponseType").enummodule
105
- SearchUrisRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.SearchUrisRequest").msgclass
106
- SearchUrisResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.SearchUrisResponse").msgclass
107
- SearchUrisResponse::ThreatUri = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.SearchUrisResponse.ThreatUri").msgclass
108
- SearchHashesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.SearchHashesRequest").msgclass
109
- SearchHashesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.SearchHashesResponse").msgclass
110
- SearchHashesResponse::ThreatHash = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.SearchHashesResponse.ThreatHash").msgclass
111
- ThreatEntryAdditions = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.ThreatEntryAdditions").msgclass
112
- ThreatEntryRemovals = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.ThreatEntryRemovals").msgclass
113
- RawIndices = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.RawIndices").msgclass
114
- RawHashes = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.RawHashes").msgclass
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 'google.cloud.webrisk.v1beta1'
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 Cloud
26
- module Webrisk
27
- module V1beta1
28
- module WebRiskServiceV1Beta1
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
- include GRPC::GenericService
30
+ include GRPC::GenericService
34
31
 
35
- self.marshal_class_method = :encode
36
- self.unmarshal_class_method = :decode
37
- self.service_name = 'google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1'
32
+ self.marshal_class_method = :encode
33
+ self.unmarshal_class_method = :decode
34
+ self.service_name = 'google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1'
38
35
 
39
- # Gets the most recent threat list diffs.
40
- rpc :ComputeThreatListDiff, ComputeThreatListDiffRequest, ComputeThreatListDiffResponse
41
- # This method is used to check whether a URI is on a given threatList.
42
- rpc :SearchUris, SearchUrisRequest, SearchUrisResponse
43
- # Gets the full hashes that match the requested hash prefix.
44
- # This is used after a hash prefix is looked up in a threatList
45
- # and there is a match. The client side threatList only holds partial hashes
46
- # so the client must query this method to determine if there is a full
47
- # hash match of a threat.
48
- rpc :SearchHashes, SearchHashesRequest, SearchHashesResponse
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
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Webrisk
19
- VERSION = "0.5.1".freeze
19
+ VERSION = "0.6.0".freeze
20
20
  end
21
21
  end
22
22
  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.5.1
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-04-01 00:00:00.000000000 Z
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: google-cloud-webrisk is the official library for Web Risk API.
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: []