Class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AndroidKeySettings
- Inherits:
-
Object
- Object
- Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AndroidKeySettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/recaptchaenterprise_v1/classes.rb,
lib/google/apis/recaptchaenterprise_v1/representations.rb,
lib/google/apis/recaptchaenterprise_v1/representations.rb
Overview
Settings specific to keys that can be used by Android apps.
Instance Attribute Summary collapse
-
#allowed_package_names ⇒ Array<String>
Android package names of apps allowed to use the key.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1AndroidKeySettings
constructor
A new instance of GoogleCloudRecaptchaenterpriseV1AndroidKeySettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1AndroidKeySettings
Returns a new instance of GoogleCloudRecaptchaenterpriseV1AndroidKeySettings.
35 36 37 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 35 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allowed_package_names ⇒ Array<String>
Android package names of apps allowed to use the key. Example: 'com.
companyname.appname'
Corresponds to the JSON property allowedPackageNames
33 34 35 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 33 def allowed_package_names @allowed_package_names end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
40 41 42 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 40 def update!(**args) @allowed_package_names = args[:allowed_package_names] if args.key?(:allowed_package_names) end |