google-cloud-phishing_protection 0.4.1 → 0.5.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: e2c7c0c16bf4d0b6b20e25afc31d90d48ce589ea8fab319278445ee83d27daca
4
- data.tar.gz: c69dfc5bf27009f851ded7b7a947f5c24537a3894926b542eda23ac95942ae3c
3
+ metadata.gz: 142d2a7ccc489b76dd4a816be66d1b12be61b639ea0b3a73872996626b83eecf
4
+ data.tar.gz: 7e107172abbdb14372efd361b9b70b1f21cb925e983aea13be87f50b6313e8d8
5
5
  SHA512:
6
- metadata.gz: c57a1a1be0e5b5a8737c8fccc07d0ae4b1779174be68b5feb06a4c38eaad73ce44eb44204624895cf772f67d618a3485f1794317eaa466c35535b25ce71fb93d
7
- data.tar.gz: 40b3eb335078018f0dde468afe0bf9ee54d85051f43913f43be514b5b3946c7cd1cb8641588b01fa807cb1b41c4799dd4fd832bb70047c60d1bb3805104e70a4
6
+ metadata.gz: '0688c64aead77dbcd714de74640822404bb1d36829e85b65a6bece3badc2d9d5a98e0984f051a41a9389523fc29127c7385fb9818be8915c10eb1fef0fdd5d6e'
7
+ data.tar.gz: 692ae21e14dad1591b44384392dcdc36a6aaa5af66c86828b954a0d6f9ba43b87a49b335f9fd6c8dfc9b1cad5b5a7a2da31fb419becdad46a90b7aa7e29a2f6e
@@ -15,7 +15,7 @@
15
15
 
16
16
  module Google
17
17
  module Cloud
18
- module Phishingprotection
18
+ module PhishingProtection
19
19
  module V1beta1
20
20
  # The ReportPhishing request message.
21
21
  # @!attribute [rw] parent
@@ -36,7 +36,7 @@ module Google
36
36
  # Service to report phishing URIs.
37
37
  #
38
38
  # @!attribute [r] phishing_protection_stub
39
- # @return [Google::Cloud::Phishingprotection::V1beta1::PhishingProtection::Stub]
39
+ # @return [Google::Cloud::PhishingProtection::V1beta1::PhishingProtection::Stub]
40
40
  class PhishingProtectionClient
41
41
  # @private
42
42
  attr_reader :phishing_protection_stub
@@ -182,7 +182,7 @@ module Google
182
182
  updater_proc: updater_proc,
183
183
  scopes: scopes,
184
184
  interceptors: interceptors,
185
- &Google::Cloud::Phishingprotection::V1beta1::PhishingProtection::Stub.method(:new)
185
+ &Google::Cloud::PhishingProtection::V1beta1::PhishingProtection::Stub.method(:new)
186
186
  )
187
187
 
188
188
  @report_phishing = Google::Gax.create_api_call(
@@ -214,9 +214,9 @@ module Google
214
214
  # Overrides the default settings for this call, e.g, timeout,
215
215
  # retries, etc.
216
216
  # @yield [result, operation] Access the result along with the RPC operation
217
- # @yieldparam result [Google::Cloud::Phishingprotection::V1beta1::ReportPhishingResponse]
217
+ # @yieldparam result [Google::Cloud::PhishingProtection::V1beta1::ReportPhishingResponse]
218
218
  # @yieldparam operation [GRPC::ActiveCall::Operation]
219
- # @return [Google::Cloud::Phishingprotection::V1beta1::ReportPhishingResponse]
219
+ # @return [Google::Cloud::PhishingProtection::V1beta1::ReportPhishingResponse]
220
220
  # @raise [Google::Gax::GaxError] if the RPC is aborted.
221
221
  # @example
222
222
  # require "google/cloud/phishing_protection"
@@ -237,7 +237,7 @@ module Google
237
237
  parent: parent,
238
238
  uri: uri
239
239
  }.delete_if { |_, v| v.nil? }
240
- req = Google::Gax::to_proto(req, Google::Cloud::Phishingprotection::V1beta1::ReportPhishingRequest)
240
+ req = Google::Gax::to_proto(req, Google::Cloud::PhishingProtection::V1beta1::ReportPhishingRequest)
241
241
  @report_phishing.call(req, options, &block)
