class Google::Apis::GamesV1::Application
The Application
resource.
Attributes
The number of achievements visible to the currently authenticated player. Corresponds to the JSON property `achievement_count` @return [Fixnum]
The assets of the application. Corresponds to the JSON property `assets` @return [Array<Google::Apis::GamesV1::ImageAsset>]
An application category object. Corresponds to the JSON property `category` @return [Google::Apis::GamesV1::ApplicationCategory]
The description of the application. Corresponds to the JSON property `description` @return [String]
A list of features that have been enabled for the application. Corresponds to the JSON property `enabledFeatures` @return [Array<String>]
The ID of the application. Corresponds to the JSON property `id` @return [String]
The instances of the application. Corresponds to the JSON property `instances` @return [Array<Google::Apis::GamesV1::Instance>]
Uniquely identifies the type of this resource. Value is always the fixed string `games#application`. Corresponds to the JSON property `kind` @return [String]
The last updated timestamp of the application. Corresponds to the JSON property `lastUpdatedTimestamp` @return [Fixnum]
The number of leaderboards visible to the currently authenticated player. Corresponds to the JSON property `leaderboard_count` @return [Fixnum]
The name of the application. Corresponds to the JSON property `name` @return [String]
A hint to the client UI for what color to use as an app-themed color. The color is given as an RGB triplet (e.g. “E0E0E0”). Corresponds to the JSON property `themeColor` @return [String]
Public Class Methods
# File lib/google/apis/games_v1/classes.rb, line 496 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/games_v1/classes.rb, line 501 def update!(**args) @achievement_count = args[:achievement_count] if args.key?(:achievement_count) @assets = args[:assets] if args.key?(:assets) @author = args[:author] if args.key?(:author) @category = args[:category] if args.key?(:category) @description = args[:description] if args.key?(:description) @enabled_features = args[:enabled_features] if args.key?(:enabled_features) @id = args[:id] if args.key?(:id) @instances = args[:instances] if args.key?(:instances) @kind = args[:kind] if args.key?(:kind) @last_updated_timestamp = args[:last_updated_timestamp] if args.key?(:last_updated_timestamp) @leaderboard_count = args[:leaderboard_count] if args.key?(:leaderboard_count) @name = args[:name] if args.key?(:name) @theme_color = args[:theme_color] if args.key?(:theme_color) end