class Google::Apis::GamesV1::Application

This is a JSON template for the Application resource.

Attributes

achievement_count[RW]

The number of achievements visible to the currently authenticated player. Corresponds to the JSON property `achievement_count` @return [Fixnum]

assets[RW]

The assets of the application. Corresponds to the JSON property `assets` @return [Array<Google::Apis::GamesV1::ImageAsset>]

author[RW]

The author of the application. Corresponds to the JSON property `author` @return [String]

category[RW]

This is a JSON template for an application category object. Corresponds to the JSON property `category` @return [Google::Apis::GamesV1::ApplicationCategory]

description[RW]

The description of the application. Corresponds to the JSON property `description` @return [String]

enabled_features[RW]

A list of features that have been enabled for the application. Possible values are:

  • “SNAPSHOTS” - Snapshots has been enabled

Corresponds to the JSON property `enabledFeatures` @return [Array<String>]

id[RW]

The ID of the application. Corresponds to the JSON property `id` @return [String]

instances[RW]

The instances of the application. Corresponds to the JSON property `instances` @return [Array<Google::Apis::GamesV1::Instance>]

kind[RW]

Uniquely identifies the type of this resource. Value is always the fixed string games#application. Corresponds to the JSON property `kind` @return [String]

last_updated_timestamp[RW]

The last updated timestamp of the application. Corresponds to the JSON property `lastUpdatedTimestamp` @return [String]

leaderboard_count[RW]

The number of leaderboards visible to the currently authenticated player. Corresponds to the JSON property `leaderboard_count` @return [Fixnum]

name[RW]

The name of the application. Corresponds to the JSON property `name` @return [String]

theme_color[RW]

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

new(**args) click to toggle source
# File generated/google/apis/games_v1/classes.rb, line 594
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/games_v1/classes.rb, line 599
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