public sealed class AndroidKeySettings : IMessage<AndroidKeySettings>, IEquatable<AndroidKeySettings>, IDeepCloneable<AndroidKeySettings>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud reCAPTCHA Enterprise v1 API class AndroidKeySettings.
Settings specific to keys that can be used by Android apps.
Implements
IMessageAndroidKeySettings, IEquatableAndroidKeySettings, IDeepCloneableAndroidKeySettings, IBufferMessage, IMessageNamespace
Google.Cloud.RecaptchaEnterprise.V1Assembly
Google.Cloud.RecaptchaEnterprise.V1.dll
Constructors
AndroidKeySettings()
public AndroidKeySettings()AndroidKeySettings(AndroidKeySettings)
public AndroidKeySettings(AndroidKeySettings other)| Parameter | |
|---|---|
| Name | Description |
other |
AndroidKeySettings |
Properties
AllowAllPackageNames
public bool AllowAllPackageNames { get; set; }Optional. If set to true, allowed_package_names are not enforced.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
AllowedPackageNames
public RepeatedField<string> AllowedPackageNames { get; }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_names to true. When this is set, you
are responsible for validating the package name by checking the
token_properties.android_package_name field in each assessment response
against your list of allowed package names.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldstring |
|
SupportNonGoogleAppStoreDistribution
public bool SupportNonGoogleAppStoreDistribution { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
bool |
|