242
242
  end
243
243
  end
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module PhishingProtection
19
- VERSION = "0.4.1".freeze
19
+ VERSION = "0.5.0".freeze
20
20
  end
21
21
  end
22
22
  end
@@ -19,11 +19,12 @@ end
19
19
 
20
20
  module Google
21
21
  module Cloud
22
- module Phishingprotection
23
- module V1beta1
24
- ReportPhishingRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.phishingprotection.v1beta1.ReportPhishingRequest").msgclass
25
- ReportPhishingResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.phishingprotection.v1beta1.ReportPhishingResponse").msgclass
26
- end
22
+ module PhishingProtection
27
23
  end
24
+ Phishingprotection = PhishingProtection unless const_defined? :Phishingprotection
28
25
  end
29
26
  end
27
+ module Google::Cloud::PhishingProtection::V1beta1
28
+ ReportPhishingRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.phishingprotection.v1beta1.ReportPhishingRequest").msgclass
29
+ ReportPhishingResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.phishingprotection.v1beta1.ReportPhishingResponse").msgclass
30
+ end
@@ -1,5 +1,5 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: google/cloud/phishingprotection/v1beta1/phishingprotection.proto for package 'google.cloud.phishingprotection.v1beta1'
2
+ # Source: google/cloud/phishingprotection/v1beta1/phishingprotection.proto for package 'Google::Cloud::PhishingProtection::V1beta1'
3
3
  # Original file comments:
4
4
  # Copyright 2019 Google LLC.
5
5
  #
@@ -23,31 +23,32 @@ require 'google/cloud/phishingprotection/v1beta1/phishingprotection_pb'
23
23
 
24
24
  module Google
25
25
  module Cloud
26
- module Phishingprotection
27
- module V1beta1
28
- module PhishingProtection
29
- # Service to report phishing URIs.
30
- class Service
31
-
32
- include GRPC::GenericService
26
+ module PhishingProtection
27
+ end
28
+ Phishingprotection = PhishingProtection unless const_defined? :Phishingprotection
29
+ end
30
+ end
31
+ module Google::Cloud::PhishingProtection::V1beta1
32
+ module PhishingProtection
33
+ # Service to report phishing URIs.
34
+ class Service
33
35
 
34
- self.marshal_class_method = :encode
35
- self.unmarshal_class_method = :decode
36
- self.service_name = 'google.cloud.phishingprotection.v1beta1.PhishingProtection'
36
+ include GRPC::GenericService
37
37
 
38
- # Reports a URI suspected of containing phishing content to be reviewed. Once
39
- # the report review is complete, its result can be found in the Cloud
40
- # Security Command Center findings dashboard for Phishing Protection. If the
41
- # result verifies the existence of malicious phishing content, the site will
42
- # be added the to [Google's Social Engineering
43
- # lists](https://support.google.com/webmasters/answer/6350487/) in order to
44
- # protect users that could get exposed to this threat in the future.
45
- rpc :ReportPhishing, ReportPhishingRequest, ReportPhishingResponse
46
- end
38
+ self.marshal_class_method = :encode
39
+ self.unmarshal_class_method = :decode
40
+ self.service_name = 'google.cloud.phishingprotection.v1beta1.PhishingProtection'
47
41
 
48
- Stub = Service.rpc_stub_class
49
- end
50
- end
42
+ # Reports a URI suspected of containing phishing content to be reviewed. Once
43
+ # the report review is complete, its result can be found in the Cloud
44
+ # Security Command Center findings dashboard for Phishing Protection. If the
45
+ # result verifies the existence of malicious phishing content, the site will
46
+ # be added the to [Google's Social Engineering
47
+ # lists](https://support.google.com/webmasters/answer/6350487/) in order to
48
+ # protect users that could get exposed to this threat in the future.
49
+ rpc :ReportPhishing, ReportPhishingRequest, ReportPhishingResponse
51
50
  end
51
+
52
+ Stub = Service.rpc_stub_class
52
53
  end
53
54
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-phishing_protection
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.5.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-02 00:00:00.000000000 Z
11
+ date: 2020-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-gax