Files
fn-serverless/vendor/google.golang.org/api/licensing/v1/licensing-api.json
Reed Allman 9eaf824398 add jaeger support, link hot container & req span (#840)
* add jaeger support, link hot container & req span

* adds jaeger support now with FN_JAEGER_URL, there's a simple tutorial in the
operating/metrics.md file now and it's pretty easy to get up and running.
* links a hot request span to a hot container span. when we change this to
sample at a lower ratio we'll need to finagle the hot container span to always
sample or something, otherwise we'll hide that info. at least, since we're
sampling at 100% for now if this is flipped on, can see freeze/unfreeze etc.
if they hit. this is useful for debugging. note that zipkin's exporter does
not follow the link at all, hence jaeger... and they're backed by the Cloud
Empire now (CNCF) so we'll probably use it anyway.

* vendor: add thrift for jaeger
2018-03-13 15:57:12 -07:00

465 lines
14 KiB
JSON

{
"auth": {
"oauth2": {
"scopes": {
"https://www.googleapis.com/auth/apps.licensing": {
"description": "View and manage G Suite licenses for your domain"
}
}
}
},
"basePath": "/apps/licensing/v1/product/",
"baseUrl": "https://www.googleapis.com/apps/licensing/v1/product/",
"batchPath": "batch/licensing/v1",
"description": "Views and manages licenses for your domain.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/google-apps/licensing/",
"etag": "\"-iA1DTNe4s-I6JZXPt1t1Ypy8IU/WD_dCFRiB71YKGuRij6Gw1Sn7dI\"",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
},
"id": "licensing:v1",
"kind": "discovery#restDescription",
"name": "licensing",
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
"alt": {
"default": "json",
"description": "Data format for the response.",
"enum": [
"json"
],
"enumDescriptions": [
"Responses with Content-Type of application/json"
],
"location": "query",
"type": "string"
},
"fields": {
"description": "Selector specifying which fields to include in a partial response.",
"location": "query",
"type": "string"
},
"key": {
"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",
"type": "string"
},
"oauth_token": {
"description": "OAuth 2.0 token for the current user.",
"location": "query",
"type": "string"
},
"prettyPrint": {
"default": "true",
"description": "Returns response with indentations and line breaks.",
"location": "query",
"type": "boolean"
},
"quotaUser": {
"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",
"type": "string"
},
"userIp": {
"description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
"location": "query",
"type": "string"
}
},
"protocol": "rest",
"resources": {
"licenseAssignments": {
"methods": {
"delete": {
"description": "Revoke License.",
"httpMethod": "DELETE",
"id": "licensing.licenseAssignments.delete",
"parameterOrder": [
"productId",
"skuId",
"userId"
],
"parameters": {
"productId": {
"description": "Name for product",
"location": "path",
"required": true,
"type": "string"
},
"skuId": {
"description": "Name for sku",
"location": "path",
"required": true,
"type": "string"
},
"userId": {
"description": "email id or unique Id of the user",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{productId}/sku/{skuId}/user/{userId}",
"scopes": [
"https://www.googleapis.com/auth/apps.licensing"
]
},
"get": {
"description": "Get license assignment of a particular product and sku for a user",
"httpMethod": "GET",
"id": "licensing.licenseAssignments.get",
"parameterOrder": [
"productId",
"skuId",
"userId"
],
"parameters": {
"productId": {
"description": "Name for product",
"location": "path",
"required": true,
"type": "string"
},
"skuId": {
"description": "Name for sku",
"location": "path",
"required": true,
"type": "string"
},
"userId": {
"description": "email id or unique Id of the user",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{productId}/sku/{skuId}/user/{userId}",
"response": {
"$ref": "LicenseAssignment"
},
"scopes": [
"https://www.googleapis.com/auth/apps.licensing"
]
},
"insert": {
"description": "Assign License.",
"httpMethod": "POST",
"id": "licensing.licenseAssignments.insert",
"parameterOrder": [
"productId",
"skuId"
],
"parameters": {
"productId": {
"description": "Name for product",
"location": "path",
"required": true,
"type": "string"
},
"skuId": {
"description": "Name for sku",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{productId}/sku/{skuId}/user",
"request": {
"$ref": "LicenseAssignmentInsert"
},
"response": {
"$ref": "LicenseAssignment"
},
"scopes": [
"https://www.googleapis.com/auth/apps.licensing"
]
},
"listForProduct": {
"description": "List license assignments for given product of the customer.",
"httpMethod": "GET",
"id": "licensing.licenseAssignments.listForProduct",
"parameterOrder": [
"productId",
"customerId"
],
"parameters": {
"customerId": {
"description": "CustomerId represents the customer for whom licenseassignments are queried",
"location": "query",
"required": true,
"type": "string"
},
"maxResults": {
"default": "100",
"description": "Maximum number of campaigns to return at one time. Must be positive. Optional. Default value is 100.",
"format": "uint32",
"location": "query",
"maximum": "1000",
"minimum": "1",
"type": "integer"
},
"pageToken": {
"default": "",
"description": "Token to fetch the next page.Optional. By default server will return first page",
"location": "query",
"type": "string"
},
"productId": {
"description": "Name for product",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{productId}/users",
"response": {
"$ref": "LicenseAssignmentList"
},
"scopes": [
"https://www.googleapis.com/auth/apps.licensing"
]
},
"listForProductAndSku": {
"description": "List license assignments for given product and sku of the customer.",
"httpMethod": "GET",
"id": "licensing.licenseAssignments.listForProductAndSku",
"parameterOrder": [
"productId",
"skuId",
"customerId"
],
"parameters": {
"customerId": {
"description": "CustomerId represents the customer for whom licenseassignments are queried",
"location": "query",
"required": true,
"type": "string"
},
"maxResults": {
"default": "100",
"description": "Maximum number of campaigns to return at one time. Must be positive. Optional. Default value is 100.",
"format": "uint32",
"location": "query",
"maximum": "1000",
"minimum": "1",
"type": "integer"
},
"pageToken": {
"default": "",
"description": "Token to fetch the next page.Optional. By default server will return first page",
"location": "query",
"type": "string"
},
"productId": {
"description": "Name for product",
"location": "path",
"required": true,
"type": "string"
},
"skuId": {
"description": "Name for sku",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{productId}/sku/{skuId}/users",
"response": {
"$ref": "LicenseAssignmentList"
},
"scopes": [
"https://www.googleapis.com/auth/apps.licensing"
]
},
"patch": {
"description": "Assign License. This method supports patch semantics.",
"httpMethod": "PATCH",
"id": "licensing.licenseAssignments.patch",
"parameterOrder": [
"productId",
"skuId",
"userId"
],
"parameters": {
"productId": {
"description": "Name for product",
"location": "path",
"required": true,
"type": "string"
},
"skuId": {
"description": "Name for sku for which license would be revoked",
"location": "path",
"required": true,
"type": "string"
},
"userId": {
"description": "email id or unique Id of the user",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{productId}/sku/{skuId}/user/{userId}",
"request": {
"$ref": "LicenseAssignment"
},
"response": {
"$ref": "LicenseAssignment"
},
"scopes": [
"https://www.googleapis.com/auth/apps.licensing"
]
},
"update": {
"description": "Assign License.",
"httpMethod": "PUT",
"id": "licensing.licenseAssignments.update",
"parameterOrder": [
"productId",
"skuId",
"userId"
],
"parameters": {
"productId": {
"description": "Name for product",
"location": "path",
"required": true,
"type": "string"
},
"skuId": {
"description": "Name for sku for which license would be revoked",
"location": "path",
"required": true,
"type": "string"
},
"userId": {
"description": "email id or unique Id of the user",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{productId}/sku/{skuId}/user/{userId}",
"request": {
"$ref": "LicenseAssignment"
},
"response": {
"$ref": "LicenseAssignment"
},
"scopes": [
"https://www.googleapis.com/auth/apps.licensing"
]
}
}
}
},
"revision": "20170213",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"LicenseAssignment": {
"description": "Template for LiscenseAssignment Resource",
"id": "LicenseAssignment",
"properties": {
"etags": {
"description": "ETag of the resource.",
"type": "string"
},
"kind": {
"default": "licensing#licenseAssignment",
"description": "Identifies the resource as a LicenseAssignment.",
"type": "string"
},
"productId": {
"annotations": {
"required": [
"licensing.licenseAssignments.update"
]
},
"description": "Id of the product.",
"type": "string"
},
"productName": {
"description": "Display Name of the product.",
"type": "string"
},
"selfLink": {
"description": "Link to this page.",
"type": "string"
},
"skuId": {
"annotations": {
"required": [
"licensing.licenseAssignments.update"
]
},
"description": "Id of the sku of the product.",
"type": "string"
},
"skuName": {
"description": "Display Name of the sku of the product.",
"type": "string"
},
"userId": {
"annotations": {
"required": [
"licensing.licenseAssignments.update"
]
},
"description": "Email id of the user.",
"type": "string"
}
},
"type": "object"
},
"LicenseAssignmentInsert": {
"description": "Template for LicenseAssignment Insert request",
"id": "LicenseAssignmentInsert",
"properties": {
"userId": {
"annotations": {
"required": [
"licensing.licenseAssignments.insert"
]
},
"description": "Email id of the user",
"type": "string"
}
},
"type": "object"
},
"LicenseAssignmentList": {
"description": "LicesnseAssignment List for a given product/sku for a customer.",
"id": "LicenseAssignmentList",
"properties": {
"etag": {
"description": "ETag of the resource.",
"type": "string"
},
"items": {
"description": "The LicenseAssignments in this page of results.",
"items": {
"$ref": "LicenseAssignment"
},
"type": "array"
},
"kind": {
"default": "licensing#licenseAssignmentList",
"description": "Identifies the resource as a collection of LicenseAssignments.",
"type": "string"
},
"nextPageToken": {
"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.",
"type": "string"
}
},
"type": "object"
}
},
"servicePath": "apps/licensing/v1/product/",
"title": "Enterprise License Manager API",
"version": "v1"
}