Targeting

รายละเอียดการกำหนดเป้าหมายสำหรับการดำเนินการกู้คืน เช่น ภูมิภาค, ระดับ SDK ของ Android, เวอร์ชันแอป ฯลฯ

การแสดง JSON
{

  // Union field criteria can be only one of the following:
  "regions": {
    object (Regions)
  },
  "androidSdks": {
    object (AndroidSdks)
  },
  "allUsers": {
    object (AllUsers)
  }
  // End of list of possible types for union field criteria.

  // Union field target_versions can be only one of the following:
  "versionList": {
    object (AppVersionList)
  },
  "versionRange": {
    object (AppVersionRange)
  }
  // End of list of possible types for union field target_versions.
}
ช่อง
ฟิลด์สหภาพ criteria เกณฑ์สำหรับการดำเนินการกู้คืนการกำหนดเป้าหมาย criteria ต้องเป็นค่าใดค่าหนึ่งต่อไปนี้เท่านั้น
regions

object (Regions)

การกำหนดเป้าหมายขึ้นอยู่กับภูมิภาคของบัญชีผู้ใช้

androidSdks

object (AndroidSdks)

การกําหนดเป้าหมายจะอิงตามระดับ API ของ Android ของอุปกรณ์

allUsers

object (AllUsers)

กำหนดเป้าหมายผู้ใช้ทั้งหมดแล้ว

ฟิลด์สหภาพ target_versions เวอร์ชันของแอปที่กำหนดเป้าหมายโดยการดำเนินการกู้คืน ต้องระบุ target_versions ต้องเป็นค่าใดค่าหนึ่งต่อไปนี้เท่านั้น
versionList

object (AppVersionList)

กำหนดเป้าหมายรหัสเวอร์ชันเป็นรายการ

versionRange

object (AppVersionRange)

กำหนดเป้าหมายรหัสเวอร์ชันเป็นช่วง

AppVersionList

รูปแบบข้อมูลสำหรับรายการเวอร์ชันแอป

การแสดง JSON
{
  "versionCodes": [
    string
  ]
}
ช่อง
versionCodes[]

string (int64 format)

รายการรหัสเวอร์ชันของแอป

AppVersionRange

รูปแบบข้อมูลสำหรับเวอร์ชันแอปช่วงต่างๆ ที่ต่อเนื่อง

การแสดง JSON
{
  "versionCodeStart": string,
  "versionCodeEnd": string
}
ช่อง
versionCodeStart

string (int64 format)

เวอร์ชันแอปต่ำสุดในช่วง รวมเวอร์ชันแอป

versionCodeEnd

string (int64 format)

เวอร์ชันแอปสูงสุดในช่วง รวมเวอร์ชันแอป