google-apis-recaptchaenterprise_v1 0.14.0 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5bec9c269f94534e15a45e02f13365933f4caf5908f9adeff5a4334245c32e2c
4
- data.tar.gz: efbe562cec9434b31f0b5dceba7aeab7726d7d06d9afa7c8375e202facd1697a
3
+ metadata.gz: 9eddff38bdb616338ac082e3113c5f454ed89b9f6be7ce118dae7cd647f2c70a
4
+ data.tar.gz: '0648e7be6511ee1d80a583a7b5834f9968c284d2e15290ea59ff73a20158e4a2'
5
5
  SHA512:
6
- metadata.gz: 26fc41316219f4a9c6550f3529062f9e8c021cf9ef3b65c78082d04da9284385b18231c294eb033d14e7e21f5c7c16eadbc7bfae4b8b12da8f69c990e77f1a07
7
- data.tar.gz: 32c66ea50477191ea746ae834f6213a67b0759dce031b230229183917a5b5fe368a632ed76767f7a16bff1bc40a0057eec649228a382b77ed15eddb6d128a0eb
6
+ metadata.gz: 72cfd49fef04b50d5ce8b67dfa8a28eb86f0f5f454d60d750e9a9287ca44c4e0d891938e105a9b882b6b7497ec5bd86f84bbb65c8a6df83e5b8c1e7fae84da0a
7
+ data.tar.gz: a73b3bac1cfe776ca1d296f6d71a8079a9454d8ef6382d92ecff90fe4652fde8df2c0d8adb114c55e017805cf025937986e293a353fed79537e318fb9f0e7b18
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-recaptchaenterprise_v1
2
2
 
3
+ ### v0.17.0 (2022-05-25)
4
+
5
+ * Regenerated from discovery document revision 20220522
6
+
7
+ ### v0.16.0 (2022-05-17)
8
+
9
+ * Regenerated from discovery document revision 20220513
10
+
11
+ ### v0.15.0 (2022-05-10)
12
+
13
+ * Regenerated from discovery document revision 20220505
14
+
3
15
  ### v0.14.0 (2022-03-22)
4
16
 
5
17
  * Regenerated from discovery document revision 20220319
@@ -140,6 +140,11 @@ module Google
140
140
  # @return [String]
141
141
  attr_accessor :name
142
142
 
143
+ # Private password leak verification info.
144
+ # Corresponds to the JSON property `privatePasswordLeakVerification`
145
+ # @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification]
146
+ attr_accessor :private_password_leak_verification
147
+
143
148
  # Risk analysis result for an event.
144
149
  # Corresponds to the JSON property `riskAnalysis`
145
150
  # @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1RiskAnalysis]
@@ -159,6 +164,7 @@ module Google
159
164
  @account_defender_assessment = args[:account_defender_assessment] if args.key?(:account_defender_assessment)
160
165
  @event = args[:event] if args.key?(:event)
161
166
  @name = args[:name] if args.key?(:name)
167
+ @private_password_leak_verification = args[:private_password_leak_verification] if args.key?(:private_password_leak_verification)
162
168
  @risk_analysis = args[:risk_analysis] if args.key?(:risk_analysis)
163
169
  @token_properties = args[:token_properties] if args.key?(:token_properties)
164
170
  end
@@ -488,6 +494,54 @@ module Google
488
494
  end
489
495
  end
490
496
 
