google-cloud-recaptcha_enterprise 0.5.1 → 0.6.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: 6d5edebe55fac41b99d68b7adcceeb799c4f9148d6c731470609896c49525ba5
4
- data.tar.gz: 190f41ad01c2b3a7bfab787918b87cf4a0927efa3c979cd6077e928566e6a253
3
+ metadata.gz: 9f02d1f54e681af96c7e5e12bb610faec7d040c3da9fc48c72ff4aa46e6aab3c
4
+ data.tar.gz: 61868cbf57254ee775a36728b10443441cbd58bb8f613092febbfda1c21aec2d
5
5
  SHA512:
6
- metadata.gz: 8a140f39326a604695e6e989d24ef7b84c5859354bdccde34df64901ca0156befe765a19196b410cf4918cbc36d177846ab644ab12bf49bc5a2f614f61ec6b47
7
- data.tar.gz: 5a5db4002c9b9f53b06bac4740bc2153e7e1be549ab87ce761fd1b7d9d248c00a72e2f01830ffe7ee66add7d6d7fd54f7cf18190f51c0fb1e83bf706e28e0068
6
+ metadata.gz: dc9e353eff517fed8f346a96c98ebe36027361e959b86eb5c90eeec8cdca9c8149143618db2a282ba6d61db9b9e8babcbeb94daf91b1128bf7ca63e909e3d07c
7
+ data.tar.gz: 1aae8a20a106086ffb2aad01503db8a18c21c1304e8a3717ca4ec3a770812505ebd25bcb05374e01fb806514a7eae5bc0290e81572a056d2f0b0172dd603566b
@@ -15,7 +15,7 @@
15
15
 
16
16
  module Google
17
17
  module Cloud
18
- module Recaptchaenterprise
18
+ module RecaptchaEnterprise
19
19
  module V1beta1
20
20
  # The create assessment request message.
21
21
  # @!attribute [rw] parent
@@ -23,7 +23,7 @@ module Google
23
23
  # Required. The name of the project in which the assessment will be created,
24
24
  # in the format "projects/\\{project_number}".
25
25
  # @!attribute [rw] assessment
26
- # @return [Google::Cloud::Recaptchaenterprise::V1beta1::Assessment]
26
+ # @return [Google::Cloud::RecaptchaEnterprise::V1beta1::Assessment]
27
27
  # Required. The assessment details.
28
28
  class CreateAssessmentRequest; end
29
29
 
@@ -33,7 +33,7 @@ module Google
33
33
  # Required. The resource name of the Assessment, in the format
34
34
  # "projects/\\{project_number}/assessments/\\{assessment_id}".
35
35
  # @!attribute [rw] annotation
36
- # @return [Google::Cloud::Recaptchaenterprise::V1beta1::AnnotateAssessmentRequest::Annotation]
36
+ # @return [Google::Cloud::RecaptchaEnterprise::V1beta1::AnnotateAssessmentRequest::Annotation]
37
37
  # Required. The annotation that will be assigned to the Event.
38
38
  class AnnotateAssessmentRequest
39
39
  # Enum that reprensents the types of annotations.
@@ -58,7 +58,7 @@ module Google
58
58
  # Output only. The resource name for the Assessment in the format
59
59
  # "projects/\\{project_number}/assessments/\\{assessment_id}".
60
60
  # @!attribute [rw] event
61
- # @return [Google::Cloud::Recaptchaenterprise::V1beta1::Event]
61
+ # @return [Google::Cloud::RecaptchaEnterprise::V1beta1::Event]
62
62
  # The event being assessed.
63
63
  # @!attribute [rw] score
64
64
  # @return [Float]
@@ -66,10 +66,10 @@ module Google
66
66
  # (1.0 means very likely legitimate traffic while 0.0 means very likely
67
67
  # non-legitimate traffic).
68
68
  # @!attribute [rw] token_properties
69
- # @return [Google::Cloud::Recaptchaenterprise::V1beta1::TokenProperties]
69
+ # @return [Google::Cloud::RecaptchaEnterprise::V1beta1::TokenProperties]
70
70
  # Output only. Properties of the provided event token.
71
71
  # @!attribute [rw] reasons
