google-cloud-recaptcha_enterprise-v1beta1 0.14.0 → 0.15.0

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: 005edc45e3a2eaf1b94fc17b9c47cfada813739be06cebc0c4cb2e2bc5c4a565
4
- data.tar.gz: 9375b42c1c949e36907f6cc194ec06dec5d8f69aadce8d9d801b2d06f55effd3
3
+ metadata.gz: 7aa395e7ef03a6c569e8890f45246e0fec41663c79472a427704654250f60709
4
+ data.tar.gz: 6f5d527eed0591c0594ce317a6da57f160985d1fb842483252a90e95ec95a53b
5
5
  SHA512:
6
- metadata.gz: 440bdfa739f7e8eb3ff3d5b0f351a8e1ebffe38cd6bc482697e4356c73499a705e084aeb958e1a83d78af321da43a815cb2b1a5615d552e6944587f5d38797ca
7
- data.tar.gz: 61e999195213a69a399d00b5fd675d4009c8cac100071557f00e76416dbaf54309ccd4be179f78f83bd57bb765872fe0af54e9b5be269c48595fea7ad9358e5a
6
+ metadata.gz: 4889f45410ecc713c588c50e74c4d0d5aa678c712616eee741ef52bfa34d57b9f5711fe0162cf5c523e74bf1a4dec552dc1d0b710e03cc0c3e9bf1211d1449e5
7
+ data.tar.gz: 112d14d7cd5523c234f9858ac2ca363bee8f35cd2cc16b90584977e7db00b164298dcef1b865995143902a4c3a88d3ab720a8514be4af893288024697261de1c
@@ -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
 
@@ -183,7 +186,7 @@ module Google
183
186
  # the default parameter values, pass an empty Hash as a request object (see above).
184
187
  #
185
188
  # @param parent [::String]
186
- # Required. The name of the project in which the assessment will be created,
189
+ # Required. The name of the project in which the assessment is created,
187
190
  # in the format `projects/{project_number}`.
188
191
  # @param assessment [::Google::Cloud::RecaptchaEnterprise::V1beta1::Assessment, ::Hash]
189
192
  # Required. The assessment details.
@@ -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 and x-goog-user-project headers
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 = {}
@@ -275,7 +279,7 @@ module Google
275
279
  # Required. The resource name of the Assessment, in the format
276
280
  # `projects/{project_number}/assessments/{assessment_id}`.
277
281
  # @param annotation [::Google::Cloud::RecaptchaEnterprise::V1beta1::AnnotateAssessmentRequest::Annotation]
278
- # Optional. The annotation that will be assigned to the Event. This field can
282
+ # Optional. The annotation that is assigned to the Event. This field can
279
283
  # be left empty to provide reasons that apply to an event without concluding
280
284
  # whether the event is legitimate or fraudulent.
281
285
  # @param reasons [::Array<::Google::Cloud::RecaptchaEnterprise::V1beta1::AnnotateAssessmentRequest::Reason>]
@@ -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 and x-goog-user-project headers
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 = {}
@@ -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
 
@@ -176,7 +179,7 @@ module Google
176
179
  # the default parameter values, pass an empty Hash as a request object (see above).
177
180
  #
178
181
  # @param parent [::String]
179
- # Required. The name of the project in which the assessment will be created,
182
+ # Required. The name of the project in which the assessment is created,
180
183
  # in the format `projects/{project_number}`.
181
184
  # @param assessment [::Google::Cloud::RecaptchaEnterprise::V1beta1::Assessment, ::Hash]
182
185
  # Required. The assessment details.
@@ -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 and x-goog-user-project headers
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,
@@ -261,7 +265,7 @@ module Google
261
265
  # Required. The resource name of the Assessment, in the format
262
266
  # `projects/{project_number}/assessments/{assessment_id}`.
263
267
  # @param annotation [::Google::Cloud::RecaptchaEnterprise::V1beta1::AnnotateAssessmentRequest::Annotation]
264
- # Optional. The annotation that will be assigned to the Event. This field can
268
+ # Optional. The annotation that is assigned to the Event. This field can
265
269
  # be left empty to provide reasons that apply to an event without concluding
266
270
  # whether the event is legitimate or fraudulent.
267
271
  # @param reasons [::Array<::Google::Cloud::RecaptchaEnterprise::V1beta1::AnnotateAssessmentRequest::Reason>]
@@ -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 and x-goog-user-project headers
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,
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module RecaptchaEnterprise
23
23
  module V1beta1
24
- VERSION = "0.14.0"
24
+ VERSION = "0.15.0"
25
25
  end
26
26
  end
27
27
  end
@@ -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
- # publishing:
302
- # method_settings:
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
- # seconds: 360 # 6 minutes
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
- # publishing:
321
- # method_settings:
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'. 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
@@ -24,7 +24,7 @@ module Google
24
24
  # The create assessment request message.
25
25
  # @!attribute [rw] parent
26
26
  # @return [::String]
27
- # Required. The name of the project in which the assessment will be created,
27
+ # Required. The name of the project in which the assessment is created,
28
28
  # in the format `projects/{project_number}`.
29
29
  # @!attribute [rw] assessment
30
30
  # @return [::Google::Cloud::RecaptchaEnterprise::V1beta1::Assessment]
@@ -162,7 +162,7 @@ module Google
162
162
  # `projects/{project_number}/assessments/{assessment_id}`.
163
163
  # @!attribute [rw] annotation
164
164
  # @return [::Google::Cloud::RecaptchaEnterprise::V1beta1::AnnotateAssessmentRequest::Annotation]
165
- # Optional. The annotation that will be assigned to the Event. This field can
165
+ # Optional. The annotation that is assigned to the Event. This field can
166
166
  # be left empty to provide reasons that apply to an event without concluding
167
167
  # whether the event is legitimate or fraudulent.
168
168
  # @!attribute [rw] reasons
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.14.0
4
+ version: 0.15.0
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-04-25 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