google-apis-recaptchaenterprise_v1 0.51.0 → 0.53.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: e5b86b64b55218836a3efb8d52d5689088765e64104585d51b37ab0d2fe219a4
4
- data.tar.gz: 8a0fac359d6e2bf556fa7c6b757b3d80251f38ef94dc658e5443b8fac702a08a
3
+ metadata.gz: a5de2846e4b30514fc2f63a3a0599ddcbcbab5d0acd449850a4a050cedfba6ba
4
+ data.tar.gz: 461cd8f40a565350fe3a414c32875c9dd7ed93f2308aca20d18cb1e9206dc42c
5
5
  SHA512:
6
- metadata.gz: 5513868133c5357bc804326c8c25ee65057c5253777c6c2d503bc99b72e1b57609b070de60947b07b02625abe0f20bc396aab6f3e0554920d06c1d9844a91cde
7
- data.tar.gz: 10d4d045a4aa61333d7c71612cb420711e0ba5f2c88cef52bbb4b8b44a5161aed4ea0b1a5f2225942a190dd4220bee4e83f99597024e5a881e6649c5b5ebec26
6
+ metadata.gz: 81af08213248bf50256f8a1bff45ec5478ad7b5f49bb8c7c46c04cfe03ce2faa893ed25debe350783ae61f531c29dc606afbbe4463c56b317e20c26fd3cb5515
7
+ data.tar.gz: ffc1271592dc2d8ffa3daae8308590d2b60000ca902db577723d1ef1da46b4fad56d283818288ed0f7dc8b8cff12b4f4a373efd0c88a11eb43c15c7b86dd39e6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-recaptchaenterprise_v1
2
2
 
3
+ ### v0.53.0 (2024-08-11)
4
+
5
+ * Regenerated from discovery document revision 20240804
6
+
7
+ ### v0.52.0 (2024-08-04)
8
+
9
+ * Regenerated from discovery document revision 20240728
10
+ * Regenerated using generator version 0.15.1
11
+
3
12
  ### v0.51.0 (2024-07-25)
4
13
 
5
14
  * Regenerated from discovery document revision 20240721
@@ -259,6 +259,12 @@ module Google
259
259
  # @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo]
260
260
  attr_accessor :account_verification
261
261
 
262
+ # The environment creating the assessment. This describes your environment (the
263
+ # system invoking CreateAssessment), NOT the environment of your user.
264
+ # Corresponds to the JSON property `assessmentEnvironment`
265
+ # @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AssessmentEnvironment]
266
+ attr_accessor :assessment_environment
267
+
262
268
  # The event being assessed.
263
269
  # Corresponds to the JSON property `event`
264
270
  # @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Event]
@@ -313,6 +319,7 @@ module Google
313
319
  def update!(**args)
314
320
  @account_defender_assessment = args[:account_defender_assessment] if args.key?(:account_defender_assessment)
315
321
  @account_verification = args[:account_verification] if args.key?(:account_verification)
322
+ @assessment_environment = args[:assessment_environment] if args.key?(:assessment_environment)
316
323
  @event = args[:event] if args.key?(:event)
317
324
  @firewall_policy_assessment = args[:firewall_policy_assessment] if args.key?(:firewall_policy_assessment)
318
325
  @fraud_prevention_assessment = args[:fraud_prevention_assessment] if args.key?(:fraud_prevention_assessment)
@@ -325,6 +332,37 @@ module Google
325
332
  end
326
333
  end
327
334
 
335
+ # The environment creating the assessment. This describes your environment (the
336
+ # system invoking CreateAssessment), NOT the environment of your user.
337
+ class GoogleCloudRecaptchaenterpriseV1AssessmentEnvironment
338
+ include Google::Apis::Core::Hashable
339
+
340
+ # Optional. Identifies the client module initiating the CreateAssessment request.
341
+ # This can be the link to the client module's project. Examples include: - "
342
+ # github.com/GoogleCloudPlatform/recaptcha-enterprise-google-tag-manager" - "
343
+ # cloud.google.com/recaptcha/docs/implement-waf-akamai" - "cloud.google.com/
344
+ # recaptcha/docs/implement-waf-cloudflare" - "wordpress.org/plugins/recaptcha-
345
+ # something"
346
+ # Corresponds to the JSON property `client`
347
+ # @return [String]
348
+ attr_accessor :client
349
+
350
+ # Optional. The version of the client module. For example, "1.0.0".
351
+ # Corresponds to the JSON property `version`
352
+ # @return [String]
353
+ attr_accessor :version
354
+
355
+ def initialize(**args)
356
+ update!(**args)
357
+ end
358
+
359
+ # Update properties of this object
360
+ def update!(**args)
361
+ @client = args[:client] if args.key?(:client)
362
+ @version = args[:version] if args.key?(:version)
363
+ end
364
+ end
365
+
328
366
  # Metrics related to challenges.
329
367
  class GoogleCloudRecaptchaenterpriseV1ChallengeMetrics
330
368
  include Google::Apis::Core::Hashable
@@ -417,7 +455,8 @@ module Google
417
455
  attr_accessor :expected_action
418
456
 
419
457
  # Optional. Flag for a reCAPTCHA express request for an assessment without a