72
- # @return [Array<Google::Cloud::Recaptchaenterprise::V1beta1::Assessment::ClassificationReason>]
72
+ # @return [Array<Google::Cloud::RecaptchaEnterprise::V1beta1::Assessment::ClassificationReason>]
73
73
  # Output only. Reasons contributing to the risk analysis verdict.
74
74
  class Assessment
75
75
  # LINT.IfChange(classification_reason)
@@ -123,7 +123,7 @@ module Google
123
123
  # @return [true, false]
124
124
  # Whether the provided user response token is valid.
125
125
  # @!attribute [rw] invalid_reason
126
- # @return [Google::Cloud::Recaptchaenterprise::V1beta1::TokenProperties::InvalidReason]
126
+ # @return [Google::Cloud::RecaptchaEnterprise::V1beta1::TokenProperties::InvalidReason]
127
127
  # Reason associated with the response when valid = false.
128
128
  # @!attribute [rw] create_time
129
129
  # @return [Google::Protobuf::Timestamp]
@@ -170,7 +170,7 @@ module Google
170
170
  # Required. The name of the project in which the key will be created, in the
171
171
  # format "projects/\\{project_number}".
172
172
  # @!attribute [rw] key
173
- # @return [Google::Cloud::Recaptchaenterprise::V1beta1::Key]
173
+ # @return [Google::Cloud::RecaptchaEnterprise::V1beta1::Key]
174
174
  # Required. Information to create a reCAPTCHA Enterprise key.
175
175
  class CreateKeyRequest; end
176
176
 
@@ -191,7 +191,7 @@ module Google
191
191
 
192
192
  # Response to request to list keys in a project.
193
193
  # @!attribute [rw] keys
194
- # @return [Array<Google::Cloud::Recaptchaenterprise::V1beta1::Key>]
194
+ # @return [Array<Google::Cloud::RecaptchaEnterprise::V1beta1::Key>]
195
195
  # Key details.
196
196
  # @!attribute [rw] next_page_token
197
197
  # @return [String]
@@ -208,7 +208,7 @@ module Google
208
208
 
209
209
  # The update key request message.
210
210
  # @!attribute [rw] key
211
- # @return [Google::Cloud::Recaptchaenterprise::V1beta1::Key]
211
+ # @return [Google::Cloud::RecaptchaEnterprise::V1beta1::Key]
212
212
  # Required. The key to update.
213
213
  # @!attribute [rw] update_mask
214
214
  # @return [Google::Protobuf::FieldMask]
@@ -233,13 +233,13 @@ module Google
233
233
  # @return [String]
234
234
  # Human-readable display name of this key. Modifiable by user.
235
235
  # @!attribute [rw] web_settings
236
- # @return [Google::Cloud::Recaptchaenterprise::V1beta1::WebKeySettings]
236
+ # @return [Google::Cloud::RecaptchaEnterprise::V1beta1::WebKeySettings]
237
237
  # Settings for keys that can be used by websites.
238
238
  # @!attribute [rw] android_settings
239
- # @return [Google::Cloud::Recaptchaenterprise::V1beta1::AndroidKeySettings]
239
+ # @return [Google::Cloud::RecaptchaEnterprise::V1beta1::AndroidKeySettings]
240
240
  # Settings for keys that can be used by Android apps.
241
241
  # @!attribute [rw] ios_settings
242
- # @return [Google::Cloud::Recaptchaenterprise::V1beta1::IOSKeySettings]
242
+ # @return [Google::Cloud::RecaptchaEnterprise::V1beta1::IOSKeySettings]
243
243
  # Settings for keys that can be used by iOS apps.
244
244
  class Key; end
245
245
 
@@ -257,10 +257,10 @@ module Google
257
257
  # @return [true, false]
258
258
  # Whether this key can be used on AMP (Accelerated Mobile Pages) websites.
259
259
  # @!attribute [rw] integration_type
260
- # @return [Google::Cloud::Recaptchaenterprise::V1beta1::WebKeySettings::IntegrationType]
260
+ # @return [Google::Cloud::RecaptchaEnterprise::V1beta1::WebKeySettings::IntegrationType]
261
261
  # Required. Describes how this key is integrated with the website.
262
262
  # @!attribute [rw] challenge_security_preference
