google-apis-recaptchaenterprise_v1 0.16.0 → 0.19.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: df3198b272cfd209ef5057068c3e3e18f593482731795ebb4fc14a25fa633d09
4
- data.tar.gz: 6210aed6c037ed198cc3b979ce61c2875fd6e0f1e8961c107a62e17a439c2080
3
+ metadata.gz: 0fae6dade0653f180f2edfcfd42740c39686b5b150354a4c97068138f4ac997d
4
+ data.tar.gz: 0cbb21563a31907b09660b2f8cbd25599001817517956215d75abdf6934a3d84
5
5
  SHA512:
6
- metadata.gz: c99dc2f3198158f31bd0fcbc3a97f2659d116e3b184b1ab4c3524304e57d72c96076160bb6d08812709f4e169c0a09b767f469f2eb306458e51f21773c6f60a7
7
- data.tar.gz: c5efe4fadaf95b416bba06989020f28e5d3e17cb8fe02f8e9b2d494337bcae417fe3be37860aaf3bdc16fa1b894611453ae92f83967348d52192c6a1833d5716
6
+ metadata.gz: bd2a225f32f66ed2db8c913c16305da89a9eb74cac0f1f90fb9185713d6ae43c33b606c44b28eef4c3a5405fffb3c8704b4e39a6999fa8428303e893db146aa3
7
+ data.tar.gz: 6f79ce88bfb10e01a46b178462a0352a9c65a71abdf53c1ad00e85c812ac362b46977c666f1f470dec0bc054019a9e740f0c3d2dffa6d8ad528c4361a68372cb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-recaptchaenterprise_v1
2
2
 
3
+ ### v0.19.0 (2022-06-18)
4
+
5
+ * Regenerated using generator version 0.7.0
6
+
7
+ ### v0.18.0 (2022-06-07)
8
+
9
+ * Regenerated using generator version 0.5.0
10
+
11
+ ### v0.17.0 (2022-05-25)
12
+
13
+ * Regenerated from discovery document revision 20220522
14
+
3
15
  ### v0.16.0 (2022-05-17)
4
16
 
5
17
  * Regenerated from discovery document revision 20220513
@@ -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.16.0"
19
+ GEM_VERSION = "0.19.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.7.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220513"
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.16.0
4
+ version: 0.19.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-05-23 00:00:00.000000000 Z
11
+ date: 2022-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.4'
19
+ version: '0.6'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.4'
29
+ version: '0.6'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.16.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-recaptchaenterprise_v1/v0.19.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