LeaderboardConfigurations

리더보드의 구성을 나타냅니다.

이 리소스에 대한 메소드 목록은 이 페이지의 하단에 나와 있습니다.

리소스 표현

리더보드 구성 리소스의 JSON 템플릿입니다.

{
  "kind": "gamesConfiguration#leaderboardConfiguration",
  "token": string,
  "id": string,
  "scoreOrder": string,
  "scoreMin": long,
  "scoreMax": long,
  "draft": {
    "kind": "gamesConfiguration#leaderboardConfigurationDetail",
    "name": {
      "kind": "gamesConfiguration#localizedStringBundle",
      "translations": [
        {
          "kind": "gamesConfiguration#localizedString",
          "locale": string,
          "value": string
        }
      ]
    },
    "iconUrl": string,
    "sortRank": integer,
    "scoreFormat": {
      "numberFormatType": string,
      "suffix": {
        "zero": {
          "kind": "gamesConfiguration#localizedStringBundle",
          "translations": [
            {
              "kind": "gamesConfiguration#localizedString",
              "locale": string,
              "value": string
            }
          ]
        },
        "one": {
          "kind": "gamesConfiguration#localizedStringBundle",
          "translations": [
            {
              "kind": "gamesConfiguration#localizedString",
              "locale": string,
              "value": string
            }
          ]
        },
        "two": {
          "kind": "gamesConfiguration#localizedStringBundle",
          "translations": [
            {
              "kind": "gamesConfiguration#localizedString",
              "locale": string,
              "value": string
            }
          ]
        },
        "few": {
          "kind": "gamesConfiguration#localizedStringBundle",
          "translations": [
            {
              "kind": "gamesConfiguration#localizedString",
              "locale": string,
              "value": string
            }
          ]
        },
        "many": {
          "kind": "gamesConfiguration#localizedStringBundle",
          "translations": [
            {
              "kind": "gamesConfiguration#localizedString",
              "locale": string,
              "value": string
            }
          ]
        },
        "other": {
          "kind": "gamesConfiguration#localizedStringBundle",
          "translations": [
            {
              "kind": "gamesConfiguration#localizedString",
              "locale": string,
              "value": string
            }
          ]
        }
      },
      "numDecimalPlaces": integer,
      "currencyCode": string
    }
  },
  "published": {
    "kind": "gamesConfiguration#leaderboardConfigurationDetail",
    "name": {
      "kind": "gamesConfiguration#localizedStringBundle",
      "translations": [
        {
          "kind": "gamesConfiguration#localizedString",
          "locale": string,
          "value": string
        }
      ]
    },
    "iconUrl": string,
    "sortRank": integer,
    "scoreFormat": {
      "numberFormatType": string,
      "suffix": {
        "zero": {
          "kind": "gamesConfiguration#localizedStringBundle",
          "translations": [
            {
              "kind": "gamesConfiguration#localizedString",
              "locale": string,
              "value": string
            }
          ]
        },
        "one": {
          "kind": "gamesConfiguration#localizedStringBundle",
          "translations": [
            {
              "kind": "gamesConfiguration#localizedString",
              "locale": string,
              "value": string
            }
          ]
        },
        "two": {
          "kind": "gamesConfiguration#localizedStringBundle",
          "translations": [
            {
              "kind": "gamesConfiguration#localizedString",
              "locale": string,
              "value": string
            }
          ]
        },
        "few": {
          "kind": "gamesConfiguration#localizedStringBundle",
          "translations": [
            {
              "kind": "gamesConfiguration#localizedString",
              "locale": string,
              "value": string
            }
          ]
        },
        "many": {
          "kind": "gamesConfiguration#localizedStringBundle",
          "translations": [
            {
              "kind": "gamesConfiguration#localizedString",
              "locale": string,
              "value": string
            }
          ]
        },
        "other": {
          "kind": "gamesConfiguration#localizedStringBundle",
          "translations": [
            {
              "kind": "gamesConfiguration#localizedString",
              "locale": string,
              "value": string
            }
          ]
        }
      },
      "numDecimalPlaces": integer,
      "currencyCode": string
    }
  }
}
속성 이름 설명 Notes
kind string 이 리소스의 유형을 고유하게 식별합니다. 값은 항상 고정 문자열 gamesConfiguration#leaderboardConfiguration입니다.
token string 이 리소스의 토큰입니다.
id string 리더보드의 ID입니다.
scoreOrder string 리더보드의 유형입니다.
가능한 값은 다음과 같습니다.
  • "LARGER_IS_BETTER" - 점수가 크게 게시될수록 높은 순위가 매겨집니다.
  • "SMALLER_IS_BETTER" - 점수가 낮을수록 높은 순위가 매겨집니다.
