chore: regens API reference docs (#889)
diff --git a/docs/dyn/gamesConfiguration_v1configuration.leaderboardConfigurations.html b/docs/dyn/gamesConfiguration_v1configuration.leaderboardConfigurations.html
index dc2f067..965118c 100644
--- a/docs/dyn/gamesConfiguration_v1configuration.leaderboardConfigurations.html
+++ b/docs/dyn/gamesConfiguration_v1configuration.leaderboardConfigurations.html
@@ -75,221 +75,268 @@
<h1><a href="gamesConfiguration_v1configuration.html">Google Play Game Services Publishing API</a> . <a href="gamesConfiguration_v1configuration.leaderboardConfigurations.html">leaderboardConfigurations</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
- <code><a href="#delete">delete(leaderboardId)</a></code></p>
+ <code><a href="#delete">delete(leaderboardId, x__xgafv=None)</a></code></p>
<p class="firstline">Delete the leaderboard configuration with the given ID.</p>
<p class="toc_element">
- <code><a href="#get">get(leaderboardId)</a></code></p>
+ <code><a href="#get">get(leaderboardId, x__xgafv=None)</a></code></p>
<p class="firstline">Retrieves the metadata of the leaderboard configuration with the given ID.</p>
<p class="toc_element">
- <code><a href="#insert">insert(applicationId, body)</a></code></p>
+ <code><a href="#insert">insert(applicationId, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Insert a new leaderboard configuration in this application.</p>
<p class="toc_element">
- <code><a href="#list">list(applicationId, pageToken=None, maxResults=None)</a></code></p>
+ <code><a href="#list">list(applicationId, maxResults=None, pageToken=None, x__xgafv=None)</a></code></p>
<p class="firstline">Returns a list of the leaderboard configurations in this application.</p>
<p class="toc_element">
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
- <code><a href="#patch">patch(leaderboardId, body)</a></code></p>
-<p class="firstline">Update the metadata of the leaderboard configuration with the given ID. This method supports patch semantics.</p>
-<p class="toc_element">
- <code><a href="#update">update(leaderboardId, body)</a></code></p>
+ <code><a href="#update">update(leaderboardId, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Update the metadata of the leaderboard configuration with the given ID.</p>
<h3>Method Details</h3>
<div class="method">
- <code class="details" id="delete">delete(leaderboardId)</code>
+ <code class="details" id="delete">delete(leaderboardId, x__xgafv=None)</code>
<pre>Delete the leaderboard configuration with the given ID.
Args:
leaderboardId: string, The ID of the leaderboard. (required)
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 error format
</pre>
</div>
<div class="method">
- <code class="details" id="get">get(leaderboardId)</code>
+ <code class="details" id="get">get(leaderboardId, x__xgafv=None)</code>
<pre>Retrieves the metadata of the leaderboard configuration with the given ID.
Args:
leaderboardId: string, The ID of the leaderboard. (required)
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 error format
Returns:
An object of the form:
- { # This is a JSON template for an leaderboard configuration resource.
- "kind": "gamesConfiguration#leaderboardConfiguration", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#leaderboardConfiguration.
- "scoreOrder": "A String", # The type of the leaderboard.
- # Possible values are:
- # - "LARGER_IS_BETTER" - Larger scores posted are ranked higher.
- # - "SMALLER_IS_BETTER" - Smaller scores posted are ranked higher.
+ { # An leaderboard configuration resource.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#leaderboardConfiguration`.
+ "scoreOrder": "A String",
"scoreMin": "A String", # Minimum score that can be posted to this leaderboard.
"token": "A String", # The token for this resource.
"scoreMax": "A String", # Maximum score that can be posted to this leaderboard.
- "published": { # This is a JSON template for a leaderboard configuration detail. # The read-only published data of the leaderboard.
- "scoreFormat": { # This is a JSON template for a number format resource. # The score formatting for the leaderboard.
- "currencyCode": "A String", # The curreny code string. Only used for CURRENCY format type.
+ "published": { # A leaderboard configuration detail. # The read-only published data of the leaderboard.
+ "scoreFormat": { # A number format resource. # The score formatting for the leaderboard.
"numberFormatType": "A String", # The formatting for the number.
- # Possible values are:
- # - "NUMERIC" - Numbers are formatted to have no digits or a fixed number of digits after the decimal point according to locale. An optional custom unit can be added.
- # - "TIME_DURATION" - Numbers are formatted to hours, minutes and seconds.
- # - "CURRENCY" - Numbers are formatted to currency according to locale.
- "numDecimalPlaces": 42, # The number of decimal places for number. Only used for NUMERIC format type.
- "suffix": { # This is a JSON template for a number affix resource. # An optional suffix for the NUMERIC format type. These strings follow the same plural rules as all Android string resources.
- "many": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of "large" numbers (as with numbers ending 11-99 in Maltese).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "suffix": { # A number affix resource. # An optional suffix for the NUMERIC format type. These strings follow the
+ # same <a
+ # href="http://developer.android.com/guide/topics/resources/string-resource.html#Plurals">
+ # plural rules</a> as all Android string resources.
+ "many": { # A localized string bundle resource. # When the language requires special treatment of "large" numbers (as with
+ # numbers ending 11-99 in Maltese).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "two": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of numbers like two (as with 2 in Welsh, or 102 in Slovenian).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "two": { # A localized string bundle resource. # When the language requires special treatment of numbers like two (as with 2
+ # in Welsh, or 102 in Slovenian).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "one": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of numbers like one (as with the number 1 in English and most other languages; in Russian, any number ending in 1 but not ending in 11 is in this class).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "one": { # A localized string bundle resource. # When the language requires special treatment of numbers like one (as with
+ # the number 1 in English and most other languages; in Russian, any number
+ # ending in 1 but not ending in 11 is in this class).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "few": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of "small" numbers (as with 2, 3, and 4 in Czech; or numbers ending 2, 3, or 4 but not 12, 13, or 14 in Polish).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "few": { # A localized string bundle resource. # When the language requires special treatment of "small" numbers (as with 2,
+ # 3, and 4 in Czech; or numbers ending 2, 3, or 4 but not 12, 13, or 14 in
+ # Polish).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "zero": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of the number 0 (as in Arabic).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "zero": { # A localized string bundle resource. # When the language requires special treatment of the number 0 (as in
+ # Arabic).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "other": { # This is a JSON template for a localized string bundle resource. # When the language does not require special treatment of the given quantity (as with all numbers in Chinese, or 42 in English).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "other": { # A localized string bundle resource. # When the language does not require special treatment of the given quantity
+ # (as with all numbers in Chinese, or 42 in English).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
},
+ "numDecimalPlaces": 42, # The number of decimal places for number. Only used for NUMERIC format type.
+ "currencyCode": "A String", # The curreny code string. Only used for CURRENCY format type.
},
"iconUrl": "A String", # The icon url of this leaderboard. Writes to this field are ignored.
- "kind": "gamesConfiguration#leaderboardConfigurationDetail", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#leaderboardConfigurationDetail.
- "name": { # This is a JSON template for a localized string bundle resource. # Localized strings for the leaderboard name.
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#leaderboardConfigurationDetail`.
+ "name": { # A localized string bundle resource. # Localized strings for the leaderboard name.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
"sortRank": 42, # The sort rank of this leaderboard. Writes to this field are ignored.
},
- "draft": { # This is a JSON template for a leaderboard configuration detail. # The draft data of the leaderboard.
- "scoreFormat": { # This is a JSON template for a number format resource. # The score formatting for the leaderboard.
- "currencyCode": "A String", # The curreny code string. Only used for CURRENCY format type.
+ "draft": { # A leaderboard configuration detail. # The draft data of the leaderboard.
+ "scoreFormat": { # A number format resource. # The score formatting for the leaderboard.
"numberFormatType": "A String", # The formatting for the number.
- # Possible values are:
- # - "NUMERIC" - Numbers are formatted to have no digits or a fixed number of digits after the decimal point according to locale. An optional custom unit can be added.
- # - "TIME_DURATION" - Numbers are formatted to hours, minutes and seconds.
- # - "CURRENCY" - Numbers are formatted to currency according to locale.
- "numDecimalPlaces": 42, # The number of decimal places for number. Only used for NUMERIC format type.
- "suffix": { # This is a JSON template for a number affix resource. # An optional suffix for the NUMERIC format type. These strings follow the same plural rules as all Android string resources.
- "many": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of "large" numbers (as with numbers ending 11-99 in Maltese).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "suffix": { # A number affix resource. # An optional suffix for the NUMERIC format type. These strings follow the
+ # same <a
+ # href="http://developer.android.com/guide/topics/resources/string-resource.html#Plurals">
+ # plural rules</a> as all Android string resources.
+ "many": { # A localized string bundle resource. # When the language requires special treatment of "large" numbers (as with
+ # numbers ending 11-99 in Maltese).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "two": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of numbers like two (as with 2 in Welsh, or 102 in Slovenian).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "two": { # A localized string bundle resource. # When the language requires special treatment of numbers like two (as with 2
+ # in Welsh, or 102 in Slovenian).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "one": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of numbers like one (as with the number 1 in English and most other languages; in Russian, any number ending in 1 but not ending in 11 is in this class).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "one": { # A localized string bundle resource. # When the language requires special treatment of numbers like one (as with
+ # the number 1 in English and most other languages; in Russian, any number
+ # ending in 1 but not ending in 11 is in this class).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "few": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of "small" numbers (as with 2, 3, and 4 in Czech; or numbers ending 2, 3, or 4 but not 12, 13, or 14 in Polish).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "few": { # A localized string bundle resource. # When the language requires special treatment of "small" numbers (as with 2,
+ # 3, and 4 in Czech; or numbers ending 2, 3, or 4 but not 12, 13, or 14 in
+ # Polish).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "zero": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of the number 0 (as in Arabic).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "zero": { # A localized string bundle resource. # When the language requires special treatment of the number 0 (as in
+ # Arabic).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "other": { # This is a JSON template for a localized string bundle resource. # When the language does not require special treatment of the given quantity (as with all numbers in Chinese, or 42 in English).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "other": { # A localized string bundle resource. # When the language does not require special treatment of the given quantity
+ # (as with all numbers in Chinese, or 42 in English).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
},
+ "numDecimalPlaces": 42, # The number of decimal places for number. Only used for NUMERIC format type.
+ "currencyCode": "A String", # The curreny code string. Only used for CURRENCY format type.
},
"iconUrl": "A String", # The icon url of this leaderboard. Writes to this field are ignored.
- "kind": "gamesConfiguration#leaderboardConfigurationDetail", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#leaderboardConfigurationDetail.
- "name": { # This is a JSON template for a localized string bundle resource. # Localized strings for the leaderboard name.
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#leaderboardConfigurationDetail`.
+ "name": { # A localized string bundle resource. # Localized strings for the leaderboard name.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
@@ -301,189 +348,231 @@
</div>
<div class="method">
- <code class="details" id="insert">insert(applicationId, body)</code>
+ <code class="details" id="insert">insert(applicationId, body=None, x__xgafv=None)</code>
<pre>Insert a new leaderboard configuration in this application.
Args:
applicationId: string, The application ID from the Google Play developer console. (required)
- body: object, The request body. (required)
+ body: object, The request body.
The object takes the form of:
-{ # This is a JSON template for an leaderboard configuration resource.
- "kind": "gamesConfiguration#leaderboardConfiguration", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#leaderboardConfiguration.
- "scoreOrder": "A String", # The type of the leaderboard.
- # Possible values are:
- # - "LARGER_IS_BETTER" - Larger scores posted are ranked higher.
- # - "SMALLER_IS_BETTER" - Smaller scores posted are ranked higher.
+{ # An leaderboard configuration resource.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#leaderboardConfiguration`.
+ "scoreOrder": "A String",
"scoreMin": "A String", # Minimum score that can be posted to this leaderboard.
"token": "A String", # The token for this resource.
"scoreMax": "A String", # Maximum score that can be posted to this leaderboard.
- "published": { # This is a JSON template for a leaderboard configuration detail. # The read-only published data of the leaderboard.
- "scoreFormat": { # This is a JSON template for a number format resource. # The score formatting for the leaderboard.
- "currencyCode": "A String", # The curreny code string. Only used for CURRENCY format type.
+ "published": { # A leaderboard configuration detail. # The read-only published data of the leaderboard.
+ "scoreFormat": { # A number format resource. # The score formatting for the leaderboard.
"numberFormatType": "A String", # The formatting for the number.
- # Possible values are:
- # - "NUMERIC" - Numbers are formatted to have no digits or a fixed number of digits after the decimal point according to locale. An optional custom unit can be added.
- # - "TIME_DURATION" - Numbers are formatted to hours, minutes and seconds.
- # - "CURRENCY" - Numbers are formatted to currency according to locale.
- "numDecimalPlaces": 42, # The number of decimal places for number. Only used for NUMERIC format type.
- "suffix": { # This is a JSON template for a number affix resource. # An optional suffix for the NUMERIC format type. These strings follow the same plural rules as all Android string resources.
- "many": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of "large" numbers (as with numbers ending 11-99 in Maltese).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "suffix": { # A number affix resource. # An optional suffix for the NUMERIC format type. These strings follow the
+ # same <a
+ # href="http://developer.android.com/guide/topics/resources/string-resource.html#Plurals">
+ # plural rules</a> as all Android string resources.
+ "many": { # A localized string bundle resource. # When the language requires special treatment of "large" numbers (as with
+ # numbers ending 11-99 in Maltese).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "two": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of numbers like two (as with 2 in Welsh, or 102 in Slovenian).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "two": { # A localized string bundle resource. # When the language requires special treatment of numbers like two (as with 2
+ # in Welsh, or 102 in Slovenian).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "one": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of numbers like one (as with the number 1 in English and most other languages; in Russian, any number ending in 1 but not ending in 11 is in this class).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "one": { # A localized string bundle resource. # When the language requires special treatment of numbers like one (as with
+ # the number 1 in English and most other languages; in Russian, any number
+ # ending in 1 but not ending in 11 is in this class).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "few": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of "small" numbers (as with 2, 3, and 4 in Czech; or numbers ending 2, 3, or 4 but not 12, 13, or 14 in Polish).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "few": { # A localized string bundle resource. # When the language requires special treatment of "small" numbers (as with 2,
+ # 3, and 4 in Czech; or numbers ending 2, 3, or 4 but not 12, 13, or 14 in
+ # Polish).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "zero": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of the number 0 (as in Arabic).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "zero": { # A localized string bundle resource. # When the language requires special treatment of the number 0 (as in
+ # Arabic).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "other": { # This is a JSON template for a localized string bundle resource. # When the language does not require special treatment of the given quantity (as with all numbers in Chinese, or 42 in English).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "other": { # A localized string bundle resource. # When the language does not require special treatment of the given quantity
+ # (as with all numbers in Chinese, or 42 in English).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
},
+ "numDecimalPlaces": 42, # The number of decimal places for number. Only used for NUMERIC format type.
+ "currencyCode": "A String", # The curreny code string. Only used for CURRENCY format type.
},
"iconUrl": "A String", # The icon url of this leaderboard. Writes to this field are ignored.
- "kind": "gamesConfiguration#leaderboardConfigurationDetail", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#leaderboardConfigurationDetail.
- "name": { # This is a JSON template for a localized string bundle resource. # Localized strings for the leaderboard name.
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#leaderboardConfigurationDetail`.
+ "name": { # A localized string bundle resource. # Localized strings for the leaderboard name.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
"sortRank": 42, # The sort rank of this leaderboard. Writes to this field are ignored.
},
- "draft": { # This is a JSON template for a leaderboard configuration detail. # The draft data of the leaderboard.
- "scoreFormat": { # This is a JSON template for a number format resource. # The score formatting for the leaderboard.
- "currencyCode": "A String", # The curreny code string. Only used for CURRENCY format type.
+ "draft": { # A leaderboard configuration detail. # The draft data of the leaderboard.
+ "scoreFormat": { # A number format resource. # The score formatting for the leaderboard.
"numberFormatType": "A String", # The formatting for the number.
- # Possible values are:
- # - "NUMERIC" - Numbers are formatted to have no digits or a fixed number of digits after the decimal point according to locale. An optional custom unit can be added.
- # - "TIME_DURATION" - Numbers are formatted to hours, minutes and seconds.
- # - "CURRENCY" - Numbers are formatted to currency according to locale.
- "numDecimalPlaces": 42, # The number of decimal places for number. Only used for NUMERIC format type.
- "suffix": { # This is a JSON template for a number affix resource. # An optional suffix for the NUMERIC format type. These strings follow the same plural rules as all Android string resources.
- "many": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of "large" numbers (as with numbers ending 11-99 in Maltese).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "suffix": { # A number affix resource. # An optional suffix for the NUMERIC format type. These strings follow the
+ # same <a
+ # href="http://developer.android.com/guide/topics/resources/string-resource.html#Plurals">
+ # plural rules</a> as all Android string resources.
+ "many": { # A localized string bundle resource. # When the language requires special treatment of "large" numbers (as with
+ # numbers ending 11-99 in Maltese).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "two": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of numbers like two (as with 2 in Welsh, or 102 in Slovenian).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "two": { # A localized string bundle resource. # When the language requires special treatment of numbers like two (as with 2
+ # in Welsh, or 102 in Slovenian).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "one": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of numbers like one (as with the number 1 in English and most other languages; in Russian, any number ending in 1 but not ending in 11 is in this class).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "one": { # A localized string bundle resource. # When the language requires special treatment of numbers like one (as with
+ # the number 1 in English and most other languages; in Russian, any number
+ # ending in 1 but not ending in 11 is in this class).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "few": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of "small" numbers (as with 2, 3, and 4 in Czech; or numbers ending 2, 3, or 4 but not 12, 13, or 14 in Polish).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "few": { # A localized string bundle resource. # When the language requires special treatment of "small" numbers (as with 2,
+ # 3, and 4 in Czech; or numbers ending 2, 3, or 4 but not 12, 13, or 14 in
+ # Polish).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "zero": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of the number 0 (as in Arabic).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "zero": { # A localized string bundle resource. # When the language requires special treatment of the number 0 (as in
+ # Arabic).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "other": { # This is a JSON template for a localized string bundle resource. # When the language does not require special treatment of the given quantity (as with all numbers in Chinese, or 42 in English).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "other": { # A localized string bundle resource. # When the language does not require special treatment of the given quantity
+ # (as with all numbers in Chinese, or 42 in English).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
},
+ "numDecimalPlaces": 42, # The number of decimal places for number. Only used for NUMERIC format type.
+ "currencyCode": "A String", # The curreny code string. Only used for CURRENCY format type.
},
"iconUrl": "A String", # The icon url of this leaderboard. Writes to this field are ignored.
- "kind": "gamesConfiguration#leaderboardConfigurationDetail", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#leaderboardConfigurationDetail.
- "name": { # This is a JSON template for a localized string bundle resource. # Localized strings for the leaderboard name.
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#leaderboardConfigurationDetail`.
+ "name": { # A localized string bundle resource. # Localized strings for the leaderboard name.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
@@ -493,185 +582,231 @@
"id": "A String", # The ID of the leaderboard.
}
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 error format
Returns:
An object of the form:
- { # This is a JSON template for an leaderboard configuration resource.
- "kind": "gamesConfiguration#leaderboardConfiguration", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#leaderboardConfiguration.
- "scoreOrder": "A String", # The type of the leaderboard.
- # Possible values are:
- # - "LARGER_IS_BETTER" - Larger scores posted are ranked higher.
- # - "SMALLER_IS_BETTER" - Smaller scores posted are ranked higher.
+ { # An leaderboard configuration resource.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#leaderboardConfiguration`.
+ "scoreOrder": "A String",
"scoreMin": "A String", # Minimum score that can be posted to this leaderboard.
"token": "A String", # The token for this resource.
"scoreMax": "A String", # Maximum score that can be posted to this leaderboard.
- "published": { # This is a JSON template for a leaderboard configuration detail. # The read-only published data of the leaderboard.
- "scoreFormat": { # This is a JSON template for a number format resource. # The score formatting for the leaderboard.
- "currencyCode": "A String", # The curreny code string. Only used for CURRENCY format type.
+ "published": { # A leaderboard configuration detail. # The read-only published data of the leaderboard.
+ "scoreFormat": { # A number format resource. # The score formatting for the leaderboard.
"numberFormatType": "A String", # The formatting for the number.
- # Possible values are:
- # - "NUMERIC" - Numbers are formatted to have no digits or a fixed number of digits after the decimal point according to locale. An optional custom unit can be added.
- # - "TIME_DURATION" - Numbers are formatted to hours, minutes and seconds.
- # - "CURRENCY" - Numbers are formatted to currency according to locale.
- "numDecimalPlaces": 42, # The number of decimal places for number. Only used for NUMERIC format type.
- "suffix": { # This is a JSON template for a number affix resource. # An optional suffix for the NUMERIC format type. These strings follow the same plural rules as all Android string resources.
- "many": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of "large" numbers (as with numbers ending 11-99 in Maltese).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "suffix": { # A number affix resource. # An optional suffix for the NUMERIC format type. These strings follow the
+ # same <a
+ # href="http://developer.android.com/guide/topics/resources/string-resource.html#Plurals">
+ # plural rules</a> as all Android string resources.
+ "many": { # A localized string bundle resource. # When the language requires special treatment of "large" numbers (as with
+ # numbers ending 11-99 in Maltese).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "two": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of numbers like two (as with 2 in Welsh, or 102 in Slovenian).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "two": { # A localized string bundle resource. # When the language requires special treatment of numbers like two (as with 2
+ # in Welsh, or 102 in Slovenian).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "one": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of numbers like one (as with the number 1 in English and most other languages; in Russian, any number ending in 1 but not ending in 11 is in this class).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "one": { # A localized string bundle resource. # When the language requires special treatment of numbers like one (as with
+ # the number 1 in English and most other languages; in Russian, any number
+ # ending in 1 but not ending in 11 is in this class).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "few": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of "small" numbers (as with 2, 3, and 4 in Czech; or numbers ending 2, 3, or 4 but not 12, 13, or 14 in Polish).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "few": { # A localized string bundle resource. # When the language requires special treatment of "small" numbers (as with 2,
+ # 3, and 4 in Czech; or numbers ending 2, 3, or 4 but not 12, 13, or 14 in
+ # Polish).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "zero": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of the number 0 (as in Arabic).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "zero": { # A localized string bundle resource. # When the language requires special treatment of the number 0 (as in
+ # Arabic).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "other": { # This is a JSON template for a localized string bundle resource. # When the language does not require special treatment of the given quantity (as with all numbers in Chinese, or 42 in English).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "other": { # A localized string bundle resource. # When the language does not require special treatment of the given quantity
+ # (as with all numbers in Chinese, or 42 in English).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
},
+ "numDecimalPlaces": 42, # The number of decimal places for number. Only used for NUMERIC format type.
+ "currencyCode": "A String", # The curreny code string. Only used for CURRENCY format type.
},
"iconUrl": "A String", # The icon url of this leaderboard. Writes to this field are ignored.
- "kind": "gamesConfiguration#leaderboardConfigurationDetail", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#leaderboardConfigurationDetail.
- "name": { # This is a JSON template for a localized string bundle resource. # Localized strings for the leaderboard name.
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#leaderboardConfigurationDetail`.
+ "name": { # A localized string bundle resource. # Localized strings for the leaderboard name.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
"sortRank": 42, # The sort rank of this leaderboard. Writes to this field are ignored.
},
- "draft": { # This is a JSON template for a leaderboard configuration detail. # The draft data of the leaderboard.
- "scoreFormat": { # This is a JSON template for a number format resource. # The score formatting for the leaderboard.
- "currencyCode": "A String", # The curreny code string. Only used for CURRENCY format type.
+ "draft": { # A leaderboard configuration detail. # The draft data of the leaderboard.
+ "scoreFormat": { # A number format resource. # The score formatting for the leaderboard.
"numberFormatType": "A String", # The formatting for the number.
- # Possible values are:
- # - "NUMERIC" - Numbers are formatted to have no digits or a fixed number of digits after the decimal point according to locale. An optional custom unit can be added.
- # - "TIME_DURATION" - Numbers are formatted to hours, minutes and seconds.
- # - "CURRENCY" - Numbers are formatted to currency according to locale.
- "numDecimalPlaces": 42, # The number of decimal places for number. Only used for NUMERIC format type.
- "suffix": { # This is a JSON template for a number affix resource. # An optional suffix for the NUMERIC format type. These strings follow the same plural rules as all Android string resources.
- "many": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of "large" numbers (as with numbers ending 11-99 in Maltese).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "suffix": { # A number affix resource. # An optional suffix for the NUMERIC format type. These strings follow the
+ # same <a
+ # href="http://developer.android.com/guide/topics/resources/string-resource.html#Plurals">
+ # plural rules</a> as all Android string resources.
+ "many": { # A localized string bundle resource. # When the language requires special treatment of "large" numbers (as with
+ # numbers ending 11-99 in Maltese).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "two": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of numbers like two (as with 2 in Welsh, or 102 in Slovenian).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "two": { # A localized string bundle resource. # When the language requires special treatment of numbers like two (as with 2
+ # in Welsh, or 102 in Slovenian).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "one": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of numbers like one (as with the number 1 in English and most other languages; in Russian, any number ending in 1 but not ending in 11 is in this class).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "one": { # A localized string bundle resource. # When the language requires special treatment of numbers like one (as with
+ # the number 1 in English and most other languages; in Russian, any number
+ # ending in 1 but not ending in 11 is in this class).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "few": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of "small" numbers (as with 2, 3, and 4 in Czech; or numbers ending 2, 3, or 4 but not 12, 13, or 14 in Polish).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "few": { # A localized string bundle resource. # When the language requires special treatment of "small" numbers (as with 2,
+ # 3, and 4 in Czech; or numbers ending 2, 3, or 4 but not 12, 13, or 14 in
+ # Polish).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "zero": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of the number 0 (as in Arabic).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "zero": { # A localized string bundle resource. # When the language requires special treatment of the number 0 (as in
+ # Arabic).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "other": { # This is a JSON template for a localized string bundle resource. # When the language does not require special treatment of the given quantity (as with all numbers in Chinese, or 42 in English).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "other": { # A localized string bundle resource. # When the language does not require special treatment of the given quantity
+ # (as with all numbers in Chinese, or 42 in English).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
},
+ "numDecimalPlaces": 42, # The number of decimal places for number. Only used for NUMERIC format type.
+ "currencyCode": "A String", # The curreny code string. Only used for CURRENCY format type.
},
"iconUrl": "A String", # The icon url of this leaderboard. Writes to this field are ignored.
- "kind": "gamesConfiguration#leaderboardConfigurationDetail", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#leaderboardConfigurationDetail.
- "name": { # This is a JSON template for a localized string bundle resource. # Localized strings for the leaderboard name.
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#leaderboardConfigurationDetail`.
+ "name": { # A localized string bundle resource. # Localized strings for the leaderboard name.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
@@ -683,195 +818,243 @@
</div>
<div class="method">
- <code class="details" id="list">list(applicationId, pageToken=None, maxResults=None)</code>
+ <code class="details" id="list">list(applicationId, maxResults=None, pageToken=None, x__xgafv=None)</code>
<pre>Returns a list of the leaderboard configurations in this application.
Args:
applicationId: string, The application ID from the Google Play developer console. (required)
+ maxResults: integer, The maximum number of resource configurations to return in the response,
+used for paging. For any response, the actual number of resources returned
+may be less than the specified `maxResults`.
pageToken: string, The token returned by the previous request.
- maxResults: integer, The maximum number of resource configurations to return in the response, used for paging. For any response, the actual number of resources returned may be less than the specified maxResults.
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 error format
Returns:
An object of the form:
- { # This is a JSON template for a ListConfigurations response.
+ { # A ListConfigurations response.
"nextPageToken": "A String", # The pagination token for the next page of results.
"items": [ # The leaderboard configurations.
- { # This is a JSON template for an leaderboard configuration resource.
- "kind": "gamesConfiguration#leaderboardConfiguration", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#leaderboardConfiguration.
- "scoreOrder": "A String", # The type of the leaderboard.
- # Possible values are:
- # - "LARGER_IS_BETTER" - Larger scores posted are ranked higher.
- # - "SMALLER_IS_BETTER" - Smaller scores posted are ranked higher.
+ { # An leaderboard configuration resource.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#leaderboardConfiguration`.
+ "scoreOrder": "A String",
"scoreMin": "A String", # Minimum score that can be posted to this leaderboard.
"token": "A String", # The token for this resource.
"scoreMax": "A String", # Maximum score that can be posted to this leaderboard.
- "published": { # This is a JSON template for a leaderboard configuration detail. # The read-only published data of the leaderboard.
- "scoreFormat": { # This is a JSON template for a number format resource. # The score formatting for the leaderboard.
- "currencyCode": "A String", # The curreny code string. Only used for CURRENCY format type.
+ "published": { # A leaderboard configuration detail. # The read-only published data of the leaderboard.
+ "scoreFormat": { # A number format resource. # The score formatting for the leaderboard.
"numberFormatType": "A String", # The formatting for the number.
- # Possible values are:
- # - "NUMERIC" - Numbers are formatted to have no digits or a fixed number of digits after the decimal point according to locale. An optional custom unit can be added.
- # - "TIME_DURATION" - Numbers are formatted to hours, minutes and seconds.
- # - "CURRENCY" - Numbers are formatted to currency according to locale.
- "numDecimalPlaces": 42, # The number of decimal places for number. Only used for NUMERIC format type.
- "suffix": { # This is a JSON template for a number affix resource. # An optional suffix for the NUMERIC format type. These strings follow the same plural rules as all Android string resources.
- "many": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of "large" numbers (as with numbers ending 11-99 in Maltese).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "suffix": { # A number affix resource. # An optional suffix for the NUMERIC format type. These strings follow the
+ # same <a
+ # href="http://developer.android.com/guide/topics/resources/string-resource.html#Plurals">
+ # plural rules</a> as all Android string resources.
+ "many": { # A localized string bundle resource. # When the language requires special treatment of "large" numbers (as with
+ # numbers ending 11-99 in Maltese).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "two": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of numbers like two (as with 2 in Welsh, or 102 in Slovenian).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "two": { # A localized string bundle resource. # When the language requires special treatment of numbers like two (as with 2
+ # in Welsh, or 102 in Slovenian).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "one": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of numbers like one (as with the number 1 in English and most other languages; in Russian, any number ending in 1 but not ending in 11 is in this class).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "one": { # A localized string bundle resource. # When the language requires special treatment of numbers like one (as with
+ # the number 1 in English and most other languages; in Russian, any number
+ # ending in 1 but not ending in 11 is in this class).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "few": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of "small" numbers (as with 2, 3, and 4 in Czech; or numbers ending 2, 3, or 4 but not 12, 13, or 14 in Polish).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "few": { # A localized string bundle resource. # When the language requires special treatment of "small" numbers (as with 2,
+ # 3, and 4 in Czech; or numbers ending 2, 3, or 4 but not 12, 13, or 14 in
+ # Polish).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "zero": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of the number 0 (as in Arabic).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "zero": { # A localized string bundle resource. # When the language requires special treatment of the number 0 (as in
+ # Arabic).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "other": { # This is a JSON template for a localized string bundle resource. # When the language does not require special treatment of the given quantity (as with all numbers in Chinese, or 42 in English).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "other": { # A localized string bundle resource. # When the language does not require special treatment of the given quantity
+ # (as with all numbers in Chinese, or 42 in English).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
},
+ "numDecimalPlaces": 42, # The number of decimal places for number. Only used for NUMERIC format type.
+ "currencyCode": "A String", # The curreny code string. Only used for CURRENCY format type.
},
"iconUrl": "A String", # The icon url of this leaderboard. Writes to this field are ignored.
- "kind": "gamesConfiguration#leaderboardConfigurationDetail", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#leaderboardConfigurationDetail.
- "name": { # This is a JSON template for a localized string bundle resource. # Localized strings for the leaderboard name.
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#leaderboardConfigurationDetail`.
+ "name": { # A localized string bundle resource. # Localized strings for the leaderboard name.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
"sortRank": 42, # The sort rank of this leaderboard. Writes to this field are ignored.
},
- "draft": { # This is a JSON template for a leaderboard configuration detail. # The draft data of the leaderboard.
- "scoreFormat": { # This is a JSON template for a number format resource. # The score formatting for the leaderboard.
- "currencyCode": "A String", # The curreny code string. Only used for CURRENCY format type.
+ "draft": { # A leaderboard configuration detail. # The draft data of the leaderboard.
+ "scoreFormat": { # A number format resource. # The score formatting for the leaderboard.
"numberFormatType": "A String", # The formatting for the number.
- # Possible values are:
- # - "NUMERIC" - Numbers are formatted to have no digits or a fixed number of digits after the decimal point according to locale. An optional custom unit can be added.
- # - "TIME_DURATION" - Numbers are formatted to hours, minutes and seconds.
- # - "CURRENCY" - Numbers are formatted to currency according to locale.
- "numDecimalPlaces": 42, # The number of decimal places for number. Only used for NUMERIC format type.
- "suffix": { # This is a JSON template for a number affix resource. # An optional suffix for the NUMERIC format type. These strings follow the same plural rules as all Android string resources.
- "many": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of "large" numbers (as with numbers ending 11-99 in Maltese).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "suffix": { # A number affix resource. # An optional suffix for the NUMERIC format type. These strings follow the
+ # same <a
+ # href="http://developer.android.com/guide/topics/resources/string-resource.html#Plurals">
+ # plural rules</a> as all Android string resources.
+ "many": { # A localized string bundle resource. # When the language requires special treatment of "large" numbers (as with
+ # numbers ending 11-99 in Maltese).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "two": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of numbers like two (as with 2 in Welsh, or 102 in Slovenian).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "two": { # A localized string bundle resource. # When the language requires special treatment of numbers like two (as with 2
+ # in Welsh, or 102 in Slovenian).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "one": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of numbers like one (as with the number 1 in English and most other languages; in Russian, any number ending in 1 but not ending in 11 is in this class).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "one": { # A localized string bundle resource. # When the language requires special treatment of numbers like one (as with
+ # the number 1 in English and most other languages; in Russian, any number
+ # ending in 1 but not ending in 11 is in this class).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "few": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of "small" numbers (as with 2, 3, and 4 in Czech; or numbers ending 2, 3, or 4 but not 12, 13, or 14 in Polish).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "few": { # A localized string bundle resource. # When the language requires special treatment of "small" numbers (as with 2,
+ # 3, and 4 in Czech; or numbers ending 2, 3, or 4 but not 12, 13, or 14 in
+ # Polish).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "zero": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of the number 0 (as in Arabic).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "zero": { # A localized string bundle resource. # When the language requires special treatment of the number 0 (as in
+ # Arabic).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "other": { # This is a JSON template for a localized string bundle resource. # When the language does not require special treatment of the given quantity (as with all numbers in Chinese, or 42 in English).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "other": { # A localized string bundle resource. # When the language does not require special treatment of the given quantity
+ # (as with all numbers in Chinese, or 42 in English).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
},
+ "numDecimalPlaces": 42, # The number of decimal places for number. Only used for NUMERIC format type.
+ "currencyCode": "A String", # The curreny code string. Only used for CURRENCY format type.
},
"iconUrl": "A String", # The icon url of this leaderboard. Writes to this field are ignored.
- "kind": "gamesConfiguration#leaderboardConfigurationDetail", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#leaderboardConfigurationDetail.
- "name": { # This is a JSON template for a localized string bundle resource. # Localized strings for the leaderboard name.
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#leaderboardConfigurationDetail`.
+ "name": { # A localized string bundle resource. # Localized strings for the leaderboard name.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
@@ -881,7 +1064,9 @@
"id": "A String", # The ID of the leaderboard.
},
],
- "kind": "gamesConfiguration#leaderboardConfigurationListResponse", # Uniquely identifies the type of this resource. Value is always the fixed string games#leaderboardConfigurationListResponse.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string
+ # `gamesConfiguration#leaderboardConfigurationListResponse`.
}</pre>
</div>
@@ -900,571 +1085,231 @@
</div>
<div class="method">
- <code class="details" id="patch">patch(leaderboardId, body)</code>
- <pre>Update the metadata of the leaderboard configuration with the given ID. This method supports patch semantics.
-
-Args:
- leaderboardId: string, The ID of the leaderboard. (required)
- body: object, The request body. (required)
- The object takes the form of:
-
-{ # This is a JSON template for an leaderboard configuration resource.
- "kind": "gamesConfiguration#leaderboardConfiguration", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#leaderboardConfiguration.
- "scoreOrder": "A String", # The type of the leaderboard.
- # Possible values are:
- # - "LARGER_IS_BETTER" - Larger scores posted are ranked higher.
- # - "SMALLER_IS_BETTER" - Smaller scores posted are ranked higher.
- "scoreMin": "A String", # Minimum score that can be posted to this leaderboard.
- "token": "A String", # The token for this resource.
- "scoreMax": "A String", # Maximum score that can be posted to this leaderboard.
- "published": { # This is a JSON template for a leaderboard configuration detail. # The read-only published data of the leaderboard.
- "scoreFormat": { # This is a JSON template for a number format resource. # The score formatting for the leaderboard.
- "currencyCode": "A String", # The curreny code string. Only used for CURRENCY format type.
- "numberFormatType": "A String", # The formatting for the number.
- # Possible values are:
- # - "NUMERIC" - Numbers are formatted to have no digits or a fixed number of digits after the decimal point according to locale. An optional custom unit can be added.
- # - "TIME_DURATION" - Numbers are formatted to hours, minutes and seconds.
- # - "CURRENCY" - Numbers are formatted to currency according to locale.
- "numDecimalPlaces": 42, # The number of decimal places for number. Only used for NUMERIC format type.
- "suffix": { # This is a JSON template for a number affix resource. # An optional suffix for the NUMERIC format type. These strings follow the same plural rules as all Android string resources.
- "many": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of "large" numbers (as with numbers ending 11-99 in Maltese).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
- "translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
- "locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
- "value": "A String", # The string value.
- },
- ],
- },
- "two": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of numbers like two (as with 2 in Welsh, or 102 in Slovenian).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
- "translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
- "locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
- "value": "A String", # The string value.
- },
- ],
- },
- "one": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of numbers like one (as with the number 1 in English and most other languages; in Russian, any number ending in 1 but not ending in 11 is in this class).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
- "translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
- "locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
- "value": "A String", # The string value.
- },
- ],
- },
- "few": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of "small" numbers (as with 2, 3, and 4 in Czech; or numbers ending 2, 3, or 4 but not 12, 13, or 14 in Polish).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
- "translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
- "locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
- "value": "A String", # The string value.
- },
- ],
- },
- "zero": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of the number 0 (as in Arabic).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
- "translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
- "locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
- "value": "A String", # The string value.
- },
- ],
- },
- "other": { # This is a JSON template for a localized string bundle resource. # When the language does not require special treatment of the given quantity (as with all numbers in Chinese, or 42 in English).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
- "translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
- "locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
- "value": "A String", # The string value.
- },
- ],
- },
- },
- },
- "iconUrl": "A String", # The icon url of this leaderboard. Writes to this field are ignored.
- "kind": "gamesConfiguration#leaderboardConfigurationDetail", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#leaderboardConfigurationDetail.
- "name": { # This is a JSON template for a localized string bundle resource. # Localized strings for the leaderboard name.
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
- "translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
- "locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
- "value": "A String", # The string value.
- },
- ],
- },
- "sortRank": 42, # The sort rank of this leaderboard. Writes to this field are ignored.
- },
- "draft": { # This is a JSON template for a leaderboard configuration detail. # The draft data of the leaderboard.
- "scoreFormat": { # This is a JSON template for a number format resource. # The score formatting for the leaderboard.
- "currencyCode": "A String", # The curreny code string. Only used for CURRENCY format type.
- "numberFormatType": "A String", # The formatting for the number.
- # Possible values are:
- # - "NUMERIC" - Numbers are formatted to have no digits or a fixed number of digits after the decimal point according to locale. An optional custom unit can be added.
- # - "TIME_DURATION" - Numbers are formatted to hours, minutes and seconds.
- # - "CURRENCY" - Numbers are formatted to currency according to locale.
- "numDecimalPlaces": 42, # The number of decimal places for number. Only used for NUMERIC format type.
- "suffix": { # This is a JSON template for a number affix resource. # An optional suffix for the NUMERIC format type. These strings follow the same plural rules as all Android string resources.
- "many": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of "large" numbers (as with numbers ending 11-99 in Maltese).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
- "translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
- "locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
- "value": "A String", # The string value.
- },
- ],
- },
- "two": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of numbers like two (as with 2 in Welsh, or 102 in Slovenian).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
- "translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
- "locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
- "value": "A String", # The string value.
- },
- ],
- },
- "one": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of numbers like one (as with the number 1 in English and most other languages; in Russian, any number ending in 1 but not ending in 11 is in this class).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
- "translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
- "locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
- "value": "A String", # The string value.
- },
- ],
- },
- "few": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of "small" numbers (as with 2, 3, and 4 in Czech; or numbers ending 2, 3, or 4 but not 12, 13, or 14 in Polish).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
- "translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
- "locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
- "value": "A String", # The string value.
- },
- ],
- },
- "zero": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of the number 0 (as in Arabic).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
- "translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
- "locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
- "value": "A String", # The string value.
- },
- ],
- },
- "other": { # This is a JSON template for a localized string bundle resource. # When the language does not require special treatment of the given quantity (as with all numbers in Chinese, or 42 in English).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
- "translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
- "locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
- "value": "A String", # The string value.
- },
- ],
- },
- },
- },
- "iconUrl": "A String", # The icon url of this leaderboard. Writes to this field are ignored.
- "kind": "gamesConfiguration#leaderboardConfigurationDetail", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#leaderboardConfigurationDetail.
- "name": { # This is a JSON template for a localized string bundle resource. # Localized strings for the leaderboard name.
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
- "translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
- "locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
- "value": "A String", # The string value.
- },
- ],
- },
- "sortRank": 42, # The sort rank of this leaderboard. Writes to this field are ignored.
- },
- "id": "A String", # The ID of the leaderboard.
- }
-
-
-Returns:
- An object of the form:
-
- { # This is a JSON template for an leaderboard configuration resource.
- "kind": "gamesConfiguration#leaderboardConfiguration", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#leaderboardConfiguration.
- "scoreOrder": "A String", # The type of the leaderboard.
- # Possible values are:
- # - "LARGER_IS_BETTER" - Larger scores posted are ranked higher.
- # - "SMALLER_IS_BETTER" - Smaller scores posted are ranked higher.
- "scoreMin": "A String", # Minimum score that can be posted to this leaderboard.
- "token": "A String", # The token for this resource.
- "scoreMax": "A String", # Maximum score that can be posted to this leaderboard.
- "published": { # This is a JSON template for a leaderboard configuration detail. # The read-only published data of the leaderboard.
- "scoreFormat": { # This is a JSON template for a number format resource. # The score formatting for the leaderboard.
- "currencyCode": "A String", # The curreny code string. Only used for CURRENCY format type.
- "numberFormatType": "A String", # The formatting for the number.
- # Possible values are:
- # - "NUMERIC" - Numbers are formatted to have no digits or a fixed number of digits after the decimal point according to locale. An optional custom unit can be added.
- # - "TIME_DURATION" - Numbers are formatted to hours, minutes and seconds.
- # - "CURRENCY" - Numbers are formatted to currency according to locale.
- "numDecimalPlaces": 42, # The number of decimal places for number. Only used for NUMERIC format type.
- "suffix": { # This is a JSON template for a number affix resource. # An optional suffix for the NUMERIC format type. These strings follow the same plural rules as all Android string resources.
- "many": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of "large" numbers (as with numbers ending 11-99 in Maltese).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
- "translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
- "locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
- "value": "A String", # The string value.
- },
- ],
- },
- "two": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of numbers like two (as with 2 in Welsh, or 102 in Slovenian).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
- "translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
- "locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
- "value": "A String", # The string value.
- },
- ],
- },
- "one": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of numbers like one (as with the number 1 in English and most other languages; in Russian, any number ending in 1 but not ending in 11 is in this class).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
- "translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
- "locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
- "value": "A String", # The string value.
- },
- ],
- },
- "few": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of "small" numbers (as with 2, 3, and 4 in Czech; or numbers ending 2, 3, or 4 but not 12, 13, or 14 in Polish).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
- "translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
- "locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
- "value": "A String", # The string value.
- },
- ],
- },
- "zero": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of the number 0 (as in Arabic).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
- "translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
- "locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
- "value": "A String", # The string value.
- },
- ],
- },
- "other": { # This is a JSON template for a localized string bundle resource. # When the language does not require special treatment of the given quantity (as with all numbers in Chinese, or 42 in English).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
- "translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
- "locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
- "value": "A String", # The string value.
- },
- ],
- },
- },
- },
- "iconUrl": "A String", # The icon url of this leaderboard. Writes to this field are ignored.
- "kind": "gamesConfiguration#leaderboardConfigurationDetail", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#leaderboardConfigurationDetail.
- "name": { # This is a JSON template for a localized string bundle resource. # Localized strings for the leaderboard name.
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
- "translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
- "locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
- "value": "A String", # The string value.
- },
- ],
- },
- "sortRank": 42, # The sort rank of this leaderboard. Writes to this field are ignored.
- },
- "draft": { # This is a JSON template for a leaderboard configuration detail. # The draft data of the leaderboard.
- "scoreFormat": { # This is a JSON template for a number format resource. # The score formatting for the leaderboard.
- "currencyCode": "A String", # The curreny code string. Only used for CURRENCY format type.
- "numberFormatType": "A String", # The formatting for the number.
- # Possible values are:
- # - "NUMERIC" - Numbers are formatted to have no digits or a fixed number of digits after the decimal point according to locale. An optional custom unit can be added.
- # - "TIME_DURATION" - Numbers are formatted to hours, minutes and seconds.
- # - "CURRENCY" - Numbers are formatted to currency according to locale.
- "numDecimalPlaces": 42, # The number of decimal places for number. Only used for NUMERIC format type.
- "suffix": { # This is a JSON template for a number affix resource. # An optional suffix for the NUMERIC format type. These strings follow the same plural rules as all Android string resources.
- "many": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of "large" numbers (as with numbers ending 11-99 in Maltese).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
- "translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
- "locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
- "value": "A String", # The string value.
- },
- ],
- },
- "two": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of numbers like two (as with 2 in Welsh, or 102 in Slovenian).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
- "translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
- "locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
- "value": "A String", # The string value.
- },
- ],
- },
- "one": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of numbers like one (as with the number 1 in English and most other languages; in Russian, any number ending in 1 but not ending in 11 is in this class).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
- "translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
- "locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
- "value": "A String", # The string value.
- },
- ],
- },
- "few": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of "small" numbers (as with 2, 3, and 4 in Czech; or numbers ending 2, 3, or 4 but not 12, 13, or 14 in Polish).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
- "translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
- "locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
- "value": "A String", # The string value.
- },
- ],
- },
- "zero": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of the number 0 (as in Arabic).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
- "translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
- "locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
- "value": "A String", # The string value.
- },
- ],
- },
- "other": { # This is a JSON template for a localized string bundle resource. # When the language does not require special treatment of the given quantity (as with all numbers in Chinese, or 42 in English).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
- "translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
- "locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
- "value": "A String", # The string value.
- },
- ],
- },
- },
- },
- "iconUrl": "A String", # The icon url of this leaderboard. Writes to this field are ignored.
- "kind": "gamesConfiguration#leaderboardConfigurationDetail", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#leaderboardConfigurationDetail.
- "name": { # This is a JSON template for a localized string bundle resource. # Localized strings for the leaderboard name.
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
- "translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
- "locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
- "value": "A String", # The string value.
- },
- ],
- },
- "sortRank": 42, # The sort rank of this leaderboard. Writes to this field are ignored.
- },
- "id": "A String", # The ID of the leaderboard.
- }</pre>
-</div>
-
-<div class="method">
- <code class="details" id="update">update(leaderboardId, body)</code>
+ <code class="details" id="update">update(leaderboardId, body=None, x__xgafv=None)</code>
<pre>Update the metadata of the leaderboard configuration with the given ID.
Args:
leaderboardId: string, The ID of the leaderboard. (required)
- body: object, The request body. (required)
+ body: object, The request body.
The object takes the form of:
-{ # This is a JSON template for an leaderboard configuration resource.
- "kind": "gamesConfiguration#leaderboardConfiguration", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#leaderboardConfiguration.
- "scoreOrder": "A String", # The type of the leaderboard.
- # Possible values are:
- # - "LARGER_IS_BETTER" - Larger scores posted are ranked higher.
- # - "SMALLER_IS_BETTER" - Smaller scores posted are ranked higher.
+{ # An leaderboard configuration resource.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#leaderboardConfiguration`.
+ "scoreOrder": "A String",
"scoreMin": "A String", # Minimum score that can be posted to this leaderboard.
"token": "A String", # The token for this resource.
"scoreMax": "A String", # Maximum score that can be posted to this leaderboard.
- "published": { # This is a JSON template for a leaderboard configuration detail. # The read-only published data of the leaderboard.
- "scoreFormat": { # This is a JSON template for a number format resource. # The score formatting for the leaderboard.
- "currencyCode": "A String", # The curreny code string. Only used for CURRENCY format type.
+ "published": { # A leaderboard configuration detail. # The read-only published data of the leaderboard.
+ "scoreFormat": { # A number format resource. # The score formatting for the leaderboard.
"numberFormatType": "A String", # The formatting for the number.
- # Possible values are:
- # - "NUMERIC" - Numbers are formatted to have no digits or a fixed number of digits after the decimal point according to locale. An optional custom unit can be added.
- # - "TIME_DURATION" - Numbers are formatted to hours, minutes and seconds.
- # - "CURRENCY" - Numbers are formatted to currency according to locale.
- "numDecimalPlaces": 42, # The number of decimal places for number. Only used for NUMERIC format type.
- "suffix": { # This is a JSON template for a number affix resource. # An optional suffix for the NUMERIC format type. These strings follow the same plural rules as all Android string resources.
- "many": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of "large" numbers (as with numbers ending 11-99 in Maltese).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "suffix": { # A number affix resource. # An optional suffix for the NUMERIC format type. These strings follow the
+ # same <a
+ # href="http://developer.android.com/guide/topics/resources/string-resource.html#Plurals">
+ # plural rules</a> as all Android string resources.
+ "many": { # A localized string bundle resource. # When the language requires special treatment of "large" numbers (as with
+ # numbers ending 11-99 in Maltese).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "two": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of numbers like two (as with 2 in Welsh, or 102 in Slovenian).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "two": { # A localized string bundle resource. # When the language requires special treatment of numbers like two (as with 2
+ # in Welsh, or 102 in Slovenian).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "one": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of numbers like one (as with the number 1 in English and most other languages; in Russian, any number ending in 1 but not ending in 11 is in this class).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "one": { # A localized string bundle resource. # When the language requires special treatment of numbers like one (as with
+ # the number 1 in English and most other languages; in Russian, any number
+ # ending in 1 but not ending in 11 is in this class).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "few": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of "small" numbers (as with 2, 3, and 4 in Czech; or numbers ending 2, 3, or 4 but not 12, 13, or 14 in Polish).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "few": { # A localized string bundle resource. # When the language requires special treatment of "small" numbers (as with 2,
+ # 3, and 4 in Czech; or numbers ending 2, 3, or 4 but not 12, 13, or 14 in
+ # Polish).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "zero": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of the number 0 (as in Arabic).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "zero": { # A localized string bundle resource. # When the language requires special treatment of the number 0 (as in
+ # Arabic).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "other": { # This is a JSON template for a localized string bundle resource. # When the language does not require special treatment of the given quantity (as with all numbers in Chinese, or 42 in English).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "other": { # A localized string bundle resource. # When the language does not require special treatment of the given quantity
+ # (as with all numbers in Chinese, or 42 in English).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
},
+ "numDecimalPlaces": 42, # The number of decimal places for number. Only used for NUMERIC format type.
+ "currencyCode": "A String", # The curreny code string. Only used for CURRENCY format type.
},
"iconUrl": "A String", # The icon url of this leaderboard. Writes to this field are ignored.
- "kind": "gamesConfiguration#leaderboardConfigurationDetail", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#leaderboardConfigurationDetail.
- "name": { # This is a JSON template for a localized string bundle resource. # Localized strings for the leaderboard name.
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#leaderboardConfigurationDetail`.
+ "name": { # A localized string bundle resource. # Localized strings for the leaderboard name.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
"sortRank": 42, # The sort rank of this leaderboard. Writes to this field are ignored.
},
- "draft": { # This is a JSON template for a leaderboard configuration detail. # The draft data of the leaderboard.
- "scoreFormat": { # This is a JSON template for a number format resource. # The score formatting for the leaderboard.
- "currencyCode": "A String", # The curreny code string. Only used for CURRENCY format type.
+ "draft": { # A leaderboard configuration detail. # The draft data of the leaderboard.
+ "scoreFormat": { # A number format resource. # The score formatting for the leaderboard.
"numberFormatType": "A String", # The formatting for the number.
- # Possible values are:
- # - "NUMERIC" - Numbers are formatted to have no digits or a fixed number of digits after the decimal point according to locale. An optional custom unit can be added.
- # - "TIME_DURATION" - Numbers are formatted to hours, minutes and seconds.
- # - "CURRENCY" - Numbers are formatted to currency according to locale.
- "numDecimalPlaces": 42, # The number of decimal places for number. Only used for NUMERIC format type.
- "suffix": { # This is a JSON template for a number affix resource. # An optional suffix for the NUMERIC format type. These strings follow the same plural rules as all Android string resources.
- "many": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of "large" numbers (as with numbers ending 11-99 in Maltese).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "suffix": { # A number affix resource. # An optional suffix for the NUMERIC format type. These strings follow the
+ # same <a
+ # href="http://developer.android.com/guide/topics/resources/string-resource.html#Plurals">
+ # plural rules</a> as all Android string resources.
+ "many": { # A localized string bundle resource. # When the language requires special treatment of "large" numbers (as with
+ # numbers ending 11-99 in Maltese).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "two": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of numbers like two (as with 2 in Welsh, or 102 in Slovenian).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "two": { # A localized string bundle resource. # When the language requires special treatment of numbers like two (as with 2
+ # in Welsh, or 102 in Slovenian).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "one": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of numbers like one (as with the number 1 in English and most other languages; in Russian, any number ending in 1 but not ending in 11 is in this class).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "one": { # A localized string bundle resource. # When the language requires special treatment of numbers like one (as with
+ # the number 1 in English and most other languages; in Russian, any number
+ # ending in 1 but not ending in 11 is in this class).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "few": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of "small" numbers (as with 2, 3, and 4 in Czech; or numbers ending 2, 3, or 4 but not 12, 13, or 14 in Polish).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "few": { # A localized string bundle resource. # When the language requires special treatment of "small" numbers (as with 2,
+ # 3, and 4 in Czech; or numbers ending 2, 3, or 4 but not 12, 13, or 14 in
+ # Polish).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "zero": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of the number 0 (as in Arabic).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "zero": { # A localized string bundle resource. # When the language requires special treatment of the number 0 (as in
+ # Arabic).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "other": { # This is a JSON template for a localized string bundle resource. # When the language does not require special treatment of the given quantity (as with all numbers in Chinese, or 42 in English).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "other": { # A localized string bundle resource. # When the language does not require special treatment of the given quantity
+ # (as with all numbers in Chinese, or 42 in English).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
},
+ "numDecimalPlaces": 42, # The number of decimal places for number. Only used for NUMERIC format type.
+ "currencyCode": "A String", # The curreny code string. Only used for CURRENCY format type.
},
"iconUrl": "A String", # The icon url of this leaderboard. Writes to this field are ignored.
- "kind": "gamesConfiguration#leaderboardConfigurationDetail", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#leaderboardConfigurationDetail.
- "name": { # This is a JSON template for a localized string bundle resource. # Localized strings for the leaderboard name.
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#leaderboardConfigurationDetail`.
+ "name": { # A localized string bundle resource. # Localized strings for the leaderboard name.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
@@ -1474,185 +1319,231 @@
"id": "A String", # The ID of the leaderboard.
}
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 error format
Returns:
An object of the form:
- { # This is a JSON template for an leaderboard configuration resource.
- "kind": "gamesConfiguration#leaderboardConfiguration", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#leaderboardConfiguration.
- "scoreOrder": "A String", # The type of the leaderboard.
- # Possible values are:
- # - "LARGER_IS_BETTER" - Larger scores posted are ranked higher.
- # - "SMALLER_IS_BETTER" - Smaller scores posted are ranked higher.
+ { # An leaderboard configuration resource.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#leaderboardConfiguration`.
+ "scoreOrder": "A String",
"scoreMin": "A String", # Minimum score that can be posted to this leaderboard.
"token": "A String", # The token for this resource.
"scoreMax": "A String", # Maximum score that can be posted to this leaderboard.
- "published": { # This is a JSON template for a leaderboard configuration detail. # The read-only published data of the leaderboard.
- "scoreFormat": { # This is a JSON template for a number format resource. # The score formatting for the leaderboard.
- "currencyCode": "A String", # The curreny code string. Only used for CURRENCY format type.
+ "published": { # A leaderboard configuration detail. # The read-only published data of the leaderboard.
+ "scoreFormat": { # A number format resource. # The score formatting for the leaderboard.
"numberFormatType": "A String", # The formatting for the number.
- # Possible values are:
- # - "NUMERIC" - Numbers are formatted to have no digits or a fixed number of digits after the decimal point according to locale. An optional custom unit can be added.
- # - "TIME_DURATION" - Numbers are formatted to hours, minutes and seconds.
- # - "CURRENCY" - Numbers are formatted to currency according to locale.
- "numDecimalPlaces": 42, # The number of decimal places for number. Only used for NUMERIC format type.
- "suffix": { # This is a JSON template for a number affix resource. # An optional suffix for the NUMERIC format type. These strings follow the same plural rules as all Android string resources.
- "many": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of "large" numbers (as with numbers ending 11-99 in Maltese).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "suffix": { # A number affix resource. # An optional suffix for the NUMERIC format type. These strings follow the
+ # same <a
+ # href="http://developer.android.com/guide/topics/resources/string-resource.html#Plurals">
+ # plural rules</a> as all Android string resources.
+ "many": { # A localized string bundle resource. # When the language requires special treatment of "large" numbers (as with
+ # numbers ending 11-99 in Maltese).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "two": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of numbers like two (as with 2 in Welsh, or 102 in Slovenian).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "two": { # A localized string bundle resource. # When the language requires special treatment of numbers like two (as with 2
+ # in Welsh, or 102 in Slovenian).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "one": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of numbers like one (as with the number 1 in English and most other languages; in Russian, any number ending in 1 but not ending in 11 is in this class).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "one": { # A localized string bundle resource. # When the language requires special treatment of numbers like one (as with
+ # the number 1 in English and most other languages; in Russian, any number
+ # ending in 1 but not ending in 11 is in this class).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "few": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of "small" numbers (as with 2, 3, and 4 in Czech; or numbers ending 2, 3, or 4 but not 12, 13, or 14 in Polish).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "few": { # A localized string bundle resource. # When the language requires special treatment of "small" numbers (as with 2,
+ # 3, and 4 in Czech; or numbers ending 2, 3, or 4 but not 12, 13, or 14 in
+ # Polish).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "zero": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of the number 0 (as in Arabic).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "zero": { # A localized string bundle resource. # When the language requires special treatment of the number 0 (as in
+ # Arabic).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "other": { # This is a JSON template for a localized string bundle resource. # When the language does not require special treatment of the given quantity (as with all numbers in Chinese, or 42 in English).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "other": { # A localized string bundle resource. # When the language does not require special treatment of the given quantity
+ # (as with all numbers in Chinese, or 42 in English).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
},
+ "numDecimalPlaces": 42, # The number of decimal places for number. Only used for NUMERIC format type.
+ "currencyCode": "A String", # The curreny code string. Only used for CURRENCY format type.
},
"iconUrl": "A String", # The icon url of this leaderboard. Writes to this field are ignored.
- "kind": "gamesConfiguration#leaderboardConfigurationDetail", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#leaderboardConfigurationDetail.
- "name": { # This is a JSON template for a localized string bundle resource. # Localized strings for the leaderboard name.
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#leaderboardConfigurationDetail`.
+ "name": { # A localized string bundle resource. # Localized strings for the leaderboard name.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
"sortRank": 42, # The sort rank of this leaderboard. Writes to this field are ignored.
},
- "draft": { # This is a JSON template for a leaderboard configuration detail. # The draft data of the leaderboard.
- "scoreFormat": { # This is a JSON template for a number format resource. # The score formatting for the leaderboard.
- "currencyCode": "A String", # The curreny code string. Only used for CURRENCY format type.
+ "draft": { # A leaderboard configuration detail. # The draft data of the leaderboard.
+ "scoreFormat": { # A number format resource. # The score formatting for the leaderboard.
"numberFormatType": "A String", # The formatting for the number.
- # Possible values are:
- # - "NUMERIC" - Numbers are formatted to have no digits or a fixed number of digits after the decimal point according to locale. An optional custom unit can be added.
- # - "TIME_DURATION" - Numbers are formatted to hours, minutes and seconds.
- # - "CURRENCY" - Numbers are formatted to currency according to locale.
- "numDecimalPlaces": 42, # The number of decimal places for number. Only used for NUMERIC format type.
- "suffix": { # This is a JSON template for a number affix resource. # An optional suffix for the NUMERIC format type. These strings follow the same plural rules as all Android string resources.
- "many": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of "large" numbers (as with numbers ending 11-99 in Maltese).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "suffix": { # A number affix resource. # An optional suffix for the NUMERIC format type. These strings follow the
+ # same <a
+ # href="http://developer.android.com/guide/topics/resources/string-resource.html#Plurals">
+ # plural rules</a> as all Android string resources.
+ "many": { # A localized string bundle resource. # When the language requires special treatment of "large" numbers (as with
+ # numbers ending 11-99 in Maltese).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "two": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of numbers like two (as with 2 in Welsh, or 102 in Slovenian).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "two": { # A localized string bundle resource. # When the language requires special treatment of numbers like two (as with 2
+ # in Welsh, or 102 in Slovenian).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "one": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of numbers like one (as with the number 1 in English and most other languages; in Russian, any number ending in 1 but not ending in 11 is in this class).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "one": { # A localized string bundle resource. # When the language requires special treatment of numbers like one (as with
+ # the number 1 in English and most other languages; in Russian, any number
+ # ending in 1 but not ending in 11 is in this class).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "few": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of "small" numbers (as with 2, 3, and 4 in Czech; or numbers ending 2, 3, or 4 but not 12, 13, or 14 in Polish).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "few": { # A localized string bundle resource. # When the language requires special treatment of "small" numbers (as with 2,
+ # 3, and 4 in Czech; or numbers ending 2, 3, or 4 but not 12, 13, or 14 in
+ # Polish).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "zero": { # This is a JSON template for a localized string bundle resource. # When the language requires special treatment of the number 0 (as in Arabic).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "zero": { # A localized string bundle resource. # When the language requires special treatment of the number 0 (as in
+ # Arabic).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
- "other": { # This is a JSON template for a localized string bundle resource. # When the language does not require special treatment of the given quantity (as with all numbers in Chinese, or 42 in English).
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "other": { # A localized string bundle resource. # When the language does not require special treatment of the given quantity
+ # (as with all numbers in Chinese, or 42 in English).
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],
},
},
+ "numDecimalPlaces": 42, # The number of decimal places for number. Only used for NUMERIC format type.
+ "currencyCode": "A String", # The curreny code string. Only used for CURRENCY format type.
},
"iconUrl": "A String", # The icon url of this leaderboard. Writes to this field are ignored.
- "kind": "gamesConfiguration#leaderboardConfigurationDetail", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#leaderboardConfigurationDetail.
- "name": { # This is a JSON template for a localized string bundle resource. # Localized strings for the leaderboard name.
- "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#leaderboardConfigurationDetail`.
+ "name": { # A localized string bundle resource. # Localized strings for the leaderboard name.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedStringBundle`.
"translations": [ # The locale strings.
- { # This is a JSON template for a localized string resource.
+ { # A localized string resource.
"locale": "A String", # The locale string.
- "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
+ "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed
+ # string `gamesConfiguration#localizedString`.
"value": "A String", # The string value.
},
],