google-apis-recaptchaenterprise_v1 0.28.0 → 0.29.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: 6d138305f46d889d69d195282e06cb265fdb31e0c7c6e8cedff2e801b3660a5e
4
- data.tar.gz: 55e0a09d48c3787fc2ab55f361cbc661deaaed80cd74be7840faa4369d9a277e
3
+ metadata.gz: 9090f0f351eec8af258536b905a80b2689f80e594ec486cd89189ada932176f8
4
+ data.tar.gz: e58fa18416eb06d31a74e6ecec759808a0b88bc33e4f05af27eb6365a515d75b
5
5
  SHA512:
6
- metadata.gz: 88a12bc53f532e2e41e558c69e2ae6c5ca07373c473875bef68c2f40f771531dc2a2e76b2174624fa2c001b2e4f1239528ff5c4c99c8c8c7a5714731df3e0c1f
7
- data.tar.gz: 0daba0d3d1381e6a862c6af1cc1a8ae991a5a7bb4980a60b1c4ab430bba09f28aab5109ff19a6ade6a469ed50394fa4cc9ae848a9632a83aed0723c10d919a6c
6
+ metadata.gz: dec93f14ce37e457ec190e7009f6d1b469e48e12f1763e5c45c8a512c211afb06dae0e4e50e99598ce63c268bbd6a82cc55a2ddc3c4a090ed60e31e131ff35d4
7
+ data.tar.gz: e79fd9a92dc52def043a1a23952648ba6a998c275cd2e48b21d3ba8cc5ddf42333c60ba604ef4e7506e9eb26e04c53a7aa23fddf07d75a55f8c4466154417265
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-recaptchaenterprise_v1
2
2
 
3
+ ### v0.29.0 (2023-03-19)
4
+
5
+ * Regenerated from discovery document revision 20230312
6
+
3
7
  ### v0.28.0 (2023-02-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20230219
@@ -205,7 +205,7 @@ module Google
205
205
  # @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1RiskAnalysis]
206
206
  attr_accessor :risk_analysis
207
207
 
208
- # Output only. Properties of the provided event token.
208
+ # Properties of the provided event token.
209
209
  # Corresponds to the JSON property `tokenProperties`
210
210
  # @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TokenProperties]
211
211
  attr_accessor :token_properties
@@ -307,7 +307,7 @@ module Google
307
307
  end
308
308
  end
309
309
 
310
- #
310
+ # The event being assessed.
311
311
  class GoogleCloudRecaptchaenterpriseV1Event
312
312
  include Google::Apis::Core::Hashable
313
313
 
@@ -318,6 +318,14 @@ module Google
318
318
  # @return [String]
319
319
  attr_accessor :expected_action
320
320
 
321
+ # Optional. Optional flag for a reCAPTCHA express request for an assessment
322
+ # without a token. If enabled, `site_key` must reference a SCORE key with WAF
323
+ # feature set to EXPRESS.
324
+ # Corresponds to the JSON property `express`
325
+ # @return [Boolean]
326
+ attr_accessor :express
327
+ alias_method :express?, :express
328
+
321
329
  # Optional. Unique stable hashed user identifier for the request. The identifier
322
330
  # must be hashed using hmac-sha256 with stable secret.
323
331
  # Corresponds to the JSON property `hashedAccountId`
@@ -325,6 +333,21 @@ module Google
325
333
  # @return [String]
326
334
  attr_accessor :hashed_account_id
327
335
 
336
+ # Optional. Optional HTTP header information about the request.
337
+ # Corresponds to the JSON property `headers`
338
+ # @return [Array<String>]
339
+ attr_accessor :headers
340
+
341
+ # Optional. Optional JA3 fingerprint for SSL clients.
342
+ # Corresponds to the JSON property `ja3`
343
+ # @return [String]
344
+ attr_accessor :ja3
345
+
346
+ # Optional. The URI resource the user requested that triggered an assessment.
347
+ # Corresponds to the JSON property `requestedUri`
348
+ # @return [String]
349
+ attr_accessor :requested_uri
350
+
328
351
  # Optional. The site key that was used to invoke reCAPTCHA Enterprise on your
329
352
  # site and generate the token.
330
353
  # Corresponds to the JSON property `siteKey`
@@ -362,7 +385,11 @@ module Google
362
385
  # Update properties of this object
363
386
  def update!(**args)
364
387
  @expected_action = args[:expected_action] if args.key?(:expected_action)
388
+ @express = args[:express] if args.key?(:express)
365
389
  @hashed_account_id = args[:hashed_account_id] if args.key?(:hashed_account_id)
390
+ @headers = args[:headers] if args.key?(:headers)
391
+ @ja3 = args[:ja3] if args.key?(:ja3)
392
+ @requested_uri = args[:requested_uri] if args.key?(:requested_uri)
366
393
  @site_key = args[:site_key] if args.key?(:site_key)
367
394
  @token = args[:token] if args.key?(:token)
368
395
  @transaction_data = args[:transaction_data] if args.key?(:transaction_data)
@@ -483,7 +510,7 @@ module Google
483
510
  # @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AndroidKeySettings]
484
511
  attr_accessor :android_settings
485
512
 
486
- # The timestamp corresponding to the creation of this Key.
513
+ # Output only. The timestamp corresponding to the creation of this Key.
487
514
  # Corresponds to the JSON property `createTime`
488
515
  # @return [String]
489
516
  attr_accessor :create_time
@@ -973,7 +1000,7 @@ module Google
973
1000
  end
974
1001
  end
975
1002
 
976
- #
1003
+ # Properties of the provided event token.
977
1004
  class GoogleCloudRecaptchaenterpriseV1TokenProperties
978
1005
  include Google::Apis::Core::Hashable
979
1006
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RecaptchaenterpriseV1
18
18
  # Version of the google-apis-recaptchaenterprise_v1 gem
19
- GEM_VERSION = "0.28.0"
19
+ GEM_VERSION = "0.29.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230219"
25
+ REVISION = "20230312"
26
26
  end
27
27
  end
28
28
  end
@@ -344,7 +344,11 @@ module Google
344
344
  # @private
345
345
  class Representation < Google::Apis::Core::JsonRepresentation
346
346
  property :expected_action, as: 'expectedAction'
347
+ property :express, as: 'express'
347
348
  property :hashed_account_id, :base64 => true, as: 'hashedAccountId'
349
+ collection :headers, as: 'headers'
350
+ property :ja3, as: 'ja3'
351
+ property :requested_uri, as: 'requestedUri'
348
352
  property :site_key, as: 'siteKey'
349
353
  property :token, as: 'token'
350
354
  property :transaction_data, as: 'transactionData', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TransactionData, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TransactionData::Representation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-recaptchaenterprise_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.28.0
4
+ version: 0.29.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: 2023-02-26 00:00:00.000000000 Z
11
+ date: 2023-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-recaptchaenterprise_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-recaptchaenterprise_v1/v0.28.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-recaptchaenterprise_v1/v0.29.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-recaptchaenterprise_v1
63
63
  post_install_message:
64
64
  rdoc_options: []