scoreMin long 이 리더보드에 게시할 수 있는 최소 점수입니다.
scoreMax long 이 리더보드에 게시할 수 있는 최대 점수입니다.
draft nested object 리더보드의 초안 데이터입니다.
draft.kind string 이 리소스의 유형을 고유하게 식별합니다. 값은 항상 고정 문자열 gamesConfiguration#leaderboardConfigurationDetail입니다.
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.iconUrl string 이 리더보드의 아이콘 URL입니다. 이 필드에 대한 쓰기는 무시됩니다.
draft.sortRank integer 이 리더보드의 정렬 순위입니다. 이 필드에 대한 쓰기는 무시됩니다.
draft.scoreFormat nested object 리더보드의 점수 형식
draft.scoreFormat.numberFormatType string 숫자의 서식입니다.
가능한 값은 다음과 같습니다.
  • 'NUMERIC' - 숫자는 언어에 따라 소수점 이하 자릿수 또는 고정된 자릿수로 형식이 지정됩니다. 원하는 경우 맞춤 단위를 추가할 수 있습니다.
  • "TIME_DURATION" - 숫자는 시, 분, 초 형식으로 지정됩니다.
  • 'CURRENCY' - 숫자는 언어에 따른 통화 형식으로 지정됩니다.
draft.scoreFormat.suffix nested object NUMERIC 형식 유형의 접미사입니다(선택사항). 이러한 문자열은 모든 Android 문자열 리소스와 동일한 복수형 규칙을 따릅니다.
draft.scoreFormat.suffix.zero nested object 언어가 숫자 0에 대한 특수한 처리를 요구하는 경우(예: 아랍어)
draft.scoreFormat.suffix.zero.kind string 이 리소스의 유형을 고유하게 식별합니다. 값은 항상 고정 문자열 gamesConfiguration#localizedStringBundle입니다.
draft.scoreFormat.suffix.zero.translations[] list 언어 문자열.
draft.scoreFormat.suffix.zero.translations[].kind string 이 리소스의 유형을 고유하게 식별합니다. 값은 항상 고정 문자열 gamesConfiguration#localizedString입니다.
draft.scoreFormat.suffix.zero.translations[].locale string 언어 문자열입니다.
draft.scoreFormat.suffix.zero.translations[].value string 문자열 값입니다.
draft.scoreFormat.suffix.one nested object 언어가 1과 같은 숫자에 대한 특수한 처리를 요구하는 경우(예: 영어 및 기타 대부분 언어의 경우 숫자 1. 러시아어의 경우 1로 끝나지만 11로 끝나지 않는 숫자(이 클래스에 나와 있음))
draft.scoreFormat.suffix.one.kind string 이 리소스의 유형을 고유하게 식별합니다. 값은 항상 고정 문자열 gamesConfiguration#localizedStringBundle입니다.
draft.scoreFormat.suffix.one.translations[] list 언어 문자열.
draft.scoreFormat.suffix.one.translations[].kind string 이 리소스의 유형을 고유하게 식별합니다. 값은 항상 고정 문자열 gamesConfiguration#localizedString입니다.
draft.scoreFormat.suffix.one.translations[].locale string 언어 문자열입니다.
draft.scoreFormat.suffix.one.translations[].value string 문자열 값입니다.
draft.scoreFormat.suffix.two nested object 언어가 2와 같은 숫자에 대한 특수한 처리를 요구하는 경우(예: 웨일스어의 경우 2 또는 슬로베니아어의 경우 102)
draft.scoreFormat.suffix.two.kind string 이 리소스의 유형을 고유하게 식별합니다. 값은 항상 고정 문자열 gamesConfiguration#localizedStringBundle입니다.
draft.scoreFormat.suffix.two.translations[] list 언어 문자열.
draft.scoreFormat.suffix.two.translations[].kind string 이 리소스의 유형을 고유하게 식별합니다. 값은 항상 고정 문자열 gamesConfiguration#localizedString입니다.
draft.scoreFormat.suffix.two.translations[].locale string 언어 문자열입니다.
draft.scoreFormat.suffix.two.translations[].value string 문자열 값입니다.
draft.scoreFormat.suffix.few nested object 언어가 '작은' 숫자에 대한 특수한 처리를 요구하는 경우(예: 체코어의 경우 2, 3, 4 또는 폴란드어의 경우 2, 3 또는 4로 끝나지만 12, 13 또는 14로 끝나지 않는 숫자)
draft.scoreFormat.suffix.few.kind string 이 리소스의 유형을 고유하게 식별합니다. 값은 항상 고정 문자열 gamesConfiguration#localizedStringBundle입니다.
draft.scoreFormat.suffix.few.translations[] list 언어 문자열.
draft.scoreFormat.suffix.few.translations[].kind string 이 리소스의 유형을 고유하게 식별합니다. 값은 항상 고정 문자열 gamesConfiguration#localizedString입니다.
draft.scoreFormat.suffix.few.translations[].locale string 언어 문자열입니다.
draft.scoreFormat.suffix.few.translations[].value string 문자열 값입니다.
draft.scoreFormat.suffix.many nested object 언어가 '큰' 숫자에 대한 특수한 처리를 요구하는 경우(예: 몰타어로 11~99로 끝나는 숫자)
draft.scoreFormat.suffix.many.kind string 이 리소스의 유형을 고유하게 식별합니다. 값은 항상 고정 문자열 gamesConfiguration#localizedStringBundle입니다.
draft.scoreFormat.suffix.many.translations[] list 언어 문자열.
draft.scoreFormat.suffix.many.translations[].kind string 이 리소스의 유형을 고유하게 식별합니다. 값은 항상 고정 문자열 gamesConfiguration#localizedString입니다.
draft.scoreFormat.suffix.many.translations[].locale string 언어 문자열입니다.
draft.scoreFormat.suffix.many.translations[].value string 문자열 값입니다.
draft.scoreFormat.suffix.other nested object 언어가 지정된 수량에 대한 특수한 처리를 요구하지 않는 경우(예: 중국어의 경우 모든 숫자 또는 영어의 경우 42)
draft.scoreFormat.suffix.other.kind string 이 리소스의 유형을 고유하게 식별합니다. 값은 항상 고정 문자열 gamesConfiguration#localizedStringBundle입니다.
draft.scoreFormat.suffix.other.translations[] list 언어 문자열.
draft.scoreFormat.suffix.other.translations[].kind string 이 리소스의 유형을 고유하게 식별합니다. 값은 항상 고정 문자열 gamesConfiguration#localizedString입니다.
draft.scoreFormat.suffix.other.translations[].locale string 언어 문자열입니다.
draft.scoreFormat.suffix.other.translations[].value string 문자열 값입니다.
draft.scoreFormat.numDecimalPlaces integer 숫자의 소수점 이하 자릿수입니다. NUMERIC 형식 유형에만 사용됩니다.
draft.scoreFormat.currencyCode string 통화 코드 문자열입니다. CURRENCY 형식 유형에만 사용됩니다.
published nested object 리더보드의 게시된 데이터입니다. 이 데이터는 읽기 전용입니다.
published.kind string 이 리소스의 유형을 고유하게 식별합니다. 값은 항상 고정 문자열 gamesConfiguration#leaderboardConfigurationDetail입니다.
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.iconUrl string 이 리더보드의 아이콘 URL입니다. 이 필드에 대한 쓰기는 무시됩니다.
published.sortRank integer 이 리더보드의 정렬 순위입니다. 이 필드에 대한 쓰기는 무시됩니다.
published.scoreFormat nested object 리더보드의 점수 형식
published.scoreFormat.numberFormatType string 숫자의 서식입니다.
가능한 값은 다음과 같습니다.
  • 'NUMERIC' - 숫자는 언어에 따라 소수점 이하 자릿수 또는 고정된 자릿수로 형식이 지정됩니다. 원하는 경우 맞춤 단위를 추가할 수 있습니다.
  • "TIME_DURATION" - 숫자는 시, 분, 초 형식으로 지정됩니다.
  • 'CURRENCY' - 숫자는 언어에 따른 통화 형식으로 지정됩니다.
