mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
Upgrade to latest API versions + code regen
This commit is contained in:
@@ -0,0 +1,250 @@
|
||||
{
|
||||
"ownerName": "Google",
|
||||
"resources": {
|
||||
"sites": {
|
||||
"methods": {
|
||||
"get": {
|
||||
"response": {
|
||||
"$ref": "SiteSummaryResponse"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"httpMethod": "GET",
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/xapi.zoo"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "The required site name. This is the site property whose abusive\nexperiences have been reviewed, and it must be URL-encoded. For example,\nsites/https%3A%2F%2Fwww.google.com. The server will return an error of\nBAD_REQUEST if this field is not filled in. Note that if the site property\nis not yet verified in Search Console, the reportUrl field\nreturned by the API will lead to the verification page, prompting the user\nto go through that process before they can gain access to the Abusive\nExperience Report.",
|
||||
"required": true,
|
||||
"type": "string",
|
||||
"pattern": "^sites/[^/]+$",
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"flatPath": "v1/sites/{sitesId}",
|
||||
"path": "v1/{+name}",
|
||||
"id": "abusiveexperiencereport.sites.get",
|
||||
"description": "Gets a summary of the abusive experience rating of a site."
|
||||
}
|
||||
}
|
||||
},
|
||||
"violatingSites": {
|
||||
"methods": {
|
||||
"list": {
|
||||
"description": "Lists sites with Abusive Experience Report statuses of \"Failing\".",
|
||||
"httpMethod": "GET",
|
||||
"parameterOrder": [],
|
||||
"response": {
|
||||
"$ref": "ViolatingSitesResponse"
|
||||
},
|
||||
"parameters": {},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/xapi.zoo"
|
||||
],
|
||||
"flatPath": "v1/violatingSites",
|
||||
"id": "abusiveexperiencereport.violatingSites.list",
|
||||
"path": "v1/violatingSites"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
"fields": {
|
||||
"location": "query",
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"type": "string"
|
||||
},
|
||||
"uploadType": {
|
||||
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
],
|
||||
"location": "query",
|
||||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
],
|
||||
"description": "V1 error format.",
|
||||
"type": "string"
|
||||
},
|
||||
"alt": {
|
||||
"enumDescriptions": [
|
||||
"Responses with Content-Type of application/json",
|
||||
"Media download with context-dependent Content-Type",
|
||||
"Responses with Content-Type of application/x-protobuf"
|
||||
],
|
||||
"location": "query",
|
||||
"description": "Data format for response.",
|
||||
"default": "json",
|
||||
"enum": [
|
||||
"json",
|
||||
"media",
|
||||
"proto"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"access_token": {
|
||||
"description": "OAuth access token.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"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.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"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.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"pp": {
|
||||
"location": "query",
|
||||
"description": "Pretty-print response.",
|
||||
"type": "boolean",
|
||||
"default": "true"
|
||||
},
|
||||
"bearer_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth bearer token.",
|
||||
"type": "string"
|
||||
},
|
||||
"oauth_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"type": "string"
|
||||
},
|
||||
"upload_protocol": {
|
||||
"location": "query",
|
||||
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
|
||||
"type": "string"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"type": "boolean",
|
||||
"default": "true",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"version": "v1",
|
||||
"baseUrl": "https://abusiveexperiencereport.googleapis.com/",
|
||||
"servicePath": "",
|
||||
"description": "View Abusive Experience Report data, and get a list of sites that have a significant number of abusive experiences.",
|
||||
"kind": "discovery#restDescription",
|
||||
"basePath": "",
|
||||
"documentationLink": "https://developers.google.com/abusive-experience-report/",
|
||||
"id": "abusiveexperiencereport:v1",
|
||||
"revision": "20171129",
|
||||
"discoveryVersion": "v1",
|
||||
"version_module": true,
|
||||
"schemas": {
|
||||
"ViolatingSitesResponse": {
|
||||
"properties": {
|
||||
"violatingSites": {
|
||||
"description": "A list of summaries of violating sites.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "SiteSummaryResponse"
|
||||
}
|
||||
}
|
||||
},
|
||||
"id": "ViolatingSitesResponse",
|
||||
"description": "Response message for ListViolatingSites.",
|
||||
"type": "object"
|
||||
},
|
||||
"SiteSummaryResponse": {
|
||||
"properties": {
|
||||
"underReview": {
|
||||
"description": "Whether the site is currently under review.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"reportUrl": {
|
||||
"description": "A link that leads to a full abusive experience report.",
|
||||
"type": "string"
|
||||
},
|
||||
"lastChangeTime": {
|
||||
"description": "The last time that the site changed status.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"reviewedSite": {
|
||||
"description": "The name of the site reviewed.",
|
||||
"type": "string"
|
||||
},
|
||||
"abusiveStatus": {
|
||||
"description": "The status of the site reviewed for the abusive experiences.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Not reviewed.",
|
||||
"Passing.",
|
||||
"Failing."
|
||||
],
|
||||
"enum": [
|
||||
"UNKNOWN",
|
||||
"PASSING",
|
||||
"FAILING"
|
||||
]
|
||||
},
|
||||
"enforcementTime": {
|
||||
"description": "The date on which enforcement begins.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"filterStatus": {
|
||||
"enumDescriptions": [
|
||||
"N/A.",
|
||||
"Ad filtering is on.",
|
||||
"Ad filtering is off.",
|
||||
"Ad filtering is paused.",
|
||||
"Ad filtering is pending."
|
||||
],
|
||||
"enum": [
|
||||
"UNKNOWN",
|
||||
"ON",
|
||||
"OFF",
|
||||
"PAUSED",
|
||||
"PENDING"
|
||||
],
|
||||
"description": "The abusive experience enforcement status of the site.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "SiteSummaryResponse",
|
||||
"description": "Response message for GetSiteSummary.",
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"protocol": "rest",
|
||||
"icons": {
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif",
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif"
|
||||
},
|
||||
"canonicalName": "Abusive Experience Report",
|
||||
"auth": {
|
||||
"oauth2": {
|
||||
"scopes": {
|
||||
"https://www.googleapis.com/auth/xapi.zoo": {
|
||||
"description": "Test scope for access to the Zoo service"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"rootUrl": "https://abusiveexperiencereport.googleapis.com/",
|
||||
"ownerDomain": "google.com",
|
||||
"name": "abusiveexperiencereport",
|
||||
"batchPath": "batch",
|
||||
"fullyEncodeReservedExpansion": true,
|
||||
"title": "Google Abusive Experience Report API"
|
||||
}
|
||||
@@ -1,7 +1,4 @@
|
||||
{
|
||||
"ownerName": "Google",
|
||||
"discoveryVersion": "v1",
|
||||
"version_module": true,
|
||||
"resources": {
|
||||
"ampUrls": {
|
||||
"methods": {
|
||||
@@ -13,47 +10,78 @@
|
||||
},
|
||||
"parameters": {},
|
||||
"flatPath": "v1/ampUrls:batchGet",
|
||||
"path": "v1/ampUrls:batchGet",
|
||||
"id": "acceleratedmobilepageurl.ampUrls.batchGet",
|
||||
"description": "Returns AMP URL(s) and equivalent\n[AMP Cache URL(s)](/amp/cache/overview#amp-cache-url-format).",
|
||||
"path": "v1/ampUrls:batchGet",
|
||||
"request": {
|
||||
"$ref": "BatchGetAmpUrlsRequest"
|
||||
}
|
||||
},
|
||||
"description": "Returns AMP URL(s) and equivalent\n[AMP Cache URL(s)](/amp/cache/overview#amp-cache-url-format)."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
"alt": {
|
||||
"enum": [
|
||||
"json",
|
||||
"media",
|
||||
"proto"
|
||||
],
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Responses with Content-Type of application/json",
|
||||
"Media download with context-dependent Content-Type",
|
||||
"Responses with Content-Type of application/x-protobuf"
|
||||
],
|
||||
"location": "query",
|
||||
"description": "Data format for response.",
|
||||
"default": "json"
|
||||
},
|
||||
"key": {
|
||||
"location": "query",
|
||||
"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.",
|
||||
"type": "string"
|
||||
},
|
||||
"access_token": {
|
||||
"description": "OAuth access token.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"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.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"pp": {
|
||||
"description": "Pretty-print response.",
|
||||
"default": "true",
|
||||
"type": "boolean",
|
||||
"location": "query"
|
||||
},
|
||||
"oauth_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"type": "string"
|
||||
"description": "Pretty-print response.",
|
||||
"type": "boolean",
|
||||
"default": "true"
|
||||
},
|
||||
"bearer_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth bearer token.",
|
||||
"type": "string"
|
||||
},
|
||||
"upload_protocol": {
|
||||
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
|
||||
"oauth_token": {
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"upload_protocol": {
|
||||
"location": "query",
|
||||
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
|
||||
"type": "string"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"location": "query",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"default": "true",
|
||||
"type": "boolean",
|
||||
"default": "true"
|
||||
},
|
||||
"uploadType": {
|
||||
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"fields": {
|
||||
@@ -61,15 +89,10 @@
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"uploadType": {
|
||||
"location": "query",
|
||||
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"location": "query",
|
||||
"description": "JSONP",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
"type": "string"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"enum": [
|
||||
@@ -83,74 +106,48 @@
|
||||
"v2 error format"
|
||||
],
|
||||
"location": "query"
|
||||
},
|
||||
"alt": {
|
||||
"description": "Data format for response.",
|
||||
"default": "json",
|
||||
"enum": [
|
||||
"json",
|
||||
"media",
|
||||
"proto"
|
||||
],
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Responses with Content-Type of application/json",
|
||||
"Media download with context-dependent Content-Type",
|
||||
"Responses with Content-Type of application/x-protobuf"
|
||||
],
|
||||
"location": "query"
|
||||
},
|
||||
"key": {
|
||||
"location": "query",
|
||||
"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.",
|
||||
"type": "string"
|
||||
},
|
||||
"access_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth access token.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"schemas": {
|
||||
"BatchGetAmpUrlsResponse": {
|
||||
"description": "Batch AMP URL response.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"urlErrors": {
|
||||
"description": "The errors for requested URLs that have no AMP URL.",
|
||||
"items": {
|
||||
"$ref": "AmpUrlError"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"ampUrls": {
|
||||
"description": "For each URL in BatchAmpUrlsRequest, the URL response. The response might\nnot be in the same order as URLs in the batch request.\nIf BatchAmpUrlsRequest contains duplicate URLs, AmpUrl is generated\nonly once.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "AmpUrl"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"urlErrors": {
|
||||
"description": "The errors for requested URLs that have no AMP URL.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "AmpUrlError"
|
||||
}
|
||||
}
|
||||
},
|
||||
"id": "BatchGetAmpUrlsResponse"
|
||||
"id": "BatchGetAmpUrlsResponse",
|
||||
"description": "Batch AMP URL response.",
|
||||
"type": "object"
|
||||
},
|
||||
"AmpUrl": {
|
||||
"description": "AMP URL response for a requested URL.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"cdnAmpUrl": {
|
||||
"description": "The [AMP Cache URL](/amp/cache/overview#amp-cache-url-format) pointing to\nthe cached document in the Google AMP Cache.",
|
||||
"type": "string"
|
||||
},
|
||||
"ampUrl": {
|
||||
"description": "The AMP URL pointing to the publisher's web server.",
|
||||
"type": "string"
|
||||
},
|
||||
"originalUrl": {
|
||||
"description": "The original non-AMP URL.",
|
||||
"type": "string"
|
||||
},
|
||||
"ampUrl": {
|
||||
"description": "The AMP URL pointing to the publisher's web server.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "AmpUrl"
|
||||
"id": "AmpUrl",
|
||||
"description": "AMP URL response for a requested URL.",
|
||||
"type": "object"
|
||||
},
|
||||
"AmpUrlError": {
|
||||
"description": "AMP URL Error resource for a requested URL that couldn't be found.",
|
||||
@@ -193,30 +190,30 @@
|
||||
"properties": {
|
||||
"urls": {
|
||||
"description": "List of URLs to look up for the paired AMP URLs.\nThe URLs are case-sensitive. Up to 50 URLs per lookup\n(see [Usage Limits](/amp/cache/reference/limits)).",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"lookupStrategy": {
|
||||
"enumDescriptions": [
|
||||
"FETCH_LIVE_DOC strategy involves live document fetch of URLs not found in\nthe index. Any request URL not found in the index is crawled in realtime\nto validate if there is a corresponding AMP URL. This strategy has higher\ncoverage but with extra latency introduced by realtime crawling. This is\nthe default strategy. Applications using this strategy should set higher\nHTTP timeouts of the API calls.",
|
||||
"IN_INDEX_DOC strategy skips fetching live documents of URL(s) not found\nin index. For applications which need low latency use of IN_INDEX_DOC\nstrategy is recommended."
|
||||
],
|
||||
"enum": [
|
||||
"FETCH_LIVE_DOC",
|
||||
"IN_INDEX_DOC"
|
||||
],
|
||||
"description": "The lookup_strategy being requested.",
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"FETCH_LIVE_DOC strategy involves live document fetch of URLs not found in\nthe index. Any request URL not found in the index is crawled in realtime\nto validate if there is a corresponding AMP URL. This strategy has higher\ncoverage but with extra latency introduced by realtime crawling. This is\nthe default strategy. Applications using this strategy should set higher\nHTTP timeouts of the API calls.",
|
||||
"IN_INDEX_DOC strategy skips fetching live documents of URL(s) not found\nin index. For applications which need low latency use of IN_INDEX_DOC\nstrategy is recommended."
|
||||
]
|
||||
}
|
||||
},
|
||||
"id": "BatchGetAmpUrlsRequest"
|
||||
}
|
||||
},
|
||||
"icons": {
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif",
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif"
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
||||
},
|
||||
"protocol": "rest",
|
||||
"version": "v1",
|
||||
@@ -229,8 +226,11 @@
|
||||
"ownerDomain": "google.com",
|
||||
"name": "acceleratedmobilepageurl",
|
||||
"batchPath": "batch",
|
||||
"revision": "20171202",
|
||||
"documentationLink": "https://developers.google.com/amp/cache/",
|
||||
"revision": "20170921",
|
||||
"id": "acceleratedmobilepageurl:v1",
|
||||
"title": "Accelerated Mobile Pages (AMP) URL API"
|
||||
"title": "Accelerated Mobile Pages (AMP) URL API",
|
||||
"discoveryVersion": "v1",
|
||||
"ownerName": "Google",
|
||||
"version_module": true
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/Dz_LMqDcbtnyBd4CwnrsbswCFU4\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/ptWrH6xTfYx9JmkFvi4WlT7efFk\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "adexchangeseller:v1.1",
|
||||
"name": "adexchangeseller",
|
||||
"canonicalName": "Ad Exchange Seller",
|
||||
"version": "v1.1",
|
||||
"revision": "20160805",
|
||||
"revision": "20171101",
|
||||
"title": "Ad Exchange Seller API",
|
||||
"description": "Accesses the inventory of Ad Exchange seller users and generates reports.",
|
||||
"ownerDomain": "google.com",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/EberIAMM9RntL16aqUh0FmyQxWY\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/LZjbJqGI4YbMK1jq7CAP1O0QwyE\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "adexchangeseller:v1",
|
||||
"name": "adexchangeseller",
|
||||
"canonicalName": "Ad Exchange Seller",
|
||||
"version": "v1",
|
||||
"revision": "20160805",
|
||||
"revision": "20171101",
|
||||
"title": "Ad Exchange Seller API",
|
||||
"description": "Accesses the inventory of Ad Exchange seller users and generates reports.",
|
||||
"ownerDomain": "google.com",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/1XDufO4826VKTkrV2WU9EmKApiQ\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/yPQ_FKbZQkgdh3799oQXrXWTC8I\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "adexchangeseller:v2.0",
|
||||
"name": "adexchangeseller",
|
||||
"canonicalName": "Ad Exchange Seller",
|
||||
"version": "v2.0",
|
||||
"revision": "20160805",
|
||||
"revision": "20171101",
|
||||
"title": "Ad Exchange Seller API",
|
||||
"description": "Accesses the inventory of Ad Exchange seller users and generates reports.",
|
||||
"ownerDomain": "google.com",
|
||||
|
||||
@@ -1,21 +1,67 @@
|
||||
{
|
||||
"version": "v1",
|
||||
"baseUrl": "https://adexperiencereport.googleapis.com/",
|
||||
"servicePath": "",
|
||||
"description": "View Ad Experience Report data, and get a list of sites that have a significant number of annoying ads.",
|
||||
"kind": "discovery#restDescription",
|
||||
"basePath": "",
|
||||
"documentationLink": "https://developers.google.com/ad-experience-report/",
|
||||
"revision": "20170918",
|
||||
"id": "adexperiencereport:v1",
|
||||
"discoveryVersion": "v1",
|
||||
"version_module": true,
|
||||
"schemas": {
|
||||
"PlatformSummary": {
|
||||
"description": "Summary of the ad experience rating of a site for a specific platform.",
|
||||
"ViolatingSitesResponse": {
|
||||
"description": "Response message for ListViolatingSites.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"violatingSites": {
|
||||
"description": "A list of summaries of violating sites.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "SiteSummaryResponse"
|
||||
}
|
||||
}
|
||||
},
|
||||
"id": "ViolatingSitesResponse"
|
||||
},
|
||||
"SiteSummaryResponse": {
|
||||
"description": "Response message for GetSiteSummary.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"desktopSummary": {
|
||||
"description": "Summary for the desktop review of the site.",
|
||||
"$ref": "PlatformSummary"
|
||||
},
|
||||
"mobileSummary": {
|
||||
"$ref": "PlatformSummary",
|
||||
"description": "Summary for the mobile review of the site."
|
||||
},
|
||||
"reviewedSite": {
|
||||
"description": "The name of the site reviewed.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "SiteSummaryResponse"
|
||||
},
|
||||
"PlatformSummary": {
|
||||
"properties": {
|
||||
"enforcementTime": {
|
||||
"description": "The date on which ad filtering begins.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"region": {
|
||||
"description": "The assigned regions for the site and platform.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"enum": [
|
||||
"REGION_UNKNOWN",
|
||||
"REGION_A",
|
||||
"REGION_B"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"enumDescriptions": [
|
||||
"Ad standard not yet defined for your region.",
|
||||
"Region A.",
|
||||
"Region B."
|
||||
]
|
||||
},
|
||||
"filterStatus": {
|
||||
"description": "The ad filtering status of the site.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"N/A.",
|
||||
"Ad filtering is on.",
|
||||
@@ -29,9 +75,7 @@
|
||||
"OFF",
|
||||
"PAUSED",
|
||||
"PENDING"
|
||||
],
|
||||
"description": "The ad filtering status of the site.",
|
||||
"type": "string"
|
||||
]
|
||||
},
|
||||
"underReview": {
|
||||
"description": "Whether the site is currently under review.",
|
||||
@@ -42,11 +86,17 @@
|
||||
"type": "string"
|
||||
},
|
||||
"lastChangeTime": {
|
||||
"format": "google-datetime",
|
||||
"description": "The last time that the site changed status.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"betterAdsStatus": {
|
||||
"enumDescriptions": [
|
||||
"Not reviewed.",
|
||||
"Passing.",
|
||||
"Warning.",
|
||||
"Failing."
|
||||
],
|
||||
"enum": [
|
||||
"UNKNOWN",
|
||||
"PASSING",
|
||||
@@ -54,78 +104,19 @@
|
||||
"FAILING"
|
||||
],
|
||||
"description": "The status of the site reviewed for the Better Ads Standards.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Not reviewed.",
|
||||
"Passing.",
|
||||
"Warning.",
|
||||
"Failing."
|
||||
]
|
||||
},
|
||||
"enforcementTime": {
|
||||
"format": "google-datetime",
|
||||
"description": "The date on which ad filtering begins.",
|
||||
"type": "string"
|
||||
},
|
||||
"region": {
|
||||
"description": "The assigned regions for the site and platform.",
|
||||
"items": {
|
||||
"enum": [
|
||||
"REGION_UNKNOWN",
|
||||
"REGION_A",
|
||||
"REGION_B"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array",
|
||||
"enumDescriptions": [
|
||||
"Ad standard not yet defined for your region.",
|
||||
"Region A.",
|
||||
"Region B."
|
||||
]
|
||||
}
|
||||
},
|
||||
"id": "PlatformSummary"
|
||||
},
|
||||
"ViolatingSitesResponse": {
|
||||
"properties": {
|
||||
"violatingSites": {
|
||||
"description": "A list of summaries of violating sites.",
|
||||
"items": {
|
||||
"$ref": "SiteSummaryResponse"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"id": "ViolatingSitesResponse",
|
||||
"description": "Response message for ListViolatingSites.",
|
||||
"id": "PlatformSummary",
|
||||
"description": "Summary of the ad experience rating of a site for a specific platform.",
|
||||
"type": "object"
|
||||
},
|
||||
"SiteSummaryResponse": {
|
||||
"description": "Response message for GetSiteSummary.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"mobileSummary": {
|
||||
"description": "Summary for the mobile review of the site.",
|
||||
"$ref": "PlatformSummary"
|
||||
},
|
||||
"reviewedSite": {
|
||||
"description": "The name of the site reviewed.",
|
||||
"type": "string"
|
||||
},
|
||||
"desktopSummary": {
|
||||
"description": "Summary for the desktop review of the site.",
|
||||
"$ref": "PlatformSummary"
|
||||
}
|
||||
},
|
||||
"id": "SiteSummaryResponse"
|
||||
}
|
||||
},
|
||||
"icons": {
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
||||
},
|
||||
"protocol": "rest",
|
||||
"icons": {
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif",
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif"
|
||||
},
|
||||
"canonicalName": "Ad Experience Report",
|
||||
"auth": {
|
||||
"oauth2": {
|
||||
@@ -146,11 +137,11 @@
|
||||
"violatingSites": {
|
||||
"methods": {
|
||||
"list": {
|
||||
"httpMethod": "GET",
|
||||
"parameterOrder": [],
|
||||
"response": {
|
||||
"$ref": "ViolatingSitesResponse"
|
||||
},
|
||||
"parameterOrder": [],
|
||||
"httpMethod": "GET",
|
||||
"parameters": {},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/xapi.zoo"
|
||||
@@ -165,6 +156,9 @@
|
||||
"sites": {
|
||||
"methods": {
|
||||
"get": {
|
||||
"path": "v1/{+name}",
|
||||
"id": "adexperiencereport.sites.get",
|
||||
"description": "Gets a summary of the ad experience rating of a site.",
|
||||
"response": {
|
||||
"$ref": "SiteSummaryResponse"
|
||||
},
|
||||
@@ -172,27 +166,84 @@
|
||||
"name"
|
||||
],
|
||||
"httpMethod": "GET",
|
||||
"parameters": {
|
||||
"name": {
|
||||
"pattern": "^sites/[^/]+$",
|
||||
"location": "path",
|
||||
"description": "The required site name. It should be the site property whose ad experiences\nmay have been reviewed, and it should be URL-encoded. For example,\nsites/https%3A%2F%2Fwww.google.com. The server will return an error of\nBAD_REQUEST if this field is not filled in. Note that if the site property\nis not yet verified in Search Console, the reportUrl field returned by the\nAPI will lead to the verification page, prompting the user to go through\nthat process before they can gain access to the Ad Experience Report.",
|
||||
"type": "string",
|
||||
"required": true
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/xapi.zoo"
|
||||
],
|
||||
"flatPath": "v1/sites/{sitesId}",
|
||||
"id": "adexperiencereport.sites.get",
|
||||
"path": "v1/{+name}",
|
||||
"description": "Gets a summary of the ad experience rating of a site."
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "The required site name. It should be the site property whose ad experiences\nmay have been reviewed, and it should be URL-encoded. For example,\nsites/https%3A%2F%2Fwww.google.com. The server will return an error of\nBAD_REQUEST if this field is not filled in. Note that if the site property\nis not yet verified in Search Console, the reportUrl field returned by the\nAPI will lead to the verification page, prompting the user to go through\nthat process before they can gain access to the Ad Experience Report.",
|
||||
"required": true,
|
||||
"type": "string",
|
||||
"pattern": "^sites/[^/]+$",
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"flatPath": "v1/sites/{sitesId}"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
"prettyPrint": {
|
||||
"location": "query",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"type": "boolean",
|
||||
"default": "true"
|
||||
},
|
||||
"fields": {
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"uploadType": {
|
||||
"location": "query",
|
||||
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
||||
"type": "string"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"location": "query",
|
||||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
],
|
||||
"description": "V1 error format.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
]
|
||||
},
|
||||
"callback": {
|
||||
"location": "query",
|
||||
"description": "JSONP",
|
||||
"type": "string"
|
||||
},
|
||||
"alt": {
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Responses with Content-Type of application/json",
|
||||
"Media download with context-dependent Content-Type",
|
||||
"Responses with Content-Type of application/x-protobuf"
|
||||
],
|
||||
"location": "query",
|
||||
"description": "Data format for response.",
|
||||
"default": "json",
|
||||
"enum": [
|
||||
"json",
|
||||
"media",
|
||||
"proto"
|
||||
]
|
||||
},
|
||||
"access_token": {
|
||||
"description": "OAuth access token.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"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.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"quotaUser": {
|
||||
"location": "query",
|
||||
"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.",
|
||||
@@ -200,8 +251,8 @@
|
||||
},
|
||||
"pp": {
|
||||
"description": "Pretty-print response.",
|
||||
"default": "true",
|
||||
"type": "boolean",
|
||||
"default": "true",
|
||||
"location": "query"
|
||||
},
|
||||
"oauth_token": {
|
||||
@@ -215,69 +266,18 @@
|
||||
"location": "query"
|
||||
},
|
||||
"upload_protocol": {
|
||||
"location": "query",
|
||||
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
|
||||
"type": "string"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"default": "true",
|
||||
"type": "boolean",
|
||||
"location": "query"
|
||||
},
|
||||
"uploadType": {
|
||||
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"fields": {
|
||||
"location": "query",
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"location": "query",
|
||||
"description": "JSONP",
|
||||
"type": "string"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
],
|
||||
"location": "query",
|
||||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
],
|
||||
"description": "V1 error format.",
|
||||
"type": "string"
|
||||
},
|
||||
"alt": {
|
||||
"enumDescriptions": [
|
||||
"Responses with Content-Type of application/json",
|
||||
"Media download with context-dependent Content-Type",
|
||||
"Responses with Content-Type of application/x-protobuf"
|
||||
],
|
||||
"location": "query",
|
||||
"description": "Data format for response.",
|
||||
"default": "json",
|
||||
"enum": [
|
||||
"json",
|
||||
"media",
|
||||
"proto"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"access_token": {
|
||||
"description": "OAuth access token.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"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.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": "v1",
|
||||
"baseUrl": "https://adexperiencereport.googleapis.com/",
|
||||
"kind": "discovery#restDescription",
|
||||
"description": "View Ad Experience Report data, and get a list of sites that have a significant number of annoying ads.",
|
||||
"servicePath": "",
|
||||
"basePath": "",
|
||||
"revision": "20171129",
|
||||
"documentationLink": "https://developers.google.com/ad-experience-report/",
|
||||
"id": "adexperiencereport:v1"
|
||||
}
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/JB19efQGH5f-JRT49yZz7BTyNQU\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/Kj9xn8poaVUzROuH45_u0sIJuaA\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "admin:directory_v1",
|
||||
"name": "admin",
|
||||
"canonicalName": "directory",
|
||||
"version": "directory_v1",
|
||||
"revision": "20170830",
|
||||
"revision": "20171127",
|
||||
"title": "Admin Directory API",
|
||||
"description": "The Admin SDK Directory API lets you view and manage enterprise resources such as users and groups, administrative notifications, security features, and more.",
|
||||
"ownerDomain": "google.com",
|
||||
@@ -207,6 +207,50 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"AppAccessCollections": {
|
||||
"id": "AppAccessCollections",
|
||||
"type": "object",
|
||||
"description": "JSON template for App Access Collections Resource object in Directory API.",
|
||||
"properties": {
|
||||
"blockedApiAccessBuckets": {
|
||||
"type": "array",
|
||||
"description": "List of blocked api access buckets.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"enforceSettingsForAndroidDrive": {
|
||||
"type": "boolean",
|
||||
"description": "Boolean to indicate whether to enforce app access settings on Android Drive or not."
|
||||
},
|
||||
"errorMessage": {
|
||||
"type": "string",
|
||||
"description": "Error message provided by the Admin that will be shown to the user when an app is blocked."
|
||||
},
|
||||
"etag": {
|
||||
"type": "string",
|
||||
"description": "ETag of the resource."
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"description": "Identifies the resource as an app access collection. Value: admin#directory#appaccesscollection",
|
||||
"default": "admin#directory#appaccesscollection"
|
||||
},
|
||||
"resourceId": {
|
||||
"type": "string",
|
||||
"description": "Unique ID of app access collection. (Readonly)",
|
||||
"format": "int64"
|
||||
},
|
||||
"resourceName": {
|
||||
"type": "string",
|
||||
"description": "Resource name given by the customer while creating/updating. Should be unique under given customer."
|
||||
},
|
||||
"trustDomainOwnedApps": {
|
||||
"type": "boolean",
|
||||
"description": "Boolean that indicates whether to trust domain owned apps."
|
||||
}
|
||||
}
|
||||
},
|
||||
"Asp": {
|
||||
"id": "Asp",
|
||||
"type": "object",
|
||||
@@ -273,26 +317,50 @@
|
||||
"type": "object",
|
||||
"description": "JSON template for Calendar Resource object in Directory API.",
|
||||
"properties": {
|
||||
"buildingId": {
|
||||
"type": "string",
|
||||
"description": "Unique ID for the building a resource is located in."
|
||||
},
|
||||
"capacity": {
|
||||
"type": "integer",
|
||||
"description": "Capacity of a resource, number of seats in a room.",
|
||||
"format": "int32"
|
||||
},
|
||||
"etags": {
|
||||
"type": "string",
|
||||
"description": "ETag of the resource."
|
||||
},
|
||||
"featureInstances": {
|
||||
"type": "any"
|
||||
},
|
||||
"floorName": {
|
||||
"type": "string",
|
||||
"description": "Name of the floor a resource is located on."
|
||||
},
|
||||
"floorSection": {
|
||||
"type": "string",
|
||||
"description": "Name of the section within a floor a resource is located in."
|
||||
},
|
||||
"generatedResourceName": {
|
||||
"type": "string",
|
||||
"description": "The auto-generated name of the calendar resource which includes metadata about the resource such as building name, floor, capacity, etc. For example, NYC-2-Training Room 1A (16)"
|
||||
"description": "The read-only auto-generated name of the calendar resource which includes metadata about the resource such as building name, floor, capacity, etc. For example, \"NYC-2-Training Room 1A (16)\"."
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"description": "The type of the resource. For calendar resources, the value is admin#directory#resources#calendars#CalendarResource.",
|
||||
"default": "admin#directory#resources#calendars#CalendarResource"
|
||||
},
|
||||
"resourceCategory": {
|
||||
"type": "string",
|
||||
"description": "The category of the calendar resource. Either CONFERENCE_ROOM or OTHER. Legacy data is set to CATEGORY_UNKNOWN."
|
||||
},
|
||||
"resourceDescription": {
|
||||
"type": "string",
|
||||
"description": "The brief description of the calendar resource."
|
||||
"description": "Description of the resource, visible only to admins. The brief description of the calendar resource."
|
||||
},
|
||||
"resourceEmail": {
|
||||
"type": "string",
|
||||
"description": "The read-only email ID for the calendar resource. Generated as part of creating a new calendar resource."
|
||||
"description": "The read-only email ID for the calendar resource. Generated as part of creating a new calendar resource. The read-only email for the calendar resource. Generated as part of creating a new calendar resource."
|
||||
},
|
||||
"resourceId": {
|
||||
"type": "string",
|
||||
@@ -300,11 +368,15 @@
|
||||
},
|
||||
"resourceName": {
|
||||
"type": "string",
|
||||
"description": "The name of the calendar resource. For example, Training Room 1A"
|
||||
"description": "The name of the calendar resource. For example, \"Training Room 1A\". The name of the calendar resource. For example, Training Room 1A"
|
||||
},
|
||||
"resourceType": {
|
||||
"type": "string",
|
||||
"description": "The type of the calendar resource. Used for grouping resources in the calendar user interface."
|
||||
"description": "The type of the calendar resource, intended for non-room resources. The type of the calendar resource. Used for grouping resources in the calendar user interface."
|
||||
},
|
||||
"userVisibleDescription": {
|
||||
"type": "string",
|
||||
"description": "Description of the resource, visible to users and admins."
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -428,6 +500,32 @@
|
||||
"type": "string",
|
||||
"description": "Chromebook boot mode (Read-only)"
|
||||
},
|
||||
"deviceFiles": {
|
||||
"type": "array",
|
||||
"description": "List of device files to download (Read-only)",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"createTime": {
|
||||
"type": "string",
|
||||
"description": "Date and time the file was created",
|
||||
"format": "date-time"
|
||||
},
|
||||
"downloadUrl": {
|
||||
"type": "string",
|
||||
"description": "File downlod URL"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "File name"
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"description": "File type"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"deviceId": {
|
||||
"type": "string",
|
||||
"description": "Unique identifier of Chrome OS Device (Read-only)"
|
||||
@@ -809,6 +907,36 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"Feature": {
|
||||
"id": "Feature",
|
||||
"type": "object",
|
||||
"description": "JSON template for Feature object in Directory API.",
|
||||
"properties": {
|
||||
"etags": {
|
||||
"type": "string",
|
||||
"description": "ETag of the resource."
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"description": "Kind of resource this is.",
|
||||
"default": "admin#directory#resources#features#Feature"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The name of the feature."
|
||||
}
|
||||
}
|
||||
},
|
||||
"FeatureInstance": {
|
||||
"id": "FeatureInstance",
|
||||
"type": "object",
|
||||
"description": "JSON template for a \"feature instance\".",
|
||||
"properties": {
|
||||
"feature": {
|
||||
"$ref": "Feature"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Group": {
|
||||
"id": "Group",
|
||||
"type": "object",
|
||||
@@ -959,6 +1087,18 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"MembersHasMember": {
|
||||
"id": "MembersHasMember",
|
||||
"type": "object",
|
||||
"description": "JSON template for Has Member response in Directory API.",
|
||||
"properties": {
|
||||
"isMember": {
|
||||
"type": "boolean",
|
||||
"description": "Identifies whether given user is a member or not.",
|
||||
"readOnly": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"MobileDevice": {
|
||||
"id": "MobileDevice",
|
||||
"type": "object",
|
||||
@@ -1778,6 +1918,59 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"TrustedAppId": {
|
||||
"id": "TrustedAppId",
|
||||
"type": "object",
|
||||
"description": "JSON template for Trusted App Ids Resource object in Directory API.",
|
||||
"properties": {
|
||||
"androidPackageName": {
|
||||
"type": "string",
|
||||
"description": "Android package name."
|
||||
},
|
||||
"certificateHashSHA1": {
|
||||
"type": "string",
|
||||
"description": "SHA1 signature of the app certificate."
|
||||
},
|
||||
"certificateHashSHA256": {
|
||||
"type": "string",
|
||||
"description": "SHA256 signature of the app certificate."
|
||||
},
|
||||
"etag": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"description": "Identifies the resource as a trusted AppId.",
|
||||
"default": "admin#directory#trustedappid"
|
||||
}
|
||||
}
|
||||
},
|
||||
"TrustedApps": {
|
||||
"id": "TrustedApps",
|
||||
"type": "object",
|
||||
"description": "JSON template for Trusted Apps response object of a user in Directory API.",
|
||||
"properties": {
|
||||
"etag": {
|
||||
"type": "string",
|
||||
"description": "ETag of the resource."
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"description": "Identifies the resource as trusted apps response.",
|
||||
"default": "admin#directory#trustedapplist"
|
||||
},
|
||||
"nextPageToken": {
|
||||
"type": "string"
|
||||
},
|
||||
"trustedApps": {
|
||||
"type": "array",
|
||||
"description": "Trusted Apps list.",
|
||||
"items": {
|
||||
"$ref": "TrustedAppId"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"User": {
|
||||
"id": "User",
|
||||
"type": "object",
|
||||
@@ -2405,6 +2598,11 @@
|
||||
"type": "object",
|
||||
"description": "JSON template for a POSIX account entry. Description of the field family: go/fbs-posix.",
|
||||
"properties": {
|
||||
"accountId": {
|
||||
"type": "string",
|
||||
"description": "A POSIX account field identifier. (Read-only)",
|
||||
"readOnly": true
|
||||
},
|
||||
"gecos": {
|
||||
"type": "string",
|
||||
"description": "The GECOS (user information) for this account."
|
||||
@@ -2821,7 +3019,7 @@
|
||||
},
|
||||
"orgUnitPath": {
|
||||
"type": "string",
|
||||
"description": "Full path of the organization unit or its Id",
|
||||
"description": "Full path of the organizational unit or its ID",
|
||||
"location": "query"
|
||||
},
|
||||
"pageToken": {
|
||||
@@ -2876,7 +3074,7 @@
|
||||
"id": "directory.chromeosdevices.moveDevicesToOu",
|
||||
"path": "customer/{customerId}/devices/chromeos/moveDevicesToOu",
|
||||
"httpMethod": "POST",
|
||||
"description": "Move or insert multiple Chrome OS Devices to Organization Unit",
|
||||
"description": "Move or insert multiple Chrome OS Devices to organizational unit",
|
||||
"parameters": {
|
||||
"customerId": {
|
||||
"type": "string",
|
||||
@@ -2886,7 +3084,7 @@
|
||||
},
|
||||
"orgUnitPath": {
|
||||
"type": "string",
|
||||
"description": "Full path of the target organization unit or its Id",
|
||||
"description": "Full path of the target organizational unit or its ID",
|
||||
"required": true,
|
||||
"location": "query"
|
||||
}
|
||||
@@ -3315,7 +3513,7 @@
|
||||
"parameters": {
|
||||
"groupKey": {
|
||||
"type": "string",
|
||||
"description": "Email or immutable Id of the group",
|
||||
"description": "Email or immutable ID of the group",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -3335,7 +3533,7 @@
|
||||
"parameters": {
|
||||
"groupKey": {
|
||||
"type": "string",
|
||||
"description": "Email or immutable Id of the group",
|
||||
"description": "Email or immutable ID of the group",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -3396,7 +3594,7 @@
|
||||
},
|
||||
"userKey": {
|
||||
"type": "string",
|
||||
"description": "Email or immutable Id of the user if only those groups are to be listed, the given user is a member of. If Id, it should match with id of user object",
|
||||
"description": "Email or immutable ID of the user if only those groups are to be listed, the given user is a member of. If ID, it should match with id of user object",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
@@ -3416,7 +3614,7 @@
|
||||
"parameters": {
|
||||
"groupKey": {
|
||||
"type": "string",
|
||||
"description": "Email or immutable Id of the group. If Id, it should match with id of group object",
|
||||
"description": "Email or immutable ID of the group. If ID, it should match with id of group object",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -3442,7 +3640,7 @@
|
||||
"parameters": {
|
||||
"groupKey": {
|
||||
"type": "string",
|
||||
"description": "Email or immutable Id of the group. If Id, it should match with id of group object",
|
||||
"description": "Email or immutable ID of the group. If ID, it should match with id of group object",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -3478,7 +3676,7 @@
|
||||
},
|
||||
"groupKey": {
|
||||
"type": "string",
|
||||
"description": "Email or immutable Id of the group",
|
||||
"description": "Email or immutable ID of the group",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -3499,7 +3697,7 @@
|
||||
"parameters": {
|
||||
"groupKey": {
|
||||
"type": "string",
|
||||
"description": "Email or immutable Id of the group",
|
||||
"description": "Email or immutable ID of the group",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -3525,7 +3723,7 @@
|
||||
"parameters": {
|
||||
"groupKey": {
|
||||
"type": "string",
|
||||
"description": "Email or immutable Id of the group",
|
||||
"description": "Email or immutable ID of the group",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -3556,13 +3754,13 @@
|
||||
"parameters": {
|
||||
"groupKey": {
|
||||
"type": "string",
|
||||
"description": "Email or immutable Id of the group",
|
||||
"description": "Email or immutable ID of the group",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"memberKey": {
|
||||
"type": "string",
|
||||
"description": "Email or immutable Id of the member",
|
||||
"description": "Email or immutable ID of the member",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -3584,13 +3782,13 @@
|
||||
"parameters": {
|
||||
"groupKey": {
|
||||
"type": "string",
|
||||
"description": "Email or immutable Id of the group",
|
||||
"description": "Email or immutable ID of the group",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"memberKey": {
|
||||
"type": "string",
|
||||
"description": "Email or immutable Id of the member",
|
||||
"description": "Email or immutable ID of the member",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -3609,6 +3807,39 @@
|
||||
"https://www.googleapis.com/auth/admin.directory.group.readonly"
|
||||
]
|
||||
},
|
||||
"hasMember": {
|
||||
"id": "directory.members.hasMember",
|
||||
"path": "groups/{groupKey}/hasMember/{memberKey}",
|
||||
"httpMethod": "GET",
|
||||
"description": "Checks Membership of an user within a Group",
|
||||
"parameters": {
|
||||
"groupKey": {
|
||||
"type": "string",
|
||||
"description": "Email or immutable Id of the group",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"memberKey": {
|
||||
"type": "string",
|
||||
"description": "Email or immutable Id of the member",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"groupKey",
|
||||
"memberKey"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "MembersHasMember"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/admin.directory.group",
|
||||
"https://www.googleapis.com/auth/admin.directory.group.member",
|
||||
"https://www.googleapis.com/auth/admin.directory.group.member.readonly",
|
||||
"https://www.googleapis.com/auth/admin.directory.group.readonly"
|
||||
]
|
||||
},
|
||||
"insert": {
|
||||
"id": "directory.members.insert",
|
||||
"path": "groups/{groupKey}/members",
|
||||
@@ -3617,7 +3848,7 @@
|
||||
"parameters": {
|
||||
"groupKey": {
|
||||
"type": "string",
|
||||
"description": "Email or immutable Id of the group",
|
||||
"description": "Email or immutable ID of the group",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -3644,7 +3875,7 @@
|
||||
"parameters": {
|
||||
"groupKey": {
|
||||
"type": "string",
|
||||
"description": "Email or immutable Id of the group",
|
||||
"description": "Email or immutable ID of the group",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
@@ -3687,13 +3918,13 @@
|
||||
"parameters": {
|
||||
"groupKey": {
|
||||
"type": "string",
|
||||
"description": "Email or immutable Id of the group. If Id, it should match with id of group object",
|
||||
"description": "Email or immutable ID of the group. If ID, it should match with id of group object",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"memberKey": {
|
||||
"type": "string",
|
||||
"description": "Email or immutable Id of the user. If Id, it should match with id of member object",
|
||||
"description": "Email or immutable ID of the user. If ID, it should match with id of member object",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -3721,13 +3952,13 @@
|
||||
"parameters": {
|
||||
"groupKey": {
|
||||
"type": "string",
|
||||
"description": "Email or immutable Id of the group. If Id, it should match with id of group object",
|
||||
"description": "Email or immutable ID of the group. If ID, it should match with id of group object",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"memberKey": {
|
||||
"type": "string",
|
||||
"description": "Email or immutable Id of the user. If Id, it should match with id of member object",
|
||||
"description": "Email or immutable ID of the user. If ID, it should match with id of member object",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -4121,7 +4352,7 @@
|
||||
"id": "directory.orgunits.delete",
|
||||
"path": "customer/{customerId}/orgunits{/orgUnitPath*}",
|
||||
"httpMethod": "DELETE",
|
||||
"description": "Remove Organization Unit",
|
||||
"description": "Remove organizational unit",
|
||||
"parameters": {
|
||||
"customerId": {
|
||||
"type": "string",
|
||||
@@ -4131,7 +4362,7 @@
|
||||
},
|
||||
"orgUnitPath": {
|
||||
"type": "string",
|
||||
"description": "Full path of the organization unit or its Id",
|
||||
"description": "Full path of the organizational unit or its ID",
|
||||
"required": true,
|
||||
"repeated": true,
|
||||
"location": "path"
|
||||
@@ -4149,7 +4380,7 @@
|
||||
"id": "directory.orgunits.get",
|
||||
"path": "customer/{customerId}/orgunits{/orgUnitPath*}",
|
||||
"httpMethod": "GET",
|
||||
"description": "Retrieve Organization Unit",
|
||||
"description": "Retrieve organizational unit",
|
||||
"parameters": {
|
||||
"customerId": {
|
||||
"type": "string",
|
||||
@@ -4159,7 +4390,7 @@
|
||||
},
|
||||
"orgUnitPath": {
|
||||
"type": "string",
|
||||
"description": "Full path of the organization unit or its Id",
|
||||
"description": "Full path of the organizational unit or its ID",
|
||||
"required": true,
|
||||
"repeated": true,
|
||||
"location": "path"
|
||||
@@ -4181,7 +4412,7 @@
|
||||
"id": "directory.orgunits.insert",
|
||||
"path": "customer/{customerId}/orgunits",
|
||||
"httpMethod": "POST",
|
||||
"description": "Add Organization Unit",
|
||||
"description": "Add organizational unit",
|
||||
"parameters": {
|
||||
"customerId": {
|
||||
"type": "string",
|
||||
@@ -4207,7 +4438,7 @@
|
||||
"id": "directory.orgunits.list",
|
||||
"path": "customer/{customerId}/orgunits",
|
||||
"httpMethod": "GET",
|
||||
"description": "Retrieve all Organization Units",
|
||||
"description": "Retrieve all organizational units",
|
||||
"parameters": {
|
||||
"customerId": {
|
||||
"type": "string",
|
||||
@@ -4217,7 +4448,7 @@
|
||||
},
|
||||
"orgUnitPath": {
|
||||
"type": "string",
|
||||
"description": "the URL-encoded organization unit's path or its Id",
|
||||
"description": "the URL-encoded organizational unit's path or its ID",
|
||||
"default": "",
|
||||
"location": "query"
|
||||
},
|
||||
@@ -4229,7 +4460,7 @@
|
||||
"children"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"All sub-organization units.",
|
||||
"All sub-organizational units.",
|
||||
"Immediate children only (default)."
|
||||
],
|
||||
"location": "query"
|
||||
@@ -4250,7 +4481,7 @@
|
||||
"id": "directory.orgunits.patch",
|
||||
"path": "customer/{customerId}/orgunits{/orgUnitPath*}",
|
||||
"httpMethod": "PATCH",
|
||||
"description": "Update Organization Unit. This method supports patch semantics.",
|
||||
"description": "Update organizational unit. This method supports patch semantics.",
|
||||
"parameters": {
|
||||
"customerId": {
|
||||
"type": "string",
|
||||
@@ -4260,7 +4491,7 @@
|
||||
},
|
||||
"orgUnitPath": {
|
||||
"type": "string",
|
||||
"description": "Full path of the organization unit or its Id",
|
||||
"description": "Full path of the organizational unit or its ID",
|
||||
"required": true,
|
||||
"repeated": true,
|
||||
"location": "path"
|
||||
@@ -4284,7 +4515,7 @@
|
||||
"id": "directory.orgunits.update",
|
||||
"path": "customer/{customerId}/orgunits{/orgUnitPath*}",
|
||||
"httpMethod": "PUT",
|
||||
"description": "Update Organization Unit",
|
||||
"description": "Update organizational unit",
|
||||
"parameters": {
|
||||
"customerId": {
|
||||
"type": "string",
|
||||
@@ -4294,7 +4525,7 @@
|
||||
},
|
||||
"orgUnitPath": {
|
||||
"type": "string",
|
||||
"description": "Full path of the organization unit or its Id",
|
||||
"description": "Full path of the organizational unit or its ID",
|
||||
"required": true,
|
||||
"repeated": true,
|
||||
"location": "path"
|
||||
@@ -4344,6 +4575,28 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"resolvedAppAccessSettings": {
|
||||
"methods": {
|
||||
"GetSettings": {
|
||||
"id": "directory.resolvedAppAccessSettings.GetSettings",
|
||||
"path": "resolvedappaccesssettings",
|
||||
"httpMethod": "GET",
|
||||
"description": "Retrieves resolved app access settings of the logged in user.",
|
||||
"response": {
|
||||
"$ref": "AppAccessCollections"
|
||||
}
|
||||
},
|
||||
"ListTrustedApps": {
|
||||
"id": "directory.resolvedAppAccessSettings.ListTrustedApps",
|
||||
"path": "trustedapps",
|
||||
"httpMethod": "GET",
|
||||
"description": "Retrieves the list of apps trusted by the admin of the logged in user.",
|
||||
"response": {
|
||||
"$ref": "TrustedApps"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"resources": {
|
||||
"resources": {
|
||||
"calendars": {
|
||||
@@ -4473,7 +4726,7 @@
|
||||
"id": "directory.resources.calendars.patch",
|
||||
"path": "customer/{customer}/resources/calendars/{calendarResourceId}",
|
||||
"httpMethod": "PATCH",
|
||||
"description": "Updates a calendar resource. This method supports patch semantics.",
|
||||
"description": "Updates a calendar resource.\n\nThis method supports patch semantics, meaning you only need to include the fields you wish to update. Fields that are not present in the request will be preserved. This method supports patch semantics.",
|
||||
"parameters": {
|
||||
"calendarResourceId": {
|
||||
"type": "string",
|
||||
@@ -4506,7 +4759,7 @@
|
||||
"id": "directory.resources.calendars.update",
|
||||
"path": "customer/{customer}/resources/calendars/{calendarResourceId}",
|
||||
"httpMethod": "PUT",
|
||||
"description": "Updates a calendar resource.",
|
||||
"description": "Updates a calendar resource.\n\nThis method supports patch semantics, meaning you only need to include the fields you wish to update. Fields that are not present in the request will be preserved.",
|
||||
"parameters": {
|
||||
"calendarResourceId": {
|
||||
"type": "string",
|
||||
@@ -4881,7 +5134,7 @@
|
||||
},
|
||||
"schemaKey": {
|
||||
"type": "string",
|
||||
"description": "Name or immutable Id of the schema",
|
||||
"description": "Name or immutable ID of the schema",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -4908,7 +5161,7 @@
|
||||
},
|
||||
"schemaKey": {
|
||||
"type": "string",
|
||||
"description": "Name or immutable Id of the schema",
|
||||
"description": "Name or immutable ID of the schema",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -4989,7 +5242,7 @@
|
||||
},
|
||||
"schemaKey": {
|
||||
"type": "string",
|
||||
"description": "Name or immutable Id of the schema.",
|
||||
"description": "Name or immutable ID of the schema.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -5022,7 +5275,7 @@
|
||||
},
|
||||
"schemaKey": {
|
||||
"type": "string",
|
||||
"description": "Name or immutable Id of the schema.",
|
||||
"description": "Name or immutable ID of the schema.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -5137,7 +5390,7 @@
|
||||
"parameters": {
|
||||
"userKey": {
|
||||
"type": "string",
|
||||
"description": "Email or immutable Id of the user",
|
||||
"description": "Email or immutable ID of the user",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -5178,7 +5431,7 @@
|
||||
},
|
||||
"userKey": {
|
||||
"type": "string",
|
||||
"description": "Email or immutable Id of the user",
|
||||
"description": "Email or immutable ID of the user",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
@@ -5362,7 +5615,7 @@
|
||||
"parameters": {
|
||||
"userKey": {
|
||||
"type": "string",
|
||||
"description": "Email or immutable Id of the user as admin",
|
||||
"description": "Email or immutable ID of the user as admin",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -5385,7 +5638,7 @@
|
||||
"parameters": {
|
||||
"userKey": {
|
||||
"type": "string",
|
||||
"description": "Email or immutable Id of the user. If Id, it should match with id of user object",
|
||||
"description": "Email or immutable ID of the user. If ID, it should match with id of user object",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -5434,7 +5687,7 @@
|
||||
"parameters": {
|
||||
"userKey": {
|
||||
"type": "string",
|
||||
"description": "Email or immutable Id of the user. If Id, it should match with id of user object",
|
||||
"description": "Email or immutable ID of the user. If ID, it should match with id of user object",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -5605,7 +5858,7 @@
|
||||
},
|
||||
"userKey": {
|
||||
"type": "string",
|
||||
"description": "Email or immutable Id of the user",
|
||||
"description": "Email or immutable ID of the user",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -5627,7 +5880,7 @@
|
||||
"parameters": {
|
||||
"userKey": {
|
||||
"type": "string",
|
||||
"description": "Email or immutable Id of the user",
|
||||
"description": "Email or immutable ID of the user",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -5667,7 +5920,7 @@
|
||||
},
|
||||
"userKey": {
|
||||
"type": "string",
|
||||
"description": "Email or immutable Id of the user",
|
||||
"description": "Email or immutable ID of the user",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -5707,7 +5960,7 @@
|
||||
},
|
||||
"userKey": {
|
||||
"type": "string",
|
||||
"description": "Email or immutable Id of the user",
|
||||
"description": "Email or immutable ID of the user",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -5742,7 +5995,7 @@
|
||||
"parameters": {
|
||||
"userKey": {
|
||||
"type": "string",
|
||||
"description": "Email or immutable Id of the user",
|
||||
"description": "Email or immutable ID of the user",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -5762,7 +6015,7 @@
|
||||
"parameters": {
|
||||
"userKey": {
|
||||
"type": "string",
|
||||
"description": "Email or immutable Id of the user",
|
||||
"description": "Email or immutable ID of the user",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -5786,7 +6039,7 @@
|
||||
"parameters": {
|
||||
"userKey": {
|
||||
"type": "string",
|
||||
"description": "Email or immutable Id of the user",
|
||||
"description": "Email or immutable ID of the user",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -5812,7 +6065,7 @@
|
||||
"parameters": {
|
||||
"userKey": {
|
||||
"type": "string",
|
||||
"description": "Email or immutable Id of the user",
|
||||
"description": "Email or immutable ID of the user",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -5844,7 +6097,7 @@
|
||||
"parameters": {
|
||||
"userKey": {
|
||||
"type": "string",
|
||||
"description": "Email or immutable Id of the user",
|
||||
"description": "Email or immutable ID of the user",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -5864,7 +6117,7 @@
|
||||
"parameters": {
|
||||
"userKey": {
|
||||
"type": "string",
|
||||
"description": "Email or immutable Id of the user",
|
||||
"description": "Email or immutable ID of the user",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/YvMEbSpUd5h8xmSpskCE_HPECco\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/ihRyJbFbPCCQX3d-n__-D1aHPn0\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "admin:reports_v1",
|
||||
"name": "admin",
|
||||
"canonicalName": "reports",
|
||||
"version": "reports_v1",
|
||||
"revision": "20170622",
|
||||
"revision": "20171204",
|
||||
"title": "Admin Reports API",
|
||||
"description": "Fetches reports for the administrators of G Suite customers about the usage, collaboration, security, and risk for their users.",
|
||||
"ownerDomain": "google.com",
|
||||
@@ -22,7 +22,7 @@
|
||||
"basePath": "/admin/reports/v1/",
|
||||
"rootUrl": "https://www.googleapis.com/",
|
||||
"servicePath": "admin/reports/v1/",
|
||||
"batchPath": "batch",
|
||||
"batchPath": "batch/admin/reports_v1",
|
||||
"parameters": {
|
||||
"alt": {
|
||||
"type": "string",
|
||||
@@ -309,6 +309,11 @@
|
||||
"description": "Obfuscated customer id for the record.",
|
||||
"readOnly": true
|
||||
},
|
||||
"entityId": {
|
||||
"type": "string",
|
||||
"description": "Object key. Only relevant if entity.type = \"OBJECT\" Note: external-facing name of report is \"Entities\" rather than \"Objects\".",
|
||||
"readOnly": true
|
||||
},
|
||||
"profileId": {
|
||||
"type": "string",
|
||||
"description": "Obfuscated user id for the record.",
|
||||
@@ -316,12 +321,12 @@
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"description": "The type of item, can be a customer or user.",
|
||||
"description": "The type of item, can be customer, user, or entity (aka. object).",
|
||||
"readOnly": true
|
||||
},
|
||||
"userEmail": {
|
||||
"type": "string",
|
||||
"description": "user's email.",
|
||||
"description": "user's email. Only relevant if entity.type = \"USER\"",
|
||||
"readOnly": true
|
||||
}
|
||||
}
|
||||
@@ -675,6 +680,79 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"entityUsageReports": {
|
||||
"methods": {
|
||||
"get": {
|
||||
"id": "reports.entityUsageReports.get",
|
||||
"path": "usage/{entityType}/{entityKey}/dates/{date}",
|
||||
"httpMethod": "GET",
|
||||
"description": "Retrieves a report which is a collection of properties / statistics for a set of objects.",
|
||||
"parameters": {
|
||||
"customerId": {
|
||||
"type": "string",
|
||||
"description": "Represents the customer for which the data is to be fetched.",
|
||||
"pattern": "C.+",
|
||||
"location": "query"
|
||||
},
|
||||
"date": {
|
||||
"type": "string",
|
||||
"description": "Represents the date in yyyy-mm-dd format for which the data is to be fetched.",
|
||||
"required": true,
|
||||
"pattern": "(\\d){4}-(\\d){2}-(\\d){2}",
|
||||
"location": "path"
|
||||
},
|
||||
"entityKey": {
|
||||
"type": "string",
|
||||
"description": "Represents the key of object for which the data should be filtered.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"entityType": {
|
||||
"type": "string",
|
||||
"description": "Type of object. Should be one of - gplus_communities.",
|
||||
"required": true,
|
||||
"pattern": "(gplus_communities)",
|
||||
"location": "path"
|
||||
},
|
||||
"filters": {
|
||||
"type": "string",
|
||||
"description": "Represents the set of filters including parameter operator value.",
|
||||
"pattern": "(((gplus)):[a-z0-9_]+[\u003c,\u003c=,==,\u003e=,\u003e,!=][^,]+,)*(((gplus)):[a-z0-9_]+[\u003c,\u003c=,==,\u003e=,\u003e,!=][^,]+)",
|
||||
"location": "query"
|
||||
},
|
||||
"maxResults": {
|
||||
"type": "integer",
|
||||
"description": "Maximum number of results to return. Maximum allowed is 1000",
|
||||
"format": "uint32",
|
||||
"maximum": "1000",
|
||||
"location": "query"
|
||||
},
|
||||
"pageToken": {
|
||||
"type": "string",
|
||||
"description": "Token to specify next page.",
|
||||
"location": "query"
|
||||
},
|
||||
"parameters": {
|
||||
"type": "string",
|
||||
"description": "Represents the application name, parameter name pairs to fetch in csv as app_name1:param_name1, app_name2:param_name2.",
|
||||
"pattern": "(((gplus)):[^,]+,)*(((gplus)):[^,]+)",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"entityType",
|
||||
"entityKey",
|
||||
"date"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "UsageReports"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/admin.reports.usage.readonly"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"userUsageReport": {
|
||||
"methods": {
|
||||
"get": {
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/KcNIBZHjmrxC6P-EEua8ut8cKOA\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/TTXWgFbjrx98gGXeBWLzHzeUQ9s\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "adsense:v1.4",
|
||||
"name": "adsense",
|
||||
"canonicalName": "AdSense",
|
||||
"version": "v1.4",
|
||||
"revision": "20170925",
|
||||
"revision": "20171211",
|
||||
"title": "AdSense Management API",
|
||||
"description": "Accesses AdSense publishers' inventory and generates performance reports.",
|
||||
"ownerDomain": "google.com",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/iemUiWYyEAAnHZQnYAy7r56NBIk\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/NyT1DTQF4vZhuR57A8Mt2b6CZc4\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "adsensehost:v4.1",
|
||||
"name": "adsensehost",
|
||||
"canonicalName": "AdSense Host",
|
||||
"version": "v4.1",
|
||||
"revision": "20170925",
|
||||
"revision": "20171211",
|
||||
"title": "AdSense Host API",
|
||||
"description": "Generates performance reports, generates ad codes, and provides publisher management capabilities for AdSense Hosts.",
|
||||
"ownerDomain": "google.com",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/sBqnEugV9meeDd_JBciPAzCelAY\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/-HO9dhVgxPgZ9hKtuist_vTUbZU\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "androidenterprise:v1",
|
||||
"name": "androidenterprise",
|
||||
"canonicalName": "Android Enterprise",
|
||||
"version": "v1",
|
||||
"revision": "20170922",
|
||||
"revision": "20171206",
|
||||
"title": "Google Play EMM API",
|
||||
"description": "Manages the deployment of apps to Android for Work users.",
|
||||
"ownerDomain": "google.com",
|
||||
@@ -268,6 +268,10 @@
|
||||
"type": "object",
|
||||
"description": "This represents a single version of the app.",
|
||||
"properties": {
|
||||
"track": {
|
||||
"type": "string",
|
||||
"description": "The track that this app was published in. For example if track is \"alpha\", this is an alpha version of the app."
|
||||
},
|
||||
"versionCode": {
|
||||
"type": "integer",
|
||||
"description": "Unique increasing identifier for the app version.",
|
||||
@@ -311,10 +315,33 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"ConfigurationVariables": {
|
||||
"id": "ConfigurationVariables",
|
||||
"type": "object",
|
||||
"description": "A configuration variables resource contains the managed configuration settings ID to be applied to a single user, as well as the variable set that is attributed to the user. The variable set will be used to replace placeholders in the managed configuration settings.",
|
||||
"properties": {
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#configurationVariables\".",
|
||||
"default": "androidenterprise#configurationVariables"
|
||||
},
|
||||
"mcmId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managed configurations settings."
|
||||
},
|
||||
"variableSet": {
|
||||
"type": "array",
|
||||
"description": "The variable set that is attributed to the user.",
|
||||
"items": {
|
||||
"$ref": "VariableSet"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Device": {
|
||||
"id": "Device",
|
||||
"type": "object",
|
||||
"description": "A Devices resource represents a mobile device managed by the EMM and belonging to a specific enterprise user.\n\nThis collection cannot be modified via the API. It is automatically populated as devices are set up to be managed.",
|
||||
"description": "A Devices resource represents a mobile device managed by the EMM and belonging to a specific enterprise user.",
|
||||
"properties": {
|
||||
"androidId": {
|
||||
"type": "string",
|
||||
@@ -328,6 +355,10 @@
|
||||
"managementType": {
|
||||
"type": "string",
|
||||
"description": "Identifies the extent to which the device is controlled by a managed Google Play EMM in various deployment configurations.\n\nPossible values include: \n- \"managedDevice\", a device that has the EMM's device policy controller (DPC) as the device owner. \n- \"managedProfile\", a device that has a profile managed by the DPC (DPC is profile owner) in addition to a separate, personal profile that is unavailable to the DPC. \n- \"containerApp\", no longer used (deprecated). \n- \"unmanagedProfile\", a device that has been allowed (by the domain's admin, using the Admin Console to enable the privilege) to use managed Google Play, but the profile is itself not owned by a DPC."
|
||||
},
|
||||
"policy": {
|
||||
"$ref": "Policy",
|
||||
"description": "The policy enforced on the device."
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -493,7 +524,7 @@
|
||||
"GroupLicense": {
|
||||
"id": "GroupLicense",
|
||||
"type": "object",
|
||||
"description": "Group license objects allow you to keep track of licenses (called entitlements) for both free and paid apps. For a free app, a group license is created when an enterprise admin first approves the product in Google Play or when the first entitlement for the product is created for a user via the API. For a paid app, a group license object is only created when an enterprise admin purchases the product in Google Play for the first time.\n\nUse the API to query group licenses. A Grouplicenses resource includes the total number of licenses purchased (paid apps only) and the total number of licenses currently in use. Iyn other words, the total number of Entitlements that exist for the product.\n\nOnly one group license object is created per product and group license objects are never deleted. If a product is unapproved, its group license remains. This allows enterprise admins to keep track of any remaining entitlements for the product.",
|
||||
"description": "Group license objects allow you to keep track of licenses (called entitlements) for both free and paid apps. For a free app, a group license is created when an enterprise admin first approves the product in Google Play or when the first entitlement for the product is created for a user via the API. For a paid app, a group license object is only created when an enterprise admin purchases the product in Google Play for the first time.\n\nUse the API to query group licenses. A Grouplicenses resource includes the total number of licenses purchased (paid apps only) and the total number of licenses currently in use. In other words, the total number of Entitlements that exist for the product.\n\nOnly one group license object is created per product and group license objects are never deleted. If a product is unapproved, its group license remains. This allows enterprise admins to keep track of any remaining entitlements for the product.",
|
||||
"properties": {
|
||||
"acquisitionKind": {
|
||||
"type": "string",
|
||||
@@ -655,8 +686,12 @@
|
||||
"ManagedConfiguration": {
|
||||
"id": "ManagedConfiguration",
|
||||
"type": "object",
|
||||
"description": "A managed configuration resource contains the set of managed properties that have been configured for an Android app. The app's developer would have defined configurable properties in the managed configurations schema.",
|
||||
"description": "A managed configuration resource contains the set of managed properties defined by the app developer in the app's managed configurations schema, as well as any configuration variables defined for the user.",
|
||||
"properties": {
|
||||
"configurationVariables": {
|
||||
"$ref": "ConfigurationVariables",
|
||||
"description": "Contains the ID of the managed configuration profile and the set of configuration variables (if any) defined for the user."
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#managedConfiguration\".",
|
||||
@@ -713,6 +748,52 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"ManagedConfigurationsSettings": {
|
||||
"id": "ManagedConfigurationsSettings",
|
||||
"type": "object",
|
||||
"description": "A managed configurations settings resource contains the set of managed properties that have been configured for an Android app to be applied to a set of users. The app's developer would have defined configurable properties in the managed configurations schema.",
|
||||
"properties": {
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#managedConfigurationsSettings\".",
|
||||
"default": "androidenterprise#managedConfigurationsSettings"
|
||||
},
|
||||
"managedProperty": {
|
||||
"type": "array",
|
||||
"description": "The set of managed properties for this configuration.",
|
||||
"items": {
|
||||
"$ref": "ManagedProperty"
|
||||
}
|
||||
},
|
||||
"mcmId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managed configurations settings."
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The name of the managed configurations settings."
|
||||
}
|
||||
}
|
||||
},
|
||||
"ManagedConfigurationsSettingsListResponse": {
|
||||
"id": "ManagedConfigurationsSettingsListResponse",
|
||||
"type": "object",
|
||||
"description": "The managed configurations settings for a product.",
|
||||
"properties": {
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#managedConfigurationsSettingsListResponse\".",
|
||||
"default": "androidenterprise#managedConfigurationsSettingsListResponse"
|
||||
},
|
||||
"managedConfigurationsSettings": {
|
||||
"type": "array",
|
||||
"description": "A managed configurations settings for an app that may be assigned to a group of users in an enterprise.",
|
||||
"items": {
|
||||
"$ref": "ManagedConfigurationsSettings"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ManagedProperty": {
|
||||
"id": "ManagedProperty",
|
||||
"type": "object",
|
||||
@@ -926,6 +1007,24 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"Policy": {
|
||||
"id": "Policy",
|
||||
"type": "object",
|
||||
"description": "The device policy for a given managed device.",
|
||||
"properties": {
|
||||
"productAvailabilityPolicy": {
|
||||
"type": "string",
|
||||
"description": "The availability granted to the device for the specified products. \"all\" gives the device access to all products, regardless of approval status. \"allApproved\" entitles the device to access all products that are approved for the enterprise. \"allApproved\" and \"all\" do not enable automatic visibility of \"alpha\" or \"beta\" tracks. \"whitelist\" grants the device access the products specified in productPolicy[]. Only products that are approved or products that were previously approved (products with revoked approval) by the enterprise can be whitelisted. If no value is provided, the availability set at the user level is applied by default."
|
||||
},
|
||||
"productPolicy": {
|
||||
"type": "array",
|
||||
"description": "The list of product policies.",
|
||||
"items": {
|
||||
"$ref": "ProductPolicy"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Product": {
|
||||
"id": "Product",
|
||||
"type": "object",
|
||||
@@ -942,6 +1041,32 @@
|
||||
"type": "string",
|
||||
"description": "The name of the author of the product (for example, the app developer)."
|
||||
},
|
||||
"availableCountries": {
|
||||
"type": "array",
|
||||
"description": "The countries which this app is available in.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"availableTracks": {
|
||||
"type": "array",
|
||||
"description": "The tracks that are visible to the enterprise.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"category": {
|
||||
"type": "string",
|
||||
"description": "The app category (e.g. RACING, SOCIAL, etc.)"
|
||||
},
|
||||
"contentRating": {
|
||||
"type": "string",
|
||||
"description": "The content rating for this app."
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
"description": "A localized promotional description, if available."
|
||||
},
|
||||
"detailsUrl": {
|
||||
"type": "string",
|
||||
"description": "A link to the (consumer) Google Play details page for the product."
|
||||
@@ -959,6 +1084,23 @@
|
||||
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#product\".",
|
||||
"default": "androidenterprise#product"
|
||||
},
|
||||
"lastUpdatedTimestampMillis": {
|
||||
"type": "string",
|
||||
"description": "The time (in milliseconds since epoch) when application was last published. (Timestamp is approximate within 7 days of actual publish time.)",
|
||||
"format": "int64"
|
||||
},
|
||||
"minAndroidSdkVersion": {
|
||||
"type": "integer",
|
||||
"description": "The minimum Android SDK necessary to run the app.",
|
||||
"format": "int32"
|
||||
},
|
||||
"permissions": {
|
||||
"type": "array",
|
||||
"description": "The permissions required for this app.",
|
||||
"items": {
|
||||
"$ref": "ProductPermission"
|
||||
}
|
||||
},
|
||||
"productId": {
|
||||
"type": "string",
|
||||
"description": "A string of the form app:\u003cpackage name\u003e. For example, app:com.google.android.gm represents the Gmail app."
|
||||
@@ -967,10 +1109,21 @@
|
||||
"type": "string",
|
||||
"description": "Whether this product is free, free with in-app purchases, or paid. If the pricing is unknown, this means the product is not generally available anymore (even though it might still be available to people who own it)."
|
||||
},
|
||||
"recentChanges": {
|
||||
"type": "string",
|
||||
"description": "A description of the recent changes made to the app."
|
||||
},
|
||||
"requiresContainerApp": {
|
||||
"type": "boolean",
|
||||
"description": "Deprecated."
|
||||
},
|
||||
"screenshotUrls": {
|
||||
"type": "array",
|
||||
"description": "A list of screenshot links representing the app.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"signingCertificate": {
|
||||
"$ref": "ProductSigningCertificate",
|
||||
"description": "The certificate used to sign this product."
|
||||
@@ -1057,6 +1210,24 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"ProductPolicy": {
|
||||
"id": "ProductPolicy",
|
||||
"type": "object",
|
||||
"description": "The policy for a product.",
|
||||
"properties": {
|
||||
"productId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the product. For example, \"app:com.google.android.gm\"."
|
||||
},
|
||||
"tracks": {
|
||||
"type": "array",
|
||||
"description": "Grants visibility to the specified track(s) of the product to the device. The track available to the device is based on the following order of preference: alpha, beta, production. For example, if an app has a prod version, a beta version and an alpha version and the enterprise has been granted visibility to both the alpha and beta tracks, if tracks is {\"beta\", \"production\"} then the beta version of the app is made available to the device. If there are no app versions in the specified track adding the \"alpha\" and \"beta\" values to the list of tracks will have no effect. Note that the enterprise requires access to alpha and/or beta tracks before users can be granted visibility to apps in those tracks.\n\nThe allowed sets are: {} (considered equivalent to {\"production\"}) {\"production\"} {\"beta\", \"production\"} {\"alpha\", \"beta\", \"production\"} The order of elements is not relevant. Any other set of tracks will be rejected with an error.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ProductSet": {
|
||||
"id": "ProductSet",
|
||||
"type": "object",
|
||||
@@ -1077,6 +1248,13 @@
|
||||
"productSetBehavior": {
|
||||
"type": "string",
|
||||
"description": "The interpretation of this product set. \"unknown\" should never be sent and is ignored if received. \"whitelist\" means that the user is entitled to access the product set. \"includeAll\" means that all products are accessible, including products that are approved, products with revoked approval, and products that have never been approved. \"allApproved\" means that the user is entitled to access all products that are approved for the enterprise. If the value is \"allApproved\" or \"includeAll\", the productId field is ignored. If no value is provided, it is interpreted as \"whitelist\" for backwards compatibility. Further \"allApproved\" or \"includeAll\" does not enable automatic visibility of \"alpha\" or \"beta\" tracks for Android app. Use ProductVisibility to enable \"alpha\" or \"beta\" tracks per user."
|
||||
},
|
||||
"productVisibility": {
|
||||
"type": "array",
|
||||
"description": "Additional list of product IDs making up the product set. Unlike the productID array, in this list It's possible to specify which tracks (alpha, beta, production) of a product are visible to the user. See ProductVisibility and its fields for more information. Specifying the same product ID both here and in the productId array is not allowed and it will result in an error.",
|
||||
"items": {
|
||||
"$ref": "ProductVisibility"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1094,6 +1272,24 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"ProductVisibility": {
|
||||
"id": "ProductVisibility",
|
||||
"type": "object",
|
||||
"description": "A product to be made visible to a user.",
|
||||
"properties": {
|
||||
"productId": {
|
||||
"type": "string",
|
||||
"description": "The product ID to make visible to the user. Required for each item in the productVisibility list."
|
||||
},
|
||||
"tracks": {
|
||||
"type": "array",
|
||||
"description": "Grants visibility to the specified track(s) of the product to the user. The track available to the user is based on the following order of preference: alpha, beta, production. For example, if an app has a prod version, a beta version and an alpha version and the enterprise has been granted visibility to both the alpha and beta tracks, if tracks is {\"beta\", \"production\"} the user will be able to install the app and they will get the beta version of the app. If there are no app versions in the specified track adding the \"alpha\" and \"beta\" values to the list of tracks will have no effect. Note that the enterprise requires access to alpha and/or beta tracks before users can be granted visibility to apps in those tracks.\n\nThe allowed sets are: {} (considered equivalent to {\"production\"}) {\"production\"} {\"beta\", \"production\"} {\"alpha\", \"beta\", \"production\"} The order of elements is not relevant. Any other set of tracks will be rejected with an error.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ProductsApproveRequest": {
|
||||
"id": "ProductsApproveRequest",
|
||||
"type": "object",
|
||||
@@ -1449,6 +1645,26 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"VariableSet": {
|
||||
"id": "VariableSet",
|
||||
"type": "object",
|
||||
"description": "A variable set is a key-value pair of EMM-provided placeholders and its corresponding value, which is attributed to a user. For example, $FIRSTNAME could be a placeholder, and its value could be Alice. Placeholders should start with a '$' sign and should be alphanumeric only.",
|
||||
"properties": {
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#variableSet\".",
|
||||
"default": "androidenterprise#variableSet"
|
||||
},
|
||||
"placeholder": {
|
||||
"type": "string",
|
||||
"description": "The placeholder string; defined by EMM."
|
||||
},
|
||||
"userValue": {
|
||||
"type": "string",
|
||||
"description": "The value of the placeholder, specific to the user."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"resources": {
|
||||
@@ -1558,6 +1774,51 @@
|
||||
"https://www.googleapis.com/auth/androidenterprise"
|
||||
]
|
||||
},
|
||||
"patch": {
|
||||
"id": "androidenterprise.devices.patch",
|
||||
"path": "enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}",
|
||||
"httpMethod": "PATCH",
|
||||
"description": "Updates the device policy. This method supports patch semantics.",
|
||||
"parameters": {
|
||||
"deviceId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the device.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"enterpriseId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the enterprise.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"updateMask": {
|
||||
"type": "string",
|
||||
"description": "Mask that identifies which fields to update. If not set, all modifiable fields will be modified.\n\nWhen set in a query parameter, this field should be specified as updateMask=\u003cfield1\u003e,\u003cfield2\u003e,...",
|
||||
"location": "query"
|
||||
},
|
||||
"userId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the user.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"enterpriseId",
|
||||
"userId",
|
||||
"deviceId"
|
||||
],
|
||||
"request": {
|
||||
"$ref": "Device"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "Device"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/androidenterprise"
|
||||
]
|
||||
},
|
||||
"setState": {
|
||||
"id": "androidenterprise.devices.setState",
|
||||
"path": "enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/state",
|
||||
@@ -1597,6 +1858,51 @@
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/androidenterprise"
|
||||
]
|
||||
},
|
||||
"update": {
|
||||
"id": "androidenterprise.devices.update",
|
||||
"path": "enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}",
|
||||
"httpMethod": "PUT",
|
||||
"description": "Updates the device policy",
|
||||
"parameters": {
|
||||
"deviceId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the device.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"enterpriseId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the enterprise.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"updateMask": {
|
||||
"type": "string",
|
||||
"description": "Mask that identifies which fields to update. If not set, all modifiable fields will be modified.\n\nWhen set in a query parameter, this field should be specified as updateMask=\u003cfield1\u003e,\u003cfield2\u003e,...",
|
||||
"location": "query"
|
||||
},
|
||||
"userId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the user.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"enterpriseId",
|
||||
"userId",
|
||||
"deviceId"
|
||||
],
|
||||
"request": {
|
||||
"$ref": "Device"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "Device"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/androidenterprise"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -2870,7 +3176,7 @@
|
||||
"id": "androidenterprise.managedconfigurationsforuser.patch",
|
||||
"path": "enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}",
|
||||
"httpMethod": "PATCH",
|
||||
"description": "Adds or updates a per-user managed configuration for an app for the specified user. This method supports patch semantics.",
|
||||
"description": "Adds or updates the managed configuration settings for an app for the specified user. If you support the Managed configurations iframe, you can apply managed configurations to a user by specifying an mcmId and its associated configuration variables (if any) in the request. Alternatively, all EMMs can apply managed configurations by passing a list of managed properties. This method supports patch semantics.",
|
||||
"parameters": {
|
||||
"enterpriseId": {
|
||||
"type": "string",
|
||||
@@ -2910,7 +3216,7 @@
|
||||
"id": "androidenterprise.managedconfigurationsforuser.update",
|
||||
"path": "enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}",
|
||||
"httpMethod": "PUT",
|
||||
"description": "Adds or updates a per-user managed configuration for an app for the specified user.",
|
||||
"description": "Adds or updates the managed configuration settings for an app for the specified user. If you support the Managed configurations iframe, you can apply managed configurations to a user by specifying an mcmId and its associated configuration variables (if any) in the request. Alternatively, all EMMs can apply managed configurations by passing a list of managed properties.",
|
||||
"parameters": {
|
||||
"enterpriseId": {
|
||||
"type": "string",
|
||||
@@ -2948,6 +3254,40 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"managedconfigurationssettings": {
|
||||
"methods": {
|
||||
"list": {
|
||||
"id": "androidenterprise.managedconfigurationssettings.list",
|
||||
"path": "enterprises/{enterpriseId}/products/{productId}/managedConfigurationsSettings",
|
||||
"httpMethod": "GET",
|
||||
"description": "Lists all the managed configurations settings for the specified app. Only the ID and the name is set.",
|
||||
"parameters": {
|
||||
"enterpriseId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the enterprise.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"productId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the product for which the managed configurations settings applies to.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"enterpriseId",
|
||||
"productId"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "ManagedConfigurationsSettingsListResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/androidenterprise"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"permissions": {
|
||||
"methods": {
|
||||
"get": {
|
||||
@@ -3937,6 +4277,33 @@
|
||||
"https://www.googleapis.com/auth/androidenterprise"
|
||||
]
|
||||
},
|
||||
"revokeDeviceAccess": {
|
||||
"id": "androidenterprise.users.revokeDeviceAccess",
|
||||
"path": "enterprises/{enterpriseId}/users/{userId}/deviceAccess",
|
||||
"httpMethod": "DELETE",
|
||||
"description": "Revokes access to all devices currently provisioned to the user. The user will no longer be able to use the managed Play store on any of their managed devices.\n\nThis call only works with EMM-managed accounts.",
|
||||
"parameters": {
|
||||
"enterpriseId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the enterprise.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"userId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the user.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"enterpriseId",
|
||||
"userId"
|
||||
],
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/androidenterprise"
|
||||
]
|
||||
},
|
||||
"revokeToken": {
|
||||
"id": "androidenterprise.users.revokeToken",
|
||||
"path": "enterprises/{enterpriseId}/users/{userId}/token",
|
||||
|
||||
@@ -670,7 +670,7 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"userName": {
|
||||
"description": "The resource name of the user of the device in the form enterprises/{enterpriseId}/users/{userId}. This is the name of the device account automatically created for this device.",
|
||||
"description": "The resource name of the user that owns this device in the form enterprises/{enterpriseId}/users/{userId}.",
|
||||
"type": "string"
|
||||
},
|
||||
"disabledReason": {
|
||||
@@ -678,7 +678,7 @@
|
||||
"$ref": "UserFacingMessage"
|
||||
},
|
||||
"policyName": {
|
||||
"description": "The name of the policy that is intended to be applied to the device. If empty, the policy with id default is applied. This field may be modified by an update request. The name of the policy is in the form enterprises/{enterpriseId}/policies/{policyId}. It is also permissible to only specify the policyId when updating this field as long as the policyId contains no slashes since the rest of the policy name can be inferred from context.",
|
||||
"description": "The name of the policy that is intended to be applied to the device. If empty, the policy_name for the user that owns this device is applied. This field may be modified by an update request. The name of the policy is in the form enterprises/{enterpriseId}/policies/{policyId}. It is also permissible to only specify the policyId when updating this field as long as the policyId contains no slashes since the rest of the policy name can be inferred from context.",
|
||||
"type": "string"
|
||||
},
|
||||
"lastPolicyComplianceReportTime": {
|
||||
@@ -911,6 +911,21 @@
|
||||
},
|
||||
"id": "Status"
|
||||
},
|
||||
"AlwaysOnVpnPackage": {
|
||||
"description": "Configuration for an always-on VPN connection.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"packageName": {
|
||||
"description": "The package name of the VPN app.",
|
||||
"type": "string"
|
||||
},
|
||||
"lockdownEnabled": {
|
||||
"description": "Disallows networking when the VPN is not connected.",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"id": "AlwaysOnVpnPackage"
|
||||
},
|
||||
"ApplicationPolicy": {
|
||||
"description": "Policy for an individual app.",
|
||||
"type": "object",
|
||||
@@ -990,6 +1005,33 @@
|
||||
},
|
||||
"id": "ApplicationPermission"
|
||||
},
|
||||
"ProxyInfo": {
|
||||
"description": "Configuration info for an HTTP proxy. For a direct proxy, set the host, port, and excluded_hosts fields. For a PAC script proxy, set the pac_uri field.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"host": {
|
||||
"description": "The host of the direct proxy.",
|
||||
"type": "string"
|
||||
},
|
||||
"port": {
|
||||
"description": "The port of the direct proxy.",
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
"excludedHosts": {
|
||||
"description": "For a direct proxy, the hosts for which the proxy is bypassed. The host names may contain wildcards such as *.example.com.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"pacUri": {
|
||||
"description": "The URI of the PAC script used to configure the proxy.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "ProxyInfo"
|
||||
},
|
||||
"ManagedProperty": {
|
||||
"description": "Managed property.",
|
||||
"type": "object",
|
||||
@@ -1214,6 +1256,20 @@
|
||||
},
|
||||
"id": "NonComplianceDetail"
|
||||
},
|
||||
"PackageNameList": {
|
||||
"description": "A list of package names.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"packageNames": {
|
||||
"description": "A list of package names.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"id": "PackageNameList"
|
||||
},
|
||||
"ListDevicesResponse": {
|
||||
"description": "Response to a request to list devices for a given enterprise.",
|
||||
"type": "object",
|
||||
@@ -1261,84 +1317,34 @@
|
||||
"description": "A policy, which governs behavior for a device.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"openNetworkConfiguration": {
|
||||
"description": "Network configuration for the device. See configure networks for more information.",
|
||||
"additionalProperties": {
|
||||
"description": "Properties of the object.",
|
||||
"type": "any"
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"adjustVolumeDisabled": {
|
||||
"description": "Whether adjusting the master volume is disabled.",
|
||||
"outgoingCallsDisabled": {
|
||||
"description": "Whether outgoing calls are disabled. \u003ci\u003eRequires the beta version of the Android Device Policy app.\u003c/i\u003e",
|
||||
"type": "boolean"
|
||||
},
|
||||
"passwordRequirements": {
|
||||
"description": "Password requirements.",
|
||||
"$ref": "PasswordRequirements"
|
||||
},
|
||||
"modifyAccountsDisabled": {
|
||||
"description": "Whether adding or removing accounts is disabled.",
|
||||
"screenCaptureDisabled": {
|
||||
"description": "Whether screen capture is disabled.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"statusReportingSettings": {
|
||||
"description": "Status reporting settings",
|
||||
"$ref": "StatusReportingSettings"
|
||||
"bluetoothDisabled": {
|
||||
"description": "Whether bluetooth is disabled. Prefer this setting over bluetooth_config_disabled because bluetooth_config_disabled can be bypassed by the user. \u003ci\u003eRequires the beta version of the Android Device Policy app.\u003c/i\u003e",
|
||||
"type": "boolean"
|
||||
},
|
||||
"installAppsDisabled": {
|
||||
"description": "Whether user installation of apps is disabled. \u003ci\u003eRequires the beta version of the Android Device Policy app.\u003c/i\u003e",
|
||||
"type": "boolean"
|
||||
},
|
||||
"factoryResetDisabled": {
|
||||
"description": "Whether factory resetting from settings is disabled.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"funDisabled": {
|
||||
"description": "Whether the user is allowed to have fun. Controls whether the Easter egg game in Settings is disabled.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"applications": {
|
||||
"description": "Policy applied to apps.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "ApplicationPolicy"
|
||||
}
|
||||
},
|
||||
"safeBootDisabled": {
|
||||
"description": "Whether rebooting the device into safe boot is disabled.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"wifiConfigsLockdownEnabled": {
|
||||
"description": "Whether WiFi networks defined in Open Network Configuration are locked so they cannot be edited by the user.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"complianceRules": {
|
||||
"description": "Rules declaring which mitigating actions to take when a device is not compliant with its policy. When the conditions for multiple rules are satisfied, all of the mitigating actions for the rules are taken. There is a maximum limit of 100 rules.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "ComplianceRule"
|
||||
}
|
||||
},
|
||||
"wifiConfigDisabled": {
|
||||
"description": "Whether configuring WiFi access points is disabled.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"unmuteMicrophoneDisabled": {
|
||||
"description": "Whether the microphone is muted and adjusting microphone volume is disabled.",
|
||||
"modifyAccountsDisabled": {
|
||||
"description": "Whether adding or removing accounts is disabled.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"installUnknownSourcesAllowed": {
|
||||
"description": "Whether the user is allowed to enable the \"Unknown Sources\" setting, which allows installation of apps from unknown sources.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"autoTimeRequired": {
|
||||
"description": "Whether auto time is required, which prevents the user from manually setting the date and time.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"removeUserDisabled": {
|
||||
"description": "Whether removing other users is disabled.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"statusBarDisabled": {
|
||||
"description": "Whether the status bar is disabled. This disables notifications, quick settings and other screen overlays that allow escape from full-screen mode.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"stayOnPluggedModes": {
|
||||
"description": "The battery plugged in modes for which the device stays on. When using this setting, it is recommended to clear maximum_time_to_lock so that the device doesn't lock itself while it stays on.",
|
||||
"enumDescriptions": [
|
||||
@@ -1358,26 +1364,48 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"cameraDisabled": {
|
||||
"description": "Whether all cameras on the device are disabled.",
|
||||
"networkResetDisabled": {
|
||||
"description": "Whether resetting network settings is disabled. \u003ci\u003eRequires the beta version of the Android Device Policy app.\u003c/i\u003e",
|
||||
"type": "boolean"
|
||||
},
|
||||
"blockApplicationsEnabled": {
|
||||
"description": "Whether applications other than the ones configured in applications are blocked from being installed. When set, applications that were installed under a previous policy but no longer appear in the policy are automatically uninstalled.",
|
||||
"shortSupportMessage": {
|
||||
"description": "A message displayed to the user in the settings screen wherever functionality has been disabled by the admin. \u003ci\u003eRequires the beta version of the Android Device Policy app.\u003c/i\u003e",
|
||||
"$ref": "UserFacingMessage"
|
||||
},
|
||||
"wifiConfigDisabled": {
|
||||
"description": "Whether configuring WiFi access points is disabled.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"debuggingFeaturesAllowed": {
|
||||
"description": "Whether the user is allowed to enable debugging features.",
|
||||
"networkEscapeHatchEnabled": {
|
||||
"description": "Whether the network escape hatch is enabled. If a network connection can't be made at boot time, the escape hatch prompts the user to temporarily connect to a network in order to refresh the device policy. After applying policy, the temporary network will be forgotten and the device will continue booting. This prevents being unable to connect to a network if there is no suitable network in the last policy and the device boots into an app in lock task mode, or the user is otherwise unable to reach device settings.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"maximumTimeToLock": {
|
||||
"description": "Maximum time in milliseconds for user activity until the device will lock. A value of 0 means there is no restriction.",
|
||||
"type": "string",
|
||||
"format": "int64"
|
||||
},
|
||||
"name": {
|
||||
"description": "The name of the policy in the form enterprises/{enterpriseId}/policies/{policyId}",
|
||||
"type": "string"
|
||||
"keyguardDisabledFeatures": {
|
||||
"description": "Disabled keyguard customizations, such as widgets. \u003ci\u003eRequires the beta version of the Android Device Policy app.\u003c/i\u003e",
|
||||
"enumDescriptions": [
|
||||
"This value is ignored.",
|
||||
"Disable the camera on secure keyguard screens (e.g. PIN).",
|
||||
"Disable showing all notifications on secure keyguard screens.",
|
||||
"Disable unredacted notifications on secure keyguard screens.",
|
||||
"Ignore trust agent state on secure keyguard screens.",
|
||||
"Disable fingerprint sensor on keyguard secure screens.",
|
||||
"Disable text entry into notifications on secure keyguard screens.",
|
||||
"Disable all current and future keyguard customizations."
|
||||
],
|
||||
"type": "array",
|
||||
"items": {
|
||||
"enum": [
|
||||
"KEYGUARD_DISABLED_FEATURE_UNSPECIFIED",
|
||||
"CAMERA",
|
||||
"NOTIFICATIONS",
|
||||
"UNREDACTED_NOTIFICATIONS",
|
||||
"TRUST_AGENTS",
|
||||
"DISABLE_FINGERPRINT",
|
||||
"DISABLE_REMOTE_INPUT",
|
||||
"ALL_FEATURES"
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"defaultPermissionPolicy": {
|
||||
"description": "The default permission policy for requests for runtime permissions.",
|
||||
@@ -1395,20 +1423,64 @@
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"persistentPreferredActivities": {
|
||||
"description": "Default intent handler activities.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "PersistentPreferredActivity"
|
||||
}
|
||||
"maximumTimeToLock": {
|
||||
"description": "Maximum time in milliseconds for user activity until the device will lock. A value of 0 means there is no restriction.",
|
||||
"type": "string",
|
||||
"format": "int64"
|
||||
},
|
||||
"networkEscapeHatchEnabled": {
|
||||
"description": "Whether the network escape hatch is enabled. If a network connection can't be made at boot time, the escape hatch prompts the user to temporarily connect to a network in order to refresh the device policy. After applying policy, the temporary network will be forgotten and the device will continue booting. This prevents being unable to connect to a network if there is no suitable network in the last policy and the device boots into an app in lock task mode, or the user is otherwise unable to reach device settings.",
|
||||
"safeBootDisabled": {
|
||||
"description": "Whether rebooting the device into safe boot is disabled.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"systemUpdate": {
|
||||
"description": "The system update policy, which controls how OS updates are applied. If the update type is WINDOWED and the device has a device account, the update window will automatically apply to Play app updates as well.",
|
||||
"$ref": "SystemUpdate"
|
||||
"setUserIconDisabled": {
|
||||
"description": "Whether changing the user icon is disabled. \u003ci\u003eRequires the beta version of the Android Device Policy app.\u003c/i\u003e",
|
||||
"type": "boolean"
|
||||
},
|
||||
"recommendedGlobalProxy": {
|
||||
"description": "The network-independent global HTTP proxy. Typically proxies should be configured per-network in open_network_configuration. However for unusual configurations like general internal filtering a global HTTP proxy may be useful. If the proxy is not accessible, network access may break. The global proxy is only a recommendation and some apps may ignore it. \u003ci\u003eRequires the beta version of the Android Device Policy app.\u003c/i\u003e",
|
||||
"$ref": "ProxyInfo"
|
||||
},
|
||||
"applications": {
|
||||
"description": "Policy applied to apps.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "ApplicationPolicy"
|
||||
}
|
||||
},
|
||||
"outgoingBeamDisabled": {
|
||||
"description": "Whether using NFC to beam out data from apps is disabled. \u003ci\u003eRequires the beta version of the Android Device Policy app.\u003c/i\u003e",
|
||||
"type": "boolean"
|
||||
},
|
||||
"credentialsConfigDisabled": {
|
||||
"description": "Whether configuring user credentials is disabled. \u003ci\u003eRequires the beta version of the Android Device Policy app.\u003c/i\u003e",
|
||||
"type": "boolean"
|
||||
},
|
||||
"autoTimeRequired": {
|
||||
"description": "Whether auto time is required, which prevents the user from manually setting the date and time.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"smsDisabled": {
|
||||
"description": "Whether sending or receiving SMS messages is disabled. \u003ci\u003eRequires the beta version of the Android Device Policy app.\u003c/i\u003e",
|
||||
"type": "boolean"
|
||||
},
|
||||
"permittedInputMethods": {
|
||||
"description": "If present, only input methods provided by packages in this list are permitted. If this field is present, but the list is empty, then only system input methods are permitted. \u003ci\u003eRequires the beta version of the Android Device Policy app.\u003c/i\u003e",
|
||||
"$ref": "PackageNameList"
|
||||
},
|
||||
"adjustVolumeDisabled": {
|
||||
"description": "Whether adjusting the master volume is disabled.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"accountTypesWithManagementDisabled": {
|
||||
"description": "Account types that cannot be managed by the user. \u003ci\u003eRequires the beta version of the Android Device Policy app.\u003c/i\u003e",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"vpnConfigDisabled": {
|
||||
"description": "Whether configuring VPN is disabled. \u003ci\u003eRequires the beta version of the Android Device Policy app.\u003c/i\u003e",
|
||||
"type": "boolean"
|
||||
},
|
||||
"frpAdminEmails": {
|
||||
"description": "Email addresses of device administrators for factory reset protection. When the device is factory reset, it will require one of these admins to log in with the Google account email and password to unlock the device. If no admins are specified, the device will not provide factory reset protection.",
|
||||
@@ -1417,22 +1489,144 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"version": {
|
||||
"description": "The version of the policy. This is a read-only field. The version is incremented each time the policy is updated.",
|
||||
"type": "string",
|
||||
"format": "int64"
|
||||
"alwaysOnVpnPackage": {
|
||||
"description": "Configuration for an always-on VPN connection. Use with vpn_config_disabled to prevent modification of this setting. \u003ci\u003eRequires the beta version of the Android Device Policy app.\u003c/i\u003e",
|
||||
"$ref": "AlwaysOnVpnPackage"
|
||||
},
|
||||
"screenCaptureDisabled": {
|
||||
"description": "Whether screen capture is disabled.",
|
||||
"tetheringConfigDisabled": {
|
||||
"description": "Whether configuring tethering and portable hotspots is disabled. \u003ci\u003eRequires the beta version of the Android Device Policy app.\u003c/i\u003e",
|
||||
"type": "boolean"
|
||||
},
|
||||
"name": {
|
||||
"description": "The name of the policy in the form enterprises/{enterpriseId}/policies/{policyId}",
|
||||
"type": "string"
|
||||
},
|
||||
"uninstallAppsDisabled": {
|
||||
"description": "Whether user uninstallation of applications is disabled. \u003ci\u003eRequires the beta version of the Android Device Policy app.\u003c/i\u003e",
|
||||
"type": "boolean"
|
||||
},
|
||||
"funDisabled": {
|
||||
"description": "Whether the user is allowed to have fun. Controls whether the Easter egg game in Settings is disabled.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"openNetworkConfiguration": {
|
||||
"description": "Network configuration for the device. See configure networks for more information.",
|
||||
"additionalProperties": {
|
||||
"description": "Properties of the object.",
|
||||
"type": "any"
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"unmuteMicrophoneDisabled": {
|
||||
"description": "Whether the microphone is muted and adjusting microphone volume is disabled.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"systemUpdate": {
|
||||
"description": "The system update policy, which controls how OS updates are applied. If the update type is WINDOWED, the update window will automatically apply to Play app updates as well.",
|
||||
"$ref": "SystemUpdate"
|
||||
},
|
||||
"keyguardDisabled": {
|
||||
"description": "Whether the keyguard is disabled.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"mountPhysicalMediaDisabled": {
|
||||
"description": "Whether the user mounting physical external media is disabled. \u003ci\u003eRequires the beta version of the Android Device Policy app.\u003c/i\u003e",
|
||||
"type": "boolean"
|
||||
},
|
||||
"ensureVerifyAppsEnabled": {
|
||||
"description": "Whether application verification is forced to be enabled. \u003ci\u003eRequires the beta version of the Android Device Policy app.\u003c/i\u003e",
|
||||
"type": "boolean"
|
||||
},
|
||||
"mobileNetworksConfigDisabled": {
|
||||
"description": "Whether configuring mobile networks is disabled. \u003ci\u003eRequires the beta version of the Android Device Policy app.\u003c/i\u003e",
|
||||
"type": "boolean"
|
||||
},
|
||||
"dataRoamingDisabled": {
|
||||
"description": "Whether roaming data services are disabled. \u003ci\u003eRequires the beta version of the Android Device Policy app.\u003c/i\u003e",
|
||||
"type": "boolean"
|
||||
},
|
||||
"statusBarDisabled": {
|
||||
"description": "Whether the status bar is disabled. This disables notifications, quick settings and other screen overlays that allow escape from full-screen mode.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"longSupportMessage": {
|
||||
"description": "A message displayed to the user in the device administators settings screen. \u003ci\u003eRequires the beta version of the Android Device Policy app.\u003c/i\u003e",
|
||||
"$ref": "UserFacingMessage"
|
||||
},
|
||||
"cameraDisabled": {
|
||||
"description": "Whether all cameras on the device are disabled.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"passwordRequirements": {
|
||||
"description": "Password requirements.",
|
||||
"$ref": "PasswordRequirements"
|
||||
},
|
||||
"setWallpaperDisabled": {
|
||||
"description": "Whether changing the wallpaper is disabled. \u003ci\u003eRequires the beta version of the Android Device Policy app.\u003c/i\u003e",
|
||||
"type": "boolean"
|
||||
},
|
||||
"version": {
|
||||
"description": "The version of the policy. This is a read-only field. The version is incremented each time the policy is updated.",
|
||||
"type": "string",
|
||||
"format": "int64"
|
||||
},
|
||||
"complianceRules": {
|
||||
"description": "Rules declaring which mitigating actions to take when a device is not compliant with its policy. When the conditions for multiple rules are satisfied, all of the mitigating actions for the rules are taken. There is a maximum limit of 100 rules.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "ComplianceRule"
|
||||
}
|
||||
},
|
||||
"statusReportingSettings": {
|
||||
"description": "Status reporting settings",
|
||||
"$ref": "StatusReportingSettings"
|
||||
},
|
||||
"addUserDisabled": {
|
||||
"description": "Whether adding new users and profiles is disabled.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"bluetoothContactSharingDisabled": {
|
||||
"description": "Whether bluetooth contact sharing is disabled. \u003ci\u003eRequires the beta version of the Android Device Policy app.\u003c/i\u003e",
|
||||
"type": "boolean"
|
||||
},
|
||||
"bluetoothConfigDisabled": {
|
||||
"description": "Whether configuring bluetooth is disabled. \u003ci\u003eRequires the beta version of the Android Device Policy app.\u003c/i\u003e",
|
||||
"type": "boolean"
|
||||
},
|
||||
"cellBroadcastsConfigDisabled": {
|
||||
"description": "Whether configuring cell broadcast is disabled. \u003ci\u003eRequires the beta version of the Android Device Policy app.\u003c/i\u003e",
|
||||
"type": "boolean"
|
||||
},
|
||||
"usbFileTransferDisabled": {
|
||||
"description": "Whether transferring files over USB is disabled. \u003ci\u003eRequires the beta version of the Android Device Policy app.\u003c/i\u003e",
|
||||
"type": "boolean"
|
||||
},
|
||||
"removeUserDisabled": {
|
||||
"description": "Whether removing other users is disabled.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"wifiConfigsLockdownEnabled": {
|
||||
"description": "Whether WiFi networks defined in Open Network Configuration are locked so they cannot be edited by the user.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"createWindowsDisabled": {
|
||||
"description": "Whether creating windows besides app windows is disabled. \u003ci\u003eRequires the beta version of the Android Device Policy app.\u003c/i\u003e",
|
||||
"type": "boolean"
|
||||
},
|
||||
"persistentPreferredActivities": {
|
||||
"description": "Default intent handler activities.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "PersistentPreferredActivity"
|
||||
}
|
||||
},
|
||||
"blockApplicationsEnabled": {
|
||||
"description": "Whether applications other than the ones configured in applications are blocked from being installed. When set, applications that were installed under a previous policy but no longer appear in the policy are automatically uninstalled.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"debuggingFeaturesAllowed": {
|
||||
"description": "Whether the user is allowed to enable debugging features.",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"id": "Policy"
|
||||
@@ -1640,7 +1834,7 @@
|
||||
"format": "google-datetime"
|
||||
},
|
||||
"policyName": {
|
||||
"description": "The name of the policy that will be initially applied to the enrolled device in the form enterprises/{enterpriseId}/policies/{policyId}. If not specified, the policy with id default is applied. It is permissible to only specify the policyId when updating this field as long as the policyId contains no slashes since the rest of the policy name can be inferred from context.",
|
||||
"description": "The name of the policy that will be initially applied to the enrolled device in the form enterprises/{enterpriseId}/policies/{policyId}. If not specified, the policy_name for the user that owns the device is applied. If user_name also isn't specified, the policy defaults to enterprises/{enterpriseId}/policies/default. It is permissible to only specify the policyId when updating this field as long as the policyId contains no slashes since the rest of the policy name can be inferred from context.",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
@@ -1963,6 +2157,7 @@
|
||||
"description": "The required password quality.",
|
||||
"enum": [
|
||||
"PASSWORD_QUALITY_UNSPECIFIED",
|
||||
"BIOMETRIC_WEAK",
|
||||
"SOMETHING",
|
||||
"NUMERIC",
|
||||
"NUMERIC_COMPLEX",
|
||||
@@ -1972,6 +2167,7 @@
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"There are no requirements for the password.",
|
||||
"There must be at least low-security biometric recognition technology to secure the device. This includes technologies that can recognize the identity of an individual to about a 3 digit PIN (false detection is less than 1 in 1,000).",
|
||||
"There must be a password, but there are no restrictions on its characters.",
|
||||
"The password must contain numeric characters.",
|
||||
"The password must contain numeric characters with no repeating (4444) or ordered (1234, 4321, 2468) sequences.",
|
||||
@@ -2178,7 +2374,7 @@
|
||||
"enumDescriptions": [
|
||||
"Follow the default update behavior for the device, which typically requires the user to accept system updates.",
|
||||
"Install automatically as soon as an update is available.",
|
||||
"Install automatically within a daily maintenance window. If the device has a device account, this also configures Play apps to be updated within the window. This is strongly recommended for kiosk devices because this is the only way apps persistently pinned to the foreground can be updated by Play.",
|
||||
"Install automatically within a daily maintenance window. This also configures Play apps to be updated within the window. This is strongly recommended for kiosk devices because this is the only way apps persistently pinned to the foreground can be updated by Play.",
|
||||
"Postpone automatic install up to a maximum of 30 days."
|
||||
],
|
||||
"type": "string"
|
||||
@@ -2252,7 +2448,7 @@
|
||||
"id": "HardwareStatus"
|
||||
}
|
||||
},
|
||||
"revision": "20170918",
|
||||
"revision": "20171127",
|
||||
"basePath": "",
|
||||
"icons": {
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/EKUDjWuy8xhU5dHne-WullXJgWw\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/VxIc5srE4gMSXl83OJ7lOi7ZNVw\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "androidpublisher:v1.1",
|
||||
"name": "androidpublisher",
|
||||
"canonicalName": "Android Publisher",
|
||||
"version": "v1.1",
|
||||
"revision": "20170913",
|
||||
"revision": "20171030",
|
||||
"title": "Google Play Developer API",
|
||||
"description": "Lets Android application developers access their Google Play accounts.",
|
||||
"ownerDomain": "google.com",
|
||||
@@ -21,7 +21,7 @@
|
||||
"basePath": "/androidpublisher/v1.1/applications/",
|
||||
"rootUrl": "https://www.googleapis.com/",
|
||||
"servicePath": "androidpublisher/v1.1/applications/",
|
||||
"batchPath": "batch",
|
||||
"batchPath": "batch/androidpublisher/v1.1",
|
||||
"parameters": {
|
||||
"alt": {
|
||||
"type": "string",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/Ex2nsAPYjRP0NRWSGg4yyxwNJ18\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/xBYE5dsDkH9Dr1-OQbrbXKASDg8\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "androidpublisher:v1",
|
||||
"name": "androidpublisher",
|
||||
"canonicalName": "Android Publisher",
|
||||
"version": "v1",
|
||||
"revision": "20170913",
|
||||
"revision": "20171030",
|
||||
"title": "Google Play Developer API",
|
||||
"description": "Lets Android application developers access their Google Play accounts.",
|
||||
"ownerDomain": "google.com",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/QjVvqrUMRW1tTVdJHVqdnKd9gLQ\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/6dRjzWCszNTQjv1EQoJBlq-Xgrs\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "androidpublisher:v2",
|
||||
"name": "androidpublisher",
|
||||
"canonicalName": "Android Publisher",
|
||||
"version": "v2",
|
||||
"revision": "20170913",
|
||||
"revision": "20171030",
|
||||
"title": "Google Play Developer API",
|
||||
"description": "Lets Android application developers access their Google Play accounts.",
|
||||
"ownerDomain": "google.com",
|
||||
@@ -21,7 +21,7 @@
|
||||
"basePath": "/androidpublisher/v2/applications/",
|
||||
"rootUrl": "https://www.googleapis.com/",
|
||||
"servicePath": "androidpublisher/v2/applications/",
|
||||
"batchPath": "batch",
|
||||
"batchPath": "batch/androidpublisher/v2",
|
||||
"parameters": {
|
||||
"alt": {
|
||||
"type": "string",
|
||||
@@ -601,88 +601,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"InappproductsBatchRequest": {
|
||||
"id": "InappproductsBatchRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"entrys": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "InappproductsBatchRequestEntry"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"InappproductsBatchRequestEntry": {
|
||||
"id": "InappproductsBatchRequestEntry",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"batchId": {
|
||||
"type": "integer",
|
||||
"format": "uint32"
|
||||
},
|
||||
"inappproductsinsertrequest": {
|
||||
"$ref": "InappproductsInsertRequest"
|
||||
},
|
||||
"inappproductsupdaterequest": {
|
||||
"$ref": "InappproductsUpdateRequest"
|
||||
},
|
||||
"methodName": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"InappproductsBatchResponse": {
|
||||
"id": "InappproductsBatchResponse",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"entrys": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "InappproductsBatchResponseEntry"
|
||||
}
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidpublisher#inappproductsBatchResponse\".",
|
||||
"default": "androidpublisher#inappproductsBatchResponse"
|
||||
}
|
||||
}
|
||||
},
|
||||
"InappproductsBatchResponseEntry": {
|
||||
"id": "InappproductsBatchResponseEntry",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"batchId": {
|
||||
"type": "integer",
|
||||
"format": "uint32"
|
||||
},
|
||||
"inappproductsinsertresponse": {
|
||||
"$ref": "InappproductsInsertResponse"
|
||||
},
|
||||
"inappproductsupdateresponse": {
|
||||
"$ref": "InappproductsUpdateResponse"
|
||||
}
|
||||
}
|
||||
},
|
||||
"InappproductsInsertRequest": {
|
||||
"id": "InappproductsInsertRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"inappproduct": {
|
||||
"$ref": "InAppProduct"
|
||||
}
|
||||
}
|
||||
},
|
||||
"InappproductsInsertResponse": {
|
||||
"id": "InappproductsInsertResponse",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"inappproduct": {
|
||||
"$ref": "InAppProduct"
|
||||
}
|
||||
}
|
||||
},
|
||||
"InappproductsListResponse": {
|
||||
"id": "InappproductsListResponse",
|
||||
"type": "object",
|
||||
@@ -706,24 +624,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"InappproductsUpdateRequest": {
|
||||
"id": "InappproductsUpdateRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"inappproduct": {
|
||||
"$ref": "InAppProduct"
|
||||
}
|
||||
}
|
||||
},
|
||||
"InappproductsUpdateResponse": {
|
||||
"id": "InappproductsUpdateResponse",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"inappproduct": {
|
||||
"$ref": "InAppProduct"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Listing": {
|
||||
"id": "Listing",
|
||||
"type": "object",
|
||||
@@ -3051,20 +2951,6 @@
|
||||
},
|
||||
"inappproducts": {
|
||||
"methods": {
|
||||
"batch": {
|
||||
"id": "androidpublisher.inappproducts.batch",
|
||||
"path": "inappproducts/batch",
|
||||
"httpMethod": "POST",
|
||||
"request": {
|
||||
"$ref": "InappproductsBatchRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "InappproductsBatchResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/androidpublisher"
|
||||
]
|
||||
},
|
||||
"delete": {
|
||||
"id": "androidpublisher.inappproducts.delete",
|
||||
"path": "{packageName}/inappproducts/{sku}",
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
# DO NOT EDIT !!!
|
||||
api:
|
||||
list:
|
||||
abusiveexperiencereport:
|
||||
- v1
|
||||
acceleratedmobilepageurl:
|
||||
- v1
|
||||
adexchangebuyer:
|
||||
@@ -69,6 +71,8 @@ api:
|
||||
- v1beta1
|
||||
cloudfunctions:
|
||||
- v1
|
||||
cloudiot:
|
||||
- v1
|
||||
cloudkms:
|
||||
- v1
|
||||
- v1beta1
|
||||
@@ -112,14 +116,10 @@ api:
|
||||
- v2
|
||||
- v2beta2
|
||||
dfareporting:
|
||||
- v2.1
|
||||
- v2.2
|
||||
- v2.3
|
||||
- v2.4
|
||||
- v2.5
|
||||
- v2.6
|
||||
- v2.7
|
||||
- v2.8
|
||||
- v3.0
|
||||
dialogflow:
|
||||
- v2beta1
|
||||
discovery:
|
||||
- v1
|
||||
dlp:
|
||||
@@ -139,6 +139,8 @@ api:
|
||||
- v1
|
||||
firebaserules:
|
||||
- v1
|
||||
firestore:
|
||||
- v1beta1
|
||||
fitness:
|
||||
- v1
|
||||
freebase:
|
||||
@@ -190,6 +192,7 @@ api:
|
||||
oauth2:
|
||||
- v2
|
||||
oslogin:
|
||||
- v1
|
||||
- v1beta
|
||||
pagespeedonline:
|
||||
- v2
|
||||
@@ -205,6 +208,8 @@ api:
|
||||
- v1
|
||||
plusdomains:
|
||||
- v1
|
||||
poly:
|
||||
- v1
|
||||
prediction:
|
||||
- v1.6
|
||||
proximitybeacon:
|
||||
@@ -231,6 +236,8 @@ api:
|
||||
- v1
|
||||
searchconsole:
|
||||
- v1
|
||||
serviceconsumermanagement:
|
||||
- v1
|
||||
servicecontrol:
|
||||
- v1
|
||||
servicemanagement:
|
||||
@@ -275,6 +282,8 @@ api:
|
||||
- v1
|
||||
toolresults:
|
||||
- v1beta3
|
||||
tpu:
|
||||
- v1alpha1
|
||||
translate:
|
||||
- v2
|
||||
urlshortener:
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/w7NCayi3_pNAp4Ux8jkCMtBwaIM\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/xZ3PWWweD7cKnq3JhviTJwoQwLk\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "appsactivity:v1",
|
||||
"name": "appsactivity",
|
||||
"version": "v1",
|
||||
"revision": "20170921",
|
||||
"revision": "20171207",
|
||||
"title": "G Suite Activity API",
|
||||
"description": "Provides a historical view of activity.",
|
||||
"ownerDomain": "google.com",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/sPKhgH8GZHaw4C3xgNYIIazdfPU\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/lmDs6aA0qIx7-jGEac2TXZTTp7I\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "appstate:v1",
|
||||
"name": "appstate",
|
||||
"canonicalName": "App State",
|
||||
"version": "v1",
|
||||
"revision": "20170925",
|
||||
"revision": "20171207",
|
||||
"title": "Google App State API",
|
||||
"description": "The Google App State API.",
|
||||
"ownerDomain": "google.com",
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/6KmyniE-DVTht1WBAWvasoVbs7Y\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/RHgdSKr7KDuh1e1sszGVdMKFPWE\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "bigquery:v2",
|
||||
"name": "bigquery",
|
||||
"version": "v2",
|
||||
"revision": "20170917",
|
||||
"revision": "20171202",
|
||||
"title": "BigQuery API",
|
||||
"description": "A data platform for customers to create, manage, share and query data.",
|
||||
"ownerDomain": "google.com",
|
||||
@@ -413,6 +413,11 @@
|
||||
"id": "ExplainQueryStage",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"completedParallelInputs": {
|
||||
"type": "string",
|
||||
"description": "Number of parallel input segments completed.",
|
||||
"format": "int64"
|
||||
},
|
||||
"computeMsAvg": {
|
||||
"type": "string",
|
||||
"description": "Milliseconds the average shard spent on CPU-bound tasks.",
|
||||
@@ -442,6 +447,11 @@
|
||||
"type": "string",
|
||||
"description": "Human-readable name for stage."
|
||||
},
|
||||
"parallelInputs": {
|
||||
"type": "string",
|
||||
"description": "Number of parallel input segments to be processed.",
|
||||
"format": "int64"
|
||||
},
|
||||
"readMsAvg": {
|
||||
"type": "string",
|
||||
"description": "Milliseconds the average shard spent reading input.",
|
||||
@@ -897,7 +907,7 @@
|
||||
},
|
||||
"schemaUpdateOptions": {
|
||||
"type": "array",
|
||||
"description": "[Experimental] Allows the schema of the desitination table to be updated as a side effect of the load job if a schema is autodetected or supplied in the job configuration. Schema update options are supported in two cases: when writeDisposition is WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE and the destination table is a partition of a table, specified by partition decorators. For normal tables, WRITE_TRUNCATE will always overwrite the schema. One or more of the following values are specified: ALLOW_FIELD_ADDITION: allow adding a nullable field to the schema. ALLOW_FIELD_RELAXATION: allow relaxing a required field in the original schema to nullable.",
|
||||
"description": "Allows the schema of the destination table to be updated as a side effect of the load job if a schema is autodetected or supplied in the job configuration. Schema update options are supported in two cases: when writeDisposition is WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE and the destination table is a partition of a table, specified by partition decorators. For normal tables, WRITE_TRUNCATE will always overwrite the schema. One or more of the following values are specified: ALLOW_FIELD_ADDITION: allow adding a nullable field to the schema. ALLOW_FIELD_RELAXATION: allow relaxing a required field in the original schema to nullable.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
@@ -920,7 +930,7 @@
|
||||
},
|
||||
"timePartitioning": {
|
||||
"$ref": "TimePartitioning",
|
||||
"description": "[Experimental] If specified, configures time-based partitioning for the destination table."
|
||||
"description": "If specified, configures time-based partitioning for the destination table."
|
||||
},
|
||||
"writeDisposition": {
|
||||
"type": "string",
|
||||
@@ -994,7 +1004,7 @@
|
||||
},
|
||||
"schemaUpdateOptions": {
|
||||
"type": "array",
|
||||
"description": "[Experimental] Allows the schema of the destination table to be updated as a side effect of the query job. Schema update options are supported in two cases: when writeDisposition is WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE and the destination table is a partition of a table, specified by partition decorators. For normal tables, WRITE_TRUNCATE will always overwrite the schema. One or more of the following values are specified: ALLOW_FIELD_ADDITION: allow adding a nullable field to the schema. ALLOW_FIELD_RELAXATION: allow relaxing a required field in the original schema to nullable.",
|
||||
"description": "Allows the schema of the destination table to be updated as a side effect of the query job. Schema update options are supported in two cases: when writeDisposition is WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE and the destination table is a partition of a table, specified by partition decorators. For normal tables, WRITE_TRUNCATE will always overwrite the schema. One or more of the following values are specified: ALLOW_FIELD_ADDITION: allow adding a nullable field to the schema. ALLOW_FIELD_RELAXATION: allow relaxing a required field in the original schema to nullable.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
@@ -1008,7 +1018,7 @@
|
||||
},
|
||||
"timePartitioning": {
|
||||
"$ref": "TimePartitioning",
|
||||
"description": "[Experimental] If specified, configures time-based partitioning for the destination table."
|
||||
"description": "If specified, configures time-based partitioning for the destination table."
|
||||
},
|
||||
"useLegacySql": {
|
||||
"type": "boolean",
|
||||
@@ -1205,6 +1215,19 @@
|
||||
"type": "boolean",
|
||||
"description": "[Output-only] Whether the query result was fetched from the query cache."
|
||||
},
|
||||
"ddlOperationPerformed": {
|
||||
"type": "string",
|
||||
"description": "[Output-only, Experimental] The DDL operation performed, possibly dependent on the pre-existence of the DDL target. Possible values (new values might be added in the future): \"CREATE\": The query created the DDL target. \"SKIP\": No-op. Example cases: the query is CREATE TABLE IF NOT EXISTS while the table already exists, or the query is DROP TABLE IF EXISTS while the table does not exist. \"REPLACE\": The query replaced the DDL target. Example case: the query is CREATE OR REPLACE TABLE, and the table already exists. \"DROP\": The query deleted the DDL target."
|
||||
},
|
||||
"ddlTargetTable": {
|
||||
"$ref": "TableReference",
|
||||
"description": "[Output-only, Experimental] The DDL target table. Present only for CREATE/DROP TABLE/VIEW queries."
|
||||
},
|
||||
"estimatedBytesProcessed": {
|
||||
"type": "string",
|
||||
"description": "[Output-only] The original estimate of bytes processed for the job.",
|
||||
"format": "int64"
|
||||
},
|
||||
"numDmlAffectedRows": {
|
||||
"type": "string",
|
||||
"description": "[Output-only] The number of rows affected by a DML statement. Present only for DML statements INSERT, UPDATE or DELETE.",
|
||||
@@ -1230,7 +1253,7 @@
|
||||
},
|
||||
"statementType": {
|
||||
"type": "string",
|
||||
"description": "[Output-only, Experimental] The type of query statement, if valid."
|
||||
"description": "[Output-only, Experimental] The type of query statement, if valid. Possible values (new values might be added in the future): \"SELECT\": SELECT query. \"INSERT\": INSERT query; see https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language \"UPDATE\": UPDATE query; see https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language \"DELETE\": DELETE query; see https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language \"CREATE_TABLE\": CREATE [OR REPLACE] TABLE without AS SELECT. \"CREATE_TABLE_AS_SELECT\": CREATE [OR REPLACE] TABLE ... AS SELECT ... \"DROP_TABLE\": DROP TABLE query. \"CREATE_VIEW\": CREATE [OR REPLACE] VIEW ... AS SELECT ... \"DROP_VIEW\": DROP VIEW query."
|
||||
},
|
||||
"totalBytesBilled": {
|
||||
"type": "string",
|
||||
@@ -1712,7 +1735,7 @@
|
||||
},
|
||||
"timePartitioning": {
|
||||
"$ref": "TimePartitioning",
|
||||
"description": "[Experimental] If specified, configures time-based partitioning for this table."
|
||||
"description": "If specified, configures time-based partitioning for this table."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
@@ -1888,6 +1911,16 @@
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"creationTime": {
|
||||
"type": "string",
|
||||
"description": "The time when this table was created, in milliseconds since the epoch.",
|
||||
"format": "int64"
|
||||
},
|
||||
"expirationTime": {
|
||||
"type": "string",
|
||||
"description": "[Optional] The time when this table expires, in milliseconds since the epoch. If not present, the table will persist indefinitely. Expired tables will be deleted and their storage reclaimed.",
|
||||
"format": "int64"
|
||||
},
|
||||
"friendlyName": {
|
||||
"type": "string",
|
||||
"description": "The user-friendly name for this table."
|
||||
@@ -1914,7 +1947,7 @@
|
||||
},
|
||||
"timePartitioning": {
|
||||
"$ref": "TimePartitioning",
|
||||
"description": "[Experimental] The time-based partitioning for this table."
|
||||
"description": "The time-based partitioning for this table."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/VYSEPWa0diltjt4R-I-9BxST4qQ\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/scONkfl8xf1hlctGIhfPw6jkAJ8\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "calendar:v3",
|
||||
"name": "calendar",
|
||||
"version": "v3",
|
||||
"revision": "20170919",
|
||||
"revision": "20171205",
|
||||
"title": "Calendar API",
|
||||
"description": "Manipulates events and other calendar data.",
|
||||
"ownerDomain": "google.com",
|
||||
@@ -1253,6 +1253,11 @@
|
||||
"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"sendNotifications": {
|
||||
"type": "boolean",
|
||||
"description": "Whether to send notifications about the calendar sharing change. Optional. The default is True.",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
@@ -1331,6 +1336,11 @@
|
||||
"description": "ACL rule identifier.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"sendNotifications": {
|
||||
"type": "boolean",
|
||||
"description": "Whether to send notifications about the calendar sharing change. Note that there are no notifications on access removal. Optional. The default is True.",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
@@ -1364,6 +1374,11 @@
|
||||
"description": "ACL rule identifier.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"sendNotifications": {
|
||||
"type": "boolean",
|
||||
"description": "Whether to send notifications about the calendar sharing change. Note that there are no notifications on access removal. Optional. The default is True.",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
1311
etc/api/cloudiot/v1/cloudiot-api.json
Normal file
1311
etc/api/cloudiot/v1/cloudiot-api.json
Normal file
File diff suppressed because it is too large
Load Diff
1112
etc/api/cloudiot/v1beta1/cloudiot-api.json
Normal file
1112
etc/api/cloudiot/v1beta1/cloudiot-api.json
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,9 @@
|
||||
{
|
||||
"ownerDomain": "google.com",
|
||||
"name": "cloudtrace",
|
||||
"batchPath": "batch",
|
||||
"fullyEncodeReservedExpansion": true,
|
||||
"title": "Stackdriver Trace API",
|
||||
"ownerName": "Google",
|
||||
"resources": {
|
||||
"projects": {
|
||||
@@ -11,21 +16,21 @@
|
||||
"projectId"
|
||||
],
|
||||
"httpMethod": "PATCH",
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/trace.append"
|
||||
],
|
||||
"parameters": {
|
||||
"projectId": {
|
||||
"location": "path",
|
||||
"description": "ID of the Cloud project where the trace data is stored.",
|
||||
"type": "string",
|
||||
"required": true
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/trace.append"
|
||||
],
|
||||
"flatPath": "v1/projects/{projectId}/traces",
|
||||
"id": "cloudtrace.projects.patchTraces",
|
||||
"path": "v1/projects/{projectId}/traces",
|
||||
"id": "cloudtrace.projects.patchTraces",
|
||||
"request": {
|
||||
"$ref": "Traces"
|
||||
},
|
||||
@@ -35,106 +40,106 @@
|
||||
"resources": {
|
||||
"traces": {
|
||||
"methods": {
|
||||
"get": {
|
||||
"description": "Gets a single trace by its ID.",
|
||||
"httpMethod": "GET",
|
||||
"parameterOrder": [
|
||||
"projectId",
|
||||
"traceId"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "Trace"
|
||||
},
|
||||
"parameters": {
|
||||
"projectId": {
|
||||
"location": "path",
|
||||
"description": "ID of the Cloud project where the trace data is stored.",
|
||||
"type": "string",
|
||||
"required": true
|
||||
},
|
||||
"traceId": {
|
||||
"description": "ID of the trace to return.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/trace.readonly"
|
||||
],
|
||||
"flatPath": "v1/projects/{projectId}/traces/{traceId}",
|
||||
"path": "v1/projects/{projectId}/traces/{traceId}",
|
||||
"id": "cloudtrace.projects.traces.get"
|
||||
},
|
||||
"list": {
|
||||
"flatPath": "v1/projects/{projectId}/traces",
|
||||
"id": "cloudtrace.projects.traces.list",
|
||||
"path": "v1/projects/{projectId}/traces",
|
||||
"description": "Returns of a list of traces that match the specified filter conditions.",
|
||||
"httpMethod": "GET",
|
||||
"parameterOrder": [
|
||||
"projectId"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "ListTracesResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/trace.readonly"
|
||||
"parameterOrder": [
|
||||
"projectId"
|
||||
],
|
||||
"parameters": {
|
||||
"projectId": {
|
||||
"location": "path",
|
||||
"description": "ID of the Cloud project where the trace data is stored.",
|
||||
"type": "string",
|
||||
"required": true
|
||||
},
|
||||
"filter": {
|
||||
"location": "query",
|
||||
"description": "An optional filter against labels for the request.\n\nBy default, searches use prefix matching. To specify exact match, prepend\na plus symbol (`+`) to the search term.\nMultiple terms are ANDed. Syntax:\n\n* `root:NAME_PREFIX` or `NAME_PREFIX`: Return traces where any root\n span starts with `NAME_PREFIX`.\n* `+root:NAME` or `+NAME`: Return traces where any root span's name is\n exactly `NAME`.\n* `span:NAME_PREFIX`: Return traces where any span starts with\n `NAME_PREFIX`.\n* `+span:NAME`: Return traces where any span's name is exactly\n `NAME`.\n* `latency:DURATION`: Return traces whose overall latency is\n greater or equal to than `DURATION`. Accepted units are nanoseconds\n (`ns`), milliseconds (`ms`), and seconds (`s`). Default is `ms`. For\n example, `latency:24ms` returns traces whose overall latency\n is greater than or equal to 24 milliseconds.\n* `label:LABEL_KEY`: Return all traces containing the specified\n label key (exact match, case-sensitive) regardless of the key:value\n pair's value (including empty values).\n* `LABEL_KEY:VALUE_PREFIX`: Return all traces containing the specified\n label key (exact match, case-sensitive) whose value starts with\n `VALUE_PREFIX`. Both a key and a value must be specified.\n* `+LABEL_KEY:VALUE`: Return all traces containing a key:value pair\n exactly matching the specified text. Both a key and a value must be\n specified.\n* `method:VALUE`: Equivalent to `/http/method:VALUE`.\n* `url:VALUE`: Equivalent to `/http/url:VALUE`.",
|
||||
"type": "string"
|
||||
},
|
||||
"endTime": {
|
||||
"format": "google-datetime",
|
||||
"description": "End of the time interval (inclusive) during which the trace data was\ncollected from the application.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"pageToken": {
|
||||
"description": "Token identifying the page of results to return. If provided, use the\nvalue of the `next_page_token` field from a previous request. Optional.",
|
||||
"format": "google-datetime",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"startTime": {
|
||||
"location": "query",
|
||||
"format": "google-datetime",
|
||||
"description": "Start of the time interval (inclusive) during which the trace data was\ncollected from the application.",
|
||||
"format": "google-datetime",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"pageToken": {
|
||||
"location": "query",
|
||||
"description": "Token identifying the page of results to return. If provided, use the\nvalue of the `next_page_token` field from a previous request. Optional.",
|
||||
"type": "string"
|
||||
},
|
||||
"pageSize": {
|
||||
"format": "int32",
|
||||
"location": "query",
|
||||
"description": "Maximum number of traces to return. If not specified or \u003c= 0, the\nimplementation selects a reasonable value. The implementation may\nreturn fewer traces than the requested page size. Optional.",
|
||||
"type": "integer",
|
||||
"location": "query"
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
},
|
||||
"view": {
|
||||
"description": "Type of data returned for traces in the list. Optional. Default is\n`MINIMAL`.",
|
||||
"type": "string",
|
||||
"location": "query",
|
||||
"enum": [
|
||||
"VIEW_TYPE_UNSPECIFIED",
|
||||
"MINIMAL",
|
||||
"ROOTSPAN",
|
||||
"COMPLETE"
|
||||
],
|
||||
"description": "Type of data returned for traces in the list. Optional. Default is\n`MINIMAL`.",
|
||||
"type": "string"
|
||||
]
|
||||
},
|
||||
"orderBy": {
|
||||
"location": "query",
|
||||
"description": "Field used to sort the returned traces. Optional.\nCan be one of the following:\n\n* `trace_id`\n* `name` (`name` field of root span in the trace)\n* `duration` (difference between `end_time` and `start_time` fields of\n the root span)\n* `start` (`start_time` field of the root span)\n\nDescending order can be specified by appending `desc` to the sort field\n(for example, `name desc`).\n\nOnly one sort field is permitted.",
|
||||
"type": "string"
|
||||
},
|
||||
"projectId": {
|
||||
"location": "path",
|
||||
"description": "ID of the Cloud project where the trace data is stored.",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"flatPath": "v1/projects/{projectId}/traces",
|
||||
"path": "v1/projects/{projectId}/traces",
|
||||
"id": "cloudtrace.projects.traces.list"
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/trace.readonly"
|
||||
]
|
||||
},
|
||||
"get": {
|
||||
"flatPath": "v1/projects/{projectId}/traces/{traceId}",
|
||||
"path": "v1/projects/{projectId}/traces/{traceId}",
|
||||
"id": "cloudtrace.projects.traces.get",
|
||||
"description": "Gets a single trace by its ID.",
|
||||
"response": {
|
||||
"$ref": "Trace"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"projectId",
|
||||
"traceId"
|
||||
],
|
||||
"httpMethod": "GET",
|
||||
"parameters": {
|
||||
"projectId": {
|
||||
"location": "path",
|
||||
"description": "ID of the Cloud project where the trace data is stored.",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
"traceId": {
|
||||
"location": "path",
|
||||
"description": "ID of the trace to return.",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/trace.readonly"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -142,21 +147,21 @@
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
"uploadType": {
|
||||
"location": "query",
|
||||
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
||||
"type": "string"
|
||||
},
|
||||
"fields": {
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"uploadType": {
|
||||
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"callback": {
|
||||
"location": "query",
|
||||
"description": "JSONP",
|
||||
"type": "string"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
@@ -171,6 +176,12 @@
|
||||
"type": "string"
|
||||
},
|
||||
"alt": {
|
||||
"enumDescriptions": [
|
||||
"Responses with Content-Type of application/json",
|
||||
"Media download with context-dependent Content-Type",
|
||||
"Responses with Content-Type of application/x-protobuf"
|
||||
],
|
||||
"location": "query",
|
||||
"description": "Data format for response.",
|
||||
"default": "json",
|
||||
"enum": [
|
||||
@@ -178,13 +189,7 @@
|
||||
"media",
|
||||
"proto"
|
||||
],
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Responses with Content-Type of application/json",
|
||||
"Media download with context-dependent Content-Type",
|
||||
"Responses with Content-Type of application/x-protobuf"
|
||||
],
|
||||
"location": "query"
|
||||
"type": "string"
|
||||
},
|
||||
"key": {
|
||||
"location": "query",
|
||||
@@ -203,104 +208,44 @@
|
||||
},
|
||||
"pp": {
|
||||
"description": "Pretty-print response.",
|
||||
"default": "true",
|
||||
"type": "boolean",
|
||||
"default": "true",
|
||||
"location": "query"
|
||||
},
|
||||
"bearer_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth bearer token.",
|
||||
"type": "string"
|
||||
},
|
||||
"oauth_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"type": "string"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"upload_protocol": {
|
||||
"location": "query",
|
||||
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
|
||||
"type": "string"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"location": "query",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"default": "true",
|
||||
"type": "boolean",
|
||||
"location": "query"
|
||||
"default": "true"
|
||||
}
|
||||
},
|
||||
"version": "v1",
|
||||
"baseUrl": "https://cloudtrace.googleapis.com/",
|
||||
"kind": "discovery#restDescription",
|
||||
"description": "Send and retrieve trace data from Stackdriver Trace. Data is generated and available by default for all App Engine applications. Data from other applications can be written to Stackdriver Trace for display, reporting, and analysis.\n",
|
||||
"description": "Sends application trace data to Stackdriver Trace for viewing. Trace data is collected for all App Engine applications by default. Trace data from other applications can be provided using this API.\n",
|
||||
"servicePath": "",
|
||||
"basePath": "",
|
||||
"revision": "20170919",
|
||||
"documentationLink": "https://cloud.google.com/trace",
|
||||
"id": "cloudtrace:v1",
|
||||
"documentationLink": "https://cloud.google.com/trace",
|
||||
"revision": "20171202",
|
||||
"discoveryVersion": "v1",
|
||||
"version_module": true,
|
||||
"schemas": {
|
||||
"Empty": {
|
||||
"description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
|
||||
"type": "object",
|
||||
"properties": {},
|
||||
"id": "Empty"
|
||||
},
|
||||
"ListTracesResponse": {
|
||||
"description": "The response message for the `ListTraces` method.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"nextPageToken": {
|
||||
"description": "If defined, indicates that there are more traces that match the request\nand that this value should be passed to the next request to continue\nretrieving additional traces.",
|
||||
"type": "string"
|
||||
},
|
||||
"traces": {
|
||||
"description": "List of trace records returned.",
|
||||
"items": {
|
||||
"$ref": "Trace"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"id": "ListTracesResponse"
|
||||
},
|
||||
"Trace": {
|
||||
"description": "A trace describes how long it takes for an application to perform an\noperation. It consists of a set of spans, each of which represent a single\ntimed event within the operation.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"spans": {
|
||||
"description": "Collection of spans in the trace.",
|
||||
"items": {
|
||||
"$ref": "TraceSpan"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"projectId": {
|
||||
"description": "Project ID of the Cloud project where the trace data is stored.",
|
||||
"type": "string"
|
||||
},
|
||||
"traceId": {
|
||||
"description": "Globally unique identifier for the trace. This identifier is a 128-bit\nnumeric value formatted as a 32-byte hex string.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "Trace"
|
||||
},
|
||||
"Traces": {
|
||||
"description": "List of new or updated traces.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"traces": {
|
||||
"description": "List of traces.",
|
||||
"items": {
|
||||
"$ref": "Trace"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"id": "Traces"
|
||||
},
|
||||
"TraceSpan": {
|
||||
"description": "A span represents a single timed event within a trace. Spans can be nested\nand form a trace tree. Often, a trace contains a root span that describes the\nend-to-end latency of an operation and, optionally, one or more subspans for\nits suboperations. Spans do not need to be contiguous. There may be gaps\nbetween spans in a trace.",
|
||||
"type": "object",
|
||||
@@ -317,23 +262,23 @@
|
||||
"type": "string"
|
||||
},
|
||||
"spanId": {
|
||||
"format": "uint64",
|
||||
"description": "Identifier for the span. Must be a 64-bit integer other than 0 and\nunique within a trace.",
|
||||
"format": "uint64",
|
||||
"type": "string"
|
||||
},
|
||||
"parentSpanId": {
|
||||
"format": "uint64",
|
||||
"description": "ID of the parent span, if any. Optional.",
|
||||
"format": "uint64",
|
||||
"type": "string"
|
||||
},
|
||||
"endTime": {
|
||||
"format": "google-datetime",
|
||||
"description": "End time of the span in nanoseconds from the UNIX epoch.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"startTime": {
|
||||
"format": "google-datetime",
|
||||
"description": "Start time of the span in nanoseconds from the UNIX epoch.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
@@ -352,32 +297,88 @@
|
||||
}
|
||||
},
|
||||
"id": "TraceSpan"
|
||||
},
|
||||
"ListTracesResponse": {
|
||||
"description": "The response message for the `ListTraces` method.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"traces": {
|
||||
"description": "List of trace records returned.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "Trace"
|
||||
}
|
||||
},
|
||||
"nextPageToken": {
|
||||
"description": "If defined, indicates that there are more traces that match the request\nand that this value should be passed to the next request to continue\nretrieving additional traces.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "ListTracesResponse"
|
||||
},
|
||||
"Empty": {
|
||||
"description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
|
||||
"type": "object",
|
||||
"properties": {},
|
||||
"id": "Empty"
|
||||
},
|
||||
"Trace": {
|
||||
"description": "A trace describes how long it takes for an application to perform an\noperation. It consists of a set of spans, each of which represent a single\ntimed event within the operation.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"projectId": {
|
||||
"description": "Project ID of the Cloud project where the trace data is stored.",
|
||||
"type": "string"
|
||||
},
|
||||
"spans": {
|
||||
"description": "Collection of spans in the trace.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "TraceSpan"
|
||||
}
|
||||
},
|
||||
"traceId": {
|
||||
"description": "Globally unique identifier for the trace. This identifier is a 128-bit\nnumeric value formatted as a 32-byte hex string.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "Trace"
|
||||
},
|
||||
"Traces": {
|
||||
"description": "List of new or updated traces.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"traces": {
|
||||
"description": "List of traces.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "Trace"
|
||||
}
|
||||
}
|
||||
},
|
||||
"id": "Traces"
|
||||
}
|
||||
},
|
||||
"icons": {
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif",
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif"
|
||||
},
|
||||
"protocol": "rest",
|
||||
"canonicalName": "Cloud Trace",
|
||||
"auth": {
|
||||
"oauth2": {
|
||||
"scopes": {
|
||||
"https://www.googleapis.com/auth/trace.readonly": {
|
||||
"description": "Read Trace data for a project or application"
|
||||
},
|
||||
"https://www.googleapis.com/auth/trace.append": {
|
||||
"description": "Write Trace data for a project or application"
|
||||
},
|
||||
"https://www.googleapis.com/auth/cloud-platform": {
|
||||
"description": "View and manage your data across Google Cloud Platform services"
|
||||
},
|
||||
"https://www.googleapis.com/auth/trace.readonly": {
|
||||
"description": "Read Trace data for a project or application"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"rootUrl": "https://cloudtrace.googleapis.com/",
|
||||
"ownerDomain": "google.com",
|
||||
"name": "cloudtrace",
|
||||
"batchPath": "batch",
|
||||
"title": "Stackdriver Trace API"
|
||||
"rootUrl": "https://cloudtrace.googleapis.com/"
|
||||
}
|
||||
|
||||
@@ -1,133 +1,25 @@
|
||||
{
|
||||
"basePath": "",
|
||||
"id": "cloudtrace:v2",
|
||||
"revision": "20170919",
|
||||
"documentationLink": "https://cloud.google.com/trace",
|
||||
"revision": "20171202",
|
||||
"discoveryVersion": "v1",
|
||||
"version_module": true,
|
||||
"schemas": {
|
||||
"Empty": {
|
||||
"description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
|
||||
"type": "object",
|
||||
"properties": {},
|
||||
"id": "Empty"
|
||||
},
|
||||
"Span": {
|
||||
"description": "A span represents a single operation within a trace. Spans can be\nnested to form a trace tree. Often, a trace contains a root span\nthat describes the end-to-end latency, and one or more subspans for\nits sub-operations. A trace can also contain multiple root spans,\nor none at all. Spans do not need to be contiguous—there may be\ngaps or overlaps between spans in a trace.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"childSpanCount": {
|
||||
"format": "uint32",
|
||||
"description": "An optional number of child spans that were generated while this span\nwas active. If set, allows implementation to detect missing child spans.",
|
||||
"type": "integer"
|
||||
},
|
||||
"sameProcessAsParentSpan": {
|
||||
"description": "A highly recommended but not required flag that identifies when a trace\ncrosses a process boundary. True when the parent_span belongs to the\nsame process as the current span.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"status": {
|
||||
"$ref": "Status",
|
||||
"description": "An optional final status for this span."
|
||||
},
|
||||
"name": {
|
||||
"description": "The resource name of the span in the following format:\n\n projects/[PROJECT_ID]traces/[TRACE_ID]/spans/SPAN_ID is a unique identifier for a trace within a project.\n[SPAN_ID] is a unique identifier for a span within a trace,\nassigned when the span is created.",
|
||||
"type": "string"
|
||||
},
|
||||
"stackTrace": {
|
||||
"description": "Stack trace captured at the start of the span.",
|
||||
"$ref": "StackTrace"
|
||||
},
|
||||
"parentSpanId": {
|
||||
"description": "The [SPAN_ID] of this span's parent span. If this is a root span,\nthen this field must be empty.",
|
||||
"type": "string"
|
||||
},
|
||||
"endTime": {
|
||||
"format": "google-datetime",
|
||||
"description": "The end time of the span. On the client side, this is the time kept by\nthe local machine where the span execution ends. On the server side, this\nis the time when the server application handler stops running.",
|
||||
"type": "string"
|
||||
},
|
||||
"startTime": {
|
||||
"format": "google-datetime",
|
||||
"description": "The start time of the span. On the client side, this is the time kept by\nthe local machine where the span execution starts. On the server side, this\nis the time when the server's application handler starts running.",
|
||||
"type": "string"
|
||||
},
|
||||
"displayName": {
|
||||
"$ref": "TruncatableString",
|
||||
"description": "A description of the span's operation (up to 128 bytes).\nStackdriver Trace displays the description in the\n{% dynamic print site_values.console_name %}.\nFor example, the display name can be a qualified method name or a file name\nand a line number where the operation is called. A best practice is to use\nthe same display name within an application and at the same call point.\nThis makes it easier to correlate spans in different traces."
|
||||
},
|
||||
"timeEvents": {
|
||||
"$ref": "TimeEvents",
|
||||
"description": "The included time events. There can be up to 32 annotations and 128 network\nevents per span."
|
||||
},
|
||||
"links": {
|
||||
"description": "A maximum of 128 links are allowed per Span.",
|
||||
"$ref": "Links"
|
||||
},
|
||||
"attributes": {
|
||||
"$ref": "Attributes",
|
||||
"description": "A set of attributes on the span. There is a limit of 32 attributes per\nspan."
|
||||
},
|
||||
"spanId": {
|
||||
"description": "The [SPAN_ID] portion of the span's resource name.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "Span"
|
||||
},
|
||||
"AttributeValue": {
|
||||
"description": "The allowed types for [VALUE] in a `[KEY]:[VALUE]` attribute.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"intValue": {
|
||||
"format": "int64",
|
||||
"description": "A 64-bit signed integer.",
|
||||
"type": "string"
|
||||
},
|
||||
"boolValue": {
|
||||
"description": "A Boolean value represented by `true` or `false`.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"stringValue": {
|
||||
"description": "A string up to 256 bytes long.",
|
||||
"$ref": "TruncatableString"
|
||||
}
|
||||
},
|
||||
"id": "AttributeValue"
|
||||
},
|
||||
"Attributes": {
|
||||
"description": "A set of attributes, each in the format `[KEY]:[VALUE]`.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"droppedAttributesCount": {
|
||||
"format": "int32",
|
||||
"description": "The number of attributes that were discarded. Attributes can be discarded\nbecause their keys are too long or because there are too many attributes.\nIf this value is 0 then all attributes are valid.",
|
||||
"type": "integer"
|
||||
},
|
||||
"attributeMap": {
|
||||
"description": "The set of attributes. Each attribute's key can be up to 128 bytes\nlong. The value can be a string up to 256 bytes, an integer, or the\nBoolean values `true` and `false`. For example:\n\n \"/instance_id\": \"my-instance\"\n \"/http/user_agent\": \"\"\n \"/http/request_bytes\": 300\n \"abc.com/myattribute\": true",
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "AttributeValue"
|
||||
}
|
||||
}
|
||||
},
|
||||
"id": "Attributes"
|
||||
},
|
||||
"Links": {
|
||||
"description": "A collection of links, which are references from this span to a span\nin the same or different trace.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"droppedLinksCount": {
|
||||
"description": "The number of dropped links after the maximum size was enforced. If\nthis value is 0, then no links were dropped.",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
},
|
||||
"link": {
|
||||
"description": "A collection of links.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "Link"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"droppedLinksCount": {
|
||||
"format": "int32",
|
||||
"description": "The number of dropped links after the maximum size was enforced. If\nthis value is 0, then no links were dropped.",
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"id": "Links"
|
||||
@@ -137,8 +29,8 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"stackTraceHashId": {
|
||||
"format": "uint64",
|
||||
"description": "The hash ID is used to conserve network bandwidth for duplicate\nstack traces within a single trace.\n\nOften multiple spans will have identical stack traces.\nThe first occurrence of a stack trace should contain both the\n`stackFrame` content and a value in `stackTraceHashId`.\n\nSubsequent spans within the same request can refer\nto that stack trace by only setting `stackTraceHashId`.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"stackFrames": {
|
||||
@@ -152,86 +44,85 @@
|
||||
"description": "Represents a string that might be shortened to a specified length.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"truncatedByteCount": {
|
||||
"format": "int32",
|
||||
"description": "The number of bytes removed from the original string. If this\nvalue is 0, then the string was not shortened.",
|
||||
"type": "integer"
|
||||
},
|
||||
"value": {
|
||||
"description": "The shortened string. For example, if the original string was 500\nbytes long and the limit of the string was 128 bytes, then this\nvalue contains the first 128 bytes of the 500-byte string. Note that\ntruncation always happens on the character boundary, to ensure that\ntruncated string is still valid UTF8. In case of multi-byte characters,\nsize of truncated string can be less than truncation limit.",
|
||||
"description": "The shortened string. For example, if the original string is 500\nbytes long and the limit of the string is 128 bytes, then\n`value` contains the first 128 bytes of the 500-byte string.\n\nTruncation always happens on a UTF8 character boundary. If there\nare multi-byte characters in the string, then the length of the\nshortened string might be less than the size limit.",
|
||||
"type": "string"
|
||||
},
|
||||
"truncatedByteCount": {
|
||||
"description": "The number of bytes removed from the original string. If this\nvalue is 0, then the string was not shortened.",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"id": "TruncatableString"
|
||||
},
|
||||
"TimeEvent": {
|
||||
"description": "A time-stamped annotation or network event in the Span.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"time": {
|
||||
"format": "google-datetime",
|
||||
"description": "The timestamp indicating the time the event occurred.",
|
||||
"type": "string"
|
||||
},
|
||||
"networkEvent": {
|
||||
"description": "An event describing an RPC message sent/received on the network.",
|
||||
"$ref": "NetworkEvent"
|
||||
},
|
||||
"annotation": {
|
||||
"$ref": "Annotation",
|
||||
"description": "Text annotation with a set of attributes."
|
||||
"description": "Text annotation with a set of attributes.",
|
||||
"$ref": "Annotation"
|
||||
},
|
||||
"messageEvent": {
|
||||
"$ref": "MessageEvent",
|
||||
"description": "An event describing a message sent/received between Spans."
|
||||
},
|
||||
"time": {
|
||||
"description": "The timestamp indicating the time the event occurred.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "TimeEvent"
|
||||
"id": "TimeEvent",
|
||||
"description": "A time-stamped annotation or message event in the Span.",
|
||||
"type": "object"
|
||||
},
|
||||
"NetworkEvent": {
|
||||
"description": "An event describing an RPC message sent or received on the network.",
|
||||
"MessageEvent": {
|
||||
"description": "An event describing a message sent/received between Spans.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"time": {
|
||||
"format": "google-datetime",
|
||||
"description": "For sent messages, this is the time at which the first bit was sent.\nFor received messages, this is the time at which the last bit was\nreceived.",
|
||||
"type": "string"
|
||||
},
|
||||
"uncompressedMessageSize": {
|
||||
"format": "uint64",
|
||||
"uncompressedSizeBytes": {
|
||||
"description": "The number of uncompressed bytes sent or received.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"description": "Type of NetworkEvent. Indicates whether the RPC message was sent or\nreceived.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Unknown event type.",
|
||||
"Indicates a sent RPC message.",
|
||||
"Indicates a received RPC message."
|
||||
],
|
||||
"enum": [
|
||||
"TYPE_UNSPECIFIED",
|
||||
"SENT",
|
||||
"RECV"
|
||||
"RECEIVED"
|
||||
],
|
||||
"description": "Type of MessageEvent. Indicates whether the message was sent or\nreceived.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Unknown event type.",
|
||||
"Indicates a sent message.",
|
||||
"Indicates a received message."
|
||||
]
|
||||
},
|
||||
"messageId": {
|
||||
"format": "uint64",
|
||||
"description": "An identifier for the message, which must be unique in this span.",
|
||||
"id": {
|
||||
"description": "An identifier for the MessageEvent's message that can be used to match\nSENT and RECEIVED MessageEvents. It is recommended to be unique within\na Span.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"compressedMessageSize": {
|
||||
"format": "uint64",
|
||||
"description": "The number of compressed bytes sent or received.",
|
||||
"compressedSizeBytes": {
|
||||
"description": "The number of compressed bytes sent or received. If missing assumed to\nbe the same size as uncompressed.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "NetworkEvent"
|
||||
"id": "MessageEvent"
|
||||
},
|
||||
"StackFrame": {
|
||||
"description": "Represents a single stack frame in a stack trace.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"functionName": {
|
||||
"description": "The fully-qualified name that uniquely identifies the function or\nmethod that is active in this frame (up to 1024 bytes).",
|
||||
"$ref": "TruncatableString"
|
||||
},
|
||||
"lineNumber": {
|
||||
"format": "int64",
|
||||
"description": "The line number in `file_name` where the function call appears.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"loadModule": {
|
||||
@@ -239,8 +130,8 @@
|
||||
"$ref": "Module"
|
||||
},
|
||||
"columnNumber": {
|
||||
"format": "int64",
|
||||
"description": "The column number where the function call appears, if available.\nThis is important in JavaScript because of its anonymous functions.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"fileName": {
|
||||
@@ -252,48 +143,44 @@
|
||||
"description": "The version of the deployed source code (up to 128 bytes)."
|
||||
},
|
||||
"originalFunctionName": {
|
||||
"$ref": "TruncatableString",
|
||||
"description": "An un-mangled function name, if `function_name` is\n[mangled](http://www.avabodh.com/cxxin/namemangling.html). The name can\nbe fully-qualified (up to 1024 bytes)."
|
||||
},
|
||||
"functionName": {
|
||||
"$ref": "TruncatableString",
|
||||
"description": "The fully-qualified name that uniquely identifies the function or\nmethod that is active in this frame (up to 1024 bytes)."
|
||||
"description": "An un-mangled function name, if `function_name` is\n[mangled](http://www.avabodh.com/cxxin/namemangling.html). The name can\nbe fully-qualified (up to 1024 bytes).",
|
||||
"$ref": "TruncatableString"
|
||||
}
|
||||
},
|
||||
"id": "StackFrame"
|
||||
},
|
||||
"Link": {
|
||||
"description": "A pointer from the current span to another span in the same trace or in a\ndifferent trace. For example, this can be used in batching operations,\nwhere a single batch handler processes multiple requests from different\ntraces or when the handler receives a request from a different project.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"enum": [
|
||||
"TYPE_UNSPECIFIED",
|
||||
"CHILD_LINKED_SPAN",
|
||||
"PARENT_LINKED_SPAN"
|
||||
],
|
||||
"description": "The relationship of the current span relative to the linked span.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"The relationship of the two spans is unknown.",
|
||||
"The linked span is a child of the current span.",
|
||||
"The linked span is a parent of the current span."
|
||||
],
|
||||
"enum": [
|
||||
"TYPE_UNSPECIFIED",
|
||||
"CHILD_LINKED_SPAN",
|
||||
"PARENT_LINKED_SPAN"
|
||||
]
|
||||
},
|
||||
"attributes": {
|
||||
"description": "A set of attributes on the link. There is a limit of 32 attributes per\nlink.",
|
||||
"$ref": "Attributes"
|
||||
},
|
||||
"traceId": {
|
||||
"description": "`TRACE_ID` identifies a trace within a project.",
|
||||
"description": "The [TRACE_ID] for a trace within a project.",
|
||||
"type": "string"
|
||||
},
|
||||
"attributes": {
|
||||
"$ref": "Attributes",
|
||||
"description": "A set of attributes on the link. You have have up to 32 attributes per\nlink."
|
||||
},
|
||||
"spanId": {
|
||||
"description": "`SPAN_ID` identifies a span within a trace.",
|
||||
"description": "The [SPAN_ID] for a span within a trace.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "Link"
|
||||
"id": "Link",
|
||||
"description": "A pointer from the current span to another span in the same trace or in a\ndifferent trace. For example, this can be used in batching operations,\nwhere a single batch handler processes multiple requests from different\ntraces or when the handler receives a request from a different project.",
|
||||
"type": "object"
|
||||
},
|
||||
"Annotation": {
|
||||
"description": "Text annotation with a set of attributes.",
|
||||
@@ -304,51 +191,51 @@
|
||||
"description": "A user-supplied message describing the event. The maximum length for\nthe description is 256 bytes."
|
||||
},
|
||||
"attributes": {
|
||||
"description": "A set of attributes on the annotation. There is a limit of 4 attributes\nper Annotation.",
|
||||
"$ref": "Attributes"
|
||||
"$ref": "Attributes",
|
||||
"description": "A set of attributes on the annotation. You can have up to 4 attributes\nper Annotation."
|
||||
}
|
||||
},
|
||||
"id": "Annotation"
|
||||
},
|
||||
"StackFrames": {
|
||||
"description": "A collection of stack frames, which can be truncated.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"droppedFramesCount": {
|
||||
"format": "int32",
|
||||
"description": "The number of stack frames that were dropped because there\nwere too many stack frames.\nIf this value is 0, then no stack frames were dropped.",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
},
|
||||
"frame": {
|
||||
"description": "Stack frames in this call stack.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "StackFrame"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
}
|
||||
},
|
||||
"id": "StackFrames"
|
||||
"id": "StackFrames",
|
||||
"description": "A collection of stack frames, which can be truncated.",
|
||||
"type": "object"
|
||||
},
|
||||
"TimeEvents": {
|
||||
"description": "A collection of `TimeEvent`s. A `TimeEvent` is a time-stamped annotation\non the span, consisting of either user-supplied key:value pairs, or\ndetails of an RPC message sent/received on the network.",
|
||||
"description": "A collection of `TimeEvent`s. A `TimeEvent` is a time-stamped annotation\non the span, consisting of either user-supplied key:value pairs, or\ndetails of a message sent/received between Spans.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"droppedAnnotationsCount": {
|
||||
"format": "int32",
|
||||
"description": "The number of dropped annotations in all the included time events.\nIf the value is 0, then no annotations were dropped.",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
},
|
||||
"droppedMessageEventsCount": {
|
||||
"description": "The number of dropped message events in all the included time events.\nIf the value is 0, then no message events were dropped.",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
},
|
||||
"timeEvent": {
|
||||
"description": "A collection of `TimeEvent`s.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "TimeEvent"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"droppedNetworkEventsCount": {
|
||||
"format": "int32",
|
||||
"description": "The number of dropped network events in all the included time events.\nIf the value is 0, then no network events were dropped.",
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"id": "TimeEvents"
|
||||
@@ -358,8 +245,8 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"module": {
|
||||
"description": "For example: main binary, kernel modules, and dynamic libraries\nsuch as libc.so, sharedlib.so (up to 256 bytes).",
|
||||
"$ref": "TruncatableString"
|
||||
"$ref": "TruncatableString",
|
||||
"description": "For example: main binary, kernel modules, and dynamic libraries\nsuch as libc.so, sharedlib.so (up to 256 bytes)."
|
||||
},
|
||||
"buildId": {
|
||||
"$ref": "TruncatableString",
|
||||
@@ -369,61 +256,168 @@
|
||||
"id": "Module"
|
||||
},
|
||||
"Status": {
|
||||
"description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` that can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"code": {
|
||||
"format": "int32",
|
||||
"description": "The status code, which should be an enum value of google.rpc.Code.",
|
||||
"type": "integer"
|
||||
},
|
||||
"message": {
|
||||
"description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
|
||||
"type": "string"
|
||||
},
|
||||
"details": {
|
||||
"description": "A list of messages that carry the error details. There is a common set of\nmessage types for APIs to use.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"additionalProperties": {
|
||||
"description": "Properties of the object. Contains field @type with type URL.",
|
||||
"type": "any"
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"code": {
|
||||
"description": "The status code, which should be an enum value of google.rpc.Code.",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"id": "Status"
|
||||
"id": "Status",
|
||||
"description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` that can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
|
||||
"type": "object"
|
||||
},
|
||||
"BatchWriteSpansRequest": {
|
||||
"description": "The request message for the `BatchWriteSpans` method.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"spans": {
|
||||
"description": "A collection of spans.",
|
||||
"description": "A list of new spans. The span names must not match existing\nspans, or the results are undefined.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "Span"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
}
|
||||
},
|
||||
"id": "BatchWriteSpansRequest"
|
||||
"id": "BatchWriteSpansRequest",
|
||||
"description": "The request message for the `BatchWriteSpans` method.",
|
||||
"type": "object"
|
||||
},
|
||||
"Empty": {
|
||||
"properties": {},
|
||||
"id": "Empty",
|
||||
"description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
|
||||
"type": "object"
|
||||
},
|
||||
"Span": {
|
||||
"description": "A span represents a single operation within a trace. Spans can be\nnested to form a trace tree. Often, a trace contains a root span\nthat describes the end-to-end latency, and one or more subspans for\nits sub-operations. A trace can also contain multiple root spans,\nor none at all. Spans do not need to be contiguous—there may be\ngaps or overlaps between spans in a trace.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"parentSpanId": {
|
||||
"description": "The [SPAN_ID] of this span's parent span. If this is a root span,\nthen this field must be empty.",
|
||||
"type": "string"
|
||||
},
|
||||
"endTime": {
|
||||
"description": "The end time of the span. On the client side, this is the time kept by\nthe local machine where the span execution ends. On the server side, this\nis the time when the server application handler stops running.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"startTime": {
|
||||
"description": "The start time of the span. On the client side, this is the time kept by\nthe local machine where the span execution starts. On the server side, this\nis the time when the server's application handler starts running.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"displayName": {
|
||||
"description": "A description of the span's operation (up to 128 bytes).\nStackdriver Trace displays the description in the\n{% dynamic print site_values.console_name %}.\nFor example, the display name can be a qualified method name or a file name\nand a line number where the operation is called. A best practice is to use\nthe same display name within an application and at the same call point.\nThis makes it easier to correlate spans in different traces.",
|
||||
"$ref": "TruncatableString"
|
||||
},
|
||||
"timeEvents": {
|
||||
"description": "A set of time events. You can have up to 32 annotations and 128 message\nevents per span.",
|
||||
"$ref": "TimeEvents"
|
||||
},
|
||||
"links": {
|
||||
"$ref": "Links",
|
||||
"description": "Links associated with the span. You can have up to 128 links per Span."
|
||||
},
|
||||
"attributes": {
|
||||
"$ref": "Attributes",
|
||||
"description": "A set of attributes on the span. You can have up to 32 attributes per\nspan."
|
||||
},
|
||||
"spanId": {
|
||||
"description": "The [SPAN_ID] portion of the span's resource name.",
|
||||
"type": "string"
|
||||
},
|
||||
"childSpanCount": {
|
||||
"description": "An optional number of child spans that were generated while this span\nwas active. If set, allows implementation to detect missing child spans.",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
},
|
||||
"sameProcessAsParentSpan": {
|
||||
"description": "(Optional) Set this parameter to indicate whether this span is in\nthe same process as its parent. If you do not set this parameter,\nStackdriver Trace is unable to take advantage of this helpful\ninformation.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"status": {
|
||||
"$ref": "Status",
|
||||
"description": "An optional final status for this span."
|
||||
},
|
||||
"name": {
|
||||
"description": "The resource name of the span in the following format:\n\n projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/SPAN_ID is a unique identifier for a trace within a project;\nit is a 32-character hexadecimal encoding of a 16-byte array.\n\n[SPAN_ID] is a unique identifier for a span within a trace; it\nis a 16-character hexadecimal encoding of an 8-byte array.",
|
||||
"type": "string"
|
||||
},
|
||||
"stackTrace": {
|
||||
"$ref": "StackTrace",
|
||||
"description": "Stack trace captured at the start of the span."
|
||||
}
|
||||
},
|
||||
"id": "Span"
|
||||
},
|
||||
"AttributeValue": {
|
||||
"properties": {
|
||||
"intValue": {
|
||||
"description": "A 64-bit signed integer.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"stringValue": {
|
||||
"description": "A string up to 256 bytes long.",
|
||||
"$ref": "TruncatableString"
|
||||
},
|
||||
"boolValue": {
|
||||
"description": "A Boolean value represented by `true` or `false`.",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"id": "AttributeValue",
|
||||
"description": "The allowed types for [VALUE] in a `[KEY]:[VALUE]` attribute.",
|
||||
"type": "object"
|
||||
},
|
||||
"Attributes": {
|
||||
"properties": {
|
||||
"droppedAttributesCount": {
|
||||
"description": "The number of attributes that were discarded. Attributes can be discarded\nbecause their keys are too long or because there are too many attributes.\nIf this value is 0 then all attributes are valid.",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
},
|
||||
"attributeMap": {
|
||||
"additionalProperties": {
|
||||
"$ref": "AttributeValue"
|
||||
},
|
||||
"description": "The set of attributes. Each attribute's key can be up to 128 bytes\nlong. The value can be a string up to 256 bytes, an integer, or the\nBoolean values `true` and `false`. For example:\n\n \"/instance_id\": \"my-instance\"\n \"/http/user_agent\": \"\"\n \"/http/request_bytes\": 300\n \"abc.com/myattribute\": true",
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"id": "Attributes",
|
||||
"description": "A set of attributes, each in the format `[KEY]:[VALUE]`.",
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"protocol": "rest",
|
||||
"icons": {
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
||||
},
|
||||
"protocol": "rest",
|
||||
"canonicalName": "Cloud Trace",
|
||||
"auth": {
|
||||
"oauth2": {
|
||||
"scopes": {
|
||||
"https://www.googleapis.com/auth/trace.append": {
|
||||
"description": "Write Trace data for a project or application"
|
||||
},
|
||||
"https://www.googleapis.com/auth/cloud-platform": {
|
||||
"description": "View and manage your data across Google Cloud Platform services"
|
||||
},
|
||||
"https://www.googleapis.com/auth/trace.append": {
|
||||
"description": "Write Trace data for a project or application"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -432,43 +426,13 @@
|
||||
"ownerDomain": "google.com",
|
||||
"name": "cloudtrace",
|
||||
"batchPath": "batch",
|
||||
"fullyEncodeReservedExpansion": true,
|
||||
"title": "Stackdriver Trace API",
|
||||
"ownerName": "Google",
|
||||
"resources": {
|
||||
"projects": {
|
||||
"resources": {
|
||||
"traces": {
|
||||
"methods": {
|
||||
"batchWrite": {
|
||||
"flatPath": "v2/projects/{projectsId}/traces:batchWrite",
|
||||
"id": "cloudtrace.projects.traces.batchWrite",
|
||||
"path": "v2/{+name}/traces:batchWrite",
|
||||
"description": "Sends new spans to Stackdriver Trace or updates existing traces. If the\nname of a trace that you send matches that of an existing trace, new spans\nare added to the existing trace. Attempt to update existing spans results\nundefined behavior. If the name does not match, a new trace is created\nwith given set of spans.",
|
||||
"request": {
|
||||
"$ref": "BatchWriteSpansRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "Empty"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"httpMethod": "POST",
|
||||
"parameters": {
|
||||
"name": {
|
||||
"location": "path",
|
||||
"description": "Required. Name of the project where the spans belong. The format is\n`projects/PROJECT_ID`.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"pattern": "^projects/[^/]+$"
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/trace.append"
|
||||
]
|
||||
}
|
||||
},
|
||||
"resources": {
|
||||
"spans": {
|
||||
"methods": {
|
||||
@@ -479,45 +443,76 @@
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"httpMethod": "PUT",
|
||||
"httpMethod": "POST",
|
||||
"parameters": {
|
||||
"name": {
|
||||
"pattern": "^projects/[^/]+/traces/[^/]+$",
|
||||
"location": "path",
|
||||
"description": "The resource name of the span in the following format:\n\n projects/[PROJECT_ID]traces/[TRACE_ID]/spans/SPAN_ID is a unique identifier for a trace within a project.\n[SPAN_ID] is a unique identifier for a span within a trace,\nassigned when the span is created.",
|
||||
"type": "string",
|
||||
"description": "The resource name of the span in the following format:\n\n projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/SPAN_ID is a unique identifier for a trace within a project;\nit is a 32-character hexadecimal encoding of a 16-byte array.\n\n[SPAN_ID] is a unique identifier for a span within a trace; it\nis a 16-character hexadecimal encoding of an 8-byte array.",
|
||||
"required": true,
|
||||
"pattern": "^projects/[^/]+/traces/[^/]+/spans/[^/]+$"
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/trace.append"
|
||||
],
|
||||
"flatPath": "v2/projects/{projectsId}/traces/{tracesId}/spans/{spansId}",
|
||||
"flatPath": "v2/projects/{projectsId}/traces/{tracesId}/spans",
|
||||
"path": "v2/{+name}/spans",
|
||||
"id": "cloudtrace.projects.traces.spans.create",
|
||||
"path": "v2/{+name}",
|
||||
"description": "Creates a new Span.",
|
||||
"request": {
|
||||
"$ref": "Span"
|
||||
}
|
||||
},
|
||||
"description": "Creates a new span."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"methods": {
|
||||
"batchWrite": {
|
||||
"httpMethod": "POST",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "Empty"
|
||||
},
|
||||
"parameters": {
|
||||
"name": {
|
||||
"pattern": "^projects/[^/]+$",
|
||||
"location": "path",
|
||||
"description": "Required. The name of the project where the spans belong. The format is\n`projects/[PROJECT_ID]`.",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/trace.append"
|
||||
],
|
||||
"flatPath": "v2/projects/{projectsId}/traces:batchWrite",
|
||||
"id": "cloudtrace.projects.traces.batchWrite",
|
||||
"path": "v2/{+name}/traces:batchWrite",
|
||||
"request": {
|
||||
"$ref": "BatchWriteSpansRequest"
|
||||
},
|
||||
"description": "Sends new spans to new or existing traces. You cannot update\nexisting spans."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
"pp": {
|
||||
"quotaUser": {
|
||||
"location": "query",
|
||||
"description": "Pretty-print response.",
|
||||
"default": "true",
|
||||
"type": "boolean"
|
||||
"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.",
|
||||
"type": "string"
|
||||
},
|
||||
"oauth_token": {
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"type": "string",
|
||||
"pp": {
|
||||
"description": "Pretty-print response.",
|
||||
"type": "boolean",
|
||||
"default": "true",
|
||||
"location": "query"
|
||||
},
|
||||
"bearer_token": {
|
||||
@@ -525,31 +520,36 @@
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"oauth_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"type": "string"
|
||||
},
|
||||
"upload_protocol": {
|
||||
"location": "query",
|
||||
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
"type": "string"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"default": "true",
|
||||
"type": "boolean",
|
||||
"location": "query"
|
||||
},
|
||||
"fields": {
|
||||
"location": "query",
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"type": "string"
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"type": "boolean",
|
||||
"default": "true"
|
||||
},
|
||||
"uploadType": {
|
||||
"location": "query",
|
||||
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
||||
"type": "string"
|
||||
},
|
||||
"fields": {
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"callback": {
|
||||
"location": "query",
|
||||
"description": "JSONP",
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"enumDescriptions": [
|
||||
@@ -565,6 +565,12 @@
|
||||
"type": "string"
|
||||
},
|
||||
"alt": {
|
||||
"enum": [
|
||||
"json",
|
||||
"media",
|
||||
"proto"
|
||||
],
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Responses with Content-Type of application/json",
|
||||
"Media download with context-dependent Content-Type",
|
||||
@@ -572,33 +578,23 @@
|
||||
],
|
||||
"location": "query",
|
||||
"description": "Data format for response.",
|
||||
"default": "json",
|
||||
"enum": [
|
||||
"json",
|
||||
"media",
|
||||
"proto"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"access_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth access token.",
|
||||
"type": "string"
|
||||
"default": "json"
|
||||
},
|
||||
"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.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"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.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
"access_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth access token.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"version": "v2",
|
||||
"baseUrl": "https://cloudtrace.googleapis.com/",
|
||||
"servicePath": "",
|
||||
"description": "Sends application trace data to Stackdriver Trace for viewing. Trace data is collected for all App Engine applications by default. Trace data from other applications can be provided using this API.\n",
|
||||
"kind": "discovery#restDescription",
|
||||
"description": "Send and retrieve trace data from Stackdriver Trace. Data is generated and available by default for all App Engine applications. Data from other applications can be written to Stackdriver Trace for display, reporting, and analysis.\n",
|
||||
"servicePath": ""
|
||||
"basePath": ""
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/5vl5aa2CUylrEFA9Igu87wDe8Ug\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/sn3kI5v3BSYBkgZLL4qfVbTsTJQ\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "content:v2sandbox",
|
||||
"name": "content",
|
||||
"canonicalName": "Shopping Content",
|
||||
"version": "v2sandbox",
|
||||
"revision": "20170926",
|
||||
"revision": "20171207",
|
||||
"title": "Content API for Shopping",
|
||||
"description": "Manages product items, inventory, and Merchant Center accounts for Google Shopping.",
|
||||
"ownerDomain": "google.com",
|
||||
@@ -325,6 +325,13 @@
|
||||
"id": "OrderLineItem",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"annotations": {
|
||||
"type": "array",
|
||||
"description": "Annotations that are attached to the line item.",
|
||||
"items": {
|
||||
"$ref": "OrderMerchantProvidedAnnotation"
|
||||
}
|
||||
},
|
||||
"cancellations": {
|
||||
"type": "array",
|
||||
"description": "Cancellations of the line item.",
|
||||
@@ -584,6 +591,20 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"OrderMerchantProvidedAnnotation": {
|
||||
"id": "OrderMerchantProvidedAnnotation",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"key": {
|
||||
"type": "string",
|
||||
"description": "Key for additional merchant provided (as key-value pairs) annotation about the line item."
|
||||
},
|
||||
"value": {
|
||||
"type": "string",
|
||||
"description": "Value for additional merchant provided (as key-value pairs) annotation about the line item."
|
||||
}
|
||||
}
|
||||
},
|
||||
"OrderPaymentMethod": {
|
||||
"id": "OrderPaymentMethod",
|
||||
"type": "object",
|
||||
@@ -740,7 +761,7 @@
|
||||
"properties": {
|
||||
"carrier": {
|
||||
"type": "string",
|
||||
"description": "The carrier handling the shipment.\n\nAcceptable values are: \n- \"gsx\" \n- \"ups\" \n- \"united parcel service\" \n- \"usps\" \n- \"united states postal service\" \n- \"fedex\" \n- \"dhl\" \n- \"ecourier\" \n- \"cxt\" \n- \"google\" \n- \"on trac\" \n- \"ontrac\" \n- \"on-trac\" \n- \"on_trac\" \n- \"delvic\" \n- \"dynamex\" \n- \"lasership\" \n- \"smartpost\" \n- \"fedex smartpost\" \n- \"mpx\" \n- \"uds\" \n- \"united delivery service\""
|
||||
"description": "The carrier handling the shipment.\n\nAcceptable values are: \n- \"gsx\" \n- \"ups\" \n- \"usps\" \n- \"fedex\" \n- \"dhl\" \n- \"ecourier\" \n- \"cxt\" \n- \"google\" \n- \"ontrac\" \n- \"emsy\" \n- \"ont\" \n- \"deliv\" \n- \"dynamex\" \n- \"lasership\" \n- \"mpx\" \n- \"uds\""
|
||||
},
|
||||
"creationDate": {
|
||||
"type": "string",
|
||||
@@ -777,7 +798,11 @@
|
||||
"properties": {
|
||||
"lineItemId": {
|
||||
"type": "string",
|
||||
"description": "The id of the line item that is shipped."
|
||||
"description": "The id of the line item that is shipped. Either lineItemId or productId is required."
|
||||
},
|
||||
"productId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the product to ship. This is the REST ID used in the products service. Either lineItemId or productId is required."
|
||||
},
|
||||
"quantity": {
|
||||
"type": "integer",
|
||||
@@ -830,14 +855,26 @@
|
||||
"$ref": "Price",
|
||||
"description": "Amount to refund for the cancelation. Optional. If not set, Google will calculate the default based on the price and tax of the items involved. The amount must not be larger than the net amount left on the order."
|
||||
},
|
||||
"amountPretax": {
|
||||
"$ref": "Price",
|
||||
"description": "Amount to refund for the cancelation. Optional. If not set, Google will calculate the default based on the price and tax of the items involved. The amount must not be larger than the net amount left on the order."
|
||||
},
|
||||
"amountTax": {
|
||||
"$ref": "Price",
|
||||
"description": "Tax amount that correspond to cancellation amount in amountPretax."
|
||||
},
|
||||
"lineItemId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the line item to cancel."
|
||||
"description": "The ID of the line item to cancel. Either lineItemId or productId is required."
|
||||
},
|
||||
"operationId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the operation. Unique across all operations for a given order."
|
||||
},
|
||||
"productId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the product to cancel. This is the REST ID used in the products service. Either lineItemId or productId is required."
|
||||
},
|
||||
"quantity": {
|
||||
"type": "integer",
|
||||
"description": "The quantity to cancel.",
|
||||
@@ -989,10 +1026,18 @@
|
||||
"$ref": "OrdersCustomBatchRequestEntryReturnLineItem",
|
||||
"description": "Required for returnLineItem method."
|
||||
},
|
||||
"setLineItemMetadata": {
|
||||
"$ref": "OrdersCustomBatchRequestEntrySetLineItemMetadata",
|
||||
"description": "Required for setLineItemMetadata method."
|
||||
},
|
||||
"shipLineItems": {
|
||||
"$ref": "OrdersCustomBatchRequestEntryShipLineItems",
|
||||
"description": "Required for shipLineItems method."
|
||||
},
|
||||
"updateLineItemShippingDetails": {
|
||||
"$ref": "OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails",
|
||||
"description": "Required for updateLineItemShippingDate method."
|
||||
},
|
||||
"updateShipment": {
|
||||
"$ref": "OrdersCustomBatchRequestEntryUpdateShipment",
|
||||
"description": "Required for updateShipment method."
|
||||
@@ -1021,9 +1066,21 @@
|
||||
"$ref": "Price",
|
||||
"description": "Amount to refund for the cancelation. Optional. If not set, Google will calculate the default based on the price and tax of the items involved. The amount must not be larger than the net amount left on the order."
|
||||
},
|
||||
"amountPretax": {
|
||||
"$ref": "Price",
|
||||
"description": "Amount to refund for the cancelation. Optional. If not set, Google will calculate the default based on the price and tax of the items involved. The amount must not be larger than the net amount left on the order."
|
||||
},
|
||||
"amountTax": {
|
||||
"$ref": "Price",
|
||||
"description": "Tax amount that correspond to cancellation amount in amountPretax."
|
||||
},
|
||||
"lineItemId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the line item to cancel."
|
||||
"description": "The ID of the line item to cancel. Either lineItemId or productId is required."
|
||||
},
|
||||
"productId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the product to cancel. This is the REST ID used in the products service. Either lineItemId or productId is required."
|
||||
},
|
||||
"quantity": {
|
||||
"type": "integer",
|
||||
@@ -1048,6 +1105,14 @@
|
||||
"$ref": "Price",
|
||||
"description": "The amount that is refunded."
|
||||
},
|
||||
"amountPretax": {
|
||||
"$ref": "Price",
|
||||
"description": "The amount that is refunded. Either amount or amountPretax and amountTax should be filled."
|
||||
},
|
||||
"amountTax": {
|
||||
"$ref": "Price",
|
||||
"description": "Tax amount that correspond to refund amount in amountPretax."
|
||||
},
|
||||
"reason": {
|
||||
"type": "string",
|
||||
"description": "The reason for the refund."
|
||||
@@ -1064,7 +1129,11 @@
|
||||
"properties": {
|
||||
"lineItemId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the line item to return."
|
||||
"description": "The ID of the line item to return. Either lineItemId or productId is required."
|
||||
},
|
||||
"productId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the product to return. This is the REST ID used in the products service. Either lineItemId or productId is required."
|
||||
},
|
||||
"quantity": {
|
||||
"type": "integer",
|
||||
@@ -1081,6 +1150,26 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"OrdersCustomBatchRequestEntrySetLineItemMetadata": {
|
||||
"id": "OrdersCustomBatchRequestEntrySetLineItemMetadata",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"annotations": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "OrderMerchantProvidedAnnotation"
|
||||
}
|
||||
},
|
||||
"lineItemId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the line item to set metadata. Either lineItemId or productId is required."
|
||||
},
|
||||
"productId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the product to set metadata. This is the REST ID used in the products service. Either lineItemId or productId is required."
|
||||
}
|
||||
}
|
||||
},
|
||||
"OrdersCustomBatchRequestEntryShipLineItems": {
|
||||
"id": "OrdersCustomBatchRequestEntryShipLineItems",
|
||||
"type": "object",
|
||||
@@ -1136,6 +1225,28 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails": {
|
||||
"id": "OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"deliverByDate": {
|
||||
"type": "string",
|
||||
"description": "Updated delivery by date, in ISO 8601 format. If not specified only ship by date is updated."
|
||||
},
|
||||
"lineItemId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the line item to set metadata. Either lineItemId or productId is required."
|
||||
},
|
||||
"productId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the product to set metadata. This is the REST ID used in the products service. Either lineItemId or productId is required."
|
||||
},
|
||||
"shipByDate": {
|
||||
"type": "string",
|
||||
"description": "Updated ship by date, in ISO 8601 format. If not specified only deliver by date is updated."
|
||||
}
|
||||
}
|
||||
},
|
||||
"OrdersCustomBatchRequestEntryUpdateShipment": {
|
||||
"id": "OrdersCustomBatchRequestEntryUpdateShipment",
|
||||
"type": "object",
|
||||
@@ -1263,6 +1374,14 @@
|
||||
"$ref": "Price",
|
||||
"description": "The amount that is refunded."
|
||||
},
|
||||
"amountPretax": {
|
||||
"$ref": "Price",
|
||||
"description": "The amount that is refunded. Either amount or amountPretax and amountTax should be filled."
|
||||
},
|
||||
"amountTax": {
|
||||
"$ref": "Price",
|
||||
"description": "Tax amount that correspond to refund amount in amountPretax."
|
||||
},
|
||||
"operationId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the operation. Unique across all operations for a given order."
|
||||
@@ -1298,12 +1417,16 @@
|
||||
"properties": {
|
||||
"lineItemId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the line item to return."
|
||||
"description": "The ID of the line item to return. Either lineItemId or productId is required."
|
||||
},
|
||||
"operationId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the operation. Unique across all operations for a given order."
|
||||
},
|
||||
"productId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the product to return. This is the REST ID used in the products service. Either lineItemId or productId is required."
|
||||
},
|
||||
"quantity": {
|
||||
"type": "integer",
|
||||
"description": "The quantity to return.",
|
||||
@@ -1334,6 +1457,45 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"OrdersSetLineItemMetadataRequest": {
|
||||
"id": "OrdersSetLineItemMetadataRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"annotations": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "OrderMerchantProvidedAnnotation"
|
||||
}
|
||||
},
|
||||
"lineItemId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the line item to set metadata. Either lineItemId or productId is required."
|
||||
},
|
||||
"operationId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the operation. Unique across all operations for a given order."
|
||||
},
|
||||
"productId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the product to set metadata. This is the REST ID used in the products service. Either lineItemId or productId is required."
|
||||
}
|
||||
}
|
||||
},
|
||||
"OrdersSetLineItemMetadataResponse": {
|
||||
"id": "OrdersSetLineItemMetadataResponse",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"executionStatus": {
|
||||
"type": "string",
|
||||
"description": "The status of the execution."
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersSetLineItemMetadataResponse\".",
|
||||
"default": "content#ordersSetLineItemMetadataResponse"
|
||||
}
|
||||
}
|
||||
},
|
||||
"OrdersShipLineItemsRequest": {
|
||||
"id": "OrdersShipLineItemsRequest",
|
||||
"type": "object",
|
||||
@@ -1385,6 +1547,47 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"OrdersUpdateLineItemShippingDetailsRequest": {
|
||||
"id": "OrdersUpdateLineItemShippingDetailsRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"deliverByDate": {
|
||||
"type": "string",
|
||||
"description": "Updated delivery by date, in ISO 8601 format. If not specified only ship by date is updated."
|
||||
},
|
||||
"lineItemId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the line item to set metadata. Either lineItemId or productId is required."
|
||||
},
|
||||
"operationId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the operation. Unique across all operations for a given order."
|
||||
},
|
||||
"productId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the product to set metadata. This is the REST ID used in the products service. Either lineItemId or productId is required."
|
||||
},
|
||||
"shipByDate": {
|
||||
"type": "string",
|
||||
"description": "Updated ship by date, in ISO 8601 format. If not specified only deliver by date is updated."
|
||||
}
|
||||
}
|
||||
},
|
||||
"OrdersUpdateLineItemShippingDetailsResponse": {
|
||||
"id": "OrdersUpdateLineItemShippingDetailsResponse",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"executionStatus": {
|
||||
"type": "string",
|
||||
"description": "The status of the execution."
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersUpdateLineItemShippingDetailsResponse\".",
|
||||
"default": "content#ordersUpdateLineItemShippingDetailsResponse"
|
||||
}
|
||||
}
|
||||
},
|
||||
"OrdersUpdateMerchantOrderIdRequest": {
|
||||
"id": "OrdersUpdateMerchantOrderIdRequest",
|
||||
"type": "object",
|
||||
@@ -1499,6 +1702,10 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"notificationMode": {
|
||||
"type": "string",
|
||||
"description": "Determines if test order must be pulled by merchant or pushed to merchant via push integration."
|
||||
},
|
||||
"paymentMethod": {
|
||||
"$ref": "TestOrderPaymentMethod",
|
||||
"description": "The details of the payment method."
|
||||
@@ -1760,11 +1967,11 @@
|
||||
"id": "content.orders.acknowledge",
|
||||
"path": "{merchantId}/orders/{orderId}/acknowledge",
|
||||
"httpMethod": "POST",
|
||||
"description": "Marks an order as acknowledged. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Marks an order as acknowledged.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
@@ -1794,11 +2001,11 @@
|
||||
"id": "content.orders.advancetestorder",
|
||||
"path": "{merchantId}/testorders/{orderId}/advance",
|
||||
"httpMethod": "POST",
|
||||
"description": "Sandbox only. Moves a test order from state \"inProgress\" to state \"pendingShipment\". This method can only be called for non-multi-client accounts.",
|
||||
"description": "Sandbox only. Moves a test order from state \"inProgress\" to state \"pendingShipment\".",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
@@ -1825,11 +2032,11 @@
|
||||
"id": "content.orders.cancel",
|
||||
"path": "{merchantId}/orders/{orderId}/cancel",
|
||||
"httpMethod": "POST",
|
||||
"description": "Cancels all line items in an order, making a full refund. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Cancels all line items in an order, making a full refund.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
@@ -1859,11 +2066,11 @@
|
||||
"id": "content.orders.cancellineitem",
|
||||
"path": "{merchantId}/orders/{orderId}/cancelLineItem",
|
||||
"httpMethod": "POST",
|
||||
"description": "Cancels a line item, making a full refund. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Cancels a line item, making a full refund.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
@@ -1893,11 +2100,11 @@
|
||||
"id": "content.orders.createtestorder",
|
||||
"path": "{merchantId}/testorders",
|
||||
"httpMethod": "POST",
|
||||
"description": "Sandbox only. Creates a test order. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Sandbox only. Creates a test order.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"description": "The ID of the account that should manage the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
@@ -1920,7 +2127,7 @@
|
||||
"id": "content.orders.custombatch",
|
||||
"path": "orders/batch",
|
||||
"httpMethod": "POST",
|
||||
"description": "Retrieves or modifies multiple orders in a single request. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Retrieves or modifies multiple orders in a single request.",
|
||||
"request": {
|
||||
"$ref": "OrdersCustomBatchRequest"
|
||||
},
|
||||
@@ -1935,11 +2142,11 @@
|
||||
"id": "content.orders.get",
|
||||
"path": "{merchantId}/orders/{orderId}",
|
||||
"httpMethod": "GET",
|
||||
"description": "Retrieves an order from your Merchant Center account. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Retrieves an order from your Merchant Center account.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
@@ -1966,11 +2173,11 @@
|
||||
"id": "content.orders.getbymerchantorderid",
|
||||
"path": "{merchantId}/ordersbymerchantid/{merchantOrderId}",
|
||||
"httpMethod": "GET",
|
||||
"description": "Retrieves an order using merchant order id. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Retrieves an order using merchant order id.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
@@ -1997,11 +2204,11 @@
|
||||
"id": "content.orders.gettestordertemplate",
|
||||
"path": "{merchantId}/testordertemplates/{templateName}",
|
||||
"httpMethod": "GET",
|
||||
"description": "Sandbox only. Retrieves an order template that can be used to quickly create a new order in sandbox. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Sandbox only. Retrieves an order template that can be used to quickly create a new order in sandbox.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"description": "The ID of the account that should manage the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
@@ -2040,7 +2247,7 @@
|
||||
"id": "content.orders.list",
|
||||
"path": "{merchantId}/orders",
|
||||
"httpMethod": "GET",
|
||||
"description": "Lists the orders in your Merchant Center account. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Lists the orders in your Merchant Center account.",
|
||||
"parameters": {
|
||||
"acknowledged": {
|
||||
"type": "boolean",
|
||||
@@ -2055,7 +2262,7 @@
|
||||
},
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
@@ -2135,11 +2342,11 @@
|
||||
"id": "content.orders.refund",
|
||||
"path": "{merchantId}/orders/{orderId}/refund",
|
||||
"httpMethod": "POST",
|
||||
"description": "Refund a portion of the order, up to the full amount paid. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Refund a portion of the order, up to the full amount paid.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
@@ -2169,11 +2376,11 @@
|
||||
"id": "content.orders.returnlineitem",
|
||||
"path": "{merchantId}/orders/{orderId}/returnLineItem",
|
||||
"httpMethod": "POST",
|
||||
"description": "Returns a line item. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Returns a line item.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
@@ -2199,15 +2406,49 @@
|
||||
"https://www.googleapis.com/auth/content"
|
||||
]
|
||||
},
|
||||
"setlineitemmetadata": {
|
||||
"id": "content.orders.setlineitemmetadata",
|
||||
"path": "{merchantId}/orders/{orderId}/setLineItemMetadata",
|
||||
"httpMethod": "POST",
|
||||
"description": "Sets (overrides) merchant provided annotations on the line item.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
},
|
||||
"orderId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the order.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"merchantId",
|
||||
"orderId"
|
||||
],
|
||||
"request": {
|
||||
"$ref": "OrdersSetLineItemMetadataRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "OrdersSetLineItemMetadataResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/content"
|
||||
]
|
||||
},
|
||||
"shiplineitems": {
|
||||
"id": "content.orders.shiplineitems",
|
||||
"path": "{merchantId}/orders/{orderId}/shipLineItems",
|
||||
"httpMethod": "POST",
|
||||
"description": "Marks line item(s) as shipped. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Marks line item(s) as shipped.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
@@ -2233,15 +2474,49 @@
|
||||
"https://www.googleapis.com/auth/content"
|
||||
]
|
||||
},
|
||||
"updatelineitemshippingdetails": {
|
||||
"id": "content.orders.updatelineitemshippingdetails",
|
||||
"path": "{merchantId}/orders/{orderId}/updateLineItemShippingDetails",
|
||||
"httpMethod": "POST",
|
||||
"description": "Updates ship by and delivery by dates for a line item.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
},
|
||||
"orderId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the order.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"merchantId",
|
||||
"orderId"
|
||||
],
|
||||
"request": {
|
||||
"$ref": "OrdersUpdateLineItemShippingDetailsRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "OrdersUpdateLineItemShippingDetailsResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/content"
|
||||
]
|
||||
},
|
||||
"updatemerchantorderid": {
|
||||
"id": "content.orders.updatemerchantorderid",
|
||||
"path": "{merchantId}/orders/{orderId}/updateMerchantOrderId",
|
||||
"httpMethod": "POST",
|
||||
"description": "Updates the merchant order ID for a given order. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Updates the merchant order ID for a given order.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
@@ -2271,11 +2546,11 @@
|
||||
"id": "content.orders.updateshipment",
|
||||
"path": "{merchantId}/orders/{orderId}/updateShipment",
|
||||
"httpMethod": "POST",
|
||||
"description": "Updates a shipment's status, carrier, and/or tracking ID. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Updates a shipment's status, carrier, and/or tracking ID.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
"basePath": "/customsearch/",
|
||||
"rootUrl": "https://www.googleapis.com/",
|
||||
"servicePath": "customsearch/",
|
||||
"batchPath": "batch",
|
||||
"batchPath": "batch/customsearch/v1",
|
||||
"parameters": {
|
||||
"alt": {
|
||||
"type": "string",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,8 +1,4 @@
|
||||
{
|
||||
"batchPath": "batch",
|
||||
"revision": "20170918",
|
||||
"documentationLink": "https://cloud.google.com/datastore/",
|
||||
"id": "datastore:v1beta1",
|
||||
"title": "Google Cloud Datastore API",
|
||||
"discoveryVersion": "v1",
|
||||
"ownerName": "Google",
|
||||
@@ -11,8 +7,6 @@
|
||||
"projects": {
|
||||
"methods": {
|
||||
"export": {
|
||||
"id": "datastore.projects.export",
|
||||
"path": "v1beta1/projects/{projectId}:export",
|
||||
"request": {
|
||||
"$ref": "GoogleDatastoreAdminV1beta1ExportEntitiesRequest"
|
||||
},
|
||||
@@ -24,72 +18,90 @@
|
||||
"projectId"
|
||||
],
|
||||
"httpMethod": "POST",
|
||||
"parameters": {
|
||||
"projectId": {
|
||||
"description": "Project ID against which to make the request.",
|
||||
"required": true,
|
||||
"type": "string",
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/datastore"
|
||||
],
|
||||
"parameters": {
|
||||
"projectId": {
|
||||
"location": "path",
|
||||
"description": "Project ID against which to make the request.",
|
||||
"type": "string",
|
||||
"required": true
|
||||
}
|
||||
},
|
||||
"flatPath": "v1beta1/projects/{projectId}:export"
|
||||
"flatPath": "v1beta1/projects/{projectId}:export",
|
||||
"path": "v1beta1/projects/{projectId}:export",
|
||||
"id": "datastore.projects.export"
|
||||
},
|
||||
"import": {
|
||||
"flatPath": "v1beta1/projects/{projectId}:import",
|
||||
"id": "datastore.projects.import",
|
||||
"path": "v1beta1/projects/{projectId}:import",
|
||||
"request": {
|
||||
"$ref": "GoogleDatastoreAdminV1beta1ImportEntitiesRequest"
|
||||
},
|
||||
"description": "Imports entities into Google Cloud Datastore. Existing entities with the\nsame key are overwritten. The import occurs in the background and its\nprogress can be monitored and managed via the Operation resource that is\ncreated. If an ImportEntities operation is cancelled, it is possible\nthat a subset of the data has already been imported to Cloud Datastore.",
|
||||
"response": {
|
||||
"$ref": "GoogleLongrunningOperation"
|
||||
},
|
||||
"httpMethod": "POST",
|
||||
"parameterOrder": [
|
||||
"projectId"
|
||||
],
|
||||
"httpMethod": "POST",
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/datastore"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "GoogleLongrunningOperation"
|
||||
},
|
||||
"parameters": {
|
||||
"projectId": {
|
||||
"description": "Project ID against which to make the request.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"type": "string",
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"flatPath": "v1beta1/projects/{projectId}:import"
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/datastore"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
"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.",
|
||||
"alt": {
|
||||
"enum": [
|
||||
"json",
|
||||
"media",
|
||||
"proto"
|
||||
],
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
"enumDescriptions": [
|
||||
"Responses with Content-Type of application/json",
|
||||
"Media download with context-dependent Content-Type",
|
||||
"Responses with Content-Type of application/x-protobuf"
|
||||
],
|
||||
"location": "query",
|
||||
"description": "Data format for response.",
|
||||
"default": "json"
|
||||
},
|
||||
"key": {
|
||||
"location": "query",
|
||||
"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.",
|
||||
"type": "string"
|
||||
},
|
||||
"access_token": {
|
||||
"type": "string",
|
||||
"location": "query",
|
||||
"description": "OAuth access token."
|
||||
"description": "OAuth access token.",
|
||||
"type": "string"
|
||||
},
|
||||
"quotaUser": {
|
||||
"location": "query",
|
||||
"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.",
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"pp": {
|
||||
"location": "query",
|
||||
"description": "Pretty-print response.",
|
||||
"default": "true",
|
||||
"type": "boolean"
|
||||
"type": "boolean",
|
||||
"default": "true"
|
||||
},
|
||||
"bearer_token": {
|
||||
"location": "query",
|
||||
@@ -107,14 +119,9 @@
|
||||
"type": "string"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"location": "query",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"type": "boolean",
|
||||
"default": "true",
|
||||
"type": "boolean"
|
||||
},
|
||||
"uploadType": {
|
||||
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"fields": {
|
||||
@@ -122,6 +129,16 @@
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"uploadType": {
|
||||
"location": "query",
|
||||
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
@@ -134,100 +151,17 @@
|
||||
],
|
||||
"description": "V1 error format.",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"type": "string",
|
||||
"location": "query",
|
||||
"description": "JSONP"
|
||||
},
|
||||
"alt": {
|
||||
"location": "query",
|
||||
"description": "Data format for response.",
|
||||
"default": "json",
|
||||
"enum": [
|
||||
"json",
|
||||
"media",
|
||||
"proto"
|
||||
],
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Responses with Content-Type of application/json",
|
||||
"Media download with context-dependent Content-Type",
|
||||
"Responses with Content-Type of application/x-protobuf"
|
||||
]
|
||||
}
|
||||
},
|
||||
"schemas": {
|
||||
"GoogleDatastoreAdminV1beta1ImportEntitiesRequest": {
|
||||
"description": "The request for\ngoogle.datastore.admin.v1beta1.DatastoreAdmin.ImportEntities.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"labels": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Client-assigned labels.",
|
||||
"type": "object"
|
||||
},
|
||||
"inputUrl": {
|
||||
"description": "The full resource URL of the external storage location. Currently, only\nGoogle Cloud Storage is supported. So input_url should be of the form:\n`gs://BUCKET_NAME[/NAMESPACE_PATH]/OVERALL_EXPORT_METADATA_FILE`, where\n`BUCKET_NAME` is the name of the Cloud Storage bucket, `NAMESPACE_PATH` is\nan optional Cloud Storage namespace path (this is not a Cloud Datastore\nnamespace), and `OVERALL_EXPORT_METADATA_FILE` is the metadata file written\nby the ExportEntities operation. For more information about Cloud Storage\nnamespace paths, see\n[Object name\nconsiderations](https://cloud.google.com/storage/docs/naming#object-considerations).\n\nFor more information, see\ngoogle.datastore.admin.v1beta1.ExportEntitiesResponse.output_url.",
|
||||
"type": "string"
|
||||
},
|
||||
"entityFilter": {
|
||||
"$ref": "GoogleDatastoreAdminV1beta1EntityFilter",
|
||||
"description": "Optionally specify which kinds/namespaces are to be imported. If provided,\nthe list must be a subset of the EntityFilter used in creating the export,\notherwise a FAILED_PRECONDITION error will be returned. If no filter is\nspecified then all entities from the export are imported."
|
||||
}
|
||||
},
|
||||
"id": "GoogleDatastoreAdminV1beta1ImportEntitiesRequest"
|
||||
},
|
||||
"GoogleDatastoreAdminV1beta1ImportEntitiesMetadata": {
|
||||
"id": "GoogleDatastoreAdminV1beta1ImportEntitiesMetadata",
|
||||
"description": "Metadata for ImportEntities operations.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"entityFilter": {
|
||||
"description": "Description of which entities are being imported.",
|
||||
"$ref": "GoogleDatastoreAdminV1beta1EntityFilter"
|
||||
},
|
||||
"progressEntities": {
|
||||
"$ref": "GoogleDatastoreAdminV1beta1Progress",
|
||||
"description": "An estimate of the number of entities processed."
|
||||
},
|
||||
"common": {
|
||||
"$ref": "GoogleDatastoreAdminV1beta1CommonMetadata",
|
||||
"description": "Metadata common to all Datastore Admin operations."
|
||||
},
|
||||
"inputUrl": {
|
||||
"description": "The location of the import metadata file. This will be the same value as\nthe google.datastore.admin.v1beta1.ExportEntitiesResponse.output_url\nfield.",
|
||||
"type": "string"
|
||||
},
|
||||
"progressBytes": {
|
||||
"$ref": "GoogleDatastoreAdminV1beta1Progress",
|
||||
"description": "An estimate of the number of bytes processed."
|
||||
}
|
||||
}
|
||||
},
|
||||
"GoogleDatastoreAdminV1beta1Progress": {
|
||||
"description": "Measures the progress of a particular metric.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"workEstimated": {
|
||||
"format": "int64",
|
||||
"description": "An estimate of how much work needs to be performed. May be zero if the\nwork estimate is unavailable.",
|
||||
"type": "string"
|
||||
},
|
||||
"workCompleted": {
|
||||
"format": "int64",
|
||||
"description": "The amount of work that has been completed. Note that this may be greater\nthan work_estimated.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "GoogleDatastoreAdminV1beta1Progress"
|
||||
},
|
||||
"GoogleLongrunningOperation": {
|
||||
"description": "This resource represents a long-running operation that is the result of a\nnetwork API call.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"done": {
|
||||
"description": "If the value is `false`, it means the operation is still in progress.\nIf `true`, the operation is completed, and either `error` or `response` is\navailable.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"response": {
|
||||
"additionalProperties": {
|
||||
"description": "Properties of the object. Contains field @type with type URL.",
|
||||
@@ -237,58 +171,75 @@
|
||||
"type": "object"
|
||||
},
|
||||
"name": {
|
||||
"description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should have the format of `operations/some/unique/name`.",
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should have the format of `operations/some/unique/name`."
|
||||
},
|
||||
"error": {
|
||||
"$ref": "Status",
|
||||
"description": "The error result of the operation in case of failure or cancellation."
|
||||
"description": "The error result of the operation in case of failure or cancellation.",
|
||||
"$ref": "Status"
|
||||
},
|
||||
"metadata": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "any",
|
||||
"description": "Properties of the object. Contains field @type with type URL."
|
||||
"description": "Properties of the object. Contains field @type with type URL.",
|
||||
"type": "any"
|
||||
},
|
||||
"description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any."
|
||||
},
|
||||
"done": {
|
||||
"description": "If the value is `false`, it means the operation is still in progress.\nIf `true`, the operation is completed, and either `error` or `response` is\navailable.",
|
||||
"type": "boolean"
|
||||
"description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.",
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"id": "GoogleLongrunningOperation"
|
||||
},
|
||||
"GoogleDatastoreAdminV1beta1EntityFilter": {
|
||||
"description": "Identifies a subset of entities in a project. This is specified as\ncombinations of kinds and namespaces (either or both of which may be all, as\ndescribed in the following examples).\nExample usage:\n\nEntire project:\n kinds=[], namespace_ids=[]\n\nKinds Foo and Bar in all namespaces:\n kinds=['Foo', 'Bar'], namespace_ids=[]\n\nKinds Foo and Bar only in the default namespace:\n kinds=['Foo', 'Bar'], namespace_ids=['']\n\nKinds Foo and Bar in both the default and Baz namespaces:\n kinds=['Foo', 'Bar'], namespace_ids=['', 'Baz']\n\nThe entire Baz namespace:\n kinds=[], namespace_ids=['Baz']",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"kinds": {
|
||||
"description": "If empty, then this represents all kinds.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"namespaceIds": {
|
||||
"description": "An empty list represents all namespaces. This is the preferred\nusage for projects that don't use namespaces.\n\nAn empty string element represents the default namespace. This should be\nused if the project has data in non-default namespaces, but doesn't want to\ninclude them.\nEach namespace in this list must be unique.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
}
|
||||
},
|
||||
"id": "GoogleDatastoreAdminV1beta1EntityFilter"
|
||||
"id": "GoogleDatastoreAdminV1beta1EntityFilter",
|
||||
"description": "Identifies a subset of entities in a project. This is specified as\ncombinations of kinds and namespaces (either or both of which may be all, as\ndescribed in the following examples).\nExample usage:\n\nEntire project:\n kinds=[], namespace_ids=[]\n\nKinds Foo and Bar in all namespaces:\n kinds=['Foo', 'Bar'], namespace_ids=[]\n\nKinds Foo and Bar only in the default namespace:\n kinds=['Foo', 'Bar'], namespace_ids=['']\n\nKinds Foo and Bar in both the default and Baz namespaces:\n kinds=['Foo', 'Bar'], namespace_ids=['', 'Baz']\n\nThe entire Baz namespace:\n kinds=[], namespace_ids=['Baz']"
|
||||
},
|
||||
"GoogleDatastoreAdminV1beta1CommonMetadata": {
|
||||
"description": "Metadata common to all Datastore Admin operations.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"labels": {
|
||||
"description": "The client-assigned labels which were provided when the operation was\ncreated. May also include additional labels.",
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"endTime": {
|
||||
"format": "google-datetime",
|
||||
"description": "The time the operation ended, either successfully or otherwise.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"operationType": {
|
||||
"enum": [
|
||||
"OPERATION_TYPE_UNSPECIFIED",
|
||||
"EXPORT_ENTITIES",
|
||||
"IMPORT_ENTITIES"
|
||||
],
|
||||
"description": "The type of the operation. Can be used as a filter in\nListOperationsRequest.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Unspecified.",
|
||||
"ExportEntities.",
|
||||
"ImportEntities."
|
||||
]
|
||||
},
|
||||
"state": {
|
||||
"description": "The current state of the Operation.",
|
||||
"type": "string",
|
||||
@@ -313,39 +264,29 @@
|
||||
"CANCELLED"
|
||||
]
|
||||
},
|
||||
"operationType": {
|
||||
"enumDescriptions": [
|
||||
"Unspecified.",
|
||||
"ExportEntities.",
|
||||
"ImportEntities."
|
||||
],
|
||||
"enum": [
|
||||
"OPERATION_TYPE_UNSPECIFIED",
|
||||
"EXPORT_ENTITIES",
|
||||
"IMPORT_ENTITIES"
|
||||
],
|
||||
"description": "The type of the operation. Can be used as a filter in\nListOperationsRequest.",
|
||||
"type": "string"
|
||||
},
|
||||
"startTime": {
|
||||
"format": "google-datetime",
|
||||
"description": "The time that work began on the operation.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"labels": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "The client-assigned labels which were provided when the operation was\ncreated. May also include additional labels."
|
||||
}
|
||||
},
|
||||
"id": "GoogleDatastoreAdminV1beta1CommonMetadata"
|
||||
},
|
||||
"Status": {
|
||||
"description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` that can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"code": {
|
||||
"description": "The status code, which should be an enum value of google.rpc.Code.",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
},
|
||||
"message": {
|
||||
"description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
|
||||
"type": "string"
|
||||
},
|
||||
"details": {
|
||||
"description": "A list of messages that carry the error details. There is a common set of\nmessage types for APIs to use.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"additionalProperties": {
|
||||
"description": "Properties of the object. Contains field @type with type URL.",
|
||||
@@ -353,72 +294,62 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"code": {
|
||||
"type": "integer",
|
||||
"format": "int32",
|
||||
"description": "The status code, which should be an enum value of google.rpc.Code."
|
||||
},
|
||||
"message": {
|
||||
"description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
|
||||
"type": "string"
|
||||
"description": "A list of messages that carry the error details. There is a common set of\nmessage types for APIs to use."
|
||||
}
|
||||
},
|
||||
"id": "Status",
|
||||
"description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` that can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
|
||||
"type": "object"
|
||||
},
|
||||
"GoogleDatastoreAdminV1beta1ExportEntitiesRequest": {
|
||||
"id": "GoogleDatastoreAdminV1beta1ExportEntitiesRequest",
|
||||
"description": "The request for\ngoogle.datastore.admin.v1beta1.DatastoreAdmin.ExportEntities.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"labels": {
|
||||
"description": "Client-assigned labels.",
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"outputUrlPrefix": {
|
||||
"description": "Location for the export metadata and data files.\n\nThe full resource URL of the external storage location. Currently, only\nGoogle Cloud Storage is supported. So output_url_prefix should be of the\nform: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the\nname of the Cloud Storage bucket and `NAMESPACE_PATH` is an optional Cloud\nStorage namespace path (this is not a Cloud Datastore namespace). For more\ninformation about Cloud Storage namespace paths, see\n[Object name\nconsiderations](https://cloud.google.com/storage/docs/naming#object-considerations).\n\nThe resulting files will be nested deeper than the specified URL prefix.\nThe final output URL will be provided in the\ngoogle.datastore.admin.v1beta1.ExportEntitiesResponse.output_url\nfield. That value should be used for subsequent ImportEntities operations.\n\nBy nesting the data files deeper, the same Cloud Storage bucket can be used\nin multiple ExportEntities operations without conflict.",
|
||||
"type": "string"
|
||||
},
|
||||
"entityFilter": {
|
||||
"description": "Description of what data from the project is included in the export.",
|
||||
"$ref": "GoogleDatastoreAdminV1beta1EntityFilter"
|
||||
}
|
||||
}
|
||||
"id": "Status"
|
||||
},
|
||||
"GoogleDatastoreAdminV1beta1ExportEntitiesMetadata": {
|
||||
"description": "Metadata for ExportEntities operations.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"outputUrlPrefix": {
|
||||
"description": "Location for the export metadata and data files. This will be the same\nvalue as the\ngoogle.datastore.admin.v1beta1.ExportEntitiesRequest.output_url_prefix\nfield. The final output location is provided in\ngoogle.datastore.admin.v1beta1.ExportEntitiesResponse.output_url.",
|
||||
"type": "string"
|
||||
"common": {
|
||||
"description": "Metadata common to all Datastore Admin operations.",
|
||||
"$ref": "GoogleDatastoreAdminV1beta1CommonMetadata"
|
||||
},
|
||||
"progressBytes": {
|
||||
"description": "An estimate of the number of bytes processed.",
|
||||
"$ref": "GoogleDatastoreAdminV1beta1Progress"
|
||||
},
|
||||
"entityFilter": {
|
||||
"$ref": "GoogleDatastoreAdminV1beta1EntityFilter",
|
||||
"description": "Description of which entities are being exported."
|
||||
},
|
||||
"outputUrlPrefix": {
|
||||
"type": "string",
|
||||
"description": "Location for the export metadata and data files. This will be the same\nvalue as the\ngoogle.datastore.admin.v1beta1.ExportEntitiesRequest.output_url_prefix\nfield. The final output location is provided in\ngoogle.datastore.admin.v1beta1.ExportEntitiesResponse.output_url."
|
||||
},
|
||||
"progressEntities": {
|
||||
"description": "An estimate of the number of entities processed.",
|
||||
"$ref": "GoogleDatastoreAdminV1beta1Progress"
|
||||
},
|
||||
"common": {
|
||||
"$ref": "GoogleDatastoreAdminV1beta1CommonMetadata",
|
||||
"description": "Metadata common to all Datastore Admin operations."
|
||||
},
|
||||
"progressBytes": {
|
||||
"description": "An estimate of the number of bytes processed.",
|
||||
"$ref": "GoogleDatastoreAdminV1beta1Progress"
|
||||
"$ref": "GoogleDatastoreAdminV1beta1Progress",
|
||||
"description": "An estimate of the number of entities processed."
|
||||
}
|
||||
},
|
||||
"id": "GoogleDatastoreAdminV1beta1ExportEntitiesMetadata"
|
||||
"id": "GoogleDatastoreAdminV1beta1ExportEntitiesMetadata",
|
||||
"description": "Metadata for ExportEntities operations.",
|
||||
"type": "object"
|
||||
},
|
||||
"GoogleDatastoreAdminV1beta1ExportEntitiesRequest": {
|
||||
"properties": {
|
||||
"entityFilter": {
|
||||
"$ref": "GoogleDatastoreAdminV1beta1EntityFilter",
|
||||
"description": "Description of what data from the project is included in the export."
|
||||
},
|
||||
"outputUrlPrefix": {
|
||||
"description": "Location for the export metadata and data files.\n\nThe full resource URL of the external storage location. Currently, only\nGoogle Cloud Storage is supported. So output_url_prefix should be of the\nform: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the\nname of the Cloud Storage bucket and `NAMESPACE_PATH` is an optional Cloud\nStorage namespace path (this is not a Cloud Datastore namespace). For more\ninformation about Cloud Storage namespace paths, see\n[Object name\nconsiderations](https://cloud.google.com/storage/docs/naming#object-considerations).\n\nThe resulting files will be nested deeper than the specified URL prefix.\nThe final output URL will be provided in the\ngoogle.datastore.admin.v1beta1.ExportEntitiesResponse.output_url\nfield. That value should be used for subsequent ImportEntities operations.\n\nBy nesting the data files deeper, the same Cloud Storage bucket can be used\nin multiple ExportEntities operations without conflict.",
|
||||
"type": "string"
|
||||
},
|
||||
"labels": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Client-assigned labels.",
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"id": "GoogleDatastoreAdminV1beta1ExportEntitiesRequest",
|
||||
"description": "The request for\ngoogle.datastore.admin.v1beta1.DatastoreAdmin.ExportEntities.",
|
||||
"type": "object"
|
||||
},
|
||||
"GoogleDatastoreAdminV1beta1ExportEntitiesResponse": {
|
||||
"description": "The response for\ngoogle.datastore.admin.v1beta1.DatastoreAdmin.ExportEntities.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"outputUrl": {
|
||||
@@ -426,8 +357,73 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "GoogleDatastoreAdminV1beta1ExportEntitiesResponse",
|
||||
"description": "The response for\ngoogle.datastore.admin.v1beta1.DatastoreAdmin.ExportEntities."
|
||||
"id": "GoogleDatastoreAdminV1beta1ExportEntitiesResponse"
|
||||
},
|
||||
"GoogleDatastoreAdminV1beta1ImportEntitiesMetadata": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"common": {
|
||||
"$ref": "GoogleDatastoreAdminV1beta1CommonMetadata",
|
||||
"description": "Metadata common to all Datastore Admin operations."
|
||||
},
|
||||
"progressBytes": {
|
||||
"$ref": "GoogleDatastoreAdminV1beta1Progress",
|
||||
"description": "An estimate of the number of bytes processed."
|
||||
},
|
||||
"inputUrl": {
|
||||
"description": "The location of the import metadata file. This will be the same value as\nthe google.datastore.admin.v1beta1.ExportEntitiesResponse.output_url\nfield.",
|
||||
"type": "string"
|
||||
},
|
||||
"entityFilter": {
|
||||
"$ref": "GoogleDatastoreAdminV1beta1EntityFilter",
|
||||
"description": "Description of which entities are being imported."
|
||||
},
|
||||
"progressEntities": {
|
||||
"description": "An estimate of the number of entities processed.",
|
||||
"$ref": "GoogleDatastoreAdminV1beta1Progress"
|
||||
}
|
||||
},
|
||||
"id": "GoogleDatastoreAdminV1beta1ImportEntitiesMetadata",
|
||||
"description": "Metadata for ImportEntities operations."
|
||||
},
|
||||
"GoogleDatastoreAdminV1beta1ImportEntitiesRequest": {
|
||||
"description": "The request for\ngoogle.datastore.admin.v1beta1.DatastoreAdmin.ImportEntities.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"inputUrl": {
|
||||
"description": "The full resource URL of the external storage location. Currently, only\nGoogle Cloud Storage is supported. So input_url should be of the form:\n`gs://BUCKET_NAME[/NAMESPACE_PATH]/OVERALL_EXPORT_METADATA_FILE`, where\n`BUCKET_NAME` is the name of the Cloud Storage bucket, `NAMESPACE_PATH` is\nan optional Cloud Storage namespace path (this is not a Cloud Datastore\nnamespace), and `OVERALL_EXPORT_METADATA_FILE` is the metadata file written\nby the ExportEntities operation. For more information about Cloud Storage\nnamespace paths, see\n[Object name\nconsiderations](https://cloud.google.com/storage/docs/naming#object-considerations).\n\nFor more information, see\ngoogle.datastore.admin.v1beta1.ExportEntitiesResponse.output_url.",
|
||||
"type": "string"
|
||||
},
|
||||
"entityFilter": {
|
||||
"$ref": "GoogleDatastoreAdminV1beta1EntityFilter",
|
||||
"description": "Optionally specify which kinds/namespaces are to be imported. If provided,\nthe list must be a subset of the EntityFilter used in creating the export,\notherwise a FAILED_PRECONDITION error will be returned. If no filter is\nspecified then all entities from the export are imported."
|
||||
},
|
||||
"labels": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Client-assigned labels.",
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"id": "GoogleDatastoreAdminV1beta1ImportEntitiesRequest"
|
||||
},
|
||||
"GoogleDatastoreAdminV1beta1Progress": {
|
||||
"description": "Measures the progress of a particular metric.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"workEstimated": {
|
||||
"description": "An estimate of how much work needs to be performed. May be zero if the\nwork estimate is unavailable.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"workCompleted": {
|
||||
"description": "The amount of work that has been completed. Note that this may be greater\nthan work_estimated.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "GoogleDatastoreAdminV1beta1Progress"
|
||||
}
|
||||
},
|
||||
"protocol": "rest",
|
||||
@@ -440,20 +436,24 @@
|
||||
"auth": {
|
||||
"oauth2": {
|
||||
"scopes": {
|
||||
"https://www.googleapis.com/auth/datastore": {
|
||||
"description": "View and manage your Google Cloud Datastore data"
|
||||
},
|
||||
"https://www.googleapis.com/auth/cloud-platform": {
|
||||
"description": "View and manage your data across Google Cloud Platform services"
|
||||
},
|
||||
"https://www.googleapis.com/auth/datastore": {
|
||||
"description": "View and manage your Google Cloud Datastore data"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"servicePath": "",
|
||||
"description": "Accesses the schemaless NoSQL database to provide fully managed, robust, scalable storage for your application.\n",
|
||||
"kind": "discovery#restDescription",
|
||||
"description": "Accesses the schemaless NoSQL database to provide fully managed, robust, scalable storage for your application.\n",
|
||||
"servicePath": "",
|
||||
"rootUrl": "https://datastore.googleapis.com/",
|
||||
"basePath": "",
|
||||
"ownerDomain": "google.com",
|
||||
"name": "datastore"
|
||||
"name": "datastore",
|
||||
"batchPath": "batch",
|
||||
"revision": "20171205",
|
||||
"documentationLink": "https://cloud.google.com/datastore/",
|
||||
"id": "datastore:v1beta1"
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/_YIg1ZU-z6xEn8qUWJtIDhiIaWM\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/YBhevoUFAfVyqSyxTJkhAWUX4fg\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "deploymentmanager:alpha",
|
||||
"name": "deploymentmanager",
|
||||
"canonicalName": "Deployment Manager Alpha",
|
||||
"version": "alpha",
|
||||
"revision": "20170925",
|
||||
"revision": "20171201",
|
||||
"title": "Google Cloud Deployment Manager Alpha API",
|
||||
"description": "The Deployment Manager API allows users to declaratively configure, deploy and run complex solutions on the Google Cloud Platform.",
|
||||
"ownerDomain": "google.com",
|
||||
@@ -86,6 +86,21 @@
|
||||
}
|
||||
},
|
||||
"schemas": {
|
||||
"AsyncOptions": {
|
||||
"id": "AsyncOptions",
|
||||
"type": "object",
|
||||
"description": "Async options that determine when a resource should finish.",
|
||||
"properties": {
|
||||
"methodMatch": {
|
||||
"type": "string",
|
||||
"description": "Method regex where this policy will apply."
|
||||
},
|
||||
"pollingOptions": {
|
||||
"$ref": "PollingOptions",
|
||||
"description": "Deployment manager will poll instances for this API resource setting a RUNNING state, and blocking until polling conditions tell whether the resource is completed or failed."
|
||||
}
|
||||
}
|
||||
},
|
||||
"AuditConfig": {
|
||||
"id": "AuditConfig",
|
||||
"type": "object",
|
||||
@@ -217,7 +232,7 @@
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "Name of the composite type."
|
||||
"description": "Name of the composite type, must follow the expression: [a-z]([-a-z0-9_.]{0,61}[a-z0-9])?."
|
||||
},
|
||||
"operation": {
|
||||
"$ref": "Operation",
|
||||
@@ -527,6 +542,21 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"Diagnostic": {
|
||||
"id": "Diagnostic",
|
||||
"type": "object",
|
||||
"description": "",
|
||||
"properties": {
|
||||
"field": {
|
||||
"type": "string",
|
||||
"description": "JsonPath expression on the resource that if non empty, indicates that this field needs to be extracted as a diagnostic."
|
||||
},
|
||||
"level": {
|
||||
"type": "string",
|
||||
"description": "Level to record this diagnostic."
|
||||
}
|
||||
}
|
||||
},
|
||||
"Expr": {
|
||||
"id": "Expr",
|
||||
"type": "object",
|
||||
@@ -712,7 +742,7 @@
|
||||
"Operation": {
|
||||
"id": "Operation",
|
||||
"type": "object",
|
||||
"description": "An Operation resource, used to manage asynchronous API requests.",
|
||||
"description": "An Operation resource, used to manage asynchronous API requests. (== resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==) (== resource_for v1.regionOperations ==) (== resource_for beta.regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for beta.zoneOperations ==)",
|
||||
"properties": {
|
||||
"clientOperationId": {
|
||||
"type": "string",
|
||||
@@ -889,6 +919,13 @@
|
||||
"type": "object",
|
||||
"description": "Options allows customized resource handling by Deployment Manager.",
|
||||
"properties": {
|
||||
"asyncOptions": {
|
||||
"type": "array",
|
||||
"description": "Options regarding how to thread async requests.",
|
||||
"items": {
|
||||
"$ref": "AsyncOptions"
|
||||
}
|
||||
},
|
||||
"inputMappings": {
|
||||
"type": "array",
|
||||
"description": "The mappings that apply for requests.",
|
||||
@@ -948,6 +985,36 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"PollingOptions": {
|
||||
"id": "PollingOptions",
|
||||
"type": "object",
|
||||
"description": "",
|
||||
"properties": {
|
||||
"diagnostics": {
|
||||
"type": "array",
|
||||
"description": "An array of diagnostics to be collected by Deployment Manager, these diagnostics will be displayed to the user.",
|
||||
"items": {
|
||||
"$ref": "Diagnostic"
|
||||
}
|
||||
},
|
||||
"failCondition": {
|
||||
"type": "string",
|
||||
"description": "JsonPath expression that determines if the request failed."
|
||||
},
|
||||
"finishCondition": {
|
||||
"type": "string",
|
||||
"description": "JsonPath expression that determines if the request is completed."
|
||||
},
|
||||
"pollingLink": {
|
||||
"type": "string",
|
||||
"description": "JsonPath expression that evaluates to string, it indicates where to poll."
|
||||
},
|
||||
"targetLink": {
|
||||
"type": "string",
|
||||
"description": "JsonPath expression, after polling is completed, indicates where to fetch the resource."
|
||||
}
|
||||
}
|
||||
},
|
||||
"Resource": {
|
||||
"id": "Resource",
|
||||
"type": "object",
|
||||
@@ -986,6 +1053,13 @@
|
||||
"type": "string",
|
||||
"description": "Output only. The current properties of the resource before any references have been filled in. Returned as serialized YAML."
|
||||
},
|
||||
"runtimePolicies": {
|
||||
"type": "array",
|
||||
"description": "Output only. In case this is an action, it will show the runtimePolicies on which this action will run in the deployment",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"description": "Output only. The type of the resource, for example compute.v1.instance, or cloudfunctions.v1beta1.function."
|
||||
@@ -1105,6 +1179,13 @@
|
||||
"type": "string",
|
||||
"description": "Output only. The set of updated properties for this resource, before references are expanded. Returned as serialized YAML."
|
||||
},
|
||||
"runtimePolicies": {
|
||||
"type": "array",
|
||||
"description": "Output only. In case this is an action, it will show the runtimePolicies that this action will have after updating the deployment.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"state": {
|
||||
"type": "string",
|
||||
"description": "Output only. The state of the resource."
|
||||
@@ -1258,6 +1339,10 @@
|
||||
"type": "string",
|
||||
"description": "Which interpreter (python or jinja) should be used during expansion."
|
||||
},
|
||||
"mainTemplate": {
|
||||
"type": "string",
|
||||
"description": "The filename of the mainTemplate"
|
||||
},
|
||||
"schema": {
|
||||
"type": "string",
|
||||
"description": "The contents of the template schema."
|
||||
@@ -1553,7 +1638,7 @@
|
||||
"type": "string",
|
||||
"description": "The name of the type for this request.",
|
||||
"required": true,
|
||||
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
||||
"pattern": "[a-z](?:[-a-z0-9_.]{0,61}[a-z0-9])?",
|
||||
"location": "path"
|
||||
},
|
||||
"project": {
|
||||
@@ -1586,7 +1671,7 @@
|
||||
"type": "string",
|
||||
"description": "The name of the composite type for this request.",
|
||||
"required": true,
|
||||
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
||||
"pattern": "[a-z](?:[-a-z0-9_.]{0,61}[a-z0-9])?",
|
||||
"location": "path"
|
||||
},
|
||||
"project": {
|
||||
@@ -1699,7 +1784,7 @@
|
||||
"type": "string",
|
||||
"description": "The name of the composite type for this request.",
|
||||
"required": true,
|
||||
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
||||
"pattern": "[a-z](?:[-a-z0-9_.]{0,61}[a-z0-9])?",
|
||||
"location": "path"
|
||||
},
|
||||
"project": {
|
||||
@@ -1735,7 +1820,7 @@
|
||||
"type": "string",
|
||||
"description": "The name of the composite type for this request.",
|
||||
"required": true,
|
||||
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
||||
"pattern": "[a-z](?:[-a-z0-9_.]{0,61}[a-z0-9])?",
|
||||
"location": "path"
|
||||
},
|
||||
"project": {
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/4coXG-kLdOLe0xqn_lc-mbxcObg\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/GDaMgEo2rpzvf2TXCj_2gpZ3fIE\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "deploymentmanager:v2",
|
||||
"name": "deploymentmanager",
|
||||
"canonicalName": "Deployment Manager",
|
||||
"version": "v2",
|
||||
"revision": "20170925",
|
||||
"revision": "20171201",
|
||||
"title": "Google Cloud Deployment Manager API",
|
||||
"description": "Declares, configures, and deploys complex solutions on Google Cloud Platform.",
|
||||
"ownerDomain": "google.com",
|
||||
@@ -513,7 +513,7 @@
|
||||
"Operation": {
|
||||
"id": "Operation",
|
||||
"type": "object",
|
||||
"description": "An Operation resource, used to manage asynchronous API requests.",
|
||||
"description": "An Operation resource, used to manage asynchronous API requests. (== resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==) (== resource_for v1.regionOperations ==) (== resource_for beta.regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for beta.zoneOperations ==)",
|
||||
"properties": {
|
||||
"clientOperationId": {
|
||||
"type": "string",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/fjbnlFC4GTEIX5zCJ4_9R1qQWCw\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/Os0QttejTkDUy1hcIScN6tyVIbQ\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "deploymentmanager:v2beta",
|
||||
"name": "deploymentmanager",
|
||||
"canonicalName": "Deployment Manager V2Beta",
|
||||
"version": "v2beta",
|
||||
"revision": "20170925",
|
||||
"revision": "20171201",
|
||||
"title": "Google Cloud Deployment Manager API V2Beta Methods",
|
||||
"description": "The Deployment Manager API allows users to declaratively configure, deploy and run complex solutions on the Google Cloud Platform.",
|
||||
"ownerDomain": "google.com",
|
||||
@@ -243,7 +243,7 @@
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "Name of the composite type."
|
||||
"description": "Name of the composite type, must follow the expression: [a-z]([-a-z0-9_.]{0,61}[a-z0-9])?."
|
||||
},
|
||||
"operation": {
|
||||
"$ref": "Operation",
|
||||
@@ -685,7 +685,7 @@
|
||||
"Operation": {
|
||||
"id": "Operation",
|
||||
"type": "object",
|
||||
"description": "An Operation resource, used to manage asynchronous API requests.",
|
||||
"description": "An Operation resource, used to manage asynchronous API requests. (== resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==) (== resource_for v1.regionOperations ==) (== resource_for beta.regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for beta.zoneOperations ==)",
|
||||
"properties": {
|
||||
"clientOperationId": {
|
||||
"type": "string",
|
||||
@@ -1223,6 +1223,10 @@
|
||||
"type": "string",
|
||||
"description": "Which interpreter (python or jinja) should be used during expansion."
|
||||
},
|
||||
"mainTemplate": {
|
||||
"type": "string",
|
||||
"description": "The filename of the mainTemplate"
|
||||
},
|
||||
"schema": {
|
||||
"type": "string",
|
||||
"description": "The contents of the template schema."
|
||||
@@ -1518,7 +1522,7 @@
|
||||
"type": "string",
|
||||
"description": "The name of the type for this request.",
|
||||
"required": true,
|
||||
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
||||
"pattern": "[a-z](?:[-a-z0-9_.]{0,61}[a-z0-9])?",
|
||||
"location": "path"
|
||||
},
|
||||
"project": {
|
||||
@@ -1551,7 +1555,7 @@
|
||||
"type": "string",
|
||||
"description": "The name of the composite type for this request.",
|
||||
"required": true,
|
||||
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
||||
"pattern": "[a-z](?:[-a-z0-9_.]{0,61}[a-z0-9])?",
|
||||
"location": "path"
|
||||
},
|
||||
"project": {
|
||||
@@ -1664,7 +1668,7 @@
|
||||
"type": "string",
|
||||
"description": "The name of the composite type for this request.",
|
||||
"required": true,
|
||||
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
||||
"pattern": "[a-z](?:[-a-z0-9_.]{0,61}[a-z0-9])?",
|
||||
"location": "path"
|
||||
},
|
||||
"project": {
|
||||
@@ -1700,7 +1704,7 @@
|
||||
"type": "string",
|
||||
"description": "The name of the composite type for this request.",
|
||||
"required": true,
|
||||
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
||||
"pattern": "[a-z](?:[-a-z0-9_.]{0,61}[a-z0-9])?",
|
||||
"location": "path"
|
||||
},
|
||||
"project": {
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/emGV_y_FRSYhyMgSPP7gVElVBpw\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/4goAvA_o9T_Nbyckne-XIOvJ_sE\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "dfareporting:v2.8",
|
||||
"name": "dfareporting",
|
||||
"version": "v2.8",
|
||||
"revision": "20170818",
|
||||
"revision": "20171109",
|
||||
"title": "DCM/DFA Reporting And Trafficking API",
|
||||
"description": "Manages your DoubleClick Campaign Manager ad campaigns and reports.",
|
||||
"ownerDomain": "google.com",
|
||||
@@ -20,7 +20,7 @@
|
||||
"basePath": "/dfareporting/v2.8/",
|
||||
"rootUrl": "https://www.googleapis.com/",
|
||||
"servicePath": "dfareporting/v2.8/",
|
||||
"batchPath": "batch",
|
||||
"batchPath": "batch/dfareporting/v2.8",
|
||||
"parameters": {
|
||||
"alt": {
|
||||
"type": "string",
|
||||
@@ -154,7 +154,7 @@
|
||||
},
|
||||
"currencyId": {
|
||||
"type": "string",
|
||||
"description": "ID of currency associated with this account. This is a required field.\nAcceptable values are: \n- \"1\" for USD \n- \"2\" for GBP \n- \"3\" for ESP \n- \"4\" for SEK \n- \"5\" for CAD \n- \"6\" for JPY \n- \"7\" for DEM \n- \"8\" for AUD \n- \"9\" for FRF \n- \"10\" for ITL \n- \"11\" for DKK \n- \"12\" for NOK \n- \"13\" for FIM \n- \"14\" for ZAR \n- \"15\" for IEP \n- \"16\" for NLG \n- \"17\" for EUR \n- \"18\" for KRW \n- \"19\" for TWD \n- \"20\" for SGD \n- \"21\" for CNY \n- \"22\" for HKD \n- \"23\" for NZD \n- \"24\" for MYR \n- \"25\" for BRL \n- \"26\" for PTE \n- \"27\" for MXP \n- \"28\" for CLP \n- \"29\" for TRY \n- \"30\" for ARS \n- \"31\" for PEN \n- \"32\" for ILS \n- \"33\" for CHF \n- \"34\" for VEF \n- \"35\" for COP \n- \"36\" for GTQ \n- \"37\" for PLN \n- \"39\" for INR \n- \"40\" for THB \n- \"41\" for IDR \n- \"42\" for CZK \n- \"43\" for RON \n- \"44\" for HUF \n- \"45\" for RUB \n- \"46\" for AED \n- \"47\" for BGN \n- \"48\" for HRK \n- \"49\" for MXN",
|
||||
"description": "ID of currency associated with this account. This is a required field.\nAcceptable values are: \n- \"1\" for USD \n- \"2\" for GBP \n- \"3\" for ESP \n- \"4\" for SEK \n- \"5\" for CAD \n- \"6\" for JPY \n- \"7\" for DEM \n- \"8\" for AUD \n- \"9\" for FRF \n- \"10\" for ITL \n- \"11\" for DKK \n- \"12\" for NOK \n- \"13\" for FIM \n- \"14\" for ZAR \n- \"15\" for IEP \n- \"16\" for NLG \n- \"17\" for EUR \n- \"18\" for KRW \n- \"19\" for TWD \n- \"20\" for SGD \n- \"21\" for CNY \n- \"22\" for HKD \n- \"23\" for NZD \n- \"24\" for MYR \n- \"25\" for BRL \n- \"26\" for PTE \n- \"27\" for MXP \n- \"28\" for CLP \n- \"29\" for TRY \n- \"30\" for ARS \n- \"31\" for PEN \n- \"32\" for ILS \n- \"33\" for CHF \n- \"34\" for VEF \n- \"35\" for COP \n- \"36\" for GTQ \n- \"37\" for PLN \n- \"39\" for INR \n- \"40\" for THB \n- \"41\" for IDR \n- \"42\" for CZK \n- \"43\" for RON \n- \"44\" for HUF \n- \"45\" for RUB \n- \"46\" for AED \n- \"47\" for BGN \n- \"48\" for HRK \n- \"49\" for MXN \n- \"50\" for NGN",
|
||||
"format": "int64"
|
||||
},
|
||||
"defaultCreativeSizeId": {
|
||||
@@ -2061,7 +2061,7 @@
|
||||
},
|
||||
"backupImageClickThroughUrl": {
|
||||
"type": "string",
|
||||
"description": "Click-through URL for backup image. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE."
|
||||
"description": "Click-through URL for backup image. Applicable to the following creative types: FLASH_INPAGE, and HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE."
|
||||
},
|
||||
"backupImageFeatures": {
|
||||
"type": "array",
|
||||
@@ -4426,7 +4426,7 @@
|
||||
},
|
||||
"currencyId": {
|
||||
"type": "string",
|
||||
"description": "Currency ID of this directory site. This is a read-only field.\nPossible values are: \n- \"1\" for USD \n- \"2\" for GBP \n- \"3\" for ESP \n- \"4\" for SEK \n- \"5\" for CAD \n- \"6\" for JPY \n- \"7\" for DEM \n- \"8\" for AUD \n- \"9\" for FRF \n- \"10\" for ITL \n- \"11\" for DKK \n- \"12\" for NOK \n- \"13\" for FIM \n- \"14\" for ZAR \n- \"15\" for IEP \n- \"16\" for NLG \n- \"17\" for EUR \n- \"18\" for KRW \n- \"19\" for TWD \n- \"20\" for SGD \n- \"21\" for CNY \n- \"22\" for HKD \n- \"23\" for NZD \n- \"24\" for MYR \n- \"25\" for BRL \n- \"26\" for PTE \n- \"27\" for MXP \n- \"28\" for CLP \n- \"29\" for TRY \n- \"30\" for ARS \n- \"31\" for PEN \n- \"32\" for ILS \n- \"33\" for CHF \n- \"34\" for VEF \n- \"35\" for COP \n- \"36\" for GTQ \n- \"37\" for PLN \n- \"39\" for INR \n- \"40\" for THB \n- \"41\" for IDR \n- \"42\" for CZK \n- \"43\" for RON \n- \"44\" for HUF \n- \"45\" for RUB \n- \"46\" for AED \n- \"47\" for BGN \n- \"48\" for HRK \n- \"49\" for MXN",
|
||||
"description": "Currency ID of this directory site. This is a read-only field.\nPossible values are: \n- \"1\" for USD \n- \"2\" for GBP \n- \"3\" for ESP \n- \"4\" for SEK \n- \"5\" for CAD \n- \"6\" for JPY \n- \"7\" for DEM \n- \"8\" for AUD \n- \"9\" for FRF \n- \"10\" for ITL \n- \"11\" for DKK \n- \"12\" for NOK \n- \"13\" for FIM \n- \"14\" for ZAR \n- \"15\" for IEP \n- \"16\" for NLG \n- \"17\" for EUR \n- \"18\" for KRW \n- \"19\" for TWD \n- \"20\" for SGD \n- \"21\" for CNY \n- \"22\" for HKD \n- \"23\" for NZD \n- \"24\" for MYR \n- \"25\" for BRL \n- \"26\" for PTE \n- \"27\" for MXP \n- \"28\" for CLP \n- \"29\" for TRY \n- \"30\" for ARS \n- \"31\" for PEN \n- \"32\" for ILS \n- \"33\" for CHF \n- \"34\" for VEF \n- \"35\" for COP \n- \"36\" for GTQ \n- \"37\" for PLN \n- \"39\" for INR \n- \"40\" for THB \n- \"41\" for IDR \n- \"42\" for CZK \n- \"43\" for RON \n- \"44\" for HUF \n- \"45\" for RUB \n- \"46\" for AED \n- \"47\" for BGN \n- \"48\" for HRK \n- \"49\" for MXN \n- \"50\" for NGN",
|
||||
"format": "int64"
|
||||
},
|
||||
"description": {
|
||||
@@ -5078,7 +5078,7 @@
|
||||
"properties": {
|
||||
"floodlightActivityTag": {
|
||||
"type": "string",
|
||||
"description": "Generated tag for this floodlight activity."
|
||||
"description": "Generated tag for this Floodlight activity. For global site tags, this is the event snippet."
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
@@ -5278,7 +5278,7 @@
|
||||
},
|
||||
"tagString": {
|
||||
"type": "string",
|
||||
"description": "Value of the cat= paramter in the floodlight tag, which the ad servers use to identify the activity. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being [a-z][A-Z][0-9][-][ _ ]. This tag string must also be unique among activities of the same activity group. This field is read-only after insertion."
|
||||
"description": "Value of the cat= parameter in the floodlight tag, which the ad servers use to identify the activity. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being [a-z][A-Z][0-9][-][ _ ]. This tag string must also be unique among activities of the same activity group. This field is read-only after insertion."
|
||||
},
|
||||
"userDefinedVariableTypes": {
|
||||
"type": "array",
|
||||
@@ -8671,7 +8671,7 @@
|
||||
},
|
||||
"enableAllDimensionCombinations": {
|
||||
"type": "boolean",
|
||||
"description": "Whether to enable all reach dimension combinations in the report. Defaults to false. If enabled, the date range of the report should be within the last three months."
|
||||
"description": "Whether to enable all reach dimension combinations in the report. Defaults to false. If enabled, the date range of the report should be within the last 42 days."
|
||||
},
|
||||
"metricNames": {
|
||||
"type": "array",
|
||||
|
||||
19792
etc/api/dfareporting/v3.0/dfareporting-api.json
Normal file
19792
etc/api/dfareporting/v3.0/dfareporting-api.json
Normal file
File diff suppressed because it is too large
Load Diff
2905
etc/api/dialogflow/v2beta1/dialogflow-api.json
Normal file
2905
etc/api/dialogflow/v2beta1/dialogflow-api.json
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/Qqhck8TylpPy6aQ1JM2ZkAgjJKg\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/kYaEhhTBm7CVpFDEtOaBWuwXKdQ\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "dns:v1",
|
||||
"name": "dns",
|
||||
"version": "v1",
|
||||
"revision": "20170921",
|
||||
"revision": "20171204",
|
||||
"title": "Google Cloud DNS API",
|
||||
"description": "Configures and serves authoritative DNS records.",
|
||||
"ownerDomain": "google.com",
|
||||
|
||||
1406
etc/api/dns/v1beta2/dns-api.json
Normal file
1406
etc/api/dns/v1beta2/dns-api.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/hpi36R8_AoZ-cwi75LboIgnLTZI\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/STXKkP7EeWGaQrB4Hta20Be1jDE\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "dns:v2beta1",
|
||||
"name": "dns",
|
||||
"version": "v2beta1",
|
||||
"revision": "20170921",
|
||||
"revision": "20171204",
|
||||
"title": "Google Cloud DNS API",
|
||||
"description": "Configures and serves authoritative DNS records.",
|
||||
"ownerDomain": "google.com",
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
"basePath": "/doubleclickbidmanager/v1/",
|
||||
"rootUrl": "https://www.googleapis.com/",
|
||||
"servicePath": "doubleclickbidmanager/v1/",
|
||||
"batchPath": "batch",
|
||||
"batchPath": "batch/doubleclickbidmanager/v1",
|
||||
"parameters": {
|
||||
"alt": {
|
||||
"type": "string",
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/hR70UblNHyBCC4lBQCtqgaZ_GJ8\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/T2vdXek6tIY1HgjGsdCsPe9_CT0\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "doubleclicksearch:v2",
|
||||
"name": "doubleclicksearch",
|
||||
"version": "v2",
|
||||
"revision": "20170919",
|
||||
"revision": "20171116",
|
||||
"title": "DoubleClick Search API",
|
||||
"description": "Reports and modifies your advertising data in DoubleClick Search (for example, campaigns, ad groups, keywords, and conversions).",
|
||||
"ownerDomain": "google.com",
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/iFxqLENsSLiJs1Br4TNBOHg98fQ\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/3l4zAM4QjtKUvpGW4oeKgzw0f5o\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "drive:v2",
|
||||
"name": "drive",
|
||||
"version": "v2",
|
||||
"revision": "20170915",
|
||||
"revision": "20171201",
|
||||
"title": "Drive API",
|
||||
"description": "Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.",
|
||||
"ownerDomain": "google.com",
|
||||
@@ -2049,6 +2049,11 @@
|
||||
"type": "string",
|
||||
"description": "The color of this Team Drive as an RGB hex string. It can only be set on a drive.teamdrives.update request that does not set themeId."
|
||||
},
|
||||
"createdDate": {
|
||||
"type": "string",
|
||||
"description": "The time at which the Team Drive was created (RFC 3339 date-time).",
|
||||
"format": "date-time"
|
||||
},
|
||||
"id": {
|
||||
"type": "string",
|
||||
"description": "The ID of this Team Drive which is also the ID of the top level folder for this Team Drive."
|
||||
@@ -3913,6 +3918,12 @@
|
||||
"description": "Whether the requesting application supports Team Drives.",
|
||||
"default": "false",
|
||||
"location": "query"
|
||||
},
|
||||
"useDomainAdminAccess": {
|
||||
"type": "boolean",
|
||||
"description": "Whether the request should be treated as if it was issued by a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the item belongs.",
|
||||
"default": "false",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
@@ -3947,6 +3958,12 @@
|
||||
"description": "Whether the requesting application supports Team Drives.",
|
||||
"default": "false",
|
||||
"location": "query"
|
||||
},
|
||||
"useDomainAdminAccess": {
|
||||
"type": "boolean",
|
||||
"description": "Whether the request should be treated as if it was issued by a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the item belongs.",
|
||||
"default": "false",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
@@ -4023,6 +4040,12 @@
|
||||
"description": "Whether the requesting application supports Team Drives.",
|
||||
"default": "false",
|
||||
"location": "query"
|
||||
},
|
||||
"useDomainAdminAccess": {
|
||||
"type": "boolean",
|
||||
"description": "Whether the request should be treated as if it was issued by a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the item belongs.",
|
||||
"default": "false",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
@@ -4069,6 +4092,12 @@
|
||||
"description": "Whether the requesting application supports Team Drives.",
|
||||
"default": "false",
|
||||
"location": "query"
|
||||
},
|
||||
"useDomainAdminAccess": {
|
||||
"type": "boolean",
|
||||
"description": "Whether the request should be treated as if it was issued by a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the item belongs.",
|
||||
"default": "false",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
@@ -4121,6 +4150,12 @@
|
||||
"description": "Whether changing a role to 'owner' downgrades the current owners to writers. Does nothing if the specified role is not 'owner'.",
|
||||
"default": "false",
|
||||
"location": "query"
|
||||
},
|
||||
"useDomainAdminAccess": {
|
||||
"type": "boolean",
|
||||
"description": "Whether the request should be treated as if it was issued by a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the item belongs.",
|
||||
"default": "false",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
@@ -4173,6 +4208,12 @@
|
||||
"description": "Whether changing a role to 'owner' downgrades the current owners to writers. Does nothing if the specified role is not 'owner'.",
|
||||
"default": "false",
|
||||
"location": "query"
|
||||
},
|
||||
"useDomainAdminAccess": {
|
||||
"type": "boolean",
|
||||
"description": "Whether the request should be treated as if it was issued by a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the item belongs.",
|
||||
"default": "false",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
@@ -4960,6 +5001,12 @@
|
||||
"description": "The ID of the Team Drive",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"useDomainAdminAccess": {
|
||||
"type": "boolean",
|
||||
"description": "Whether the request should be treated as if it was issued by a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the Team Drive belongs.",
|
||||
"default": "false",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
@@ -5018,6 +5065,17 @@
|
||||
"type": "string",
|
||||
"description": "Page token for Team Drives.",
|
||||
"location": "query"
|
||||
},
|
||||
"q": {
|
||||
"type": "string",
|
||||
"description": "Query string for searching Team Drives.",
|
||||
"location": "query"
|
||||
},
|
||||
"useDomainAdminAccess": {
|
||||
"type": "boolean",
|
||||
"description": "Whether the request should be treated as if it was issued by a domain administrator; if set to true, then all Team Drives of the domain in which the requester is an administrator are returned.",
|
||||
"default": "false",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/IQ6IlDF_Rs6vMZyFSA6V8uvh46Q\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/dokL7JnoHyUOqrzu7Ur837tSd0s\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "drive:v3",
|
||||
"name": "drive",
|
||||
"version": "v3",
|
||||
"revision": "20170915",
|
||||
"revision": "20171201",
|
||||
"title": "Drive API",
|
||||
"description": "Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.",
|
||||
"ownerDomain": "google.com",
|
||||
@@ -1324,6 +1324,11 @@
|
||||
"type": "string",
|
||||
"description": "The color of this Team Drive as an RGB hex string. It can only be set on a drive.teamdrives.update request that does not set themeId."
|
||||
},
|
||||
"createdTime": {
|
||||
"type": "string",
|
||||
"description": "The time at which the Team Drive was created (RFC 3339 date-time).",
|
||||
"format": "date-time"
|
||||
},
|
||||
"id": {
|
||||
"type": "string",
|
||||
"description": "The ID of this Team Drive which is also the ID of the top level folder for this Team Drive."
|
||||
@@ -2337,6 +2342,12 @@
|
||||
"description": "Whether to transfer ownership to the specified user and downgrade the current owner to a writer. This parameter is required as an acknowledgement of the side effect.",
|
||||
"default": "false",
|
||||
"location": "query"
|
||||
},
|
||||
"useDomainAdminAccess": {
|
||||
"type": "boolean",
|
||||
"description": "Whether the request should be treated as if it was issued by a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the item belongs.",
|
||||
"default": "false",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
@@ -2376,6 +2387,12 @@
|
||||
"description": "Whether the requesting application supports Team Drives.",
|
||||
"default": "false",
|
||||
"location": "query"
|
||||
},
|
||||
"useDomainAdminAccess": {
|
||||
"type": "boolean",
|
||||
"description": "Whether the request should be treated as if it was issued by a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the item belongs.",
|
||||
"default": "false",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
@@ -2410,6 +2427,12 @@
|
||||
"description": "Whether the requesting application supports Team Drives.",
|
||||
"default": "false",
|
||||
"location": "query"
|
||||
},
|
||||
"useDomainAdminAccess": {
|
||||
"type": "boolean",
|
||||
"description": "Whether the request should be treated as if it was issued by a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the item belongs.",
|
||||
"default": "false",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
@@ -2458,6 +2481,12 @@
|
||||
"description": "Whether the requesting application supports Team Drives.",
|
||||
"default": "false",
|
||||
"location": "query"
|
||||
},
|
||||
"useDomainAdminAccess": {
|
||||
"type": "boolean",
|
||||
"description": "Whether the request should be treated as if it was issued by a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the item belongs.",
|
||||
"default": "false",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
@@ -2510,6 +2539,12 @@
|
||||
"description": "Whether to transfer ownership to the specified user and downgrade the current owner to a writer. This parameter is required as an acknowledgement of the side effect.",
|
||||
"default": "false",
|
||||
"location": "query"
|
||||
},
|
||||
"useDomainAdminAccess": {
|
||||
"type": "boolean",
|
||||
"description": "Whether the request should be treated as if it was issued by a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the item belongs.",
|
||||
"default": "false",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
@@ -2954,6 +2989,12 @@
|
||||
"description": "The ID of the Team Drive",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"useDomainAdminAccess": {
|
||||
"type": "boolean",
|
||||
"description": "Whether the request should be treated as if it was issued by a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the Team Drive belongs.",
|
||||
"default": "false",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
@@ -2986,6 +3027,17 @@
|
||||
"type": "string",
|
||||
"description": "Page token for Team Drives.",
|
||||
"location": "query"
|
||||
},
|
||||
"q": {
|
||||
"type": "string",
|
||||
"description": "Query string for searching Team Drives.",
|
||||
"location": "query"
|
||||
},
|
||||
"useDomainAdminAccess": {
|
||||
"type": "boolean",
|
||||
"description": "Whether the request should be treated as if it was issued by a domain administrator; if set to true, then all Team Drives of the domain in which the requester is an administrator are returned.",
|
||||
"default": "false",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,19 +1,204 @@
|
||||
{
|
||||
"ownerName": "Google",
|
||||
"resources": {
|
||||
"projects": {
|
||||
"methods": {
|
||||
"getRemoteConfig": {
|
||||
"description": "Get the latest version Remote Configuration for a project.\nReturns the RemoteConfig as the payload, and also the eTag as a\nresponse header.",
|
||||
"response": {
|
||||
"$ref": "RemoteConfig"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"project"
|
||||
],
|
||||
"httpMethod": "GET",
|
||||
"parameters": {
|
||||
"project": {
|
||||
"pattern": "^projects/[^/]+$",
|
||||
"location": "path",
|
||||
"description": "The GMP project identifier. Required.\nSee note at the beginning of this file regarding project ids.",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"flatPath": "v1/projects/{projectsId}/remoteConfig",
|
||||
"path": "v1/{+project}/remoteConfig",
|
||||
"id": "firebaseremoteconfig.projects.getRemoteConfig"
|
||||
},
|
||||
"updateRemoteConfig": {
|
||||
"httpMethod": "PUT",
|
||||
"parameterOrder": [
|
||||
"project"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "RemoteConfig"
|
||||
},
|
||||
"parameters": {
|
||||
"validateOnly": {
|
||||
"description": "Optional. Defaults to \u003ccode\u003efalse\u003c/code\u003e (UpdateRemoteConfig call should\nupdate the backend if there are no validation/interal errors). May be set\nto \u003ccode\u003etrue\u003c/code\u003e to indicate that, should no validation errors occur,\nthe call should return a \"200 OK\" instead of performing the update. Note\nthat other error messages (500 Internal Error, 412 Version Mismatch, etc)\nmay still result after flipping to \u003ccode\u003efalse\u003c/code\u003e, even if getting a\n\"200 OK\" when calling with \u003ccode\u003etrue\u003c/code\u003e.",
|
||||
"type": "boolean",
|
||||
"location": "query"
|
||||
},
|
||||
"project": {
|
||||
"description": "The GMP project identifier. Required.\nSee note at the beginning of this file regarding project ids.",
|
||||
"required": true,
|
||||
"type": "string",
|
||||
"pattern": "^projects/[^/]+$",
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"flatPath": "v1/projects/{projectsId}/remoteConfig",
|
||||
"id": "firebaseremoteconfig.projects.updateRemoteConfig",
|
||||
"path": "v1/{+project}/remoteConfig",
|
||||
"request": {
|
||||
"$ref": "RemoteConfig"
|
||||
},
|
||||
"description": "Update a RemoteConfig. We treat this as an always-existing\nresource (when it is not found in our data store, we treat it as version\n0, a template with zero conditions and zero parameters). Hence there are\nno Create or Delete operations. Returns the updated template when\nsuccessful (and the updated eTag as a response header), or an error if\nthings go wrong.\nPossible error messages:\n* VALIDATION_ERROR (HTTP status 400) with additional details if the\ntemplate being passed in can not be validated.\n* AUTHENTICATION_ERROR (HTTP status 401) if the request can not be\nauthenticate (e.g. no access token, or invalid access token).\n* AUTHORIZATION_ERROR (HTTP status 403) if the request can not be\nauthorized (e.g. the user has no access to the specified project id).\n* VERSION_MISMATCH (HTTP status 412) when trying to update when the\nexpected eTag (passed in via the \"If-match\" header) is not specified, or\nis specified but does does not match the current eTag.\n* Internal error (HTTP status 500) for Database problems or other internal\nerrors."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
"fields": {
|
||||
"location": "query",
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"type": "string"
|
||||
},
|
||||
"uploadType": {
|
||||
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
],
|
||||
"location": "query",
|
||||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
],
|
||||
"description": "V1 error format.",
|
||||
"type": "string"
|
||||
},
|
||||
"alt": {
|
||||
"enum": [
|
||||
"json",
|
||||
"media",
|
||||
"proto"
|
||||
],
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Responses with Content-Type of application/json",
|
||||
"Media download with context-dependent Content-Type",
|
||||
"Responses with Content-Type of application/x-protobuf"
|
||||
],
|
||||
"location": "query",
|
||||
"description": "Data format for response.",
|
||||
"default": "json"
|
||||
},
|
||||
"access_token": {
|
||||
"description": "OAuth access token.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"key": {
|
||||
"location": "query",
|
||||
"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.",
|
||||
"type": "string"
|
||||
},
|
||||
"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.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"pp": {
|
||||
"location": "query",
|
||||
"description": "Pretty-print response.",
|
||||
"type": "boolean",
|
||||
"default": "true"
|
||||
},
|
||||
"bearer_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth bearer token.",
|
||||
"type": "string"
|
||||
},
|
||||
"oauth_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"type": "string"
|
||||
},
|
||||
"upload_protocol": {
|
||||
"location": "query",
|
||||
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
|
||||
"type": "string"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"type": "boolean",
|
||||
"default": "true",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"version": "v1",
|
||||
"baseUrl": "https://firebaseremoteconfig.googleapis.com/",
|
||||
"servicePath": "",
|
||||
"description": "Firebase Remote Config API allows the 3P clients to manage Remote Config conditions and parameters for Firebase applications.",
|
||||
"kind": "discovery#restDescription",
|
||||
"basePath": "",
|
||||
"documentationLink": "https://firebase.google.com/docs/remote-config/",
|
||||
"revision": "20170912",
|
||||
"revision": "20171129",
|
||||
"id": "firebaseremoteconfig:v1",
|
||||
"discoveryVersion": "v1",
|
||||
"version_module": true,
|
||||
"schemas": {
|
||||
"RemoteConfigParameter": {
|
||||
"description": "While default_value and conditional_values are each optional, at least one of\nthe two is required - otherwise, the parameter is meaningless (and an\nexception will be thrown by the validation logic).",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"defaultValue": {
|
||||
"description": "Optional - value to set the parameter to, when none of the named conditions\nevaluate to \u003ccode\u003etrue\u003c/code\u003e.",
|
||||
"$ref": "RemoteConfigParameterValue"
|
||||
},
|
||||
"description": {
|
||||
"description": "Optional.\nA description for this Parameter. Length must be less than or equal to\n100 characters (or more precisely, unicode code points, which is defined in\njava/com/google/wireless/android/config/ConstsExporter.java).\nA description may contain any Unicode characters",
|
||||
"type": "string"
|
||||
},
|
||||
"conditionalValues": {
|
||||
"additionalProperties": {
|
||||
"$ref": "RemoteConfigParameterValue"
|
||||
},
|
||||
"description": "Optional - a map of (condition_name, value). The condition_name of the\nhighest priority (the one listed first in the conditions array) determines\nthe value of this parameter.",
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"id": "RemoteConfigParameter"
|
||||
},
|
||||
"RemoteConfigCondition": {
|
||||
"description": "A single RemoteConfig Condition. A list of these (because order matters) are\npart of a single RemoteConfig template.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"expression": {
|
||||
"description": "Required.",
|
||||
"type": "string"
|
||||
},
|
||||
"tagColor": {
|
||||
"enum": [
|
||||
"CONDITION_DISPLAY_COLOR_UNSPECIFIED",
|
||||
"BLUE",
|
||||
"BROWN",
|
||||
"CYAN",
|
||||
"DEEP_ORANGE",
|
||||
"GREEN",
|
||||
"INDIGO",
|
||||
"LIME",
|
||||
"ORANGE",
|
||||
"PINK",
|
||||
"PURPLE",
|
||||
"TEAL"
|
||||
],
|
||||
"description": "Optional.\nThe display (tag) color of this condition. This serves as part of a tag\n(in the future, we may add tag text as well as tag color, but that is not\nyet implemented in the UI).\nThis value has no affect on the semantics of the delivered config and it\nis ignored by the backend, except for passing it through write/read\nrequests.\nNot having this value or having the \"CONDITION_DISPLAY_COLOR_UNSPECIFIED\"\nvalue (0) have the same meaning: Let the UI choose any valid color when\ndisplaying the condition.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
@@ -29,25 +214,19 @@
|
||||
"Pink",
|
||||
"Purple",
|
||||
"Teal"
|
||||
],
|
||||
"enum": [
|
||||
"CONDITION_DISPLAY_COLOR_UNSPECIFIED",
|
||||
"BLUE",
|
||||
"BROWN",
|
||||
"CYAN",
|
||||
"DEEP_ORANGE",
|
||||
"GREEN",
|
||||
"INDIGO",
|
||||
"LIME",
|
||||
"ORANGE",
|
||||
"PINK",
|
||||
"PURPLE",
|
||||
"TEAL"
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"description": "Required.\nA non empty and unique name of this condition.",
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"description": "Optional.\nA description for this Condition. Length must be less than or equal to\n100 characters (or more precisely, unicode code points, which is defined in\njava/com/google/wireless/android/config/ConstsExporter.java).\nA description may contain any Unicode characters",
|
||||
"type": "string"
|
||||
},
|
||||
"expression": {
|
||||
"description": "Required.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "RemoteConfigCondition"
|
||||
@@ -56,60 +235,42 @@
|
||||
"description": "A RemoteConfigParameter's \"value\" (either the default value, or the value\nassociated with a condition name) is either a string, or the\n\"use_in_app_default\" indicator (which means to leave out the parameter from\nthe returned \u003ckey, value\u003e map that is the output of the parameter fetch).\nWe represent the \"use_in_app_default\" as a bool, but (when using the boolean\ninstead of the string) it should always be \u003ccode\u003etrue\u003c/code\u003e.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"useInAppDefault": {
|
||||
"description": "if true, omit the parameter from the map of fetched parameter values",
|
||||
"type": "boolean"
|
||||
},
|
||||
"value": {
|
||||
"description": "the string to set the parameter to",
|
||||
"type": "string"
|
||||
},
|
||||
"useInAppDefault": {
|
||||
"description": "if true, omit the parameter from the map of fetched parameter values",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"id": "RemoteConfigParameterValue"
|
||||
},
|
||||
"RemoteConfig": {
|
||||
"description": "*\nThe RemoteConfig consists of a list of conditions (which can be\nthought of as named \"if\" statements) and a map of parameters (parameter key\nto a stucture containing an optional default value, as well as a optional\nsubmap of (condition name to value when that condition is true).",
|
||||
"description": "*\nThe RemoteConfig consists of a list of conditions (which can be\nthought of as named \"if\" statements) and a map of parameters (parameter key\nto a structure containing an optional default value, as well as a optional\nsubmap of (condition name to value when that condition is true).",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"conditions": {
|
||||
"description": "The list of named conditions. The order *does* affect the semantics.\nThe condition_name values of these entries must be unique.\n\nThe resolved value of a config parameter P is determined as follow:\n* Let Y be the set of values from the submap of P that refer to conditions\n that evaluate to \u003ccode\u003etrue\u003c/code\u003e.\n* If Y is non empty, the value is taken from the specific submap in Y whose\n condition_name is the earliest in this condition list.\n* Else, if P has a default value option (condition_name is empty) then\n the value is taken from that option.\n* Else, parameter P has no value and is omitted from the config result.\n\nExample: parameter key \"p1\", default value \"v1\", submap specified as\n{\"c1\": v2, \"c2\": v3} where \"c1\" and \"c2\" are names of conditions in the\ncondition list (where \"c1\" in this example appears before \"c2\"). The\nvalue of p1 would be v2 as long as c1 is true. Otherwise, if c2 is true,\np1 would evaluate to v3, and if c1 and c2 are both false, p1 would evaluate\nto v1. If no default value was specified, and c1 and c2 were both false,\nno value for p1 would be generated.",
|
||||
"items": {
|
||||
"$ref": "RemoteConfigCondition"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "RemoteConfigParameter"
|
||||
},
|
||||
"description": "Map of parameter keys to their optional default values and optional submap\nof (condition name : value). Order doesn't affect semantics, and so is\nsorted by the server. The 'key' values of the params must be unique."
|
||||
"description": "Map of parameter keys to their optional default values and optional submap\nof (condition name : value). Order doesn't affect semantics, and so is\nsorted by the server. The 'key' values of the params must be unique.",
|
||||
"type": "object"
|
||||
},
|
||||
"conditions": {
|
||||
"description": "The list of named conditions. The order *does* affect the semantics.\nThe condition_name values of these entries must be unique.\n\nThe resolved value of a config parameter P is determined as follow:\n* Let Y be the set of values from the submap of P that refer to conditions\n that evaluate to \u003ccode\u003etrue\u003c/code\u003e.\n* If Y is non empty, the value is taken from the specific submap in Y whose\n condition_name is the earliest in this condition list.\n* Else, if P has a default value option (condition_name is empty) then\n the value is taken from that option.\n* Else, parameter P has no value and is omitted from the config result.\n\nExample: parameter key \"p1\", default value \"v1\", submap specified as\n{\"c1\": v2, \"c2\": v3} where \"c1\" and \"c2\" are names of conditions in the\ncondition list (where \"c1\" in this example appears before \"c2\"). The\nvalue of p1 would be v2 as long as c1 is true. Otherwise, if c2 is true,\np1 would evaluate to v3, and if c1 and c2 are both false, p1 would evaluate\nto v1. If no default value was specified, and c1 and c2 were both false,\nno value for p1 would be generated.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "RemoteConfigCondition"
|
||||
}
|
||||
}
|
||||
},
|
||||
"id": "RemoteConfig"
|
||||
},
|
||||
"RemoteConfigParameter": {
|
||||
"properties": {
|
||||
"defaultValue": {
|
||||
"description": "Optional - value to set the parameter to, when none of the named conditions\nevaluate to \u003ccode\u003etrue\u003c/code\u003e.",
|
||||
"$ref": "RemoteConfigParameterValue"
|
||||
},
|
||||
"conditionalValues": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "RemoteConfigParameterValue"
|
||||
},
|
||||
"description": "Optional - a map of (condition_name, value). The condition_name of the\nhighest priority (the one listed first in the conditions array) determines\nthe value of this parameter."
|
||||
}
|
||||
},
|
||||
"id": "RemoteConfigParameter",
|
||||
"description": "While default_value and conditional_values are each optional, at least one of\nthe two is required - otherwise, the parameter is meaningless (and an\nexception will be thrown by the validation logic).",
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"icons": {
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif",
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif"
|
||||
},
|
||||
"protocol": "rest",
|
||||
"canonicalName": "Firebase Remote Config",
|
||||
@@ -118,158 +279,5 @@
|
||||
"name": "firebaseremoteconfig",
|
||||
"batchPath": "batch",
|
||||
"fullyEncodeReservedExpansion": true,
|
||||
"title": "Firebase Remote Config API",
|
||||
"ownerName": "Google",
|
||||
"resources": {
|
||||
"projects": {
|
||||
"methods": {
|
||||
"updateRemoteConfig": {
|
||||
"httpMethod": "PUT",
|
||||
"parameterOrder": [
|
||||
"project"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "RemoteConfig"
|
||||
},
|
||||
"parameters": {
|
||||
"project": {
|
||||
"pattern": "^projects/[^/]+$",
|
||||
"location": "path",
|
||||
"description": "The GMP project identifier. Required.\nSee note at the beginning of this file regarding project ids.",
|
||||
"type": "string",
|
||||
"required": true
|
||||
},
|
||||
"validateOnly": {
|
||||
"description": "Optional. Defaults to \u003ccode\u003efalse\u003c/code\u003e (UpdateRemoteConfig call should\nupdate the backend if there are no validation/interal errors). May be set\nto \u003ccode\u003etrue\u003c/code\u003e to indicate that, should no validation errors occur,\nthe call should return a \"200 OK\" instead of performing the update. Note\nthat other error messages (500 Internal Error, 412 Version Mismatch, etc)\nmay still result after flipping to \u003ccode\u003efalse\u003c/code\u003e, even if getting a\n\"200 OK\" when calling with \u003ccode\u003etrue\u003c/code\u003e.",
|
||||
"type": "boolean",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"flatPath": "v1/projects/{projectsId}/remoteConfig",
|
||||
"path": "v1/{+project}/remoteConfig",
|
||||
"id": "firebaseremoteconfig.projects.updateRemoteConfig",
|
||||
"request": {
|
||||
"$ref": "RemoteConfig"
|
||||
},
|
||||
"description": "Update a RemoteConfig. We treat this as an always-existing\nresource (when it is not found in our data store, we treat it as version\n0, a template with zero conditions and zero parameters). Hence there are\nno Create or Delete operations. Returns the updated template when\nsuccessful (and the updated eTag as a response header), or an error if\nthings go wrong.\nPossible error messages:\n* VALIDATION_ERROR (HTTP status 400) with additional details if the\ntemplate being passed in can not be validated.\n* AUTHENTICATION_ERROR (HTTP status 401) if the request can not be\nauthenticate (e.g. no access token, or invalid access token).\n* AUTHORIZATION_ERROR (HTTP status 403) if the request can not be\nauthorized (e.g. the user has no access to the specified project id).\n* VERSION_MISMATCH (HTTP status 412) when trying to update when the\nexpected eTag (passed in via the \"If-match\" header) is not specified, or\nis specified but does does not match the current eTag.\n* Internal error (HTTP status 500) for Database problems or other internal\nerrors."
|
||||
},
|
||||
"getRemoteConfig": {
|
||||
"httpMethod": "GET",
|
||||
"parameterOrder": [
|
||||
"project"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "RemoteConfig"
|
||||
},
|
||||
"parameters": {
|
||||
"project": {
|
||||
"description": "The GMP project identifier. Required.\nSee note at the beginning of this file regarding project ids.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"pattern": "^projects/[^/]+$",
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"flatPath": "v1/projects/{projectsId}/remoteConfig",
|
||||
"path": "v1/{+project}/remoteConfig",
|
||||
"id": "firebaseremoteconfig.projects.getRemoteConfig",
|
||||
"description": "Get the latest version Remote Configuration for a project.\nReturns the RemoteConfig as the payload, and also the eTag as a\nresponse header."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
"upload_protocol": {
|
||||
"location": "query",
|
||||
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
|
||||
"type": "string"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"default": "true",
|
||||
"type": "boolean",
|
||||
"location": "query"
|
||||
},
|
||||
"uploadType": {
|
||||
"location": "query",
|
||||
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
||||
"type": "string"
|
||||
},
|
||||
"fields": {
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"location": "query",
|
||||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
],
|
||||
"description": "V1 error format.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
]
|
||||
},
|
||||
"alt": {
|
||||
"description": "Data format for response.",
|
||||
"default": "json",
|
||||
"enum": [
|
||||
"json",
|
||||
"media",
|
||||
"proto"
|
||||
],
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Responses with Content-Type of application/json",
|
||||
"Media download with context-dependent Content-Type",
|
||||
"Responses with Content-Type of application/x-protobuf"
|
||||
],
|
||||
"location": "query"
|
||||
},
|
||||
"access_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth access token.",
|
||||
"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.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"quotaUser": {
|
||||
"type": "string",
|
||||
"location": "query",
|
||||
"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."
|
||||
},
|
||||
"pp": {
|
||||
"description": "Pretty-print response.",
|
||||
"default": "true",
|
||||
"type": "boolean",
|
||||
"location": "query"
|
||||
},
|
||||
"oauth_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"type": "string"
|
||||
},
|
||||
"bearer_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth bearer token.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"version": "v1",
|
||||
"baseUrl": "https://firebaseremoteconfig.googleapis.com/",
|
||||
"servicePath": "",
|
||||
"description": "Firebase Remote Config API allows the 3P clients to manage Remote Config conditions and parameters for Firebase applications.",
|
||||
"kind": "discovery#restDescription",
|
||||
"basePath": ""
|
||||
"title": "Firebase Remote Config API"
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
1968
etc/api/firestore/v1beta1/firestore-api.json
Normal file
1968
etc/api/firestore/v1beta1/firestore-api.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/Iezg2N-GRRgP6nxERqABDosZ2Tk\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/K1BxZmhfi_H1WlvW1SDsecgXAnE\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "fitness:v1",
|
||||
"name": "fitness",
|
||||
"version": "v1",
|
||||
"revision": "20170830",
|
||||
"revision": "20170922",
|
||||
"title": "Fitness",
|
||||
"description": "Stores and accesses user data in the fitness store from apps on any platform.",
|
||||
"ownerDomain": "google.com",
|
||||
@@ -773,14 +773,14 @@
|
||||
},
|
||||
"deletedDataPoint": {
|
||||
"type": "array",
|
||||
"description": "Data points that have been removed and will not be included in any other request for dataset contents.",
|
||||
"description": "Deleted data points for the user. Note, for modifications this should be parsed before handling insertions.",
|
||||
"items": {
|
||||
"$ref": "DataPoint"
|
||||
}
|
||||
},
|
||||
"insertedDataPoint": {
|
||||
"type": "array",
|
||||
"description": "Data points listed.",
|
||||
"description": "Inserted data points for the user.",
|
||||
"items": {
|
||||
"$ref": "DataPoint"
|
||||
}
|
||||
@@ -1223,7 +1223,7 @@
|
||||
"id": "fitness.users.dataSources.dataPointChanges.list",
|
||||
"path": "{userId}/dataSources/{dataSourceId}/dataPointChanges",
|
||||
"httpMethod": "GET",
|
||||
"description": "results ordered by descending end_time",
|
||||
"description": "Queries for user's data point changes for a particular data source.",
|
||||
"parameters": {
|
||||
"dataSourceId": {
|
||||
"type": "string",
|
||||
@@ -1233,7 +1233,7 @@
|
||||
},
|
||||
"limit": {
|
||||
"type": "integer",
|
||||
"description": "If specified, no more than this many data point changes will be included in the response. The default is 500 data point changes.",
|
||||
"description": "If specified, no more than this many data point changes will be included in the response.",
|
||||
"format": "int32",
|
||||
"location": "query"
|
||||
},
|
||||
@@ -1244,7 +1244,7 @@
|
||||
},
|
||||
"userId": {
|
||||
"type": "string",
|
||||
"description": "List data points for the person identified. Use \"me\" to indicate the authenticated user. Only \"me\" is supported at this time.",
|
||||
"description": "List data points for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/hYetPnobfGbbTDN2IyE3ld5RWXw\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/3n2JbinzwstAjIIKWdbUBbIIhU4\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "fusiontables:v1",
|
||||
"name": "fusiontables",
|
||||
"version": "v1",
|
||||
"revision": "20170413",
|
||||
"revision": "20171117",
|
||||
"title": "Fusion Tables API",
|
||||
"description": "API for working with Fusion Tables data.",
|
||||
"ownerDomain": "google.com",
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/p_O8VQ1GgwnmLUmXhlZf5JsJdkk\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/_bC0Z0nYODnrZBcW4xrPKn1ZzhA\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "fusiontables:v2",
|
||||
"name": "fusiontables",
|
||||
"version": "v2",
|
||||
"revision": "20170413",
|
||||
"revision": "20171117",
|
||||
"title": "Fusion Tables API",
|
||||
"description": "API for working with Fusion Tables data.",
|
||||
"ownerDomain": "google.com",
|
||||
@@ -1530,6 +1530,29 @@
|
||||
"https://www.googleapis.com/auth/fusiontables"
|
||||
]
|
||||
},
|
||||
"refetchSheet": {
|
||||
"id": "fusiontables.table.refetchSheet",
|
||||
"path": "tables/{tableId}/refetch",
|
||||
"httpMethod": "POST",
|
||||
"description": "Replaces rows of the table with the rows of the spreadsheet that is first imported from. Current rows remain visible until all replacement rows are ready.",
|
||||
"parameters": {
|
||||
"tableId": {
|
||||
"type": "string",
|
||||
"description": "Table whose rows will be replaced from the spreadsheet.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"tableId"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "Task"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/fusiontables"
|
||||
]
|
||||
},
|
||||
"replaceRows": {
|
||||
"id": "fusiontables.table.replaceRows",
|
||||
"path": "tables/{tableId}/replace",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/sGiRc3q5mYn-fpaf2dI4we-YLzY\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/VIpOSOSZ-zOkpd4WqabbGm_2r4U\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "games:v1",
|
||||
"name": "games",
|
||||
"canonicalName": "Games",
|
||||
"version": "v1",
|
||||
"revision": "20170925",
|
||||
"revision": "20171207",
|
||||
"title": "Google Play Game Services API",
|
||||
"description": "The API for Google Play Game Services.",
|
||||
"ownerDomain": "google.com",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/XlOtxoGRhUhIN8Wi-yr0KBHSEJA\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/3ak9sapH7H4IuKpkj-CidpvNYC0\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "gamesConfiguration:v1configuration",
|
||||
"name": "gamesConfiguration",
|
||||
"canonicalName": "Games Configuration",
|
||||
"version": "v1configuration",
|
||||
"revision": "20170925",
|
||||
"revision": "20171207",
|
||||
"title": "Google Play Game Services Publishing API",
|
||||
"description": "The Publishing API for Google Play Game Services.",
|
||||
"ownerDomain": "google.com",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/x6d9KrKEkZj5LYDdLx1wDF-XPvE\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/im3JBEgetvXOsiwP9uK_fBMdxGE\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "gamesManagement:v1management",
|
||||
"name": "gamesManagement",
|
||||
"canonicalName": "Games Management",
|
||||
"version": "v1management",
|
||||
"revision": "20170925",
|
||||
"revision": "20171207",
|
||||
"title": "Google Play Game Services Management API",
|
||||
"description": "The Management API for Google Play Game Services.",
|
||||
"ownerDomain": "google.com",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/yLmXjwrCZrd7tYs9N17TGZKIRRE\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/KN8GrB2y-CsV6bxSvl7bWp7E8GE\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "gmail:v1",
|
||||
"name": "gmail",
|
||||
"version": "v1",
|
||||
"revision": "20170913",
|
||||
"revision": "20171128",
|
||||
"title": "Gmail API",
|
||||
"description": "Access Gmail mailboxes including sending user email.",
|
||||
"ownerDomain": "google.com",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/YDuUtEWk-s4RoFmU1uyfiL_piZ0\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/5REpmDGFG7X9F_txWwyqL9Yixn0\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "identitytoolkit:v3",
|
||||
"name": "identitytoolkit",
|
||||
"canonicalName": "Identity Toolkit",
|
||||
"version": "v3",
|
||||
"revision": "20170828",
|
||||
"revision": "20171122",
|
||||
"title": "Google Identity Toolkit API",
|
||||
"description": "Help the third party sites to implement federated login.",
|
||||
"ownerDomain": "google.com",
|
||||
@@ -120,6 +120,13 @@
|
||||
"sessionId": {
|
||||
"type": "string",
|
||||
"description": "Session ID which should be passed in the following verifyAssertion request."
|
||||
},
|
||||
"signinMethods": {
|
||||
"type": "array",
|
||||
"description": "All sign-in methods this user has used.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -158,6 +165,43 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"EmailLinkSigninResponse": {
|
||||
"id": "EmailLinkSigninResponse",
|
||||
"type": "object",
|
||||
"description": "Response of email signIn.",
|
||||
"properties": {
|
||||
"email": {
|
||||
"type": "string",
|
||||
"description": "The user's email."
|
||||
},
|
||||
"expiresIn": {
|
||||
"type": "string",
|
||||
"description": "Expiration time of STS id token in seconds.",
|
||||
"format": "int64"
|
||||
},
|
||||
"idToken": {
|
||||
"type": "string",
|
||||
"description": "The STS id token to login the newly signed in user."
|
||||
},
|
||||
"isNewUser": {
|
||||
"type": "boolean",
|
||||
"description": "Whether the user is new."
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"description": "The fixed string \"identitytoolkit#EmailLinkSigninResponse\".",
|
||||
"default": "identitytoolkit#EmailLinkSigninResponse"
|
||||
},
|
||||
"localId": {
|
||||
"type": "string",
|
||||
"description": "The RP local ID of the user."
|
||||
},
|
||||
"refreshToken": {
|
||||
"type": "string",
|
||||
"description": "The refresh token for the signed in user."
|
||||
}
|
||||
}
|
||||
},
|
||||
"EmailTemplate": {
|
||||
"id": "EmailTemplate",
|
||||
"type": "object",
|
||||
@@ -360,6 +404,25 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"IdentitytoolkitRelyingpartyEmailLinkSigninRequest": {
|
||||
"id": "IdentitytoolkitRelyingpartyEmailLinkSigninRequest",
|
||||
"type": "object",
|
||||
"description": "Request to sign in with email.",
|
||||
"properties": {
|
||||
"email": {
|
||||
"type": "string",
|
||||
"description": "The email address of the user."
|
||||
},
|
||||
"idToken": {
|
||||
"type": "string",
|
||||
"description": "Token for linking flow."
|
||||
},
|
||||
"oobCode": {
|
||||
"type": "string",
|
||||
"description": "The confirmation code."
|
||||
}
|
||||
}
|
||||
},
|
||||
"IdentitytoolkitRelyingpartyGetAccountInfoRequest": {
|
||||
"id": "IdentitytoolkitRelyingpartyGetAccountInfoRequest",
|
||||
"type": "object",
|
||||
@@ -1751,6 +1814,21 @@
|
||||
"https://www.googleapis.com/auth/firebase"
|
||||
]
|
||||
},
|
||||
"emailLinkSignin": {
|
||||
"id": "identitytoolkit.relyingparty.emailLinkSignin",
|
||||
"path": "emailLinkSignin",
|
||||
"httpMethod": "POST",
|
||||
"description": "Reset password for a user.",
|
||||
"request": {
|
||||
"$ref": "IdentitytoolkitRelyingpartyEmailLinkSigninRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "EmailLinkSigninResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
},
|
||||
"getAccountInfo": {
|
||||
"id": "identitytoolkit.relyingparty.getAccountInfo",
|
||||
"path": "getAccountInfo",
|
||||
|
||||
@@ -1,24 +1,28 @@
|
||||
{
|
||||
"ownerName": "Google",
|
||||
"discoveryVersion": "v1",
|
||||
"ownerName": "Google",
|
||||
"version_module": true,
|
||||
"resources": {
|
||||
"entities": {
|
||||
"methods": {
|
||||
"search": {
|
||||
"path": "v1/entities:search",
|
||||
"id": "kgsearch.entities.search",
|
||||
"description": "Searches Knowledge Graph for entities that match the constraints.\nA list of matched entities will be returned in response, which will be in\nJSON-LD format and compatible with http://schema.org",
|
||||
"httpMethod": "GET",
|
||||
"parameterOrder": [],
|
||||
"response": {
|
||||
"$ref": "SearchResponse"
|
||||
},
|
||||
"parameterOrder": [],
|
||||
"httpMethod": "GET",
|
||||
"parameters": {
|
||||
"indent": {
|
||||
"types": {
|
||||
"location": "query",
|
||||
"description": "Restricts returned entities with these types, e.g. Person\n(as defined in http://schema.org/Person). If multiple types are specified,\nreturned entities will contain one or more of these types.",
|
||||
"type": "string",
|
||||
"repeated": true
|
||||
},
|
||||
"indent": {
|
||||
"description": "Enables indenting of json results.",
|
||||
"type": "boolean"
|
||||
"type": "boolean",
|
||||
"location": "query"
|
||||
},
|
||||
"languages": {
|
||||
"description": "The list of language codes (defined in ISO 693) to run the query with,\ne.g. 'en'.",
|
||||
@@ -27,58 +31,49 @@
|
||||
"location": "query"
|
||||
},
|
||||
"ids": {
|
||||
"repeated": true,
|
||||
"location": "query",
|
||||
"description": "The list of entity id to be used for search instead of query string.\nTo specify multiple ids in the HTTP request, repeat the parameter in the\nURL as in ...?ids=A&ids=B",
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"repeated": true,
|
||||
"location": "query"
|
||||
},
|
||||
"limit": {
|
||||
"location": "query",
|
||||
"format": "int32",
|
||||
"description": "Limits the number of entities to be returned.",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
},
|
||||
"prefix": {
|
||||
"location": "query",
|
||||
"description": "Enables prefix match against names and aliases of entities",
|
||||
"type": "boolean",
|
||||
"location": "query"
|
||||
"type": "boolean"
|
||||
},
|
||||
"query": {
|
||||
"location": "query",
|
||||
"description": "The literal query string for search.",
|
||||
"type": "string"
|
||||
},
|
||||
"types": {
|
||||
"description": "Restricts returned entities with these types, e.g. Person\n(as defined in http://schema.org/Person). If multiple types are specified,\nreturned entities will contain one or more of these types.",
|
||||
"type": "string",
|
||||
"repeated": true,
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"flatPath": "v1/entities:search"
|
||||
"flatPath": "v1/entities:search",
|
||||
"path": "v1/entities:search",
|
||||
"id": "kgsearch.entities.search"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
"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.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"pp": {
|
||||
"description": "Pretty-print response.",
|
||||
"default": "true",
|
||||
"type": "boolean",
|
||||
"location": "query"
|
||||
},
|
||||
"bearer_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth bearer token.",
|
||||
"type": "string"
|
||||
"description": "Pretty-print response.",
|
||||
"type": "boolean",
|
||||
"default": "true"
|
||||
},
|
||||
"oauth_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"type": "string"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
@@ -88,22 +83,23 @@
|
||||
"type": "string"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"default": "true",
|
||||
"type": "boolean",
|
||||
"location": "query",
|
||||
"description": "Returns response with indentations and line breaks."
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"type": "boolean",
|
||||
"default": "true"
|
||||
},
|
||||
"uploadType": {
|
||||
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
||||
"fields": {
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"fields": {
|
||||
"uploadType": {
|
||||
"location": "query",
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
||||
"type": "string"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"description": "V1 error format.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
@@ -113,8 +109,7 @@
|
||||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
],
|
||||
"description": "V1 error format."
|
||||
]
|
||||
},
|
||||
"callback": {
|
||||
"location": "query",
|
||||
@@ -137,15 +132,20 @@
|
||||
"proto"
|
||||
]
|
||||
},
|
||||
"key": {
|
||||
"location": "query",
|
||||
"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.",
|
||||
"type": "string"
|
||||
},
|
||||
"access_token": {
|
||||
"description": "OAuth access token.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"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.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"quotaUser": {
|
||||
"location": "query",
|
||||
"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.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"schemas": {
|
||||
@@ -153,17 +153,17 @@
|
||||
"description": "Response message includes the context and a list of matching results\nwhich contain the detail of associated entities.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"itemListElement": {
|
||||
"description": "The item list of search results.",
|
||||
"items": {
|
||||
"type": "any"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"@context": {
|
||||
"description": "The local context applicable for the response. See more details at\nhttp://www.w3.org/TR/json-ld/#context-definitions.",
|
||||
"type": "any"
|
||||
},
|
||||
"itemListElement": {
|
||||
"description": "The item list of search results.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "any"
|
||||
}
|
||||
},
|
||||
"@type": {
|
||||
"description": "The schema type of top-level JSON-LD object, e.g. ItemList.",
|
||||
"type": "any"
|
||||
@@ -172,11 +172,11 @@
|
||||
"id": "SearchResponse"
|
||||
}
|
||||
},
|
||||
"icons": {
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
||||
},
|
||||
"protocol": "rest",
|
||||
"icons": {
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif",
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif"
|
||||
},
|
||||
"version": "v1",
|
||||
"baseUrl": "https://kgsearch.googleapis.com/",
|
||||
"servicePath": "",
|
||||
@@ -187,8 +187,8 @@
|
||||
"ownerDomain": "google.com",
|
||||
"name": "kgsearch",
|
||||
"batchPath": "batch",
|
||||
"id": "kgsearch:v1",
|
||||
"revision": "20171103",
|
||||
"documentationLink": "https://developers.google.com/knowledge-graph/",
|
||||
"revision": "20170925",
|
||||
"id": "kgsearch:v1",
|
||||
"title": "Knowledge Graph Search API"
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,149 +1,31 @@
|
||||
{
|
||||
"parameters": {
|
||||
"upload_protocol": {
|
||||
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"location": "query",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"default": "true",
|
||||
"type": "boolean"
|
||||
},
|
||||
"uploadType": {
|
||||
"location": "query",
|
||||
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
||||
"type": "string"
|
||||
},
|
||||
"fields": {
|
||||
"location": "query",
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"type": "string",
|
||||
"location": "query",
|
||||
"description": "JSONP"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
],
|
||||
"location": "query",
|
||||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
],
|
||||
"description": "V1 error format."
|
||||
},
|
||||
"alt": {
|
||||
"description": "Data format for response.",
|
||||
"default": "json",
|
||||
"enum": [
|
||||
"json",
|
||||
"media",
|
||||
"proto"
|
||||
],
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Responses with Content-Type of application/json",
|
||||
"Media download with context-dependent Content-Type",
|
||||
"Responses with Content-Type of application/x-protobuf"
|
||||
],
|
||||
"location": "query"
|
||||
},
|
||||
"access_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth access token.",
|
||||
"type": "string"
|
||||
},
|
||||
"key": {
|
||||
"location": "query",
|
||||
"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.",
|
||||
"type": "string"
|
||||
},
|
||||
"quotaUser": {
|
||||
"location": "query",
|
||||
"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.",
|
||||
"type": "string"
|
||||
},
|
||||
"pp": {
|
||||
"location": "query",
|
||||
"description": "Pretty-print response.",
|
||||
"default": "true",
|
||||
"type": "boolean"
|
||||
},
|
||||
"oauth_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"type": "string"
|
||||
},
|
||||
"bearer_token": {
|
||||
"type": "string",
|
||||
"location": "query",
|
||||
"description": "OAuth bearer token."
|
||||
}
|
||||
},
|
||||
"version": "v1",
|
||||
"baseUrl": "https://manufacturers.googleapis.com/",
|
||||
"kind": "discovery#restDescription",
|
||||
"description": "Public API for managing Manufacturer Center related data.",
|
||||
"servicePath": "",
|
||||
"basePath": "",
|
||||
"id": "manufacturers:v1",
|
||||
"revision": "20170808",
|
||||
"documentationLink": "https://developers.google.com/manufacturers/",
|
||||
"discoveryVersion": "v1",
|
||||
"version_module": true,
|
||||
"schemas": {
|
||||
"Count": {
|
||||
"description": "The number of products in a single package. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#count.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"unit": {
|
||||
"description": "The unit in which these products are counted.",
|
||||
"type": "string"
|
||||
},
|
||||
"value": {
|
||||
"format": "int64",
|
||||
"description": "The numeric value of the number of products in a package.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "Count"
|
||||
},
|
||||
"Product": {
|
||||
"description": "Product data.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"description": "Name in the format `{target_country}:{content_language}:{product_id}`.\n\n`target_country` - The target country of the product as a CLDR territory\n code (for example, US).\n\n`content_language` - The content language of the product as a two-letter\n ISO 639-1 language code (for example, en).\n\n`product_id` - The ID of the product. For more information, see\n https://support.google.com/manufacturers/answer/6124116#id.\n@OutputOnly",
|
||||
"type": "string"
|
||||
},
|
||||
"issues": {
|
||||
"description": "A server-generated list of issues associated with the product.\n@OutputOnly",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "Issue"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"manuallyDeletedAttributes": {
|
||||
"description": "Names of the attributes of the product deleted manually via the\nManufacturer Center UI.\n@OutputOnly",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"finalAttributes": {
|
||||
"$ref": "Attributes",
|
||||
"description": "Final attributes of the product. The final attributes are obtained by\noverriding the uploaded attributes with the manually provided and deleted\nattributes. Google systems only process, evaluate, review, and/or use final\nattributes.\n@OutputOnly"
|
||||
"description": "Final attributes of the product. The final attributes are obtained by\noverriding the uploaded attributes with the manually provided and deleted\nattributes. Google systems only process, evaluate, review, and/or use final\nattributes.\n@OutputOnly",
|
||||
"$ref": "Attributes"
|
||||
},
|
||||
"productId": {
|
||||
"description": "The ID of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#id.\n@OutputOnly",
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"description": "The ID of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#id.\n@OutputOnly"
|
||||
},
|
||||
"uploadedAttributes": {
|
||||
"$ref": "Attributes",
|
||||
@@ -154,32 +36,37 @@
|
||||
"type": "string"
|
||||
},
|
||||
"manuallyProvidedAttributes": {
|
||||
"description": "Attributes of the product provided manually via the Manufacturer Center UI.\n@OutputOnly",
|
||||
"$ref": "Attributes"
|
||||
"$ref": "Attributes",
|
||||
"description": "Attributes of the product provided manually via the Manufacturer Center UI.\n@OutputOnly"
|
||||
},
|
||||
"contentLanguage": {
|
||||
"description": "The content language of the product as a two-letter ISO 639-1 language code\n(for example, en).\n@OutputOnly",
|
||||
"type": "string"
|
||||
},
|
||||
"targetCountry": {
|
||||
"description": "The target country of the product as a CLDR territory code (for example,\nUS).\n@OutputOnly",
|
||||
"type": "string"
|
||||
},
|
||||
"contentLanguage": {
|
||||
"description": "The content language of the product as a two-letter ISO 639-1 language code\n(for example, en).\n@OutputOnly",
|
||||
"name": {
|
||||
"description": "Name in the format `{target_country}:{content_language}:{product_id}`.\n\n`target_country` - The target country of the product as a CLDR territory\n code (for example, US).\n\n`content_language` - The content language of the product as a two-letter\n ISO 639-1 language code (for example, en).\n\n`product_id` - The ID of the product. For more information, see\n https://support.google.com/manufacturers/answer/6124116#id.\n@OutputOnly",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "Product"
|
||||
"id": "Product",
|
||||
"description": "Product data."
|
||||
},
|
||||
"Capacity": {
|
||||
"description": "The capacity of a product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#capacity.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"value": {
|
||||
"description": "The numeric value of the capacity.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"unit": {
|
||||
"description": "The unit of the capacity, i.e., MB, GB, or TB.",
|
||||
"type": "string"
|
||||
},
|
||||
"value": {
|
||||
"type": "string",
|
||||
"format": "int64",
|
||||
"description": "The numeric value of the capacity."
|
||||
}
|
||||
},
|
||||
"id": "Capacity"
|
||||
@@ -189,10 +76,10 @@
|
||||
"properties": {
|
||||
"products": {
|
||||
"description": "List of the products.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "Product"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"nextPageToken": {
|
||||
"description": "The token for the retrieval of the next page of product statuses.",
|
||||
@@ -205,10 +92,6 @@
|
||||
"description": "A product detail of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#productdetail.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"attributeName": {
|
||||
"description": "The name of the attribute.",
|
||||
"type": "string"
|
||||
},
|
||||
"attributeValue": {
|
||||
"description": "The value of the attribute.",
|
||||
"type": "string"
|
||||
@@ -216,58 +99,16 @@
|
||||
"sectionName": {
|
||||
"description": "A short section name that can be reused between multiple product details.",
|
||||
"type": "string"
|
||||
},
|
||||
"attributeName": {
|
||||
"description": "The name of the attribute.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "ProductDetail"
|
||||
},
|
||||
"Issue": {
|
||||
"properties": {
|
||||
"severity": {
|
||||
"enum": [
|
||||
"SEVERITY_UNSPECIFIED",
|
||||
"ERROR",
|
||||
"WARNING",
|
||||
"INFO"
|
||||
],
|
||||
"description": "The severity of the issue.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Unspecified severity, never used.",
|
||||
"Error severity. The issue prevents the usage of the whole item.",
|
||||
"Warning severity. The issue is either one that prevents the usage of the\nattribute that triggered it or one that will soon prevent the usage of\nthe whole item.",
|
||||
"Info severity. The issue is one that doesn't require immediate attention.\nIt is, for example, used to communicate which attributes are still\npending review."
|
||||
]
|
||||
},
|
||||
"description": {
|
||||
"description": "Description of the issue.",
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"description": "The server-generated type of the issue, for example,\n“INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc."
|
||||
},
|
||||
"attribute": {
|
||||
"description": "If present, the attribute that triggered the issue. For more information\nabout attributes, see\nhttps://support.google.com/manufacturers/answer/6124116.",
|
||||
"type": "string"
|
||||
},
|
||||
"timestamp": {
|
||||
"type": "string",
|
||||
"format": "google-datetime",
|
||||
"description": "The timestamp when this issue appeared."
|
||||
}
|
||||
},
|
||||
"id": "Issue",
|
||||
"description": "Product issue.",
|
||||
"type": "object"
|
||||
},
|
||||
"FeatureDescription": {
|
||||
"description": "A feature description of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#featuredesc.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"image": {
|
||||
"$ref": "Image",
|
||||
"description": "An optional image describing the feature."
|
||||
},
|
||||
"headline": {
|
||||
"description": "A short description of the feature.",
|
||||
"type": "string"
|
||||
@@ -275,9 +116,70 @@
|
||||
"text": {
|
||||
"description": "A detailed description of the feature.",
|
||||
"type": "string"
|
||||
},
|
||||
"image": {
|
||||
"$ref": "Image",
|
||||
"description": "An optional image describing the feature."
|
||||
}
|
||||
},
|
||||
"id": "FeatureDescription"
|
||||
"id": "FeatureDescription",
|
||||
"description": "A feature description of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#featuredesc.",
|
||||
"type": "object"
|
||||
},
|
||||
"Issue": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"timestamp": {
|
||||
"description": "The timestamp when this issue appeared.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"severity": {
|
||||
"enumDescriptions": [
|
||||
"Unspecified severity, never used.",
|
||||
"Error severity. The issue prevents the usage of the whole item.",
|
||||
"Warning severity. The issue is either one that prevents the usage of the\nattribute that triggered it or one that will soon prevent the usage of\nthe whole item.",
|
||||
"Info severity. The issue is one that doesn't require immediate attention.\nIt is, for example, used to communicate which attributes are still\npending review."
|
||||
],
|
||||
"enum": [
|
||||
"SEVERITY_UNSPECIFIED",
|
||||
"ERROR",
|
||||
"WARNING",
|
||||
"INFO"
|
||||
],
|
||||
"description": "The severity of the issue.",
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"description": "Description of the issue.",
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"description": "The server-generated type of the issue, for example,\n“INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc.",
|
||||
"type": "string"
|
||||
},
|
||||
"attribute": {
|
||||
"description": "If present, the attribute that triggered the issue. For more information\nabout attributes, see\nhttps://support.google.com/manufacturers/answer/6124116.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "Issue",
|
||||
"description": "Product issue."
|
||||
},
|
||||
"Price": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"currency": {
|
||||
"type": "string",
|
||||
"description": "The currency in which the price is denoted."
|
||||
},
|
||||
"amount": {
|
||||
"description": "The numeric value of the price.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "Price",
|
||||
"description": "A price."
|
||||
},
|
||||
"Empty": {
|
||||
"description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
|
||||
@@ -285,55 +187,10 @@
|
||||
"properties": {},
|
||||
"id": "Empty"
|
||||
},
|
||||
"Price": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"currency": {
|
||||
"description": "The currency in which the price is denoted.",
|
||||
"type": "string"
|
||||
},
|
||||
"amount": {
|
||||
"type": "string",
|
||||
"description": "The numeric value of the price."
|
||||
}
|
||||
},
|
||||
"id": "Price",
|
||||
"description": "A price."
|
||||
},
|
||||
"Image": {
|
||||
"description": "An image.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"status": {
|
||||
"description": "The status of the image.\n@OutputOnly",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Status is unspecified. Should not be used.",
|
||||
"Image was uploaded and is being processed.",
|
||||
"The image crawl is still pending.",
|
||||
"The image was processed and it meets the requirements.",
|
||||
"The image URL is protected by robots.txt file and cannot be crawled.",
|
||||
"The image URL is protected by X-Robots-Tag and cannot be crawled.",
|
||||
"There was an error while crawling the image.",
|
||||
"The image cannot be processed.",
|
||||
"The image cannot be decoded.",
|
||||
"The image is too big.",
|
||||
"The image was manually overridden and will not be crawled."
|
||||
],
|
||||
"enum": [
|
||||
"STATUS_UNSPECIFIED",
|
||||
"PENDING_PROCESSING",
|
||||
"PENDING_CRAWL",
|
||||
"OK",
|
||||
"ROBOTED",
|
||||
"XROBOTED",
|
||||
"CRAWL_ERROR",
|
||||
"PROCESSING_ERROR",
|
||||
"DECODING_ERROR",
|
||||
"TOO_BIG",
|
||||
"CRAWL_SKIPPED"
|
||||
]
|
||||
},
|
||||
"type": {
|
||||
"enum": [
|
||||
"TYPE_UNSPECIFIED",
|
||||
@@ -351,6 +208,40 @@
|
||||
"imageUrl": {
|
||||
"description": "The URL of the image. For crawled images, this is the provided URL. For\nuploaded images, this is a serving URL from Google if the image has been\nprocessed successfully.",
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"enumDescriptions": [
|
||||
"The image status is unspecified. Should not be used.",
|
||||
"The image was uploaded and is being processed.",
|
||||
"The image crawl is still pending.",
|
||||
"The image was processed and it meets the requirements.",
|
||||
"The image URL is protected by robots.txt file and cannot be crawled.",
|
||||
"The image URL is protected by X-Robots-Tag and cannot be crawled.",
|
||||
"There was an error while crawling the image.",
|
||||
"The image cannot be processed.",
|
||||
"The image cannot be decoded.",
|
||||
"The image is too big.",
|
||||
"The image was manually overridden and will not be crawled.",
|
||||
"The image crawl was postponed to avoid overloading the host.",
|
||||
"The image URL returned a \"404 Not Found\" error."
|
||||
],
|
||||
"enum": [
|
||||
"STATUS_UNSPECIFIED",
|
||||
"PENDING_PROCESSING",
|
||||
"PENDING_CRAWL",
|
||||
"OK",
|
||||
"ROBOTED",
|
||||
"XROBOTED",
|
||||
"CRAWL_ERROR",
|
||||
"PROCESSING_ERROR",
|
||||
"DECODING_ERROR",
|
||||
"TOO_BIG",
|
||||
"CRAWL_SKIPPED",
|
||||
"HOSTLOADED",
|
||||
"HTTP_404"
|
||||
],
|
||||
"description": "The status of the image.\n@OutputOnly",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "Image"
|
||||
@@ -359,19 +250,19 @@
|
||||
"description": "Attributes of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"flavor": {
|
||||
"description": "The flavor of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#flavor.",
|
||||
"type": "string"
|
||||
"ageGroup": {
|
||||
"type": "string",
|
||||
"description": "The target age group of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#agegroup."
|
||||
},
|
||||
"productDetail": {
|
||||
"description": "The details of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#productdetail.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "ProductDetail"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"ageGroup": {
|
||||
"description": "The target age group of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#agegroup.",
|
||||
"flavor": {
|
||||
"description": "The flavor of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#flavor.",
|
||||
"type": "string"
|
||||
},
|
||||
"mpn": {
|
||||
@@ -386,32 +277,32 @@
|
||||
"description": "The release date of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#release.",
|
||||
"type": "string"
|
||||
},
|
||||
"gtin": {
|
||||
"description": "The Global Trade Item Number (GTIN) of the product. For more information,\nsee https://support.google.com/manufacturers/answer/6124116#gtin.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"itemGroupId": {
|
||||
"description": "The item group id of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#itemgroupid.",
|
||||
"type": "string"
|
||||
},
|
||||
"gtin": {
|
||||
"description": "The Global Trade Item Number (GTIN) of the product. For more information,\nsee https://support.google.com/manufacturers/answer/6124116#gtin.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"productLine": {
|
||||
"description": "The name of the group of products related to the product. For more\ninformation, see\nhttps://support.google.com/manufacturers/answer/6124116#productline.",
|
||||
"type": "string"
|
||||
},
|
||||
"capacity": {
|
||||
"$ref": "Capacity",
|
||||
"description": "The capacity of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#capacity."
|
||||
"description": "The capacity of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#capacity.",
|
||||
"$ref": "Capacity"
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
"description": "The description of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#description."
|
||||
},
|
||||
"gender": {
|
||||
"type": "string",
|
||||
"description": "The target gender of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#gender."
|
||||
"description": "The target gender of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#gender.",
|
||||
"type": "string"
|
||||
},
|
||||
"sizeSystem": {
|
||||
"description": "The size system of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#sizesystem.",
|
||||
@@ -421,6 +312,10 @@
|
||||
"description": "The theme of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#theme.",
|
||||
"type": "string"
|
||||
},
|
||||
"targetClientId": {
|
||||
"description": "The target client id. Should only be used in the accounts of the data\npartners.",
|
||||
"type": "string"
|
||||
},
|
||||
"pattern": {
|
||||
"description": "The pattern of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#pattern.",
|
||||
"type": "string"
|
||||
@@ -430,11 +325,11 @@
|
||||
"description": "The image of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#image."
|
||||
},
|
||||
"productType": {
|
||||
"description": "The type or category of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#producttype.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array",
|
||||
"description": "The category of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#producttype."
|
||||
}
|
||||
},
|
||||
"format": {
|
||||
"description": "The format of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#format.",
|
||||
@@ -442,45 +337,40 @@
|
||||
},
|
||||
"additionalImageLink": {
|
||||
"description": "The additional images of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#addlimage.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "Image"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"videoLink": {
|
||||
"description": "The videos of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#video.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"color": {
|
||||
"description": "The color of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#color.",
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"description": "The color of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#color."
|
||||
},
|
||||
"productName": {
|
||||
"type": "string",
|
||||
"description": "The canonical name of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#productname."
|
||||
"description": "The canonical name of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#productname.",
|
||||
"type": "string"
|
||||
},
|
||||
"sizeType": {
|
||||
"description": "The size type of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#sizetype.",
|
||||
"type": "string"
|
||||
},
|
||||
"suggestedRetailPrice": {
|
||||
"$ref": "Price",
|
||||
"description": "The suggested retail price (MSRP) of the product. For more information,\nsee https://support.google.com/manufacturers/answer/6124116#price."
|
||||
"description": "The suggested retail price (MSRP) of the product. For more information,\nsee https://support.google.com/manufacturers/answer/6124116#price.",
|
||||
"$ref": "Price"
|
||||
},
|
||||
"featureDescription": {
|
||||
"description": "The rich format description of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#featuredesc.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "FeatureDescription"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"targetAccountId": {
|
||||
"format": "int64",
|
||||
"description": "The target account id. Should only be used in the accounts of the data\npartners.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"size": {
|
||||
"type": "string",
|
||||
@@ -498,27 +388,43 @@
|
||||
"description": "The brand name of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#brand.",
|
||||
"type": "string"
|
||||
},
|
||||
"material": {
|
||||
"description": "The material of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#material.",
|
||||
"type": "string"
|
||||
},
|
||||
"disclosureDate": {
|
||||
"description": "The disclosure date of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#disclosure.",
|
||||
"type": "string"
|
||||
},
|
||||
"material": {
|
||||
"description": "The material of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#material.",
|
||||
"type": "string"
|
||||
},
|
||||
"scent": {
|
||||
"description": "The scent of the product. For more information, see\n https://support.google.com/manufacturers/answer/6124116#scent.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "Attributes"
|
||||
},
|
||||
"Count": {
|
||||
"properties": {
|
||||
"value": {
|
||||
"description": "The numeric value of the number of products in a package.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"unit": {
|
||||
"description": "The unit in which these products are counted.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "Count",
|
||||
"description": "The number of products in a single package. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#count.",
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"protocol": "rest",
|
||||
"icons": {
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif",
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif"
|
||||
},
|
||||
"protocol": "rest",
|
||||
"canonicalName": "Manufacturer Center",
|
||||
"auth": {
|
||||
"oauth2": {
|
||||
@@ -541,11 +447,7 @@
|
||||
"products": {
|
||||
"methods": {
|
||||
"delete": {
|
||||
"flatPath": "v1/accounts/{accountsId}/products/{productsId}",
|
||||
"path": "v1/{+parent}/products/{+name}",
|
||||
"id": "manufacturers.accounts.products.delete",
|
||||
"description": "Deletes the product from a Manufacturer Center account.",
|
||||
"httpMethod": "DELETE",
|
||||
"response": {
|
||||
"$ref": "Empty"
|
||||
},
|
||||
@@ -553,36 +455,7 @@
|
||||
"parent",
|
||||
"name"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"pattern": "^[^/]+$",
|
||||
"location": "path",
|
||||
"description": "Name in the format `{target_country}:{content_language}:{product_id}`.\n\n`target_country` - The target country of the product as a CLDR territory\n code (for example, US).\n\n`content_language` - The content language of the product as a two-letter\n ISO 639-1 language code (for example, en).\n\n`product_id` - The ID of the product. For more information, see\n https://support.google.com/manufacturers/answer/6124116#id.",
|
||||
"type": "string",
|
||||
"required": true
|
||||
},
|
||||
"parent": {
|
||||
"location": "path",
|
||||
"description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"pattern": "^accounts/[^/]+$"
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/manufacturercenter"
|
||||
]
|
||||
},
|
||||
"get": {
|
||||
"description": "Gets the product from a Manufacturer Center account, including product\nissues.\n\nA recently updated product takes around 15 minutes to process. Changes are\nonly visible after it has been processed. While some issues may be\navailable once the product has been processed, other issues may take days\nto appear.",
|
||||
"response": {
|
||||
"$ref": "Product"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"parent",
|
||||
"name"
|
||||
],
|
||||
"httpMethod": "GET",
|
||||
"httpMethod": "DELETE",
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/manufacturercenter"
|
||||
],
|
||||
@@ -590,26 +463,23 @@
|
||||
"parent": {
|
||||
"location": "path",
|
||||
"description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"type": "string",
|
||||
"pattern": "^accounts/[^/]+$"
|
||||
},
|
||||
"name": {
|
||||
"description": "Name in the format `{target_country}:{content_language}:{product_id}`.\n\n`target_country` - The target country of the product as a CLDR territory\n code (for example, US).\n\n`content_language` - The content language of the product as a two-letter\n ISO 639-1 language code (for example, en).\n\n`product_id` - The ID of the product. For more information, see\n https://support.google.com/manufacturers/answer/6124116#id.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"type": "string",
|
||||
"pattern": "^[^/]+$",
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"flatPath": "v1/accounts/{accountsId}/products/{productsId}",
|
||||
"id": "manufacturers.accounts.products.get",
|
||||
"path": "v1/{+parent}/products/{+name}"
|
||||
"path": "v1/{+parent}/products/{+name}",
|
||||
"id": "manufacturers.accounts.products.delete"
|
||||
},
|
||||
"list": {
|
||||
"path": "v1/{+parent}/products",
|
||||
"id": "manufacturers.accounts.products.list",
|
||||
"description": "Lists all the products in a Manufacturer Center account.",
|
||||
"httpMethod": "GET",
|
||||
"response": {
|
||||
"$ref": "ListProductsResponse"
|
||||
@@ -618,29 +488,65 @@
|
||||
"parent"
|
||||
],
|
||||
"parameters": {
|
||||
"pageSize": {
|
||||
"location": "query",
|
||||
"description": "Maximum number of product statuses to return in the response, used for\npaging.",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
},
|
||||
"parent": {
|
||||
"description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"pattern": "^accounts/[^/]+$",
|
||||
"location": "path"
|
||||
"location": "path",
|
||||
"description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account.",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
"pageToken": {
|
||||
"location": "query",
|
||||
"description": "The token returned by the previous request.",
|
||||
"type": "string"
|
||||
},
|
||||
"pageSize": {
|
||||
"format": "int32",
|
||||
"description": "Maximum number of product statuses to return in the response, used for\npaging.",
|
||||
"type": "integer",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/manufacturercenter"
|
||||
],
|
||||
"flatPath": "v1/accounts/{accountsId}/products"
|
||||
"flatPath": "v1/accounts/{accountsId}/products",
|
||||
"id": "manufacturers.accounts.products.list",
|
||||
"path": "v1/{+parent}/products",
|
||||
"description": "Lists all the products in a Manufacturer Center account."
|
||||
},
|
||||
"get": {
|
||||
"description": "Gets the product from a Manufacturer Center account, including product\nissues.\n\nA recently updated product takes around 15 minutes to process. Changes are\nonly visible after it has been processed. While some issues may be\navailable once the product has been processed, other issues may take days\nto appear.",
|
||||
"httpMethod": "GET",
|
||||
"response": {
|
||||
"$ref": "Product"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"parent",
|
||||
"name"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "Name in the format `{target_country}:{content_language}:{product_id}`.\n\n`target_country` - The target country of the product as a CLDR territory\n code (for example, US).\n\n`content_language` - The content language of the product as a two-letter\n ISO 639-1 language code (for example, en).\n\n`product_id` - The ID of the product. For more information, see\n https://support.google.com/manufacturers/answer/6124116#id.",
|
||||
"required": true,
|
||||
"type": "string",
|
||||
"pattern": "^[^/]+$",
|
||||
"location": "path"
|
||||
},
|
||||
"parent": {
|
||||
"location": "path",
|
||||
"description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account.",
|
||||
"required": true,
|
||||
"type": "string",
|
||||
"pattern": "^accounts/[^/]+$"
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/manufacturercenter"
|
||||
],
|
||||
"flatPath": "v1/accounts/{accountsId}/products/{productsId}",
|
||||
"id": "manufacturers.accounts.products.get",
|
||||
"path": "v1/{+parent}/products/{+name}"
|
||||
},
|
||||
"update": {
|
||||
"path": "v1/{+parent}/products/{+name}",
|
||||
@@ -649,38 +555,135 @@
|
||||
"$ref": "Product"
|
||||
},
|
||||
"description": "Inserts or updates the product in a Manufacturer Center account.\n\nThe checks at upload time are minimal. All required attributes need to be\npresent for a product to be valid. Issues may show up later\nafter the API has accepted an update for a product and it is possible to\noverwrite an existing valid product with an invalid product. To detect\nthis, you should retrieve the product and check it for issues once the\nupdated version is available.\n\nInserted or updated products first need to be processed before they can be\nretrieved. Until then, new products will be unavailable, and retrieval\nof updated products will return the original state of the product.",
|
||||
"httpMethod": "PUT",
|
||||
"response": {
|
||||
"$ref": "Product"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"parent",
|
||||
"name"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "Product"
|
||||
"httpMethod": "PUT",
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "Name in the format `{target_country}:{content_language}:{product_id}`.\n\n`target_country` - The target country of the product as a CLDR territory\n code (for example, US).\n\n`content_language` - The content language of the product as a two-letter\n ISO 639-1 language code (for example, en).\n\n`product_id` - The ID of the product. For more information, see\n https://support.google.com/manufacturers/answer/6124116#id.",
|
||||
"required": true,
|
||||
"type": "string",
|
||||
"pattern": "^[^/]+$",
|
||||
"location": "path"
|
||||
},
|
||||
"parent": {
|
||||
"required": true,
|
||||
"type": "string",
|
||||
"pattern": "^accounts/[^/]+$",
|
||||
"location": "path",
|
||||
"description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account."
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/manufacturercenter"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"pattern": "^[^/]+$",
|
||||
"location": "path",
|
||||
"description": "Name in the format `{target_country}:{content_language}:{product_id}`.\n\n`target_country` - The target country of the product as a CLDR territory\n code (for example, US).\n\n`content_language` - The content language of the product as a two-letter\n ISO 639-1 language code (for example, en).\n\n`product_id` - The ID of the product. For more information, see\n https://support.google.com/manufacturers/answer/6124116#id.",
|
||||
"type": "string",
|
||||
"required": true
|
||||
},
|
||||
"parent": {
|
||||
"location": "path",
|
||||
"description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"pattern": "^accounts/[^/]+$"
|
||||
}
|
||||
},
|
||||
"flatPath": "v1/accounts/{accountsId}/products/{productsId}"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
"pp": {
|
||||
"location": "query",
|
||||
"description": "Pretty-print response.",
|
||||
"type": "boolean",
|
||||
"default": "true"
|
||||
},
|
||||
"bearer_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth bearer token.",
|
||||
"type": "string"
|
||||
},
|
||||
"oauth_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"type": "string"
|
||||
},
|
||||
"upload_protocol": {
|
||||
"location": "query",
|
||||
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
|
||||
"type": "string"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"location": "query",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"type": "boolean",
|
||||
"default": "true"
|
||||
},
|
||||
"uploadType": {
|
||||
"location": "query",
|
||||
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
||||
"type": "string"
|
||||
},
|
||||
"fields": {
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
],
|
||||
"location": "query",
|
||||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
],
|
||||
"description": "V1 error format.",
|
||||
"type": "string"
|
||||
},
|
||||
"alt": {
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Responses with Content-Type of application/json",
|
||||
"Media download with context-dependent Content-Type",
|
||||
"Responses with Content-Type of application/x-protobuf"
|
||||
],
|
||||
"location": "query",
|
||||
"description": "Data format for response.",
|
||||
"default": "json",
|
||||
"enum": [
|
||||
"json",
|
||||
"media",
|
||||
"proto"
|
||||
]
|
||||
},
|
||||
"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.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"access_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth access token.",
|
||||
"type": "string"
|
||||
},
|
||||
"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.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"version": "v1",
|
||||
"baseUrl": "https://manufacturers.googleapis.com/",
|
||||
"description": "Public API for managing Manufacturer Center related data.",
|
||||
"kind": "discovery#restDescription",
|
||||
"servicePath": "",
|
||||
"basePath": "",
|
||||
"revision": "20171207",
|
||||
"documentationLink": "https://developers.google.com/manufacturers/",
|
||||
"id": "manufacturers:v1"
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/PozAB5R3hMeaeI5NL5FrPjwfUdY\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/aOar0nPm5R4X4KFni2wDM6gghm0\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "oauth2:v1",
|
||||
"name": "oauth2",
|
||||
"version": "v1",
|
||||
"revision": "20170807",
|
||||
"revision": "20170921",
|
||||
"title": "Google OAuth2 API",
|
||||
"description": "Obtains end-user authorization grants for use with other Google APIs.",
|
||||
"ownerDomain": "google.com",
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/UI_PjeJG3puXfKEXm-20UHWIhYQ\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/BzEfukeh3bFCumL8KphVZA4lHuM\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "oauth2:v2",
|
||||
"name": "oauth2",
|
||||
"version": "v2",
|
||||
"revision": "20170807",
|
||||
"revision": "20170921",
|
||||
"title": "Google OAuth2 API",
|
||||
"description": "Obtains end-user authorization grants for use with other Google APIs.",
|
||||
"ownerDomain": "google.com",
|
||||
@@ -20,7 +20,7 @@
|
||||
"basePath": "/",
|
||||
"rootUrl": "https://www.googleapis.com/",
|
||||
"servicePath": "",
|
||||
"batchPath": "batch",
|
||||
"batchPath": "batch/oauth2/v2",
|
||||
"parameters": {
|
||||
"alt": {
|
||||
"type": "string",
|
||||
|
||||
428
etc/api/oslogin/v1/oslogin-api.json
Normal file
428
etc/api/oslogin/v1/oslogin-api.json
Normal file
@@ -0,0 +1,428 @@
|
||||
{
|
||||
"ownerDomain": "google.com",
|
||||
"name": "oslogin",
|
||||
"batchPath": "batch",
|
||||
"fullyEncodeReservedExpansion": true,
|
||||
"title": "Google Cloud OS Login API",
|
||||
"ownerName": "Google",
|
||||
"resources": {
|
||||
"users": {
|
||||
"resources": {
|
||||
"projects": {
|
||||
"methods": {
|
||||
"delete": {
|
||||
"description": "Deletes a POSIX account.",
|
||||
"response": {
|
||||
"$ref": "Empty"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"httpMethod": "DELETE",
|
||||
"parameters": {
|
||||
"name": {
|
||||
"location": "path",
|
||||
"description": "A reference to the POSIX account to update. POSIX accounts are identified\nby the project ID they are associated with. A reference to the POSIX\naccount is in format `users/{user}/projects/{project}`.",
|
||||
"required": true,
|
||||
"type": "string",
|
||||
"pattern": "^users/[^/]+/projects/[^/]+$"
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/compute"
|
||||
],
|
||||
"flatPath": "v1/users/{usersId}/projects/{projectsId}",
|
||||
"path": "v1/{+name}",
|
||||
"id": "oslogin.users.projects.delete"
|
||||
}
|
||||
}
|
||||
},
|
||||
"sshPublicKeys": {
|
||||
"methods": {
|
||||
"delete": {
|
||||
"description": "Deletes an SSH public key.",
|
||||
"httpMethod": "DELETE",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "Empty"
|
||||
},
|
||||
"parameters": {
|
||||
"name": {
|
||||
"pattern": "^users/[^/]+/sshPublicKeys/[^/]+$",
|
||||
"location": "path",
|
||||
"description": "The fingerprint of the public key to update. Public keys are identified by\ntheir SHA-256 fingerprint. The fingerprint of the public key is in format\n`users/{user}/sshPublicKeys/{fingerprint}`.",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/compute"
|
||||
],
|
||||
"flatPath": "v1/users/{usersId}/sshPublicKeys/{sshPublicKeysId}",
|
||||
"id": "oslogin.users.sshPublicKeys.delete",
|
||||
"path": "v1/{+name}"
|
||||
},
|
||||
"get": {
|
||||
"description": "Retrieves an SSH public key.",
|
||||
"response": {
|
||||
"$ref": "SshPublicKey"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"httpMethod": "GET",
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "The fingerprint of the public key to retrieve. Public keys are identified\nby their SHA-256 fingerprint. The fingerprint of the public key is in\nformat `users/{user}/sshPublicKeys/{fingerprint}`.",
|
||||
"required": true,
|
||||
"type": "string",
|
||||
"pattern": "^users/[^/]+/sshPublicKeys/[^/]+$",
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/compute"
|
||||
],
|
||||
"flatPath": "v1/users/{usersId}/sshPublicKeys/{sshPublicKeysId}",
|
||||
"path": "v1/{+name}",
|
||||
"id": "oslogin.users.sshPublicKeys.get"
|
||||
},
|
||||
"patch": {
|
||||
"response": {
|
||||
"$ref": "SshPublicKey"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"httpMethod": "PATCH",
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/compute"
|
||||
],
|
||||
"parameters": {
|
||||
"updateMask": {
|
||||
"location": "query",
|
||||
"description": "Mask to control which fields get updated. Updates all if not present.",
|
||||
"format": "google-fieldmask",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"pattern": "^users/[^/]+/sshPublicKeys/[^/]+$",
|
||||
"location": "path",
|
||||
"description": "The fingerprint of the public key to update. Public keys are identified by\ntheir SHA-256 fingerprint. The fingerprint of the public key is in format\n`users/{user}/sshPublicKeys/{fingerprint}`.",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"flatPath": "v1/users/{usersId}/sshPublicKeys/{sshPublicKeysId}",
|
||||
"path": "v1/{+name}",
|
||||
"id": "oslogin.users.sshPublicKeys.patch",
|
||||
"description": "Updates an SSH public key and returns the profile information. This method\nsupports patch semantics.",
|
||||
"request": {
|
||||
"$ref": "SshPublicKey"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"methods": {
|
||||
"importSshPublicKey": {
|
||||
"response": {
|
||||
"$ref": "ImportSshPublicKeyResponse"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"parent"
|
||||
],
|
||||
"httpMethod": "POST",
|
||||
"parameters": {
|
||||
"projectId": {
|
||||
"location": "query",
|
||||
"description": "The project ID of the Google Cloud Platform project.",
|
||||
"type": "string"
|
||||
},
|
||||
"parent": {
|
||||
"description": "The unique ID for the user in format `users/{user}`.",
|
||||
"required": true,
|
||||
"type": "string",
|
||||
"pattern": "^users/[^/]+$",
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/compute"
|
||||
],
|
||||
"flatPath": "v1/users/{usersId}:importSshPublicKey",
|
||||
"path": "v1/{+parent}:importSshPublicKey",
|
||||
"id": "oslogin.users.importSshPublicKey",
|
||||
"request": {
|
||||
"$ref": "SshPublicKey"
|
||||
},
|
||||
"description": "Adds an SSH public key and returns the profile information. Default POSIX\naccount information is set when no username and UID exist as part of the\nlogin profile."
|
||||
},
|
||||
"getLoginProfile": {
|
||||
"description": "Retrieves the profile information used for logging in to a virtual machine\non Google Compute Engine.",
|
||||
"response": {
|
||||
"$ref": "LoginProfile"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"httpMethod": "GET",
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "The unique ID for the user in format `users/{user}`.",
|
||||
"required": true,
|
||||
"type": "string",
|
||||
"pattern": "^users/[^/]+$",
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/compute"
|
||||
],
|
||||
"flatPath": "v1/users/{usersId}/loginProfile",
|
||||
"path": "v1/{+name}/loginProfile",
|
||||
"id": "oslogin.users.getLoginProfile"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
"oauth_token": {
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"bearer_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth bearer token.",
|
||||
"type": "string"
|
||||
},
|
||||
"upload_protocol": {
|
||||
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"type": "boolean",
|
||||
"default": "true",
|
||||
"location": "query"
|
||||
},
|
||||
"uploadType": {
|
||||
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"fields": {
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
],
|
||||
"description": "V1 error format.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
],
|
||||
"location": "query"
|
||||
},
|
||||
"callback": {
|
||||
"location": "query",
|
||||
"description": "JSONP",
|
||||
"type": "string"
|
||||
},
|
||||
"alt": {
|
||||
"enumDescriptions": [
|
||||
"Responses with Content-Type of application/json",
|
||||
"Media download with context-dependent Content-Type",
|
||||
"Responses with Content-Type of application/x-protobuf"
|
||||
],
|
||||
"location": "query",
|
||||
"description": "Data format for response.",
|
||||
"default": "json",
|
||||
"enum": [
|
||||
"json",
|
||||
"media",
|
||||
"proto"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"access_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth access token.",
|
||||
"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.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"quotaUser": {
|
||||
"location": "query",
|
||||
"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.",
|
||||
"type": "string"
|
||||
},
|
||||
"pp": {
|
||||
"description": "Pretty-print response.",
|
||||
"type": "boolean",
|
||||
"default": "true",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"version": "v1",
|
||||
"baseUrl": "https://oslogin.googleapis.com/",
|
||||
"servicePath": "",
|
||||
"kind": "discovery#restDescription",
|
||||
"description": "Manages OS login configuration for Google account users.",
|
||||
"basePath": "",
|
||||
"id": "oslogin:v1",
|
||||
"documentationLink": "https://cloud.google.com/compute/docs/oslogin/rest/",
|
||||
"revision": "20171120",
|
||||
"discoveryVersion": "v1",
|
||||
"version_module": true,
|
||||
"schemas": {
|
||||
"Empty": {
|
||||
"properties": {},
|
||||
"id": "Empty",
|
||||
"description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
|
||||
"type": "object"
|
||||
},
|
||||
"SshPublicKey": {
|
||||
"description": "The SSH public key information associated with a Google account.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"expirationTimeUsec": {
|
||||
"description": "An expiration time in microseconds since epoch.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"fingerprint": {
|
||||
"description": "Output only. The SHA-256 fingerprint of the SSH public key.",
|
||||
"type": "string"
|
||||
},
|
||||
"key": {
|
||||
"description": "Public key text in SSH format, defined by\n\u003ca href=\"https://www.ietf.org/rfc/rfc4253.txt\" target=\"_blank\"\u003eRFC4253\u003c/a\u003e\nsection 6.6.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "SshPublicKey"
|
||||
},
|
||||
"ImportSshPublicKeyResponse": {
|
||||
"description": "A response message for importing an SSH public key.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"loginProfile": {
|
||||
"description": "The login profile information for the user.",
|
||||
"$ref": "LoginProfile"
|
||||
}
|
||||
},
|
||||
"id": "ImportSshPublicKeyResponse"
|
||||
},
|
||||
"PosixAccount": {
|
||||
"description": "The POSIX account information associated with a Google account.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"shell": {
|
||||
"description": "The path to the logic shell for this account.",
|
||||
"type": "string"
|
||||
},
|
||||
"homeDirectory": {
|
||||
"description": "The path to the home directory for this account.",
|
||||
"type": "string"
|
||||
},
|
||||
"gecos": {
|
||||
"description": "The GECOS (user information) entry for this account.",
|
||||
"type": "string"
|
||||
},
|
||||
"systemId": {
|
||||
"description": "System identifier for which account the username or uid applies to.\nBy default, the empty value is used.",
|
||||
"type": "string"
|
||||
},
|
||||
"primary": {
|
||||
"description": "Only one POSIX account can be marked as primary.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"accountId": {
|
||||
"description": "Output only. A POSIX account identifier.",
|
||||
"type": "string"
|
||||
},
|
||||
"gid": {
|
||||
"description": "The default group ID.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"uid": {
|
||||
"description": "The user ID.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"username": {
|
||||
"description": "The username of the POSIX account.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "PosixAccount"
|
||||
},
|
||||
"LoginProfile": {
|
||||
"description": "The user profile information used for logging in to a virtual machine on\nGoogle Compute Engine.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"description": "The primary email address that uniquely identifies the user.",
|
||||
"type": "string"
|
||||
},
|
||||
"posixAccounts": {
|
||||
"description": "The list of POSIX accounts associated with the user.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "PosixAccount"
|
||||
}
|
||||
},
|
||||
"suspended": {
|
||||
"description": "Indicates if the user is suspended. A suspended user cannot log in but\ntheir profile information is retained.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"sshPublicKeys": {
|
||||
"additionalProperties": {
|
||||
"$ref": "SshPublicKey"
|
||||
},
|
||||
"description": "A map from SSH public key fingerprint to the associated key object.",
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"id": "LoginProfile"
|
||||
}
|
||||
},
|
||||
"icons": {
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
||||
},
|
||||
"protocol": "rest",
|
||||
"canonicalName": "Cloud OS Login",
|
||||
"auth": {
|
||||
"oauth2": {
|
||||
"scopes": {
|
||||
"https://www.googleapis.com/auth/cloud-platform": {
|
||||
"description": "View and manage your data across Google Cloud Platform services"
|
||||
},
|
||||
"https://www.googleapis.com/auth/compute": {
|
||||
"description": "View and manage your Google Compute Engine resources"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"rootUrl": "https://oslogin.googleapis.com/"
|
||||
}
|
||||
@@ -1,4 +1,24 @@
|
||||
{
|
||||
"canonicalName": "Cloud OS Login",
|
||||
"auth": {
|
||||
"oauth2": {
|
||||
"scopes": {
|
||||
"https://www.googleapis.com/auth/cloud-platform": {
|
||||
"description": "View and manage your data across Google Cloud Platform services"
|
||||
},
|
||||
"https://www.googleapis.com/auth/compute.readonly": {
|
||||
"description": "View your Google Compute Engine resources"
|
||||
},
|
||||
"https://www.googleapis.com/auth/compute": {
|
||||
"description": "View and manage your Google Compute Engine resources"
|
||||
},
|
||||
"https://www.googleapis.com/auth/cloud-platform.read-only": {
|
||||
"description": "View your data across Google Cloud Platform services"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"rootUrl": "https://oslogin.googleapis.com/",
|
||||
"ownerDomain": "google.com",
|
||||
"name": "oslogin",
|
||||
"batchPath": "batch",
|
||||
@@ -9,10 +29,6 @@
|
||||
"users": {
|
||||
"methods": {
|
||||
"importSshPublicKey": {
|
||||
"description": "Adds an SSH public key and returns the profile information. Default POSIX\naccount information is set when no username and UID exist as part of the\nlogin profile.",
|
||||
"request": {
|
||||
"$ref": "SshPublicKey"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "ImportSshPublicKeyResponse"
|
||||
},
|
||||
@@ -21,11 +37,16 @@
|
||||
],
|
||||
"httpMethod": "POST",
|
||||
"parameters": {
|
||||
"projectId": {
|
||||
"location": "query",
|
||||
"description": "The project ID of the Google Cloud Platform project.",
|
||||
"type": "string"
|
||||
},
|
||||
"parent": {
|
||||
"location": "path",
|
||||
"description": "The unique ID for the user in format `users/{user}`.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"type": "string",
|
||||
"pattern": "^users/[^/]+$"
|
||||
}
|
||||
},
|
||||
@@ -34,8 +55,12 @@
|
||||
"https://www.googleapis.com/auth/compute"
|
||||
],
|
||||
"flatPath": "v1alpha/users/{usersId}:importSshPublicKey",
|
||||
"path": "v1alpha/{+parent}:importSshPublicKey",
|
||||
"id": "oslogin.users.importSshPublicKey",
|
||||
"path": "v1alpha/{+parent}:importSshPublicKey"
|
||||
"request": {
|
||||
"$ref": "SshPublicKey"
|
||||
},
|
||||
"description": "Adds an SSH public key and returns the profile information. Default POSIX\naccount information is set when no username and UID exist as part of the\nlogin profile."
|
||||
},
|
||||
"getLoginProfile": {
|
||||
"description": "Retrieves the profile information used for logging in to a virtual machine\non Google Compute Engine.",
|
||||
@@ -55,70 +80,34 @@
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "The unique ID for the user in format `users/{user}`.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"type": "string",
|
||||
"pattern": "^users/[^/]+$",
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"flatPath": "v1alpha/users/{usersId}/loginProfile",
|
||||
"id": "oslogin.users.getLoginProfile",
|
||||
"path": "v1alpha/{+name}/loginProfile"
|
||||
"path": "v1alpha/{+name}/loginProfile",
|
||||
"id": "oslogin.users.getLoginProfile"
|
||||
}
|
||||
},
|
||||
"resources": {
|
||||
"sshPublicKeys": {
|
||||
"methods": {
|
||||
"patch": {
|
||||
"description": "Updates an SSH public key and returns the profile information. This method\nsupports patch semantics.",
|
||||
"request": {
|
||||
"$ref": "SshPublicKey"
|
||||
"delete": {
|
||||
"response": {
|
||||
"$ref": "Empty"
|
||||
},
|
||||
"httpMethod": "PATCH",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "SshPublicKey"
|
||||
},
|
||||
"parameters": {
|
||||
"updateMask": {
|
||||
"location": "query",
|
||||
"format": "google-fieldmask",
|
||||
"description": "Mask to control which fields get updated. Updates all if not present.",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"description": "The fingerprint of the public key to update. Public keys are identified by\ntheir SHA-256 fingerprint. The fingerprint of the public key is in format\n`users/{user}/sshPublicKeys/{fingerprint}`.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"pattern": "^users/[^/]+/sshPublicKeys/[^/]+$",
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/compute"
|
||||
],
|
||||
"flatPath": "v1alpha/users/{usersId}/sshPublicKeys/{sshPublicKeysId}",
|
||||
"path": "v1alpha/{+name}",
|
||||
"id": "oslogin.users.sshPublicKeys.patch"
|
||||
},
|
||||
"get": {
|
||||
"description": "Retrieves an SSH public key.",
|
||||
"httpMethod": "GET",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "SshPublicKey"
|
||||
},
|
||||
"httpMethod": "DELETE",
|
||||
"parameters": {
|
||||
"name": {
|
||||
"location": "path",
|
||||
"description": "The fingerprint of the public key to retrieve. Public keys are identified\nby their SHA-256 fingerprint. The fingerprint of the public key is in\nformat `users/{user}/sshPublicKeys/{fingerprint}`.",
|
||||
"type": "string",
|
||||
"description": "The fingerprint of the public key to update. Public keys are identified by\ntheir SHA-256 fingerprint. The fingerprint of the public key is in format\n`users/{user}/sshPublicKeys/{fingerprint}`.",
|
||||
"required": true,
|
||||
"type": "string",
|
||||
"pattern": "^users/[^/]+/sshPublicKeys/[^/]+$"
|
||||
}
|
||||
},
|
||||
@@ -128,8 +117,74 @@
|
||||
],
|
||||
"flatPath": "v1alpha/users/{usersId}/sshPublicKeys/{sshPublicKeysId}",
|
||||
"path": "v1alpha/{+name}",
|
||||
"id": "oslogin.users.sshPublicKeys.delete",
|
||||
"description": "Deletes an SSH public key."
|
||||
},
|
||||
"get": {
|
||||
"description": "Retrieves an SSH public key.",
|
||||
"response": {
|
||||
"$ref": "SshPublicKey"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"httpMethod": "GET",
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/compute"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"location": "path",
|
||||
"description": "The fingerprint of the public key to retrieve. Public keys are identified\nby their SHA-256 fingerprint. The fingerprint of the public key is in\nformat `users/{user}/sshPublicKeys/{fingerprint}`.",
|
||||
"required": true,
|
||||
"type": "string",
|
||||
"pattern": "^users/[^/]+/sshPublicKeys/[^/]+$"
|
||||
}
|
||||
},
|
||||
"flatPath": "v1alpha/users/{usersId}/sshPublicKeys/{sshPublicKeysId}",
|
||||
"path": "v1alpha/{+name}",
|
||||
"id": "oslogin.users.sshPublicKeys.get"
|
||||
},
|
||||
"patch": {
|
||||
"flatPath": "v1alpha/users/{usersId}/sshPublicKeys/{sshPublicKeysId}",
|
||||
"path": "v1alpha/{+name}",
|
||||
"id": "oslogin.users.sshPublicKeys.patch",
|
||||
"description": "Updates an SSH public key and returns the profile information. This method\nsupports patch semantics.",
|
||||
"request": {
|
||||
"$ref": "SshPublicKey"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "SshPublicKey"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"httpMethod": "PATCH",
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/compute"
|
||||
],
|
||||
"parameters": {
|
||||
"updateMask": {
|
||||
"description": "Mask to control which fields get updated. Updates all if not present.",
|
||||
"format": "google-fieldmask",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"name": {
|
||||
"description": "The fingerprint of the public key to update. Public keys are identified by\ntheir SHA-256 fingerprint. The fingerprint of the public key is in format\n`users/{user}/sshPublicKeys/{fingerprint}`.",
|
||||
"required": true,
|
||||
"type": "string",
|
||||
"pattern": "^users/[^/]+/sshPublicKeys/[^/]+$",
|
||||
"location": "path"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"projects": {
|
||||
"methods": {
|
||||
"delete": {
|
||||
"response": {
|
||||
"$ref": "Empty"
|
||||
@@ -138,23 +193,23 @@
|
||||
"name"
|
||||
],
|
||||
"httpMethod": "DELETE",
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "A reference to the POSIX account to update. POSIX accounts are identified\nby the project ID they are associated with. A reference to the POSIX\naccount is in format `users/{user}/projects/{project}`.",
|
||||
"required": true,
|
||||
"type": "string",
|
||||
"pattern": "^users/[^/]+/projects/[^/]+$",
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/compute"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "The fingerprint of the public key to update. Public keys are identified by\ntheir SHA-256 fingerprint. The fingerprint of the public key is in format\n`users/{user}/sshPublicKeys/{fingerprint}`.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"pattern": "^users/[^/]+/sshPublicKeys/[^/]+$",
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"flatPath": "v1alpha/users/{usersId}/sshPublicKeys/{sshPublicKeysId}",
|
||||
"id": "oslogin.users.sshPublicKeys.delete",
|
||||
"flatPath": "v1alpha/users/{usersId}/projects/{projectsId}",
|
||||
"path": "v1alpha/{+name}",
|
||||
"description": "Deletes an SSH public key."
|
||||
"id": "oslogin.users.projects.delete",
|
||||
"description": "Deletes a POSIX account."
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -162,71 +217,6 @@
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
"callback": {
|
||||
"location": "query",
|
||||
"description": "JSONP",
|
||||
"type": "string"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"description": "V1 error format.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
],
|
||||
"location": "query",
|
||||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
]
|
||||
},
|
||||
"alt": {
|
||||
"enumDescriptions": [
|
||||
"Responses with Content-Type of application/json",
|
||||
"Media download with context-dependent Content-Type",
|
||||
"Responses with Content-Type of application/x-protobuf"
|
||||
],
|
||||
"location": "query",
|
||||
"description": "Data format for response.",
|
||||
"default": "json",
|
||||
"enum": [
|
||||
"json",
|
||||
"media",
|
||||
"proto"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"access_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth access token.",
|
||||
"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.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"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.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"pp": {
|
||||
"location": "query",
|
||||
"description": "Pretty-print response.",
|
||||
"default": "true",
|
||||
"type": "boolean"
|
||||
},
|
||||
"oauth_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"type": "string"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"upload_protocol": {
|
||||
"location": "query",
|
||||
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
|
||||
@@ -235,36 +225,110 @@
|
||||
"prettyPrint": {
|
||||
"location": "query",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"default": "true",
|
||||
"type": "boolean"
|
||||
"type": "boolean",
|
||||
"default": "true"
|
||||
},
|
||||
"fields": {
|
||||
"location": "query",
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"type": "string"
|
||||
},
|
||||
"uploadType": {
|
||||
"location": "query",
|
||||
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
||||
"type": "string"
|
||||
},
|
||||
"fields": {
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
],
|
||||
"description": "V1 error format.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
],
|
||||
"location": "query"
|
||||
},
|
||||
"alt": {
|
||||
"enum": [
|
||||
"json",
|
||||
"media",
|
||||
"proto"
|
||||
],
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Responses with Content-Type of application/json",
|
||||
"Media download with context-dependent Content-Type",
|
||||
"Responses with Content-Type of application/x-protobuf"
|
||||
],
|
||||
"location": "query",
|
||||
"description": "Data format for response.",
|
||||
"default": "json"
|
||||
},
|
||||
"access_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth access token.",
|
||||
"type": "string"
|
||||
},
|
||||
"key": {
|
||||
"location": "query",
|
||||
"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.",
|
||||
"type": "string"
|
||||
},
|
||||
"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.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"pp": {
|
||||
"description": "Pretty-print response.",
|
||||
"type": "boolean",
|
||||
"default": "true",
|
||||
"location": "query"
|
||||
},
|
||||
"bearer_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth bearer token.",
|
||||
"type": "string"
|
||||
},
|
||||
"oauth_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"version": "v1alpha",
|
||||
"baseUrl": "https://oslogin.googleapis.com/",
|
||||
"kind": "discovery#restDescription",
|
||||
"description": "Manages OS login configuration for Directory API users.",
|
||||
"description": "Manages OS login configuration for Google account users.",
|
||||
"servicePath": "",
|
||||
"basePath": "",
|
||||
"id": "oslogin:v1alpha",
|
||||
"documentationLink": "https://cloud.google.com/compute/docs/oslogin/rest/",
|
||||
"revision": "20170926",
|
||||
"revision": "20171120",
|
||||
"discoveryVersion": "v1",
|
||||
"version_module": true,
|
||||
"schemas": {
|
||||
"PosixAccount": {
|
||||
"description": "The POSIX account information associated with a Directory API User.",
|
||||
"description": "The POSIX account information associated with a Google account.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"uid": {
|
||||
"description": "The user ID.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"username": {
|
||||
"description": "The username of the POSIX account.",
|
||||
"type": "string"
|
||||
},
|
||||
"shell": {
|
||||
"description": "The path to the logic shell for this account.",
|
||||
"type": "string"
|
||||
@@ -273,39 +337,45 @@
|
||||
"description": "The path to the home directory for this account.",
|
||||
"type": "string"
|
||||
},
|
||||
"systemId": {
|
||||
"description": "System identifier for which account the username or uid applies to.\nBy default, the empty value is used.",
|
||||
"type": "string"
|
||||
},
|
||||
"gecos": {
|
||||
"description": "The GECOS (user information) entry for this account.",
|
||||
"type": "string"
|
||||
},
|
||||
"systemId": {
|
||||
"description": "System identifier for which account the username or uid applies to.\nBy default, the empty value is used.",
|
||||
"type": "string"
|
||||
},
|
||||
"primary": {
|
||||
"description": "Only one POSIX account can be marked as primary.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"accountId": {
|
||||
"description": "Output only. A POSIX account identifier.",
|
||||
"type": "string"
|
||||
},
|
||||
"gid": {
|
||||
"format": "int64",
|
||||
"description": "The default group ID.",
|
||||
"type": "string"
|
||||
},
|
||||
"uid": {
|
||||
"format": "int64",
|
||||
"description": "The user ID.",
|
||||
"type": "string"
|
||||
},
|
||||
"username": {
|
||||
"description": "The username of the POSIX account.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "PosixAccount"
|
||||
},
|
||||
"LoginProfile": {
|
||||
"description": "The Directory API profile information used for logging in to a virtual\nmachine on Google Compute Engine.",
|
||||
"description": "The user profile information used for logging in to a virtual machine on\nGoogle Compute Engine.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"description": "A unique user ID for identifying the user.",
|
||||
"type": "string"
|
||||
},
|
||||
"posixAccounts": {
|
||||
"description": "The list of POSIX accounts associated with the Directory API user.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "PosixAccount"
|
||||
}
|
||||
},
|
||||
"suspended": {
|
||||
"description": "Indicates if the user is suspended.",
|
||||
"type": "boolean"
|
||||
@@ -316,32 +386,27 @@
|
||||
},
|
||||
"description": "A map from SSH public key fingerprint to the associated key object.",
|
||||
"type": "object"
|
||||
},
|
||||
"posixAccounts": {
|
||||
"description": "The list of POSIX accounts associated with the Directory API user.",
|
||||
"items": {
|
||||
"$ref": "PosixAccount"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"name": {
|
||||
"description": "A unique user ID for identifying the user.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "LoginProfile"
|
||||
},
|
||||
"Empty": {
|
||||
"description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
|
||||
"type": "object",
|
||||
"properties": {},
|
||||
"id": "Empty"
|
||||
},
|
||||
"SshPublicKey": {
|
||||
"description": "The SSH public key information associated with a Directory API User.",
|
||||
"description": "The SSH public key information associated with a Google account.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"expirationTimeUsec": {
|
||||
"format": "int64",
|
||||
"description": "An expiration time in microseconds since epoch.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"fingerprint": {
|
||||
"description": "The SHA-256 fingerprint of the SSH public key.\nOutput only.",
|
||||
"description": "Output only. The SHA-256 fingerprint of the SSH public key.",
|
||||
"type": "string"
|
||||
},
|
||||
"key": {
|
||||
@@ -351,12 +416,6 @@
|
||||
},
|
||||
"id": "SshPublicKey"
|
||||
},
|
||||
"Empty": {
|
||||
"description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
|
||||
"type": "object",
|
||||
"properties": {},
|
||||
"id": "Empty"
|
||||
},
|
||||
"ImportSshPublicKeyResponse": {
|
||||
"description": "A response message for importing an SSH public key.",
|
||||
"type": "object",
|
||||
@@ -371,27 +430,7 @@
|
||||
},
|
||||
"protocol": "rest",
|
||||
"icons": {
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif",
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif"
|
||||
},
|
||||
"canonicalName": "Cloud OS Login",
|
||||
"auth": {
|
||||
"oauth2": {
|
||||
"scopes": {
|
||||
"https://www.googleapis.com/auth/cloud-platform.read-only": {
|
||||
"description": "View your data across Google Cloud Platform services"
|
||||
},
|
||||
"https://www.googleapis.com/auth/cloud-platform": {
|
||||
"description": "View and manage your data across Google Cloud Platform services"
|
||||
},
|
||||
"https://www.googleapis.com/auth/compute.readonly": {
|
||||
"description": "View your Google Compute Engine resources"
|
||||
},
|
||||
"https://www.googleapis.com/auth/compute": {
|
||||
"description": "View and manage your Google Compute Engine resources"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"rootUrl": "https://oslogin.googleapis.com/"
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
||||
}
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user