"description":"Selector specifying which fields to include in a partial response.",
"location":"query"
},
"key":{
"type":"string",
"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
"location":"query"
},
"oauth_token":{
"type":"string",
"description":"OAuth 2.0 token for the current user.",
"location":"query"
},
"prettyPrint":{
"type":"boolean",
"description":"Returns response with indentations and line breaks.",
"default":"true",
"location":"query"
},
"quotaUser":{
"type":"string",
"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.",
"location":"query"
},
"userIp":{
"type":"string",
"description":"IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
"description":"View and manage G Suite licenses for your domain"
}
}
}
},
"schemas":{
"LicenseAssignment":{
"id":"LicenseAssignment",
"type":"object",
"description":"Template for LiscenseAssignment Resource",
"properties":{
"etags":{
"type":"string",
"description":"ETag of the resource."
},
"kind":{
"type":"string",
"description":"Identifies the resource as a LicenseAssignment.",
"default":"licensing#licenseAssignment"
},
"productId":{
"type":"string",
"description":"Id of the product.",
"annotations":{
"required":[
"licensing.licenseAssignments.update"
]
}
},
"productName":{
"type":"string",
"description":"Display Name of the product."
},
"selfLink":{
"type":"string",
"description":"Link to this page."
},
"skuId":{
"type":"string",
"description":"Id of the sku of the product.",
"annotations":{
"required":[
"licensing.licenseAssignments.update"
]
}
},
"skuName":{
"type":"string",
"description":"Display Name of the sku of the product."
},
"userId":{
"type":"string",
"description":"Email id of the user.",
"annotations":{
"required":[
"licensing.licenseAssignments.update"
]
}
}
}
},
"LicenseAssignmentInsert":{
"id":"LicenseAssignmentInsert",
"type":"object",
"description":"Template for LicenseAssignment Insert request",
"properties":{
"userId":{
"type":"string",
"description":"Email id of the user",
"annotations":{
"required":[
"licensing.licenseAssignments.insert"
]
}
}
}
},
"LicenseAssignmentList":{
"id":"LicenseAssignmentList",
"type":"object",
"description":"LicesnseAssignment List for a given product/sku for a customer.",
"properties":{
"etag":{
"type":"string",
"description":"ETag of the resource."
},
"items":{
"type":"array",
"description":"The LicenseAssignments in this page of results.",
"items":{
"$ref":"LicenseAssignment"
}
},
"kind":{
"type":"string",
"description":"Identifies the resource as a collection of LicenseAssignments.",
"default":"licensing#licenseAssignmentList"
},
"nextPageToken":{
"type":"string",
"description":"The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results."
}
}
}
},
"resources":{
"licenseAssignments":{
"methods":{
"delete":{
"id":"licensing.licenseAssignments.delete",
"path":"{productId}/sku/{skuId}/user/{userId}",
"httpMethod":"DELETE",
"description":"Revoke License.",
"parameters":{
"productId":{
"type":"string",
"description":"Name for product",
"required":true,
"location":"path"
},
"skuId":{
"type":"string",
"description":"Name for sku",
"required":true,
"location":"path"
},
"userId":{
"type":"string",
"description":"email id or unique Id of the user",
"required":true,
"location":"path"
}
},
"parameterOrder":[
"productId",
"skuId",
"userId"
],
"scopes":[
"https://www.googleapis.com/auth/apps.licensing"
]
},
"get":{
"id":"licensing.licenseAssignments.get",
"path":"{productId}/sku/{skuId}/user/{userId}",
"httpMethod":"GET",
"description":"Get license assignment of a particular product and sku for a user",
"parameters":{
"productId":{
"type":"string",
"description":"Name for product",
"required":true,
"location":"path"
},
"skuId":{
"type":"string",
"description":"Name for sku",
"required":true,
"location":"path"
},
"userId":{
"type":"string",
"description":"email id or unique Id of the user",