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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a1d581d82d7f98ba343b105fc8d6f6120077410b842cbfc4fe59e684887ba6db
4
- data.tar.gz: 6f98d6bea74b8fcb7249a0849e10d989ac3e12b3b5c18dfefc07986c884d8714
3
+ metadata.gz: 79b1e1e53ffbcddd403511f3eb21aa1ab2f1f198f13be3a39e33f4daefed9245
4
+ data.tar.gz: 188c3e2e0e01a72446f590a5971ab031f7a99a954cf04654470a657c5c3cd88a
5
5
  SHA512:
6
- metadata.gz: 283b0470e4f8bf8dc11adf8937f7a7e84ae49ccb767a5d4d943c4ddd373cdb6352d4bd87b208a73207509cbafab4f21f61bfc3b9d90a99401526d39dcd0f968b
7
- data.tar.gz: cc63f3bf2feabc6d6b6fd887218c67a4e05f0043147b8c2bece7a5fd344449d191ee71f02be5db0b380aa2ee2a90fd7275d1f5c58c9082b8d98d234e4f1943af
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/phishing-protection)
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 and x-goog-user-project headers
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 = {}
@@ -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 and x-goog-user-project headers
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,
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module PhishingProtection
23
23
  module V1beta1
24
- VERSION = "0.9.0"
24
+ VERSION = "0.9.1"
25
25
  end
26
26
  end
27
27
  end
@@ -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 2019 Google LLC.
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.0
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-02-26 00:00:00.000000000 Z
11
+ date: 2024-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common