google-cloud-web_risk-v1beta1 0.4.3 → 0.4.4
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: 59f19aff490ae4ddf3f224344a3b65e2865694faf7b40fc2224b7346ae1580df
|
4
|
+
data.tar.gz: 65c8b748e51d3db99fea696114b66a5dacbff8ce154a5e8601a5cad5da2eb88f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c9caa8c9730844a7dbc12ceff12659619d01321aca4fa9438fcff209a399cea135c3e04a65beba7f466137b92cc21d41a2e5ecb224c1ac8dae69d7c75cf3b16
|
7
|
+
data.tar.gz: 3c8f45f207efe3c47e9f2588f56d091011a26897378cf0efbe35c75b40e4e931b6b42ecd5570dde4511600ec07512d4ad9bd062dd18e1682bdf83f7afc222565
|
@@ -192,6 +192,21 @@ module Google
|
|
192
192
|
#
|
193
193
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
194
194
|
#
|
195
|
+
# @example Basic example
|
196
|
+
# require "google/cloud/web_risk/v1beta1"
|
197
|
+
#
|
198
|
+
# # Create a client object. The client can be reused for multiple calls.
|
199
|
+
# client = Google::Cloud::WebRisk::V1beta1::WebRiskService::Client.new
|
200
|
+
#
|
201
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
202
|
+
# request = Google::Cloud::WebRisk::V1beta1::ComputeThreatListDiffRequest.new
|
203
|
+
#
|
204
|
+
# # Call the compute_threat_list_diff method.
|
205
|
+
# result = client.compute_threat_list_diff request
|
206
|
+
#
|
207
|
+
# # The returned object is of type Google::Cloud::WebRisk::V1beta1::ComputeThreatListDiffResponse.
|
208
|
+
# p result
|
209
|
+
#
|
195
210
|
def compute_threat_list_diff request, options = nil
|
196
211
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
197
212
|
|
@@ -256,6 +271,21 @@ module Google
|
|
256
271
|
#
|
257
272
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
258
273
|
#
|
274
|
+
# @example Basic example
|
275
|
+
# require "google/cloud/web_risk/v1beta1"
|
276
|
+
#
|
277
|
+
# # Create a client object. The client can be reused for multiple calls.
|
278
|
+
# client = Google::Cloud::WebRisk::V1beta1::WebRiskService::Client.new
|
279
|
+
#
|
280
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
281
|
+
# request = Google::Cloud::WebRisk::V1beta1::SearchUrisRequest.new
|
282
|
+
#
|
283
|
+
# # Call the search_uris method.
|
284
|
+
# result = client.search_uris request
|
285
|
+
#
|
286
|
+
# # The returned object is of type Google::Cloud::WebRisk::V1beta1::SearchUrisResponse.
|
287
|
+
# p result
|
288
|
+
#
|
259
289
|
def search_uris request, options = nil
|
260
290
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
261
291
|
|
@@ -325,6 +355,21 @@ module Google
|
|
325
355
|
#
|
326
356
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
327
357
|
#
|
358
|
+
# @example Basic example
|
359
|
+
# require "google/cloud/web_risk/v1beta1"
|
360
|
+
#
|
361
|
+
# # Create a client object. The client can be reused for multiple calls.
|
362
|
+
# client = Google::Cloud::WebRisk::V1beta1::WebRiskService::Client.new
|
363
|
+
#
|
364
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
365
|
+
# request = Google::Cloud::WebRisk::V1beta1::SearchHashesRequest.new
|
366
|
+
#
|
367
|
+
# # Call the search_hashes method.
|
368
|
+
# result = client.search_hashes request
|
369
|
+
#
|
370
|
+
# # The returned object is of type Google::Cloud::WebRisk::V1beta1::SearchHashesResponse.
|
371
|
+
# p result
|
372
|
+
#
|
328
373
|
def search_hashes request, options = nil
|
329
374
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
330
375
|
|
@@ -1,12 +1,12 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/webrisk/v1beta1/webrisk.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/annotations_pb'
|
7
5
|
require 'google/api/client_pb'
|
8
6
|
require 'google/api/field_behavior_pb'
|
9
7
|
require 'google/protobuf/timestamp_pb'
|
8
|
+
require 'google/protobuf'
|
9
|
+
|
10
10
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
11
|
add_file("google/cloud/webrisk/v1beta1/webrisk.proto", :syntax => :proto3) do
|
12
12
|
add_message "google.cloud.webrisk.v1beta1.ComputeThreatListDiffRequest" do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-web_risk-v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-08
|
11
|
+
date: 2021-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|