497
+ # Private password leak verification info.
498
+ class GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification
499
+ include Google::Apis::Core::Hashable
500
+
501
+ # Output only. List of prefixes of the encrypted potential password leaks that
502
+ # matched the given parameters. They should be compared with the client-side
503
+ # decryption prefix of `reencrypted_user_credentials_hash`
504
+ # Corresponds to the JSON property `encryptedLeakMatchPrefixes`
505
+ # @return [Array<String>]
506
+ attr_accessor :encrypted_leak_match_prefixes
507
+
508
+ # Optional. Encrypted Scrypt hash of the canonicalized username+password. It is
509
+ # re-encrypted by the server and returned through `
510
+ # reencrypted_user_credentials_hash`.
511
+ # Corresponds to the JSON property `encryptedUserCredentialsHash`
512
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
513
+ # @return [String]
514
+ attr_accessor :encrypted_user_credentials_hash
515
+
516
+ # Optional. Exactly 26-bit prefix of the SHA-256 hash of the canonicalized
517
+ # username. It is used to look up password leaks associated with that hash
518
+ # prefix.
519
+ # Corresponds to the JSON property `lookupHashPrefix`
520
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
521
+ # @return [String]
522
+ attr_accessor :lookup_hash_prefix
523
+
524
+ # Output only. Corresponds to the re-encryption of the `
525
+ # encrypted_user_credentials_hash` field. Used to match potential password leaks
526
+ # within `encrypted_leak_match_prefixes`.
527
+ # Corresponds to the JSON property `reencryptedUserCredentialsHash`
528
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
529
+ # @return [String]
530
+ attr_accessor :reencrypted_user_credentials_hash
531
+
532
+ def initialize(**args)
533
+ update!(**args)
534
+ end
535
+
536
+ # Update properties of this object
537
+ def update!(**args)
538
+ @encrypted_leak_match_prefixes = args[:encrypted_leak_match_prefixes] if args.key?(:encrypted_leak_match_prefixes)
539
+ @encrypted_user_credentials_hash = args[:encrypted_user_credentials_hash] if args.key?(:encrypted_user_credentials_hash)
540
+ @lookup_hash_prefix = args[:lookup_hash_prefix] if args.key?(:lookup_hash_prefix)
541
+ @reencrypted_user_credentials_hash = args[:reencrypted_user_credentials_hash] if args.key?(:reencrypted_user_credentials_hash)
542
+ end
543
+ end
544
+
491
545
  # A group of related accounts.
492
546
  class GoogleCloudRecaptchaenterpriseV1RelatedAccountGroup
493
547
  include Google::Apis::Core::Hashable
@@ -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.14.0"
19
+ GEM_VERSION = "0.17.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220319"
25
+ REVISION = "20220522"
26
26
  end
27
27
  end
28
28
  end
@@ -106,6 +106,12 @@ module Google
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
108
 
109
+ class GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
109
115
  class GoogleCloudRecaptchaenterpriseV1RelatedAccountGroup
110
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
117
 
@@ -216,6 +222,8 @@ module Google
216
222
  property :event, as: 'event', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Event, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Event::Representation
217
223
 
218
224
  property :name, as: 'name'
225
+ property :private_password_leak_verification, as: 'privatePasswordLeakVerification', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification::Representation
226
+
219
227
  property :risk_analysis, as: 'riskAnalysis', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1RiskAnalysis, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1RiskAnalysis::Representation
220
228
 
221
229
  property :token_properties, as: 'tokenProperties', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TokenProperties, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TokenProperties::Representation
@@ -318,6 +326,16 @@ module Google
318
326
  end
319
327
  end
320
328
 
329
+ class GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification
330
+ # @private
331
+ class Representation < Google::Apis::Core::JsonRepresentation
332
+ collection :encrypted_leak_match_prefixes, as: 'encryptedLeakMatchPrefixes'
333
+ property :encrypted_user_credentials_hash, :base64 => true, as: 'encryptedUserCredentialsHash'
334
+ property :lookup_hash_prefix, :base64 => true, as: 'lookupHashPrefix'
335
+ property :reencrypted_user_credentials_hash, :base64 => true, as: 'reencryptedUserCredentialsHash'
336
+ end
337
+ end
338
+
321
339
  class GoogleCloudRecaptchaenterpriseV1RelatedAccountGroup
322
340
  # @private
323
341
  class Representation < Google::Apis::Core::JsonRepresentation
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.14.0
4
+ version: 0.17.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: 2022-03-28 00:00:00.000000000 Z
11
+ date: 2022-05-30 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.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-recaptchaenterprise_v1/v0.17.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for reCAPTCHA Enterprise API V1