Reference documentation and code samples for the reCAPTCHA Enterprise V1 API class Google::Cloud::RecaptchaEnterprise::V1::AndroidKeySettings.
Settings specific to keys that can be used by Android apps.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#allow_all_package_names
def allow_all_package_names() -> ::Boolean
Returns
- (::Boolean) — Optional. If set to true, allowed_package_names are not enforced.
#allow_all_package_names=
def allow_all_package_names=(value) -> ::Boolean
Parameter
- value (::Boolean) — Optional. If set to true, allowed_package_names are not enforced.
Returns
- (::Boolean) — Optional. If set to true, allowed_package_names are not enforced.
#allowed_package_names
def allowed_package_names() -> ::Array<::String>
Returns
-
(::Array<::String>) — Optional. Android package names of apps allowed to use the key.
Example: 'com.companyname.appname'
Each key supports a maximum of 250 package names. To use a key on more
apps, set
allow_all_package_namesto true. When this is set, you are responsible for validating the package name by checking thetoken_properties.android_package_namefield in each assessment response against your list of allowed package names.
#allowed_package_names=
def allowed_package_names=(value) -> ::Array<::String>
Parameter
-
value (::Array<::String>) — Optional. Android package names of apps allowed to use the key.
Example: 'com.companyname.appname'
Each key supports a maximum of 250 package names. To use a key on more
apps, set
allow_all_package_namesto true. When this is set, you are responsible for validating the package name by checking thetoken_properties.android_package_namefield in each assessment response against your list of allowed package names.
Returns
-
(::Array<::String>) — Optional. Android package names of apps allowed to use the key.
Example: 'com.companyname.appname'
Each key supports a maximum of 250 package names. To use a key on more
apps, set
allow_all_package_namesto true. When this is set, you are responsible for validating the package name by checking thetoken_properties.android_package_namefield in each assessment response against your list of allowed package names.
#support_non_google_app_store_distribution
def support_non_google_app_store_distribution() -> ::Boolean
Returns
- (::Boolean) — Optional. Set to true for keys that are used in an Android application that is available for download in app stores in addition to the Google Play Store.
#support_non_google_app_store_distribution=
def support_non_google_app_store_distribution=(value) -> ::Boolean
Parameter
- value (::Boolean) — Optional. Set to true for keys that are used in an Android application that is available for download in app stores in addition to the Google Play Store.
Returns
- (::Boolean) — Optional. Set to true for keys that are used in an Android application that is available for download in app stores in addition to the Google Play Store.