Class: Google::Apis::GamesV1::Application
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::GamesV1::Application
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/games_v1/classes.rb,
generated/google/apis/games_v1/representations.rb,
generated/google/apis/games_v1/representations.rb 
Overview
This is a JSON template for the Application resource.
Instance Attribute Summary collapse
- 
  
    
      #achievement_count  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The number of achievements visible to the currently authenticated player.
 - 
  
    
      #assets  ⇒ Array<Google::Apis::GamesV1::ImageAsset> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The assets of the application.
 - 
  
    
      #author  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The author of the application.
 - 
  
    
      #category  ⇒ Google::Apis::GamesV1::ApplicationCategory 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
This is a JSON template for an application category object.
 - 
  
    
      #description  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The description of the application.
 - 
  
    
      #enabled_features  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A list of features that have been enabled for the application.
 - 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The ID of the application.
 - 
  
    
      #instances  ⇒ Array<Google::Apis::GamesV1::Instance> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The instances of the application.
 - 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Uniquely identifies the type of this resource.
 - 
  
    
      #last_updated_timestamp  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The last updated timestamp of the application.
 - 
  
    
      #leaderboard_count  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The number of leaderboards visible to the currently authenticated player.
 - 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The name of the application.
 - 
  
    
      #theme_color  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A hint to the client UI for what color to use as an app-themed color.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Application 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Application.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Application
Returns a new instance of Application
      594 595 596  | 
    
      # File 'generated/google/apis/games_v1/classes.rb', line 594 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#achievement_count ⇒ Fixnum
The number of achievements visible to the currently authenticated player.
Corresponds to the JSON property achievement_count
      528 529 530  | 
    
      # File 'generated/google/apis/games_v1/classes.rb', line 528 def achievement_count @achievement_count end  | 
  
#assets ⇒ Array<Google::Apis::GamesV1::ImageAsset>
The assets of the application.
Corresponds to the JSON property assets
      533 534 535  | 
    
      # File 'generated/google/apis/games_v1/classes.rb', line 533 def assets @assets end  | 
  
#author ⇒ String
The author of the application.
Corresponds to the JSON property author
      538 539 540  | 
    
      # File 'generated/google/apis/games_v1/classes.rb', line 538 def @author end  | 
  
#category ⇒ Google::Apis::GamesV1::ApplicationCategory
This is a JSON template for an application category object.
Corresponds to the JSON property category
      543 544 545  | 
    
      # File 'generated/google/apis/games_v1/classes.rb', line 543 def category @category end  | 
  
#description ⇒ String
The description of the application.
Corresponds to the JSON property description
      548 549 550  | 
    
      # File 'generated/google/apis/games_v1/classes.rb', line 548 def description @description end  | 
  
#enabled_features ⇒ Array<String>
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 
      555 556 557  | 
    
      # File 'generated/google/apis/games_v1/classes.rb', line 555 def enabled_features @enabled_features end  | 
  
#id ⇒ String
The ID of the application.
Corresponds to the JSON property id
      560 561 562  | 
    
      # File 'generated/google/apis/games_v1/classes.rb', line 560 def id @id end  | 
  
#instances ⇒ Array<Google::Apis::GamesV1::Instance>
The instances of the application.
Corresponds to the JSON property instances
      565 566 567  | 
    
      # File 'generated/google/apis/games_v1/classes.rb', line 565 def instances @instances end  | 
  
#kind ⇒ String
Uniquely identifies the type of this resource. Value is always the fixed
string games#application.
Corresponds to the JSON property kind
      571 572 573  | 
    
      # File 'generated/google/apis/games_v1/classes.rb', line 571 def kind @kind end  | 
  
#last_updated_timestamp ⇒ Fixnum
The last updated timestamp of the application.
Corresponds to the JSON property lastUpdatedTimestamp
      576 577 578  | 
    
      # File 'generated/google/apis/games_v1/classes.rb', line 576 def @last_updated_timestamp end  | 
  
#leaderboard_count ⇒ Fixnum
The number of leaderboards visible to the currently authenticated player.
Corresponds to the JSON property leaderboard_count
      581 582 583  | 
    
      # File 'generated/google/apis/games_v1/classes.rb', line 581 def leaderboard_count @leaderboard_count end  | 
  
#name ⇒ String
The name of the application.
Corresponds to the JSON property name
      586 587 588  | 
    
      # File 'generated/google/apis/games_v1/classes.rb', line 586 def name @name end  | 
  
#theme_color ⇒ 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
      592 593 594  | 
    
      # File 'generated/google/apis/games_v1/classes.rb', line 592 def theme_color @theme_color end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      599 600 601 602 603 604 605 606 607 608 609 610 611 612 613  | 
    
      # 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  |