Google Cloud Recaptcha Enterprise V1 Client - Class AndroidKeySettings (1.2.6)

Reference documentation and code samples for the Google Cloud Recaptcha Enterprise V1 Client class AndroidKeySettings.

Settings specific to keys that can be used by Android apps.

Generated from protobuf message google.cloud.recaptchaenterprise.v1.AndroidKeySettings

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ allow_all_package_names bool

If set to true, allowed_package_names are not enforced.

↳ allowed_package_names array

Android package names of apps allowed to use the key. Example: 'com.companyname.appname'

getAllowAllPackageNames

If set to true, allowed_package_names are not enforced.

Returns
TypeDescription
bool

setAllowAllPackageNames

If set to true, allowed_package_names are not enforced.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getAllowedPackageNames

Android package names of apps allowed to use the key.

Example: 'com.companyname.appname'

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAllowedPackageNames

Android package names of apps allowed to use the key.

Example: 'com.companyname.appname'

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this