class Google::Apis::GamesV1::Instance
The Instance
resource.
Attributes
URI which shows where a user can acquire this instance. Corresponds to the JSON property `acquisitionUri` @return [String]
The Android instance details resource. Corresponds to the JSON property `androidInstance` @return [Google::Apis::GamesV1::InstanceAndroidDetails]
The iOS details resource. Corresponds to the JSON property `iosInstance` @return [Google::Apis::GamesV1::InstanceIosDetails]
Uniquely identifies the type of this resource. Value is always the fixed string `games#instance`. Corresponds to the JSON property `kind` @return [String]
Localized display name. Corresponds to the JSON property `name` @return [String]
The platform type. Corresponds to the JSON property `platformType` @return [String]
Flag to show if this game instance supports realtime play. Corresponds to the JSON property `realtimePlay` @return [Boolean]
Flag to show if this game instance supports realtime play. Corresponds to the JSON property `realtimePlay` @return [Boolean]
Flag to show if this game instance supports turn based play. Corresponds to the JSON property `turnBasedPlay` @return [Boolean]
Flag to show if this game instance supports turn based play. Corresponds to the JSON property `turnBasedPlay` @return [Boolean]
The Web details resource. Corresponds to the JSON property `webInstance` @return [Google::Apis::GamesV1::InstanceWebDetails]
Public Class Methods
# File lib/google/apis/games_v1/classes.rb, line 1180 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/games_v1/classes.rb, line 1185 def update!(**args) @acquisition_uri = args[:acquisition_uri] if args.key?(:acquisition_uri) @android_instance = args[:android_instance] if args.key?(:android_instance) @ios_instance = args[:ios_instance] if args.key?(:ios_instance) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @platform_type = args[:platform_type] if args.key?(:platform_type) @realtime_play = args[:realtime_play] if args.key?(:realtime_play) @turn_based_play = args[:turn_based_play] if args.key?(:turn_based_play) @web_instance = args[:web_instance] if args.key?(:web_instance) end