Class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1IosKeySettings
- Inherits:
-
Object
- Object
- Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1IosKeySettings
- 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 iOS apps.
Instance Attribute Summary collapse
-
#allow_all_bundle_ids ⇒ Boolean
(also: #allow_all_bundle_ids?)
If set to true, it means allowed_bundle_ids will not be enforced.
-
#allowed_bundle_ids ⇒ Array<String>
iOS bundle ids of apps allowed to use the key.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1IosKeySettings
constructor
A new instance of GoogleCloudRecaptchaenterpriseV1IosKeySettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1IosKeySettings
Returns a new instance of GoogleCloudRecaptchaenterpriseV1IosKeySettings.
236 237 238 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 236 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allow_all_bundle_ids ⇒ Boolean Also known as: allow_all_bundle_ids?
If set to true, it means allowed_bundle_ids will not be enforced.
Corresponds to the JSON property allowAllBundleIds
227 228 229 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 227 def allow_all_bundle_ids @allow_all_bundle_ids end |
#allowed_bundle_ids ⇒ Array<String>
iOS bundle ids of apps allowed to use the key. Example: 'com.companyname.
productname.appname'
Corresponds to the JSON property allowedBundleIds
234 235 236 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 234 def allowed_bundle_ids @allowed_bundle_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
241 242 243 244 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 241 def update!(**args) @allow_all_bundle_ids = args[:allow_all_bundle_ids] if args.key?(:allow_all_bundle_ids) @allowed_bundle_ids = args[:allowed_bundle_ids] if args.key?(:allowed_bundle_ids) end |