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: bd485eac5c4fceee34b479afeb809a21f23692d9ad0679e6566f0d8c83256b67
4
- data.tar.gz: 949f49c691988e3fe1828ef5f792558a3488fffba5d3ad12fda064af727534ea
3
+ metadata.gz: 59f19aff490ae4ddf3f224344a3b65e2865694faf7b40fc2224b7346ae1580df
4
+ data.tar.gz: 65c8b748e51d3db99fea696114b66a5dacbff8ce154a5e8601a5cad5da2eb88f
5
5
  SHA512:
6
- metadata.gz: c5413064d256d207044a1fdd8ef7c5d485fb3c99e4b3280e69ad3c61b1c7f47b20ba7ffba79bda69c760d80b3840ef71355bfbfe8cc1682f35f1520a1e7db89a
7
- data.tar.gz: f585095d6737fc22f0c66683f674aa6f7d217c1cca452db7f375ea891000b859b7d370b11261ba56d9e3dd50809354eba73adfa1f4a2c235510ed94fb211d62b
6
+ metadata.gz: 8c9caa8c9730844a7dbc12ceff12659619d01321aca4fa9438fcff209a399cea135c3e04a65beba7f466137b92cc21d41a2e5ecb224c1ac8dae69d7c75cf3b16
7
+ data.tar.gz: 3c8f45f207efe3c47e9f2588f56d091011a26897378cf0efbe35c75b40e4e931b6b42ecd5570dde4511600ec07512d4ad9bd062dd18e1682bdf83f7afc222565
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module WebRisk
23
23
  module V1beta1
24
- VERSION = "0.4.3"
24
+ VERSION = "0.4.4"
25
25
  end
26
26
  end
27
27
  end
@@ -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
@@ -29,7 +29,7 @@ module Google
29
29
  # website and in client applications.
30
30
  class Service
31
31
 
32
- include GRPC::GenericService
32
+ include ::GRPC::GenericService
33
33
 
34
34
  self.marshal_class_method = :encode
35
35
  self.unmarshal_class_method = :decode
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.3
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 00:00:00.000000000 Z
11
+ date: 2021-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common