263
- # @return [Google::Cloud::Recaptchaenterprise::V1beta1::WebKeySettings::ChallengeSecurityPreference]
263
+ # @return [Google::Cloud::RecaptchaEnterprise::V1beta1::WebKeySettings::ChallengeSecurityPreference]
264
264
  # Settings for the frequency and difficulty at which this key triggers
265
265
  # captcha challenges. This should only be specified for IntegrationTypes
266
266
  # CHECKBOX_CHALLENGE and INVISIBLE_CHALLENGE.
@@ -36,7 +36,7 @@ module Google
36
36
  # Service to determine the likelihood an event is legitimate.
37
37
  #
38
38
  # @!attribute [r] recaptcha_enterprise_stub
39
- # @return [Google::Cloud::Recaptchaenterprise::V1beta1::RecaptchaEnterprise::Stub]
39
+ # @return [Google::Cloud::RecaptchaEnterprise::V1beta1::RecaptchaEnterprise::Stub]
40
40
  class RecaptchaEnterpriseClient
41
41
  # @private
42
42
  attr_reader :recaptcha_enterprise_stub
@@ -226,7 +226,7 @@ module Google
226
226
  updater_proc: updater_proc,
227
227
  scopes: scopes,
228
228
  interceptors: interceptors,
229
- &Google::Cloud::Recaptchaenterprise::V1beta1::RecaptchaEnterprise::Stub.method(:new)
229
+ &Google::Cloud::RecaptchaEnterprise::V1beta1::RecaptchaEnterprise::Stub.method(:new)
230
230
  )
231
231
 
232
232
  @create_assessment = Google::Gax.create_api_call(
@@ -294,17 +294,17 @@ module Google
294
294
  # @param parent [String]
295
295
  # Required. The name of the project in which the assessment will be created,
296
296
  # in the format "projects/\\{project_number}".
297
- # @param assessment [Google::Cloud::Recaptchaenterprise::V1beta1::Assessment | Hash]
297
+ # @param assessment [Google::Cloud::RecaptchaEnterprise::V1beta1::Assessment | Hash]
298
298
  # Required. The assessment details.
299
- # A hash of the same form as `Google::Cloud::Recaptchaenterprise::V1beta1::Assessment`
299
+ # A hash of the same form as `Google::Cloud::RecaptchaEnterprise::V1beta1::Assessment`
300
300
  # can also be provided.
301
301
  # @param options [Google::Gax::CallOptions]
302
302
  # Overrides the default settings for this call, e.g, timeout,
303
303
  # retries, etc.
304
304
  # @yield [result, operation] Access the result along with the RPC operation
305
- # @yieldparam result [Google::Cloud::Recaptchaenterprise::V1beta1::Assessment]
305
+ # @yieldparam result [Google::Cloud::RecaptchaEnterprise::V1beta1::Assessment]
306
306
  # @yieldparam operation [GRPC::ActiveCall::Operation]
307
- # @return [Google::Cloud::Recaptchaenterprise::V1beta1::Assessment]
307
+ # @return [Google::Cloud::RecaptchaEnterprise::V1beta1::Assessment]
308
308
  # @raise [Google::Gax::GaxError] if the RPC is aborted.
309
309
  # @example
310
310
  # require "google/cloud/recaptcha_enterprise"
@@ -325,7 +325,7 @@ module Google
325
325
  parent: parent,
326
326
  assessment: assessment
327
327
  }.delete_if { |_, v| v.nil? }
328
- req = Google::Gax::to_proto(req, Google::Cloud::Recaptchaenterprise::V1beta1::CreateAssessmentRequest)
328
+ req = Google::Gax::to_proto(req, Google::Cloud::RecaptchaEnterprise::V1beta1::CreateAssessmentRequest)
329
329
  @create_assessment.call(req, options, &block)
330
330
  end
331
331
 
@@ -335,15 +335,15 @@ module Google
335
335
  # @param name [String]
336
336
  # Required. The resource name of the Assessment, in the format
337
337
  # "projects/\\{project_number}/assessments/\\{assessment_id}".
338
- # @param annotation [Google::Cloud::Recaptchaenterprise::V1beta1::AnnotateAssessmentRequest::Annotation]
338
+ # @param annotation [Google::Cloud::RecaptchaEnterprise::V1beta1::AnnotateAssessmentRequest::Annotation]
339
339
  # Required. The annotation that will be assigned to the Event.
340
340
  # @param options [Google::Gax::CallOptions]
