REST Resource: customerLicense

संसाधन: CustomerLicense

JSON के काेड में दिखाना
{
  "kind": string,
  "state": string,
  "applicationId": string,
  "editions": [
    {
      object (Editions)
    }
  ],
  "id": string,
  "customerId": string
}
फ़ील्ड
kind

string

एपीआई संसाधन का टाइप. यह हमेशा appsmarket#customerLicense होता है.

state

string

ग्राहक के लाइसेंस की स्थिति. इनमें से कोई एक:

  • ACTIVE: खरीदार के पास मान्य लाइसेंस है.
  • UNLICENSED: कोई लाइसेंस नहीं है. इस ग्राहक ने या तो आपका ऐप्लिकेशन कभी इंस्टॉल नहीं किया है या उसे मिटा दिया है.
applicationId

string

इस लाइसेंस क्वेरी से जुड़े ऐप्लिकेशन का आईडी.

editions[]
(deprecated)

object (Editions)

(अब सेवा में नहीं है)

id

string

ग्राहक के लाइसेंस का आईडी.

customerId

string

ग्राहक का डोमेन नेम.

संस्करण

JSON के काेड में दिखाना
{
  "editionId": string,
  "seatCount": integer,
  "assignedSeats": integer
}
फ़ील्ड
editionId
(deprecated)

string

(अब सेवा में नहीं है)

seatCount
(deprecated)

integer

(अब सेवा में नहीं है)

assignedSeats
(deprecated)

integer

(अब सेवा में नहीं है)

तरीके

get

यह कुकी, ग्राहक के लाइसेंस की स्थिति का पता लगाती है. इससे यह तय किया जाता है कि ग्राहक के पास किसी ऐप्लिकेशन का ऐक्सेस है या नहीं.