published.scoreFormat.suffix nested object NUMERIC 형식 유형의 접미사입니다(선택사항). 이러한 문자열은 모든 Android 문자열 리소스와 동일한 복수형 규칙을 따릅니다.
published.scoreFormat.suffix.zero nested object 언어가 숫자 0에 대한 특수한 처리를 요구하는 경우(예: 아랍어)
published.scoreFormat.suffix.zero.kind string 이 리소스의 유형을 고유하게 식별합니다. 값은 항상 고정 문자열 gamesConfiguration#localizedStringBundle입니다.
published.scoreFormat.suffix.zero.translations[] list 언어 문자열.
published.scoreFormat.suffix.zero.translations[].kind string 이 리소스의 유형을 고유하게 식별합니다. 값은 항상 고정 문자열 gamesConfiguration#localizedString입니다.
published.scoreFormat.suffix.zero.translations[].locale string 언어 문자열입니다.
published.scoreFormat.suffix.zero.translations[].value string 문자열 값입니다.
published.scoreFormat.suffix.one nested object 언어가 1과 같은 숫자에 대한 특수한 처리를 요구하는 경우(예: 영어 및 기타 대부분 언어의 경우 숫자 1. 러시아어의 경우 1로 끝나지만 11로 끝나지 않는 숫자(이 클래스에 나와 있음))
published.scoreFormat.suffix.one.kind string 이 리소스의 유형을 고유하게 식별합니다. 값은 항상 고정 문자열 gamesConfiguration#localizedStringBundle입니다.
published.scoreFormat.suffix.one.translations[] list 언어 문자열.
published.scoreFormat.suffix.one.translations[].kind string 이 리소스의 유형을 고유하게 식별합니다. 값은 항상 고정 문자열 gamesConfiguration#localizedString입니다.
published.scoreFormat.suffix.one.translations[].locale string 언어 문자열입니다.
published.scoreFormat.suffix.one.translations[].value string 문자열 값입니다.
published.scoreFormat.suffix.two nested object 언어가 2와 같은 숫자에 대한 특수한 처리를 요구하는 경우(예: 웨일스어의 경우 2 또는 슬로베니아어의 경우 102)
published.scoreFormat.suffix.two.kind string 이 리소스의 유형을 고유하게 식별합니다. 값은 항상 고정 문자열 gamesConfiguration#localizedStringBundle입니다.
published.scoreFormat.suffix.two.translations[] list 언어 문자열.
published.scoreFormat.suffix.two.translations[].kind string 이 리소스의 유형을 고유하게 식별합니다. 값은 항상 고정 문자열 gamesConfiguration#localizedString입니다.
published.scoreFormat.suffix.two.translations[].locale string 언어 문자열입니다.
published.scoreFormat.suffix.two.translations[].value string 문자열 값입니다.
published.scoreFormat.suffix.few nested object 언어가 '작은' 숫자에 대한 특수한 처리를 요구하는 경우(예: 체코어의 경우 2, 3, 4 또는 폴란드어의 경우 2, 3 또는 4로 끝나지만 12, 13 또는 14로 끝나지 않는 숫자)
published.scoreFormat.suffix.few.kind string 이 리소스의 유형을 고유하게 식별합니다. 값은 항상 고정 문자열 gamesConfiguration#localizedStringBundle입니다.
published.scoreFormat.suffix.few.translations[] list 언어 문자열.
published.scoreFormat.suffix.few.translations[].kind string 이 리소스의 유형을 고유하게 식별합니다. 값은 항상 고정 문자열 gamesConfiguration#localizedString입니다.
published.scoreFormat.suffix.few.translations[].locale string 언어 문자열입니다.
published.scoreFormat.suffix.few.translations[].value string 문자열 값입니다.
published.scoreFormat.suffix.many nested object 언어가 '큰' 숫자에 대한 특수한 처리를 요구하는 경우(예: 몰타어로 11~99로 끝나는 숫자)
published.scoreFormat.suffix.many.kind string 이 리소스의 유형을 고유하게 식별합니다. 값은 항상 고정 문자열 gamesConfiguration#localizedStringBundle입니다.
published.scoreFormat.suffix.many.translations[] list 언어 문자열.
published.scoreFormat.suffix.many.translations[].kind string 이 리소스의 유형을 고유하게 식별합니다. 값은 항상 고정 문자열 gamesConfiguration#localizedString입니다.
published.scoreFormat.suffix.many.translations[].locale string 언어 문자열입니다.
published.scoreFormat.suffix.many.translations[].value string 문자열 값입니다.
published.scoreFormat.suffix.other nested object 언어가 지정된 수량에 대한 특수한 처리를 요구하지 않는 경우(예: 중국어의 경우 모든 숫자 또는 영어의 경우 42)
published.scoreFormat.suffix.other.kind string 이 리소스의 유형을 고유하게 식별합니다. 값은 항상 고정 문자열 gamesConfiguration#localizedStringBundle입니다.
published.scoreFormat.suffix.other.translations[] list 언어 문자열.
published.scoreFormat.suffix.other.translations[].kind string 이 리소스의 유형을 고유하게 식별합니다. 값은 항상 고정 문자열 gamesConfiguration#localizedString입니다.
published.scoreFormat.suffix.other.translations[].locale string 언어 문자열입니다.
published.scoreFormat.suffix.other.translations[].value string 문자열 값입니다.
published.scoreFormat.numDecimalPlaces integer 숫자의 소수점 이하 자릿수입니다. NUMERIC 형식 유형에만 사용됩니다.
published.scoreFormat.currencyCode string 통화 코드 문자열입니다. CURRENCY 형식 유형에만 사용됩니다.

방법

삭제
지정된 ID가 있는 리더보드 구성을 삭제합니다.
get
지정된 ID가 있는 리더보드 구성의 메타데이터를 검색합니다.
insert
이 애플리케이션에 새 리더보드 구성을 삽입합니다.
list
이 애플리케이션의 리더보드 구성 목록을 반환합니다.
업데이트
지정된 ID로 리더보드 구성의 메타데이터를 업데이트합니다.