Google Workspace Marketplace API . customerLicense

Instance Methods

close()

Close httplib2 connections.

get(applicationId, customerId, x__xgafv=None)

Gets the customer's licensing status to determine if they have access to a given app. For more information, see [Getting app installation and licensing details](https://developers.google.com/workspace/marketplace/example-calls-marketplace-api).

Method Details

close()
Close httplib2 connections.
get(applicationId, customerId, x__xgafv=None)
Gets the customer's licensing status to determine if they have access to a given app. For more information, see [Getting app installation and licensing details](https://developers.google.com/workspace/marketplace/example-calls-marketplace-api).

Args:
  applicationId: string, The ID of the application. (required)
  customerId: string, The ID of the customer. (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 has deleted it.
}