341
341
  # Overrides the default settings for this call, e.g, timeout,
342
342
  # retries, etc.
343
343
  # @yield [result, operation] Access the result along with the RPC operation
344
- # @yieldparam result [Google::Cloud::Recaptchaenterprise::V1beta1::AnnotateAssessmentResponse]
344
+ # @yieldparam result [Google::Cloud::RecaptchaEnterprise::V1beta1::AnnotateAssessmentResponse]
345
345
  # @yieldparam operation [GRPC::ActiveCall::Operation]
346
- # @return [Google::Cloud::Recaptchaenterprise::V1beta1::AnnotateAssessmentResponse]
346
+ # @return [Google::Cloud::RecaptchaEnterprise::V1beta1::AnnotateAssessmentResponse]
347
347
  # @raise [Google::Gax::GaxError] if the RPC is aborted.
348
348
  # @example
349
349
  # require "google/cloud/recaptcha_enterprise"
@@ -364,7 +364,7 @@ module Google
364
364
  name: name,
365
365
  annotation: annotation
366
366
  }.delete_if { |_, v| v.nil? }
367
- req = Google::Gax::to_proto(req, Google::Cloud::Recaptchaenterprise::V1beta1::AnnotateAssessmentRequest)
367
+ req = Google::Gax::to_proto(req, Google::Cloud::RecaptchaEnterprise::V1beta1::AnnotateAssessmentRequest)
368
368
  @annotate_assessment.call(req, options, &block)
369
369
  end
370
370
 
@@ -373,17 +373,17 @@ module Google
373
373
  # @param parent [String]
374
374
  # Required. The name of the project in which the key will be created, in the
375
375
  # format "projects/\\{project_number}".
376
- # @param key [Google::Cloud::Recaptchaenterprise::V1beta1::Key | Hash]
376
+ # @param key [Google::Cloud::RecaptchaEnterprise::V1beta1::Key | Hash]
377
377
  # Required. Information to create a reCAPTCHA Enterprise key.
378
- # A hash of the same form as `Google::Cloud::Recaptchaenterprise::V1beta1::Key`
378
+ # A hash of the same form as `Google::Cloud::RecaptchaEnterprise::V1beta1::Key`
379
379
  # can also be provided.
380
380
  # @param options [Google::Gax::CallOptions]
381
381
  # Overrides the default settings for this call, e.g, timeout,
382
382
  # retries, etc.
383
383
  # @yield [result, operation] Access the result along with the RPC operation
384
- # @yieldparam result [Google::Cloud::Recaptchaenterprise::V1beta1::Key]
384
+ # @yieldparam result [Google::Cloud::RecaptchaEnterprise::V1beta1::Key]
385
385
  # @yieldparam operation [GRPC::ActiveCall::Operation]
386
- # @return [Google::Cloud::Recaptchaenterprise::V1beta1::Key]
386
+ # @return [Google::Cloud::RecaptchaEnterprise::V1beta1::Key]
387
387
  # @raise [Google::Gax::GaxError] if the RPC is aborted.
388
388
  # @example
389
389
  # require "google/cloud/recaptcha_enterprise"
@@ -404,7 +404,7 @@ module Google
404
404
  parent: parent,
405
405
  key: key
406
406
  }.delete_if { |_, v| v.nil? }
407
- req = Google::Gax::to_proto(req, Google::Cloud::Recaptchaenterprise::V1beta1::CreateKeyRequest)
407
+ req = Google::Gax::to_proto(req, Google::Cloud::RecaptchaEnterprise::V1beta1::CreateKeyRequest)
408
408
  @create_key.call(req, options, &block)
409
409
  end
410
410
 
@@ -423,10 +423,10 @@ module Google
423
423
  # Overrides the default settings for this call, e.g, timeout,
424
424
  # retries, etc.
425
425
  # @yield [result, operation] Access the result along with the RPC operation
426
- # @yieldparam result [Google::Gax::PagedEnumerable<Google::Cloud::Recaptchaenterprise::V1beta1::Key>]
426
+ # @yieldparam result [Google::Gax::PagedEnumerable<Google::Cloud::RecaptchaEnterprise::V1beta1::Key>]
427
427
  # @yieldparam operation [GRPC::ActiveCall::Operation]
