@@ -994,6 +994,44 @@ def update!(**args)
994994 class GoogleFirebaseAppcheckV1betaPlayIntegrityConfig
995995 include Google ::Apis ::Core ::Hashable
996996
997+ # A settings object specifying account requirements for Android devices running
998+ # your app. These settings correspond to requirements on the [**account details**
999+ # field](https://developer.android.com/google/play/integrity/verdicts#account-
1000+ # details-field) obtained from the Play Integrity API. See the [default
1001+ # responses table](https://developer.android.com/google/play/integrity/setup#
1002+ # default) for a quick summary. The default values for these settings work for
1003+ # most apps, and are recommended.
1004+ # Corresponds to the JSON property `accountDetails`
1005+ # @return [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaPlayIntegrityConfigAccountDetails]
1006+ attr_accessor :account_details
1007+
1008+ # A settings object specifying application integrity requirements for Android
1009+ # devices running your app. These settings correspond to requirements on the [**
1010+ # application integrity** field](https://developer.android.com/google/play/
1011+ # integrity/verdicts#application-integrity-field) obtained from the Play
1012+ # Integrity API. See the [default responses table](https://developer.android.com/
1013+ # google/play/integrity/setup#default) for a quick summary. The default values
1014+ # for these settings work for most apps, and are recommended.
1015+ # Corresponds to the JSON property `appIntegrity`
1016+ # @return [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaPlayIntegrityConfigAppIntegrity]
1017+ attr_accessor :app_integrity
1018+
1019+ # A settings object specifying device integrity requirements for Android devices
1020+ # running your app. These settings correspond to requirements on the [**device
1021+ # integrity** field](https://developer.android.com/google/play/integrity/
1022+ # verdicts#device-integrity-field) obtained from the Play Integrity API. See the
1023+ # [default responses table](https://developer.android.com/google/play/integrity/
1024+ # setup#default) for a quick summary. Warning: There are also [conditional](
1025+ # https://developer.android.com/google/play/integrity/setup#conditional) as well
1026+ # as [optional](https://developer.android.com/google/play/integrity/setup#
1027+ # optional_device_information) responses that you can receive, but requires
1028+ # additional explicit opt-in from you. The App Check API is **not** responsible
1029+ # for any such opt-ins. The default values for these settings work for most apps,
1030+ # and are recommended.
1031+ # Corresponds to the JSON property `deviceIntegrity`
1032+ # @return [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaPlayIntegrityConfigDeviceIntegrity]
1033+ attr_accessor :device_integrity
1034+
9971035 # Required. The relative resource name of the Play Integrity configuration
9981036 # object, in the format: ``` projects/`project_number`/apps/`app_id`/
9991037 # playIntegrityConfig ```
@@ -1014,11 +1052,115 @@ def initialize(**args)
10141052
10151053 # Update properties of this object
10161054 def update! ( **args )
1055+ @account_details = args [ :account_details ] if args . key? ( :account_details )
1056+ @app_integrity = args [ :app_integrity ] if args . key? ( :app_integrity )
1057+ @device_integrity = args [ :device_integrity ] if args . key? ( :device_integrity )
10171058 @name = args [ :name ] if args . key? ( :name )
10181059 @token_ttl = args [ :token_ttl ] if args . key? ( :token_ttl )
10191060 end
10201061 end
10211062
1063+ # A settings object specifying account requirements for Android devices running
1064+ # your app. These settings correspond to requirements on the [**account details**
1065+ # field](https://developer.android.com/google/play/integrity/verdicts#account-
1066+ # details-field) obtained from the Play Integrity API. See the [default
1067+ # responses table](https://developer.android.com/google/play/integrity/setup#
1068+ # default) for a quick summary. The default values for these settings work for
1069+ # most apps, and are recommended.
1070+ class GoogleFirebaseAppcheckV1betaPlayIntegrityConfigAccountDetails
1071+ include Google ::Apis ::Core ::Hashable
1072+
1073+ # Specifies whether the caller must have received the [`LICENSED` verdict](https:
1074+ # //developer.android.com/google/play/integrity/verdicts#account-details-field).
1075+ # For additional details about scenarios where your users will receive this `
1076+ # LICENSED` label, see [the default responses table](https://developer.android.
1077+ # com/google/play/integrity/setup#default). If set to `true`, apps without the `
1078+ # LICENSED` app licensing verdict will be rejected. If set to `false`, any app
1079+ # licensing verdict is allowed. The default value is `false`.
1080+ # Corresponds to the JSON property `requireLicensed`
1081+ # @return [Boolean]
1082+ attr_accessor :require_licensed
1083+ alias_method :require_licensed? , :require_licensed
1084+
1085+ def initialize ( **args )
1086+ update! ( **args )
1087+ end
1088+
1089+ # Update properties of this object
1090+ def update! ( **args )
1091+ @require_licensed = args [ :require_licensed ] if args . key? ( :require_licensed )
1092+ end
1093+ end
1094+
1095+ # A settings object specifying application integrity requirements for Android
1096+ # devices running your app. These settings correspond to requirements on the [**
1097+ # application integrity** field](https://developer.android.com/google/play/
1098+ # integrity/verdicts#application-integrity-field) obtained from the Play
1099+ # Integrity API. See the [default responses table](https://developer.android.com/
1100+ # google/play/integrity/setup#default) for a quick summary. The default values
1101+ # for these settings work for most apps, and are recommended.
1102+ class GoogleFirebaseAppcheckV1betaPlayIntegrityConfigAppIntegrity
1103+ include Google ::Apis ::Core ::Hashable
1104+
1105+ # Specifies whether your running app is allowed to have the `
1106+ # UNRECOGNIZED_VERSION` [app recognition verdict](https://developer.android.com/
1107+ # google/play/integrity/verdicts#application-integrity-field). Note that the app
1108+ # recognition verdict `PLAY_RECOGNIZED` is a strong, comprehensive integrity
1109+ # signal that takes into account various other signals, including conditional
1110+ # and optional device integrity responses that you have opted into. If your app
1111+ # is published off-Play, this field should be set to `true` to allow instances
1112+ # of your app installed from off-Play sources to function. If set to `false`,
1113+ # only `PLAY_RECOGNIZED` verdicts are allowed, and both `UNRECOGNIZED_VERSION`
1114+ # and `UNEVALUATED` will be rejected. If set to `true`, any app recognition
1115+ # verdict is allowed. The default value is `false`.
1116+ # Corresponds to the JSON property `allowUnrecognizedVersion`
1117+ # @return [Boolean]
1118+ attr_accessor :allow_unrecognized_version
1119+ alias_method :allow_unrecognized_version? , :allow_unrecognized_version
1120+
1121+ def initialize ( **args )
1122+ update! ( **args )
1123+ end
1124+
1125+ # Update properties of this object
1126+ def update! ( **args )
1127+ @allow_unrecognized_version = args [ :allow_unrecognized_version ] if args . key? ( :allow_unrecognized_version )
1128+ end
1129+ end
1130+
1131+ # A settings object specifying device integrity requirements for Android devices
1132+ # running your app. These settings correspond to requirements on the [**device
1133+ # integrity** field](https://developer.android.com/google/play/integrity/
1134+ # verdicts#device-integrity-field) obtained from the Play Integrity API. See the
1135+ # [default responses table](https://developer.android.com/google/play/integrity/
1136+ # setup#default) for a quick summary. Warning: There are also [conditional](
1137+ # https://developer.android.com/google/play/integrity/setup#conditional) as well
1138+ # as [optional](https://developer.android.com/google/play/integrity/setup#
1139+ # optional_device_information) responses that you can receive, but requires
1140+ # additional explicit opt-in from you. The App Check API is **not** responsible
1141+ # for any such opt-ins. The default values for these settings work for most apps,
1142+ # and are recommended.
1143+ class GoogleFirebaseAppcheckV1betaPlayIntegrityConfigDeviceIntegrity
1144+ include Google ::Apis ::Core ::Hashable
1145+
1146+ # Specifies the minimum device integrity level in order for the device to be
1147+ # considered valid. Any device with a device recognition verdict lower than this
1148+ # level will be rejected. If this is unspecified, the default level is `
1149+ # NO_INTEGRITY`.
1150+ # Corresponds to the JSON property `minDeviceRecognitionLevel`
1151+ # @return [String]
1152+ attr_accessor :min_device_recognition_level
1153+
1154+ def initialize ( **args )
1155+ update! ( **args )
1156+ end
1157+
1158+ # Update properties of this object
1159+ def update! ( **args )
1160+ @min_device_recognition_level = args [ :min_device_recognition_level ] if args . key? ( :min_device_recognition_level )
1161+ end
1162+ end
1163+
10221164 # A JWK as specified by [section 4 of RFC 7517](https://tools.ietf.org/html/
10231165 # rfc7517#section-4) and [section 6.3.1 of RFC 7518](https://tools.ietf.org/html/
10241166 # rfc7518#section-6.3.1).
@@ -1102,6 +1244,14 @@ def update!(**args)
11021244 class GoogleFirebaseAppcheckV1betaRecaptchaConfig
11031245 include Google ::Apis ::Core ::Hashable
11041246
1247+ # Specifies a minimum score required for a reCAPTCHA token to be considered
1248+ # valid. If its score is greater than or equal to this value, it will be
1249+ # accepted; otherwise, it will be rejected. The value must be between 0.0 and 1.
1250+ # 0. The default value is 0.5.
1251+ # Corresponds to the JSON property `minValidScore`
1252+ # @return [Float]
1253+ attr_accessor :min_valid_score
1254+
11051255 # Required. The relative resource name of the reCAPTCHA v3 configuration object,
11061256 # in the format: ``` projects/`project_number`/apps/`app_id`/recaptchaConfig ```
11071257 # Corresponds to the JSON property `name`
@@ -1136,6 +1286,7 @@ def initialize(**args)
11361286
11371287 # Update properties of this object
11381288 def update! ( **args )
1289+ @min_valid_score = args [ :min_valid_score ] if args . key? ( :min_valid_score )
11391290 @name = args [ :name ] if args . key? ( :name )
11401291 @site_secret = args [ :site_secret ] if args . key? ( :site_secret )
11411292 @site_secret_set = args [ :site_secret_set ] if args . key? ( :site_secret_set )
@@ -1157,6 +1308,16 @@ class GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig
11571308 # @return [String]
11581309 attr_accessor :name
11591310
1311+ # A settings object specifying risk tolerance and requirements for your
1312+ # application. These settings correspond to requirements on the [**`riskAnalysis`
1313+ # **](https://cloud.google.com/recaptcha/docs/interpret-assessment-website#
1314+ # interpret_assessment) tuple in the assessment obtained from reCAPTCHA
1315+ # Enterprise. The default values for these settings work for most apps, and are
1316+ # recommended.
1317+ # Corresponds to the JSON property `riskAnalysis`
1318+ # @return [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfigRiskAnalysis]
1319+ attr_accessor :risk_analysis
1320+
11601321 # The score-based site key [created in reCAPTCHA Enterprise](https://cloud.
11611322 # google.com/recaptcha-enterprise/docs/create-key#creating_a_site_key) used to [
11621323 # invoke reCAPTCHA and generate the reCAPTCHA tokens](https://cloud.google.com/
@@ -1181,18 +1342,54 @@ def initialize(**args)
11811342 # Update properties of this object
11821343 def update! ( **args )
11831344 @name = args [ :name ] if args . key? ( :name )
1345+ @risk_analysis = args [ :risk_analysis ] if args . key? ( :risk_analysis )
11841346 @site_key = args [ :site_key ] if args . key? ( :site_key )
11851347 @token_ttl = args [ :token_ttl ] if args . key? ( :token_ttl )
11861348 end
11871349 end
11881350
1351+ # A settings object specifying risk tolerance and requirements for your
1352+ # application. These settings correspond to requirements on the [**`riskAnalysis`
1353+ # **](https://cloud.google.com/recaptcha/docs/interpret-assessment-website#
1354+ # interpret_assessment) tuple in the assessment obtained from reCAPTCHA
1355+ # Enterprise. The default values for these settings work for most apps, and are
1356+ # recommended.
1357+ class GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfigRiskAnalysis
1358+ include Google ::Apis ::Core ::Hashable
1359+
1360+ # Specifies a minimum score required for a reCAPTCHA token to be considered
1361+ # valid. If its score is greater than or equal to this value, it will be
1362+ # accepted; otherwise, it will be rejected. The value must be between 0.0 and 1.
1363+ # 0. The default value is 0.5.
1364+ # Corresponds to the JSON property `minValidScore`
1365+ # @return [Float]
1366+ attr_accessor :min_valid_score
1367+
1368+ def initialize ( **args )
1369+ update! ( **args )
1370+ end
1371+
1372+ # Update properties of this object
1373+ def update! ( **args )
1374+ @min_valid_score = args [ :min_valid_score ] if args . key? ( :min_valid_score )
1375+ end
1376+ end
1377+
11891378 # An app's reCAPTCHA v3 configuration object. This configuration is used by
11901379 # ExchangeRecaptchaV3Token to validate reCAPTCHA tokens issued to apps by
11911380 # reCAPTCHA v3. It also controls certain properties of the returned `
11921381 # AppCheckToken`, such as its ttl.
11931382 class GoogleFirebaseAppcheckV1betaRecaptchaV3Config
11941383 include Google ::Apis ::Core ::Hashable
11951384
1385+ # Specifies a minimum score required for a reCAPTCHA token to be considered
1386+ # valid. If its score is greater than or equal to this value, it will be
1387+ # accepted; otherwise, it will be rejected. The value must be between 0.0 and 1.
1388+ # 0. The default value is 0.5.
1389+ # Corresponds to the JSON property `minValidScore`
1390+ # @return [Float]
1391+ attr_accessor :min_valid_score
1392+
11961393 # Required. The relative resource name of the reCAPTCHA v3 configuration object,
11971394 # in the format: ``` projects/`project_number`/apps/`app_id`/recaptchaV3Config ``
11981395 # `
@@ -1228,6 +1425,7 @@ def initialize(**args)
12281425
12291426 # Update properties of this object
12301427 def update! ( **args )
1428+ @min_valid_score = args [ :min_valid_score ] if args . key? ( :min_valid_score )
12311429 @name = args [ :name ] if args . key? ( :name )
12321430 @site_secret = args [ :site_secret ] if args . key? ( :site_secret )
12331431 @site_secret_set = args [ :site_secret_set ] if args . key? ( :site_secret_set )
0 commit comments