REST Resource: edits.countryavailability
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แหล่งข้อมูล: TrackCountryAvailability
แหล่งข้อมูลสำหรับข้อมูลความพร้อมให้บริการในแต่ละประเทศของแทร็ก
การแสดง JSON |
{
"syncWithProduction": boolean,
"countries": [
{
object (TrackTargetedCountry )
}
],
"restOfWorld": boolean
} |
ช่อง |
syncWithProduction |
boolean
ระบุว่าความพร้อมให้บริการของแทร็กนี้ซิงค์กับแทร็กเวอร์ชันที่ใช้งานจริงเริ่มต้นหรือไม่ ดูข้อมูลเพิ่มเติมเกี่ยวกับการซิงค์ประเทศที่พร้อมให้บริการกับเวอร์ชันที่ใช้งานจริงได้ที่ https://support.google.com/googleplay/android-developer/answer/7550024 โปรดทราบว่าหากเป็นจริง ระบบจะแสดง "ประเทศ" ที่แสดงผล และ "restOfWorld" จะแสดงค่าของแทร็กเวอร์ชันที่ใช้งานจริงเริ่มต้น
|
countries[] |
object (TrackTargetedCountry )
รายชื่อประเทศอย่างน้อย 1 ประเทศที่มีอาร์ติแฟกต์ในแทร็กนี้ รายการนี้จะรวมทุกประเทศที่เป็นเป้าหมายแทร็ก แม้ว่าจะกำหนดเป้าหมายเฉพาะผู้ให้บริการบางรายในประเทศนั้นก็ตาม
|
restOfWorld |
boolean
อาร์ติแฟกต์ในแทร็กนี้มีให้บริการสำหรับ "ประเทศอื่นๆ ในโลก" หรือไม่ ประเทศ
|
TrackTargetedCountry
การนําเสนอประเทศเดียวที่มีเนื้อหาของแทร็กให้บริการ
การแสดง JSON |
{
"countryCode": string
} |
ช่อง |
countryCode |
string
ประเทศที่จะกำหนดเป้าหมายเป็นรหัส CLDR แบบ 2 ตัวอักษร
|
เมธอด |
|
ดูประเทศที่ใช้บริการได้ |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eTrackCountryAvailability resource provides per-track country availability information, including sync status with production, targeted countries, and "rest of world" availability.\u003c/p\u003e\n"],["\u003cp\u003eTrackTargetedCountry represents a single country targeted by a track using a two-letter CLDR country code.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use the \u003ccode\u003eget\u003c/code\u003e method to retrieve country availability information for their app tracks.\u003c/p\u003e\n"]]],["The resource `TrackCountryAvailability` details per-track country availability, with information on whether availability is synced with the production track (`syncWithProduction`). It lists targeted countries (`countries`), each represented by a two-letter CLDR code via `TrackTargetedCountry`, and indicates if the track is available to the \"rest of the world\" (`restOfWorld`). The `get` method retrieves country availability information. Each of these items is represented by its `JSON` structure.\n"],null,["# REST Resource: edits.countryavailability\n\n- [Resource: TrackCountryAvailability](#TrackCountryAvailability)\n - [JSON representation](#TrackCountryAvailability.SCHEMA_REPRESENTATION)\n- [TrackTargetedCountry](#TrackTargetedCountry)\n - [JSON representation](#TrackTargetedCountry.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: TrackCountryAvailability\n----------------------------------\n\nResource for per-track country availability information.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"syncWithProduction\": boolean, \"countries\": [ { object (/android-publisher/api-ref/rest/v3/edits.countryavailability#TrackTargetedCountry) } ], \"restOfWorld\": boolean } ``` |\n\n| Fields ||\n|----------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `syncWithProduction` | `boolean` Whether this track's availability is synced with the default production track. See \u003chttps://support.google.com/googleplay/android-developer/answer/7550024\u003e for more information on syncing country availability with production. Note that if this is true, the returned \"countries\" and \"restOfWorld\" fields will reflect the values for the default production track. |\n| `countries[]` | `object (`[TrackTargetedCountry](/android-publisher/api-ref/rest/v3/edits.countryavailability#TrackTargetedCountry)`)` A list of one or more countries where artifacts in this track are available. This list includes all countries that are targeted by the track, even if only specific carriers are targeted in that country. |\n| `restOfWorld` | `boolean` Whether artifacts in this track are available to \"rest of the world\" countries. |\n\nTrackTargetedCountry\n--------------------\n\nRepresentation of a single country where the contents of a track are available.\n\n| JSON representation |\n|-----------------------------------|\n| ``` { \"countryCode\": string } ``` |\n\n| Fields ||\n|---------------|------------------------------------------------------------|\n| `countryCode` | `string` The country to target, as a two-letter CLDR code. |\n\n| Methods ------- ||\n|-----------------------------------------------------------------------------|----------------------------|\n| ### [get](/android-publisher/api-ref/rest/v3/edits.countryavailability/get) | Gets country availability. |"]]