google-apis-recaptchaenterprise_v1 0.36.0 → 0.38.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/recaptchaenterprise_v1/classes.rb +210 -126
- data/lib/google/apis/recaptchaenterprise_v1/gem_version.rb +2 -2
- data/lib/google/apis/recaptchaenterprise_v1/representations.rb +45 -0
- data/lib/google/apis/recaptchaenterprise_v1/service.rb +27 -27
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83f3381bbfe181b8c81adced280ac0009e5166e1452d74f3e5938440798498b6
|
4
|
+
data.tar.gz: 4d8fb061cce48d7e0cea01cae037715453ffac4dcc88709643a5f0c3ac3c29b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f52931ea7b614133b514bbd3fe7c77c525b5f7fea2eb09f87e00d3091b77d03262b52c2c6616db88ef8bd6cb70aab651c452d25cf7530723ca270130066cae39
|
7
|
+
data.tar.gz: ead9b8f43fe491e9820529f192fde70f23b20e35e3226c34ac51c0e728196d5a076c4760e2cb18987b2804c6d48b8bd2fef21c070721fb8a619734e97b987dfb
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-recaptchaenterprise_v1
|
2
2
|
|
3
|
+
### v0.38.0 (2023-10-15)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231008
|
6
|
+
|
7
|
+
### v0.37.0 (2023-09-24)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230917
|
10
|
+
|
3
11
|
### v0.36.0 (2023-08-03)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230724
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
class GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
29
|
-
# Labels for this request.
|
29
|
+
# Output only. Labels for this request.
|
30
30
|
# Corresponds to the JSON property `labels`
|
31
31
|
# @return [Array<String>]
|
32
32
|
attr_accessor :labels
|
@@ -45,13 +45,13 @@ module Google
|
|
45
45
|
class GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo
|
46
46
|
include Google::Apis::Core::Hashable
|
47
47
|
|
48
|
-
# Endpoints that can be used for identity verification.
|
48
|
+
# Optional. Endpoints that can be used for identity verification.
|
49
49
|
# Corresponds to the JSON property `endpoints`
|
50
50
|
# @return [Array<Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1EndpointVerificationInfo>]
|
51
51
|
attr_accessor :endpoints
|
52
52
|
|
53
|
-
# Language code preference for the verification message, set as a IETF
|
54
|
-
# language code.
|
53
|
+
# Optional. Language code preference for the verification message, set as a IETF
|
54
|
+
# BCP 47 language code.
|
55
55
|
# Corresponds to the JSON property `languageCode`
|
56
56
|
# @return [String]
|
57
57
|
attr_accessor :language_code
|
@@ -84,20 +84,20 @@ module Google
|
|
84
84
|
class GoogleCloudRecaptchaenterpriseV1AndroidKeySettings
|
85
85
|
include Google::Apis::Core::Hashable
|
86
86
|
|
87
|
-
# If set to true, allowed_package_names are not enforced.
|
87
|
+
# Optional. If set to true, allowed_package_names are not enforced.
|
88
88
|
# Corresponds to the JSON property `allowAllPackageNames`
|
89
89
|
# @return [Boolean]
|
90
90
|
attr_accessor :allow_all_package_names
|
91
91
|
alias_method :allow_all_package_names?, :allow_all_package_names
|
92
92
|
|
93
|
-
# Android package names of apps allowed to use the key. Example: 'com.
|
93
|
+
# Optional. Android package names of apps allowed to use the key. Example: 'com.
|
94
94
|
# companyname.appname'
|
95
95
|
# Corresponds to the JSON property `allowedPackageNames`
|
96
96
|
# @return [Array<String>]
|
97
97
|
attr_accessor :allowed_package_names
|
98
98
|
|
99
|
-
# Set to true for keys that are used in an Android application that is
|
100
|
-
# for download in app stores in addition to the Google Play Store.
|
99
|
+
# Optional. Set to true for keys that are used in an Android application that is
|
100
|
+
# available for download in app stores in addition to the Google Play Store.
|
101
101
|
# Corresponds to the JSON property `supportNonGoogleAppStoreDistribution`
|
102
102
|
# @return [Boolean]
|
103
103
|
attr_accessor :support_non_google_app_store_distribution
|
@@ -236,8 +236,13 @@ module Google
|
|
236
236
|
# @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment]
|
237
237
|
attr_accessor :fraud_prevention_assessment
|
238
238
|
|
239
|
-
#
|
240
|
-
#
|
239
|
+
# Fraud signals describing users and cards involved in the transaction.
|
240
|
+
# Corresponds to the JSON property `fraudSignals`
|
241
|
+
# @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudSignals]
|
242
|
+
attr_accessor :fraud_signals
|
243
|
+
|
244
|
+
# Output only. The resource name for the Assessment in the format `projects/`
|
245
|
+
# project`/assessments/`assessment``.
|
241
246
|
# Corresponds to the JSON property `name`
|
242
247
|
# @return [String]
|
243
248
|
attr_accessor :name
|
@@ -268,6 +273,7 @@ module Google
|
|
268
273
|
@event = args[:event] if args.key?(:event)
|
269
274
|
@firewall_policy_assessment = args[:firewall_policy_assessment] if args.key?(:firewall_policy_assessment)
|
270
275
|
@fraud_prevention_assessment = args[:fraud_prevention_assessment] if args.key?(:fraud_prevention_assessment)
|
276
|
+
@fraud_signals = args[:fraud_signals] if args.key?(:fraud_signals)
|
271
277
|
@name = args[:name] if args.key?(:name)
|
272
278
|
@private_password_leak_verification = args[:private_password_leak_verification] if args.key?(:private_password_leak_verification)
|
273
279
|
@risk_analysis = args[:risk_analysis] if args.key?(:risk_analysis)
|
@@ -394,7 +400,7 @@ module Google
|
|
394
400
|
# @return [Array<String>]
|
395
401
|
attr_accessor :headers
|
396
402
|
|
397
|
-
# Optional.
|
403
|
+
# Optional. JA3 fingerprint for SSL clients.
|
398
404
|
# Corresponds to the JSON property `ja3`
|
399
405
|
# @return [String]
|
400
406
|
attr_accessor :ja3
|
@@ -417,7 +423,6 @@ module Google
|
|
417
423
|
attr_accessor :token
|
418
424
|
|
419
425
|
# Transaction data associated with a payment protected by reCAPTCHA Enterprise.
|
420
|
-
# All fields are optional.
|
421
426
|
# Corresponds to the JSON property `transactionData`
|
422
427
|
# @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TransactionData]
|
423
428
|
attr_accessor :transaction_data
|
@@ -556,12 +561,12 @@ module Google
|
|
556
561
|
class GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction
|
557
562
|
include Google::Apis::Core::Hashable
|
558
563
|
|
559
|
-
# The header key to set in the request to the backend server.
|
564
|
+
# Optional. The header key to set in the request to the backend server.
|
560
565
|
# Corresponds to the JSON property `key`
|
561
566
|
# @return [String]
|
562
567
|
attr_accessor :key
|
563
568
|
|
564
|
-
# The header value to set in the request to the backend server.
|
569
|
+
# Optional. The header value to set in the request to the backend server.
|
565
570
|
# Corresponds to the JSON property `value`
|
566
571
|
# @return [String]
|
567
572
|
attr_accessor :value
|
@@ -582,8 +587,8 @@ module Google
|
|
582
587
|
class GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteAction
|
583
588
|
include Google::Apis::Core::Hashable
|
584
589
|
|
585
|
-
# The address to redirect to. The target is a relative path in the
|
586
|
-
# Example: "/blog/404.html".
|
590
|
+
# Optional. The address to redirect to. The target is a relative path in the
|
591
|
+
# current host. Example: "/blog/404.html".
|
587
592
|
# Corresponds to the JSON property `path`
|
588
593
|
# @return [String]
|
589
594
|
attr_accessor :path
|
@@ -603,42 +608,42 @@ module Google
|
|
603
608
|
class GoogleCloudRecaptchaenterpriseV1FirewallPolicy
|
604
609
|
include Google::Apis::Core::Hashable
|
605
610
|
|
606
|
-
# The actions that the caller should take regarding user access. There
|
607
|
-
# at most one terminal action. A terminal action is any action that
|
608
|
-
# response, such as AllowAction
|
609
|
-
# non-terminal actions such as SetHeader might be specified. A
|
610
|
-
# contain up to 16 actions.
|
611
|
+
# Optional. The actions that the caller should take regarding user access. There
|
612
|
+
# should be at most one terminal action. A terminal action is any action that
|
613
|
+
# forces a response, such as `AllowAction`, `BlockAction` or `SubstituteAction`.
|
614
|
+
# Zero or more non-terminal actions such as `SetHeader` might be specified. A
|
615
|
+
# single policy can contain up to 16 actions.
|
611
616
|
# Corresponds to the JSON property `actions`
|
612
617
|
# @return [Array<Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FirewallAction>]
|
613
618
|
attr_accessor :actions
|
614
619
|
|
615
|
-
# A CEL (Common Expression Language) conditional expression that
|
616
|
-
# this policy applies to an incoming user request. If this
|
617
|
-
# to true and the requested path matched the path pattern,
|
618
|
-
# actions should be executed by the caller. The condition string
|
619
|
-
# CEL syntax correctness on creation. For more information, see
|
620
|
-
# https://github.com/google/cel-spec) and its [language
|
621
|
-
# github.com/google/cel-spec/blob/master/doc/langdef.md). A
|
622
|
-
# length of 500 characters.
|
620
|
+
# Optional. A CEL (Common Expression Language) conditional expression that
|
621
|
+
# specifies if this policy applies to an incoming user request. If this
|
622
|
+
# condition evaluates to true and the requested path matched the path pattern,
|
623
|
+
# the associated actions should be executed by the caller. The condition string
|
624
|
+
# is checked for CEL syntax correctness on creation. For more information, see
|
625
|
+
# the [CEL spec](https://github.com/google/cel-spec) and its [language
|
626
|
+
# definition](https://github.com/google/cel-spec/blob/master/doc/langdef.md). A
|
627
|
+
# condition has a max length of 500 characters.
|
623
628
|
# Corresponds to the JSON property `condition`
|
624
629
|
# @return [String]
|
625
630
|
attr_accessor :condition
|
626
631
|
|
627
|
-
# A description of what this policy aims to achieve, for convenience
|
628
|
-
# The description can at most include 256 UTF-8 characters.
|
632
|
+
# Optional. A description of what this policy aims to achieve, for convenience
|
633
|
+
# purposes. The description can at most include 256 UTF-8 characters.
|
629
634
|
# Corresponds to the JSON property `description`
|
630
635
|
# @return [String]
|
631
636
|
attr_accessor :description
|
632
637
|
|
633
|
-
# The resource name for the FirewallPolicy in the format
|
634
|
-
# firewallpolicies/`firewallpolicy
|
638
|
+
# The resource name for the FirewallPolicy in the format `projects/`project`/
|
639
|
+
# firewallpolicies/`firewallpolicy``.
|
635
640
|
# Corresponds to the JSON property `name`
|
636
641
|
# @return [String]
|
637
642
|
attr_accessor :name
|
638
643
|
|
639
|
-
# The path for which this policy applies, specified as a glob pattern.
|
640
|
-
# information on glob, see the [manual page](https://man7.org/linux/man-
|
641
|
-
# man7/glob.7.html). A path has a max length of 200 characters.
|
644
|
+
# Optional. The path for which this policy applies, specified as a glob pattern.
|
645
|
+
# For more information on glob, see the [manual page](https://man7.org/linux/man-
|
646
|
+
# pages/man7/glob.7.html). A path has a max length of 200 characters.
|
642
647
|
# Corresponds to the JSON property `path`
|
643
648
|
# @return [String]
|
644
649
|
attr_accessor :path
|
@@ -709,8 +714,9 @@ module Google
|
|
709
714
|
# @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict]
|
710
715
|
attr_accessor :stolen_instrument_verdict
|
711
716
|
|
712
|
-
# Probability of this transaction being fraudulent. Summarizes the
|
713
|
-
# of attack vectors below. Values are from 0.0 (lowest) to 1.0 (
|
717
|
+
# Output only. Probability of this transaction being fraudulent. Summarizes the
|
718
|
+
# combined risk of attack vectors below. Values are from 0.0 (lowest) to 1.0 (
|
719
|
+
# highest).
|
714
720
|
# Corresponds to the JSON property `transactionRisk`
|
715
721
|
# @return [Float]
|
716
722
|
attr_accessor :transaction_risk
|
@@ -732,8 +738,8 @@ module Google
|
|
732
738
|
class GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentBehavioralTrustVerdict
|
733
739
|
include Google::Apis::Core::Hashable
|
734
740
|
|
735
|
-
# Probability of this transaction attempt being executed in a
|
736
|
-
# trustworthy way. Values are from 0.0 (lowest) to 1.0 (highest).
|
741
|
+
# Output only. Probability of this transaction attempt being executed in a
|
742
|
+
# behaviorally trustworthy way. Values are from 0.0 (lowest) to 1.0 (highest).
|
737
743
|
# Corresponds to the JSON property `trust`
|
738
744
|
# @return [Float]
|
739
745
|
attr_accessor :trust_prop
|
@@ -753,8 +759,8 @@ module Google
|
|
753
759
|
class GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict
|
754
760
|
include Google::Apis::Core::Hashable
|
755
761
|
|
756
|
-
# Probability of this transaction attempt being part of a card
|
757
|
-
# Values are from 0.0 (lowest) to 1.0 (highest).
|
762
|
+
# Output only. Probability of this transaction attempt being part of a card
|
763
|
+
# testing attack. Values are from 0.0 (lowest) to 1.0 (highest).
|
758
764
|
# Corresponds to the JSON property `risk`
|
759
765
|
# @return [Float]
|
760
766
|
attr_accessor :risk
|
@@ -774,8 +780,8 @@ module Google
|
|
774
780
|
class GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict
|
775
781
|
include Google::Apis::Core::Hashable
|
776
782
|
|
777
|
-
# Probability of this transaction being executed with a stolen
|
778
|
-
# Values are from 0.0 (lowest) to 1.0 (highest).
|
783
|
+
# Output only. Probability of this transaction being executed with a stolen
|
784
|
+
# instrument. Values are from 0.0 (lowest) to 1.0 (highest).
|
779
785
|
# Corresponds to the JSON property `risk`
|
780
786
|
# @return [Float]
|
781
787
|
attr_accessor :risk
|
@@ -790,18 +796,90 @@ module Google
|
|
790
796
|
end
|
791
797
|
end
|
792
798
|
|
799
|
+
# Fraud signals describing users and cards involved in the transaction.
|
800
|
+
class GoogleCloudRecaptchaenterpriseV1FraudSignals
|
801
|
+
include Google::Apis::Core::Hashable
|
802
|
+
|
803
|
+
# Signals describing the payment card used in this transaction.
|
804
|
+
# Corresponds to the JSON property `cardSignals`
|
805
|
+
# @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudSignalsCardSignals]
|
806
|
+
attr_accessor :card_signals
|
807
|
+
|
808
|
+
# Signals describing the user involved in this transaction.
|
809
|
+
# Corresponds to the JSON property `userSignals`
|
810
|
+
# @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudSignalsUserSignals]
|
811
|
+
attr_accessor :user_signals
|
812
|
+
|
813
|
+
def initialize(**args)
|
814
|
+
update!(**args)
|
815
|
+
end
|
816
|
+
|
817
|
+
# Update properties of this object
|
818
|
+
def update!(**args)
|
819
|
+
@card_signals = args[:card_signals] if args.key?(:card_signals)
|
820
|
+
@user_signals = args[:user_signals] if args.key?(:user_signals)
|
821
|
+
end
|
822
|
+
end
|
823
|
+
|
824
|
+
# Signals describing the payment card used in this transaction.
|
825
|
+
class GoogleCloudRecaptchaenterpriseV1FraudSignalsCardSignals
|
826
|
+
include Google::Apis::Core::Hashable
|
827
|
+
|
828
|
+
# Output only. The labels for the payment card in this transaction.
|
829
|
+
# Corresponds to the JSON property `cardLabels`
|
830
|
+
# @return [Array<String>]
|
831
|
+
attr_accessor :card_labels
|
832
|
+
|
833
|
+
def initialize(**args)
|
834
|
+
update!(**args)
|
835
|
+
end
|
836
|
+
|
837
|
+
# Update properties of this object
|
838
|
+
def update!(**args)
|
839
|
+
@card_labels = args[:card_labels] if args.key?(:card_labels)
|
840
|
+
end
|
841
|
+
end
|
842
|
+
|
843
|
+
# Signals describing the user involved in this transaction.
|
844
|
+
class GoogleCloudRecaptchaenterpriseV1FraudSignalsUserSignals
|
845
|
+
include Google::Apis::Core::Hashable
|
846
|
+
|
847
|
+
# Output only. This user (based on email, phone, and other identifiers) has been
|
848
|
+
# seen on the internet for at least this number of days.
|
849
|
+
# Corresponds to the JSON property `activeDaysLowerBound`
|
850
|
+
# @return [Fixnum]
|
851
|
+
attr_accessor :active_days_lower_bound
|
852
|
+
|
853
|
+
# Output only. Likelihood (from 0.0 to 1.0) this user includes synthetic
|
854
|
+
# components in their identity, such as a randomly generated email address,
|
855
|
+
# temporary phone number, or fake shipping address.
|
856
|
+
# Corresponds to the JSON property `syntheticRisk`
|
857
|
+
# @return [Float]
|
858
|
+
attr_accessor :synthetic_risk
|
859
|
+
|
860
|
+
def initialize(**args)
|
861
|
+
update!(**args)
|
862
|
+
end
|
863
|
+
|
864
|
+
# Update properties of this object
|
865
|
+
def update!(**args)
|
866
|
+
@active_days_lower_bound = args[:active_days_lower_bound] if args.key?(:active_days_lower_bound)
|
867
|
+
@synthetic_risk = args[:synthetic_risk] if args.key?(:synthetic_risk)
|
868
|
+
end
|
869
|
+
end
|
870
|
+
|
793
871
|
# Settings specific to keys that can be used by iOS apps.
|
794
872
|
class GoogleCloudRecaptchaenterpriseV1IosKeySettings
|
795
873
|
include Google::Apis::Core::Hashable
|
796
874
|
|
797
|
-
# If set to true, allowed_bundle_ids are not enforced.
|
875
|
+
# Optional. If set to true, allowed_bundle_ids are not enforced.
|
798
876
|
# Corresponds to the JSON property `allowAllBundleIds`
|
799
877
|
# @return [Boolean]
|
800
878
|
attr_accessor :allow_all_bundle_ids
|
801
879
|
alias_method :allow_all_bundle_ids?, :allow_all_bundle_ids
|
802
880
|
|
803
|
-
# iOS bundle ids of apps allowed to use the key. Example: 'com.
|
804
|
-
# productname.appname'
|
881
|
+
# Optional. iOS bundle ids of apps allowed to use the key. Example: 'com.
|
882
|
+
# companyname.productname.appname'
|
805
883
|
# Corresponds to the JSON property `allowedBundleIds`
|
806
884
|
# @return [Array<String>]
|
807
885
|
attr_accessor :allowed_bundle_ids
|
@@ -838,7 +916,7 @@ module Google
|
|
838
916
|
# @return [String]
|
839
917
|
attr_accessor :create_time
|
840
918
|
|
841
|
-
# Human-readable display name of this key. Modifiable by user.
|
919
|
+
# Required. Human-readable display name of this key. Modifiable by user.
|
842
920
|
# Corresponds to the JSON property `displayName`
|
843
921
|
# @return [String]
|
844
922
|
attr_accessor :display_name
|
@@ -848,12 +926,13 @@ module Google
|
|
848
926
|
# @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1IosKeySettings]
|
849
927
|
attr_accessor :ios_settings
|
850
928
|
|
851
|
-
# See Creating and managing labels.
|
929
|
+
# Optional. See [Creating and managing labels] (https://cloud.google.com/
|
930
|
+
# recaptcha-enterprise/docs/labels).
|
852
931
|
# Corresponds to the JSON property `labels`
|
853
932
|
# @return [Hash<String,String>]
|
854
933
|
attr_accessor :labels
|
855
934
|
|
856
|
-
# The resource name for the Key in the format
|
935
|
+
# The resource name for the Key in the format `projects/`project`/keys/`key``.
|
857
936
|
# Corresponds to the JSON property `name`
|
858
937
|
# @return [String]
|
859
938
|
attr_accessor :name
|
@@ -1006,8 +1085,8 @@ module Google
|
|
1006
1085
|
# @return [Array<Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ChallengeMetrics>]
|
1007
1086
|
attr_accessor :challenge_metrics
|
1008
1087
|
|
1009
|
-
# Output only. The name of the metrics, in the format
|
1010
|
-
# key`/metrics
|
1088
|
+
# Output only. The name of the metrics, in the format `projects/`project`/keys/`
|
1089
|
+
# key`/metrics`.
|
1011
1090
|
# Corresponds to the JSON property `name`
|
1012
1091
|
# @return [String]
|
1013
1092
|
attr_accessor :name
|
@@ -1082,7 +1161,7 @@ module Google
|
|
1082
1161
|
# @return [String]
|
1083
1162
|
attr_accessor :encrypted_user_credentials_hash
|
1084
1163
|
|
1085
|
-
#
|
1164
|
+
# Required. Exactly 26-bit prefix of the SHA-256 hash of the canonicalized
|
1086
1165
|
# username. It is used to look up password leaks associated with that hash
|
1087
1166
|
# prefix.
|
1088
1167
|
# Corresponds to the JSON property `lookupHashPrefix`
|
@@ -1186,19 +1265,19 @@ module Google
|
|
1186
1265
|
class GoogleCloudRecaptchaenterpriseV1RiskAnalysis
|
1187
1266
|
include Google::Apis::Core::Hashable
|
1188
1267
|
|
1189
|
-
# Extended verdict reasons to be used for experimentation only. The
|
1190
|
-
# possible reasons is subject to change.
|
1268
|
+
# Output only. Extended verdict reasons to be used for experimentation only. The
|
1269
|
+
# set of possible reasons is subject to change.
|
1191
1270
|
# Corresponds to the JSON property `extendedVerdictReasons`
|
1192
1271
|
# @return [Array<String>]
|
1193
1272
|
attr_accessor :extended_verdict_reasons
|
1194
1273
|
|
1195
|
-
# Reasons contributing to the risk analysis verdict.
|
1274
|
+
# Output only. Reasons contributing to the risk analysis verdict.
|
1196
1275
|
# Corresponds to the JSON property `reasons`
|
1197
1276
|
# @return [Array<String>]
|
1198
1277
|
attr_accessor :reasons
|
1199
1278
|
|
1200
|
-
# Legitimate event score from 0.0 to 1.0. (1.0 means very likely
|
1201
|
-
# traffic while 0.0 means very likely non-legitimate traffic).
|
1279
|
+
# Output only. Legitimate event score from 0.0 to 1.0. (1.0 means very likely
|
1280
|
+
# legitimate traffic while 0.0 means very likely non-legitimate traffic).
|
1202
1281
|
# Corresponds to the JSON property `score`
|
1203
1282
|
# @return [Float]
|
1204
1283
|
attr_accessor :score
|
@@ -1332,15 +1411,15 @@ module Google
|
|
1332
1411
|
class GoogleCloudRecaptchaenterpriseV1TestingOptions
|
1333
1412
|
include Google::Apis::Core::Hashable
|
1334
1413
|
|
1335
|
-
# For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge
|
1336
|
-
# for this site will return nocaptcha if NOCAPTCHA, or an unsolvable
|
1337
|
-
# if CHALLENGE.
|
1414
|
+
# Optional. For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge
|
1415
|
+
# requests for this site will return nocaptcha if NOCAPTCHA, or an unsolvable
|
1416
|
+
# challenge if CHALLENGE.
|
1338
1417
|
# Corresponds to the JSON property `testingChallenge`
|
1339
1418
|
# @return [String]
|
1340
1419
|
attr_accessor :testing_challenge
|
1341
1420
|
|
1342
|
-
# All assessments for this Key will return this score. Must be between
|
1343
|
-
# not legitimate) and 1 (likely legitimate) inclusive.
|
1421
|
+
# Optional. All assessments for this Key will return this score. Must be between
|
1422
|
+
# 0 (likely not legitimate) and 1 (likely legitimate) inclusive.
|
1344
1423
|
# Corresponds to the JSON property `testingScore`
|
1345
1424
|
# @return [Float]
|
1346
1425
|
attr_accessor :testing_score
|
@@ -1360,41 +1439,44 @@ module Google
|
|
1360
1439
|
class GoogleCloudRecaptchaenterpriseV1TokenProperties
|
1361
1440
|
include Google::Apis::Core::Hashable
|
1362
1441
|
|
1363
|
-
# Action name provided at token generation.
|
1442
|
+
# Output only. Action name provided at token generation.
|
1364
1443
|
# Corresponds to the JSON property `action`
|
1365
1444
|
# @return [String]
|
1366
1445
|
attr_accessor :action
|
1367
1446
|
|
1368
|
-
# The name of the Android package with which the token was
|
1369
|
-
# keys only).
|
1447
|
+
# Output only. The name of the Android package with which the token was
|
1448
|
+
# generated (Android keys only).
|
1370
1449
|
# Corresponds to the JSON property `androidPackageName`
|
1371
1450
|
# @return [String]
|
1372
1451
|
attr_accessor :android_package_name
|
1373
1452
|
|
1374
|
-
# The timestamp corresponding to the generation of the token.
|
1453
|
+
# Output only. The timestamp corresponding to the generation of the token.
|
1375
1454
|
# Corresponds to the JSON property `createTime`
|
1376
1455
|
# @return [String]
|
1377
1456
|
attr_accessor :create_time
|
1378
1457
|
|
1379
|
-
# The hostname of the page on which the token was generated (Web
|
1458
|
+
# Output only. The hostname of the page on which the token was generated (Web
|
1459
|
+
# keys only).
|
1380
1460
|
# Corresponds to the JSON property `hostname`
|
1381
1461
|
# @return [String]
|
1382
1462
|
attr_accessor :hostname
|
1383
1463
|
|
1384
|
-
# Reason associated with the response when valid = false.
|
1464
|
+
# Output only. Reason associated with the response when valid = false.
|
1385
1465
|
# Corresponds to the JSON property `invalidReason`
|
1386
1466
|
# @return [String]
|
1387
1467
|
attr_accessor :invalid_reason
|
1388
1468
|
|
1389
|
-
# The ID of the iOS bundle with which the token was generated (iOS
|
1469
|
+
# Output only. The ID of the iOS bundle with which the token was generated (iOS
|
1470
|
+
# keys only).
|
1390
1471
|
# Corresponds to the JSON property `iosBundleId`
|
1391
1472
|
# @return [String]
|
1392
1473
|
attr_accessor :ios_bundle_id
|
1393
1474
|
|
1394
|
-
# Whether the provided user response token is valid. When valid =
|
1395
|
-
# reason could be specified in invalid_reason or it could also be due
|
1396
|
-
# failing to solve a challenge or a sitekey mismatch (i.e the sitekey
|
1397
|
-
# generate the token was different than the one specified in the
|
1475
|
+
# Output only. Whether the provided user response token is valid. When valid =
|
1476
|
+
# false, the reason could be specified in invalid_reason or it could also be due
|
1477
|
+
# to a user failing to solve a challenge or a sitekey mismatch (i.e the sitekey
|
1478
|
+
# used to generate the token was different than the one specified in the
|
1479
|
+
# assessment).
|
1398
1480
|
# Corresponds to the JSON property `valid`
|
1399
1481
|
# @return [Boolean]
|
1400
1482
|
attr_accessor :valid
|
@@ -1417,7 +1499,6 @@ module Google
|
|
1417
1499
|
end
|
1418
1500
|
|
1419
1501
|
# Transaction data associated with a payment protected by reCAPTCHA Enterprise.
|
1420
|
-
# All fields are optional.
|
1421
1502
|
class GoogleCloudRecaptchaenterpriseV1TransactionData
|
1422
1503
|
include Google::Apis::Core::Hashable
|
1423
1504
|
|
@@ -1426,17 +1507,18 @@ module Google
|
|
1426
1507
|
# @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TransactionDataAddress]
|
1427
1508
|
attr_accessor :billing_address
|
1428
1509
|
|
1429
|
-
# The Bank Identification Number - generally the first 6 or 8 digits
|
1510
|
+
# Optional. The Bank Identification Number - generally the first 6 or 8 digits
|
1511
|
+
# of the card.
|
1430
1512
|
# Corresponds to the JSON property `cardBin`
|
1431
1513
|
# @return [String]
|
1432
1514
|
attr_accessor :card_bin
|
1433
1515
|
|
1434
|
-
# The last four digits of the card.
|
1516
|
+
# Optional. The last four digits of the card.
|
1435
1517
|
# Corresponds to the JSON property `cardLastFour`
|
1436
1518
|
# @return [String]
|
1437
1519
|
attr_accessor :card_last_four
|
1438
1520
|
|
1439
|
-
# The currency code in ISO-4217 format.
|
1521
|
+
# Optional. The currency code in ISO-4217 format.
|
1440
1522
|
# Corresponds to the JSON property `currencyCode`
|
1441
1523
|
# @return [String]
|
1442
1524
|
attr_accessor :currency_code
|
@@ -1446,20 +1528,20 @@ module Google
|
|
1446
1528
|
# @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TransactionDataGatewayInfo]
|
1447
1529
|
attr_accessor :gateway_info
|
1448
1530
|
|
1449
|
-
# Items purchased in this transaction.
|
1531
|
+
# Optional. Items purchased in this transaction.
|
1450
1532
|
# Corresponds to the JSON property `items`
|
1451
1533
|
# @return [Array<Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TransactionDataItem>]
|
1452
1534
|
attr_accessor :items
|
1453
1535
|
|
1454
|
-
# Information about the user or users fulfilling the transaction.
|
1536
|
+
# Optional. Information about the user or users fulfilling the transaction.
|
1455
1537
|
# Corresponds to the JSON property `merchants`
|
1456
1538
|
# @return [Array<Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TransactionDataUser>]
|
1457
1539
|
attr_accessor :merchants
|
1458
1540
|
|
1459
|
-
# The payment method for the transaction. The allowed values are: *
|
1460
|
-
# debit-card * gift-card * processor-`name` (If a third-party is
|
1461
|
-
# example, processor-paypal) * custom-`name` (If an alternative method
|
1462
|
-
# for example, custom-crypto)
|
1541
|
+
# Optional. The payment method for the transaction. The allowed values are: *
|
1542
|
+
# credit-card * debit-card * gift-card * processor-`name` (If a third-party is
|
1543
|
+
# used, for example, processor-paypal) * custom-`name` (If an alternative method
|
1544
|
+
# is used, for example, custom-crypto)
|
1463
1545
|
# Corresponds to the JSON property `paymentMethod`
|
1464
1546
|
# @return [String]
|
1465
1547
|
attr_accessor :payment_method
|
@@ -1469,7 +1551,8 @@ module Google
|
|
1469
1551
|
# @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TransactionDataAddress]
|
1470
1552
|
attr_accessor :shipping_address
|
1471
1553
|
|
1472
|
-
# The value of shipping in the specified currency. 0 for free or no
|
1554
|
+
# Optional. The value of shipping in the specified currency. 0 for free or no
|
1555
|
+
# shipping.
|
1473
1556
|
# Corresponds to the JSON property `shippingValue`
|
1474
1557
|
# @return [Float]
|
1475
1558
|
attr_accessor :shipping_value
|
@@ -1487,7 +1570,7 @@ module Google
|
|
1487
1570
|
# @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TransactionDataUser]
|
1488
1571
|
attr_accessor :user
|
1489
1572
|
|
1490
|
-
# The decimal value of the transaction in the specified currency.
|
1573
|
+
# Optional. The decimal value of the transaction in the specified currency.
|
1491
1574
|
# Corresponds to the JSON property `value`
|
1492
1575
|
# @return [Float]
|
1493
1576
|
attr_accessor :value
|
@@ -1518,34 +1601,35 @@ module Google
|
|
1518
1601
|
class GoogleCloudRecaptchaenterpriseV1TransactionDataAddress
|
1519
1602
|
include Google::Apis::Core::Hashable
|
1520
1603
|
|
1521
|
-
# The first lines of the address. The first line generally contains
|
1522
|
-
# name and number, and further lines may include information such as
|
1523
|
-
# apartment number.
|
1604
|
+
# Optional. The first lines of the address. The first line generally contains
|
1605
|
+
# the street name and number, and further lines may include information such as
|
1606
|
+
# an apartment number.
|
1524
1607
|
# Corresponds to the JSON property `address`
|
1525
1608
|
# @return [Array<String>]
|
1526
1609
|
attr_accessor :address
|
1527
1610
|
|
1528
|
-
# The state, province, or otherwise administrative area of the address.
|
1611
|
+
# Optional. The state, province, or otherwise administrative area of the address.
|
1529
1612
|
# Corresponds to the JSON property `administrativeArea`
|
1530
1613
|
# @return [String]
|
1531
1614
|
attr_accessor :administrative_area
|
1532
1615
|
|
1533
|
-
# The town/city of the address.
|
1616
|
+
# Optional. The town/city of the address.
|
1534
1617
|
# Corresponds to the JSON property `locality`
|
1535
1618
|
# @return [String]
|
1536
1619
|
attr_accessor :locality
|
1537
1620
|
|
1538
|
-
# The postal or ZIP code of the address.
|
1621
|
+
# Optional. The postal or ZIP code of the address.
|
1539
1622
|
# Corresponds to the JSON property `postalCode`
|
1540
1623
|
# @return [String]
|
1541
1624
|
attr_accessor :postal_code
|
1542
1625
|
|
1543
|
-
# The recipient name, potentially including information such as "care
|
1626
|
+
# Optional. The recipient name, potentially including information such as "care
|
1627
|
+
# of".
|
1544
1628
|
# Corresponds to the JSON property `recipient`
|
1545
1629
|
# @return [String]
|
1546
1630
|
attr_accessor :recipient
|
1547
1631
|
|
1548
|
-
# The CLDR country/region of the address.
|
1632
|
+
# Optional. The CLDR country/region of the address.
|
1549
1633
|
# Corresponds to the JSON property `regionCode`
|
1550
1634
|
# @return [String]
|
1551
1635
|
attr_accessor :region_code
|
@@ -1569,24 +1653,24 @@ module Google
|
|
1569
1653
|
class GoogleCloudRecaptchaenterpriseV1TransactionDataGatewayInfo
|
1570
1654
|
include Google::Apis::Core::Hashable
|
1571
1655
|
|
1572
|
-
# AVS response code from the gateway (available only when reCAPTCHA
|
1573
|
-
# is called after authorization).
|
1656
|
+
# Optional. AVS response code from the gateway (available only when reCAPTCHA
|
1657
|
+
# Enterprise is called after authorization).
|
1574
1658
|
# Corresponds to the JSON property `avsResponseCode`
|
1575
1659
|
# @return [String]
|
1576
1660
|
attr_accessor :avs_response_code
|
1577
1661
|
|
1578
|
-
# CVV response code from the gateway (available only when reCAPTCHA
|
1579
|
-
# is called after authorization).
|
1662
|
+
# Optional. CVV response code from the gateway (available only when reCAPTCHA
|
1663
|
+
# Enterprise is called after authorization).
|
1580
1664
|
# Corresponds to the JSON property `cvvResponseCode`
|
1581
1665
|
# @return [String]
|
1582
1666
|
attr_accessor :cvv_response_code
|
1583
1667
|
|
1584
|
-
# Gateway response code describing the state of the transaction.
|
1668
|
+
# Optional. Gateway response code describing the state of the transaction.
|
1585
1669
|
# Corresponds to the JSON property `gatewayResponseCode`
|
1586
1670
|
# @return [String]
|
1587
1671
|
attr_accessor :gateway_response_code
|
1588
1672
|
|
1589
|
-
# Name of the gateway service (for example, stripe, square, paypal).
|
1673
|
+
# Optional. Name of the gateway service (for example, stripe, square, paypal).
|
1590
1674
|
# Corresponds to the JSON property `name`
|
1591
1675
|
# @return [String]
|
1592
1676
|
attr_accessor :name
|
@@ -1608,24 +1692,24 @@ module Google
|
|
1608
1692
|
class GoogleCloudRecaptchaenterpriseV1TransactionDataItem
|
1609
1693
|
include Google::Apis::Core::Hashable
|
1610
1694
|
|
1611
|
-
# When a merchant is specified, its corresponding account_id.
|
1612
|
-
# populate marketplace-style transactions.
|
1695
|
+
# Optional. When a merchant is specified, its corresponding account_id.
|
1696
|
+
# Necessary to populate marketplace-style transactions.
|
1613
1697
|
# Corresponds to the JSON property `merchantAccountId`
|
1614
1698
|
# @return [String]
|
1615
1699
|
attr_accessor :merchant_account_id
|
1616
1700
|
|
1617
|
-
# The full name of the item.
|
1701
|
+
# Optional. The full name of the item.
|
1618
1702
|
# Corresponds to the JSON property `name`
|
1619
1703
|
# @return [String]
|
1620
1704
|
attr_accessor :name
|
1621
1705
|
|
1622
|
-
# The quantity of this item that is being purchased.
|
1706
|
+
# Optional. The quantity of this item that is being purchased.
|
1623
1707
|
# Corresponds to the JSON property `quantity`
|
1624
1708
|
# @return [Fixnum]
|
1625
1709
|
attr_accessor :quantity
|
1626
1710
|
|
1627
|
-
# The value per item that the user is paying, in the transaction
|
1628
|
-
# discounts.
|
1711
|
+
# Optional. The value per item that the user is paying, in the transaction
|
1712
|
+
# currency, after discounts.
|
1629
1713
|
# Corresponds to the JSON property `value`
|
1630
1714
|
# @return [Float]
|
1631
1715
|
attr_accessor :value
|
@@ -1647,37 +1731,37 @@ module Google
|
|
1647
1731
|
class GoogleCloudRecaptchaenterpriseV1TransactionDataUser
|
1648
1732
|
include Google::Apis::Core::Hashable
|
1649
1733
|
|
1650
|
-
# Unique account identifier for this user. If using account defender,
|
1651
|
-
# should match the hashed_account_id field. Otherwise, a unique and
|
1652
|
-
# identifier for this account.
|
1734
|
+
# Optional. Unique account identifier for this user. If using account defender,
|
1735
|
+
# this should match the hashed_account_id field. Otherwise, a unique and
|
1736
|
+
# persistent identifier for this account.
|
1653
1737
|
# Corresponds to the JSON property `accountId`
|
1654
1738
|
# @return [String]
|
1655
1739
|
attr_accessor :account_id
|
1656
1740
|
|
1657
|
-
# The epoch milliseconds of the user's account creation.
|
1741
|
+
# Optional. The epoch milliseconds of the user's account creation.
|
1658
1742
|
# Corresponds to the JSON property `creationMs`
|
1659
1743
|
# @return [Fixnum]
|
1660
1744
|
attr_accessor :creation_ms
|
1661
1745
|
|
1662
|
-
# The email address of the user.
|
1746
|
+
# Optional. The email address of the user.
|
1663
1747
|
# Corresponds to the JSON property `email`
|
1664
1748
|
# @return [String]
|
1665
1749
|
attr_accessor :email
|
1666
1750
|
|
1667
|
-
# Whether the email has been verified to be accessible by the user (
|
1668
|
-
# similar).
|
1751
|
+
# Optional. Whether the email has been verified to be accessible by the user (
|
1752
|
+
# OTP or similar).
|
1669
1753
|
# Corresponds to the JSON property `emailVerified`
|
1670
1754
|
# @return [Boolean]
|
1671
1755
|
attr_accessor :email_verified
|
1672
1756
|
alias_method :email_verified?, :email_verified
|
1673
1757
|
|
1674
|
-
# The phone number of the user, with country code.
|
1758
|
+
# Optional. The phone number of the user, with country code.
|
1675
1759
|
# Corresponds to the JSON property `phoneNumber`
|
1676
1760
|
# @return [String]
|
1677
1761
|
attr_accessor :phone_number
|
1678
1762
|
|
1679
|
-
# Whether the phone number has been verified to be accessible by the
|
1680
|
-
# or similar).
|
1763
|
+
# Optional. Whether the phone number has been verified to be accessible by the
|
1764
|
+
# user (OTP or similar).
|
1681
1765
|
# Corresponds to the JSON property `phoneVerified`
|
1682
1766
|
# @return [Boolean]
|
1683
1767
|
attr_accessor :phone_verified
|
@@ -1769,30 +1853,30 @@ module Google
|
|
1769
1853
|
class GoogleCloudRecaptchaenterpriseV1WebKeySettings
|
1770
1854
|
include Google::Apis::Core::Hashable
|
1771
1855
|
|
1772
|
-
# If set to true, it means allowed_domains will not be enforced.
|
1856
|
+
# Optional. If set to true, it means allowed_domains will not be enforced.
|
1773
1857
|
# Corresponds to the JSON property `allowAllDomains`
|
1774
1858
|
# @return [Boolean]
|
1775
1859
|
attr_accessor :allow_all_domains
|
1776
1860
|
alias_method :allow_all_domains?, :allow_all_domains
|
1777
1861
|
|
1778
|
-
# If set to true, the key can be used on AMP (Accelerated Mobile Pages)
|
1779
|
-
# This is supported only for the SCORE integration type.
|
1862
|
+
# Optional. If set to true, the key can be used on AMP (Accelerated Mobile Pages)
|
1863
|
+
# websites. This is supported only for the SCORE integration type.
|
1780
1864
|
# Corresponds to the JSON property `allowAmpTraffic`
|
1781
1865
|
# @return [Boolean]
|
1782
1866
|
attr_accessor :allow_amp_traffic
|
1783
1867
|
alias_method :allow_amp_traffic?, :allow_amp_traffic
|
1784
1868
|
|
1785
|
-
# Domains or subdomains of websites allowed to use the key. All
|
1786
|
-
# allowed domain are automatically allowed. A valid domain
|
1787
|
-
# must not include any path, port, query or fragment.
|
1788
|
-
# 'subdomain.example.com'
|
1869
|
+
# Optional. Domains or subdomains of websites allowed to use the key. All
|
1870
|
+
# subdomains of an allowed domain are automatically allowed. A valid domain
|
1871
|
+
# requires a host and must not include any path, port, query or fragment.
|
1872
|
+
# Examples: 'example.com' or 'subdomain.example.com'
|
1789
1873
|
# Corresponds to the JSON property `allowedDomains`
|
1790
1874
|
# @return [Array<String>]
|
1791
1875
|
attr_accessor :allowed_domains
|
1792
1876
|
|
1793
|
-
# Settings for the frequency and difficulty at which this key triggers
|
1794
|
-
# challenges. This should only be specified for IntegrationTypes
|
1795
|
-
# INVISIBLE.
|
1877
|
+
# Optional. Settings for the frequency and difficulty at which this key triggers
|
1878
|
+
# captcha challenges. This should only be specified for IntegrationTypes
|
1879
|
+
# CHECKBOX and INVISIBLE.
|
1796
1880
|
# Corresponds to the JSON property `challengeSecurityPreference`
|
1797
1881
|
# @return [String]
|
1798
1882
|
attr_accessor :challenge_security_preference
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.38.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 = "
|
25
|
+
REVISION = "20231008"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -154,6 +154,24 @@ module Google
|
|
154
154
|
include Google::Apis::Core::JsonObjectSupport
|
155
155
|
end
|
156
156
|
|
157
|
+
class GoogleCloudRecaptchaenterpriseV1FraudSignals
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class GoogleCloudRecaptchaenterpriseV1FraudSignalsCardSignals
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
169
|
+
class GoogleCloudRecaptchaenterpriseV1FraudSignalsUserSignals
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
157
175
|
class GoogleCloudRecaptchaenterpriseV1IosKeySettings
|
158
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
177
|
|
@@ -394,6 +412,8 @@ module Google
|
|
394
412
|
|
395
413
|
property :fraud_prevention_assessment, as: 'fraudPreventionAssessment', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment::Representation
|
396
414
|
|
415
|
+
property :fraud_signals, as: 'fraudSignals', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudSignals, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudSignals::Representation
|
416
|
+
|
397
417
|
property :name, as: 'name'
|
398
418
|
property :private_password_leak_verification, as: 'privatePasswordLeakVerification', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification::Representation
|
399
419
|
|
@@ -549,6 +569,31 @@ module Google
|
|
549
569
|
end
|
550
570
|
end
|
551
571
|
|
572
|
+
class GoogleCloudRecaptchaenterpriseV1FraudSignals
|
573
|
+
# @private
|
574
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
575
|
+
property :card_signals, as: 'cardSignals', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudSignalsCardSignals, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudSignalsCardSignals::Representation
|
576
|
+
|
577
|
+
property :user_signals, as: 'userSignals', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudSignalsUserSignals, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudSignalsUserSignals::Representation
|
578
|
+
|
579
|
+
end
|
580
|
+
end
|
581
|
+
|
582
|
+
class GoogleCloudRecaptchaenterpriseV1FraudSignalsCardSignals
|
583
|
+
# @private
|
584
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
585
|
+
collection :card_labels, as: 'cardLabels'
|
586
|
+
end
|
587
|
+
end
|
588
|
+
|
589
|
+
class GoogleCloudRecaptchaenterpriseV1FraudSignalsUserSignals
|
590
|
+
# @private
|
591
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
592
|
+
property :active_days_lower_bound, as: 'activeDaysLowerBound'
|
593
|
+
property :synthetic_risk, as: 'syntheticRisk'
|
594
|
+
end
|
595
|
+
end
|
596
|
+
|
552
597
|
class GoogleCloudRecaptchaenterpriseV1IosKeySettings
|
553
598
|
# @private
|
554
599
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -53,8 +53,8 @@ module Google
|
|
53
53
|
# Annotates a previously created Assessment to provide additional information on
|
54
54
|
# whether the event turned out to be authentic or fraudulent.
|
55
55
|
# @param [String] name
|
56
|
-
# Required. The resource name of the Assessment, in the format
|
57
|
-
# project`/assessments/`assessment
|
56
|
+
# Required. The resource name of the Assessment, in the format `projects/`
|
57
|
+
# project`/assessments/`assessment``.
|
58
58
|
# @param [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest] google_cloud_recaptchaenterprise_v1_annotate_assessment_request_object
|
59
59
|
# @param [String] fields
|
60
60
|
# Selector specifying which fields to include in a partial response.
|
@@ -88,7 +88,7 @@ module Google
|
|
88
88
|
# Creates an Assessment of the likelihood an event is legitimate.
|
89
89
|
# @param [String] parent
|
90
90
|
# Required. The name of the project in which the assessment will be created, in
|
91
|
-
# the format
|
91
|
+
# the format `projects/`project``.
|
92
92
|
# @param [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Assessment] google_cloud_recaptchaenterprise_v1_assessment_object
|
93
93
|
# @param [String] fields
|
94
94
|
# Selector specifying which fields to include in a partial response.
|
@@ -123,8 +123,8 @@ module Google
|
|
123
123
|
# Enterprise actions can be executed. A project may have a maximum of 1000
|
124
124
|
# policies.
|
125
125
|
# @param [String] parent
|
126
|
-
# Required. The name of the project this policy will apply to, in the format
|
127
|
-
# projects/`project
|
126
|
+
# Required. The name of the project this policy will apply to, in the format `
|
127
|
+
# projects/`project``.
|
128
128
|
# @param [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FirewallPolicy] google_cloud_recaptchaenterprise_v1_firewall_policy_object
|
129
129
|
# @param [String] fields
|
130
130
|
# Selector specifying which fields to include in a partial response.
|
@@ -157,8 +157,8 @@ module Google
|
|
157
157
|
|
158
158
|
# Deletes the specified firewall policy.
|
159
159
|
# @param [String] name
|
160
|
-
# Required. The name of the policy to be deleted, in the format
|
161
|
-
# project`/firewallpolicies/`firewallpolicy
|
160
|
+
# Required. The name of the policy to be deleted, in the format `projects/`
|
161
|
+
# project`/firewallpolicies/`firewallpolicy``.
|
162
162
|
# @param [String] fields
|
163
163
|
# Selector specifying which fields to include in a partial response.
|
164
164
|
# @param [String] quota_user
|
@@ -188,8 +188,8 @@ module Google
|
|
188
188
|
|
189
189
|
# Returns the specified firewall policy.
|
190
190
|
# @param [String] name
|
191
|
-
# Required. The name of the requested policy, in the format
|
192
|
-
# firewallpolicies/`firewallpolicy
|
191
|
+
# Required. The name of the requested policy, in the format `projects/`project`/
|
192
|
+
# firewallpolicies/`firewallpolicy``.
|
193
193
|
# @param [String] fields
|
194
194
|
# Selector specifying which fields to include in a partial response.
|
195
195
|
# @param [String] quota_user
|
@@ -219,8 +219,8 @@ module Google
|
|
219
219
|
|
220
220
|
# Returns the list of all firewall policies that belong to a project.
|
221
221
|
# @param [String] parent
|
222
|
-
# Required. The name of the project to list the policies for, in the format
|
223
|
-
# projects/`project
|
222
|
+
# Required. The name of the project to list the policies for, in the format `
|
223
|
+
# projects/`project``.
|
224
224
|
# @param [Fixnum] page_size
|
225
225
|
# Optional. The maximum number of policies to return. Default is 10. Max limit
|
226
226
|
# is 1000.
|
@@ -258,8 +258,8 @@ module Google
|
|
258
258
|
|
259
259
|
# Updates the specified firewall policy.
|
260
260
|
# @param [String] name
|
261
|
-
# The resource name for the FirewallPolicy in the format
|
262
|
-
# firewallpolicies/`firewallpolicy
|
261
|
+
# The resource name for the FirewallPolicy in the format `projects/`project`/
|
262
|
+
# firewallpolicies/`firewallpolicy``.
|
263
263
|
# @param [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FirewallPolicy] google_cloud_recaptchaenterprise_v1_firewall_policy_object
|
264
264
|
# @param [String] update_mask
|
265
265
|
# Optional. The mask to control which fields of the policy get updated. If the
|
@@ -297,7 +297,7 @@ module Google
|
|
297
297
|
# Creates a new reCAPTCHA Enterprise key.
|
298
298
|
# @param [String] parent
|
299
299
|
# Required. The name of the project in which the key will be created, in the
|
300
|
-
# format
|
300
|
+
# format `projects/`project``.
|
301
301
|
# @param [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Key] google_cloud_recaptchaenterprise_v1_key_object
|
302
302
|
# @param [String] fields
|
303
303
|
# Selector specifying which fields to include in a partial response.
|
@@ -330,8 +330,8 @@ module Google
|
|
330
330
|
|
331
331
|
# Deletes the specified key.
|
332
332
|
# @param [String] name
|
333
|
-
# Required. The name of the key to be deleted, in the format
|
334
|
-
# keys/`key
|
333
|
+
# Required. The name of the key to be deleted, in the format `projects/`project`/
|
334
|
+
# keys/`key``.
|
335
335
|
# @param [String] fields
|
336
336
|
# Selector specifying which fields to include in a partial response.
|
337
337
|
# @param [String] quota_user
|
@@ -361,8 +361,8 @@ module Google
|
|
361
361
|
|
362
362
|
# Returns the specified key.
|
363
363
|
# @param [String] name
|
364
|
-
# Required. The name of the requested key, in the format
|
365
|
-
# keys/`key
|
364
|
+
# Required. The name of the requested key, in the format `projects/`project`/
|
365
|
+
# keys/`key``.
|
366
366
|
# @param [String] fields
|
367
367
|
# Selector specifying which fields to include in a partial response.
|
368
368
|
# @param [String] quota_user
|
@@ -393,8 +393,8 @@ module Google
|
|
393
393
|
# Get some aggregated metrics for a Key. This data can be used to build
|
394
394
|
# dashboards.
|
395
395
|
# @param [String] name
|
396
|
-
# Required. The name of the requested metrics, in the format
|
397
|
-
# keys/`key`/metrics
|
396
|
+
# Required. The name of the requested metrics, in the format `projects/`project`/
|
397
|
+
# keys/`key`/metrics`.
|
398
398
|
# @param [String] fields
|
399
399
|
# Selector specifying which fields to include in a partial response.
|
400
400
|
# @param [String] quota_user
|
@@ -425,7 +425,7 @@ module Google
|
|
425
425
|
# Returns the list of all keys that belong to a project.
|
426
426
|
# @param [String] parent
|
427
427
|
# Required. The name of the project that contains the keys that will be listed,
|
428
|
-
# in the format
|
428
|
+
# in the format `projects/`project``.
|
429
429
|
# @param [Fixnum] page_size
|
430
430
|
# Optional. The maximum number of keys to return. Default is 10. Max limit is
|
431
431
|
# 1000.
|
@@ -467,8 +467,8 @@ module Google
|
|
467
467
|
# owners of the reCAPTCHA Key, and your user must have the reCAPTCHA Enterprise
|
468
468
|
# Admin IAM role in the destination project.
|
469
469
|
# @param [String] name
|
470
|
-
# Required. The name of the key to be migrated, in the format
|
471
|
-
# /keys/`key
|
470
|
+
# Required. The name of the key to be migrated, in the format `projects/`project`
|
471
|
+
# /keys/`key``.
|
472
472
|
# @param [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1MigrateKeyRequest] google_cloud_recaptchaenterprise_v1_migrate_key_request_object
|
473
473
|
# @param [String] fields
|
474
474
|
# Selector specifying which fields to include in a partial response.
|
@@ -501,7 +501,7 @@ module Google
|
|
501
501
|
|
502
502
|
# Updates the specified key.
|
503
503
|
# @param [String] name
|
504
|
-
# The resource name for the Key in the format
|
504
|
+
# The resource name for the Key in the format `projects/`project`/keys/`key``.
|
505
505
|
# @param [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Key] google_cloud_recaptchaenterprise_v1_key_object
|
506
506
|
# @param [String] update_mask
|
507
507
|
# Optional. The mask to control which fields of the key get updated. If the mask
|
@@ -540,7 +540,7 @@ module Google
|
|
540
540
|
# legacy secret key only in a 3rd party integration with legacy reCAPTCHA.
|
541
541
|
# @param [String] key
|
542
542
|
# Required. The public key name linked to the requested secret key in the format
|
543
|
-
#
|
543
|
+
# `projects/`project`/keys/`key``.
|
544
544
|
# @param [String] fields
|
545
545
|
# Selector specifying which fields to include in a partial response.
|
546
546
|
# @param [String] quota_user
|
@@ -571,7 +571,7 @@ module Google
|
|
571
571
|
# Search group memberships related to a given account.
|
572
572
|
# @param [String] project
|
573
573
|
# Required. The name of the project to search related account group memberships
|
574
|
-
# from. Specify the project name in the following format:
|
574
|
+
# from. Specify the project name in the following format: `projects/`project``.
|
575
575
|
# @param [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsRequest] google_cloud_recaptchaenterprise_v1_search_related_account_group_memberships_request_object
|
576
576
|
# @param [String] fields
|
577
577
|
# Selector specifying which fields to include in a partial response.
|
@@ -605,7 +605,7 @@ module Google
|
|
605
605
|
# List groups of related accounts.
|
606
606
|
# @param [String] parent
|
607
607
|
# Required. The name of the project to list related account groups from, in the
|
608
|
-
# format
|
608
|
+
# format `projects/`project``.
|
609
609
|
# @param [Fixnum] page_size
|
610
610
|
# Optional. The maximum number of groups to return. The service might return
|
611
611
|
# fewer than this value. If unspecified, at most 50 groups are returned. The
|
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.
|
4
|
+
version: 0.38.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-
|
11
|
+
date: 2023-10-15 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-recaptchaenterprise_v1/v0.38.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.4.
|
78
|
+
rubygems_version: 3.4.19
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for reCAPTCHA Enterprise API V1
|