google-cloud-phishing_protection-v1beta1 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/phishing_protection/v1beta1/phishing_protection_service/client.rb +5 -1
- data/lib/google/cloud/phishing_protection/v1beta1/phishing_protection_service/rest/client.rb +5 -1
- data/lib/google/cloud/phishing_protection/v1beta1/version.rb +1 -1
- data/lib/google/cloud/phishingprotection/v1beta1/phishingprotection_services_pb.rb +1 -1
- data/proto_docs/google/api/client.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79b1e1e53ffbcddd403511f3eb21aa1ab2f1f198f13be3a39e33f4daefed9245
|
4
|
+
data.tar.gz: 188c3e2e0e01a72446f590a5971ab031f7a99a954cf04654470a657c5c3cd88a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b257945682cbcc74b6c7faa19c939731d40a7b76780419eb6bfab66d1c3416b817053262b00d8b5bedc253f2e67952d2813fa074e456bc72b870feede45debc3
|
7
|
+
data.tar.gz: b5ce18043ae866c9b31526fdc0825a2395d75cffebb4a90cd70fa84e74813b2acacbf1bfc85e856a54606c0bcd1c1d70f406f1c30f47361db8f92a93de2a284b
|
data/README.md
CHANGED
@@ -40,7 +40,7 @@ response = client.report_phishing request
|
|
40
40
|
View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-phishing_protection-v1beta1/latest)
|
41
41
|
for class and method documentation.
|
42
42
|
|
43
|
-
See also the [Product Documentation](https://cloud.google.com/
|
43
|
+
See also the [Product Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-phishing_protection)
|
44
44
|
for general usage information.
|
45
45
|
|
46
46
|
## Enabling Logging
|
@@ -30,6 +30,9 @@ module Google
|
|
30
30
|
# Service to report phishing URIs.
|
31
31
|
#
|
32
32
|
class Client
|
33
|
+
# @private
|
34
|
+
API_VERSION = ""
|
35
|
+
|
33
36
|
# @private
|
34
37
|
DEFAULT_ENDPOINT_TEMPLATE = "phishingprotection.$UNIVERSE_DOMAIN$"
|
35
38
|
|
@@ -226,10 +229,11 @@ module Google
|
|
226
229
|
# Customize the options with defaults
|
227
230
|
metadata = @config.rpcs.report_phishing.metadata.to_h
|
228
231
|
|
229
|
-
# Set x-goog-api-client
|
232
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
230
233
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
231
234
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
232
235
|
gapic_version: ::Google::Cloud::PhishingProtection::V1beta1::VERSION
|
236
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
233
237
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
234
238
|
|
235
239
|
header_params = {}
|
data/lib/google/cloud/phishing_protection/v1beta1/phishing_protection_service/rest/client.rb
CHANGED
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# Service to report phishing URIs.
|
33
33
|
#
|
34
34
|
class Client
|
35
|
+
# @private
|
36
|
+
API_VERSION = ""
|
37
|
+
|
35
38
|
# @private
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "phishingprotection.$UNIVERSE_DOMAIN$"
|
37
40
|
|
@@ -218,12 +221,13 @@ module Google
|
|
218
221
|
# Customize the options with defaults
|
219
222
|
call_metadata = @config.rpcs.report_phishing.metadata.to_h
|
220
223
|
|
221
|
-
# Set x-goog-api-client
|
224
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
222
225
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
223
226
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
224
227
|
gapic_version: ::Google::Cloud::PhishingProtection::V1beta1::VERSION,
|
225
228
|
transports_version_send: [:rest]
|
226
229
|
|
230
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
227
231
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
228
232
|
|
229
233
|
options.apply_defaults timeout: @config.rpcs.report_phishing.timeout,
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# Source: google/cloud/phishingprotection/v1beta1/phishingprotection.proto for package 'Google.Cloud.PhishingProtection.V1beta1'
|
3
3
|
# Original file comments:
|
4
|
-
# Copyright
|
4
|
+
# Copyright 2024 Google LLC
|
5
5
|
#
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
7
|
# you may not use this file except in compliance with the License.
|
@@ -118,6 +118,10 @@ module Google
|
|
118
118
|
# @return [::String]
|
119
119
|
# Optional link to proto reference documentation. Example:
|
120
120
|
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
121
|
+
# @!attribute [rw] rest_reference_documentation_uri
|
122
|
+
# @return [::String]
|
123
|
+
# Optional link to REST reference documentation. Example:
|
124
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rest
|
121
125
|
class Publishing
|
122
126
|
include ::Google::Protobuf::MessageExts
|
123
127
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-phishing_protection-v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-06-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|