google-cloud-phishing_protection 0.5.0 → 0.11.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,30 +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
- end
24
- Phishingprotection = PhishingProtection unless const_defined? :Phishingprotection
25
- end
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,54 +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
- 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
35
-
36
- include GRPC::GenericService
37
-
38
- self.marshal_class_method = :encode
39
- self.unmarshal_class_method = :decode
40
- self.service_name = 'google.cloud.phishingprotection.v1beta1.PhishingProtection'
41
-
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
50
- end
51
-
52
- Stub = Service.rpc_stub_class
53
- end
54
- end