Class: Google::Apis::ApikeysV2::V2IosKeyRestrictions

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

Instance Method Summary collapse

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_idsArray<String>

A list of bundle IDs that are allowed when making API calls with this key. Corresponds to the JSON property allowedBundleIds

Returns:

  • (Array<String>)


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