Class: Google::Apis::ApikeysV2::V2IosKeyRestrictions
- Inherits:
-
Object
- Object
- Google::Apis::ApikeysV2::V2IosKeyRestrictions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apikeys_v2/classes.rb,
lib/google/apis/apikeys_v2/representations.rb,
lib/google/apis/apikeys_v2/representations.rb
Overview
The iOS apps that are allowed to use the key.
Instance Attribute Summary collapse
-
#allowed_bundle_ids ⇒ Array<String>
A list of bundle IDs that are allowed when making API calls with this key.
Instance Method Summary collapse
-
#initialize(**args) ⇒ V2IosKeyRestrictions
constructor
A new instance of V2IosKeyRestrictions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ V2IosKeyRestrictions
Returns a new instance of V2IosKeyRestrictions.
253 254 255 |
# File 'lib/google/apis/apikeys_v2/classes.rb', line 253 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allowed_bundle_ids ⇒ Array<String>
A list of bundle IDs that are allowed when making API calls with this key.
Corresponds to the JSON property allowedBundleIds
251 252 253 |
# File 'lib/google/apis/apikeys_v2/classes.rb', line 251 def allowed_bundle_ids @allowed_bundle_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
258 259 260 |
# File 'lib/google/apis/apikeys_v2/classes.rb', line 258 def update!(**args) @allowed_bundle_ids = args[:allowed_bundle_ids] if args.key?(:allowed_bundle_ids) end |