google-cloud-phishing_protection 0.3.2 → 0.10.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,31 +0,0 @@
1
- {
2
- "interfaces": {
3
- "google.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1": {
4
- "retry_codes": {
5
- "idempotent": [
6
- "DEADLINE_EXCEEDED",
7
- "UNAVAILABLE"
8
- ],
9
- "non_idempotent": []
10
- },
11
- "retry_params": {
12
- "default": {
13
- "initial_retry_delay_millis": 100,
14
- "retry_delay_multiplier": 1.3,
15
- "max_retry_delay_millis": 60000,
16
- "initial_rpc_timeout_millis": 20000,
17
- "rpc_timeout_multiplier": 1.0,
18
- "max_rpc_timeout_millis": 20000,
19
- "total_timeout_millis": 600000
20
- }
21
- },
22
- "methods": {
23
- "ReportPhishing": {
24
- "timeout_millis": 60000,
25
- "retry_codes_name": "non_idempotent",
26
- "retry_params_name": "default"
27
- }
28
- }
29
- }
30
- }
31
- }
@@ -1,29 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: google/cloud/phishingprotection/v1beta1/phishingprotection.proto
3
-
4
-
5
- require 'google/protobuf'
6
-
7
- require 'google/api/annotations_pb'
8
- require 'google/api/client_pb'
9
- require 'google/api/field_behavior_pb'
10
- require 'google/api/resource_pb'
11
- Google::Protobuf::DescriptorPool.generated_pool.build do
12
- add_message "google.cloud.phishingprotection.v1beta1.ReportPhishingRequest" do
13
- optional :parent, :string, 1
14
- optional :uri, :string, 2
15
- end
16
- add_message "google.cloud.phishingprotection.v1beta1.ReportPhishingResponse" do
17
- end
18
- end
19
-
20
- module Google
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
27
- end
28
- end
29
- end
@@ -1,53 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: google/cloud/phishingprotection/v1beta1/phishingprotection.proto for package 'google.cloud.phishingprotection.v1beta1'
3
- # Original file comments:
4
- # Copyright 2019 Google LLC.
5
- #
6
- # Licensed under the Apache License, Version 2.0 (the "License");
7
- # you may not use this file except in compliance with the License.
8
- # You may obtain a copy of the License at
9
- #
10
- # http://www.apache.org/licenses/LICENSE-2.0
11
- #
12
- # Unless required by applicable law or agreed to in writing, software
13
- # distributed under the License is distributed on an "AS IS" BASIS,
14
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
- # See the License for the specific language governing permissions and
16
- # limitations under the License.
17
- #
18
- #
19
-
20
-
21
- require 'grpc'
22
- require 'google/cloud/phishingprotection/v1beta1/phishingprotection_pb'
23
-
24
- module Google
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
33
-
34
- self.marshal_class_method = :encode
35
- self.unmarshal_class_method = :decode
36
- self.service_name = 'google.cloud.phishingprotection.v1beta1.PhishingProtection'
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
47
-
48
- Stub = Service.rpc_stub_class
49
- end
50
- end
51
- end
52
- end
53
- end