Class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1IosKeySettings

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1IosKeySettings

Returns a new instance of GoogleCloudRecaptchaenterpriseV1IosKeySettings.



371
372
373
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 371

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#allow_all_bundle_idsBoolean Also known as: allow_all_bundle_ids?

If set to true, allowed_bundle_ids are not enforced. Corresponds to the JSON property allowAllBundleIds

Returns:

  • (Boolean)


362
363
364
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 362

def allow_all_bundle_ids
  @allow_all_bundle_ids
end

#allowed_bundle_idsArray<String>

iOS bundle ids of apps allowed to use the key. Example: 'com.companyname. productname.appname' Corresponds to the JSON property allowedBundleIds

Returns:

  • (Array<String>)


369
370
371
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 369

def allowed_bundle_ids
  @allowed_bundle_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



376
377
378
379
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 376

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