google-cloud-phishing_protection-v1beta1 0.9.0 → 0.9.2

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: 1b84a25146c1ae1730a8eba5f0b6deb3d9b4ac5b3078fd09b18abe5239f12fe6
4
+ data.tar.gz: e2c93ac4a22b3e0615b73842cde90f1d823a6b98151d754774ab3a57824a63db
5
5
  SHA512:
6
- metadata.gz: 283b0470e4f8bf8dc11adf8937f7a7e84ae49ccb767a5d4d943c4ddd373cdb6352d4bd87b208a73207509cbafab4f21f61bfc3b9d90a99401526d39dcd0f968b
7
- data.tar.gz: cc63f3bf2feabc6d6b6fd887218c67a4e05f0043147b8c2bece7a5fd344449d191ee71f02be5db0b380aa2ee2a90fd7275d1f5c58c9082b8d98d234e4f1943af
6
+ metadata.gz: 10deed32f903f6023f9377031ae693951c40ed81d91e88fae7f1dba3179068bbd3b0c1d67b4dc877b0c2822f66911f2148f46ce2e4db7d04f8b1c4da86add772
7
+ data.tar.gz: 870771c7f0ea3154472344a59bac0c69f6b8ea733ded88739ed48238ff467c8fd9fa27988ee760f565926a206aaa1c020c27fe924332d22349373987db962c1e
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.2"
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
@@ -192,9 +196,26 @@ module Google
192
196
  # @!attribute [rw] common
193
197
  # @return [::Google::Api::CommonLanguageSettings]
194
198
  # Some settings.
199
+ # @!attribute [rw] experimental_features
200
+ # @return [::Google::Api::PythonSettings::ExperimentalFeatures]
201
+ # Experimental features to be included during client library generation.
195
202
  class PythonSettings
196
203
  include ::Google::Protobuf::MessageExts
197
204
  extend ::Google::Protobuf::MessageExts::ClassMethods
205
+
206
+ # Experimental features to be included during client library generation.
207
+ # These fields will be deprecated once the feature graduates and is enabled
208
+ # by default.
209
+ # @!attribute [rw] rest_async_io_enabled
210
+ # @return [::Boolean]
211
+ # Enables generation of asynchronous REST clients if `rest` transport is
212
+ # enabled. By default, asynchronous REST clients will not be generated.
213
+ # This feature will be enabled by default 1 month after launching the
214
+ # feature in preview packages.
215
+ class ExperimentalFeatures
216
+ include ::Google::Protobuf::MessageExts
217
+ extend ::Google::Protobuf::MessageExts::ClassMethods
218
+ end
198
219
  end
199
220
 
200
221
  # Settings for Node client libraries.
@@ -286,6 +307,13 @@ module Google
286
307
  # @return [::String]
287
308
  # The fully qualified name of the method, for which the options below apply.
288
309
  # This is used to find the method to apply the options.
310
+ #
311
+ # Example:
312
+ #
313
+ # publishing:
314
+ # method_settings:
315
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
316
+ # # method settings for CreateFolder...
289
317
  # @!attribute [rw] long_running
290
318
  # @return [::Google::Api::MethodSettings::LongRunning]
291
319
  # Describes settings to use for long-running operations when generating
@@ -294,17 +322,14 @@ module Google
294
322
  #
295
323
  # Example of a YAML configuration::
296
324
  #
297
- # publishing:
298
- # method_settings:
325
+ # publishing:
326
+ # method_settings:
299
327
  # - selector: google.cloud.speech.v2.Speech.BatchRecognize
300
328
  # long_running:
301
- # initial_poll_delay:
302
- # seconds: 60 # 1 minute
329
+ # initial_poll_delay: 60s # 1 minute
303
330
  # poll_delay_multiplier: 1.5
304
- # max_poll_delay:
305
- # seconds: 360 # 6 minutes
306
- # total_poll_timeout:
307
- # seconds: 54000 # 90 minutes
331
+ # max_poll_delay: 360s # 6 minutes
332
+ # total_poll_timeout: 54000s # 90 minutes
308
333
  # @!attribute [rw] auto_populated_fields
309
334
  # @return [::Array<::String>]
310
335
  # List of top-level fields of the request message, that should be
@@ -313,8 +338,8 @@ module Google
313
338
  #
314
339
  # Example of a YAML configuration:
315
340
  #
316
- # publishing:
317
- # method_settings:
341
+ # publishing:
342
+ # method_settings:
318
343
  # - selector: google.example.v1.ExampleService.CreateExample
319
344
  # auto_populated_fields:
320
345
  # - request_id
@@ -124,8 +124,13 @@ module Google
124
124
  # @return [::String]
125
125
  # The plural name used in the resource name and permission names, such as
126
126
  # 'projects' for the resource name of 'projects/\\{project}' and the permission
127
- # name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same
128
- # concept of the `plural` field in k8s CRD spec
127
+ # name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
128
+ # to this is for Nested Collections that have stuttering names, as defined
129
+ # in [AIP-122](https://google.aip.dev/122#nested-collections), where the
130
+ # collection ID in the resource name pattern does not necessarily directly
131
+ # match the `plural` value.
132
+ #
133
+ # It is the same concept of the `plural` field in k8s CRD spec
129
134
  # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
130
135
  #
131
136
  # Note: The plural form is required even for singleton resources. See
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.2
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-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common