Class: Google::Apis::GamesV1::InstanceWebDetails

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InstanceWebDetails

Returns a new instance of InstanceWebDetails.



1392
1393
1394
# File 'lib/google/apis/games_v1/classes.rb', line 1392

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

Instance Attribute Details

#kindString

Uniquely identifies the type of this resource. Value is always the fixed string games#instanceWebDetails. Corresponds to the JSON property kind

Returns:

  • (String)


1379
1380
1381
# File 'lib/google/apis/games_v1/classes.rb', line 1379

def kind
  @kind
end

#launch_urlString

Launch URL for the game. Corresponds to the JSON property launchUrl

Returns:

  • (String)


1384
1385
1386
# File 'lib/google/apis/games_v1/classes.rb', line 1384

def launch_url
  @launch_url
end

#preferredBoolean Also known as: preferred?

Indicates that this instance is the default for new installations. Corresponds to the JSON property preferred

Returns:

  • (Boolean)


1389
1390
1391
# File 'lib/google/apis/games_v1/classes.rb', line 1389

def preferred
  @preferred
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1397
1398
1399
1400
1401
# File 'lib/google/apis/games_v1/classes.rb', line 1397

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