Class: Google::Apis::GamesV1::InstanceWebDetails
- Inherits:
-
Object
- Object
- Google::Apis::GamesV1::InstanceWebDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/games_v1/classes.rb,
lib/google/apis/games_v1/representations.rb,
lib/google/apis/games_v1/representations.rb
Overview
The Web details resource.
Instance Attribute Summary collapse
-
#kind ⇒ String
Uniquely identifies the type of this resource.
-
#launch_url ⇒ String
Launch URL for the game.
-
#preferred ⇒ Boolean
(also: #preferred?)
Indicates that this instance is the default for new installations.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InstanceWebDetails
constructor
A new instance of InstanceWebDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InstanceWebDetails
Returns a new instance of InstanceWebDetails.
1321 1322 1323 |
# File 'lib/google/apis/games_v1/classes.rb', line 1321 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Uniquely identifies the type of this resource. Value is always the fixed
string games#instanceWebDetails.
Corresponds to the JSON property kind
1308 1309 1310 |
# File 'lib/google/apis/games_v1/classes.rb', line 1308 def kind @kind end |
#launch_url ⇒ String
Launch URL for the game.
Corresponds to the JSON property launchUrl
1313 1314 1315 |
# File 'lib/google/apis/games_v1/classes.rb', line 1313 def launch_url @launch_url end |
#preferred ⇒ Boolean Also known as: preferred?
Indicates that this instance is the default for new installations.
Corresponds to the JSON property preferred
1318 1319 1320 |
# File 'lib/google/apis/games_v1/classes.rb', line 1318 def preferred @preferred end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1326 1327 1328 1329 1330 |
# File 'lib/google/apis/games_v1/classes.rb', line 1326 def update!(**args) @kind = args[:kind] if args.key?(:kind) @launch_url = args[:launch_url] if args.key?(:launch_url) @preferred = args[:preferred] if args.key?(:preferred) end |