420
- # token. If enabled, `site_key` must reference an Express site key.
458
+ # token. If enabled, `site_key` must reference a SCORE key with WAF feature set
459
+ # to EXPRESS.
421
460
  # Corresponds to the JSON property `express`
422
461
  # @return [Boolean]
423
462
  attr_accessor :express
@@ -524,19 +563,6 @@ module Google
524
563
  end
525
564
  end
526
565
 
527
- # Settings specific to keys that can be used for reCAPTCHA Express.
528
- class GoogleCloudRecaptchaenterpriseV1ExpressKeySettings
529
- include Google::Apis::Core::Hashable
530
-
531
- def initialize(**args)
532
- update!(**args)
533
- end
534
-
535
- # Update properties of this object
536
- def update!(**args)
537
- end
538
- end
539
-
540
566
  # An individual action. Each action represents what to do if a policy matches.
541
567
  class GoogleCloudRecaptchaenterpriseV1FirewallAction
542
568
  include Google::Apis::Core::Hashable
@@ -1046,11 +1072,6 @@ module Google
1046
1072
  # @return [String]
1047
1073
  attr_accessor :display_name
1048
1074
 
1049
- # Settings specific to keys that can be used for reCAPTCHA Express.
1050
- # Corresponds to the JSON property `expressSettings`
1051
- # @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ExpressKeySettings]
1052
- attr_accessor :express_settings
1053
-
1054
1075
  # Settings specific to keys that can be used by iOS apps.
1055
1076
  # Corresponds to the JSON property `iosSettings`
1056
1077
  # @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1IosKeySettings]
@@ -1092,7 +1113,6 @@ module Google
1092
1113
  @android_settings = args[:android_settings] if args.key?(:android_settings)
1093
1114
  @create_time = args[:create_time] if args.key?(:create_time)
1094
1115
  @display_name = args[:display_name] if args.key?(:display_name)
1095
- @express_settings = args[:express_settings] if args.key?(:express_settings)
1096
1116
  @ios_settings = args[:ios_settings] if args.key?(:ios_settings)
1097
1117
  @labels = args[:labels] if args.key?(:labels)
1098
1118
  @name = args[:name] if args.key?(:name)
@@ -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.51.0"
19
+ GEM_VERSION = "0.53.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240721"
25
+ REVISION = "20240804"
26
26
  end
27
27
  end
28
28
  end
@@ -76,25 +76,25 @@ module Google
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
- class GoogleCloudRecaptchaenterpriseV1ChallengeMetrics
79
+ class GoogleCloudRecaptchaenterpriseV1AssessmentEnvironment
80
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
81
 
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
- class GoogleCloudRecaptchaenterpriseV1EndpointVerificationInfo
85
+ class GoogleCloudRecaptchaenterpriseV1ChallengeMetrics
86
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
87
 
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
- class GoogleCloudRecaptchaenterpriseV1Event
91
+ class GoogleCloudRecaptchaenterpriseV1EndpointVerificationInfo
92
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
93
 
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
- class GoogleCloudRecaptchaenterpriseV1ExpressKeySettings
97
+ class GoogleCloudRecaptchaenterpriseV1Event
98
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
99
 
100
100
  include Google::Apis::Core::JsonObjectSupport
@@ -487,6 +487,8 @@ module Google
487
487
 
488
488
  property :account_verification, as: 'accountVerification', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo::Representation
489
489
 
490
+ property :assessment_environment, as: 'assessmentEnvironment', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AssessmentEnvironment, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AssessmentEnvironment::Representation
491
+
490
492
  property :event, as: 'event', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Event, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Event::Representation
491
493
 
492
494
  property :firewall_policy_assessment, as: 'firewallPolicyAssessment', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FirewallPolicyAssessment, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FirewallPolicyAssessment::Representation
@@ -507,6 +509,14 @@ module Google
507
509
  end
508
510
  end
509
511
 
512
+ class GoogleCloudRecaptchaenterpriseV1AssessmentEnvironment
513
+ # @private
514
+ class Representation < Google::Apis::Core::JsonRepresentation
515
+ property :client, as: 'client'
516
+ property :version, as: 'version'
517
+ end
518
+ end
519
+
510
520
  class GoogleCloudRecaptchaenterpriseV1ChallengeMetrics
511
521
  # @private
512
522
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -550,12 +560,6 @@ module Google
550
560
  end
551
561
  end
552
562
 
553
- class GoogleCloudRecaptchaenterpriseV1ExpressKeySettings
554
- # @private
555
- class Representation < Google::Apis::Core::JsonRepresentation
556
- end
557
- end
558
-
559
563
  class GoogleCloudRecaptchaenterpriseV1FirewallAction
560
564
  # @private
561
565
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -719,8 +723,6 @@ module Google
719
723
 
720
724
  property :create_time, as: 'createTime'
721
725
  property :display_name, as: 'displayName'
722
- property :express_settings, as: 'expressSettings', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ExpressKeySettings, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ExpressKeySettings::Representation
723
-
724
726
  property :ios_settings, as: 'iosSettings', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1IosKeySettings, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1IosKeySettings::Representation
725
727
 
726
728
  hash :labels, as: 'labels'
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.51.0
4
+ version: 0.53.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-07-25 00:00:00.000000000 Z
11
+ date: 2024-08-11 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.51.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-recaptchaenterprise_v1/v0.53.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: []