google-cloud-recaptcha_enterprise-v1beta1 0.14.0 → 0.15.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/recaptcha_enterprise/v1beta1/recaptcha_enterprise_service/client.rb +7 -2
- data/lib/google/cloud/recaptcha_enterprise/v1beta1/recaptcha_enterprise_service/rest/client.rb +7 -2
- data/lib/google/cloud/recaptcha_enterprise/v1beta1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +31 -10
- data/proto_docs/google/api/resource.rb +7 -2
- 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: 5b0521f14cedd50ff125865e3a5875c34920857a6c21e212ef3dc9d2120715d7
|
4
|
+
data.tar.gz: 73ad2dbe9a990b959ddfc57c023f8010af59ac203a062528b5e7029ffb5a127e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '03609cedde33815710a9e93f9dde7df67a9ceca28ee9423679c040708fbc7830d8a3d98812d9e6df44893ae0a50ffbb473dd68ef327b4cddd897202ae6563c33'
|
7
|
+
data.tar.gz: 186efa2e339ce013e5a45b14dd70026116b7c8e0d187262aebb71d4a57239ae4935047b54fd52daef47bdb036cdb0ef694abb61a5143cbae1ef3f19498f406c1
|
@@ -30,6 +30,9 @@ module Google
|
|
30
30
|
# Service to determine the likelihood an event is legitimate.
|
31
31
|
#
|
32
32
|
class Client
|
33
|
+
# @private
|
34
|
+
API_VERSION = ""
|
35
|
+
|
33
36
|
# @private
|
34
37
|
DEFAULT_ENDPOINT_TEMPLATE = "recaptchaenterprise.$UNIVERSE_DOMAIN$"
|
35
38
|
|
@@ -222,10 +225,11 @@ module Google
|
|
222
225
|
# Customize the options with defaults
|
223
226
|
metadata = @config.rpcs.create_assessment.metadata.to_h
|
224
227
|
|
225
|
-
# Set x-goog-api-client
|
228
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
226
229
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
227
230
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
228
231
|
gapic_version: ::Google::Cloud::RecaptchaEnterprise::V1beta1::VERSION
|
232
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
229
233
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
230
234
|
|
231
235
|
header_params = {}
|
@@ -324,10 +328,11 @@ module Google
|
|
324
328
|
# Customize the options with defaults
|
325
329
|
metadata = @config.rpcs.annotate_assessment.metadata.to_h
|
326
330
|
|
327
|
-
# Set x-goog-api-client
|
331
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
328
332
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
329
333
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
330
334
|
gapic_version: ::Google::Cloud::RecaptchaEnterprise::V1beta1::VERSION
|
335
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
331
336
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
332
337
|
|
333
338
|
header_params = {}
|
data/lib/google/cloud/recaptcha_enterprise/v1beta1/recaptcha_enterprise_service/rest/client.rb
CHANGED
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# Service to determine the likelihood an event is legitimate.
|
33
33
|
#
|
34
34
|
class Client
|
35
|
+
# @private
|
36
|
+
API_VERSION = ""
|
37
|
+
|
35
38
|
# @private
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "recaptchaenterprise.$UNIVERSE_DOMAIN$"
|
37
40
|
|
@@ -214,12 +217,13 @@ module Google
|
|
214
217
|
# Customize the options with defaults
|
215
218
|
call_metadata = @config.rpcs.create_assessment.metadata.to_h
|
216
219
|
|
217
|
-
# Set x-goog-api-client
|
220
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
218
221
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
219
222
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
220
223
|
gapic_version: ::Google::Cloud::RecaptchaEnterprise::V1beta1::VERSION,
|
221
224
|
transports_version_send: [:rest]
|
222
225
|
|
226
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
223
227
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
224
228
|
|
225
229
|
options.apply_defaults timeout: @config.rpcs.create_assessment.timeout,
|
@@ -309,12 +313,13 @@ module Google
|
|
309
313
|
# Customize the options with defaults
|
310
314
|
call_metadata = @config.rpcs.annotate_assessment.metadata.to_h
|
311
315
|
|
312
|
-
# Set x-goog-api-client
|
316
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
313
317
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
314
318
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
315
319
|
gapic_version: ::Google::Cloud::RecaptchaEnterprise::V1beta1::VERSION,
|
316
320
|
transports_version_send: [:rest]
|
317
321
|
|
322
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
318
323
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
319
324
|
|
320
325
|
options.apply_defaults timeout: @config.rpcs.annotate_assessment.timeout,
|
@@ -196,9 +196,26 @@ module Google
|
|
196
196
|
# @!attribute [rw] common
|
197
197
|
# @return [::Google::Api::CommonLanguageSettings]
|
198
198
|
# Some settings.
|
199
|
+
# @!attribute [rw] experimental_features
|
200
|
+
# @return [::Google::Api::PythonSettings::ExperimentalFeatures]
|
201
|
+
# Experimental features to be included during client library generation.
|
199
202
|
class PythonSettings
|
200
203
|
include ::Google::Protobuf::MessageExts
|
201
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
|
202
219
|
end
|
203
220
|
|
204
221
|
# Settings for Node client libraries.
|
@@ -290,6 +307,13 @@ module Google
|
|
290
307
|
# @return [::String]
|
291
308
|
# The fully qualified name of the method, for which the options below apply.
|
292
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...
|
293
317
|
# @!attribute [rw] long_running
|
294
318
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
295
319
|
# Describes settings to use for long-running operations when generating
|
@@ -298,17 +322,14 @@ module Google
|
|
298
322
|
#
|
299
323
|
# Example of a YAML configuration::
|
300
324
|
#
|
301
|
-
#
|
302
|
-
#
|
325
|
+
# publishing:
|
326
|
+
# method_settings:
|
303
327
|
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
304
328
|
# long_running:
|
305
|
-
# initial_poll_delay:
|
306
|
-
# seconds: 60 # 1 minute
|
329
|
+
# initial_poll_delay: 60s # 1 minute
|
307
330
|
# poll_delay_multiplier: 1.5
|
308
|
-
# max_poll_delay:
|
309
|
-
#
|
310
|
-
# total_poll_timeout:
|
311
|
-
# seconds: 54000 # 90 minutes
|
331
|
+
# max_poll_delay: 360s # 6 minutes
|
332
|
+
# total_poll_timeout: 54000s # 90 minutes
|
312
333
|
# @!attribute [rw] auto_populated_fields
|
313
334
|
# @return [::Array<::String>]
|
314
335
|
# List of top-level fields of the request message, that should be
|
@@ -317,8 +338,8 @@ module Google
|
|
317
338
|
#
|
318
339
|
# Example of a YAML configuration:
|
319
340
|
#
|
320
|
-
#
|
321
|
-
#
|
341
|
+
# publishing:
|
342
|
+
# method_settings:
|
322
343
|
# - selector: google.example.v1.ExampleService.CreateExample
|
323
344
|
# auto_populated_fields:
|
324
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'.
|
128
|
-
#
|
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-recaptcha_enterprise-v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.15.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-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|