REST Resource: customerLicense

資源:CustomerLicense

JSON 表示法
{
  "kind": string,
  "state": string,
  "applicationId": string,
  "editions": [
    {
      object (Editions)
    }
  ],
  "id": string,
  "customerId": string
}
欄位
kind

string

API 資源的類型。這個版本一律為 appmarket#customerLicense。

state

string

客戶的授權狀態。下列其中一項權限:

  • ACTIVE:客戶擁有有效的授權。
  • UNLICENSED:沒有授權:這位客戶從未安裝您的應用程式,或是對方已刪除應用程式。
applicationId

string

與這項授權查詢相對應的應用程式 ID。

editions[]
(deprecated)

object (Editions)

(已淘汰)

id

string

客戶授權的 ID。

customerId

string

客戶的網域名稱。

版本

JSON 表示法
{
  "editionId": string,
  "seatCount": integer,
  "assignedSeats": integer
}
欄位
editionId
(deprecated)

string

(已淘汰)

seatCount
(deprecated)

integer

(已淘汰)

assignedSeats
(deprecated)

integer

(已淘汰)

方法

get

取得客戶的授權狀態,判斷他們是否有權存取特定應用程式。