Class: Google::Apis::GamesConfigurationV1configuration::LeaderboardConfigurationDetail
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::GamesConfigurationV1configuration::LeaderboardConfigurationDetail
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/games_configuration_v1configuration/classes.rb,
generated/google/apis/games_configuration_v1configuration/representations.rb,
generated/google/apis/games_configuration_v1configuration/representations.rb 
Overview
This is a JSON template for a leaderboard configuration detail.
Instance Attribute Summary collapse
- 
  
    
      #icon_url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The icon url of this leaderboard.
 - 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Uniquely identifies the type of this resource.
 - 
  
    
      #name  ⇒ Google::Apis::GamesConfigurationV1configuration::LocalizedStringBundle 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
This is a JSON template for a localized string bundle resource.
 - 
  
    
      #score_format  ⇒ Google::Apis::GamesConfigurationV1configuration::GamesNumberFormatConfiguration 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
This is a JSON template for a number format resource.
 - 
  
    
      #sort_rank  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The sort rank of this leaderboard.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ LeaderboardConfigurationDetail 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of LeaderboardConfigurationDetail.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ LeaderboardConfigurationDetail
Returns a new instance of LeaderboardConfigurationDetail
      401 402 403  | 
    
      # File 'generated/google/apis/games_configuration_v1configuration/classes.rb', line 401 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#icon_url ⇒ String
The icon url of this leaderboard. Writes to this field are ignored.
Corresponds to the JSON property iconUrl
      378 379 380  | 
    
      # File 'generated/google/apis/games_configuration_v1configuration/classes.rb', line 378 def icon_url @icon_url end  | 
  
#kind ⇒ String
Uniquely identifies the type of this resource. Value is always the fixed
string gamesConfiguration#leaderboardConfigurationDetail.
Corresponds to the JSON property kind
      384 385 386  | 
    
      # File 'generated/google/apis/games_configuration_v1configuration/classes.rb', line 384 def kind @kind end  | 
  
#name ⇒ Google::Apis::GamesConfigurationV1configuration::LocalizedStringBundle
This is a JSON template for a localized string bundle resource.
Corresponds to the JSON property name
      389 390 391  | 
    
      # File 'generated/google/apis/games_configuration_v1configuration/classes.rb', line 389 def name @name end  | 
  
#score_format ⇒ Google::Apis::GamesConfigurationV1configuration::GamesNumberFormatConfiguration
This is a JSON template for a number format resource.
Corresponds to the JSON property scoreFormat
      394 395 396  | 
    
      # File 'generated/google/apis/games_configuration_v1configuration/classes.rb', line 394 def score_format @score_format end  | 
  
#sort_rank ⇒ Fixnum
The sort rank of this leaderboard. Writes to this field are ignored.
Corresponds to the JSON property sortRank
      399 400 401  | 
    
      # File 'generated/google/apis/games_configuration_v1configuration/classes.rb', line 399 def sort_rank @sort_rank end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      406 407 408 409 410 411 412  | 
    
      # File 'generated/google/apis/games_configuration_v1configuration/classes.rb', line 406 def update!(**args) @icon_url = args[:icon_url] if args.key?(:icon_url) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @score_format = args[:score_format] if args.key?(:score_format) @sort_rank = args[:sort_rank] if args.key?(:sort_rank) end  |