428
- # @return [Google::Gax::PagedEnumerable<Google::Cloud::Recaptchaenterprise::V1beta1::Key>]
429
- # An enumerable of Google::Cloud::Recaptchaenterprise::V1beta1::Key instances.
428
+ # @return [Google::Gax::PagedEnumerable<Google::Cloud::RecaptchaEnterprise::V1beta1::Key>]
429
+ # An enumerable of Google::Cloud::RecaptchaEnterprise::V1beta1::Key instances.
430
430
  # See Google::Gax::PagedEnumerable documentation for other
431
431
  # operations such as per-page iteration or access to the response
432
432
  # object.
@@ -459,7 +459,7 @@ module Google
459
459
  parent: parent,
460
460
  page_size: page_size
461
461
  }.delete_if { |_, v| v.nil? }
462
- req = Google::Gax::to_proto(req, Google::Cloud::Recaptchaenterprise::V1beta1::ListKeysRequest)
462
+ req = Google::Gax::to_proto(req, Google::Cloud::RecaptchaEnterprise::V1beta1::ListKeysRequest)
463
463
  @list_keys.call(req, options, &block)
464
464
  end
465
465
 
@@ -472,9 +472,9 @@ module Google
472
472
  # Overrides the default settings for this call, e.g, timeout,
473
473
  # retries, etc.
474
474
  # @yield [result, operation] Access the result along with the RPC operation
475
- # @yieldparam result [Google::Cloud::Recaptchaenterprise::V1beta1::Key]
475
+ # @yieldparam result [Google::Cloud::RecaptchaEnterprise::V1beta1::Key]
476
476
  # @yieldparam operation [GRPC::ActiveCall::Operation]
477
- # @return [Google::Cloud::Recaptchaenterprise::V1beta1::Key]
477
+ # @return [Google::Cloud::RecaptchaEnterprise::V1beta1::Key]
478
478
  # @raise [Google::Gax::GaxError] if the RPC is aborted.
479
479
  # @example
480
480
  # require "google/cloud/recaptcha_enterprise"
@@ -490,15 +490,15 @@ module Google
490
490
  req = {
491
491
  name: name
492
492
  }.delete_if { |_, v| v.nil? }
493
- req = Google::Gax::to_proto(req, Google::Cloud::Recaptchaenterprise::V1beta1::GetKeyRequest)
493
+ req = Google::Gax::to_proto(req, Google::Cloud::RecaptchaEnterprise::V1beta1::GetKeyRequest)
494
494
  @get_key.call(req, options, &block)
495
495
  end
496
496
 
497
497
  # Updates the specified key.
498
498
  #
499
- # @param key [Google::Cloud::Recaptchaenterprise::V1beta1::Key | Hash]
499
+ # @param key [Google::Cloud::RecaptchaEnterprise::V1beta1::Key | Hash]
500
500
  # Required. The key to update.
501
- # A hash of the same form as `Google::Cloud::Recaptchaenterprise::V1beta1::Key`
501
+ # A hash of the same form as `Google::Cloud::RecaptchaEnterprise::V1beta1::Key`
502
502
  # can also be provided.
503
503
  # @param update_mask [Google::Protobuf::FieldMask | Hash]
504
504
  # Optional. The mask to control which field of the key get updated. If the mask is not
@@ -509,9 +509,9 @@ module Google
509
509
  # Overrides the default settings for this call, e.g, timeout,
510
510
  # retries, etc.
511
511
  # @yield [result, operation] Access the result along with the RPC operation
512
- # @yieldparam result [Google::Cloud::Recaptchaenterprise::V1beta1::Key]
512
+ # @yieldparam result [Google::Cloud::RecaptchaEnterprise::V1beta1::Key]
513
513
  # @yieldparam operation [GRPC::ActiveCall::Operation]
514
- # @return [Google::Cloud::Recaptchaenterprise::V1beta1::Key]
514
+ # @return [Google::Cloud::RecaptchaEnterprise::V1beta1::Key]
515
515
  # @raise [Google::Gax::GaxError] if the RPC is aborted.
516
516
  # @example
517
517
  # require "google/cloud/recaptcha_enterprise"
@@ -531,7 +531,7 @@ module Google
531
531
  key: key,
532
532
  update_mask: update_mask
533
533
  }.delete_if { |_, v| v.nil? }
