実績の構成を表します。
このリソースのメソッドの一覧は、このページの最後に掲載されています。
リソースの表記
これは、実績の構成リソースの JSON テンプレートです。
{
"kind": "gamesConfiguration#achievementConfiguration",
"token": string,
"id": string,
"achievementType": string,
"initialState": string,
"stepsToUnlock": integer,
"draft": {
"kind": "gamesConfiguration#achievementConfigurationDetail",
"name": {
"kind": "gamesConfiguration#localizedStringBundle",
"translations": [
{
"kind": "gamesConfiguration#localizedString",
"locale": string,
"value": string
}
]
},
"description": {
"kind": "gamesConfiguration#localizedStringBundle",
"translations": [
{
"kind": "gamesConfiguration#localizedString",
"locale": string,
"value": string
}
]
},
"pointValue": integer,
"iconUrl": string,
"sortRank": integer
},
"published": {
"kind": "gamesConfiguration#achievementConfigurationDetail",
"name": {
"kind": "gamesConfiguration#localizedStringBundle",
"translations": [
{
"kind": "gamesConfiguration#localizedString",
"locale": string,
"value": string
}
]
},
"description": {
"kind": "gamesConfiguration#localizedStringBundle",
"translations": [
{
"kind": "gamesConfiguration#localizedString",
"locale": string,
"value": string
}
]
},
"pointValue": integer,
"iconUrl": string,
"sortRank": integer
}
}| プロパティ名 | 値 | 説明 | 備考 |
|---|---|---|---|
kind |
string |
このリソースのタイプを一意に識別します。値は常に固定文字列 gamesConfiguration#achievementConfiguration です。 |
|
token |
string |
このリソースのトークン。 | |
id |
string |
実績の ID。 | |
achievementType |
string |
アチーブメントのタイプ。 指定できる値は次のとおりです。
|
|
initialState |
string |
実績の初期状態。 指定できる値は次のとおりです。
|
|
stepsToUnlock |
integer |
ロック解除の手順。増分実績にのみ適用されます。 | |
draft |
nested object |
実績の下書きデータ。 | |
draft.kind |
string |
このリソースのタイプを一意に識別します。値は常に固定文字列 gamesConfiguration#achievementConfigurationDetail です。 |
|
draft.name |
nested object |
実績名のローカライズされた文字列。 | |
draft.name.kind |
string |
このリソースのタイプを一意に識別します。値は常に固定文字列 gamesConfiguration#localizedStringBundle です。 |
|
draft.name.translations[] |
list |
ロケール文字列。 | |
draft.name.translations[].kind |
string |
このリソースのタイプを一意に識別します。値は常に固定文字列 gamesConfiguration#localizedString です。 |
|
draft.name.translations[].locale |
string |
ロケール文字列。 | |
draft.name.translations[].value |
string |
文字列値。 | |
draft.description |
nested object |
実績の説明のローカライズされた文字列。 | |
draft.description.kind |
string |
このリソースのタイプを一意に識別します。値は常に固定文字列 gamesConfiguration#localizedStringBundle です。 |
|
draft.description.translations[] |
list |
ロケール文字列。 | |
draft.description.translations[].kind |
string |
このリソースのタイプを一意に識別します。値は常に固定文字列 gamesConfiguration#localizedString です。 |
|
draft.description.translations[].locale |
string |
ロケール文字列。 | |
draft.description.translations[].value |
string |
文字列値。 | |
draft.pointValue |
integer |
実績のポイント値。 | |
draft.iconUrl |
string |
この実績のアイコンの URL。このフィールドへの書き込みは無視されます。 | |
draft.sortRank |
integer |
この実績の並べ替えランク。このフィールドへの書き込みは無視されます。 | |
published |
nested object |
実績の公開データ。このデータは読み取り専用です。 | |
published.kind |
string |
このリソースのタイプを一意に識別します。値は常に固定文字列 gamesConfiguration#achievementConfigurationDetail です。 |
|
published.name |
nested object |
実績名のローカライズされた文字列。 | |
published.name.kind |
string |
このリソースのタイプを一意に識別します。値は常に固定文字列 gamesConfiguration#localizedStringBundle です。 |
|
published.name.translations[] |
list |
ロケール文字列。 | |
published.name.translations[].kind |
string |
このリソースのタイプを一意に識別します。値は常に固定文字列 gamesConfiguration#localizedString です。 |
|
published.name.translations[].locale |
string |
ロケール文字列。 | |
published.name.translations[].value |
string |
文字列値。 | |
published.description |
nested object |
実績の説明のローカライズされた文字列。 | |
published.description.kind |
string |
このリソースのタイプを一意に識別します。値は常に固定文字列 gamesConfiguration#localizedStringBundle です。 |
|
published.description.translations[] |
list |
ロケール文字列。 | |
published.description.translations[].kind |
string |
このリソースのタイプを一意に識別します。値は常に固定文字列 gamesConfiguration#localizedString です。 |
|
published.description.translations[].locale |
string |
ロケール文字列。 | |
published.description.translations[].value |
string |
文字列値。 | |
published.pointValue |
integer |
実績のポイント値。 | |
published.iconUrl |
string |
この実績のアイコンの URL。このフィールドへの書き込みは無視されます。 | |
published.sortRank |
integer |
この実績の並べ替えランク。このフィールドへの書き込みは無視されます。 |
メソッド
- 削除
- 指定された ID の成果の設定を削除します。
- get
- 指定された ID のアチーブメント構成のメタデータを取得します。
- insert
- このアプリに新しい実績の設定を挿入します。
- 「Android 画面のキャストに最適なデバイス」
- このアプリの達成証明書の構成のリストを返します。
- update
- 指定された ID のアチーブメント構成のメタデータを更新します。