Google Workspace Marketplace API . customerLicense

Instance Methods

close()

Close httplib2 connections.

get(applicationId, customerId, x__xgafv=None)

Gets the status of a license for a customer to determine if they have access for a given app.

Method Details

close()
Close httplib2 connections.
get(applicationId, customerId, x__xgafv=None)
Gets the status of a license for a customer to determine if they have access for a given app.

Args:
  applicationId: string, Application Id (required)
  customerId: string, Customer Id (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    {
  "applicationId": "A String", # The ID of the application corresponding to this license query.
  "customerId": "A String", # The domain name of the customer.
  "editions": [ # (Deprecated)
    {
      "assignedSeats": 42, # (Deprecated)
      "editionId": "A String", # (Deprecated)
      "seatCount": 42, # (Deprecated)
    },
  ],
  "id": "A String", # The ID of the customer license.
  "kind": "A String", # The type of API resource. This is always appsmarket#customerLicense.
  "state": "A String", # The customer's license status. One of: - `ACTIVE`: The customer has a valid license. - `UNLICENSED`: There is no license: either this customer has never installed your application, or else has deleted it.
}