534
- req = Google::Gax::to_proto(req, Google::Cloud::Recaptchaenterprise::V1beta1::UpdateKeyRequest)
534
+ req = Google::Gax::to_proto(req, Google::Cloud::RecaptchaEnterprise::V1beta1::UpdateKeyRequest)
535
535
  @update_key.call(req, options, &block)
536
536
  end
537
537
 
@@ -561,7 +561,7 @@ module Google
561
561
  req = {
562
562
  name: name
563
563
  }.delete_if { |_, v| v.nil? }
564
- req = Google::Gax::to_proto(req, Google::Cloud::Recaptchaenterprise::V1beta1::DeleteKeyRequest)
564
+ req = Google::Gax::to_proto(req, Google::Cloud::RecaptchaEnterprise::V1beta1::DeleteKeyRequest)
565
565
  @delete_key.call(req, options, &block)
566
566
  nil
567
567
  end
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module RecaptchaEnterprise
19
- VERSION = "0.5.1".freeze
19
+ VERSION = "0.6.0".freeze
20
20
  end
21
21
  end
22
22
  end
@@ -126,30 +126,31 @@ end
126
126
 
127
127
  module Google
128
128
  module Cloud
129
- module Recaptchaenterprise
130
- module V1beta1
131
- CreateAssessmentRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.CreateAssessmentRequest").msgclass
132
- AnnotateAssessmentRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.AnnotateAssessmentRequest").msgclass
133
- AnnotateAssessmentRequest::Annotation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.AnnotateAssessmentRequest.Annotation").enummodule
134
- AnnotateAssessmentResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.AnnotateAssessmentResponse").msgclass
135
- Assessment = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.Assessment").msgclass
136
- Assessment::ClassificationReason = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.Assessment.ClassificationReason").enummodule
137
- Event = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.Event").msgclass
138
- TokenProperties = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.TokenProperties").msgclass
139
- TokenProperties::InvalidReason = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.TokenProperties.InvalidReason").enummodule
140
- CreateKeyRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.CreateKeyRequest").msgclass
141
- ListKeysRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.ListKeysRequest").msgclass
142
- ListKeysResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.ListKeysResponse").msgclass
143
- GetKeyRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.GetKeyRequest").msgclass
144
- UpdateKeyRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.UpdateKeyRequest").msgclass
145
- DeleteKeyRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.DeleteKeyRequest").msgclass
146
- Key = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.Key").msgclass
147
- WebKeySettings = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.WebKeySettings").msgclass
148
- WebKeySettings::IntegrationType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.WebKeySettings.IntegrationType").enummodule
149
- WebKeySettings::ChallengeSecurityPreference = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.WebKeySettings.ChallengeSecurityPreference").enummodule
150
- AndroidKeySettings = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.AndroidKeySettings").msgclass
151
- IOSKeySettings = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.IOSKeySettings").msgclass
152
- end
129
+ module RecaptchaEnterprise
153
130
  end
131
+ Recaptchaenterprise = RecaptchaEnterprise unless const_defined? :Recaptchaenterprise
154
132
  end
155
133
  end
134
+ module Google::Cloud::RecaptchaEnterprise::V1beta1
135
+ CreateAssessmentRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.CreateAssessmentRequest").msgclass
136
+ AnnotateAssessmentRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.AnnotateAssessmentRequest").msgclass
137
+ AnnotateAssessmentRequest::Annotation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.AnnotateAssessmentRequest.Annotation").enummodule
138
+ AnnotateAssessmentResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.AnnotateAssessmentResponse").msgclass
139
+ Assessment = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.Assessment").msgclass
140
+ Assessment::ClassificationReason = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.Assessment.ClassificationReason").enummodule
141
+ Event = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.Event").msgclass
142
+ TokenProperties = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.TokenProperties").msgclass
143
+ TokenProperties::InvalidReason = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.TokenProperties.InvalidReason").enummodule
144
+ CreateKeyRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.CreateKeyRequest").msgclass
145
+ ListKeysRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.ListKeysRequest").msgclass
146
+ ListKeysResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.ListKeysResponse").msgclass
147
+ GetKeyRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.GetKeyRequest").msgclass
148
+ UpdateKeyRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.UpdateKeyRequest").msgclass
149
+ DeleteKeyRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.DeleteKeyRequest").msgclass
150
+ Key = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.Key").msgclass
151
+ WebKeySettings = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.WebKeySettings").msgclass
152
+ WebKeySettings::IntegrationType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.WebKeySettings.IntegrationType").enummodule
153
+ WebKeySettings::ChallengeSecurityPreference = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.WebKeySettings.ChallengeSecurityPreference").enummodule
154
+ AndroidKeySettings = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.AndroidKeySettings").msgclass
155
+ IOSKeySettings = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.IOSKeySettings").msgclass
156
+ end
@@ -1,5 +1,5 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise.proto for package 'google.cloud.recaptchaenterprise.v1beta1'
2
+ # Source: google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise.proto for package 'Google::Cloud::RecaptchaEnterprise::V1beta1'
3
3
  # Original file comments:
