Class: Google::Apis::GamesV1::InstanceIosDetails
- Inherits:
-
Object
- Object
- Google::Apis::GamesV1::InstanceIosDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/games_v1/classes.rb,
generated/google/apis/games_v1/representations.rb,
generated/google/apis/games_v1/representations.rb
Overview
This is a JSON template for the iOS details resource.
Instance Attribute Summary collapse
-
#bundle_identifier ⇒ String
Bundle identifier.
-
#itunes_app_id ⇒ String
iTunes App ID.
-
#kind ⇒ String
Uniquely identifies the type of this resource.
-
#preferred_for_ipad ⇒ Boolean
(also: #preferred_for_ipad?)
Indicates that this instance is the default for new installations on iPad devices.
-
#preferred_for_iphone ⇒ Boolean
(also: #preferred_for_iphone?)
Indicates that this instance is the default for new installations on iPhone devices.
-
#support_ipad ⇒ Boolean
(also: #support_ipad?)
Flag to indicate if this instance supports iPad.
-
#support_iphone ⇒ Boolean
(also: #support_iphone?)
Flag to indicate if this instance supports iPhone.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InstanceIosDetails
constructor
A new instance of InstanceIosDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ InstanceIosDetails
Returns a new instance of InstanceIosDetails
1387 1388 1389 |
# File 'generated/google/apis/games_v1/classes.rb', line 1387 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bundle_identifier ⇒ String
Bundle identifier.
Corresponds to the JSON property bundleIdentifier
1348 1349 1350 |
# File 'generated/google/apis/games_v1/classes.rb', line 1348 def bundle_identifier @bundle_identifier end |
#itunes_app_id ⇒ String
iTunes App ID.
Corresponds to the JSON property itunesAppId
1353 1354 1355 |
# File 'generated/google/apis/games_v1/classes.rb', line 1353 def itunes_app_id @itunes_app_id end |
#kind ⇒ String
Uniquely identifies the type of this resource. Value is always the fixed
string games#instanceIosDetails.
Corresponds to the JSON property kind
1359 1360 1361 |
# File 'generated/google/apis/games_v1/classes.rb', line 1359 def kind @kind end |
#preferred_for_ipad ⇒ Boolean Also known as: preferred_for_ipad?
Indicates that this instance is the default for new installations on iPad
devices.
Corresponds to the JSON property preferredForIpad
1365 1366 1367 |
# File 'generated/google/apis/games_v1/classes.rb', line 1365 def preferred_for_ipad @preferred_for_ipad end |
#preferred_for_iphone ⇒ Boolean Also known as: preferred_for_iphone?
Indicates that this instance is the default for new installations on iPhone
devices.
Corresponds to the JSON property preferredForIphone
1372 1373 1374 |
# File 'generated/google/apis/games_v1/classes.rb', line 1372 def preferred_for_iphone @preferred_for_iphone end |
#support_ipad ⇒ Boolean Also known as: support_ipad?
Flag to indicate if this instance supports iPad.
Corresponds to the JSON property supportIpad
1378 1379 1380 |
# File 'generated/google/apis/games_v1/classes.rb', line 1378 def support_ipad @support_ipad end |
#support_iphone ⇒ Boolean Also known as: support_iphone?
Flag to indicate if this instance supports iPhone.
Corresponds to the JSON property supportIphone
1384 1385 1386 |
# File 'generated/google/apis/games_v1/classes.rb', line 1384 def support_iphone @support_iphone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1392 1393 1394 1395 1396 1397 1398 1399 1400 |
# File 'generated/google/apis/games_v1/classes.rb', line 1392 def update!(**args) @bundle_identifier = args[:bundle_identifier] if args.key?(:bundle_identifier) @itunes_app_id = args[:itunes_app_id] if args.key?(:itunes_app_id) @kind = args[:kind] if args.key?(:kind) @preferred_for_ipad = args[:preferred_for_ipad] if args.key?(:preferred_for_ipad) @preferred_for_iphone = args[:preferred_for_iphone] if args.key?(:preferred_for_iphone) @support_ipad = args[:support_ipad] if args.key?(:support_ipad) @support_iphone = args[:support_iphone] if args.key?(:support_iphone) end |