4
4
  # Copyright 2019 Google LLC.
5
5
  #
@@ -23,38 +23,39 @@ require 'google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise_pb'
23
23
 
24
24
  module Google
25
25
  module Cloud
26
- module Recaptchaenterprise
27
- module V1beta1
28
- module RecaptchaEnterprise
29
- # Service to determine the likelihood an event is legitimate.
30
- class Service
31
-
32
- include GRPC::GenericService
26
+ module RecaptchaEnterprise
27
+ end
28
+ Recaptchaenterprise = RecaptchaEnterprise unless const_defined? :Recaptchaenterprise
29
+ end
30
+ end
31
+ module Google::Cloud::RecaptchaEnterprise::V1beta1
32
+ module RecaptchaEnterprise
33
+ # Service to determine the likelihood an event is legitimate.
34
+ class Service
33
35
 
34
- self.marshal_class_method = :encode
35
- self.unmarshal_class_method = :decode
36
- self.service_name = 'google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterprise'
36
+ include GRPC::GenericService
37
37
 
38
- # Creates an Assessment of the likelihood an event is legitimate.
39
- rpc :CreateAssessment, CreateAssessmentRequest, Assessment
40
- # Annotates a previously created Assessment to provide additional information
41
- # on whether the event turned out to be authentic or fradulent.
42
- rpc :AnnotateAssessment, AnnotateAssessmentRequest, AnnotateAssessmentResponse
43
- # Creates a new reCAPTCHA Enterprise key.
44
- rpc :CreateKey, CreateKeyRequest, Key
45
- # Returns the list of all keys that belong to a project.
46
- rpc :ListKeys, ListKeysRequest, ListKeysResponse
47
- # Returns the specified key.
48
- rpc :GetKey, GetKeyRequest, Key
49
- # Updates the specified key.
50
- rpc :UpdateKey, UpdateKeyRequest, Key
51
- # Deletes the specified key.
52
- rpc :DeleteKey, DeleteKeyRequest, Google::Protobuf::Empty
53
- end
38
+ self.marshal_class_method = :encode
39
+ self.unmarshal_class_method = :decode
40
+ self.service_name = 'google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterprise'
54
41
 
55
- Stub = Service.rpc_stub_class
56
- end
57
- end
42
+ # Creates an Assessment of the likelihood an event is legitimate.
43
+ rpc :CreateAssessment, CreateAssessmentRequest, Assessment
44
+ # Annotates a previously created Assessment to provide additional information
45
+ # on whether the event turned out to be authentic or fradulent.
46
+ rpc :AnnotateAssessment, AnnotateAssessmentRequest, AnnotateAssessmentResponse
47
+ # Creates a new reCAPTCHA Enterprise key.
48
+ rpc :CreateKey, CreateKeyRequest, Key
49
+ # Returns the list of all keys that belong to a project.
50
+ rpc :ListKeys, ListKeysRequest, ListKeysResponse
51
+ # Returns the specified key.
52
+ rpc :GetKey, GetKeyRequest, Key
53
+ # Updates the specified key.
54
+ rpc :UpdateKey, UpdateKeyRequest, Key
55
+ # Deletes the specified key.
56
+ rpc :DeleteKey, DeleteKeyRequest, Google::Protobuf::Empty
58
57
  end
58
+
59
+ Stub = Service.rpc_stub_class
59
60
  end
60
61
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-recaptcha_enterprise
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.6.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: 2020-04-02 00:00:00.000000000 Z
11
+ date: 2020-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-gax