mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
chore(json): update all apis
And bring in 5 new ones, including cloudkms. Also update dependencies to make things compile again.
This commit is contained in:
@@ -1,67 +1,163 @@
|
||||
{
|
||||
"id": "acceleratedmobilepageurl:v1",
|
||||
"description": "This API contains a single method, batchGet. Call this method to retrieve the AMP URL (and equivalent AMP Cache URL) for given public URL(s).\n",
|
||||
"protocol": "rest",
|
||||
"title": "Accelerated Mobile Pages (AMP) URL API",
|
||||
"resources": {
|
||||
"ampUrls": {
|
||||
"methods": {
|
||||
"batchGet": {
|
||||
"id": "acceleratedmobilepageurl.ampUrls.batchGet",
|
||||
"response": {
|
||||
"$ref": "BatchGetAmpUrlsResponse"
|
||||
},
|
||||
"parameterOrder": [],
|
||||
"description": "Returns AMP URL(s) and equivalent\n[AMP Cache URL(s)](/amp/cache/overview#amp-cache-url-format).",
|
||||
"request": {
|
||||
"$ref": "BatchGetAmpUrlsRequest"
|
||||
},
|
||||
"flatPath": "v1/ampUrls:batchGet",
|
||||
"description": "Returns AMP URL(s) and equivalent\n[AMP Cache URL(s)](/amp/cache/overview#amp-cache-url-format).",
|
||||
"httpMethod": "POST",
|
||||
"parameterOrder": [],
|
||||
"response": {
|
||||
"$ref": "BatchGetAmpUrlsResponse"
|
||||
},
|
||||
"parameters": {},
|
||||
"flatPath": "v1/ampUrls:batchGet",
|
||||
"id": "acceleratedmobilepageurl.ampUrls.batchGet",
|
||||
"path": "v1/ampUrls:batchGet"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
"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"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
],
|
||||
"location": "query",
|
||||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
],
|
||||
"description": "V1 error format."
|
||||
},
|
||||
"callback": {
|
||||
"location": "query",
|
||||
"description": "JSONP",
|
||||
"type": "string"
|
||||
},
|
||||
"alt": {
|
||||
"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",
|
||||
"description": "Data format for response."
|
||||
},
|
||||
"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": {
|
||||
"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"
|
||||
},
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"schemas": {
|
||||
"AmpUrl": {
|
||||
"description": "AMP URL response for a requested URL.",
|
||||
"BatchGetAmpUrlsResponse": {
|
||||
"description": "Batch AMP URL response.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"ampUrl": {
|
||||
"description": "The AMP URL pointing to the publisher's web server.",
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"urlErrors": {
|
||||
"description": "The errors for requested URLs that have no AMP URL.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "AmpUrlError"
|
||||
}
|
||||
}
|
||||
},
|
||||
"id": "BatchGetAmpUrlsResponse"
|
||||
},
|
||||
"AmpUrl": {
|
||||
"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"
|
||||
},
|
||||
"originalUrl": {
|
||||
"description": "The original non-AMP URL.",
|
||||
"type": "string"
|
||||
},
|
||||
"cdnAmpUrl": {
|
||||
"description": "The [AMP Cache URL](/amp/cache/overview#amp-cache-url-format) pointing to\nthe cached document in the Google AMP Cache.",
|
||||
"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."
|
||||
},
|
||||
"AmpUrlError": {
|
||||
"description": "AMP URL Error resource for a requested URL that couldn't be found.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"originalUrl": {
|
||||
"description": "The original non-AMP URL.",
|
||||
"type": "string"
|
||||
"errorMessage": {
|
||||
"type": "string",
|
||||
"description": "An optional descriptive error message."
|
||||
},
|
||||
"errorCode": {
|
||||
"description": "The error code of an API call.",
|
||||
"enum": [
|
||||
"ERROR_CODE_UNSPECIFIED",
|
||||
"INPUT_URL_NOT_FOUND",
|
||||
"NO_AMP_URL",
|
||||
"APPLICATION_ERROR",
|
||||
"URL_IS_VALID_AMP",
|
||||
"URL_IS_INVALID_AMP"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Not specified error.",
|
||||
"Indicates the requested URL is not found in the index, possibly because\nit's unable to be found, not able to be accessed by Googlebot, or some\nother error.",
|
||||
@@ -70,167 +166,71 @@
|
||||
"DEPRECATED: Indicates the requested URL is a valid AMP URL. This is a\nnon-error state, should not be relied upon as a sign of success or\nfailure. It will be removed in future versions of the API.",
|
||||
"Indicates that an AMP URL has been found that corresponds to the request\nURL, but it is not valid AMP HTML."
|
||||
],
|
||||
"enum": [
|
||||
"ERROR_CODE_UNSPECIFIED",
|
||||
"INPUT_URL_NOT_FOUND",
|
||||
"NO_AMP_URL",
|
||||
"APPLICATION_ERROR",
|
||||
"URL_IS_VALID_AMP",
|
||||
"URL_IS_INVALID_AMP"
|
||||
],
|
||||
"description": "The error code of an API call.",
|
||||
"type": "string"
|
||||
},
|
||||
"errorMessage": {
|
||||
"description": "An optional descriptive error message.",
|
||||
"originalUrl": {
|
||||
"description": "The original non-AMP URL.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "AmpUrlError"
|
||||
},
|
||||
"BatchGetAmpUrlsRequest": {
|
||||
"description": "AMP URL request for a batch of URLs.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"lookupStrategy": {
|
||||
"description": "The lookup_strategy being requested.",
|
||||
"enum": [
|
||||
"FETCH_LIVE_DOC",
|
||||
"IN_INDEX_DOC"
|
||||
],
|
||||
"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."
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"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"
|
||||
}
|
||||
}
|
||||
},
|
||||
"id": "BatchGetAmpUrlsRequest"
|
||||
},
|
||||
"BatchGetAmpUrlsResponse": {
|
||||
"description": "Batch AMP URL response.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"urlErrors": {
|
||||
"description": "The errors for requested URLs that have no AMP URL.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "AmpUrlError"
|
||||
}
|
||||
},
|
||||
"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"
|
||||
}
|
||||
"lookupStrategy": {
|
||||
"enum": [
|
||||
"FETCH_LIVE_DOC",
|
||||
"IN_INDEX_DOC"
|
||||
],
|
||||
"description": "The lookup_strategy being requested.",
|
||||
"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": "BatchGetAmpUrlsResponse"
|
||||
"id": "BatchGetAmpUrlsRequest",
|
||||
"description": "AMP URL request for a batch of URLs.",
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"revision": "20161213",
|
||||
"basePath": "",
|
||||
"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_module": "True",
|
||||
"discoveryVersion": "v1",
|
||||
"baseUrl": "https://acceleratedmobilepageurl.googleapis.com/",
|
||||
"name": "acceleratedmobilepageurl",
|
||||
"parameters": {
|
||||
"access_token": {
|
||||
"description": "OAuth access token.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"default": "true",
|
||||
"type": "boolean",
|
||||
"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": {
|
||||
"description": "Pretty-print response.",
|
||||
"default": "true",
|
||||
"type": "boolean",
|
||||
"location": "query"
|
||||
},
|
||||
"fields": {
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"alt": {
|
||||
"description": "Data format for response.",
|
||||
"location": "query",
|
||||
"enum": [
|
||||
"json",
|
||||
"media",
|
||||
"proto"
|
||||
],
|
||||
"default": "json",
|
||||
"enumDescriptions": [
|
||||
"Responses with Content-Type of application/json",
|
||||
"Media download with context-dependent Content-Type",
|
||||
"Responses with Content-Type of application/x-protobuf"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"description": "V1 error format.",
|
||||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
],
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"oauth_token": {
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"uploadType": {
|
||||
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"upload_protocol": {
|
||||
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"documentationLink": "https://developers.google.com/amp/cache/",
|
||||
"ownerDomain": "google.com",
|
||||
"batchPath": "batch",
|
||||
"servicePath": "",
|
||||
"ownerName": "Google",
|
||||
"version": "v1",
|
||||
"baseUrl": "https://acceleratedmobilepageurl.googleapis.com/",
|
||||
"servicePath": "",
|
||||
"description": "Retrieves the list of AMP URL (and equivalent AMP Cache URL) for a given list of public URL(s).\n",
|
||||
"kind": "discovery#restDescription",
|
||||
"rootUrl": "https://acceleratedmobilepageurl.googleapis.com/",
|
||||
"kind": "discovery#restDescription"
|
||||
"basePath": "",
|
||||
"ownerDomain": "google.com",
|
||||
"name": "acceleratedmobilepageurl",
|
||||
"batchPath": "batch",
|
||||
"revision": "20170504",
|
||||
"documentationLink": "https://developers.google.com/amp/cache/",
|
||||
"id": "acceleratedmobilepageurl:v1",
|
||||
"title": "Accelerated Mobile Pages (AMP) URL API",
|
||||
"discoveryVersion": "v1",
|
||||
"ownerName": "Google",
|
||||
"version_module": "True"
|
||||
}
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/0kwihhvVMiMrsDgm6RBckyUuCfE\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/0_pkDGZUigw6P9-q8PUQy4V9Lvo\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "adexchangebuyer:v1.2",
|
||||
"name": "adexchangebuyer",
|
||||
"canonicalName": "Ad Exchange Buyer",
|
||||
"version": "v1.2",
|
||||
"revision": "20161020",
|
||||
"revision": "20170504",
|
||||
"title": "Ad Exchange Buyer API",
|
||||
"description": "Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.",
|
||||
"ownerDomain": "google.com",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/mo0qLr7wMmlAX-U4DWVexdxTH80\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/AyER-m-NeyHqidJeSDw3qhKYlvg\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "adexchangebuyer:v1.3",
|
||||
"name": "adexchangebuyer",
|
||||
"canonicalName": "Ad Exchange Buyer",
|
||||
"version": "v1.3",
|
||||
"revision": "20161020",
|
||||
"revision": "20170504",
|
||||
"title": "Ad Exchange Buyer API",
|
||||
"description": "Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.",
|
||||
"ownerDomain": "google.com",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/EvKs3Hkvcx40X69CkSu-499XWyU\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/XvWFbU-Khae3KqVnoqt96DoRPGo\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "adexchangebuyer:v1.4",
|
||||
"name": "adexchangebuyer",
|
||||
"canonicalName": "Ad Exchange Buyer",
|
||||
"version": "v1.4",
|
||||
"revision": "20161020",
|
||||
"revision": "20170504",
|
||||
"title": "Ad Exchange Buyer API",
|
||||
"description": "Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.",
|
||||
"ownerDomain": "google.com",
|
||||
@@ -90,7 +90,7 @@
|
||||
"properties": {
|
||||
"bidProtocol": {
|
||||
"type": "string",
|
||||
"description": "The protocol that the bidder endpoint is using. By default, OpenRTB protocols use JSON, except PROTOCOL_OPENRTB_PROTOBUF. PROTOCOL_OPENRTB_PROTOBUF uses protobuf encoding over the latest OpenRTB protocol version, which is 2.4 right now. Allowed values: \n- PROTOCOL_ADX \n- PROTOCOL_OPENRTB_2_2 \n- PROTOCOL_OPENRTB_2_3 \n- PROTOCOL_OPENRTB_2_4 \n- PROTOCOL_OPENRTB_PROTOBUF"
|
||||
"description": "The protocol that the bidder endpoint is using. OpenRTB protocols with prefix PROTOCOL_OPENRTB_PROTOBUF use proto buffer, otherwise use JSON. Allowed values: \n- PROTOCOL_ADX \n- PROTOCOL_OPENRTB_2_2 \n- PROTOCOL_OPENRTB_2_3 \n- PROTOCOL_OPENRTB_2_4 \n- PROTOCOL_OPENRTB_2_5 \n- PROTOCOL_OPENRTB_PROTOBUF_2_3 \n- PROTOCOL_OPENRTB_PROTOBUF_2_4 \n- PROTOCOL_OPENRTB_PROTOBUF_2_5"
|
||||
},
|
||||
"maximumQps": {
|
||||
"type": "integer",
|
||||
@@ -396,7 +396,7 @@
|
||||
},
|
||||
"advertiserName": {
|
||||
"type": "string",
|
||||
"description": "The name of the company being advertised in the creative.",
|
||||
"description": "The name of the company being advertised in the creative. The value provided must exist in the advertisers.txt file.",
|
||||
"annotations": {
|
||||
"required": [
|
||||
"adexchangebuyer.creatives.insert"
|
||||
@@ -415,7 +415,7 @@
|
||||
},
|
||||
"attribute": {
|
||||
"type": "array",
|
||||
"description": "All attributes for the ads that may be shown from this snippet.",
|
||||
"description": "List of buyer selectable attributes for the ads that may be shown from this snippet. Each attribute is represented by an integer as defined in buyer-declarable-creative-attributes.txt.",
|
||||
"items": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
@@ -529,7 +529,7 @@
|
||||
},
|
||||
"filteringStatus": {
|
||||
"type": "integer",
|
||||
"description": "The filtering status code. Please refer to the creative-status-codes.txt file for different statuses.",
|
||||
"description": "The filtering status code as defined in creative-status-codes.txt.",
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
@@ -676,7 +676,7 @@
|
||||
},
|
||||
"productCategories": {
|
||||
"type": "array",
|
||||
"description": "Detected product categories, if any. Read-only. This field should not be set in requests.",
|
||||
"description": "Detected product categories, if any. Each category is represented by an integer as defined in ad-product-categories.txt. Read-only. This field should not be set in requests.",
|
||||
"items": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
@@ -684,7 +684,7 @@
|
||||
},
|
||||
"restrictedCategories": {
|
||||
"type": "array",
|
||||
"description": "All restricted categories for the ads that may be shown from this snippet.",
|
||||
"description": "All restricted categories for the ads that may be shown from this snippet. Each category is represented by an integer as defined in the ad-restricted-categories.txt.",
|
||||
"items": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
@@ -692,7 +692,7 @@
|
||||
},
|
||||
"sensitiveCategories": {
|
||||
"type": "array",
|
||||
"description": "Detected sensitive categories, if any. Read-only. This field should not be set in requests.",
|
||||
"description": "Detected sensitive categories, if any. Each category is represented by an integer as defined in ad-sensitive-categories.txt. Read-only. This field should not be set in requests.",
|
||||
"items": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
@@ -700,7 +700,7 @@
|
||||
},
|
||||
"servingRestrictions": {
|
||||
"type": "array",
|
||||
"description": "The granular status of this ad in specific contexts. A context here relates to where something ultimately serves (for example, a physical location, a platform, an HTTPS vs HTTP request, or the type of auction). Read-only. This field should not be set in requests.",
|
||||
"description": "The granular status of this ad in specific contexts. A context here relates to where something ultimately serves (for example, a physical location, a platform, an HTTPS vs HTTP request, or the type of auction). Read-only. This field should not be set in requests. See the examples in the Creatives guide for more details.",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -723,7 +723,7 @@
|
||||
},
|
||||
"geoCriteriaId": {
|
||||
"type": "array",
|
||||
"description": "Only set when contextType=LOCATION. Represents the geo criterias this restriction applies to.",
|
||||
"description": "Only set when contextType=LOCATION. Represents the geo criterias this restriction applies to. Impressions are considered to match a context if either the user location or publisher location matches a given geoCriteriaId.",
|
||||
"items": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
@@ -768,7 +768,7 @@
|
||||
},
|
||||
"vendorType": {
|
||||
"type": "array",
|
||||
"description": "All vendor types for the ads that may be shown from this snippet.",
|
||||
"description": "List of vendor types for the ads that may be shown from this snippet. Each vendor type is represented by an integer as defined in vendors.txt.",
|
||||
"items": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
@@ -857,6 +857,10 @@
|
||||
"id": "DealServingMetadata",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"alcoholAdsAllowed": {
|
||||
"type": "boolean",
|
||||
"description": "True if alcohol ads are allowed for this deal (read-only). This field is only populated when querying for finalized orders using the method GetFinalizedOrderDeals"
|
||||
},
|
||||
"dealPauseStatus": {
|
||||
"$ref": "DealServingMetadataDealPauseStatus",
|
||||
"description": "Tracks which parties (if any) have paused a deal. (readonly, except via PauseResumeOrderDeals action)"
|
||||
@@ -971,7 +975,7 @@
|
||||
"properties": {
|
||||
"currencyConversionTimeMs": {
|
||||
"type": "string",
|
||||
"description": "The timestamp (in ms since epoch) when the original reservation price for the deal was first converted to DFP currency. This is used to convert the contracted price into advertiser's currency without discrepancy.",
|
||||
"description": "The timestamp (in ms since epoch) when the original reservation price for the deal was first converted to DFP currency. This is used to convert the contracted price into buyer's currency without discrepancy.",
|
||||
"format": "int64"
|
||||
},
|
||||
"dfpLineItemId": {
|
||||
@@ -1305,12 +1309,16 @@
|
||||
},
|
||||
"inventoryDescription": {
|
||||
"type": "string",
|
||||
"description": "Description for the deal terms. (updatable)"
|
||||
"description": "Description for the deal terms. (buyer-readonly)"
|
||||
},
|
||||
"isRfpTemplate": {
|
||||
"type": "boolean",
|
||||
"description": "Indicates whether the current deal is a RFP template. RFP template is created by buyer and not based on seller created products."
|
||||
},
|
||||
"isSetupComplete": {
|
||||
"type": "boolean",
|
||||
"description": "True, if the buyside inventory setup is complete for this deal. (readonly, except via OrderSetupCompleted action)"
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"description": "Identifies what kind of resource this is. Value: the fixed string \"adexchangebuyer#marketplaceDeal\".",
|
||||
@@ -1707,6 +1715,11 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"minimumViewabilityDecile": {
|
||||
"type": "integer",
|
||||
"description": "Requests where the predicted viewability is below the specified decile will not match. E.g. if the buyer sets this value to 5, requests from slots where the predicted viewability is below 50% will not match. If the predicted viewability is unknown this field will be ignored.",
|
||||
"format": "int32"
|
||||
},
|
||||
"mobileCarriers": {
|
||||
"type": "array",
|
||||
"description": "Requests containing any of these mobile carrier ids will match. Values are from mobile-carriers.csv in the downloadable files section.",
|
||||
@@ -1864,12 +1877,16 @@
|
||||
"PricePerBuyer": {
|
||||
"id": "PricePerBuyer",
|
||||
"type": "object",
|
||||
"description": "Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in an product can become [0,1] deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.",
|
||||
"description": "Used to specify pricing rules for buyers. Each PricePerBuyer in a product can become [0,1] deals. To check if there is a PricePerBuyer for a particular buyer we look for the most specific matching rule - we first look for a rule matching the buyer and otherwise look for a matching rule where no buyer is set.",
|
||||
"properties": {
|
||||
"auctionTier": {
|
||||
"type": "string",
|
||||
"description": "Optional access type for this buyer."
|
||||
},
|
||||
"billedBuyer": {
|
||||
"$ref": "Buyer",
|
||||
"description": "Reference to the buyer that will get billed."
|
||||
},
|
||||
"buyer": {
|
||||
"$ref": "Buyer",
|
||||
"description": "The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there's no more specific rule matching the buyer)."
|
||||
@@ -1898,6 +1915,14 @@
|
||||
"type": "object",
|
||||
"description": "A product is segment of inventory that a seller wishes to sell. It is associated with certain terms and targeting information which helps buyer know more about the inventory. Each field in a product can have one of the following setting:\n\n(readonly) - It is an error to try and set this field. (buyer-readonly) - Only the seller can set this field. (seller-readonly) - Only the buyer can set this field. (updatable) - The field is updatable at all times by either buyer or the seller.",
|
||||
"properties": {
|
||||
"billedBuyer": {
|
||||
"$ref": "Buyer",
|
||||
"description": "The billed buyer corresponding to the buyer that created the offer. (readonly, except on create)"
|
||||
},
|
||||
"buyer": {
|
||||
"$ref": "Buyer",
|
||||
"description": "The buyer that created the offer if this is a buyer initiated offer (readonly, except on create)"
|
||||
},
|
||||
"creationTimeMs": {
|
||||
"type": "string",
|
||||
"description": "Creation time in ms. since epoch (readonly)",
|
||||
@@ -1910,6 +1935,10 @@
|
||||
"$ref": "ContactInformation"
|
||||
}
|
||||
},
|
||||
"creatorRole": {
|
||||
"type": "string",
|
||||
"description": "The role that created the offer. Set to BUYER for buyer initiated offers."
|
||||
},
|
||||
"deliveryControl": {
|
||||
"$ref": "DeliveryControl",
|
||||
"description": "The set of fields around delivery control that are interesting for a buyer to see but are non-negotiable. These are set by the publisher. This message is assigned an id of 100 since some day we would want to model this as a protobuf extension."
|
||||
@@ -1953,6 +1982,10 @@
|
||||
"type": "string",
|
||||
"description": "Optional legacy offer id if this offer is a preferred deal offer."
|
||||
},
|
||||
"marketplacePublisherProfileId": {
|
||||
"type": "string",
|
||||
"description": "Marketplace publisher profile Id. This Id differs from the regular publisher_profile_id in that 1. This is a new id, the old Id will be deprecated in 2017. 2. This id uniquely identifies a publisher profile by itself."
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The name for this product as set by the seller. (buyer-readonly)"
|
||||
@@ -2056,7 +2089,7 @@
|
||||
},
|
||||
"isSetupComplete": {
|
||||
"type": "boolean",
|
||||
"description": "True, if the buyside inventory setup is complete for this proposal. (readonly, except via OrderSetupCompleted action)"
|
||||
"description": "True, if the buyside inventory setup is complete for this proposal. (readonly, except via OrderSetupCompleted action) Deprecated in favor of deal level setup complete flag."
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
@@ -2326,6 +2359,10 @@
|
||||
"type": "string",
|
||||
"description": "The Creative size type."
|
||||
},
|
||||
"nativeTemplate": {
|
||||
"type": "string",
|
||||
"description": "The native template for native ad."
|
||||
},
|
||||
"size": {
|
||||
"$ref": "TargetingValueSize",
|
||||
"description": "For regular or video creative size type, specifies the size of the creative."
|
||||
@@ -3445,7 +3482,7 @@
|
||||
"propose",
|
||||
"proposeAndAccept",
|
||||
"unknownAction",
|
||||
"updateFinalized"
|
||||
"updateNonTerms"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"",
|
||||
@@ -3541,7 +3578,7 @@
|
||||
"propose",
|
||||
"proposeAndAccept",
|
||||
"unknownAction",
|
||||
"updateFinalized"
|
||||
"updateNonTerms"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/Dz_LMqDcbtnyBd4CwnrsbswCFU4\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/Dz_LMqDcbtnyBd4CwnrsbswCFU4\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "adexchangeseller:v1.1",
|
||||
"name": "adexchangeseller",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/EberIAMM9RntL16aqUh0FmyQxWY\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/EberIAMM9RntL16aqUh0FmyQxWY\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "adexchangeseller:v1",
|
||||
"name": "adexchangeseller",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/1XDufO4826VKTkrV2WU9EmKApiQ\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/1XDufO4826VKTkrV2WU9EmKApiQ\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "adexchangeseller:v2.0",
|
||||
"name": "adexchangeseller",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/69RNEuIs-2cMvhRHgpkaoTAmcFU\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/69RNEuIs-2cMvhRHgpkaoTAmcFU\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "admin:datatransfer_v1",
|
||||
"name": "admin",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/MJXmm78_R4W8L6tex9cqkPyvKmM\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/Hgzlsu38y56tOKi_wO3_mjV37MM\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "admin:directory_v1",
|
||||
"name": "admin",
|
||||
"canonicalName": "directory",
|
||||
"version": "directory_v1",
|
||||
"revision": "20161124",
|
||||
"revision": "20170419",
|
||||
"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",
|
||||
@@ -462,7 +462,7 @@
|
||||
},
|
||||
"lastSync": {
|
||||
"type": "string",
|
||||
"description": "Date and time the device was last synchronized with the policy settings in the Google Apps administrator control panel (Read-only)",
|
||||
"description": "Date and time the device was last synchronized with the policy settings in the G Suite administrator control panel (Read-only)",
|
||||
"format": "date-time"
|
||||
},
|
||||
"macAddress": {
|
||||
@@ -603,7 +603,7 @@
|
||||
},
|
||||
"id": {
|
||||
"type": "string",
|
||||
"description": "The unique ID for the customer's Google account. (Readonly)"
|
||||
"description": "The unique ID for the customer's G Suite account. (Readonly)"
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
@@ -1041,7 +1041,7 @@
|
||||
},
|
||||
"firstSync": {
|
||||
"type": "string",
|
||||
"description": "Date and time the device was first synchronized with the policy settings in the Google Apps administrator control panel (Read-only)",
|
||||
"description": "Date and time the device was first synchronized with the policy settings in the G Suite administrator control panel (Read-only)",
|
||||
"format": "date-time"
|
||||
},
|
||||
"hardware": {
|
||||
@@ -1067,7 +1067,7 @@
|
||||
},
|
||||
"lastSync": {
|
||||
"type": "string",
|
||||
"description": "Date and time the device was last synchronized with the policy settings in the Google Apps administrator control panel (Read-only)",
|
||||
"description": "Date and time the device was last synchronized with the policy settings in the G Suite administrator control panel (Read-only)",
|
||||
"format": "date-time"
|
||||
},
|
||||
"managedAccountIsOnOwnerProfile": {
|
||||
@@ -1792,7 +1792,7 @@
|
||||
},
|
||||
"creationTime": {
|
||||
"type": "string",
|
||||
"description": "User's Google account creation time. (Read-only)",
|
||||
"description": "User's G Suite account creation time. (Read-only)",
|
||||
"format": "date-time",
|
||||
"readOnly": true
|
||||
},
|
||||
@@ -1853,6 +1853,16 @@
|
||||
"description": "Boolean indicating if the user is delegated admin (Read-only)",
|
||||
"readOnly": true
|
||||
},
|
||||
"isEnforcedIn2Sv": {
|
||||
"type": "boolean",
|
||||
"description": "Is 2-step verification enforced (Read-only)",
|
||||
"readOnly": true
|
||||
},
|
||||
"isEnrolledIn2Sv": {
|
||||
"type": "boolean",
|
||||
"description": "Is enrolled in 2-step verification (Read-only)",
|
||||
"readOnly": true
|
||||
},
|
||||
"isMailboxSetup": {
|
||||
"type": "boolean",
|
||||
"description": "Is mailbox setup (Read-only)",
|
||||
@@ -1870,6 +1880,9 @@
|
||||
"format": "date-time",
|
||||
"readOnly": true
|
||||
},
|
||||
"locations": {
|
||||
"type": "any"
|
||||
},
|
||||
"name": {
|
||||
"$ref": "UserName",
|
||||
"description": "User's name",
|
||||
@@ -1909,6 +1922,9 @@
|
||||
"phones": {
|
||||
"type": "any"
|
||||
},
|
||||
"posixAccounts": {
|
||||
"type": "any"
|
||||
},
|
||||
"primaryEmail": {
|
||||
"type": "string",
|
||||
"description": "username of User",
|
||||
@@ -1921,6 +1937,9 @@
|
||||
"relations": {
|
||||
"type": "any"
|
||||
},
|
||||
"sshPublicKeys": {
|
||||
"type": "any"
|
||||
},
|
||||
"suspended": {
|
||||
"type": "boolean",
|
||||
"description": "Indicates if user is suspended"
|
||||
@@ -2100,6 +2119,41 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"UserLocation": {
|
||||
"id": "UserLocation",
|
||||
"type": "object",
|
||||
"description": "JSON template for a location entry.",
|
||||
"properties": {
|
||||
"area": {
|
||||
"type": "string",
|
||||
"description": "Textual location. This is most useful for display purposes to concisely describe the location. E.g. \"Mountain View, CA\", \"Near Seattle\", \"US-NYC-9TH 9A209A\"."
|
||||
},
|
||||
"buildingId": {
|
||||
"type": "string",
|
||||
"description": "Building Identifier."
|
||||
},
|
||||
"customType": {
|
||||
"type": "string",
|
||||
"description": "Custom Type."
|
||||
},
|
||||
"deskCode": {
|
||||
"type": "string",
|
||||
"description": "Most specific textual code of individual desk location."
|
||||
},
|
||||
"floorName": {
|
||||
"type": "string",
|
||||
"description": "Floor name/number."
|
||||
},
|
||||
"floorSection": {
|
||||
"type": "string",
|
||||
"description": "Floor Section. More specific location within the floor. E.g. if a floor is divided into sections \"A\", \"B\", and \"C\", this field would identify one of those values."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"description": "Each entry can have a type which indicates standard types of that entry. For example location could be of types default and desk. In addition to standard type, an entry can have a custom type and can give it any name. Such types should have \"custom\" as type and also have a customType value."
|
||||
}
|
||||
}
|
||||
},
|
||||
"UserMakeAdmin": {
|
||||
"id": "UserMakeAdmin",
|
||||
"type": "object",
|
||||
@@ -2267,6 +2321,47 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"UserPosixAccount": {
|
||||
"id": "UserPosixAccount",
|
||||
"type": "object",
|
||||
"description": "JSON template for a POSIX account entry. Description of the field family: go/fbs-posix.",
|
||||
"properties": {
|
||||
"gecos": {
|
||||
"type": "string",
|
||||
"description": "The GECOS (user information) for this account."
|
||||
},
|
||||
"gid": {
|
||||
"type": "integer",
|
||||
"description": "The default group ID.",
|
||||
"format": "int32"
|
||||
},
|
||||
"homeDirectory": {
|
||||
"type": "string",
|
||||
"description": "The path to the home directory for this account."
|
||||
},
|
||||
"primary": {
|
||||
"type": "boolean",
|
||||
"description": "If this is user's primary account within the SystemId."
|
||||
},
|
||||
"shell": {
|
||||
"type": "string",
|
||||
"description": "The path to the login shell for this account."
|
||||
},
|
||||
"systemId": {
|
||||
"type": "string",
|
||||
"description": "System identifier for which account Username or Uid apply to."
|
||||
},
|
||||
"uid": {
|
||||
"type": "integer",
|
||||
"description": "The POSIX compliant user ID.",
|
||||
"format": "int32"
|
||||
},
|
||||
"username": {
|
||||
"type": "string",
|
||||
"description": "The username of the account."
|
||||
}
|
||||
}
|
||||
},
|
||||
"UserRelation": {
|
||||
"id": "UserRelation",
|
||||
"type": "object",
|
||||
@@ -2286,6 +2381,27 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"UserSshPublicKey": {
|
||||
"id": "UserSshPublicKey",
|
||||
"type": "object",
|
||||
"description": "JSON template for a POSIX account entry.",
|
||||
"properties": {
|
||||
"expirationTimeUsec": {
|
||||
"type": "string",
|
||||
"description": "An expiration time in microseconds since epoch.",
|
||||
"format": "int64"
|
||||
},
|
||||
"fingerprint": {
|
||||
"type": "string",
|
||||
"description": "A SHA-256 fingerprint of the SSH public key. (Read-only)",
|
||||
"readOnly": true
|
||||
},
|
||||
"key": {
|
||||
"type": "string",
|
||||
"description": "An SSH public key."
|
||||
}
|
||||
}
|
||||
},
|
||||
"UserUndelete": {
|
||||
"id": "UserUndelete",
|
||||
"type": "object",
|
||||
@@ -2516,13 +2632,13 @@
|
||||
"parameters": {
|
||||
"customerId": {
|
||||
"type": "string",
|
||||
"description": "Immutable id of the Google Apps account",
|
||||
"description": "Immutable ID of the G Suite account",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"resourceId": {
|
||||
"type": "string",
|
||||
"description": "Immutable id of Chrome OS Device",
|
||||
"description": "Immutable ID of Chrome OS Device",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -2546,13 +2662,13 @@
|
||||
"parameters": {
|
||||
"customerId": {
|
||||
"type": "string",
|
||||
"description": "Immutable id of the Google Apps account",
|
||||
"description": "Immutable ID of the G Suite account",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"deviceId": {
|
||||
"type": "string",
|
||||
"description": "Immutable id of Chrome OS Device",
|
||||
"description": "Immutable ID of Chrome OS Device",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
@@ -2590,7 +2706,7 @@
|
||||
"parameters": {
|
||||
"customerId": {
|
||||
"type": "string",
|
||||
"description": "Immutable id of the Google Apps account",
|
||||
"description": "Immutable ID of the G Suite account",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
@@ -2680,13 +2796,13 @@
|
||||
"parameters": {
|
||||
"customerId": {
|
||||
"type": "string",
|
||||
"description": "Immutable id of the Google Apps account",
|
||||
"description": "Immutable ID of the G Suite account",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"deviceId": {
|
||||
"type": "string",
|
||||
"description": "Immutable id of Chrome OS Device",
|
||||
"description": "Immutable ID of Chrome OS Device",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
@@ -2726,13 +2842,13 @@
|
||||
"parameters": {
|
||||
"customerId": {
|
||||
"type": "string",
|
||||
"description": "Immutable id of the Google Apps account",
|
||||
"description": "Immutable ID of the G Suite account",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"deviceId": {
|
||||
"type": "string",
|
||||
"description": "Immutable id of Chrome OS Device",
|
||||
"description": "Immutable ID of Chrome OS Device",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
@@ -2856,7 +2972,7 @@
|
||||
"parameters": {
|
||||
"customer": {
|
||||
"type": "string",
|
||||
"description": "Immutable id of the Google Apps account.",
|
||||
"description": "Immutable ID of the G Suite account.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
@@ -2883,7 +2999,7 @@
|
||||
"parameters": {
|
||||
"customer": {
|
||||
"type": "string",
|
||||
"description": "Immutable id of the Google Apps account.",
|
||||
"description": "Immutable ID of the G Suite account.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
@@ -2914,7 +3030,7 @@
|
||||
"parameters": {
|
||||
"customer": {
|
||||
"type": "string",
|
||||
"description": "Immutable id of the Google Apps account.",
|
||||
"description": "Immutable ID of the G Suite account.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -2940,7 +3056,7 @@
|
||||
"parameters": {
|
||||
"customer": {
|
||||
"type": "string",
|
||||
"description": "Immutable id of the Google Apps account.",
|
||||
"description": "Immutable ID of the G Suite account.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
@@ -2973,7 +3089,7 @@
|
||||
"parameters": {
|
||||
"customer": {
|
||||
"type": "string",
|
||||
"description": "Immutable id of the Google Apps account.",
|
||||
"description": "Immutable ID of the G Suite account.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
@@ -3000,7 +3116,7 @@
|
||||
"parameters": {
|
||||
"customer": {
|
||||
"type": "string",
|
||||
"description": "Immutable id of the Google Apps account.",
|
||||
"description": "Immutable ID of the G Suite account.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
@@ -3031,7 +3147,7 @@
|
||||
"parameters": {
|
||||
"customer": {
|
||||
"type": "string",
|
||||
"description": "Immutable id of the Google Apps account.",
|
||||
"description": "Immutable ID of the G Suite account.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -3057,7 +3173,7 @@
|
||||
"parameters": {
|
||||
"customer": {
|
||||
"type": "string",
|
||||
"description": "Immutable id of the Google Apps account.",
|
||||
"description": "Immutable ID of the G Suite account.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -3144,7 +3260,7 @@
|
||||
"parameters": {
|
||||
"customer": {
|
||||
"type": "string",
|
||||
"description": "Immutable id of the Google Apps account. In case of multi-domain, to fetch all groups for a customer, fill this field instead of domain.",
|
||||
"description": "Immutable ID of the G Suite account. In case of multi-domain, to fetch all groups for a customer, fill this field instead of domain.",
|
||||
"location": "query"
|
||||
},
|
||||
"domain": {
|
||||
@@ -3529,13 +3645,13 @@
|
||||
"parameters": {
|
||||
"customerId": {
|
||||
"type": "string",
|
||||
"description": "Immutable id of the Google Apps account",
|
||||
"description": "Immutable ID of the G Suite account",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"resourceId": {
|
||||
"type": "string",
|
||||
"description": "Immutable id of Mobile Device",
|
||||
"description": "Immutable ID of Mobile Device",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -3560,13 +3676,13 @@
|
||||
"parameters": {
|
||||
"customerId": {
|
||||
"type": "string",
|
||||
"description": "Immutable id of the Google Apps account",
|
||||
"description": "Immutable ID of the G Suite account",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"resourceId": {
|
||||
"type": "string",
|
||||
"description": "Immutable id of Mobile Device",
|
||||
"description": "Immutable ID of Mobile Device",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -3587,7 +3703,7 @@
|
||||
"parameters": {
|
||||
"customerId": {
|
||||
"type": "string",
|
||||
"description": "Immutable id of the Google Apps account",
|
||||
"description": "Immutable ID of the G Suite account",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
@@ -3606,7 +3722,7 @@
|
||||
},
|
||||
"resourceId": {
|
||||
"type": "string",
|
||||
"description": "Immutable id of Mobile Device",
|
||||
"description": "Immutable ID of Mobile Device",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -3632,7 +3748,7 @@
|
||||
"parameters": {
|
||||
"customerId": {
|
||||
"type": "string",
|
||||
"description": "Immutable id of the Google Apps account",
|
||||
"description": "Immutable ID of the G Suite account",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
@@ -3729,7 +3845,7 @@
|
||||
"parameters": {
|
||||
"customer": {
|
||||
"type": "string",
|
||||
"description": "The unique ID for the customer's Google account. The customerId is also returned as part of the Users resource.",
|
||||
"description": "The unique ID for the customer's G Suite account. The customerId is also returned as part of the Users resource.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
@@ -3756,7 +3872,7 @@
|
||||
"parameters": {
|
||||
"customer": {
|
||||
"type": "string",
|
||||
"description": "The unique ID for the customer's Google account. The customerId is also returned as part of the Users resource.",
|
||||
"description": "The unique ID for the customer's G Suite account. The customerId is also returned as part of the Users resource.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
@@ -3786,7 +3902,7 @@
|
||||
"parameters": {
|
||||
"customer": {
|
||||
"type": "string",
|
||||
"description": "The unique ID for the customer's Google account.",
|
||||
"description": "The unique ID for the customer's G Suite account.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
@@ -3825,7 +3941,7 @@
|
||||
"parameters": {
|
||||
"customer": {
|
||||
"type": "string",
|
||||
"description": "The unique ID for the customer's Google account.",
|
||||
"description": "The unique ID for the customer's G Suite account.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
@@ -3858,7 +3974,7 @@
|
||||
"parameters": {
|
||||
"customer": {
|
||||
"type": "string",
|
||||
"description": "The unique ID for the customer's Google account.",
|
||||
"description": "The unique ID for the customer's G Suite account.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
@@ -3895,7 +4011,7 @@
|
||||
"parameters": {
|
||||
"customerId": {
|
||||
"type": "string",
|
||||
"description": "Immutable id of the Google Apps account",
|
||||
"description": "Immutable ID of the G Suite account",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
@@ -3923,7 +4039,7 @@
|
||||
"parameters": {
|
||||
"customerId": {
|
||||
"type": "string",
|
||||
"description": "Immutable id of the Google Apps account",
|
||||
"description": "Immutable ID of the G Suite account",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
@@ -3955,7 +4071,7 @@
|
||||
"parameters": {
|
||||
"customerId": {
|
||||
"type": "string",
|
||||
"description": "Immutable id of the Google Apps account",
|
||||
"description": "Immutable ID of the G Suite account",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -3981,7 +4097,7 @@
|
||||
"parameters": {
|
||||
"customerId": {
|
||||
"type": "string",
|
||||
"description": "Immutable id of the Google Apps account",
|
||||
"description": "Immutable ID of the G Suite account",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
@@ -4024,7 +4140,7 @@
|
||||
"parameters": {
|
||||
"customerId": {
|
||||
"type": "string",
|
||||
"description": "Immutable id of the Google Apps account",
|
||||
"description": "Immutable ID of the G Suite account",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
@@ -4058,7 +4174,7 @@
|
||||
"parameters": {
|
||||
"customerId": {
|
||||
"type": "string",
|
||||
"description": "Immutable id of the Google Apps account",
|
||||
"description": "Immutable ID of the G Suite account",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
@@ -4096,7 +4212,7 @@
|
||||
"parameters": {
|
||||
"customer": {
|
||||
"type": "string",
|
||||
"description": "Immutable ID of the Google Apps account.",
|
||||
"description": "Immutable ID of the G Suite account.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -4132,7 +4248,7 @@
|
||||
},
|
||||
"customer": {
|
||||
"type": "string",
|
||||
"description": "The unique ID for the customer's Google account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.",
|
||||
"description": "The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -4159,7 +4275,7 @@
|
||||
},
|
||||
"customer": {
|
||||
"type": "string",
|
||||
"description": "The unique ID for the customer's Google account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.",
|
||||
"description": "The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -4184,7 +4300,7 @@
|
||||
"parameters": {
|
||||
"customer": {
|
||||
"type": "string",
|
||||
"description": "The unique ID for the customer's Google account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.",
|
||||
"description": "The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -4210,7 +4326,7 @@
|
||||
"parameters": {
|
||||
"customer": {
|
||||
"type": "string",
|
||||
"description": "The unique ID for the customer's Google account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.",
|
||||
"description": "The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
@@ -4253,7 +4369,7 @@
|
||||
},
|
||||
"customer": {
|
||||
"type": "string",
|
||||
"description": "The unique ID for the customer's Google account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.",
|
||||
"description": "The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -4286,7 +4402,7 @@
|
||||
},
|
||||
"customer": {
|
||||
"type": "string",
|
||||
"description": "The unique ID for the customer's Google account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.",
|
||||
"description": "The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -4319,7 +4435,7 @@
|
||||
"parameters": {
|
||||
"customer": {
|
||||
"type": "string",
|
||||
"description": "Immutable ID of the Google Apps account.",
|
||||
"description": "Immutable ID of the G Suite account.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
@@ -4346,7 +4462,7 @@
|
||||
"parameters": {
|
||||
"customer": {
|
||||
"type": "string",
|
||||
"description": "Immutable ID of the Google Apps account.",
|
||||
"description": "Immutable ID of the G Suite account.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
@@ -4377,7 +4493,7 @@
|
||||
"parameters": {
|
||||
"customer": {
|
||||
"type": "string",
|
||||
"description": "Immutable ID of the Google Apps account.",
|
||||
"description": "Immutable ID of the G Suite account.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -4403,7 +4519,7 @@
|
||||
"parameters": {
|
||||
"customer": {
|
||||
"type": "string",
|
||||
"description": "Immutable ID of the Google Apps account.",
|
||||
"description": "Immutable ID of the G Suite account.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
@@ -4454,7 +4570,7 @@
|
||||
"parameters": {
|
||||
"customer": {
|
||||
"type": "string",
|
||||
"description": "Immutable ID of the Google Apps account.",
|
||||
"description": "Immutable ID of the G Suite account.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
@@ -4481,7 +4597,7 @@
|
||||
"parameters": {
|
||||
"customer": {
|
||||
"type": "string",
|
||||
"description": "Immutable ID of the Google Apps account.",
|
||||
"description": "Immutable ID of the G Suite account.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
@@ -4512,7 +4628,7 @@
|
||||
"parameters": {
|
||||
"customer": {
|
||||
"type": "string",
|
||||
"description": "Immutable ID of the Google Apps account.",
|
||||
"description": "Immutable ID of the G Suite account.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -4538,7 +4654,7 @@
|
||||
"parameters": {
|
||||
"customer": {
|
||||
"type": "string",
|
||||
"description": "Immutable id of the Google Apps account.",
|
||||
"description": "Immutable ID of the G Suite account.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
@@ -4575,7 +4691,7 @@
|
||||
"parameters": {
|
||||
"customer": {
|
||||
"type": "string",
|
||||
"description": "Immutable ID of the Google Apps account.",
|
||||
"description": "Immutable ID of the G Suite account.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
@@ -4608,7 +4724,7 @@
|
||||
"parameters": {
|
||||
"customer": {
|
||||
"type": "string",
|
||||
"description": "Immutable ID of the Google Apps account.",
|
||||
"description": "Immutable ID of the G Suite account.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
@@ -4645,7 +4761,7 @@
|
||||
"parameters": {
|
||||
"customerId": {
|
||||
"type": "string",
|
||||
"description": "Immutable id of the Google Apps account",
|
||||
"description": "Immutable ID of the G Suite account",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
@@ -4672,7 +4788,7 @@
|
||||
"parameters": {
|
||||
"customerId": {
|
||||
"type": "string",
|
||||
"description": "Immutable id of the Google Apps account",
|
||||
"description": "Immutable ID of the G Suite account",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
@@ -4703,7 +4819,7 @@
|
||||
"parameters": {
|
||||
"customerId": {
|
||||
"type": "string",
|
||||
"description": "Immutable id of the Google Apps account",
|
||||
"description": "Immutable ID of the G Suite account",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -4729,7 +4845,7 @@
|
||||
"parameters": {
|
||||
"customerId": {
|
||||
"type": "string",
|
||||
"description": "Immutable id of the Google Apps account",
|
||||
"description": "Immutable ID of the G Suite account",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
@@ -4753,7 +4869,7 @@
|
||||
"parameters": {
|
||||
"customerId": {
|
||||
"type": "string",
|
||||
"description": "Immutable id of the Google Apps account",
|
||||
"description": "Immutable ID of the G Suite account",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
@@ -4786,7 +4902,7 @@
|
||||
"parameters": {
|
||||
"customerId": {
|
||||
"type": "string",
|
||||
"description": "Immutable id of the Google Apps account",
|
||||
"description": "Immutable ID of the G Suite account",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
@@ -5006,7 +5122,7 @@
|
||||
},
|
||||
"customer": {
|
||||
"type": "string",
|
||||
"description": "Immutable id of the Google Apps account. In case of multi-domain, to fetch all users for a customer, fill this field instead of domain.",
|
||||
"description": "Immutable ID of the G Suite account. In case of multi-domain, to fetch all users for a customer, fill this field instead of domain.",
|
||||
"location": "query"
|
||||
},
|
||||
"domain": {
|
||||
@@ -5235,7 +5351,7 @@
|
||||
},
|
||||
"customer": {
|
||||
"type": "string",
|
||||
"description": "Immutable id of the Google Apps account. In case of multi-domain, to fetch all users for a customer, fill this field instead of domain.",
|
||||
"description": "Immutable ID of the G Suite account. In case of multi-domain, to fetch all users for a customer, fill this field instead of domain.",
|
||||
"location": "query"
|
||||
},
|
||||
"domain": {
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/QGy4Wv90L7XHcKxA0VDj0fNkDc0\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/-tkaOVzArVVhbxGreMOY21mRaV8\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "admin:reports_v1",
|
||||
"name": "admin",
|
||||
"canonicalName": "reports",
|
||||
"version": "reports_v1",
|
||||
"revision": "20160704",
|
||||
"revision": "20170320",
|
||||
"title": "Admin Reports API",
|
||||
"description": "Fetches reports for the administrators of Google Apps customers about the usage, collaboration, security, and risk for their users.",
|
||||
"description": "Fetches reports for the administrators of G Suite customers about the usage, collaboration, security, and risk for their users.",
|
||||
"ownerDomain": "google.com",
|
||||
"ownerName": "Google",
|
||||
"packagePath": "admin",
|
||||
@@ -72,10 +72,10 @@
|
||||
"oauth2": {
|
||||
"scopes": {
|
||||
"https://www.googleapis.com/auth/admin.reports.audit.readonly": {
|
||||
"description": "View audit reports of Google Apps for your domain"
|
||||
"description": "View audit reports for your G Suite domain"
|
||||
},
|
||||
"https://www.googleapis.com/auth/admin.reports.usage.readonly": {
|
||||
"description": "View usage reports of Google Apps for your domain"
|
||||
"description": "View usage reports for your G Suite domain"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -464,7 +464,7 @@
|
||||
"type": "string",
|
||||
"description": "Application name for which the events are to be retrieved.",
|
||||
"required": true,
|
||||
"pattern": "(admin)|(calendar)|(drive)|(login)|(mobile)|(token)|(groups)|(saml)",
|
||||
"pattern": "(admin)|(calendar)|(drive)|(login)|(mobile)|(token)|(groups)|(saml)|(chat)",
|
||||
"location": "path"
|
||||
},
|
||||
"customerId": {
|
||||
@@ -475,7 +475,7 @@
|
||||
},
|
||||
"endTime": {
|
||||
"type": "string",
|
||||
"description": "Return events which occured at or before this time.",
|
||||
"description": "Return events which occurred at or before this time.",
|
||||
"pattern": "(\\d\\d\\d\\d)-(\\d\\d)-(\\d\\d)T(\\d\\d):(\\d\\d):(\\d\\d)(?:\\.(\\d+))?(?:(Z)|([-+])(\\d\\d):(\\d\\d))",
|
||||
"location": "query"
|
||||
},
|
||||
@@ -505,7 +505,7 @@
|
||||
},
|
||||
"startTime": {
|
||||
"type": "string",
|
||||
"description": "Return events which occured at or after this time.",
|
||||
"description": "Return events which occurred at or after this time.",
|
||||
"pattern": "(\\d\\d\\d\\d)-(\\d\\d)-(\\d\\d)T(\\d\\d):(\\d\\d):(\\d\\d)(?:\\.(\\d+))?(?:(Z)|([-+])(\\d\\d):(\\d\\d))",
|
||||
"location": "query"
|
||||
},
|
||||
@@ -543,7 +543,7 @@
|
||||
"type": "string",
|
||||
"description": "Application name for which the events are to be retrieved.",
|
||||
"required": true,
|
||||
"pattern": "(admin)|(calendar)|(drive)|(login)|(mobile)|(token)|(groups)|(saml)",
|
||||
"pattern": "(admin)|(calendar)|(drive)|(login)|(mobile)|(token)|(groups)|(saml)|(chat)",
|
||||
"location": "path"
|
||||
},
|
||||
"customerId": {
|
||||
@@ -554,7 +554,7 @@
|
||||
},
|
||||
"endTime": {
|
||||
"type": "string",
|
||||
"description": "Return events which occured at or before this time.",
|
||||
"description": "Return events which occurred at or before this time.",
|
||||
"pattern": "(\\d\\d\\d\\d)-(\\d\\d)-(\\d\\d)T(\\d\\d):(\\d\\d):(\\d\\d)(?:\\.(\\d+))?(?:(Z)|([-+])(\\d\\d):(\\d\\d))",
|
||||
"location": "query"
|
||||
},
|
||||
@@ -584,7 +584,7 @@
|
||||
},
|
||||
"startTime": {
|
||||
"type": "string",
|
||||
"description": "Return events which occured at or after this time.",
|
||||
"description": "Return events which occurred at or after this time.",
|
||||
"pattern": "(\\d\\d\\d\\d)-(\\d\\d)-(\\d\\d)T(\\d\\d):(\\d\\d):(\\d\\d)(?:\\.(\\d+))?(?:(Z)|([-+])(\\d\\d):(\\d\\d))",
|
||||
"location": "query"
|
||||
},
|
||||
@@ -659,7 +659,7 @@
|
||||
"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": "(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)):[^,]+,)*(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)):[^,]+)",
|
||||
"pattern": "(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+,)*(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+)",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
@@ -699,7 +699,7 @@
|
||||
"filters": {
|
||||
"type": "string",
|
||||
"description": "Represents the set of filters including parameter operator value.",
|
||||
"pattern": "(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)):[a-z0-9_]+[\u003c,\u003c=,==,\u003e=,\u003e,!=][^,]+,)*(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)):[a-z0-9_]+[\u003c,\u003c=,==,\u003e=,\u003e,!=][^,]+)",
|
||||
"pattern": "(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[a-z0-9_]+[\u003c,\u003c=,==,\u003e=,\u003e,!=][^,]+,)*(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[a-z0-9_]+[\u003c,\u003c=,==,\u003e=,\u003e,!=][^,]+)",
|
||||
"location": "query"
|
||||
},
|
||||
"maxResults": {
|
||||
@@ -717,7 +717,7 @@
|
||||
"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": "(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)):[^,]+,)*(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)):[^,]+)",
|
||||
"pattern": "(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+,)*(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+)",
|
||||
"location": "query"
|
||||
},
|
||||
"userKey": {
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/O4Gi4w2H5lck6YfTHArV5gfcJY8\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/uanKyTAp4QKf6HpPDtBARDuiHPc\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "adsense:v1.3",
|
||||
"name": "adsense",
|
||||
"canonicalName": "AdSense",
|
||||
"version": "v1.3",
|
||||
"revision": "20161206",
|
||||
"revision": "20170517",
|
||||
"title": "AdSense Management API",
|
||||
"description": "Accesses AdSense publishers' inventory and generates performance reports.",
|
||||
"ownerDomain": "google.com",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/9rW_iSYGkNTcKHQcRbE8edxeIL0\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/SYLcZPFITtF3qnr7oH0sREd1ZNs\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "adsense:v1.4",
|
||||
"name": "adsense",
|
||||
"canonicalName": "AdSense",
|
||||
"version": "v1.4",
|
||||
"revision": "20161206",
|
||||
"revision": "20170517",
|
||||
"title": "AdSense Management API",
|
||||
"description": "Accesses AdSense publishers' inventory and generates performance reports.",
|
||||
"ownerDomain": "google.com",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/Lu4otnxJaoGqp6ZeALzdWUnJjmk\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/7o6hFUe6SUm7cHL7vB3J6QdI-Uw\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "adsensehost:v4.1",
|
||||
"name": "adsensehost",
|
||||
"canonicalName": "AdSense Host",
|
||||
"version": "v4.1",
|
||||
"revision": "20161206",
|
||||
"revision": "20170517",
|
||||
"title": "AdSense Host API",
|
||||
"description": "Generates performance reports, generates ad codes, and provides publisher management capabilities for AdSense Hosts.",
|
||||
"ownerDomain": "google.com",
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/cmdroRcoxpGmDDzSn3LW27FM6Ag\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/uF7o_i10s0Ir7WGM7zLi8NwSHXI\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "analytics:v2.4",
|
||||
"name": "analytics",
|
||||
"version": "v2.4",
|
||||
"revision": "20161004",
|
||||
"revision": "20170321",
|
||||
"title": "Google Analytics API",
|
||||
"description": "Views and manages your Google Analytics data.",
|
||||
"ownerDomain": "google.com",
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/CEwIV9fdNgUw9Oy31M8HLJeTPyQ\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/kNCxeHzf8zHSdahaoD4fNF__mRA\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "analytics:v3",
|
||||
"name": "analytics",
|
||||
"version": "v3",
|
||||
"revision": "20161004",
|
||||
"revision": "20170321",
|
||||
"title": "Google Analytics API",
|
||||
"description": "Views and manages your Google Analytics data.",
|
||||
"ownerDomain": "google.com",
|
||||
@@ -5944,6 +5944,40 @@
|
||||
},
|
||||
"remarketingAudience": {
|
||||
"methods": {
|
||||
"delete": {
|
||||
"id": "analytics.management.remarketingAudience.delete",
|
||||
"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}",
|
||||
"httpMethod": "DELETE",
|
||||
"description": "Delete a remarketing audience.",
|
||||
"parameters": {
|
||||
"accountId": {
|
||||
"type": "string",
|
||||
"description": "Account ID to which the remarketing audience belongs.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"remarketingAudienceId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the remarketing audience to delete.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"webPropertyId": {
|
||||
"type": "string",
|
||||
"description": "Web property ID to which the remarketing audience belongs.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"accountId",
|
||||
"webPropertyId",
|
||||
"remarketingAudienceId"
|
||||
],
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/analytics.edit"
|
||||
]
|
||||
},
|
||||
"get": {
|
||||
"id": "analytics.management.remarketingAudience.get",
|
||||
"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/C94wtsy8mrHkcQY94KxE1tVMlOU\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/yataDr640bpajGP_lh8edeYDi-w\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "androidenterprise:v1",
|
||||
"name": "androidenterprise",
|
||||
"canonicalName": "Android Enterprise",
|
||||
"version": "v1",
|
||||
"revision": "20161207",
|
||||
"revision": "20170516",
|
||||
"title": "Google Play EMM API",
|
||||
"description": "Manages the deployment of apps to Android for Work users.",
|
||||
"ownerDomain": "google.com",
|
||||
@@ -80,18 +80,18 @@
|
||||
"Administrator": {
|
||||
"id": "Administrator",
|
||||
"type": "object",
|
||||
"description": "This represents an enterprise administrator who can manage the enterprise in the Google Play for Work Store.",
|
||||
"description": "This represents an enterprise admin who can manage the enterprise in the managed Google Play store.",
|
||||
"properties": {
|
||||
"email": {
|
||||
"type": "string",
|
||||
"description": "The administrator's email address."
|
||||
"description": "The admin's email address."
|
||||
}
|
||||
}
|
||||
},
|
||||
"AdministratorWebToken": {
|
||||
"id": "AdministratorWebToken",
|
||||
"type": "object",
|
||||
"description": "A token authorizing an administrator to access an iframe.",
|
||||
"description": "A token authorizing an admin to access an iframe.",
|
||||
"properties": {
|
||||
"kind": {
|
||||
"type": "string",
|
||||
@@ -259,7 +259,7 @@
|
||||
},
|
||||
"versionString": {
|
||||
"type": "string",
|
||||
"description": "The string used in the Play Store by the app developer to identify the version. The string is not necessarily unique or localized (for example, the string could be \"1.4\")."
|
||||
"description": "The string used in the Play store by the app developer to identify the version. The string is not necessarily unique or localized (for example, the string could be \"1.4\")."
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -295,95 +295,14 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"Collection": {
|
||||
"id": "Collection",
|
||||
"type": "object",
|
||||
"description": "A collection resource defines a named set of apps that is visible to a set of users in the Google Play Store app running on those users' managed devices. Those users can then install any of those apps if they wish (which will trigger creation of install and entitlement resources). A user cannot install an app on a managed device unless the app is listed in at least one collection that is visible to that user.\n\nNote that the API can be used to directly install an app regardless of whether it is in any collection - so an enterprise has a choice of either directly pushing apps to users, or allowing users to install apps if they want. Which is appropriate will depend on the enterprise's policies and the purpose of the apps concerned.",
|
||||
"properties": {
|
||||
"collectionId": {
|
||||
"type": "string",
|
||||
"description": "Arbitrary unique ID, allocated by the API on creation."
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#collection\".",
|
||||
"default": "androidenterprise#collection"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "A user-friendly name for the collection (should be unique), e.g. \"Accounting apps\".",
|
||||
"annotations": {
|
||||
"required": [
|
||||
"androidenterprise.collections.insert",
|
||||
"androidenterprise.collections.update"
|
||||
]
|
||||
}
|
||||
},
|
||||
"productId": {
|
||||
"type": "array",
|
||||
"description": "The IDs of the products in the collection, in the order in which they should be displayed.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"annotations": {
|
||||
"required": [
|
||||
"androidenterprise.collections.insert",
|
||||
"androidenterprise.collections.update"
|
||||
]
|
||||
}
|
||||
},
|
||||
"visibility": {
|
||||
"type": "string",
|
||||
"description": "Whether this collection is visible to all users, or only to the users that have been granted access through the \"Collectionviewers\" API. With the launch of the \"setAvailableProductSet\" API, this property should always be set to \"viewersOnly\", as the \"allUsers\" option will bypass the \"availableProductSet\" for all users within a domain.\n\nThe \"allUsers\" setting is deprecated, and will be removed."
|
||||
}
|
||||
}
|
||||
},
|
||||
"CollectionViewersListResponse": {
|
||||
"id": "CollectionViewersListResponse",
|
||||
"type": "object",
|
||||
"description": "The user resources for the collection.",
|
||||
"properties": {
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#collectionViewersListResponse\".",
|
||||
"default": "androidenterprise#collectionViewersListResponse"
|
||||
},
|
||||
"user": {
|
||||
"type": "array",
|
||||
"description": "A user of an enterprise.",
|
||||
"items": {
|
||||
"$ref": "User"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"CollectionsListResponse": {
|
||||
"id": "CollectionsListResponse",
|
||||
"type": "object",
|
||||
"description": "The collection resources for the enterprise.",
|
||||
"properties": {
|
||||
"collection": {
|
||||
"type": "array",
|
||||
"description": "An ordered collection of products which can be made visible on the Google Play Store to a selected group of users.",
|
||||
"items": {
|
||||
"$ref": "Collection"
|
||||
}
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#collectionsListResponse\".",
|
||||
"default": "androidenterprise#collectionsListResponse"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Device": {
|
||||
"id": "Device",
|
||||
"type": "object",
|
||||
"description": "A device 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.\n\nThis collection cannot be modified via the API. It is automatically populated as devices are set up to be managed.",
|
||||
"properties": {
|
||||
"androidId": {
|
||||
"type": "string",
|
||||
"description": "The Google Play Services Android ID for the device encoded as a lowercase hex string, e.g. \"123456789abcdef0\"."
|
||||
"description": "The Google Play Services Android ID for the device encoded as a lowercase hex string. For example, \"123456789abcdef0\"."
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
@@ -392,7 +311,7 @@
|
||||
},
|
||||
"managementType": {
|
||||
"type": "string",
|
||||
"description": "Identifies the extent to which the device is controlled by an Android for Work 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 work profile managed by the DPC (DPC is profile owner) in addition to a separate, personal profile that is unavailable to the DPC, \n- \"containerApp\", a device running the Android for Work App. The Android for Work App is managed by the DPC, \n- \"unmanagedProfile\", a device that has been allowed (by the domain's admin, using the Admin Console to enable the privilege) to use Android for Work apps or Google Apps for Work, but the profile is itself not owned by a DPC."
|
||||
"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."
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -434,11 +353,11 @@
|
||||
"Enterprise": {
|
||||
"id": "Enterprise",
|
||||
"type": "object",
|
||||
"description": "An Enterprises resource represents the binding between an EMM and a specific organization. That binding can be instantiated in one of two different ways using this API as follows: \n- For Google managed domain customers, the process involves using Enterprises.enroll and Enterprises.setAccount (in conjunction with artifacts obtained from the Admin console and the Google API Console) and submitted to the EMM through a more-or-less manual process. \n- For Android for Work Accounts customers, the process involves using Enterprises.generateSignupUrl and Enterprises.completeSignup in conjunction with the Android for Work Sign-up UI (Google-provided mechanism) to create the binding without manual steps. As an EMM, you can support either or both approaches in your EMM console. See Create an Enterprise for details.",
|
||||
"description": "An Enterprises resource represents the binding between an EMM and a specific organization. That binding can be instantiated in one of two different ways using this API as follows: \n- For Google managed domain customers, the process involves using Enterprises.enroll and Enterprises.setAccount (in conjunction with artifacts obtained from the Admin console and the Google API Console) and submitted to the EMM through a more-or-less manual process. \n- For managed Google Play Accounts customers, the process involves using Enterprises.generateSignupUrl and Enterprises.completeSignup in conjunction with the managed Google Play sign-up UI (Google-provided mechanism) to create the binding without manual steps. As an EMM, you can support either or both approaches in your EMM console. See Create an Enterprise for details.",
|
||||
"properties": {
|
||||
"administrator": {
|
||||
"type": "array",
|
||||
"description": "Administrators of the enterprise. This is only supported for enterprises created via the EMM-initiated flow.",
|
||||
"description": "Admins of the enterprise. This is only supported for enterprises created via the EMM-initiated flow.",
|
||||
"items": {
|
||||
"$ref": "Administrator"
|
||||
}
|
||||
@@ -519,7 +438,7 @@
|
||||
"Entitlement": {
|
||||
"id": "Entitlement",
|
||||
"type": "object",
|
||||
"description": "The existence of an entitlement resource means that a user has the right to use a particular app on any of their devices. This might be because the app is free or because they have been allocated a license to the app from a group license purchased by the enterprise.\n\nIt should always be true that a user has an app installed on one of their devices only if they have an entitlement to it. So if an entitlement is deleted, the app will be uninstalled from all devices. Similarly if the user installs an app (and is permitted to do so), or the EMM triggers an install of the app, an entitlement to that app is automatically created. If this is impossible - e.g. the enterprise has not purchased sufficient licenses - then installation fails.\n\nNote that entitlements are always user specific, not device specific; a user may have an entitlement even though they have not installed the app anywhere. Once they have an entitlement they can install the app on multiple devices.\n\nThe API can be used to create an entitlement. If the app is a free app, a group license for that app is created. If it's a paid app, creating the entitlement consumes one license; it remains consumed until the entitlement is removed. Optionally an installation of the app on all the user's managed devices can be triggered at the time the entitlement is created. An entitlement cannot be created for an app if the app requires permissions that the enterprise has not yet accepted.\n\nEntitlements for paid apps that are due to purchases by the user on a non-managed profile will have \"userPurchase\" as entitlement reason; those entitlements cannot be removed via the API.",
|
||||
"description": "The presence of an Entitlements resource indicates that a user has the right to use a particular app. Entitlements are user specific, not device specific. This allows a user with an entitlement to an app to install the app on all their devices. It's also possible for a user to hold an entitlement to an app without installing the app on any device.\n\nThe API can be used to create an entitlement. As an option, you can also use the API to trigger the installation of an app on all a user's managed devices at the same time the entitlement is created.\n\nIf the app is free, creating the entitlement also creates a group license for that app. For paid apps, creating the entitlement consumes one license, and that license remains consumed until the entitlement is removed. If the enterprise hasn't purchased enough licenses, then no entitlement is created and the installation fails. An entitlement is also not created for an app if the app requires permissions that the enterprise hasn't accepted.\n\nIf an entitlement is deleted, the app may be uninstalled from a user's device. As a best practice, uninstall the app by calling Installs.delete() before deleting the entitlement.\n\nEntitlements for apps that a user pays for on an unmanaged profile have \"userPurchase\" as the entitlement reason. These entitlements cannot be removed via the API.",
|
||||
"properties": {
|
||||
"kind": {
|
||||
"type": "string",
|
||||
@@ -528,11 +447,11 @@
|
||||
},
|
||||
"productId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the product that the entitlement is for, e.g. \"app:com.google.android.gm\"."
|
||||
"description": "The ID of the product that the entitlement is for. For example, \"app:com.google.android.gm\"."
|
||||
},
|
||||
"reason": {
|
||||
"type": "string",
|
||||
"description": "The reason for the entitlement, e.g. \"free\" for free apps. This is temporary, it will be replaced by the acquisition kind field of group licenses."
|
||||
"description": "The reason for the entitlement. For example, \"free\" for free apps. This property is temporary: it will be replaced by the acquisition kind field of group licenses."
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -562,11 +481,11 @@
|
||||
"properties": {
|
||||
"acquisitionKind": {
|
||||
"type": "string",
|
||||
"description": "How this group license was acquired. \"bulkPurchase\" means that this group license object was created because the enterprise purchased licenses for this product; this is \"free\" otherwise (for free products)."
|
||||
"description": "How this group license was acquired. \"bulkPurchase\" means that this Grouplicenses resource was created because the enterprise purchased licenses for this product; otherwise, the value is \"free\" (for free products)."
|
||||
},
|
||||
"approval": {
|
||||
"type": "string",
|
||||
"description": "Whether the product to which this group license relates is currently approved by the enterprise, as either \"approved\" or \"unapproved\". Products are approved when a group license is first created, but this approval may be revoked by an enterprise admin via Google Play. Unapproved products will not be visible to end users in collections and new entitlements to them should not normally be created."
|
||||
"description": "Whether the product to which this group license relates is currently approved by the enterprise. Products are approved when a group license is first created, but this approval may be revoked by an enterprise admin via Google Play. Unapproved products will not be visible to end users in collections, and new entitlements to them should not normally be created."
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
@@ -580,12 +499,16 @@
|
||||
},
|
||||
"numPurchased": {
|
||||
"type": "integer",
|
||||
"description": "The number of purchased licenses (possibly in multiple purchases). If this field is omitted then there is no limit on the number of licenses that can be provisioned (e.g. if the acquisition kind is \"free\").",
|
||||
"description": "The number of purchased licenses (possibly in multiple purchases). If this field is omitted, then there is no limit on the number of licenses that can be provisioned (for example, if the acquisition kind is \"free\").",
|
||||
"format": "int32"
|
||||
},
|
||||
"permissions": {
|
||||
"type": "string",
|
||||
"description": "The permission approval status of the product. This field is only set if the product is approved. Possible states are: \n- \"currentApproved\", the current set of permissions is approved, but additional permissions will require the administrator to reapprove the product (If the product was approved without specifying the approved permissions setting, then this is the default behavior.), \n- \"needsReapproval\", the product has unapproved permissions. No additional product licenses can be assigned until the product is reapproved, \n- \"allCurrentAndFutureApproved\", the current permissions are approved and any future permission updates will be automatically approved without administrator review."
|
||||
},
|
||||
"productId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the product that the license is for, e.g. \"app:com.google.android.gm\"."
|
||||
"description": "The ID of the product that the license is for. For example, \"app:com.google.android.gm\"."
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -630,7 +553,7 @@
|
||||
"Install": {
|
||||
"id": "Install",
|
||||
"type": "object",
|
||||
"description": "The existence of an install resource indicates that an app is installed on a particular device (or that an install is pending).\n\nThe API can be used to create an install resource using the update method. This triggers the actual install of the app on the device. If the user does not already have an entitlement for the app then an attempt is made to create one. If this fails (e.g. because the app is not free and there is no available license) then the creation of the install fails.\n\nThe API can also be used to update an installed app. If the update method is used on an existing install then the app will be updated to the latest available version.\n\nNote that it is not possible to force the installation of a specific version of an app; the version code is read-only.\n\nIf a user installs an app themselves (as permitted by the enterprise), then again an install resource and possibly an entitlement resource are automatically created.\n\nThe API can also be used to delete an install resource, which triggers the removal of the app from the device. Note that deleting an install does not automatically remove the corresponding entitlement, even if there are no remaining installs. The install resource will also be deleted if the user uninstalls the app themselves.",
|
||||
"description": "The existence of an Installs resource indicates that an app is installed on a particular device (or that an install is pending).\n\nThe API can be used to create an install resource using the update method. This triggers the actual install of the app on the device. If the user does not already have an entitlement for the app, then an attempt is made to create one. If this fails (for example, because the app is not free and there is no available license), then the creation of the install fails.\n\nThe API can also be used to update an installed app. If the update method is used on an existing install, then the app will be updated to the latest available version.\n\nNote that it is not possible to force the installation of a specific version of an app: the version code is read-only.\n\nIf a user installs an app themselves (as permitted by the enterprise), then again an install resource and possibly an entitlement resource are automatically created.\n\nThe API can also be used to delete an install resource, which triggers the removal of the app from the device. Note that deleting an install does not automatically remove the corresponding entitlement, even if there are no remaining installs. The install resource will also be deleted if the user uninstalls the app themselves.",
|
||||
"properties": {
|
||||
"installState": {
|
||||
"type": "string",
|
||||
@@ -643,7 +566,7 @@
|
||||
},
|
||||
"productId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the product that the install is for, e.g. \"app:com.google.android.gm\"."
|
||||
"description": "The ID of the product that the install is for. For example, \"app:com.google.android.gm\"."
|
||||
},
|
||||
"versionCode": {
|
||||
"type": "integer",
|
||||
@@ -830,6 +753,25 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"NewDeviceEvent": {
|
||||
"id": "NewDeviceEvent",
|
||||
"type": "object",
|
||||
"description": "An event generated when a new device is ready to be managed.",
|
||||
"properties": {
|
||||
"deviceId": {
|
||||
"type": "string",
|
||||
"description": "The Android ID of the device. This field will always be present."
|
||||
},
|
||||
"managementType": {
|
||||
"type": "string",
|
||||
"description": "Identifies the extent to which the device is controlled by an Android EMM in various deployment configurations.\n\nPossible values include: \n- \"managedDevice\", a device where the DPC is set as device owner, \n- \"managedProfile\", a device where the DPC is set as profile owner."
|
||||
},
|
||||
"userId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the user. This field will always be present."
|
||||
}
|
||||
}
|
||||
},
|
||||
"NewPermissionsEvent": {
|
||||
"id": "NewPermissionsEvent",
|
||||
"type": "object",
|
||||
@@ -876,10 +818,18 @@
|
||||
"$ref": "InstallFailureEvent",
|
||||
"description": "Notifications about an app installation failure."
|
||||
},
|
||||
"newDeviceEvent": {
|
||||
"$ref": "NewDeviceEvent",
|
||||
"description": "Notifications about new devices."
|
||||
},
|
||||
"newPermissionsEvent": {
|
||||
"$ref": "NewPermissionsEvent",
|
||||
"description": "Notifications about new app permissions."
|
||||
},
|
||||
"notificationType": {
|
||||
"type": "string",
|
||||
"description": "Type of the notification."
|
||||
},
|
||||
"productApprovalEvent": {
|
||||
"$ref": "ProductApprovalEvent",
|
||||
"description": "Notifications about changes to a product's approval status."
|
||||
@@ -939,11 +889,11 @@
|
||||
"Permission": {
|
||||
"id": "Permission",
|
||||
"type": "object",
|
||||
"description": "A permission represents some extra capability, to be granted to an Android app, which requires explicit consent. An enterprise admin must consent to these permissions on behalf of their users before an entitlement for the app can be created.\n\nThe permissions collection is read-only. The information provided for each permission (localized name and description) is intended to be used in the EMM user interface when obtaining consent from the enterprise.",
|
||||
"description": "A Permissions resource represents some extra capability, to be granted to an Android app, which requires explicit consent. An enterprise admin must consent to these permissions on behalf of their users before an entitlement for the app can be created.\n\nThe permissions collection is read-only. The information provided for each permission (localized name and description) is intended to be used in the MDM user interface when obtaining consent from the enterprise.",
|
||||
"properties": {
|
||||
"description": {
|
||||
"type": "string",
|
||||
"description": "A longer description of the permissions giving more details of what it affects."
|
||||
"description": "A longer description of the Permissions resource, giving more details of what it affects."
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
@@ -963,7 +913,7 @@
|
||||
"Product": {
|
||||
"id": "Product",
|
||||
"type": "object",
|
||||
"description": "A Products resource represents an app in the Google Play Store that is available to at least some users in the enterprise. (Some apps are restricted to a single enterprise, and no information about them is made available outside that enterprise.)\n\nThe information provided for each product (localized name, icon, link to the full Google Play details page) is intended to allow a basic representation of the product within an EMM user interface.",
|
||||
"description": "A Products resource represents an app in the Google Play store that is available to at least some users in the enterprise. (Some apps are restricted to a single enterprise, and no information about them is made available outside that enterprise.)\n\nThe information provided for each product (localized name, icon, link to the full Google Play details page) is intended to allow a basic representation of the product within an EMM user interface.",
|
||||
"properties": {
|
||||
"appVersion": {
|
||||
"type": "array",
|
||||
@@ -974,7 +924,7 @@
|
||||
},
|
||||
"authorName": {
|
||||
"type": "string",
|
||||
"description": "The name of the author of the product (e.g. the app developer)."
|
||||
"description": "The name of the author of the product (for example, the app developer)."
|
||||
},
|
||||
"detailsUrl": {
|
||||
"type": "string",
|
||||
@@ -982,7 +932,7 @@
|
||||
},
|
||||
"distributionChannel": {
|
||||
"type": "string",
|
||||
"description": "How and to whom the package is made available. The value publicGoogleHosted means that the package is available through the Play Store and not restricted to a specific enterprise. The value privateGoogleHosted means that the package is a private app (restricted to an enterprise) but hosted by Google. The value privateSelfHosted means that the package is a private app (restricted to an enterprise) and is privately hosted."
|
||||
"description": "How and to whom the package is made available. The value publicGoogleHosted means that the package is available through the Play store and not restricted to a specific enterprise. The value privateGoogleHosted means that the package is a private app (restricted to an enterprise) but hosted by Google. The value privateSelfHosted means that the package is a private app (restricted to an enterprise) and is privately hosted."
|
||||
},
|
||||
"iconUrl": {
|
||||
"type": "string",
|
||||
@@ -1003,7 +953,7 @@
|
||||
},
|
||||
"requiresContainerApp": {
|
||||
"type": "boolean",
|
||||
"description": "Whether this app can only be installed on devices using the Android for Work container app."
|
||||
"description": "Deprecated."
|
||||
},
|
||||
"smallIconUrl": {
|
||||
"type": "string",
|
||||
@@ -1015,7 +965,7 @@
|
||||
},
|
||||
"workDetailsUrl": {
|
||||
"type": "string",
|
||||
"description": "A link to the Google Play for Work details page for the product, for use by an Enterprise administrator."
|
||||
"description": "A link to the managed Google Play details page for the product, for use by an Enterprise admin."
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1079,11 +1029,6 @@
|
||||
"description": "The permissions required by the app.",
|
||||
"items": {
|
||||
"$ref": "ProductPermission"
|
||||
},
|
||||
"annotations": {
|
||||
"required": [
|
||||
"androidenterprise.products.updatePermissions"
|
||||
]
|
||||
}
|
||||
},
|
||||
"productId": {
|
||||
@@ -1111,7 +1056,7 @@
|
||||
},
|
||||
"productSetBehavior": {
|
||||
"type": "string",
|
||||
"description": "The interpretation of this product set. \"unknown\" should never be sent and ignored if received. \"whitelist\" means that this product set constitutes a whitelist. \"includeAll\" means that all products are accessible, including products that are approved, not approved, and even products where approval has been revoked. If the value is \"includeAll\", the value of the productId field is therefore ignored. If a value is not supplied, it is interpreted to be \"whitelist\" for backwards compatibility."
|
||||
"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."
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1122,6 +1067,10 @@
|
||||
"approvalUrlInfo": {
|
||||
"$ref": "ApprovalUrlInfo",
|
||||
"description": "The approval URL that was shown to the user. Only the permissions shown to the user with that URL will be accepted, which may not be the product's entire set of permissions. For example, the URL may only display new permissions from an update after the product was approved, or not include new permissions if the product was updated since the URL was generated."
|
||||
},
|
||||
"approvedPermissions": {
|
||||
"type": "string",
|
||||
"description": "Sets how new permission requests for the product are handled. \"allPermissions\" automatically approves all current and future permissions for the product. \"currentPermissionsOnly\" approves the current set of permissions for the product, but any future permissions added through updates will require manual reapproval. If not specified, only the current set of permissions will be approved."
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1151,7 +1100,7 @@
|
||||
},
|
||||
"product": {
|
||||
"type": "array",
|
||||
"description": "Information about a product (e.g. an app) in the Google Play Store, for display to an enterprise admin.",
|
||||
"description": "Information about a product (e.g. an app) in the Google Play store, for display to an enterprise admin.",
|
||||
"items": {
|
||||
"$ref": "Product"
|
||||
}
|
||||
@@ -1251,7 +1200,7 @@
|
||||
"StoreCluster": {
|
||||
"id": "StoreCluster",
|
||||
"type": "object",
|
||||
"description": "Definition of a Google Play for Work store cluster, a list of products displayed as part of a store page.",
|
||||
"description": "Definition of a managed Google Play store cluster, a list of products displayed as part of a store page.",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
@@ -1285,11 +1234,11 @@
|
||||
"StoreLayout": {
|
||||
"id": "StoreLayout",
|
||||
"type": "object",
|
||||
"description": "General setting for the Google Play for Work store layout, currently only specifying the page to display the first time the store is opened.",
|
||||
"description": "General setting for the managed Google Play store layout, currently only specifying the page to display the first time the store is opened.",
|
||||
"properties": {
|
||||
"homepageId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the store page to be used as the homepage. The homepage will be used as the first page shown in the Google Play for Work store.\n\nIf a homepage has not been set, the Play store shown on devices will be empty. Not specifying a homepage on a store layout effectively empties the store.\n\nIf there exists at least one page, this field must be set to the ID of a valid page."
|
||||
"description": "The ID of the store page to be used as the homepage. The homepage is the first page shown in the managed Google Play Store.\n\nNot specifying a homepage is equivalent to setting the store layout type to \"basic\"."
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
@@ -1298,7 +1247,7 @@
|
||||
},
|
||||
"storeLayoutType": {
|
||||
"type": "string",
|
||||
"description": "The store layout type. By default, this value is set to \"basic\". If set to \"custom\", \"homepageId\" must be specified. If set to \"basic\", the layout will consist of all approved apps accessible by the user, split in pages of 100 each; in this case, \"homepageId\" must not be specified. The \"basic\" setting takes precedence over any existing collections setup for this enterprise (if any). Should the enterprise use collectionViewers for controlling access rights, these will still be respected."
|
||||
"description": "The store layout type. By default, this value is set to \"basic\" if the homepageId field is not set, and to \"custom\" otherwise. If set to \"basic\", the layout will consist of all approved apps that have been whitelisted for the user."
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1343,7 +1292,7 @@
|
||||
"StorePage": {
|
||||
"id": "StorePage",
|
||||
"type": "object",
|
||||
"description": "Definition of a Google Play for Work store page, made of a localized name and links to other pages. A page also contains clusters defined as a subcollection.",
|
||||
"description": "Definition of a managed Google Play store page, made of a localized name and links to other pages. A page also contains clusters defined as a subcollection.",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
@@ -1385,7 +1334,7 @@
|
||||
"User": {
|
||||
"id": "User",
|
||||
"type": "object",
|
||||
"description": "A Users resource represents an account associated with an enterprise. The account may be specific to a device or to an individual user (who can then use the account across multiple devices). The account may provide access to Google Play for Work only, or to other Google services, depending on the identity model: \n- Google managed domain identity model requires synchronization to Google account sources (via primaryEmail). \n- Android for Work Accounts identity model provides a dynamic means for enterprises to create user or device accounts as needed. These accounts provide access to Google Play for Work only.",
|
||||
"description": "A Users resource represents an account associated with an enterprise. The account may be specific to a device or to an individual user (who can then use the account across multiple devices). The account may provide access to managed Google Play only, or to other Google services, depending on the identity model: \n- The Google managed domain identity model requires synchronization to Google account sources (via primaryEmail). \n- The managed Google Play Accounts identity model provides a dynamic means for enterprises to create user or device accounts as needed. These accounts provide access to managed Google Play.",
|
||||
"properties": {
|
||||
"accountIdentifier": {
|
||||
"type": "string",
|
||||
@@ -1431,7 +1380,7 @@
|
||||
"UserToken": {
|
||||
"id": "UserToken",
|
||||
"type": "object",
|
||||
"description": "A UserToken is used by a user when setting up a managed device or profile with their work account on a device. When the user enters their email address and token (activation code) the appropriate EMM app can be automatically downloaded.",
|
||||
"description": "A UserToken is used by a user when setting up a managed device or profile with their managed Google Play account on a device. When the user enters their email address and token (activation code) the appropriate EMM app can be automatically downloaded.",
|
||||
"properties": {
|
||||
"kind": {
|
||||
"type": "string",
|
||||
@@ -1469,367 +1418,6 @@
|
||||
}
|
||||
},
|
||||
"resources": {
|
||||
"collections": {
|
||||
"methods": {
|
||||
"delete": {
|
||||
"id": "androidenterprise.collections.delete",
|
||||
"path": "enterprises/{enterpriseId}/collections/{collectionId}",
|
||||
"httpMethod": "DELETE",
|
||||
"description": "Deletes a collection.",
|
||||
"parameters": {
|
||||
"collectionId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the collection.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"enterpriseId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the enterprise.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"enterpriseId",
|
||||
"collectionId"
|
||||
],
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/androidenterprise"
|
||||
]
|
||||
},
|
||||
"get": {
|
||||
"id": "androidenterprise.collections.get",
|
||||
"path": "enterprises/{enterpriseId}/collections/{collectionId}",
|
||||
"httpMethod": "GET",
|
||||
"description": "Retrieves the details of a collection.",
|
||||
"parameters": {
|
||||
"collectionId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the collection.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"enterpriseId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the enterprise.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"enterpriseId",
|
||||
"collectionId"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "Collection"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/androidenterprise"
|
||||
]
|
||||
},
|
||||
"insert": {
|
||||
"id": "androidenterprise.collections.insert",
|
||||
"path": "enterprises/{enterpriseId}/collections",
|
||||
"httpMethod": "POST",
|
||||
"description": "Creates a new collection.",
|
||||
"parameters": {
|
||||
"enterpriseId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the enterprise.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"enterpriseId"
|
||||
],
|
||||
"request": {
|
||||
"$ref": "Collection"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "Collection"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/androidenterprise"
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"id": "androidenterprise.collections.list",
|
||||
"path": "enterprises/{enterpriseId}/collections",
|
||||
"httpMethod": "GET",
|
||||
"description": "Retrieves the IDs of all the collections for an enterprise.",
|
||||
"parameters": {
|
||||
"enterpriseId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the enterprise.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"enterpriseId"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "CollectionsListResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/androidenterprise"
|
||||
]
|
||||
},
|
||||
"patch": {
|
||||
"id": "androidenterprise.collections.patch",
|
||||
"path": "enterprises/{enterpriseId}/collections/{collectionId}",
|
||||
"httpMethod": "PATCH",
|
||||
"description": "Updates a collection. This method supports patch semantics.",
|
||||
"parameters": {
|
||||
"collectionId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the collection.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"enterpriseId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the enterprise.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"enterpriseId",
|
||||
"collectionId"
|
||||
],
|
||||
"request": {
|
||||
"$ref": "Collection"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "Collection"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/androidenterprise"
|
||||
]
|
||||
},
|
||||
"update": {
|
||||
"id": "androidenterprise.collections.update",
|
||||
"path": "enterprises/{enterpriseId}/collections/{collectionId}",
|
||||
"httpMethod": "PUT",
|
||||
"description": "Updates a collection.",
|
||||
"parameters": {
|
||||
"collectionId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the collection.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"enterpriseId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the enterprise.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"enterpriseId",
|
||||
"collectionId"
|
||||
],
|
||||
"request": {
|
||||
"$ref": "Collection"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "Collection"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/androidenterprise"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"collectionviewers": {
|
||||
"methods": {
|
||||
"delete": {
|
||||
"id": "androidenterprise.collectionviewers.delete",
|
||||
"path": "enterprises/{enterpriseId}/collections/{collectionId}/users/{userId}",
|
||||
"httpMethod": "DELETE",
|
||||
"description": "Removes the user from the list of those specifically allowed to see the collection. If the collection's visibility is set to viewersOnly then only such users will see the collection.",
|
||||
"parameters": {
|
||||
"collectionId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the collection.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"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",
|
||||
"collectionId",
|
||||
"userId"
|
||||
],
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/androidenterprise"
|
||||
]
|
||||
},
|
||||
"get": {
|
||||
"id": "androidenterprise.collectionviewers.get",
|
||||
"path": "enterprises/{enterpriseId}/collections/{collectionId}/users/{userId}",
|
||||
"httpMethod": "GET",
|
||||
"description": "Retrieves the ID of the user if they have been specifically allowed to see the collection. If the collection's visibility is set to viewersOnly then only these users will see the collection.",
|
||||
"parameters": {
|
||||
"collectionId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the collection.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"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",
|
||||
"collectionId",
|
||||
"userId"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "User"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/androidenterprise"
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"id": "androidenterprise.collectionviewers.list",
|
||||
"path": "enterprises/{enterpriseId}/collections/{collectionId}/users",
|
||||
"httpMethod": "GET",
|
||||
"description": "Retrieves the IDs of the users who have been specifically allowed to see the collection. If the collection's visibility is set to viewersOnly then only these users will see the collection.",
|
||||
"parameters": {
|
||||
"collectionId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the collection.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"enterpriseId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the enterprise.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"enterpriseId",
|
||||
"collectionId"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "CollectionViewersListResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/androidenterprise"
|
||||
]
|
||||
},
|
||||
"patch": {
|
||||
"id": "androidenterprise.collectionviewers.patch",
|
||||
"path": "enterprises/{enterpriseId}/collections/{collectionId}/users/{userId}",
|
||||
"httpMethod": "PATCH",
|
||||
"description": "Adds the user to the list of those specifically allowed to see the collection. If the collection's visibility is set to viewersOnly then only such users will see the collection. This method supports patch semantics.",
|
||||
"parameters": {
|
||||
"collectionId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the collection.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"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",
|
||||
"collectionId",
|
||||
"userId"
|
||||
],
|
||||
"request": {
|
||||
"$ref": "User"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "User"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/androidenterprise"
|
||||
]
|
||||
},
|
||||
"update": {
|
||||
"id": "androidenterprise.collectionviewers.update",
|
||||
"path": "enterprises/{enterpriseId}/collections/{collectionId}/users/{userId}",
|
||||
"httpMethod": "PUT",
|
||||
"description": "Adds the user to the list of those specifically allowed to see the collection. If the collection's visibility is set to viewersOnly then only such users will see the collection.",
|
||||
"parameters": {
|
||||
"collectionId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the collection.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"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",
|
||||
"collectionId",
|
||||
"userId"
|
||||
],
|
||||
"request": {
|
||||
"$ref": "User"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "User"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/androidenterprise"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"devices": {
|
||||
"methods": {
|
||||
"get": {
|
||||
@@ -2024,7 +1612,7 @@
|
||||
"id": "androidenterprise.enterprises.createWebToken",
|
||||
"path": "enterprises/{enterpriseId}/createWebToken",
|
||||
"httpMethod": "POST",
|
||||
"description": "Returns a unique token to access an embeddable UI. To generate a web UI, pass the generated token into the Play for Work javascript API. Each token may only be used to start one UI session. See the javascript API documentation for further information.",
|
||||
"description": "Returns a unique token to access an embeddable UI. To generate a web UI, pass the generated token into the managed Google Play javascript API. Each token may only be used to start one UI session. See the javascript API documentation for further information.",
|
||||
"parameters": {
|
||||
"enterpriseId": {
|
||||
"type": "string",
|
||||
@@ -2050,7 +1638,7 @@
|
||||
"id": "androidenterprise.enterprises.delete",
|
||||
"path": "enterprises/{enterpriseId}",
|
||||
"httpMethod": "DELETE",
|
||||
"description": "Deletes the binding between the EMM and enterprise. This is now deprecated; use this to unenroll customers that were previously enrolled with the 'insert' call, then enroll them again with the 'enroll' call.",
|
||||
"description": "Deletes the binding between the EMM and enterprise. This is now deprecated. Use this method only to unenroll customers that were previously enrolled with the insert call, then enroll them again with the enroll call.",
|
||||
"parameters": {
|
||||
"enterpriseId": {
|
||||
"type": "string",
|
||||
@@ -2174,7 +1762,7 @@
|
||||
"id": "androidenterprise.enterprises.getStoreLayout",
|
||||
"path": "enterprises/{enterpriseId}/storeLayout",
|
||||
"httpMethod": "GET",
|
||||
"description": "Returns the store layout for the enterprise. If the store layout has not been set, or if the store layout has no homepageId set, returns a NOT_FOUND error.",
|
||||
"description": "Returns the store layout for the enterprise. If the store layout has not been set, returns \"basic\" as the store layout type and no homepage.",
|
||||
"parameters": {
|
||||
"enterpriseId": {
|
||||
"type": "string",
|
||||
@@ -2246,7 +1834,7 @@
|
||||
"id": "androidenterprise.enterprises.pullNotificationSet",
|
||||
"path": "enterprises/pullNotificationSet",
|
||||
"httpMethod": "POST",
|
||||
"description": "Pulls and returns a notification set for the enterprises associated with the service account authenticated for the request. The notification set may be empty if no notification are pending.\nA notification set returned needs to be acknowledged within 20 seconds by calling Enterprises\u200b.AcknowledgeNotificationSet, unless the notification set is empty.\nNotifications that are not acknowledged within the 20 seconds will eventually be included again in the response to another PullNotificationSet request, and those that are never acknowledged will ultimately be deleted according to the Google Cloud Platform Pub/Sub system policy.\nMultiple requests might be performed concurrently to retrieve notifications, in which case the pending notifications (if any) will be split among each caller, if any are pending.\nIf no notifications are present, an empty notification list is returned. Subsequent requests may return more notifications once they become available.",
|
||||
"description": "Pulls and returns a notification set for the enterprises associated with the service account authenticated for the request. The notification set may be empty if no notification are pending.\nA notification set returned needs to be acknowledged within 20 seconds by calling Enterprises.AcknowledgeNotificationSet, unless the notification set is empty.\nNotifications that are not acknowledged within the 20 seconds will eventually be included again in the response to another PullNotificationSet request, and those that are never acknowledged will ultimately be deleted according to the Google Cloud Platform Pub/Sub system policy.\nMultiple requests might be performed concurrently to retrieve notifications, in which case the pending notifications (if any) will be split among each caller, if any are pending.\nIf no notifications are present, an empty notification list is returned. Subsequent requests may return more notifications once they become available.",
|
||||
"parameters": {
|
||||
"requestMode": {
|
||||
"type": "string",
|
||||
@@ -2296,7 +1884,7 @@
|
||||
"id": "androidenterprise.enterprises.setAccount",
|
||||
"path": "enterprises/{enterpriseId}/account",
|
||||
"httpMethod": "PUT",
|
||||
"description": "Set the account that will be used to authenticate to the API as the enterprise.",
|
||||
"description": "Sets the account that will be used to authenticate to the API as the enterprise.",
|
||||
"parameters": {
|
||||
"enterpriseId": {
|
||||
"type": "string",
|
||||
@@ -2322,7 +1910,7 @@
|
||||
"id": "androidenterprise.enterprises.setStoreLayout",
|
||||
"path": "enterprises/{enterpriseId}/storeLayout",
|
||||
"httpMethod": "PUT",
|
||||
"description": "Sets the store layout for the enterprise. By default, storeLayoutType is set to \"basic\" and the basic store layout is enabled. The basic layout only contains apps approved by the administrator, and that have been added to the available product set for a user (using the setAvailableProductSet call). Apps on the page are sorted in order of their product ID value. If you create a custom store layout (by setting storeLayoutType = \"custom\"), the basic store layout is disabled.",
|
||||
"description": "Sets the store layout for the enterprise. By default, storeLayoutType is set to \"basic\" and the basic store layout is enabled. The basic layout only contains apps approved by the admin, and that have been added to the available product set for a user (using the setAvailableProductSet call). Apps on the page are sorted in order of their product ID value. If you create a custom store layout (by setting storeLayoutType = \"custom\" and setting a homepage), the basic store layout is disabled.",
|
||||
"parameters": {
|
||||
"enterpriseId": {
|
||||
"type": "string",
|
||||
@@ -2372,7 +1960,7 @@
|
||||
"id": "androidenterprise.entitlements.delete",
|
||||
"path": "enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}",
|
||||
"httpMethod": "DELETE",
|
||||
"description": "Removes an entitlement to an app for a user and uninstalls it.",
|
||||
"description": "Removes an entitlement to an app for a user.",
|
||||
"parameters": {
|
||||
"enterpriseId": {
|
||||
"type": "string",
|
||||
@@ -2443,7 +2031,7 @@
|
||||
"id": "androidenterprise.entitlements.list",
|
||||
"path": "enterprises/{enterpriseId}/users/{userId}/entitlements",
|
||||
"httpMethod": "GET",
|
||||
"description": "List of all entitlements for the specified user. Only the ID is set.",
|
||||
"description": "Lists all entitlements for the specified user. Only the ID is set.",
|
||||
"parameters": {
|
||||
"enterpriseId": {
|
||||
"type": "string",
|
||||
@@ -2780,7 +2368,7 @@
|
||||
"id": "androidenterprise.installs.patch",
|
||||
"path": "enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}",
|
||||
"httpMethod": "PATCH",
|
||||
"description": "Requests to install the latest version of an app to a device. If the app is already installed then it is updated to the latest version if necessary. This method supports patch semantics.",
|
||||
"description": "Requests to install the latest version of an app to a device. If the app is already installed, then it is updated to the latest version if necessary. This method supports patch semantics.",
|
||||
"parameters": {
|
||||
"deviceId": {
|
||||
"type": "string",
|
||||
@@ -2827,7 +2415,7 @@
|
||||
"id": "androidenterprise.installs.update",
|
||||
"path": "enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}",
|
||||
"httpMethod": "PUT",
|
||||
"description": "Requests to install the latest version of an app to a device. If the app is already installed then it is updated to the latest version if necessary.",
|
||||
"description": "Requests to install the latest version of an app to a device. If the app is already installed, then it is updated to the latest version if necessary.",
|
||||
"parameters": {
|
||||
"deviceId": {
|
||||
"type": "string",
|
||||
@@ -3315,7 +2903,7 @@
|
||||
"id": "androidenterprise.products.approve",
|
||||
"path": "enterprises/{enterpriseId}/products/{productId}/approve",
|
||||
"httpMethod": "POST",
|
||||
"description": "Approves the specified product and the relevant app permissions, if any. The maximum number of products that you can approve per enterprise customer is 1,000.\n\nTo learn how to use Google Play for Work to design and create a store layout to display approved products to your users, see Store Layout Design.",
|
||||
"description": "Approves the specified product and the relevant app permissions, if any. The maximum number of products that you can approve per enterprise customer is 1,000.\n\nTo learn how to use managed Google Play to design and create a store layout to display approved products to your users, see Store Layout Design.",
|
||||
"parameters": {
|
||||
"enterpriseId": {
|
||||
"type": "string",
|
||||
@@ -3415,7 +3003,7 @@
|
||||
"id": "androidenterprise.products.getAppRestrictionsSchema",
|
||||
"path": "enterprises/{enterpriseId}/products/{productId}/appRestrictionsSchema",
|
||||
"httpMethod": "GET",
|
||||
"description": "Retrieves the schema that defines the configurable properties for this product. All products have a schema, but this schema may be empty if no managed configurations have been defined. This schema can be used to populate a UI that allows an administrator to configure the product. To apply a managed configuration based on the schema obtained using this API, see Managed Configurations through Play.",
|
||||
"description": "Retrieves the schema that defines the configurable properties for this product. All products have a schema, but this schema may be empty if no managed configurations have been defined. This schema can be used to populate a UI that allows an admin to configure the product. To apply a managed configuration based on the schema obtained using this API, see Managed Configurations through Play.",
|
||||
"parameters": {
|
||||
"enterpriseId": {
|
||||
"type": "string",
|
||||
@@ -3506,12 +3094,12 @@
|
||||
},
|
||||
"query": {
|
||||
"type": "string",
|
||||
"description": "The search query as typed in the Google Play Store search box. If omitted, all approved apps will be returned (using the pagination parameters), including apps that are not available in the store (e.g. unpublished apps).",
|
||||
"description": "The search query as typed in the Google Play store search box. If omitted, all approved apps will be returned (using the pagination parameters), including apps that are not available in the store (e.g. unpublished apps).",
|
||||
"location": "query"
|
||||
},
|
||||
"token": {
|
||||
"type": "string",
|
||||
"description": "A pagination token is contained in a request\u0092s response when there are more products. The token can be used in a subsequent request to obtain more products, and so forth. This parameter cannot be used in the initial request.",
|
||||
"description": "A pagination token is contained in a request''s response when there are more products. The token can be used in a subsequent request to obtain more products, and so forth. This parameter cannot be used in the initial request.",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
@@ -3551,39 +3139,6 @@
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/androidenterprise"
|
||||
]
|
||||
},
|
||||
"updatePermissions": {
|
||||
"id": "androidenterprise.products.updatePermissions",
|
||||
"path": "enterprises/{enterpriseId}/products/{productId}/permissions",
|
||||
"httpMethod": "PUT",
|
||||
"description": "This method has been deprecated. To programmatically approve applications, you must use the iframe mechanism via the generateApprovalUrl and approve methods of the Products resource. For more information, see the Play EMM API usage requirements.\n\nThe updatePermissions method (deprecated) updates the set of Android app permissions for this app that have been accepted by the enterprise.",
|
||||
"parameters": {
|
||||
"enterpriseId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the enterprise.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"productId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the product.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"enterpriseId",
|
||||
"productId"
|
||||
],
|
||||
"request": {
|
||||
"$ref": "ProductPermissions"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "ProductPermissions"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/androidenterprise"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -4124,7 +3679,7 @@
|
||||
"id": "androidenterprise.users.generateToken",
|
||||
"path": "enterprises/{enterpriseId}/users/{userId}/token",
|
||||
"httpMethod": "POST",
|
||||
"description": "Generates a token (activation code) to allow this user to configure their work account in the Android Setup Wizard. Revokes any previously generated token.\n\nThis call only works with Google managed accounts.",
|
||||
"description": "Generates a token (activation code) to allow this user to configure their managed account in the Android Setup Wizard. Revokes any previously generated token.\n\nThis call only works with Google managed accounts.",
|
||||
"parameters": {
|
||||
"enterpriseId": {
|
||||
"type": "string",
|
||||
@@ -4330,7 +3885,7 @@
|
||||
"id": "androidenterprise.users.setAvailableProductSet",
|
||||
"path": "enterprises/{enterpriseId}/users/{userId}/availableProductSet",
|
||||
"httpMethod": "PUT",
|
||||
"description": "Modifies the set of products a user is entitled to access.",
|
||||
"description": "Modifies the set of products that a user is entitled to access (referred to as whitelisted products). Only products that are approved or products that were previously approved (products with revoked approval) can be whitelisted.",
|
||||
"parameters": {
|
||||
"enterpriseId": {
|
||||
"type": "string",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/uePHydzmUhZLWLtyPJ_GHjROU1A\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/BgmM1OT-KHhvjiDWu7WvxnqRVeE\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "androidpublisher:v1.1",
|
||||
"name": "androidpublisher",
|
||||
"canonicalName": "Android Publisher",
|
||||
"version": "v1.1",
|
||||
"revision": "20161212",
|
||||
"revision": "20170425",
|
||||
"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": "\"tbys6C40o18GZwyMen5GMkdK-3s/u6dk5tV6sEWmibYvR51NT009Z2c\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/EHPUFMgwVHTdOk4cp40HksrOITo\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "androidpublisher:v1",
|
||||
"name": "androidpublisher",
|
||||
"canonicalName": "Android Publisher",
|
||||
"version": "v1",
|
||||
"revision": "20161212",
|
||||
"revision": "20170425",
|
||||
"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": "\"tbys6C40o18GZwyMen5GMkdK-3s/PcoD2XCBeKQPYDG0dclnfJ5T-Ho\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/dYMiE8hKqa-VooV0hGawF9oUXnw\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "androidpublisher:v2",
|
||||
"name": "androidpublisher",
|
||||
"canonicalName": "Android Publisher",
|
||||
"version": "v2",
|
||||
"revision": "20161212",
|
||||
"revision": "20170425",
|
||||
"title": "Google Play Developer API",
|
||||
"description": "Lets Android application developers access their Google Play accounts.",
|
||||
"ownerDomain": "google.com",
|
||||
@@ -1016,6 +1016,11 @@
|
||||
"type": "string",
|
||||
"description": "Time at which the subscription was granted, in milliseconds since the Epoch.",
|
||||
"format": "int64"
|
||||
},
|
||||
"userCancellationTimeMillis": {
|
||||
"type": "string",
|
||||
"description": "The time at which the subscription was canceled by the user, in milliseconds since the epoch. Only present if cancelReason is 0.",
|
||||
"format": "int64"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1183,7 +1188,7 @@
|
||||
"VoidedPurchase": {
|
||||
"id": "VoidedPurchase",
|
||||
"type": "object",
|
||||
"description": "A VoidedPurchase resource indicates the purchase was either cancelled/refunded/charged-back.",
|
||||
"description": "A VoidedPurchase resource indicates a purchase that was either cancelled/refunded/charged-back.",
|
||||
"properties": {
|
||||
"kind": {
|
||||
"type": "string",
|
||||
@@ -1192,16 +1197,16 @@
|
||||
},
|
||||
"purchaseTimeMillis": {
|
||||
"type": "string",
|
||||
"description": "The time the purchase was made, in milliseconds since the epoch (Jan 1, 1970).",
|
||||
"description": "The time at which the purchase was made, in milliseconds since the epoch (Jan 1, 1970).",
|
||||
"format": "int64"
|
||||
},
|
||||
"purchaseToken": {
|
||||
"type": "string",
|
||||
"description": "The token that was generated when a purchase was made and uniquely identifies a purchase."
|
||||
"description": "The token that was generated when a purchase was made. This uniquely identifies a purchase."
|
||||
},
|
||||
"voidedTimeMillis": {
|
||||
"type": "string",
|
||||
"description": "The time when the purchase was cancelled/refunded/chargeback, in milliseconds since the epoch (Jan 1, 1970).",
|
||||
"description": "The time at which the purchase was cancelled/refunded/charged-back, in milliseconds since the epoch (Jan 1, 1970).",
|
||||
"format": "int64"
|
||||
}
|
||||
}
|
||||
@@ -3486,7 +3491,7 @@
|
||||
"parameters": {
|
||||
"endTime": {
|
||||
"type": "string",
|
||||
"description": "The end time of list window, in milliseconds since the epoch (Jan 1, 1970). If not specified, default to current time, which is also the latest accepted end time. This parameter will be ignored if pagination token is set.",
|
||||
"description": "The time, in milliseconds since the Epoch, of the newest voided in-app product purchase that you want to see in the response. The value of this parameter cannot be greater than the current time and is ignored if a pagination token is set. Default value is current time.",
|
||||
"format": "int64",
|
||||
"location": "query"
|
||||
},
|
||||
@@ -3508,7 +3513,7 @@
|
||||
},
|
||||
"startTime": {
|
||||
"type": "string",
|
||||
"description": "The start time of list window, in milliseconds since the epoch (Jan 1, 1970). If not specified, default to current time - 30 days, which is also the earlies accepted start time. This parameter will be ignored if pagination token is set.",
|
||||
"description": "The time, in milliseconds since the Epoch, of the oldest voided in-app product purchase that you want to see in the response. The value of this parameter cannot be older than 30 days and is ignored if a pagination token is set. Default value is current time minus 30 days.",
|
||||
"format": "int64",
|
||||
"location": "query"
|
||||
},
|
||||
@@ -3570,7 +3575,7 @@
|
||||
"id": "androidpublisher.reviews.list",
|
||||
"path": "{packageName}/reviews",
|
||||
"httpMethod": "GET",
|
||||
"description": "Returns a list of reviews.",
|
||||
"description": "Returns a list of reviews. Only reviews from last week will be returned.",
|
||||
"parameters": {
|
||||
"maxResults": {
|
||||
"type": "integer",
|
||||
|
||||
@@ -59,6 +59,8 @@ api:
|
||||
- v2
|
||||
clouderrorreporting:
|
||||
- v1beta1
|
||||
cloudkms:
|
||||
- v1beta1
|
||||
cloudlatencytest:
|
||||
- v2
|
||||
cloudmonitoring:
|
||||
@@ -206,6 +208,8 @@ api:
|
||||
- v4
|
||||
script:
|
||||
- v1
|
||||
searchconsole:
|
||||
- v1
|
||||
servicecontrol:
|
||||
- v1
|
||||
servicemanagement:
|
||||
|
||||
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": "\"tbys6C40o18GZwyMen5GMkdK-3s/JeTIzxCSn99gVwop4eTRu5wI2HY\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/y29Ei9gfsS6BekrALyS-uw4tzTU\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "appsactivity:v1",
|
||||
"name": "appsactivity",
|
||||
"version": "v1",
|
||||
"revision": "20161202",
|
||||
"title": "Google Apps Activity API",
|
||||
"revision": "20170215",
|
||||
"title": "G Suite Activity API",
|
||||
"description": "Provides a historical view of activity.",
|
||||
"ownerDomain": "google.com",
|
||||
"ownerName": "Google",
|
||||
@@ -70,7 +70,7 @@
|
||||
"oauth2": {
|
||||
"scopes": {
|
||||
"https://www.googleapis.com/auth/activity": {
|
||||
"description": "View the activity history of your Google Apps"
|
||||
"description": "View the activity history of your Google apps"
|
||||
},
|
||||
"https://www.googleapis.com/auth/drive": {
|
||||
"description": "View and manage the files in your Google Drive"
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/zCuutgfn2bO8U3OEBc5yUB2So-0\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/FdkanktExV3oAOPPZT7FjY9Da58\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "appstate:v1",
|
||||
"name": "appstate",
|
||||
"canonicalName": "App State",
|
||||
"version": "v1",
|
||||
"revision": "20161207",
|
||||
"revision": "20170511",
|
||||
"title": "Google App State API",
|
||||
"description": "The Google App State API.",
|
||||
"ownerDomain": "google.com",
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/wyP_l3wPjLK3LUrJqeSGHNESSW0\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/g_G3eD_OgD8-ScdUNw6NbiklXmE\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "bigquery:v2",
|
||||
"name": "bigquery",
|
||||
"version": "v2",
|
||||
"revision": "20161130",
|
||||
"revision": "20170511",
|
||||
"title": "BigQuery API",
|
||||
"description": "A data platform for customers to create, manage, share and query data.",
|
||||
"ownerDomain": "google.com",
|
||||
@@ -281,7 +281,7 @@
|
||||
},
|
||||
"labels": {
|
||||
"type": "object",
|
||||
"description": "[Experimental] The labels associated with this dataset. You can use these to organize and group your datasets. You can set this property when inserting or updating a dataset. See Labeling Datasets for more information.",
|
||||
"description": "The labels associated with this dataset. You can use these to organize and group your datasets. You can set this property when inserting or updating a dataset. See Labeling Datasets for more information.",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
@@ -293,7 +293,7 @@
|
||||
},
|
||||
"location": {
|
||||
"type": "string",
|
||||
"description": "[Experimental] The geographic location where the dataset should reside. Possible values include EU and US. The default value is US."
|
||||
"description": "The geographic location where the dataset should reside. Possible values include EU and US. The default value is US."
|
||||
},
|
||||
"selfLink": {
|
||||
"type": "string",
|
||||
@@ -330,7 +330,7 @@
|
||||
},
|
||||
"labels": {
|
||||
"type": "object",
|
||||
"description": "[Experimental] The labels associated with this dataset. You can use these to organize and group your datasets.",
|
||||
"description": "The labels associated with this dataset. You can use these to organize and group your datasets.",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
@@ -442,6 +442,10 @@
|
||||
"description": "Number of records written by the stage.",
|
||||
"format": "int64"
|
||||
},
|
||||
"status": {
|
||||
"type": "string",
|
||||
"description": "Current status for the stage."
|
||||
},
|
||||
"steps": {
|
||||
"type": "array",
|
||||
"description": "List of operations within the stage in dependency order (approximately chronological).",
|
||||
@@ -494,7 +498,7 @@
|
||||
"properties": {
|
||||
"autodetect": {
|
||||
"type": "boolean",
|
||||
"description": "[Experimental] Try to detect schema and format options automatically. Any option specified explicitly will be honored."
|
||||
"description": "Try to detect schema and format options automatically. Any option specified explicitly will be honored."
|
||||
},
|
||||
"bigtableOptions": {
|
||||
"$ref": "BigtableOptions",
|
||||
@@ -527,7 +531,7 @@
|
||||
},
|
||||
"sourceFormat": {
|
||||
"type": "string",
|
||||
"description": "[Required] The data format. For CSV files, specify \"CSV\". For Google sheets, specify \"GOOGLE_SHEETS\". For newline-delimited JSON, specify \"NEWLINE_DELIMITED_JSON\". For Avro files, specify \"AVRO\". For Google Cloud Datastore backups, specify \"DATASTORE_BACKUP\". [Experimental] For Google Cloud Bigtable, specify \"BIGTABLE\". Please note that reading from Google Cloud Bigtable is experimental and has to be enabled for your project. Please contact Google Cloud Support to enable this for your project."
|
||||
"description": "[Required] The data format. For CSV files, specify \"CSV\". For Google sheets, specify \"GOOGLE_SHEETS\". For newline-delimited JSON, specify \"NEWLINE_DELIMITED_JSON\". For Avro files, specify \"AVRO\". For Google Cloud Datastore backups, specify \"DATASTORE_BACKUP\". [Beta] For Google Cloud Bigtable, specify \"BIGTABLE\"."
|
||||
},
|
||||
"sourceUris": {
|
||||
"type": "array",
|
||||
@@ -572,7 +576,7 @@
|
||||
},
|
||||
"numDmlAffectedRows": {
|
||||
"type": "string",
|
||||
"description": "[Output-only, Experimental] The number of rows affected by a DML statement. Present only for DML statements INSERT, UPDATE or DELETE.",
|
||||
"description": "[Output-only] The number of rows affected by a DML statement. Present only for DML statements INSERT, UPDATE or DELETE.",
|
||||
"format": "int64"
|
||||
},
|
||||
"pageToken": {
|
||||
@@ -689,7 +693,7 @@
|
||||
},
|
||||
"labels": {
|
||||
"type": "object",
|
||||
"description": "[Experimental] The labels associated with this job. You can use these to organize and group your jobs. Label keys and values can be no longer than 63 characters, can only contain letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter and must be unique within a dataset. Both keys and values are additionally constrained to be \u003c= 128 bytes in size.",
|
||||
"description": "[Experimental] The labels associated with this job. You can use these to organize and group your jobs. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter and each label in the list must have a different key.",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
@@ -756,7 +760,7 @@
|
||||
},
|
||||
"autodetect": {
|
||||
"type": "boolean",
|
||||
"description": "[Experimental] Indicates if we should automatically infer the options and schema for CSV and JSON sources."
|
||||
"description": "Indicates if we should automatically infer the options and schema for CSV and JSON sources."
|
||||
},
|
||||
"createDisposition": {
|
||||
"type": "string",
|
||||
@@ -785,11 +789,11 @@
|
||||
},
|
||||
"nullMarker": {
|
||||
"type": "string",
|
||||
"description": "[Optional] This string will be interpreted as a null value when it appears in a CSV file. The default value is the empty string. Please refer to the documentation for further information."
|
||||
"description": "[Optional] Specifies a string that represents a null value in a CSV file. For example, if you specify \"\\N\", BigQuery interprets \"\\N\" as a null value when loading a CSV file. The default value is the empty string. If you set this property to a custom value, BigQuery throws an error if an empty string is present for all data types except for STRING and BYTE. For STRING and BYTE columns, BigQuery interprets the empty string as an empty value."
|
||||
},
|
||||
"projectionFields": {
|
||||
"type": "array",
|
||||
"description": "[Experimental] If sourceFormat is set to \"DATASTORE_BACKUP\", indicates which entity properties to load into BigQuery from a Cloud Datastore backup. Property names are case sensitive and must be top-level properties. If no properties are specified, BigQuery loads all properties. If any named property isn't found in the Cloud Datastore backup, an invalid error is returned in the job result.",
|
||||
"description": "If sourceFormat is set to \"DATASTORE_BACKUP\", indicates which entity properties to load into BigQuery from a Cloud Datastore backup. Property names are case sensitive and must be top-level properties. If no properties are specified, BigQuery loads all properties. If any named property isn't found in the Cloud Datastore backup, an invalid error is returned in the job result.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
@@ -847,7 +851,8 @@
|
||||
"properties": {
|
||||
"allowLargeResults": {
|
||||
"type": "boolean",
|
||||
"description": "If true, allows the query to produce arbitrarily large result tables at a slight cost in performance. Requires destinationTable to be set."
|
||||
"description": "[Optional] If true and query uses legacy SQL dialect, allows the query to produce arbitrarily large result tables at a slight cost in performance. Requires destinationTable to be set. For standard SQL queries, this flag is ignored and large results are always allowed.",
|
||||
"default": "false"
|
||||
},
|
||||
"createDisposition": {
|
||||
"type": "string",
|
||||
@@ -863,7 +868,7 @@
|
||||
},
|
||||
"flattenResults": {
|
||||
"type": "boolean",
|
||||
"description": "[Optional] Flattens all nested and repeated fields in the query results. The default value is true. allowLargeResults must be true if this is set to false.",
|
||||
"description": "[Optional] If true and query uses legacy SQL dialect, flattens all nested and repeated fields in the query results. allowLargeResults must be true if this is set to false. For standard SQL queries, this flag is ignored and results are never flattened.",
|
||||
"default": "true"
|
||||
},
|
||||
"maximumBillingTier": {
|
||||
@@ -879,7 +884,7 @@
|
||||
},
|
||||
"parameterMode": {
|
||||
"type": "string",
|
||||
"description": "[Experimental] Standard SQL only. Whether to use positional (?) or named (@myparam) query parameters in this query."
|
||||
"description": "Standard SQL only. Set to POSITIONAL to use positional (?) query parameters or to NAMED to use named (@myparam) query parameters in this query."
|
||||
},
|
||||
"preserveNulls": {
|
||||
"type": "boolean",
|
||||
@@ -891,7 +896,7 @@
|
||||
},
|
||||
"query": {
|
||||
"type": "string",
|
||||
"description": "[Required] BigQuery SQL query to execute."
|
||||
"description": "[Required] SQL query text to execute. The useLegacySql field can be used to indicate whether the query uses legacy SQL or standard SQL."
|
||||
},
|
||||
"queryParameters": {
|
||||
"type": "array",
|
||||
@@ -925,7 +930,7 @@
|
||||
},
|
||||
"userDefinedFunctionResources": {
|
||||
"type": "array",
|
||||
"description": "[Experimental] Describes user-defined function resources used in the query.",
|
||||
"description": "Describes user-defined function resources used in the query.",
|
||||
"items": {
|
||||
"$ref": "UserDefinedFunctionResource"
|
||||
}
|
||||
@@ -1107,12 +1112,12 @@
|
||||
},
|
||||
"numDmlAffectedRows": {
|
||||
"type": "string",
|
||||
"description": "[Output-only, Experimental] The number of rows affected by a DML statement. Present only for DML statements INSERT, UPDATE or DELETE.",
|
||||
"description": "[Output-only] The number of rows affected by a DML statement. Present only for DML statements INSERT, UPDATE or DELETE.",
|
||||
"format": "int64"
|
||||
},
|
||||
"queryPlan": {
|
||||
"type": "array",
|
||||
"description": "[Output-only, Experimental] Describes execution plan for the query.",
|
||||
"description": "[Output-only] Describes execution plan for the query.",
|
||||
"items": {
|
||||
"$ref": "ExplainQueryStage"
|
||||
}
|
||||
@@ -1390,7 +1395,7 @@
|
||||
},
|
||||
"parameterMode": {
|
||||
"type": "string",
|
||||
"description": "[Experimental] Standard SQL only. Whether to use positional (?) or named (@myparam) query parameters in this query."
|
||||
"description": "Standard SQL only. Set to POSITIONAL to use positional (?) query parameters or to NAMED to use named (@myparam) query parameters in this query."
|
||||
},
|
||||
"preserveNulls": {
|
||||
"type": "boolean",
|
||||
@@ -1407,7 +1412,7 @@
|
||||
},
|
||||
"queryParameters": {
|
||||
"type": "array",
|
||||
"description": "[Experimental] Query parameters for Standard SQL queries.",
|
||||
"description": "Query parameters for Standard SQL queries.",
|
||||
"items": {
|
||||
"$ref": "QueryParameter"
|
||||
}
|
||||
@@ -1459,7 +1464,7 @@
|
||||
},
|
||||
"numDmlAffectedRows": {
|
||||
"type": "string",
|
||||
"description": "[Output-only, Experimental] The number of rows affected by a DML statement. Present only for DML statements INSERT, UPDATE or DELETE.",
|
||||
"description": "[Output-only] The number of rows affected by a DML statement. Present only for DML statements INSERT, UPDATE or DELETE.",
|
||||
"format": "int64"
|
||||
},
|
||||
"pageToken": {
|
||||
@@ -1551,7 +1556,7 @@
|
||||
},
|
||||
"labels": {
|
||||
"type": "object",
|
||||
"description": "[Experimental] The labels associated with this table. You can use these to organize and group your tables. Label keys and values can be no longer than 63 characters, can only contain letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter and must be unique within a dataset. Both keys and values are additionally constrained to be \u003c= 128 bytes in size.",
|
||||
"description": "[Experimental] The labels associated with this table. You can use these to organize and group your tables. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter and each label in the list must have a different key.",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
@@ -1728,7 +1733,7 @@
|
||||
"properties": {
|
||||
"description": {
|
||||
"type": "string",
|
||||
"description": "[Optional] The field description. The maximum length is 16K characters."
|
||||
"description": "[Optional] The field description. The maximum length is 512 characters."
|
||||
},
|
||||
"fields": {
|
||||
"type": "array",
|
||||
@@ -1801,6 +1806,16 @@
|
||||
"type": {
|
||||
"type": "string",
|
||||
"description": "The type of table. Possible values are: TABLE, VIEW."
|
||||
},
|
||||
"view": {
|
||||
"type": "object",
|
||||
"description": "Additional details for a view.",
|
||||
"properties": {
|
||||
"useLegacySql": {
|
||||
"type": "boolean",
|
||||
"description": "True if view is defined in legacy SQL dialect, false if in standard SQL."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1914,7 +1929,7 @@
|
||||
},
|
||||
"userDefinedFunctionResources": {
|
||||
"type": "array",
|
||||
"description": "[Experimental] Describes user-defined function resources used in the query.",
|
||||
"description": "Describes user-defined function resources used in the query.",
|
||||
"items": {
|
||||
"$ref": "UserDefinedFunctionResource"
|
||||
}
|
||||
@@ -2503,6 +2518,11 @@
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"selectedFields": {
|
||||
"type": "string",
|
||||
"description": "List of fields to return (comma-separated). If unspecified, all fields are returned",
|
||||
"location": "query"
|
||||
},
|
||||
"startIndex": {
|
||||
"type": "string",
|
||||
"description": "Zero-based index of the starting row to read",
|
||||
@@ -2587,6 +2607,11 @@
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"selectedFields": {
|
||||
"type": "string",
|
||||
"description": "List of fields to return (comma-separated). If unspecified, all fields are returned",
|
||||
"location": "query"
|
||||
},
|
||||
"tableId": {
|
||||
"type": "string",
|
||||
"description": "Table ID of the requested table",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/Mm4a0u3lPNBqEzKCYhfhIpC2Mw4\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/Mm4a0u3lPNBqEzKCYhfhIpC2Mw4\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "blogger:v2",
|
||||
"name": "blogger",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/Goh5bsNuqq7lTY-yMf_QcKSL760\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/Goh5bsNuqq7lTY-yMf_QcKSL760\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "blogger:v3",
|
||||
"name": "blogger",
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/jiS-k8EAx6v4TcA5Qg2LzgfBvoI\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/q1aPzEOdugLS9_Y8FK61EmJhEHg\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "books:v1",
|
||||
"name": "books",
|
||||
"version": "v1",
|
||||
"revision": "20161206",
|
||||
"revision": "20170313",
|
||||
"title": "Books API",
|
||||
"description": "Searches for books and manages your Google Books library.",
|
||||
"ownerDomain": "google.com",
|
||||
@@ -1459,6 +1459,14 @@
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"rewardExpirations": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"opted_state": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3160,6 +3168,11 @@
|
||||
"httpMethod": "POST",
|
||||
"description": "Inserts a new annotation.",
|
||||
"parameters": {
|
||||
"annotationId": {
|
||||
"type": "string",
|
||||
"description": "The ID for the annotation to insert.",
|
||||
"location": "query"
|
||||
},
|
||||
"country": {
|
||||
"type": "string",
|
||||
"description": "ISO-3166-1 code to override the IP-based location.",
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/Cbqw6SyhEKakWSF49vX9PZlU5es\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/9T19oRJaub8kQ0DM1Id4nnnZ16I\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "calendar:v3",
|
||||
"name": "calendar",
|
||||
"version": "v3",
|
||||
"revision": "20161211",
|
||||
"revision": "20170514",
|
||||
"title": "Calendar API",
|
||||
"description": "Manipulates events and other calendar data.",
|
||||
"ownerDomain": "google.com",
|
||||
@@ -337,7 +337,7 @@
|
||||
"properties": {
|
||||
"method": {
|
||||
"type": "string",
|
||||
"description": "The method used to deliver the notification. Possible values are: \n- \"email\" - Reminders are sent via email. \n- \"sms\" - Reminders are sent via SMS. This value is read-only and is ignored on inserts and updates. SMS reminders are only available for Google Apps for Work, Education, and Government customers.",
|
||||
"description": "The method used to deliver the notification. Possible values are: \n- \"email\" - Reminders are sent via email. \n- \"sms\" - Reminders are sent via SMS. This value is read-only and is ignored on inserts and updates. SMS reminders are only available for G Suite customers.",
|
||||
"annotations": {
|
||||
"required": [
|
||||
"calendar.calendarList.insert",
|
||||
@@ -455,6 +455,42 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"DeepLinkData": {
|
||||
"id": "DeepLinkData",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"links": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "Link"
|
||||
}
|
||||
},
|
||||
"url": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"DisplayInfo": {
|
||||
"id": "DisplayInfo",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"appIconUrl": {
|
||||
"type": "string"
|
||||
},
|
||||
"appShortTitle": {
|
||||
"type": "string"
|
||||
},
|
||||
"appTitle": {
|
||||
"type": "string"
|
||||
},
|
||||
"linkShortTitle": {
|
||||
"type": "string"
|
||||
},
|
||||
"linkTitle": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
"id": "Error",
|
||||
"type": "object",
|
||||
@@ -895,13 +931,27 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"EventHabitInstance": {
|
||||
"id": "EventHabitInstance",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"data": {
|
||||
"$ref": "HabitInstanceData",
|
||||
"description": "Metadata specific to this instance."
|
||||
},
|
||||
"parentId": {
|
||||
"type": "string",
|
||||
"description": "Id of the habit this instance belongs to."
|
||||
}
|
||||
}
|
||||
},
|
||||
"EventReminder": {
|
||||
"id": "EventReminder",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"method": {
|
||||
"type": "string",
|
||||
"description": "The method used by this reminder. Possible values are: \n- \"email\" - Reminders are sent via email. \n- \"sms\" - Reminders are sent via SMS. These are only available for Google Apps for Work, Education, and Government customers. Requests to set SMS reminders for other account types are ignored. \n- \"popup\" - Reminders are sent via a UI popup.",
|
||||
"description": "The method used by this reminder. Possible values are: \n- \"email\" - Reminders are sent via email. \n- \"sms\" - Reminders are sent via SMS. These are only available for G Suite customers. Requests to set SMS reminders for other account types are ignored. \n- \"popup\" - Reminders are sent via a UI popup.",
|
||||
"annotations": {
|
||||
"required": [
|
||||
"calendar.calendarList.insert",
|
||||
@@ -1111,6 +1161,60 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"HabitInstanceData": {
|
||||
"id": "HabitInstanceData",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"status": {
|
||||
"type": "string"
|
||||
},
|
||||
"statusInferred": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"type": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"LaunchInfo": {
|
||||
"id": "LaunchInfo",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"appId": {
|
||||
"type": "string"
|
||||
},
|
||||
"installUrl": {
|
||||
"type": "string"
|
||||
},
|
||||
"intentAction": {
|
||||
"type": "string"
|
||||
},
|
||||
"uri": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Link": {
|
||||
"id": "Link",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"applinkingSource": {
|
||||
"type": "string"
|
||||
},
|
||||
"displayInfo": {
|
||||
"$ref": "DisplayInfo"
|
||||
},
|
||||
"launchInfo": {
|
||||
"$ref": "LaunchInfo"
|
||||
},
|
||||
"platform": {
|
||||
"type": "string"
|
||||
},
|
||||
"url": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Setting": {
|
||||
"id": "Setting",
|
||||
"type": "object",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/sNrwy4GBJh0JDl02KcW1-1MdJOM\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/sNrwy4GBJh0JDl02KcW1-1MdJOM\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "civicinfo:v2",
|
||||
"name": "civicinfo",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,343 +1,357 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/M2VzqGfwqR0FviWkPggfCzE5zZU\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "cloudbilling:v1",
|
||||
"name": "cloudbilling",
|
||||
"version": "v1",
|
||||
"revision": "20151222",
|
||||
"title": "Google Cloud Billing API",
|
||||
"description": "Retrieves Google Developers Console billing accounts and associates them with projects.",
|
||||
"ownerDomain": "google.com",
|
||||
"ownerName": "Google",
|
||||
"icons": {
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
||||
},
|
||||
"documentationLink": "https://cloud.google.com/billing/",
|
||||
"protocol": "rest",
|
||||
"baseUrl": "https://cloudbilling.googleapis.com/",
|
||||
"basePath": "",
|
||||
"rootUrl": "https://cloudbilling.googleapis.com/",
|
||||
"servicePath": "",
|
||||
"batchPath": "batch",
|
||||
"parameters": {
|
||||
"access_token": {
|
||||
"type": "string",
|
||||
"description": "OAuth access token.",
|
||||
"location": "query"
|
||||
},
|
||||
"alt": {
|
||||
"type": "string",
|
||||
"description": "Data format for response.",
|
||||
"default": "json",
|
||||
"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"
|
||||
},
|
||||
"bearer_token": {
|
||||
"type": "string",
|
||||
"description": "OAuth bearer token.",
|
||||
"location": "query"
|
||||
},
|
||||
"callback": {
|
||||
"type": "string",
|
||||
"description": "JSONP",
|
||||
"location": "query"
|
||||
},
|
||||
"fields": {
|
||||
"type": "string",
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"location": "query"
|
||||
},
|
||||
"key": {
|
||||
"type": "string",
|
||||
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
|
||||
"location": "query"
|
||||
},
|
||||
"oauth_token": {
|
||||
"type": "string",
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"location": "query"
|
||||
},
|
||||
"pp": {
|
||||
"type": "boolean",
|
||||
"description": "Pretty-print response.",
|
||||
"default": "true",
|
||||
"location": "query"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"type": "boolean",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"default": "true",
|
||||
"location": "query"
|
||||
},
|
||||
"quotaUser": {
|
||||
"type": "string",
|
||||
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
|
||||
"location": "query"
|
||||
},
|
||||
"upload_protocol": {
|
||||
"type": "string",
|
||||
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
|
||||
"location": "query"
|
||||
},
|
||||
"uploadType": {
|
||||
"type": "string",
|
||||
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
||||
"location": "query"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"type": "string",
|
||||
"description": "V1 error format.",
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
],
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"auth": {
|
||||
"oauth2": {
|
||||
"scopes": {
|
||||
"https://www.googleapis.com/auth/cloud-platform": {
|
||||
"description": "View and manage your data across Google Cloud Platform services"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"schemas": {
|
||||
"BillingAccount": {
|
||||
"id": "BillingAccount",
|
||||
"type": "object",
|
||||
"description": "A billing account in [Google Developers Console](https://console.developers.google.com/). You can assign a billing account to one or more projects.",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The resource name of the billing account. The resource name has the form `billingAccounts/{billing_account_id}`. For example, `billingAccounts/012345-567890-ABCDEF` would be the resource name for billing account `012345-567890-ABCDEF`."
|
||||
},
|
||||
"open": {
|
||||
"type": "boolean",
|
||||
"description": "True if the billing account is open, and will therefore be charged for any usage on associated projects. False if the billing account is closed, and therefore projects associated with it will be unable to use paid services."
|
||||
},
|
||||
"displayName": {
|
||||
"type": "string",
|
||||
"description": "The display name given to the billing account, such as `My Billing Account`. This name is displayed in the Google Developers Console."
|
||||
}
|
||||
}
|
||||
},
|
||||
"ListBillingAccountsResponse": {
|
||||
"id": "ListBillingAccountsResponse",
|
||||
"type": "object",
|
||||
"description": "Response message for `ListBillingAccounts`.",
|
||||
"properties": {
|
||||
"billingAccounts": {
|
||||
"type": "array",
|
||||
"description": "A list of billing accounts.",
|
||||
"items": {
|
||||
"$ref": "BillingAccount"
|
||||
}
|
||||
},
|
||||
"nextPageToken": {
|
||||
"type": "string",
|
||||
"description": "A token to retrieve the next page of results. To retrieve the next page, call `ListBillingAccounts` again with the `page_token` field set to this value. This field is empty if there are no more results to retrieve."
|
||||
}
|
||||
}
|
||||
},
|
||||
"ListProjectBillingInfoResponse": {
|
||||
"id": "ListProjectBillingInfoResponse",
|
||||
"type": "object",
|
||||
"description": "Request message for `ListProjectBillingInfoResponse`.",
|
||||
"properties": {
|
||||
"projectBillingInfo": {
|
||||
"type": "array",
|
||||
"description": "A list of `ProjectBillingInfo` resources representing the projects associated with the billing account.",
|
||||
"items": {
|
||||
"$ref": "ProjectBillingInfo"
|
||||
}
|
||||
},
|
||||
"nextPageToken": {
|
||||
"type": "string",
|
||||
"description": "A token to retrieve the next page of results. To retrieve the next page, call `ListProjectBillingInfo` again with the `page_token` field set to this value. This field is empty if there are no more results to retrieve."
|
||||
}
|
||||
}
|
||||
},
|
||||
"ProjectBillingInfo": {
|
||||
"id": "ProjectBillingInfo",
|
||||
"type": "object",
|
||||
"description": "Encapsulation of billing information for a Developers Console project. A project has at most one associated billing account at a time (but a billing account can be assigned to multiple projects).",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The resource name for the `ProjectBillingInfo`; has the form `projects/{project_id}/billingInfo`. For example, the resource name for the billing information for project `tokyo-rain-123` would be `projects/tokyo-rain-123/billingInfo`. This field is read-only."
|
||||
},
|
||||
"projectId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the project that this `ProjectBillingInfo` represents, such as `tokyo-rain-123`. This is a convenience field so that you don't need to parse the `name` field to obtain a project ID. This field is read-only."
|
||||
},
|
||||
"billingAccountName": {
|
||||
"type": "string",
|
||||
"description": "The resource name of the billing account associated with the project, if any. For example, `billingAccounts/012345-567890-ABCDEF`."
|
||||
},
|
||||
"billingEnabled": {
|
||||
"type": "boolean",
|
||||
"description": "True if the project is associated with an open billing account, to which usage on the project is charged. False if the project is associated with a closed billing account, or no billing account at all, and therefore cannot use paid services. This field is read-only."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"resources": {
|
||||
"billingAccounts": {
|
||||
"methods": {
|
||||
"get": {
|
||||
"id": "cloudbilling.billingAccounts.get",
|
||||
"path": "v1/{+name}",
|
||||
"httpMethod": "GET",
|
||||
"description": "Gets information about a billing account. The current authenticated user must be an [owner of the billing account](https://support.google.com/cloud/answer/4430947).",
|
||||
"parameters": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The resource name of the billing account to retrieve. For example, `billingAccounts/012345-567890-ABCDEF`.",
|
||||
"required": true,
|
||||
"pattern": "^billingAccounts/[^/]*$",
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "BillingAccount"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"id": "cloudbilling.billingAccounts.list",
|
||||
"path": "v1/billingAccounts",
|
||||
"httpMethod": "GET",
|
||||
"description": "Lists the billing accounts that the current authenticated user [owns](https://support.google.com/cloud/answer/4430947).",
|
||||
"parameters": {
|
||||
"pageSize": {
|
||||
"type": "integer",
|
||||
"description": "Requested page size. The maximum page size is 100; this is also the default.",
|
||||
"format": "int32",
|
||||
"location": "query"
|
||||
},
|
||||
"pageToken": {
|
||||
"type": "string",
|
||||
"description": "A token identifying a page of results to return. This should be a `next_page_token` value returned from a previous `ListBillingAccounts` call. If unspecified, the first page of results is returned.",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"$ref": "ListBillingAccountsResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
}
|
||||
},
|
||||
"resources": {
|
||||
"projects": {
|
||||
"methods": {
|
||||
"list": {
|
||||
"id": "cloudbilling.billingAccounts.projects.list",
|
||||
"path": "v1/{+name}/projects",
|
||||
"httpMethod": "GET",
|
||||
"description": "Lists the projects associated with a billing account. The current authenticated user must be an [owner of the billing account](https://support.google.com/cloud/answer/4430947).",
|
||||
"parameters": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The resource name of the billing account associated with the projects that you want to list. For example, `billingAccounts/012345-567890-ABCDEF`.",
|
||||
"required": true,
|
||||
"pattern": "^billingAccounts/[^/]*$",
|
||||
"location": "path"
|
||||
},
|
||||
"pageSize": {
|
||||
"type": "integer",
|
||||
"description": "Requested page size. The maximum page size is 100; this is also the default.",
|
||||
"format": "int32",
|
||||
"location": "query"
|
||||
},
|
||||
"pageToken": {
|
||||
"type": "string",
|
||||
"description": "A token identifying a page of results to be returned. This should be a `next_page_token` value returned from a previous `ListProjectBillingInfo` call. If unspecified, the first page of results is returned.",
|
||||
"location": "query"
|
||||
"id": "cloudbilling:v1",
|
||||
"auth": {
|
||||
"oauth2": {
|
||||
"scopes": {
|
||||
"https://www.googleapis.com/auth/cloud-platform": {
|
||||
"description": "View and manage your data across Google Cloud Platform services"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "ListProjectBillingInfoResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"projects": {
|
||||
"methods": {
|
||||
"getBillingInfo": {
|
||||
"id": "cloudbilling.projects.getBillingInfo",
|
||||
"path": "v1/{+name}/billingInfo",
|
||||
"httpMethod": "GET",
|
||||
"description": "Gets the billing information for a project. The current authenticated user must have [permission to view the project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo ).",
|
||||
"parameters": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The resource name of the project for which billing information is retrieved. For example, `projects/tokyo-rain-123`.",
|
||||
"required": true,
|
||||
"pattern": "^projects/[^/]*$",
|
||||
"location": "path"
|
||||
"description": "Allows developers to manage billing for their Google Cloud Platform projects\n programmatically.",
|
||||
"protocol": "rest",
|
||||
"title": "Google Cloud Billing API",
|
||||
"resources": {
|
||||
"projects": {
|
||||
"methods": {
|
||||
"updateBillingInfo": {
|
||||
"id": "cloudbilling.projects.updateBillingInfo",
|
||||
"response": {
|
||||
"$ref": "ProjectBillingInfo"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"description": "Sets or updates the billing account associated with a project. You specify\nthe new billing account by setting the `billing_account_name` in the\n`ProjectBillingInfo` resource to the resource name of a billing account.\nAssociating a project with an open billing account enables billing on the\nproject and allows charges for resource usage. If the project already had a\nbilling account, this method changes the billing account used for resource\nusage charges.\n\n*Note:* Incurred charges that have not yet been reported in the transaction\nhistory of the Google Cloud Console may be billed to the new billing\naccount, even if the charge occurred before the new billing account was\nassigned to the project.\n\nThe current authenticated user must have ownership privileges for both the\n[project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo\n) and the [billing\naccount](https://support.google.com/cloud/answer/4430947).\n\nYou can disable billing on the project by setting the\n`billing_account_name` field to empty. This action disassociates the\ncurrent billing account from the project. Any billable activity of your\nin-use services will stop, and your application could stop functioning as\nexpected. Any unbilled charges to date will be billed to the previously\nassociated account. The current authenticated user must be either an owner\nof the project or an owner of the billing account for the project.\n\nNote that associating a project with a *closed* billing account will have\nmuch the same effect as disabling billing on the project: any paid\nresources used by the project will be shut down. Thus, unless you wish to\ndisable billing, you should always call this method with the name of an\n*open* billing account.",
|
||||
"request": {
|
||||
"$ref": "ProjectBillingInfo"
|
||||
},
|
||||
"flatPath": "v1/projects/{projectsId}/billingInfo",
|
||||
"httpMethod": "PUT",
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "The resource name of the project associated with the billing information\nthat you want to update. For example, `projects/tokyo-rain-123`.",
|
||||
"required": true,
|
||||
"pattern": "^projects/[^/]+$",
|
||||
"location": "path",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1/{+name}/billingInfo",
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
},
|
||||
"getBillingInfo": {
|
||||
"id": "cloudbilling.projects.getBillingInfo",
|
||||
"response": {
|
||||
"$ref": "ProjectBillingInfo"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"description": "Gets the billing information for a project. The current authenticated user\nmust have [permission to view the\nproject](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo\n).",
|
||||
"flatPath": "v1/projects/{projectsId}/billingInfo",
|
||||
"httpMethod": "GET",
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "The resource name of the project for which billing information is\nretrieved. For example, `projects/tokyo-rain-123`.",
|
||||
"required": true,
|
||||
"pattern": "^projects/[^/]+$",
|
||||
"location": "path",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1/{+name}/billingInfo",
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "ProjectBillingInfo"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
},
|
||||
"updateBillingInfo": {
|
||||
"id": "cloudbilling.projects.updateBillingInfo",
|
||||
"path": "v1/{+name}/billingInfo",
|
||||
"httpMethod": "PUT",
|
||||
"description": "Sets or updates the billing account associated with a project. You specify the new billing account by setting the `billing_account_name` in the `ProjectBillingInfo` resource to the resource name of a billing account. Associating a project with an open billing account enables billing on the project and allows charges for resource usage. If the project already had a billing account, this method changes the billing account used for resource usage charges. *Note:* Incurred charges that have not yet been reported in the transaction history of the Google Developers Console may be billed to the new billing account, even if the charge occurred before the new billing account was assigned to the project. The current authenticated user must have ownership privileges for both the [project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo ) and the [billing account](https://support.google.com/cloud/answer/4430947). You can disable billing on the project by setting the `billing_account_name` field to empty. This action disassociates the current billing account from the project. Any billable activity of your in-use services will stop, and your application could stop functioning as expected. Any unbilled charges to date will be billed to the previously associated account. The current authenticated user must be either an owner of the project or an owner of the billing account for the project. Note that associating a project with a *closed* billing account will have much the same effect as disabling billing on the project: any paid resources used by the project will be shut down. Thus, unless you wish to disable billing, you should always call this method with the name of an *open* billing account.",
|
||||
"parameters": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The resource name of the project associated with the billing information that you want to update. For example, `projects/tokyo-rain-123`.",
|
||||
"required": true,
|
||||
"pattern": "^projects/[^/]*$",
|
||||
"location": "path"
|
||||
"billingAccounts": {
|
||||
"resources": {
|
||||
"projects": {
|
||||
"methods": {
|
||||
"list": {
|
||||
"id": "cloudbilling.billingAccounts.projects.list",
|
||||
"response": {
|
||||
"$ref": "ListProjectBillingInfoResponse"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"description": "Lists the projects associated with a billing account. The current\nauthenticated user must be an [owner of the billing\naccount](https://support.google.com/cloud/answer/4430947).",
|
||||
"flatPath": "v1/billingAccounts/{billingAccountsId}/projects",
|
||||
"httpMethod": "GET",
|
||||
"parameters": {
|
||||
"pageSize": {
|
||||
"description": "Requested page size. The maximum page size is 100; this is also the\ndefault.",
|
||||
"location": "query",
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
"name": {
|
||||
"description": "The resource name of the billing account associated with the projects that\nyou want to list. For example, `billingAccounts/012345-567890-ABCDEF`.",
|
||||
"required": true,
|
||||
"pattern": "^billingAccounts/[^/]+$",
|
||||
"location": "path",
|
||||
"type": "string"
|
||||
},
|
||||
"pageToken": {
|
||||
"description": "A token identifying a page of results to be returned. This should be a\n`next_page_token` value returned from a previous `ListProjectBillingInfo`\ncall. If unspecified, the first page of results is returned.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1/{+name}/projects",
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"methods": {
|
||||
"get": {
|
||||
"id": "cloudbilling.billingAccounts.get",
|
||||
"response": {
|
||||
"$ref": "BillingAccount"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"description": "Gets information about a billing account. The current authenticated user\nmust be an [owner of the billing\naccount](https://support.google.com/cloud/answer/4430947).",
|
||||
"flatPath": "v1/billingAccounts/{billingAccountsId}",
|
||||
"httpMethod": "GET",
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "The resource name of the billing account to retrieve. For example,\n`billingAccounts/012345-567890-ABCDEF`.",
|
||||
"required": true,
|
||||
"pattern": "^billingAccounts/[^/]+$",
|
||||
"location": "path",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1/{+name}",
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"id": "cloudbilling.billingAccounts.list",
|
||||
"response": {
|
||||
"$ref": "ListBillingAccountsResponse"
|
||||
},
|
||||
"parameterOrder": [],
|
||||
"description": "Lists the billing accounts that the current authenticated user\n[owns](https://support.google.com/cloud/answer/4430947).",
|
||||
"flatPath": "v1/billingAccounts",
|
||||
"httpMethod": "GET",
|
||||
"parameters": {
|
||||
"pageSize": {
|
||||
"description": "Requested page size. The maximum page size is 100; this is also the\ndefault.",
|
||||
"location": "query",
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
"pageToken": {
|
||||
"description": "A token identifying a page of results to return. This should be a\n`next_page_token` value returned from a previous `ListBillingAccounts`\ncall. If unspecified, the first page of results is returned.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1/billingAccounts",
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"request": {
|
||||
"$ref": "ProjectBillingInfo"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "ProjectBillingInfo"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"schemas": {
|
||||
"ProjectBillingInfo": {
|
||||
"description": "Encapsulation of billing information for a Cloud Console project. A project\nhas at most one associated billing account at a time (but a billing account\ncan be assigned to multiple projects).",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"billingEnabled": {
|
||||
"description": "True if the project is associated with an open billing account, to which\nusage on the project is charged. False if the project is associated with a\nclosed billing account, or no billing account at all, and therefore cannot\nuse paid services. This field is read-only.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"name": {
|
||||
"description": "The resource name for the `ProjectBillingInfo`; has the form\n`projects/{project_id}/billingInfo`. For example, the resource name for the\nbilling information for project `tokyo-rain-123` would be\n`projects/tokyo-rain-123/billingInfo`. This field is read-only.",
|
||||
"type": "string"
|
||||
},
|
||||
"projectId": {
|
||||
"description": "The ID of the project that this `ProjectBillingInfo` represents, such as\n`tokyo-rain-123`. This is a convenience field so that you don't need to\nparse the `name` field to obtain a project ID. This field is read-only.",
|
||||
"type": "string"
|
||||
},
|
||||
"billingAccountName": {
|
||||
"description": "The resource name of the billing account associated with the project, if\nany. For example, `billingAccounts/012345-567890-ABCDEF`.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "ProjectBillingInfo"
|
||||
},
|
||||
"ListProjectBillingInfoResponse": {
|
||||
"description": "Request message for `ListProjectBillingInfoResponse`.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"nextPageToken": {
|
||||
"description": "A token to retrieve the next page of results. To retrieve the next page,\ncall `ListProjectBillingInfo` again with the `page_token` field set to this\nvalue. This field is empty if there are no more results to retrieve.",
|
||||
"type": "string"
|
||||
},
|
||||
"projectBillingInfo": {
|
||||
"description": "A list of `ProjectBillingInfo` resources representing the projects\nassociated with the billing account.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "ProjectBillingInfo"
|
||||
}
|
||||
}
|
||||
},
|
||||
"id": "ListProjectBillingInfoResponse"
|
||||
},
|
||||
"ListBillingAccountsResponse": {
|
||||
"description": "Response message for `ListBillingAccounts`.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"nextPageToken": {
|
||||
"description": "A token to retrieve the next page of results. To retrieve the next page,\ncall `ListBillingAccounts` again with the `page_token` field set to this\nvalue. This field is empty if there are no more results to retrieve.",
|
||||
"type": "string"
|
||||
},
|
||||
"billingAccounts": {
|
||||
"description": "A list of billing accounts.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "BillingAccount"
|
||||
}
|
||||
}
|
||||
},
|
||||
"id": "ListBillingAccountsResponse"
|
||||
},
|
||||
"BillingAccount": {
|
||||
"description": "A billing account in [Google Cloud\nConsole](https://console.cloud.google.com/). You can assign a billing account\nto one or more projects.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"displayName": {
|
||||
"description": "The display name given to the billing account, such as `My Billing\nAccount`. This name is displayed in the Google Cloud Console.",
|
||||
"type": "string"
|
||||
},
|
||||
"open": {
|
||||
"description": "True if the billing account is open, and will therefore be charged for any\nusage on associated projects. False if the billing account is closed, and\ntherefore projects associated with it will be unable to use paid services.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"name": {
|
||||
"description": "The resource name of the billing account. The resource name has the form\n`billingAccounts/{billing_account_id}`. For example,\n`billingAccounts/012345-567890-ABCDEF` would be the resource name for\nbilling account `012345-567890-ABCDEF`.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "BillingAccount"
|
||||
}
|
||||
},
|
||||
"revision": "20170504",
|
||||
"basePath": "",
|
||||
"icons": {
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif",
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif"
|
||||
},
|
||||
"discoveryVersion": "v1",
|
||||
"baseUrl": "https://cloudbilling.googleapis.com/",
|
||||
"name": "cloudbilling",
|
||||
"parameters": {
|
||||
"access_token": {
|
||||
"description": "OAuth access token.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"default": "true",
|
||||
"type": "boolean",
|
||||
"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": {
|
||||
"description": "Pretty-print response.",
|
||||
"default": "true",
|
||||
"type": "boolean",
|
||||
"location": "query"
|
||||
},
|
||||
"fields": {
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"alt": {
|
||||
"description": "Data format for response.",
|
||||
"location": "query",
|
||||
"enum": [
|
||||
"json",
|
||||
"media",
|
||||
"proto"
|
||||
],
|
||||
"default": "json",
|
||||
"enumDescriptions": [
|
||||
"Responses with Content-Type of application/json",
|
||||
"Media download with context-dependent Content-Type",
|
||||
"Responses with Content-Type of application/x-protobuf"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"description": "V1 error format.",
|
||||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
],
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"oauth_token": {
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"uploadType": {
|
||||
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"upload_protocol": {
|
||||
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"documentationLink": "https://cloud.google.com/billing/",
|
||||
"ownerDomain": "google.com",
|
||||
"batchPath": "batch",
|
||||
"servicePath": "",
|
||||
"ownerName": "Google",
|
||||
"version": "v1",
|
||||
"rootUrl": "https://cloudbilling.googleapis.com/",
|
||||
"kind": "discovery#restDescription"
|
||||
}
|
||||
|
||||
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
1531
etc/api/cloudkms/v1beta1/cloudkms-api.json
Normal file
1531
etc/api/cloudkms/v1beta1/cloudkms-api.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/mLggzdz9EvP0lVEQoxoRvdSJShg\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/NOsFjtPY9zRzc3K9F8mQGuDeSj0\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "cloudmonitoring:v2beta2",
|
||||
"name": "cloudmonitoring",
|
||||
"canonicalName": "Cloud Monitoring",
|
||||
"version": "v2beta2",
|
||||
"revision": "20161031",
|
||||
"revision": "20170501",
|
||||
"title": "Cloud Monitoring API",
|
||||
"description": "Accesses Google Cloud Monitoring data.",
|
||||
"ownerDomain": "google.com",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,362 +1,383 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/avS4leRd3oaImhwLi14P2pt74p0\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "cloudtrace:v1",
|
||||
"name": "cloudtrace",
|
||||
"canonicalName": "Cloud Trace",
|
||||
"version": "v1",
|
||||
"revision": "20160518",
|
||||
"title": "Google Cloud Trace API",
|
||||
"description": "Send and retrieve trace data from Google Cloud Trace. Data is generated and available by default for all App Engine applications. Data from other applications can be written to Cloud Trace for display, reporting, and analysis.",
|
||||
"ownerDomain": "google.com",
|
||||
"ownerName": "Google",
|
||||
"icons": {
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
||||
},
|
||||
"documentationLink": "https://cloud.google.com/tools/cloud-trace",
|
||||
"protocol": "rest",
|
||||
"baseUrl": "https://cloudtrace.googleapis.com/",
|
||||
"basePath": "",
|
||||
"rootUrl": "https://cloudtrace.googleapis.com/",
|
||||
"servicePath": "",
|
||||
"batchPath": "batch",
|
||||
"version_module": true,
|
||||
"parameters": {
|
||||
"access_token": {
|
||||
"type": "string",
|
||||
"description": "OAuth access token.",
|
||||
"location": "query"
|
||||
},
|
||||
"alt": {
|
||||
"type": "string",
|
||||
"description": "Data format for response.",
|
||||
"default": "json",
|
||||
"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"
|
||||
},
|
||||
"bearer_token": {
|
||||
"type": "string",
|
||||
"description": "OAuth bearer token.",
|
||||
"location": "query"
|
||||
},
|
||||
"callback": {
|
||||
"type": "string",
|
||||
"description": "JSONP",
|
||||
"location": "query"
|
||||
},
|
||||
"fields": {
|
||||
"type": "string",
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"location": "query"
|
||||
},
|
||||
"key": {
|
||||
"type": "string",
|
||||
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
|
||||
"location": "query"
|
||||
},
|
||||
"oauth_token": {
|
||||
"type": "string",
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"location": "query"
|
||||
},
|
||||
"pp": {
|
||||
"type": "boolean",
|
||||
"description": "Pretty-print response.",
|
||||
"default": "true",
|
||||
"location": "query"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"type": "boolean",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"default": "true",
|
||||
"location": "query"
|
||||
},
|
||||
"quotaUser": {
|
||||
"type": "string",
|
||||
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
|
||||
"location": "query"
|
||||
},
|
||||
"upload_protocol": {
|
||||
"type": "string",
|
||||
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
|
||||
"location": "query"
|
||||
},
|
||||
"uploadType": {
|
||||
"type": "string",
|
||||
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
||||
"location": "query"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"type": "string",
|
||||
"description": "V1 error format.",
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
],
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"auth": {
|
||||
"oauth2": {
|
||||
"scopes": {
|
||||
"https://www.googleapis.com/auth/cloud-platform": {
|
||||
"description": "View and manage your data across Google Cloud Platform services"
|
||||
"basePath": "",
|
||||
"revision": "20170516",
|
||||
"documentationLink": "https://cloud.google.com/trace",
|
||||
"id": "cloudtrace:v1",
|
||||
"discoveryVersion": "v1",
|
||||
"version_module": "True",
|
||||
"schemas": {
|
||||
"Traces": {
|
||||
"description": "List of new or updated traces.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"traces": {
|
||||
"description": "List of traces.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "Trace"
|
||||
}
|
||||
}
|
||||
},
|
||||
"id": "Traces"
|
||||
},
|
||||
"https://www.googleapis.com/auth/trace.append": {
|
||||
"description": "Write Trace data for a project or application"
|
||||
},
|
||||
"https://www.googleapis.com/auth/trace.readonly": {
|
||||
"description": "Read Trace data for a project or application"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"schemas": {
|
||||
"ListTracesResponse": {
|
||||
"id": "ListTracesResponse",
|
||||
"type": "object",
|
||||
"description": "The response message for the `ListTraces` method.",
|
||||
"properties": {
|
||||
"traces": {
|
||||
"type": "array",
|
||||
"description": "List of trace records returned.",
|
||||
"items": {
|
||||
"$ref": "Trace"
|
||||
}
|
||||
},
|
||||
"nextPageToken": {
|
||||
"type": "string",
|
||||
"description": "If defined, indicates that there are more traces that match the request and that this value should be passed to the next request to continue retrieving additional traces."
|
||||
}
|
||||
}
|
||||
},
|
||||
"Trace": {
|
||||
"id": "Trace",
|
||||
"type": "object",
|
||||
"description": "A trace describes how long it takes for an application to perform an operation. It consists of a set of spans, each of which represent a single timed event within the operation.",
|
||||
"properties": {
|
||||
"projectId": {
|
||||
"type": "string",
|
||||
"description": "Project ID of the Cloud project where the trace data is stored."
|
||||
},
|
||||
"traceId": {
|
||||
"type": "string",
|
||||
"description": "Globally unique identifier for the trace. This identifier is a 128-bit numeric value formatted as a 32-byte hex string."
|
||||
},
|
||||
"spans": {
|
||||
"type": "array",
|
||||
"description": "Collection of spans in the trace.",
|
||||
"items": {
|
||||
"$ref": "TraceSpan"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"TraceSpan": {
|
||||
"id": "TraceSpan",
|
||||
"type": "object",
|
||||
"description": "A span represents a single timed event within a trace. Spans can be nested and form a trace tree. Often, a trace contains a root span that describes the end-to-end latency of an operation and, optionally, one or more subspans for its suboperations. Spans do not need to be contiguous. There may be gaps between spans in a trace.",
|
||||
"properties": {
|
||||
"spanId": {
|
||||
"type": "string",
|
||||
"description": "Identifier for the span. This identifier must be unique within a trace.",
|
||||
"format": "uint64"
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"description": "Distinguishes between spans generated in a particular context. For example, two spans with the same name may be distinguished using `RPC_CLIENT` and `RPC_SERVER` to identify queueing latency associated with the span.",
|
||||
"enum": [
|
||||
"SPAN_KIND_UNSPECIFIED",
|
||||
"RPC_SERVER",
|
||||
"RPC_CLIENT"
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "Name of the trace. The trace name is sanitized and displayed in the Stackdriver Trace tool in the {% dynamic print site_values.console_name %}. The name may be a method name or some other per-call site name. For the same executable and the same call point, a best practice is to use a consistent name, which makes it easier to correlate cross-trace spans."
|
||||
},
|
||||
"startTime": {
|
||||
"type": "string",
|
||||
"description": "Start time of the span in nanoseconds from the UNIX epoch."
|
||||
},
|
||||
"endTime": {
|
||||
"type": "string",
|
||||
"description": "End time of the span in nanoseconds from the UNIX epoch."
|
||||
},
|
||||
"parentSpanId": {
|
||||
"type": "string",
|
||||
"description": "ID of the parent span, if any. Optional.",
|
||||
"format": "uint64"
|
||||
},
|
||||
"labels": {
|
||||
"type": "object",
|
||||
"description": "Collection of labels associated with the span.",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Traces": {
|
||||
"id": "Traces",
|
||||
"type": "object",
|
||||
"description": "List of new or updated traces.",
|
||||
"properties": {
|
||||
"traces": {
|
||||
"type": "array",
|
||||
"description": "List of traces.",
|
||||
"items": {
|
||||
"$ref": "Trace"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Empty": {
|
||||
"id": "Empty",
|
||||
"type": "object",
|
||||
"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`."
|
||||
}
|
||||
},
|
||||
"resources": {
|
||||
"projects": {
|
||||
"methods": {
|
||||
"patchTraces": {
|
||||
"id": "cloudtrace.projects.patchTraces",
|
||||
"path": "v1/projects/{projectId}/traces",
|
||||
"httpMethod": "PATCH",
|
||||
"description": "Sends new traces to Stackdriver Trace or updates existing traces. If the ID of a trace that you send matches that of an existing trace, any fields in the existing trace and its spans are overwritten by the provided values, and any new fields provided are merged with the existing trace data. If the ID does not match, a new trace is created.",
|
||||
"parameters": {
|
||||
"projectId": {
|
||||
"type": "string",
|
||||
"description": "ID of the Cloud project where the trace data is stored.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"projectId"
|
||||
],
|
||||
"request": {
|
||||
"$ref": "Traces"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "Empty"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/trace.append"
|
||||
]
|
||||
}
|
||||
},
|
||||
"resources": {
|
||||
"traces": {
|
||||
"methods": {
|
||||
"list": {
|
||||
"id": "cloudtrace.projects.traces.list",
|
||||
"path": "v1/projects/{projectId}/traces",
|
||||
"httpMethod": "GET",
|
||||
"description": "Returns of a list of traces that match the specified filter conditions.",
|
||||
"parameters": {
|
||||
"projectId": {
|
||||
"type": "string",
|
||||
"description": "ID of the Cloud project where the trace data is stored.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
"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",
|
||||
"properties": {
|
||||
"labels": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Collection of labels associated with the span. Label keys must be less than\n128 bytes. Label values must be less than 16 kilobytes (10MB for\n`/stacktrace` values).\n\nSome predefined label keys exist, or you may create your own. When creating\nyour own, we recommend the following formats:\n\n* `/category/product/key` for agents of well-known products (e.g.\n `/db/mongodb/read_size`).\n* `short_host/path/key` for domain-specific keys (e.g.\n `foo.com/myproduct/bar`)\n\nPredefined labels include:\n\n* `/agent`\n* `/component`\n* `/error/message`\n* `/error/name`\n* `/http/client_city`\n* `/http/client_country`\n* `/http/client_protocol`\n* `/http/client_region`\n* `/http/host`\n* `/http/method`\n* `/http/redirected_url`\n* `/http/request/size`\n* `/http/response/size`\n* `/http/status_code`\n* `/http/url`\n* `/http/user_agent`\n* `/pid`\n* `/stacktrace`\n* `/tid`",
|
||||
"type": "object"
|
||||
},
|
||||
"view": {
|
||||
"type": "string",
|
||||
"description": "Type of data returned for traces in the list. Optional. Default is `MINIMAL`.",
|
||||
"enum": [
|
||||
"VIEW_TYPE_UNSPECIFIED",
|
||||
"MINIMAL",
|
||||
"ROOTSPAN",
|
||||
"COMPLETE"
|
||||
],
|
||||
"location": "query"
|
||||
"name": {
|
||||
"description": "Name of the span. Must be less than 128 bytes. The span name is sanitized\nand displayed in the Stackdriver Trace tool in the\n{% dynamic print site_values.console_name %}.\nThe name may be a method name or some other per-call site name.\nFor the same executable and the same call point, a best practice is\nto use a consistent name, which makes it easier to correlate\ncross-trace spans.",
|
||||
"type": "string"
|
||||
},
|
||||
"pageSize": {
|
||||
"type": "integer",
|
||||
"description": "Maximum number of traces to return. If not specified or \u003c= 0, the implementation selects a reasonable value. The implementation may return fewer traces than the requested page size. Optional.",
|
||||
"format": "int32",
|
||||
"location": "query"
|
||||
"spanId": {
|
||||
"description": "Identifier for the span. Must be a 64-bit integer other than 0 and\nunique within a trace.",
|
||||
"format": "uint64",
|
||||
"type": "string"
|
||||
},
|
||||
"pageToken": {
|
||||
"type": "string",
|
||||
"description": "Token identifying the page of results to return. If provided, use the value of the `next_page_token` field from a previous request. Optional.",
|
||||
"location": "query"
|
||||
},
|
||||
"startTime": {
|
||||
"type": "string",
|
||||
"description": "End of the time interval (inclusive) during which the trace data was collected from the application.",
|
||||
"location": "query"
|
||||
"parentSpanId": {
|
||||
"description": "ID of the parent span, if any. Optional.",
|
||||
"format": "uint64",
|
||||
"type": "string"
|
||||
},
|
||||
"endTime": {
|
||||
"type": "string",
|
||||
"description": "Start of the time interval (inclusive) during which the trace data was collected from the application.",
|
||||
"location": "query"
|
||||
"description": "End time of the span in nanoseconds from the UNIX epoch.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"filter": {
|
||||
"type": "string",
|
||||
"description": "An optional filter for the request.",
|
||||
"location": "query"
|
||||
"startTime": {
|
||||
"description": "Start time of the span in nanoseconds from the UNIX epoch.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"orderBy": {
|
||||
"type": "string",
|
||||
"description": "Field used to sort the returned traces. Optional. Can be one of the following: * `trace_id` * `name` (`name` field of root span in the trace) * `duration` (difference between `end_time` and `start_time` fields of the root span) * `start` (`start_time` field of the root span) Descending order can be specified by appending `desc` to the sort field (for example, `name desc`). Only one sort field is permitted.",
|
||||
"location": "query"
|
||||
"kind": {
|
||||
"description": "Distinguishes between spans generated in a particular context. For example,\ntwo spans with the same name may be distinguished using `RPC_CLIENT`\nand `RPC_SERVER` to identify queueing latency associated with the span.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Unspecified.",
|
||||
"Indicates that the span covers server-side handling of an RPC or other\nremote network request.",
|
||||
"Indicates that the span covers the client-side wrapper around an RPC or\nother remote request."
|
||||
],
|
||||
"enum": [
|
||||
"SPAN_KIND_UNSPECIFIED",
|
||||
"RPC_SERVER",
|
||||
"RPC_CLIENT"
|
||||
]
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"projectId"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "ListTracesResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/trace.readonly"
|
||||
]
|
||||
},
|
||||
"get": {
|
||||
"id": "cloudtrace.projects.traces.get",
|
||||
"path": "v1/projects/{projectId}/traces/{traceId}",
|
||||
"httpMethod": "GET",
|
||||
"description": "Gets a single trace by its ID.",
|
||||
"parameters": {
|
||||
"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": {
|
||||
"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"
|
||||
},
|
||||
"Trace": {
|
||||
"id": "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": {
|
||||
"type": "string",
|
||||
"description": "ID of the Cloud project where the trace data is stored.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
"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": {
|
||||
"type": "string",
|
||||
"description": "ID of the trace to return.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
"description": "Globally unique identifier for the trace. This identifier is a 128-bit\nnumeric value formatted as a 32-byte hex string.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"projectId",
|
||||
"traceId"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "Trace"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/trace.readonly"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"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 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.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",
|
||||
"ownerName": "Google",
|
||||
"resources": {
|
||||
"projects": {
|
||||
"resources": {
|
||||
"traces": {
|
||||
"methods": {
|
||||
"list": {
|
||||
"description": "Returns of a list of traces that match the specified filter conditions.",
|
||||
"httpMethod": "GET",
|
||||
"parameterOrder": [
|
||||
"projectId"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "ListTracesResponse"
|
||||
},
|
||||
"parameters": {
|
||||
"pageToken": {
|
||||
"type": "string",
|
||||
"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."
|
||||
},
|
||||
"startTime": {
|
||||
"location": "query",
|
||||
"description": "Start of the time interval (inclusive) during which the trace data was\ncollected from the application.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"pageSize": {
|
||||
"type": "integer",
|
||||
"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.",
|
||||
"format": "int32"
|
||||
},
|
||||
"view": {
|
||||
"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": {
|
||||
"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",
|
||||
"location": "query"
|
||||
},
|
||||
"projectId": {
|
||||
"location": "path",
|
||||
"description": "ID of the Cloud project where the trace data is stored.",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
"filter": {
|
||||
"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",
|
||||
"location": "query"
|
||||
},
|
||||
"endTime": {
|
||||
"location": "query",
|
||||
"description": "End of the time interval (inclusive) during which the trace data was\ncollected from the application.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/trace.readonly"
|
||||
],
|
||||
"flatPath": "v1/projects/{projectId}/traces",
|
||||
"id": "cloudtrace.projects.traces.list",
|
||||
"path": "v1/projects/{projectId}/traces"
|
||||
},
|
||||
"get": {
|
||||
"description": "Gets a single trace by its ID.",
|
||||
"httpMethod": "GET",
|
||||
"parameterOrder": [
|
||||
"projectId",
|
||||
"traceId"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "Trace"
|
||||
},
|
||||
"parameters": {
|
||||
"projectId": {
|
||||
"required": true,
|
||||
"type": "string",
|
||||
"location": "path",
|
||||
"description": "ID of the Cloud project where the trace data is stored."
|
||||
},
|
||||
"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"
|
||||
],
|
||||
"flatPath": "v1/projects/{projectId}/traces/{traceId}",
|
||||
"id": "cloudtrace.projects.traces.get",
|
||||
"path": "v1/projects/{projectId}/traces/{traceId}"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"methods": {
|
||||
"patchTraces": {
|
||||
"description": "Sends new traces to Stackdriver Trace or updates existing traces. If the ID\nof a trace that you send matches that of an existing trace, any fields\nin the existing trace and its spans are overwritten by the provided values,\nand any new fields provided are merged with the existing trace data. If the\nID does not match, a new trace is created.",
|
||||
"request": {
|
||||
"$ref": "Traces"
|
||||
},
|
||||
"httpMethod": "PATCH",
|
||||
"parameterOrder": [
|
||||
"projectId"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "Empty"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/trace.append"
|
||||
],
|
||||
"parameters": {
|
||||
"projectId": {
|
||||
"description": "ID of the Cloud project where the trace data is stored.",
|
||||
"required": true,
|
||||
"type": "string",
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"flatPath": "v1/projects/{projectId}/traces",
|
||||
"id": "cloudtrace.projects.patchTraces",
|
||||
"path": "v1/projects/{projectId}/traces"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
"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": {
|
||||
"description": "Pretty-print response.",
|
||||
"type": "boolean",
|
||||
"default": "true",
|
||||
"location": "query"
|
||||
},
|
||||
"oauth_token": {
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"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": {
|
||||
"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": {
|
||||
"location": "query",
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"type": "string"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
],
|
||||
"location": "query",
|
||||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
],
|
||||
"description": "V1 error format.",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"location": "query",
|
||||
"description": "JSONP",
|
||||
"type": "string"
|
||||
},
|
||||
"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"
|
||||
]
|
||||
}
|
||||
},
|
||||
"version": "v1",
|
||||
"baseUrl": "https://cloudtrace.googleapis.com/",
|
||||
"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",
|
||||
"kind": "discovery#restDescription",
|
||||
"servicePath": ""
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/lOQeocShB0dxGwrtxzB56jZ95Xk\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/lOQeocShB0dxGwrtxzB56jZ95Xk\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "clouduseraccounts:alpha",
|
||||
"name": "clouduseraccounts",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/-BiORd5nMN3AbHTR5Pi2H1JslEk\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/-BiORd5nMN3AbHTR5Pi2H1JslEk\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "clouduseraccounts:beta",
|
||||
"name": "clouduseraccounts",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/DmNFUFGhSh7oLg7RNX5k36KX4oA\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/DmNFUFGhSh7oLg7RNX5k36KX4oA\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "clouduseraccounts:vm_alpha",
|
||||
"name": "clouduseraccounts",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/NOgAExjYfIWiV_BL3FlcslmjncY\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/NOgAExjYfIWiV_BL3FlcslmjncY\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "clouduseraccounts:vm_beta",
|
||||
"name": "clouduseraccounts",
|
||||
|
||||
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": "\"tbys6C40o18GZwyMen5GMkdK-3s/rHWbtxT3gC8DAqrI4kJjmo2JS7Q\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/e7DEYLH6SdmU14auNlU-9VK4HgU\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "consumersurveys:v2",
|
||||
"name": "consumersurveys",
|
||||
"canonicalName": "Consumer Surveys",
|
||||
"version": "v2",
|
||||
"revision": "20161101",
|
||||
"revision": "20170407",
|
||||
"title": "Consumer Surveys API",
|
||||
"description": "Creates and conducts surveys, lists the surveys that an authenticated user owns, and retrieves survey results and information about specified surveys.",
|
||||
"ownerDomain": "google.com",
|
||||
@@ -454,10 +454,6 @@
|
||||
"requestId": {
|
||||
"type": "string",
|
||||
"description": "Unique request ID used for logging and debugging. Please include in any error reporting or troubleshooting requests."
|
||||
},
|
||||
"resource": {
|
||||
"$ref": "Survey",
|
||||
"description": "Survey object containing the specification of the started Survey."
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -468,10 +464,6 @@
|
||||
"requestId": {
|
||||
"type": "string",
|
||||
"description": "Unique request ID used for logging and debugging. Please include in any error reporting or troubleshooting requests."
|
||||
},
|
||||
"resource": {
|
||||
"$ref": "Survey",
|
||||
"description": "Survey object containing the specification of the stopped Survey."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/VEEyLOh5uQoE1GRmT6bPbJj1uoA\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/BclkybusasZymwfyrM_IDMj_UwU\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "content:v2",
|
||||
"name": "content",
|
||||
"canonicalName": "Shopping Content",
|
||||
"version": "v2",
|
||||
"revision": "20161205",
|
||||
"revision": "20170519",
|
||||
"title": "Content API for Shopping",
|
||||
"description": "Manages product items, inventory, and Merchant Center accounts for Google Shopping.",
|
||||
"ownerDomain": "google.com",
|
||||
@@ -88,7 +88,7 @@
|
||||
},
|
||||
"adwordsLinks": {
|
||||
"type": "array",
|
||||
"description": "List of linked AdWords accounts, active or pending approval. To create a new link request, add a new link with status active to the list. It will remain is state pending until approved or rejected in the AdWords interface. To delete an active link or to cancel a link request, remove it from the list.",
|
||||
"description": "List of linked AdWords accounts that are active or pending approval. To create a new link request, add a new link with status active to the list. It will remain in a pending state until approved or rejected either in the AdWords interface or through the AdWords API. To delete an active link, or to cancel a link request, remove it from the list.",
|
||||
"items": {
|
||||
"$ref": "AccountAdwordsLink"
|
||||
}
|
||||
@@ -170,370 +170,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"AccountShipping": {
|
||||
"id": "AccountShipping",
|
||||
"type": "object",
|
||||
"description": "The shipping settings of a merchant account.",
|
||||
"properties": {
|
||||
"accountId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the account to which these account shipping settings belong.",
|
||||
"format": "uint64",
|
||||
"annotations": {
|
||||
"required": [
|
||||
"content.accountshipping.update"
|
||||
]
|
||||
}
|
||||
},
|
||||
"carrierRates": {
|
||||
"type": "array",
|
||||
"description": "Carrier-based shipping calculations.",
|
||||
"items": {
|
||||
"$ref": "AccountShippingCarrierRate"
|
||||
}
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#accountShipping\".",
|
||||
"default": "content#accountShipping"
|
||||
},
|
||||
"locationGroups": {
|
||||
"type": "array",
|
||||
"description": "Location groups for shipping.",
|
||||
"items": {
|
||||
"$ref": "AccountShippingLocationGroup"
|
||||
}
|
||||
},
|
||||
"rateTables": {
|
||||
"type": "array",
|
||||
"description": "Rate tables definitions.",
|
||||
"items": {
|
||||
"$ref": "AccountShippingRateTable"
|
||||
}
|
||||
},
|
||||
"services": {
|
||||
"type": "array",
|
||||
"description": "Shipping services describing shipping fees calculation.",
|
||||
"items": {
|
||||
"$ref": "AccountShippingShippingService"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"AccountShippingCarrierRate": {
|
||||
"id": "AccountShippingCarrierRate",
|
||||
"type": "object",
|
||||
"description": "A carrier-calculated shipping rate.",
|
||||
"properties": {
|
||||
"carrier": {
|
||||
"type": "string",
|
||||
"description": "The carrier that is responsible for the shipping, such as \"UPS\", \"FedEx\", or \"USPS\".",
|
||||
"annotations": {
|
||||
"required": [
|
||||
"content.accountshipping.update"
|
||||
]
|
||||
}
|
||||
},
|
||||
"carrierService": {
|
||||
"type": "string",
|
||||
"description": "The carrier service, such as \"Ground\" or \"2Day\".",
|
||||
"annotations": {
|
||||
"required": [
|
||||
"content.accountshipping.update"
|
||||
]
|
||||
}
|
||||
},
|
||||
"modifierFlatRate": {
|
||||
"$ref": "Price",
|
||||
"description": "Additive shipping rate modifier."
|
||||
},
|
||||
"modifierPercent": {
|
||||
"type": "string",
|
||||
"description": "Multiplicative shipping rate modifier in percent. Represented as a floating point number without the percentage character."
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The name of the carrier rate.",
|
||||
"annotations": {
|
||||
"required": [
|
||||
"content.accountshipping.update"
|
||||
]
|
||||
}
|
||||
},
|
||||
"saleCountry": {
|
||||
"type": "string",
|
||||
"description": "The sale country for which this carrier rate is valid, represented as a CLDR territory code.",
|
||||
"annotations": {
|
||||
"required": [
|
||||
"content.accountshipping.update"
|
||||
]
|
||||
}
|
||||
},
|
||||
"shippingOrigin": {
|
||||
"type": "string",
|
||||
"description": "Shipping origin represented as a postal code.",
|
||||
"annotations": {
|
||||
"required": [
|
||||
"content.accountshipping.update"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"AccountShippingCondition": {
|
||||
"id": "AccountShippingCondition",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"deliveryLocationGroup": {
|
||||
"type": "string",
|
||||
"description": "Delivery location in terms of a location group name. A location group with this name must be specified among location groups."
|
||||
},
|
||||
"deliveryLocationId": {
|
||||
"type": "string",
|
||||
"description": "Delivery location in terms of a location ID. Can be used to represent administrative areas, smaller country subdivisions, or cities.",
|
||||
"format": "int64"
|
||||
},
|
||||
"deliveryPostalCode": {
|
||||
"type": "string",
|
||||
"description": "Delivery location in terms of a postal code."
|
||||
},
|
||||
"deliveryPostalCodeRange": {
|
||||
"$ref": "AccountShippingPostalCodeRange",
|
||||
"description": "Delivery location in terms of a postal code range."
|
||||
},
|
||||
"priceMax": {
|
||||
"$ref": "Price",
|
||||
"description": "Maximum shipping price. Forms an interval between the maximum of smaller prices (exclusive) and this price (inclusive)."
|
||||
},
|
||||
"shippingLabel": {
|
||||
"type": "string",
|
||||
"description": "Shipping label of the product. The products with the label are matched."
|
||||
},
|
||||
"weightMax": {
|
||||
"$ref": "Weight",
|
||||
"description": "Maximum shipping weight. Forms an interval between the maximum of smaller weight (exclusive) and this weight (inclusive)."
|
||||
}
|
||||
}
|
||||
},
|
||||
"AccountShippingLocationGroup": {
|
||||
"id": "AccountShippingLocationGroup",
|
||||
"type": "object",
|
||||
"description": "A user-defined locations group in a given country. All the locations of the group must be of the same type.",
|
||||
"properties": {
|
||||
"country": {
|
||||
"type": "string",
|
||||
"description": "The CLDR territory code of the country in which this location group is.",
|
||||
"annotations": {
|
||||
"required": [
|
||||
"content.accountshipping.update"
|
||||
]
|
||||
}
|
||||
},
|
||||
"locationIds": {
|
||||
"type": "array",
|
||||
"description": "A location ID (also called criteria ID) representing administrative areas, smaller country subdivisions (counties), or cities.",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"format": "int64"
|
||||
}
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The name of the location group.",
|
||||
"annotations": {
|
||||
"required": [
|
||||
"content.accountshipping.update"
|
||||
]
|
||||
}
|
||||
},
|
||||
"postalCodeRanges": {
|
||||
"type": "array",
|
||||
"description": "A postal code range representing a city or a set of cities.",
|
||||
"items": {
|
||||
"$ref": "AccountShippingPostalCodeRange"
|
||||
}
|
||||
},
|
||||
"postalCodes": {
|
||||
"type": "array",
|
||||
"description": "A postal code representing a city or a set of cities. \n- A single postal code (e.g., 12345)\n- A postal code prefix followed by a star (e.g., 1234*)",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"AccountShippingPostalCodeRange": {
|
||||
"id": "AccountShippingPostalCodeRange",
|
||||
"type": "object",
|
||||
"description": "A postal code range, that can be either: \n- A range of postal codes (e.g., start=12340, end=12359)\n- A range of postal codes prefixes (e.g., start=1234* end=1235*). Prefixes must be of the same length (e.g., start=12* end=2* is invalid).",
|
||||
"properties": {
|
||||
"end": {
|
||||
"type": "string",
|
||||
"description": "The last (inclusive) postal code or prefix of the range.",
|
||||
"annotations": {
|
||||
"required": [
|
||||
"content.accountshipping.update"
|
||||
]
|
||||
}
|
||||
},
|
||||
"start": {
|
||||
"type": "string",
|
||||
"description": "The first (inclusive) postal code or prefix of the range.",
|
||||
"annotations": {
|
||||
"required": [
|
||||
"content.accountshipping.update"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"AccountShippingRateTable": {
|
||||
"id": "AccountShippingRateTable",
|
||||
"type": "object",
|
||||
"description": "A single or bi-dimensional table of shipping rates. Each dimension is defined in terms of consecutive price/weight ranges, delivery locations, or shipping labels.",
|
||||
"properties": {
|
||||
"content": {
|
||||
"type": "array",
|
||||
"description": "One-dimensional table cells define one condition along the same dimension. Bi-dimensional table cells use two dimensions with respectively M and N distinct values and must contain exactly M * N cells with distinct conditions (for each possible value pairs).",
|
||||
"items": {
|
||||
"$ref": "AccountShippingRateTableCell"
|
||||
}
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The name of the rate table.",
|
||||
"annotations": {
|
||||
"required": [
|
||||
"content.accountshipping.update"
|
||||
]
|
||||
}
|
||||
},
|
||||
"saleCountry": {
|
||||
"type": "string",
|
||||
"description": "The sale country for which this table is valid, represented as a CLDR territory code.",
|
||||
"annotations": {
|
||||
"required": [
|
||||
"content.accountshipping.update"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"AccountShippingRateTableCell": {
|
||||
"id": "AccountShippingRateTableCell",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"condition": {
|
||||
"$ref": "AccountShippingCondition",
|
||||
"description": "Conditions for which the cell is valid. All cells in a table must use the same dimension or pair of dimensions among price, weight, shipping label or delivery location. If no condition is specified, the cell acts as a catch-all and matches all the elements that are not matched by other cells in this dimension."
|
||||
},
|
||||
"rate": {
|
||||
"$ref": "Price",
|
||||
"description": "The rate applicable if the cell conditions are matched.",
|
||||
"annotations": {
|
||||
"required": [
|
||||
"content.accountshipping.update"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"AccountShippingShippingService": {
|
||||
"id": "AccountShippingShippingService",
|
||||
"type": "object",
|
||||
"description": "Shipping services provided in a country.",
|
||||
"properties": {
|
||||
"active": {
|
||||
"type": "boolean",
|
||||
"description": "Whether the shipping service is available."
|
||||
},
|
||||
"calculationMethod": {
|
||||
"$ref": "AccountShippingShippingServiceCalculationMethod",
|
||||
"description": "Calculation method for the \"simple\" case that needs no rules."
|
||||
},
|
||||
"costRuleTree": {
|
||||
"$ref": "AccountShippingShippingServiceCostRule",
|
||||
"description": "Decision tree for \"complicated\" shipping cost calculation."
|
||||
},
|
||||
"maxDaysInTransit": {
|
||||
"type": "string",
|
||||
"description": "The maximum number of days in transit. Must be a value between 0 and 250 included. A value of 0 means same day delivery.",
|
||||
"format": "uint64"
|
||||
},
|
||||
"minDaysInTransit": {
|
||||
"type": "string",
|
||||
"description": "The minimum number of days in transit. Must be a value between 0 and maxDaysIntransit included. A value of 0 means same day delivery.",
|
||||
"format": "uint64"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The name of this shipping service.",
|
||||
"annotations": {
|
||||
"required": [
|
||||
"content.accountshipping.update"
|
||||
]
|
||||
}
|
||||
},
|
||||
"saleCountry": {
|
||||
"type": "string",
|
||||
"description": "The CLDR territory code of the sale country for which this service can be used.",
|
||||
"annotations": {
|
||||
"required": [
|
||||
"content.accountshipping.update"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"AccountShippingShippingServiceCalculationMethod": {
|
||||
"id": "AccountShippingShippingServiceCalculationMethod",
|
||||
"type": "object",
|
||||
"description": "Shipping cost calculation method. Exactly one of the field is set.",
|
||||
"properties": {
|
||||
"carrierRate": {
|
||||
"type": "string",
|
||||
"description": "Name of the carrier rate to use for the calculation."
|
||||
},
|
||||
"excluded": {
|
||||
"type": "boolean",
|
||||
"description": "Delivery is excluded. Valid only within cost rules tree."
|
||||
},
|
||||
"flatRate": {
|
||||
"$ref": "Price",
|
||||
"description": "Fixed price shipping, represented as a floating point number associated with a currency."
|
||||
},
|
||||
"percentageRate": {
|
||||
"type": "string",
|
||||
"description": "Percentage of the price, represented as a floating point number without the percentage character."
|
||||
},
|
||||
"rateTable": {
|
||||
"type": "string",
|
||||
"description": "Name of the rate table to use for the calculation."
|
||||
}
|
||||
}
|
||||
},
|
||||
"AccountShippingShippingServiceCostRule": {
|
||||
"id": "AccountShippingShippingServiceCostRule",
|
||||
"type": "object",
|
||||
"description": "Building block of the cost calculation decision tree. \n- The tree root should have no condition and no calculation method.\n- All the children must have a condition on the same dimension. The first child matching a condition is entered, therefore, price and weight conditions form contiguous intervals.\n- The last child of an element must have no condition and matches all elements not previously matched.\n- Children and calculation method are mutually exclusive, and exactly one of them must be defined; the root must only have children.",
|
||||
"properties": {
|
||||
"calculationMethod": {
|
||||
"$ref": "AccountShippingShippingServiceCalculationMethod",
|
||||
"description": "Final calculation method to be used only in leaf nodes."
|
||||
},
|
||||
"children": {
|
||||
"type": "array",
|
||||
"description": "Subsequent rules to be applied, only for inner nodes. The last child must not specify a condition and acts as a catch-all.",
|
||||
"items": {
|
||||
"$ref": "AccountShippingShippingServiceCostRule"
|
||||
}
|
||||
},
|
||||
"condition": {
|
||||
"$ref": "AccountShippingCondition",
|
||||
"description": "Condition for this rule to be applicable. If no condition is specified, the rule acts as a catch-all."
|
||||
}
|
||||
}
|
||||
},
|
||||
"AccountStatus": {
|
||||
"id": "AccountStatus",
|
||||
"type": "object",
|
||||
@@ -554,6 +190,10 @@
|
||||
"type": "string",
|
||||
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#accountStatus\".",
|
||||
"default": "content#accountStatus"
|
||||
},
|
||||
"websiteClaimed": {
|
||||
"type": "boolean",
|
||||
"description": "Whether the account's website is claimed or not."
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -565,6 +205,10 @@
|
||||
"type": "string",
|
||||
"description": "Country for which this issue is reported."
|
||||
},
|
||||
"detail": {
|
||||
"type": "string",
|
||||
"description": "A more detailed description of the issue."
|
||||
},
|
||||
"displayedValue": {
|
||||
"type": "string",
|
||||
"description": "Actual value displayed on the landing page."
|
||||
@@ -584,6 +228,10 @@
|
||||
"type": "string",
|
||||
"description": "Last time the account was checked for this issue."
|
||||
},
|
||||
"location": {
|
||||
"type": "string",
|
||||
"description": "The attribute name that is relevant for the issue."
|
||||
},
|
||||
"numItems": {
|
||||
"type": "integer",
|
||||
"description": "Number of items in the account found to have the said issue.",
|
||||
@@ -720,6 +368,17 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"AccountsClaimWebsiteResponse": {
|
||||
"id": "AccountsClaimWebsiteResponse",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#accountsClaimWebsiteResponse\".",
|
||||
"default": "content#accountsClaimWebsiteResponse"
|
||||
}
|
||||
}
|
||||
},
|
||||
"AccountsCustomBatchRequest": {
|
||||
"id": "AccountsCustomBatchRequest",
|
||||
"type": "object",
|
||||
@@ -744,7 +403,7 @@
|
||||
},
|
||||
"accountId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the account to get or delete. Only defined if the method is get or delete.",
|
||||
"description": "The ID of the targeted account. Only defined if the method is get, delete or claimwebsite.",
|
||||
"format": "uint64"
|
||||
},
|
||||
"batchId": {
|
||||
@@ -759,6 +418,10 @@
|
||||
},
|
||||
"method": {
|
||||
"type": "string"
|
||||
},
|
||||
"overwrite": {
|
||||
"type": "boolean",
|
||||
"description": "Only applicable if the method is claimwebsite. Indicates whether or not to take the claim from another account in case there is a conflict."
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -787,7 +450,7 @@
|
||||
"properties": {
|
||||
"account": {
|
||||
"$ref": "Account",
|
||||
"description": "The retrieved, created, or updated account. Not defined if the method was delete."
|
||||
"description": "The retrieved, created, or updated account. Not defined if the method was delete or claimwebsite."
|
||||
},
|
||||
"batchId": {
|
||||
"type": "integer",
|
||||
@@ -826,112 +489,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"AccountshippingCustomBatchRequest": {
|
||||
"id": "AccountshippingCustomBatchRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"entries": {
|
||||
"type": "array",
|
||||
"description": "The request entries to be processed in the batch.",
|
||||
"items": {
|
||||
"$ref": "AccountshippingCustomBatchRequestEntry"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"AccountshippingCustomBatchRequestEntry": {
|
||||
"id": "AccountshippingCustomBatchRequestEntry",
|
||||
"type": "object",
|
||||
"description": "A batch entry encoding a single non-batch accountshipping request.",
|
||||
"properties": {
|
||||
"accountId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the account for which to get/update account shipping settings.",
|
||||
"format": "uint64"
|
||||
},
|
||||
"accountShipping": {
|
||||
"$ref": "AccountShipping",
|
||||
"description": "The account shipping settings to update. Only defined if the method is update."
|
||||
},
|
||||
"batchId": {
|
||||
"type": "integer",
|
||||
"description": "An entry ID, unique within the batch request.",
|
||||
"format": "uint32"
|
||||
},
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"format": "uint64"
|
||||
},
|
||||
"method": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"AccountshippingCustomBatchResponse": {
|
||||
"id": "AccountshippingCustomBatchResponse",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"entries": {
|
||||
"type": "array",
|
||||
"description": "The result of the execution of the batch requests.",
|
||||
"items": {
|
||||
"$ref": "AccountshippingCustomBatchResponseEntry"
|
||||
}
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#accountshippingCustomBatchResponse\".",
|
||||
"default": "content#accountshippingCustomBatchResponse"
|
||||
}
|
||||
}
|
||||
},
|
||||
"AccountshippingCustomBatchResponseEntry": {
|
||||
"id": "AccountshippingCustomBatchResponseEntry",
|
||||
"type": "object",
|
||||
"description": "A batch entry encoding a single non-batch accountshipping response.",
|
||||
"properties": {
|
||||
"accountShipping": {
|
||||
"$ref": "AccountShipping",
|
||||
"description": "The retrieved or updated account shipping settings."
|
||||
},
|
||||
"batchId": {
|
||||
"type": "integer",
|
||||
"description": "The ID of the request entry this entry responds to.",
|
||||
"format": "uint32"
|
||||
},
|
||||
"errors": {
|
||||
"$ref": "Errors",
|
||||
"description": "A list of errors defined if and only if the request failed."
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#accountshippingCustomBatchResponseEntry\".",
|
||||
"default": "content#accountshippingCustomBatchResponseEntry"
|
||||
}
|
||||
}
|
||||
},
|
||||
"AccountshippingListResponse": {
|
||||
"id": "AccountshippingListResponse",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#accountshippingListResponse\".",
|
||||
"default": "content#accountshippingListResponse"
|
||||
},
|
||||
"nextPageToken": {
|
||||
"type": "string",
|
||||
"description": "The token for the retrieval of the next page of account shipping settings."
|
||||
},
|
||||
"resources": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "AccountShipping"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"AccountstatusesCustomBatchRequest": {
|
||||
"id": "AccountstatusesCustomBatchRequest",
|
||||
"type": "object",
|
||||
@@ -1207,7 +764,7 @@
|
||||
},
|
||||
"contentType": {
|
||||
"type": "string",
|
||||
"description": "The type of data feed.",
|
||||
"description": "The type of data feed. For product inventory feeds, only feeds for local stores, not online stores, are supported.",
|
||||
"annotations": {
|
||||
"required": [
|
||||
"content.datafeeds.insert",
|
||||
@@ -4319,7 +3876,7 @@
|
||||
"ShippingsettingsCustomBatchRequestEntry": {
|
||||
"id": "ShippingsettingsCustomBatchRequestEntry",
|
||||
"type": "object",
|
||||
"description": "A batch entry encoding a single non-batch accountshipping request.",
|
||||
"description": "A batch entry encoding a single non-batch shippingsettings request.",
|
||||
"properties": {
|
||||
"accountId": {
|
||||
"type": "string",
|
||||
@@ -4768,21 +4325,11 @@
|
||||
"properties": {
|
||||
"unit": {
|
||||
"type": "string",
|
||||
"description": "The weight unit.",
|
||||
"annotations": {
|
||||
"required": [
|
||||
"content.accountshipping.update"
|
||||
]
|
||||
}
|
||||
"description": "The weight unit."
|
||||
},
|
||||
"value": {
|
||||
"type": "string",
|
||||
"description": "The weight represented as a number.",
|
||||
"annotations": {
|
||||
"required": [
|
||||
"content.accountshipping.update"
|
||||
]
|
||||
}
|
||||
"description": "The weight represented as a number."
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -4802,6 +4349,43 @@
|
||||
"https://www.googleapis.com/auth/content"
|
||||
]
|
||||
},
|
||||
"claimwebsite": {
|
||||
"id": "content.accounts.claimwebsite",
|
||||
"path": "{merchantId}/accounts/{accountId}/claimwebsite",
|
||||
"httpMethod": "POST",
|
||||
"description": "Claims the website of a Merchant Center sub-account. This method can only be called for multi-client accounts.",
|
||||
"parameters": {
|
||||
"accountId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the account whose website is claimed.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
},
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
},
|
||||
"overwrite": {
|
||||
"type": "boolean",
|
||||
"description": "Flag to remove any existing claim on the requested website by another account and replace it with a claim from this account.",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"merchantId",
|
||||
"accountId"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "AccountsClaimWebsiteResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/content"
|
||||
]
|
||||
},
|
||||
"custombatch": {
|
||||
"id": "content.accounts.custombatch",
|
||||
"path": "accounts/batch",
|
||||
@@ -4961,7 +4545,7 @@
|
||||
"id": "content.accounts.patch",
|
||||
"path": "{merchantId}/accounts/{accountId}",
|
||||
"httpMethod": "PATCH",
|
||||
"description": "Updates a Merchant Center account. This method can only be called for multi-client accounts. This method supports patch semantics.",
|
||||
"description": "Updates a Merchant Center account. This method can only be called for accounts to which the managing account has access: either the managing account itself or sub-accounts if the managing account is a multi-client account. This method supports patch semantics.",
|
||||
"parameters": {
|
||||
"accountId": {
|
||||
"type": "string",
|
||||
@@ -5001,7 +4585,7 @@
|
||||
"id": "content.accounts.update",
|
||||
"path": "{merchantId}/accounts/{accountId}",
|
||||
"httpMethod": "PUT",
|
||||
"description": "Updates a Merchant Center account. This method can only be called for multi-client accounts.",
|
||||
"description": "Updates a Merchant Center account. This method can only be called for accounts to which the managing account has access: either the managing account itself or sub-accounts if the managing account is a multi-client account.",
|
||||
"parameters": {
|
||||
"accountId": {
|
||||
"type": "string",
|
||||
@@ -5039,179 +4623,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"accountshipping": {
|
||||
"methods": {
|
||||
"custombatch": {
|
||||
"id": "content.accountshipping.custombatch",
|
||||
"path": "accountshipping/batch",
|
||||
"httpMethod": "POST",
|
||||
"description": "Retrieves and updates the shipping settings of multiple accounts in a single request.",
|
||||
"parameters": {
|
||||
"dryRun": {
|
||||
"type": "boolean",
|
||||
"description": "Flag to run the request in dry-run mode.",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"request": {
|
||||
"$ref": "AccountshippingCustomBatchRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "AccountshippingCustomBatchResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/content"
|
||||
]
|
||||
},
|
||||
"get": {
|
||||
"id": "content.accountshipping.get",
|
||||
"path": "{merchantId}/accountshipping/{accountId}",
|
||||
"httpMethod": "GET",
|
||||
"description": "Retrieves the shipping settings of the account. This method can only be called for accounts to which the managing account has access: either the managing account itself or sub-accounts if the managing account is a multi-client account.",
|
||||
"parameters": {
|
||||
"accountId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the account for which to get/update account shipping settings.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
},
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"merchantId",
|
||||
"accountId"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "AccountShipping"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/content"
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"id": "content.accountshipping.list",
|
||||
"path": "{merchantId}/accountshipping",
|
||||
"httpMethod": "GET",
|
||||
"description": "Lists the shipping settings of the sub-accounts in your Merchant Center account. This method can only be called for multi-client accounts.",
|
||||
"parameters": {
|
||||
"maxResults": {
|
||||
"type": "integer",
|
||||
"description": "The maximum number of shipping settings to return in the response, used for paging.",
|
||||
"format": "uint32",
|
||||
"location": "query"
|
||||
},
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
},
|
||||
"pageToken": {
|
||||
"type": "string",
|
||||
"description": "The token returned by the previous request.",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"merchantId"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "AccountshippingListResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/content"
|
||||
]
|
||||
},
|
||||
"patch": {
|
||||
"id": "content.accountshipping.patch",
|
||||
"path": "{merchantId}/accountshipping/{accountId}",
|
||||
"httpMethod": "PATCH",
|
||||
"description": "Updates the shipping settings of the account. This method can only be called for accounts to which the managing account has access: either the managing account itself or sub-accounts if the managing account is a multi-client account. This method supports patch semantics.",
|
||||
"parameters": {
|
||||
"accountId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the account for which to get/update account shipping settings.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
},
|
||||
"dryRun": {
|
||||
"type": "boolean",
|
||||
"description": "Flag to run the request in dry-run mode.",
|
||||
"location": "query"
|
||||
},
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"merchantId",
|
||||
"accountId"
|
||||
],
|
||||
"request": {
|
||||
"$ref": "AccountShipping"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "AccountShipping"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/content"
|
||||
]
|
||||
},
|
||||
"update": {
|
||||
"id": "content.accountshipping.update",
|
||||
"path": "{merchantId}/accountshipping/{accountId}",
|
||||
"httpMethod": "PUT",
|
||||
"description": "Updates the shipping settings of the account. This method can only be called for accounts to which the managing account has access: either the managing account itself or sub-accounts if the managing account is a multi-client account.",
|
||||
"parameters": {
|
||||
"accountId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the account for which to get/update account shipping settings.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
},
|
||||
"dryRun": {
|
||||
"type": "boolean",
|
||||
"description": "Flag to run the request in dry-run mode.",
|
||||
"location": "query"
|
||||
},
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"merchantId",
|
||||
"accountId"
|
||||
],
|
||||
"request": {
|
||||
"$ref": "AccountShipping"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "AccountShipping"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/content"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"accountstatuses": {
|
||||
"methods": {
|
||||
"custombatch": {
|
||||
@@ -5925,7 +5336,7 @@
|
||||
"id": "content.orders.cancel",
|
||||
"path": "{merchantId}/orders/{orderId}/cancel",
|
||||
"httpMethod": "POST",
|
||||
"description": "Cancels all line items in an order. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Cancels all line items in an order, making a full refund. This method can only be called for non-multi-client accounts.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
@@ -5959,7 +5370,7 @@
|
||||
"id": "content.orders.cancellineitem",
|
||||
"path": "{merchantId}/orders/{orderId}/cancelLineItem",
|
||||
"httpMethod": "POST",
|
||||
"description": "Cancels a line item. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Cancels a line item, making a full refund. This method can only be called for non-multi-client accounts.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
@@ -6572,6 +5983,13 @@
|
||||
"path": "productstatuses/batch",
|
||||
"httpMethod": "POST",
|
||||
"description": "Gets the statuses of multiple products in a single request. This method can only be called for non-multi-client accounts.",
|
||||
"parameters": {
|
||||
"includeAttributes": {
|
||||
"type": "boolean",
|
||||
"description": "Flag to include full product data in the results of this request. The default value is false.",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"request": {
|
||||
"$ref": "ProductstatusesCustomBatchRequest"
|
||||
},
|
||||
@@ -6588,6 +6006,11 @@
|
||||
"httpMethod": "GET",
|
||||
"description": "Gets the status of a product from your Merchant Center account. This method can only be called for non-multi-client accounts.",
|
||||
"parameters": {
|
||||
"includeAttributes": {
|
||||
"type": "boolean",
|
||||
"description": "Flag to include full product data in the result of this get request. The default value is false.",
|
||||
"location": "query"
|
||||
},
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
@@ -6619,6 +6042,11 @@
|
||||
"httpMethod": "GET",
|
||||
"description": "Lists the statuses of the products in your Merchant Center account. This method can only be called for non-multi-client accounts.",
|
||||
"parameters": {
|
||||
"includeAttributes": {
|
||||
"type": "boolean",
|
||||
"description": "Flag to include full product data in the results of the list request. The default value is false.",
|
||||
"location": "query"
|
||||
},
|
||||
"includeInvalidInsertedItems": {
|
||||
"type": "boolean",
|
||||
"description": "Flag to include the invalid inserted items in the result of the list request. By default the invalid items are not shown (the default value is false).",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/W1AQ-5FwbPweFAs-GFJ9Ju07xes\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/nn4zZjTupvVB_YDH6azVBTMwJuk\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "content:v2sandbox",
|
||||
"name": "content",
|
||||
"canonicalName": "Shopping Content",
|
||||
"version": "v2sandbox",
|
||||
"revision": "20161205",
|
||||
"revision": "20170519",
|
||||
"title": "Content API for Shopping",
|
||||
"description": "Manages product items, inventory, and Merchant Center accounts for Google Shopping.",
|
||||
"ownerDomain": "google.com",
|
||||
@@ -1788,7 +1788,7 @@
|
||||
"id": "content.orders.cancel",
|
||||
"path": "{merchantId}/orders/{orderId}/cancel",
|
||||
"httpMethod": "POST",
|
||||
"description": "Cancels all line items in an order. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Cancels all line items in an order, making a full refund. This method can only be called for non-multi-client accounts.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
@@ -1822,7 +1822,7 @@
|
||||
"id": "content.orders.cancellineitem",
|
||||
"path": "{merchantId}/orders/{orderId}/cancelLineItem",
|
||||
"httpMethod": "POST",
|
||||
"description": "Cancels a line item. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Cancels a line item, making a full refund. This method can only be called for non-multi-client accounts.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/2gL3A40IBu11GP9xmmdXxrLKXPg\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/2gL3A40IBu11GP9xmmdXxrLKXPg\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "customsearch:v1",
|
||||
"name": "customsearch",
|
||||
|
||||
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,988 +0,0 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/exiNwA5EYULji4urf-Hcdv-K2mE\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "datastore:v1beta1",
|
||||
"name": "datastore",
|
||||
"version": "v1beta1",
|
||||
"revision": "20160314",
|
||||
"title": "Google Cloud Datastore API",
|
||||
"description": "Stores and queries data in Google Cloud Datastore.",
|
||||
"ownerDomain": "google.com",
|
||||
"ownerName": "Google",
|
||||
"icons": {
|
||||
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
|
||||
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
|
||||
},
|
||||
"documentationLink": "https://developers.google.com/datastore/",
|
||||
"protocol": "rest",
|
||||
"baseUrl": "https://www.googleapis.com/datastore/v1beta1/datasets/",
|
||||
"basePath": "/datastore/v1beta1/datasets/",
|
||||
"rootUrl": "https://www.googleapis.com/",
|
||||
"servicePath": "datastore/v1beta1/datasets/",
|
||||
"batchPath": "batch",
|
||||
"parameters": {
|
||||
"alt": {
|
||||
"type": "string",
|
||||
"description": "Data format for the response.",
|
||||
"default": "proto",
|
||||
"enum": [
|
||||
"json",
|
||||
"proto"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Responses with Content-Type of application/json",
|
||||
"Responses with Content-Type of application/x-protobuf"
|
||||
],
|
||||
"location": "query"
|
||||
},
|
||||
"fields": {
|
||||
"type": "string",
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"location": "query"
|
||||
},
|
||||
"key": {
|
||||
"type": "string",
|
||||
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
|
||||
"location": "query"
|
||||
},
|
||||
"oauth_token": {
|
||||
"type": "string",
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"location": "query"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"type": "boolean",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"default": "true",
|
||||
"location": "query"
|
||||
},
|
||||
"quotaUser": {
|
||||
"type": "string",
|
||||
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.",
|
||||
"location": "query"
|
||||
},
|
||||
"userIp": {
|
||||
"type": "string",
|
||||
"description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"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/datastore": {
|
||||
"description": "View and manage your Google Cloud Datastore data"
|
||||
},
|
||||
"https://www.googleapis.com/auth/userinfo.email": {
|
||||
"description": "View your email address"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"schemas": {
|
||||
"AllocateIdsRequest": {
|
||||
"id": "AllocateIdsRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"keys": {
|
||||
"type": "array",
|
||||
"description": "A list of keys with incomplete key paths to allocate IDs for. No key may be reserved/read-only.",
|
||||
"items": {
|
||||
"$ref": "Key"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"AllocateIdsResponse": {
|
||||
"id": "AllocateIdsResponse",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"header": {
|
||||
"$ref": "ResponseHeader"
|
||||
},
|
||||
"keys": {
|
||||
"type": "array",
|
||||
"description": "The keys specified in the request (in the same order), each with its key path completed with a newly allocated ID.",
|
||||
"items": {
|
||||
"$ref": "Key"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"BeginTransactionRequest": {
|
||||
"id": "BeginTransactionRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"isolationLevel": {
|
||||
"type": "string",
|
||||
"description": "The transaction isolation level. Either snapshot or serializable. The default isolation level is snapshot isolation, which means that another transaction may not concurrently modify the data that is modified by this transaction. Optionally, a transaction can request to be made serializable which means that another transaction cannot concurrently modify the data that is read or modified by this transaction."
|
||||
}
|
||||
}
|
||||
},
|
||||
"BeginTransactionResponse": {
|
||||
"id": "BeginTransactionResponse",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"header": {
|
||||
"$ref": "ResponseHeader"
|
||||
},
|
||||
"transaction": {
|
||||
"type": "string",
|
||||
"description": "The transaction identifier (always present).",
|
||||
"format": "byte"
|
||||
}
|
||||
}
|
||||
},
|
||||
"BlindWriteRequest": {
|
||||
"id": "BlindWriteRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"mutation": {
|
||||
"$ref": "Mutation",
|
||||
"description": "The mutation to perform."
|
||||
}
|
||||
}
|
||||
},
|
||||
"BlindWriteResponse": {
|
||||
"id": "BlindWriteResponse",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"header": {
|
||||
"$ref": "ResponseHeader"
|
||||
},
|
||||
"mutationResult": {
|
||||
"$ref": "MutationResult",
|
||||
"description": "The result of performing the mutation (always present)."
|
||||
}
|
||||
}
|
||||
},
|
||||
"CommitRequest": {
|
||||
"id": "CommitRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"ignoreReadOnly": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"mutation": {
|
||||
"$ref": "Mutation",
|
||||
"description": "The mutation to perform. Optional."
|
||||
},
|
||||
"transaction": {
|
||||
"type": "string",
|
||||
"description": "The transaction identifier, returned by a call to beginTransaction. Must be set when mode is TRANSACTIONAL.",
|
||||
"format": "byte"
|
||||
}
|
||||
}
|
||||
},
|
||||
"CommitResponse": {
|
||||
"id": "CommitResponse",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"header": {
|
||||
"$ref": "ResponseHeader"
|
||||
},
|
||||
"mutationResult": {
|
||||
"$ref": "MutationResult",
|
||||
"description": "The result of performing the mutation (if any)."
|
||||
}
|
||||
}
|
||||
},
|
||||
"CompositeFilter": {
|
||||
"id": "CompositeFilter",
|
||||
"type": "object",
|
||||
"description": "A filter that merges the multiple other filters using the given operation.",
|
||||
"properties": {
|
||||
"filters": {
|
||||
"type": "array",
|
||||
"description": "The list of filters to combine. Must contain at least one filter.",
|
||||
"items": {
|
||||
"$ref": "Filter"
|
||||
}
|
||||
},
|
||||
"operator": {
|
||||
"type": "string",
|
||||
"description": "The operator for combining multiple filters. Only \"and\" is currently supported."
|
||||
}
|
||||
}
|
||||
},
|
||||
"Entity": {
|
||||
"id": "Entity",
|
||||
"type": "object",
|
||||
"description": "An entity.",
|
||||
"properties": {
|
||||
"key": {
|
||||
"$ref": "Key",
|
||||
"description": "The entity's key.\n\nAn entity must have a key, unless otherwise documented (for example, an entity in Value.entityValue may have no key). An entity's kind is its key's path's last element's kind, or null if it has no key."
|
||||
},
|
||||
"properties": {
|
||||
"type": "object",
|
||||
"description": "The entity's properties.",
|
||||
"additionalProperties": {
|
||||
"$ref": "Property",
|
||||
"description": "The name of the property. A property name matching regex \"__.*__\" is reserved. A reserved property name is forbidden in certain documented contexts. The name must not contain more than 500 characters. Cannot be \"\"."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"EntityResult": {
|
||||
"id": "EntityResult",
|
||||
"type": "object",
|
||||
"description": "The result of fetching an entity from the datastore.",
|
||||
"properties": {
|
||||
"entity": {
|
||||
"$ref": "Entity",
|
||||
"description": "The resulting entity."
|
||||
}
|
||||
}
|
||||
},
|
||||
"Filter": {
|
||||
"id": "Filter",
|
||||
"type": "object",
|
||||
"description": "A holder for any type of filter. Exactly one field should be specified.",
|
||||
"properties": {
|
||||
"compositeFilter": {
|
||||
"$ref": "CompositeFilter",
|
||||
"description": "A composite filter."
|
||||
},
|
||||
"propertyFilter": {
|
||||
"$ref": "PropertyFilter",
|
||||
"description": "A filter on a property."
|
||||
}
|
||||
}
|
||||
},
|
||||
"GqlQuery": {
|
||||
"id": "GqlQuery",
|
||||
"type": "object",
|
||||
"description": "A GQL query.",
|
||||
"properties": {
|
||||
"allowLiteral": {
|
||||
"type": "boolean",
|
||||
"description": "When false, the query string must not contain a literal."
|
||||
},
|
||||
"nameArgs": {
|
||||
"type": "array",
|
||||
"description": "A named argument must set field GqlQueryArg.name. No two named arguments may have the same name. For each non-reserved named binding site in the query string, there must be a named argument with that name, but not necessarily the inverse.",
|
||||
"items": {
|
||||
"$ref": "GqlQueryArg"
|
||||
}
|
||||
},
|
||||
"numberArgs": {
|
||||
"type": "array",
|
||||
"description": "Numbered binding site @1 references the first numbered argument, effectively using 1-based indexing, rather than the usual 0. A numbered argument must NOT set field GqlQueryArg.name. For each binding site numbered i in query_string, there must be an ith numbered argument. The inverse must also be true.",
|
||||
"items": {
|
||||
"$ref": "GqlQueryArg"
|
||||
}
|
||||
},
|
||||
"queryString": {
|
||||
"type": "string",
|
||||
"description": "The query string."
|
||||
}
|
||||
}
|
||||
},
|
||||
"GqlQueryArg": {
|
||||
"id": "GqlQueryArg",
|
||||
"type": "object",
|
||||
"description": "A binding argument for a GQL query.",
|
||||
"properties": {
|
||||
"cursor": {
|
||||
"type": "string",
|
||||
"format": "byte"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "Must match regex \"[A-Za-z_$][A-Za-z_$0-9]*\". Must not match regex \"__.*__\". Must not be \"\"."
|
||||
},
|
||||
"value": {
|
||||
"$ref": "Value"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Key": {
|
||||
"id": "Key",
|
||||
"type": "object",
|
||||
"description": "A unique identifier for an entity.",
|
||||
"properties": {
|
||||
"partitionId": {
|
||||
"$ref": "PartitionId",
|
||||
"description": "Entities are partitioned into subsets, currently identified by a dataset (usually implicitly specified by the project) and namespace ID. Queries are scoped to a single partition."
|
||||
},
|
||||
"path": {
|
||||
"type": "array",
|
||||
"description": "The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a root entity, the second element identifies a child of the root entity, the third element a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's ancestors. An entity path is always fully complete: ALL of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. A path can never be empty. The path can have at most 100 elements.",
|
||||
"items": {
|
||||
"$ref": "KeyPathElement"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"KeyPathElement": {
|
||||
"id": "KeyPathElement",
|
||||
"type": "object",
|
||||
"description": "A (kind, ID/name) pair used to construct a key path.\n\nAt most one of name or ID may be set. If either is set, the element is complete. If neither is set, the element is incomplete.",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
"description": "The ID of the entity. Never equal to zero. Values less than zero are discouraged and will not be supported in the future.",
|
||||
"format": "int64"
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"description": "The kind of the entity. A kind matching regex \"__.*__\" is reserved/read-only. A kind must not contain more than 500 characters. Cannot be \"\"."
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The name of the entity. A name matching regex \"__.*__\" is reserved/read-only. A name must not be more than 500 characters. Cannot be \"\"."
|
||||
}
|
||||
}
|
||||
},
|
||||
"KindExpression": {
|
||||
"id": "KindExpression",
|
||||
"type": "object",
|
||||
"description": "A representation of a kind.",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The name of the kind."
|
||||
}
|
||||
}
|
||||
},
|
||||
"LookupRequest": {
|
||||
"id": "LookupRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"keys": {
|
||||
"type": "array",
|
||||
"description": "Keys of entities to look up from the datastore.",
|
||||
"items": {
|
||||
"$ref": "Key"
|
||||
}
|
||||
},
|
||||
"readOptions": {
|
||||
"$ref": "ReadOptions",
|
||||
"description": "Options for this lookup request. Optional."
|
||||
}
|
||||
}
|
||||
},
|
||||
"LookupResponse": {
|
||||
"id": "LookupResponse",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"deferred": {
|
||||
"type": "array",
|
||||
"description": "A list of keys that were not looked up due to resource constraints.",
|
||||
"items": {
|
||||
"$ref": "Key"
|
||||
}
|
||||
},
|
||||
"found": {
|
||||
"type": "array",
|
||||
"description": "Entities found.",
|
||||
"items": {
|
||||
"$ref": "EntityResult"
|
||||
}
|
||||
},
|
||||
"header": {
|
||||
"$ref": "ResponseHeader"
|
||||
},
|
||||
"missing": {
|
||||
"type": "array",
|
||||
"description": "Entities not found, with only the key populated.",
|
||||
"items": {
|
||||
"$ref": "EntityResult"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Mutation": {
|
||||
"id": "Mutation",
|
||||
"type": "object",
|
||||
"description": "A set of changes to apply.",
|
||||
"properties": {
|
||||
"delete": {
|
||||
"type": "array",
|
||||
"description": "Keys of entities to delete. Each key must have a complete key path and must not be reserved/read-only.",
|
||||
"items": {
|
||||
"$ref": "Key"
|
||||
}
|
||||
},
|
||||
"force": {
|
||||
"type": "boolean",
|
||||
"description": "Ignore a user specified read-only period. Optional."
|
||||
},
|
||||
"insert": {
|
||||
"type": "array",
|
||||
"description": "Entities to insert. Each inserted entity's key must have a complete path and must not be reserved/read-only.",
|
||||
"items": {
|
||||
"$ref": "Entity"
|
||||
}
|
||||
},
|
||||
"insertAutoId": {
|
||||
"type": "array",
|
||||
"description": "Insert entities with a newly allocated ID. Each inserted entity's key must omit the final identifier in its path and must not be reserved/read-only.",
|
||||
"items": {
|
||||
"$ref": "Entity"
|
||||
}
|
||||
},
|
||||
"update": {
|
||||
"type": "array",
|
||||
"description": "Entities to update. Each updated entity's key must have a complete path and must not be reserved/read-only.",
|
||||
"items": {
|
||||
"$ref": "Entity"
|
||||
}
|
||||
},
|
||||
"upsert": {
|
||||
"type": "array",
|
||||
"description": "Entities to upsert. Each upserted entity's key must have a complete path and must not be reserved/read-only.",
|
||||
"items": {
|
||||
"$ref": "Entity"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"MutationResult": {
|
||||
"id": "MutationResult",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"indexUpdates": {
|
||||
"type": "integer",
|
||||
"description": "Number of index writes.",
|
||||
"format": "int32"
|
||||
},
|
||||
"insertAutoIdKeys": {
|
||||
"type": "array",
|
||||
"description": "Keys for insertAutoId entities. One per entity from the request, in the same order.",
|
||||
"items": {
|
||||
"$ref": "Key"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"PartitionId": {
|
||||
"id": "PartitionId",
|
||||
"type": "object",
|
||||
"description": "An identifier for a particular subset of entities.\n\nEntities are partitioned into various subsets, each used by different datasets and different namespaces within a dataset and so forth.",
|
||||
"properties": {
|
||||
"datasetId": {
|
||||
"type": "string",
|
||||
"description": "The dataset ID."
|
||||
},
|
||||
"namespace": {
|
||||
"type": "string",
|
||||
"description": "The namespace."
|
||||
}
|
||||
}
|
||||
},
|
||||
"Property": {
|
||||
"id": "Property",
|
||||
"type": "object",
|
||||
"description": "An entity property.",
|
||||
"properties": {
|
||||
"multi": {
|
||||
"type": "boolean",
|
||||
"description": "If this property contains a list of values. Input values may explicitly set multi to false, but otherwise false is always represented by omitting multi."
|
||||
},
|
||||
"values": {
|
||||
"type": "array",
|
||||
"description": "The value(s) of the property. When multi is false there is always exactly one value. When multi is true there are always one or more values. Each value can have only one value property populated. For example, you cannot have a values list of { values: [ { integerValue: 22, stringValue: \"a\" } ] }, but you can have { multi: true, values: [ { integerValue: 22 }, { stringValue: \"a\" } ] }.",
|
||||
"items": {
|
||||
"$ref": "Value"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"PropertyExpression": {
|
||||
"id": "PropertyExpression",
|
||||
"type": "object",
|
||||
"description": "A representation of a property in a projection.",
|
||||
"properties": {
|
||||
"aggregationFunction": {
|
||||
"type": "string",
|
||||
"description": "The aggregation function to apply to the property. Optional. Can only be used when grouping by at least one property. Must then be set on all properties in the projection that are not being grouped by. Aggregation functions: first selects the first result as determined by the query's order."
|
||||
},
|
||||
"property": {
|
||||
"$ref": "PropertyReference",
|
||||
"description": "The property to project."
|
||||
}
|
||||
}
|
||||
},
|
||||
"PropertyFilter": {
|
||||
"id": "PropertyFilter",
|
||||
"type": "object",
|
||||
"description": "A filter on a specific property.",
|
||||
"properties": {
|
||||
"operator": {
|
||||
"type": "string",
|
||||
"description": "The operator to filter by. One of lessThan, lessThanOrEqual, greaterThan, greaterThanOrEqual, equal, or hasAncestor."
|
||||
},
|
||||
"property": {
|
||||
"$ref": "PropertyReference",
|
||||
"description": "The property to filter by."
|
||||
},
|
||||
"value": {
|
||||
"$ref": "Value",
|
||||
"description": "The value to compare the property to."
|
||||
}
|
||||
}
|
||||
},
|
||||
"PropertyOrder": {
|
||||
"id": "PropertyOrder",
|
||||
"type": "object",
|
||||
"description": "The desired order for a specific property.",
|
||||
"properties": {
|
||||
"direction": {
|
||||
"type": "string",
|
||||
"description": "The direction to order by. One of ascending or descending. Optional, defaults to ascending."
|
||||
},
|
||||
"property": {
|
||||
"$ref": "PropertyReference",
|
||||
"description": "The property to order by."
|
||||
}
|
||||
}
|
||||
},
|
||||
"PropertyReference": {
|
||||
"id": "PropertyReference",
|
||||
"type": "object",
|
||||
"description": "A reference to a property relative to the kind expressions.",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The name of the property."
|
||||
}
|
||||
}
|
||||
},
|
||||
"Query": {
|
||||
"id": "Query",
|
||||
"type": "object",
|
||||
"description": "A query.",
|
||||
"properties": {
|
||||
"endCursor": {
|
||||
"type": "string",
|
||||
"description": "An ending point for the query results. Optional. Query cursors are returned in query result batches.",
|
||||
"format": "byte"
|
||||
},
|
||||
"filter": {
|
||||
"$ref": "Filter",
|
||||
"description": "The filter to apply (optional)."
|
||||
},
|
||||
"groupBy": {
|
||||
"type": "array",
|
||||
"description": "The properties to group by (if empty, no grouping is applied to the result set).",
|
||||
"items": {
|
||||
"$ref": "PropertyReference"
|
||||
}
|
||||
},
|
||||
"kinds": {
|
||||
"type": "array",
|
||||
"description": "The kinds to query (if empty, returns entities from all kinds).",
|
||||
"items": {
|
||||
"$ref": "KindExpression"
|
||||
}
|
||||
},
|
||||
"limit": {
|
||||
"type": "integer",
|
||||
"description": "The maximum number of results to return. Applies after all other constraints. Optional.",
|
||||
"format": "int32"
|
||||
},
|
||||
"offset": {
|
||||
"type": "integer",
|
||||
"description": "The number of results to skip. Applies before limit, but after all other constraints (optional, defaults to 0).",
|
||||
"format": "int32"
|
||||
},
|
||||
"order": {
|
||||
"type": "array",
|
||||
"description": "The order to apply to the query results (if empty, order is unspecified).",
|
||||
"items": {
|
||||
"$ref": "PropertyOrder"
|
||||
}
|
||||
},
|
||||
"projection": {
|
||||
"type": "array",
|
||||
"description": "The projection to return. If not set the entire entity is returned.",
|
||||
"items": {
|
||||
"$ref": "PropertyExpression"
|
||||
}
|
||||
},
|
||||
"startCursor": {
|
||||
"type": "string",
|
||||
"description": "A starting point for the query results. Optional. Query cursors are returned in query result batches.",
|
||||
"format": "byte"
|
||||
}
|
||||
}
|
||||
},
|
||||
"QueryResultBatch": {
|
||||
"id": "QueryResultBatch",
|
||||
"type": "object",
|
||||
"description": "A batch of results produced by a query.",
|
||||
"properties": {
|
||||
"endCursor": {
|
||||
"type": "string",
|
||||
"description": "A cursor that points to the position after the last result in the batch. May be absent. TODO(arfuller): Once all plans produce cursors update documentation here.",
|
||||
"format": "byte"
|
||||
},
|
||||
"entityResultType": {
|
||||
"type": "string",
|
||||
"description": "The result type for every entity in entityResults. full for full entities, projection for entities with only projected properties, keyOnly for entities with only a key."
|
||||
},
|
||||
"entityResults": {
|
||||
"type": "array",
|
||||
"description": "The results for this batch.",
|
||||
"items": {
|
||||
"$ref": "EntityResult"
|
||||
}
|
||||
},
|
||||
"moreResults": {
|
||||
"type": "string",
|
||||
"description": "The state of the query after the current batch. One of notFinished, moreResultsAfterLimit, noMoreResults."
|
||||
},
|
||||
"skippedResults": {
|
||||
"type": "integer",
|
||||
"description": "The number of results skipped because of Query.offset.",
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
},
|
||||
"ReadOptions": {
|
||||
"id": "ReadOptions",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"readConsistency": {
|
||||
"type": "string",
|
||||
"description": "The read consistency to use. One of default, strong, or eventual. Cannot be set when transaction is set. Lookup and ancestor queries default to strong, global queries default to eventual and cannot be set to strong. Optional. Default is default."
|
||||
},
|
||||
"transaction": {
|
||||
"type": "string",
|
||||
"description": "The transaction to use. Optional.",
|
||||
"format": "byte"
|
||||
}
|
||||
}
|
||||
},
|
||||
"ResponseHeader": {
|
||||
"id": "ResponseHeader",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"description": "Identifies what kind of resource this is. Value: the fixed string \"datastore#responseHeader\".",
|
||||
"default": "datastore#responseHeader"
|
||||
}
|
||||
}
|
||||
},
|
||||
"RollbackRequest": {
|
||||
"id": "RollbackRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"transaction": {
|
||||
"type": "string",
|
||||
"description": "The transaction identifier, returned by a call to beginTransaction.",
|
||||
"format": "byte"
|
||||
}
|
||||
}
|
||||
},
|
||||
"RollbackResponse": {
|
||||
"id": "RollbackResponse",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"header": {
|
||||
"$ref": "ResponseHeader"
|
||||
}
|
||||
}
|
||||
},
|
||||
"RunQueryRequest": {
|
||||
"id": "RunQueryRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"gqlQuery": {
|
||||
"$ref": "GqlQuery",
|
||||
"description": "The GQL query to run. Either this field or field query must be set, but not both."
|
||||
},
|
||||
"partitionId": {
|
||||
"$ref": "PartitionId",
|
||||
"description": "Entities are partitioned into subsets, identified by a dataset (usually implicitly specified by the project) and namespace ID. Queries are scoped to a single partition. This partition ID is normalized with the standard default context partition ID, but all other partition IDs in RunQueryRequest are normalized with this partition ID as the context partition ID."
|
||||
},
|
||||
"query": {
|
||||
"$ref": "Query",
|
||||
"description": "The query to run. Either this field or field gql_query must be set, but not both."
|
||||
},
|
||||
"readOptions": {
|
||||
"$ref": "ReadOptions",
|
||||
"description": "The options for this query."
|
||||
}
|
||||
}
|
||||
},
|
||||
"RunQueryResponse": {
|
||||
"id": "RunQueryResponse",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"batch": {
|
||||
"$ref": "QueryResultBatch",
|
||||
"description": "A batch of query results (always present)."
|
||||
},
|
||||
"header": {
|
||||
"$ref": "ResponseHeader"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Value": {
|
||||
"id": "Value",
|
||||
"type": "object",
|
||||
"description": "A message that can hold any of the supported value types and associated metadata.",
|
||||
"properties": {
|
||||
"blobKeyValue": {
|
||||
"type": "string",
|
||||
"description": "A blob key value."
|
||||
},
|
||||
"blobValue": {
|
||||
"type": "string",
|
||||
"description": "A blob value. May be a maximum of 1,000,000 bytes. When indexed is true, may have at most 500 bytes.",
|
||||
"format": "byte"
|
||||
},
|
||||
"booleanValue": {
|
||||
"type": "boolean",
|
||||
"description": "A boolean value."
|
||||
},
|
||||
"dateTimeValue": {
|
||||
"type": "string",
|
||||
"description": "A timestamp value.",
|
||||
"format": "date-time"
|
||||
},
|
||||
"doubleValue": {
|
||||
"type": "number",
|
||||
"description": "A double value.",
|
||||
"format": "double"
|
||||
},
|
||||
"entityValue": {
|
||||
"$ref": "Entity",
|
||||
"description": "An entity value. May have no key. May have a key with an incomplete key path. May have a reserved/read-only key."
|
||||
},
|
||||
"indexed": {
|
||||
"type": "boolean",
|
||||
"description": "If the value should be indexed.\n\nThe indexed property may be set for a null value. When indexed is true, stringValue is limited to 500 characters and the blob value is limited to 500 bytes. Input values by default have indexed set to true; however, you can explicitly set indexed to true if you want. (An output value never has indexed explicitly set to true.) If a value is itself an entity, it cannot have indexed set to true."
|
||||
},
|
||||
"integerValue": {
|
||||
"type": "string",
|
||||
"description": "An integer value.",
|
||||
"format": "int64"
|
||||
},
|
||||
"keyValue": {
|
||||
"$ref": "Key",
|
||||
"description": "A key value."
|
||||
},
|
||||
"meaning": {
|
||||
"type": "integer",
|
||||
"description": "The meaning field is reserved and should not be used.",
|
||||
"format": "int32"
|
||||
},
|
||||
"stringValue": {
|
||||
"type": "string",
|
||||
"description": "A UTF-8 encoded string value. When indexed is true, may have at most 500 characters."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"resources": {
|
||||
"datasets": {
|
||||
"methods": {
|
||||
"allocateIds": {
|
||||
"id": "datastore.datasets.allocateIds",
|
||||
"path": "{datasetId}/allocateIds",
|
||||
"httpMethod": "POST",
|
||||
"description": "Allocate IDs for incomplete keys (useful for referencing an entity before it is inserted).",
|
||||
"parameters": {
|
||||
"datasetId": {
|
||||
"type": "string",
|
||||
"description": "Identifies the dataset.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"datasetId"
|
||||
],
|
||||
"request": {
|
||||
"$ref": "AllocateIdsRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "AllocateIdsResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/datastore",
|
||||
"https://www.googleapis.com/auth/userinfo.email"
|
||||
]
|
||||
},
|
||||
"beginTransaction": {
|
||||
"id": "datastore.datasets.beginTransaction",
|
||||
"path": "{datasetId}/beginTransaction",
|
||||
"httpMethod": "POST",
|
||||
"description": "Begin a new transaction.",
|
||||
"parameters": {
|
||||
"datasetId": {
|
||||
"type": "string",
|
||||
"description": "Identifies the dataset.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"datasetId"
|
||||
],
|
||||
"request": {
|
||||
"$ref": "BeginTransactionRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "BeginTransactionResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/datastore",
|
||||
"https://www.googleapis.com/auth/userinfo.email"
|
||||
]
|
||||
},
|
||||
"blindWrite": {
|
||||
"id": "datastore.datasets.blindWrite",
|
||||
"path": "{datasetId}/blindWrite",
|
||||
"httpMethod": "POST",
|
||||
"description": "Create, delete or modify some entities outside a transaction.",
|
||||
"parameters": {
|
||||
"datasetId": {
|
||||
"type": "string",
|
||||
"description": "Identifies the dataset.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"datasetId"
|
||||
],
|
||||
"request": {
|
||||
"$ref": "BlindWriteRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "BlindWriteResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/datastore",
|
||||
"https://www.googleapis.com/auth/userinfo.email"
|
||||
]
|
||||
},
|
||||
"commit": {
|
||||
"id": "datastore.datasets.commit",
|
||||
"path": "{datasetId}/commit",
|
||||
"httpMethod": "POST",
|
||||
"description": "Commit a transaction, optionally creating, deleting or modifying some entities.",
|
||||
"parameters": {
|
||||
"datasetId": {
|
||||
"type": "string",
|
||||
"description": "Identifies the dataset.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"datasetId"
|
||||
],
|
||||
"request": {
|
||||
"$ref": "CommitRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "CommitResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/datastore",
|
||||
"https://www.googleapis.com/auth/userinfo.email"
|
||||
]
|
||||
},
|
||||
"lookup": {
|
||||
"id": "datastore.datasets.lookup",
|
||||
"path": "{datasetId}/lookup",
|
||||
"httpMethod": "POST",
|
||||
"description": "Look up some entities by key.",
|
||||
"parameters": {
|
||||
"datasetId": {
|
||||
"type": "string",
|
||||
"description": "Identifies the dataset.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"datasetId"
|
||||
],
|
||||
"request": {
|
||||
"$ref": "LookupRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "LookupResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/datastore",
|
||||
"https://www.googleapis.com/auth/userinfo.email"
|
||||
]
|
||||
},
|
||||
"rollback": {
|
||||
"id": "datastore.datasets.rollback",
|
||||
"path": "{datasetId}/rollback",
|
||||
"httpMethod": "POST",
|
||||
"description": "Roll back a transaction.",
|
||||
"parameters": {
|
||||
"datasetId": {
|
||||
"type": "string",
|
||||
"description": "Identifies the dataset.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"datasetId"
|
||||
],
|
||||
"request": {
|
||||
"$ref": "RollbackRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "RollbackResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/datastore",
|
||||
"https://www.googleapis.com/auth/userinfo.email"
|
||||
]
|
||||
},
|
||||
"runQuery": {
|
||||
"id": "datastore.datasets.runQuery",
|
||||
"path": "{datasetId}/runQuery",
|
||||
"httpMethod": "POST",
|
||||
"description": "Query for entities.",
|
||||
"parameters": {
|
||||
"datasetId": {
|
||||
"type": "string",
|
||||
"description": "Identifies the dataset.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"datasetId"
|
||||
],
|
||||
"request": {
|
||||
"$ref": "RunQueryRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "RunQueryResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/datastore",
|
||||
"https://www.googleapis.com/auth/userinfo.email"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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": "\"tbys6C40o18GZwyMen5GMkdK-3s/OCYmftvQxj4AeJHkXNi3Nl_Kgng\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/llynIIguUtQGZnafw0-LKyjVFvE\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "deploymentmanager:v2",
|
||||
"name": "deploymentmanager",
|
||||
"canonicalName": "Deployment Manager",
|
||||
"version": "v2",
|
||||
"revision": "20161209",
|
||||
"revision": "20170501",
|
||||
"title": "Google Cloud Deployment Manager API",
|
||||
"description": "Declares, configures, and deploys complex solutions on Google Cloud Platform.",
|
||||
"ownerDomain": "google.com",
|
||||
@@ -89,36 +89,36 @@
|
||||
"AuditConfig": {
|
||||
"id": "AuditConfig",
|
||||
"type": "object",
|
||||
"description": "Provides the configuration for non-admin_activity logging for a service. Controls exemptions and specific log sub-types.",
|
||||
"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n{ \"audit_configs\": [ { \"service\": \"allServices\" \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:foo@gmail.com\" ] }, { \"log_type\": \"DATA_WRITE\", }, { \"log_type\": \"ADMIN_READ\", } ] }, { \"service\": \"fooservice.googleapis.com\" \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:bar@gmail.com\" ] } ] } ] }\n\nFor fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts foo@gmail.com from DATA_READ logging, and bar@gmail.com from DATA_WRITE logging.",
|
||||
"properties": {
|
||||
"auditLogConfigs": {
|
||||
"type": "array",
|
||||
"description": "The configuration for each type of logging",
|
||||
"description": "The configuration for logging of each type of permission.",
|
||||
"items": {
|
||||
"$ref": "AuditLogConfig"
|
||||
}
|
||||
},
|
||||
"exemptedMembers": {
|
||||
"type": "array",
|
||||
"description": "Specifies the identities that are exempted from \"data access\" audit logging for the `service` specified above. Follows the same format of Binding.members.",
|
||||
"description": "",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"service": {
|
||||
"type": "string",
|
||||
"description": "Specifies a service that will be enabled for audit logging. For example, `resourcemanager`, `storage`, `compute`. `allServices` is a special value that covers all services."
|
||||
"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services."
|
||||
}
|
||||
}
|
||||
},
|
||||
"AuditLogConfig": {
|
||||
"id": "AuditLogConfig",
|
||||
"type": "object",
|
||||
"description": "Provides the configuration for a sub-type of logging.",
|
||||
"description": "Provides the configuration for logging a type of permissions. Example:\n\n{ \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:foo@gmail.com\" ] }, { \"log_type\": \"DATA_WRITE\", } ] }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting foo@gmail.com from DATA_READ logging.",
|
||||
"properties": {
|
||||
"exemptedMembers": {
|
||||
"type": "array",
|
||||
"description": "Specifies the identities that are exempted from this type of logging Follows the same format of Binding.members.",
|
||||
"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of [Binding.members][].",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
@@ -265,6 +265,10 @@
|
||||
"type": "object",
|
||||
"description": "",
|
||||
"properties": {
|
||||
"description": {
|
||||
"type": "string",
|
||||
"description": "[Output Only] An optional user-provided description of the deployment after the current update has been applied."
|
||||
},
|
||||
"labels": {
|
||||
"type": "array",
|
||||
"description": "[Output Only] Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?",
|
||||
@@ -445,7 +449,7 @@
|
||||
},
|
||||
"creationTimestamp": {
|
||||
"type": "string",
|
||||
"description": "[Output Only] Creation timestamp in RFC3339 text format."
|
||||
"description": "[Deprecated] This field is deprecated."
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
@@ -616,7 +620,7 @@
|
||||
"properties": {
|
||||
"auditConfigs": {
|
||||
"type": "array",
|
||||
"description": "Specifies audit logging configs for \"data access\". \"data access\": generally refers to data reads/writes and admin reads. \"admin activity\": generally refers to admin writes.\n\nNote: `AuditConfig` doesn't apply to \"admin activity\", which always enables audit logging.",
|
||||
"description": "Specifies cloud audit logging configuration for this policy.",
|
||||
"items": {
|
||||
"$ref": "AuditConfig"
|
||||
}
|
||||
@@ -1199,11 +1203,10 @@
|
||||
},
|
||||
"maxResults": {
|
||||
"type": "integer",
|
||||
"description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests.",
|
||||
"description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
||||
"default": "500",
|
||||
"format": "uint32",
|
||||
"minimum": "0",
|
||||
"maximum": "500",
|
||||
"location": "query"
|
||||
},
|
||||
"orderBy": {
|
||||
@@ -1552,11 +1555,10 @@
|
||||
},
|
||||
"maxResults": {
|
||||
"type": "integer",
|
||||
"description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests.",
|
||||
"description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
||||
"default": "500",
|
||||
"format": "uint32",
|
||||
"minimum": "0",
|
||||
"maximum": "500",
|
||||
"location": "query"
|
||||
},
|
||||
"orderBy": {
|
||||
@@ -1642,11 +1644,10 @@
|
||||
},
|
||||
"maxResults": {
|
||||
"type": "integer",
|
||||
"description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests.",
|
||||
"description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
||||
"default": "500",
|
||||
"format": "uint32",
|
||||
"minimum": "0",
|
||||
"maximum": "500",
|
||||
"location": "query"
|
||||
},
|
||||
"orderBy": {
|
||||
@@ -1746,11 +1747,10 @@
|
||||
},
|
||||
"maxResults": {
|
||||
"type": "integer",
|
||||
"description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests.",
|
||||
"description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
||||
"default": "500",
|
||||
"format": "uint32",
|
||||
"minimum": "0",
|
||||
"maximum": "500",
|
||||
"location": "query"
|
||||
},
|
||||
"orderBy": {
|
||||
@@ -1802,11 +1802,10 @@
|
||||
},
|
||||
"maxResults": {
|
||||
"type": "integer",
|
||||
"description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests.",
|
||||
"description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
||||
"default": "500",
|
||||
"format": "uint32",
|
||||
"minimum": "0",
|
||||
"maximum": "500",
|
||||
"location": "query"
|
||||
},
|
||||
"orderBy": {
|
||||
|
||||
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,6 +1,6 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/Pyg0A4J33Dq212hoe9BYpSm0dl4\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/Pyg0A4J33Dq212hoe9BYpSm0dl4\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "discovery:v1",
|
||||
"name": "discovery",
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/kZhVBEml6IgIs86-wixFuVP5H9c\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/nI5hxBcCe0tNnzyChFSdnIGBMt0\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "dns:v1",
|
||||
"name": "dns",
|
||||
"version": "v1",
|
||||
"revision": "20161130",
|
||||
"revision": "20170512",
|
||||
"title": "Google Cloud DNS API",
|
||||
"description": "Configures and serves authoritative DNS records.",
|
||||
"ownerDomain": "google.com",
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/VNWoCHk2DTUctXjZhpj19vf2iTM\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/TFtoAUbJqSv6jKBRWRbK7yQFFhw\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "dns:v2beta1",
|
||||
"name": "dns",
|
||||
"version": "v2beta1",
|
||||
"revision": "20161130",
|
||||
"revision": "20170512",
|
||||
"title": "Google Cloud DNS API",
|
||||
"description": "Configures and serves authoritative DNS records.",
|
||||
"ownerDomain": "google.com",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/xZhMuyiLnKVSMmQ3sSqyBn6nxs0\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/TpAruLLB982pPy6sW_n60NUC_v0\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "doubleclickbidmanager:v1",
|
||||
"name": "doubleclickbidmanager",
|
||||
"canonicalName": "DoubleClick Bid Manager",
|
||||
"version": "v1",
|
||||
"revision": "20161010",
|
||||
"revision": "20170224",
|
||||
"title": "DoubleClick Bid Manager API",
|
||||
"description": "API for viewing and managing your reports in DoubleClick Bid Manager.",
|
||||
"ownerDomain": "google.com",
|
||||
@@ -70,6 +70,15 @@
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"auth": {
|
||||
"oauth2": {
|
||||
"scopes": {
|
||||
"https://www.googleapis.com/auth/doubleclickbidmanager": {
|
||||
"description": "View and manage your reports in DoubleClick Bid Manager"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"schemas": {
|
||||
"DownloadLineItemsRequest": {
|
||||
"id": "DownloadLineItemsRequest",
|
||||
@@ -159,7 +168,7 @@
|
||||
},
|
||||
"filterIds": {
|
||||
"type": "array",
|
||||
"description": "The IDs of the specified filter type. This is used to filter entities to fetch. At least one ID must be specified. Only one ID is allowed for the ADVERTISER_ID filter type. For INSERTION_ORDER_ID or LINE_ITEM_ID filter types all IDs must be from the same Advertiser.",
|
||||
"description": "The IDs of the specified filter type. This is used to filter entities to fetch. At least one ID must be specified. Only one ID is allowed for the ADVERTISER_ID filter type. For INSERTION_ORDER_ID or LINE_ITEM_ID filter types, all IDs must be from the same Advertiser.",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"format": "int64"
|
||||
@@ -230,6 +239,7 @@
|
||||
"FILTER_CARRIER",
|
||||
"FILTER_CHANNEL_ID",
|
||||
"FILTER_CITY",
|
||||
"FILTER_COMPANION_CREATIVE_ID",
|
||||
"FILTER_CONVERSION_DELAY",
|
||||
"FILTER_COUNTRY",
|
||||
"FILTER_CREATIVE_HEIGHT",
|
||||
@@ -278,6 +288,7 @@
|
||||
"FILTER_REGULAR_CHANNEL_ID",
|
||||
"FILTER_SITE_ID",
|
||||
"FILTER_SITE_LANGUAGE",
|
||||
"FILTER_SKIPPABLE_SUPPORT",
|
||||
"FILTER_TARGETED_USER_LIST",
|
||||
"FILTER_TIME_OF_DAY",
|
||||
"FILTER_TRUEVIEW_AD_GROUP_AD_ID",
|
||||
@@ -448,6 +459,8 @@
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
]
|
||||
},
|
||||
@@ -526,6 +539,7 @@
|
||||
"FILTER_CARRIER",
|
||||
"FILTER_CHANNEL_ID",
|
||||
"FILTER_CITY",
|
||||
"FILTER_COMPANION_CREATIVE_ID",
|
||||
"FILTER_CONVERSION_DELAY",
|
||||
"FILTER_COUNTRY",
|
||||
"FILTER_CREATIVE_HEIGHT",
|
||||
@@ -574,6 +588,7 @@
|
||||
"FILTER_REGULAR_CHANNEL_ID",
|
||||
"FILTER_SITE_ID",
|
||||
"FILTER_SITE_LANGUAGE",
|
||||
"FILTER_SKIPPABLE_SUPPORT",
|
||||
"FILTER_TARGETED_USER_LIST",
|
||||
"FILTER_TIME_OF_DAY",
|
||||
"FILTER_TRUEVIEW_AD_GROUP_AD_ID",
|
||||
@@ -744,6 +759,8 @@
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
]
|
||||
}
|
||||
@@ -758,6 +775,7 @@
|
||||
"items": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"METRIC_ACTIVE_VIEW_AUDIBLE_VISIBLE_ON_COMPLETE_IMPRESSIONS",
|
||||
"METRIC_ACTIVE_VIEW_AVERAGE_VIEWABLE_TIME",
|
||||
"METRIC_ACTIVE_VIEW_DISTRIBUTION_UNMEASURABLE",
|
||||
"METRIC_ACTIVE_VIEW_DISTRIBUTION_UNVIEWABLE",
|
||||
@@ -766,8 +784,20 @@
|
||||
"METRIC_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS",
|
||||
"METRIC_ACTIVE_VIEW_PCT_MEASURABLE_IMPRESSIONS",
|
||||
"METRIC_ACTIVE_VIEW_PCT_VIEWABLE_IMPRESSIONS",
|
||||
"METRIC_ACTIVE_VIEW_PERCENT_AUDIBLE_VISIBLE_AT_START",
|
||||
"METRIC_ACTIVE_VIEW_PERCENT_AUDIBLE_VISIBLE_FIRST_QUAR",
|
||||
"METRIC_ACTIVE_VIEW_PERCENT_AUDIBLE_VISIBLE_ON_COMPLETE",
|
||||
"METRIC_ACTIVE_VIEW_PERCENT_AUDIBLE_VISIBLE_SECOND_QUAR",
|
||||
"METRIC_ACTIVE_VIEW_PERCENT_AUDIBLE_VISIBLE_THIRD_QUAR",
|
||||
"METRIC_ACTIVE_VIEW_PERCENT_VIEWABLE_FOR_TIME_THRESHOLD",
|
||||
"METRIC_ACTIVE_VIEW_PERCENT_VISIBLE_AT_START",
|
||||
"METRIC_ACTIVE_VIEW_PERCENT_VISIBLE_FIRST_QUAR",
|
||||
"METRIC_ACTIVE_VIEW_PERCENT_VISIBLE_ON_COMPLETE",
|
||||
"METRIC_ACTIVE_VIEW_PERCENT_VISIBLE_SECOND_QUAR",
|
||||
"METRIC_ACTIVE_VIEW_PERCENT_VISIBLE_THIRD_QUAR",
|
||||
"METRIC_ACTIVE_VIEW_UNMEASURABLE_IMPRESSIONS",
|
||||
"METRIC_ACTIVE_VIEW_UNVIEWABLE_IMPRESSIONS",
|
||||
"METRIC_ACTIVE_VIEW_VIEWABLE_FOR_TIME_THRESHOLD",
|
||||
"METRIC_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS",
|
||||
"METRIC_BID_REQUESTS",
|
||||
"METRIC_BILLABLE_COST_ADVERTISER",
|
||||
@@ -954,6 +984,7 @@
|
||||
"METRIC_REVENUE_ECPC_ADVERTISER",
|
||||
"METRIC_REVENUE_ECPC_PARTNER",
|
||||
"METRIC_REVENUE_ECPC_USD",
|
||||
"METRIC_REVENUE_ECPIAVC_ADVERTISER",
|
||||
"METRIC_REVENUE_ECPM_ADVERTISER",
|
||||
"METRIC_REVENUE_ECPM_PARTNER",
|
||||
"METRIC_REVENUE_ECPM_USD",
|
||||
@@ -1337,6 +1368,20 @@
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
]
|
||||
}
|
||||
@@ -1370,6 +1415,7 @@
|
||||
"TYPE_PETRA_NIELSEN_ONLINE_GLOBAL_MARKET",
|
||||
"TYPE_PIXEL_LOAD",
|
||||
"TYPE_REACH_AND_FREQUENCY",
|
||||
"TYPE_REACH_AUDIENCE",
|
||||
"TYPE_THIRD_PARTY_DATA_PROVIDER",
|
||||
"TYPE_TRUEVIEW",
|
||||
"TYPE_TRUEVIEW_IAR",
|
||||
@@ -1406,6 +1452,7 @@
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
]
|
||||
}
|
||||
@@ -1933,7 +1980,10 @@
|
||||
},
|
||||
"response": {
|
||||
"$ref": "DownloadLineItemsResponse"
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/doubleclickbidmanager"
|
||||
]
|
||||
},
|
||||
"uploadlineitems": {
|
||||
"id": "doubleclickbidmanager.lineitems.uploadlineitems",
|
||||
@@ -1945,7 +1995,10 @@
|
||||
},
|
||||
"response": {
|
||||
"$ref": "UploadLineItemsResponse"
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/doubleclickbidmanager"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1961,7 +2014,10 @@
|
||||
},
|
||||
"response": {
|
||||
"$ref": "Query"
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/doubleclickbidmanager"
|
||||
]
|
||||
},
|
||||
"deletequery": {
|
||||
"id": "doubleclickbidmanager.queries.deletequery",
|
||||
@@ -1979,6 +2035,9 @@
|
||||
},
|
||||
"parameterOrder": [
|
||||
"queryId"
|
||||
],
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/doubleclickbidmanager"
|
||||
]
|
||||
},
|
||||
"getquery": {
|
||||
@@ -2000,7 +2059,10 @@
|
||||
],
|
||||
"response": {
|
||||
"$ref": "Query"
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/doubleclickbidmanager"
|
||||
]
|
||||
},
|
||||
"listqueries": {
|
||||
"id": "doubleclickbidmanager.queries.listqueries",
|
||||
@@ -2009,7 +2071,10 @@
|
||||
"description": "Retrieves stored queries.",
|
||||
"response": {
|
||||
"$ref": "ListQueriesResponse"
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/doubleclickbidmanager"
|
||||
]
|
||||
},
|
||||
"runquery": {
|
||||
"id": "doubleclickbidmanager.queries.runquery",
|
||||
@@ -2030,7 +2095,10 @@
|
||||
],
|
||||
"request": {
|
||||
"$ref": "RunQueryRequest"
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/doubleclickbidmanager"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -2055,7 +2123,10 @@
|
||||
],
|
||||
"response": {
|
||||
"$ref": "ListReportsResponse"
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/doubleclickbidmanager"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -2071,7 +2142,10 @@
|
||||
},
|
||||
"response": {
|
||||
"$ref": "DownloadResponse"
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/doubleclickbidmanager"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/HRuJCCIlMtHocq2WCX0lbnhTmso\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/CNwW5zhdZOVYCBH02fYR4CSgom8\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "doubleclicksearch:v2",
|
||||
"name": "doubleclicksearch",
|
||||
"version": "v2",
|
||||
"revision": "20161108",
|
||||
"revision": "20170509",
|
||||
"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",
|
||||
@@ -175,7 +175,7 @@
|
||||
},
|
||||
"conversionId": {
|
||||
"type": "string",
|
||||
"description": "For offline conversions, this is an ID that advertisers are required to provide. Advertisers can specify any ID that is meaningful to them. For online conversions, DS copies the dsConversionId or floodlightOrderId into this property depending on the advertiser's Floodlight instructions.",
|
||||
"description": "For offline conversions, advertisers provide this ID. Advertisers can specify any ID that is meaningful to them. Each conversion in a request must specify a unique ID, and the combination of ID and timestamp must be unique amongst all conversions within the advertiser.\nFor online conversions, DS copies the dsConversionId or floodlightOrderId into this property depending on the advertiser's Floodlight instructions.",
|
||||
"annotations": {
|
||||
"required": [
|
||||
"doubleclicksearch.conversion.insert"
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,81 +1,247 @@
|
||||
{
|
||||
"id": "firebasedynamiclinks:v1",
|
||||
"auth": {
|
||||
"oauth2": {
|
||||
"scopes": {
|
||||
"https://www.googleapis.com/auth/firebase": {
|
||||
"description": "View and administer all your Firebase data and settings"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": "Firebase Dynamic Links API enables third party developers to programmatically create and manage Dynamic Links.",
|
||||
"protocol": "rest",
|
||||
"rootUrl": "https://firebasedynamiclinks.googleapis.com/",
|
||||
"ownerDomain": "google.com",
|
||||
"name": "firebasedynamiclinks",
|
||||
"batchPath": "batch",
|
||||
"title": "Firebase Dynamic Links API",
|
||||
"ownerName": "Google",
|
||||
"resources": {
|
||||
"shortLinks": {
|
||||
"methods": {
|
||||
"create": {
|
||||
"id": "firebasedynamiclinks.shortLinks.create",
|
||||
"httpMethod": "POST",
|
||||
"parameterOrder": [],
|
||||
"response": {
|
||||
"$ref": "CreateShortDynamicLinkResponse"
|
||||
},
|
||||
"parameterOrder": [],
|
||||
"description": "Creates a short Dynamic Link given either a valid long Dynamic Link or\ndetails such as Dynamic Link domain, Android and iOS app information.\nThe created short Dynamic Link will not expire.\n\nRepeated calls with the same long Dynamic Link or Dynamic Link information\nwill produce the same short Dynamic Link.\n\nThe Dynamic Link domain in the request must be owned by requester's\nFirebase project.",
|
||||
"parameters": {},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/firebase"
|
||||
],
|
||||
"flatPath": "v1/shortLinks",
|
||||
"id": "firebasedynamiclinks.shortLinks.create",
|
||||
"path": "v1/shortLinks",
|
||||
"request": {
|
||||
"$ref": "CreateShortDynamicLinkRequest"
|
||||
},
|
||||
"flatPath": "v1/shortLinks",
|
||||
"httpMethod": "POST",
|
||||
"parameters": {},
|
||||
"path": "v1/shortLinks",
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/firebase"
|
||||
]
|
||||
"description": "Creates a short Dynamic Link given either a valid long Dynamic Link or\ndetails such as Dynamic Link domain, Android and iOS app information.\nThe created short Dynamic Link will not expire.\n\nRepeated calls with the same long Dynamic Link or Dynamic Link information\nwill produce the same short Dynamic Link.\n\nThe Dynamic Link domain in the request must be owned by requester's\nFirebase project."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"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": {
|
||||
"location": "query",
|
||||
"description": "Pretty-print response.",
|
||||
"type": "boolean",
|
||||
"default": "true"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"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.",
|
||||
"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"
|
||||
},
|
||||
"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": {
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"version": "v1",
|
||||
"baseUrl": "https://firebasedynamiclinks.googleapis.com/",
|
||||
"kind": "discovery#restDescription",
|
||||
"description": "Programmatically creates and manages Firebase Dynamic Links.",
|
||||
"servicePath": "",
|
||||
"basePath": "",
|
||||
"id": "firebasedynamiclinks:v1",
|
||||
"documentationLink": "https://firebase.google.com/docs/dynamic-links/",
|
||||
"revision": "20170517",
|
||||
"discoveryVersion": "v1",
|
||||
"version_module": "True",
|
||||
"schemas": {
|
||||
"DynamicLinkInfo": {
|
||||
"description": "Information about a Dynamic Link.",
|
||||
"type": "object",
|
||||
"CreateShortDynamicLinkResponse": {
|
||||
"properties": {
|
||||
"socialMetaTagInfo": {
|
||||
"description": "Parameters for social meta tag params.\nUsed to set meta tag data for link previews on social sites.",
|
||||
"$ref": "SocialMetaTagInfo"
|
||||
},
|
||||
"analyticsInfo": {
|
||||
"description": "Parameters used for tracking. See all tracking parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/android#create-a-dynamic-link-programmatically).",
|
||||
"$ref": "AnalyticsInfo"
|
||||
},
|
||||
"link": {
|
||||
"description": "The link your app will open, You can specify any URL your app can handle.\nThis link must be a well-formatted URL, be properly URL-encoded, and use\nthe HTTP or HTTPS scheme. See 'link' parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/android#create-a-dynamic-link-programmatically).\n\nRequired.",
|
||||
"shortLink": {
|
||||
"description": "Short Dynamic Link value. e.g. https://abcd.app.goo.gl/wxyz",
|
||||
"type": "string"
|
||||
},
|
||||
"previewLink": {
|
||||
"description": "Preivew link to show the link flow chart.",
|
||||
"type": "string"
|
||||
},
|
||||
"warning": {
|
||||
"description": "Information about potential warnings on link creation.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "DynamicLinkWarning"
|
||||
}
|
||||
}
|
||||
},
|
||||
"id": "CreateShortDynamicLinkResponse",
|
||||
"description": "Response to create a short Dynamic Link.",
|
||||
"type": "object"
|
||||
},
|
||||
"Suffix": {
|
||||
"description": "Short Dynamic Link suffix.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"option": {
|
||||
"enumDescriptions": [
|
||||
"The suffix option is not specified, performs as NOT_GUESSABLE .",
|
||||
"Short Dynamic Link suffix is a base62 [0-9A-Za-z] encoded string of\na random generated 96 bit random number, which has a length of 17 chars.\nFor example, \"nlAR8U4SlKRZw1cb2\".\nIt prevents other people from guessing and crawling short Dynamic Links\nthat contain personal identifiable information.",
|
||||
"Short Dynamic Link suffix is a base62 [0-9A-Za-z] string starting with a\nlength of 4 chars. the length will increase when all the space is\noccupied."
|
||||
],
|
||||
"enum": [
|
||||
"OPTION_UNSPECIFIED",
|
||||
"UNGUESSABLE",
|
||||
"SHORT"
|
||||
],
|
||||
"description": "Suffix option.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "Suffix"
|
||||
},
|
||||
"GooglePlayAnalytics": {
|
||||
"properties": {
|
||||
"gclid": {
|
||||
"description": "[AdWords autotagging parameter](https://support.google.com/analytics/answer/1033981?hl=en);\nused to measure Google AdWords ads. This value is generated dynamically\nand should never be modified.",
|
||||
"type": "string"
|
||||
},
|
||||
"utmCampaign": {
|
||||
"description": "Campaign name; used for keyword analysis to identify a specific product\npromotion or strategic campaign.",
|
||||
"type": "string"
|
||||
},
|
||||
"utmContent": {
|
||||
"description": "Campaign content; used for A/B testing and content-targeted ads to\ndifferentiate ads or links that point to the same URL.",
|
||||
"type": "string"
|
||||
},
|
||||
"utmMedium": {
|
||||
"description": "Campaign medium; used to identify a medium such as email or cost-per-click.",
|
||||
"type": "string"
|
||||
},
|
||||
"utmTerm": {
|
||||
"description": "Campaign term; used with paid search to supply the keywords for ads.",
|
||||
"type": "string"
|
||||
},
|
||||
"utmSource": {
|
||||
"description": "Campaign source; used to identify a search engine, newsletter, or other\nsource.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "GooglePlayAnalytics",
|
||||
"description": "Parameters for Google Play Campaign Measurements.\n[Learn more](https://developers.google.com/analytics/devguides/collection/android/v4/campaigns#campaign-params)",
|
||||
"type": "object"
|
||||
},
|
||||
"DynamicLinkInfo": {
|
||||
"properties": {
|
||||
"dynamicLinkDomain": {
|
||||
"description": "Dynamic Links domain that the project owns, e.g. abcd.app.goo.gl\n[Learn more](https://firebase.google.com/docs/dynamic-links/android#set-up-firebase-and-the-dynamic-links-sdk)\non how to set up Dynamic Link domain associated with your Firebase project.\n\nRequired.",
|
||||
"description": "Dynamic Links domain that the project owns, e.g. abcd.app.goo.gl\n[Learn more](https://firebase.google.com/docs/dynamic-links/android/receive)\non how to set up Dynamic Link domain associated with your Firebase project.\n\nRequired.",
|
||||
"type": "string"
|
||||
},
|
||||
"link": {
|
||||
"description": "The link your app will open, You can specify any URL your app can handle.\nThis link must be a well-formatted URL, be properly URL-encoded, and use\nthe HTTP or HTTPS scheme. See 'link' parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/create-manually).\n\nRequired.",
|
||||
"type": "string"
|
||||
},
|
||||
"iosInfo": {
|
||||
"description": "iOS related information. See iOS related parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/ios#create-a-dynamic-link-programmatically).",
|
||||
"description": "iOS related information. See iOS related parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/create-manually).",
|
||||
"$ref": "IosInfo"
|
||||
},
|
||||
"socialMetaTagInfo": {
|
||||
"$ref": "SocialMetaTagInfo",
|
||||
"description": "Parameters for social meta tag params.\nUsed to set meta tag data for link previews on social sites."
|
||||
},
|
||||
"androidInfo": {
|
||||
"description": "Android related information. See Android related parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/android#create-a-dynamic-link-programmatically).",
|
||||
"description": "Android related information. See Android related parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/create-manually).",
|
||||
"$ref": "AndroidInfo"
|
||||
},
|
||||
"navigationInfo": {
|
||||
"$ref": "NavigationInfo",
|
||||
"description": "Information of navigation behavior of a Firebase Dynamic Links."
|
||||
},
|
||||
"analyticsInfo": {
|
||||
"$ref": "AnalyticsInfo",
|
||||
"description": "Parameters used for tracking. See all tracking parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/create-manually)."
|
||||
}
|
||||
},
|
||||
"id": "DynamicLinkInfo"
|
||||
"id": "DynamicLinkInfo",
|
||||
"description": "Information about a Dynamic Link.",
|
||||
"type": "object"
|
||||
},
|
||||
"ITunesConnectAnalytics": {
|
||||
"description": "Parameters for iTunes Connect App Analytics.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"mt": {
|
||||
"description": "iTune media types, including music, podcasts, audiobooks and so on.",
|
||||
"type": "string"
|
||||
},
|
||||
"at": {
|
||||
"description": "Affiliate token used to create affiliate-coded links.",
|
||||
"type": "string"
|
||||
@@ -84,6 +250,10 @@
|
||||
"description": "Campaign text that developers can optionally add to any link in order to\ntrack sales from a specific marketing campaign.",
|
||||
"type": "string"
|
||||
},
|
||||
"mt": {
|
||||
"description": "iTune media types, including music, podcasts, audiobooks and so on.",
|
||||
"type": "string"
|
||||
},
|
||||
"pt": {
|
||||
"description": "Provider token that enables analytics for Dynamic Links from within iTunes\nConnect.",
|
||||
"type": "string"
|
||||
@@ -91,43 +261,30 @@
|
||||
},
|
||||
"id": "ITunesConnectAnalytics"
|
||||
},
|
||||
"SocialMetaTagInfo": {
|
||||
"description": "Parameters for social meta tag params.\nUsed to set meta tag data for link previews on social sites.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"socialTitle": {
|
||||
"description": "Title to be displayed. Optional.",
|
||||
"type": "string"
|
||||
},
|
||||
"socialImageLink": {
|
||||
"description": "An image url string. Optional.",
|
||||
"type": "string"
|
||||
},
|
||||
"socialDescription": {
|
||||
"description": "A short description of the link. Optional.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "SocialMetaTagInfo"
|
||||
},
|
||||
"DynamicLinkWarning": {
|
||||
"description": "Dynamic Links warning messages.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"warningCode": {
|
||||
"description": "The warning code.",
|
||||
"enum": [
|
||||
"CODE_UNSPECIFIED",
|
||||
"NOT_IN_PROJECT_ANDROID_PACKAGE_NAME",
|
||||
"NOT_INTEGER_ANDROID_PACKAGE_MIN_VERSION",
|
||||
"UNNECESSARY_ANDROID_PACKAGE_MIN_VERSION",
|
||||
"NOT_URI_ANDROID_LINK",
|
||||
"UNNECESSARY_ANDROID_LINK",
|
||||
"NOT_URI_ANDROID_FALLBACK_LINK",
|
||||
"BAD_URI_SCHEME_ANDROID_FALLBACK_LINK",
|
||||
"NOT_IN_PROJECT_IOS_BUNDLE_ID",
|
||||
"NOT_IN_PROJECT_IPAD_BUNDLE_ID",
|
||||
"UNNECESSARY_IOS_URL_SCHEME",
|
||||
"NOT_NUMERIC_IOS_APP_STORE_ID",
|
||||
"UNNECESSARY_IOS_APP_STORE_ID",
|
||||
"NOT_URI_IOS_FALLBACK_LINK",
|
||||
"BAD_URI_SCHEME_IOS_FALLBACK_LINK",
|
||||
"NOT_URI_IPAD_FALLBACK_LINK",
|
||||
"BAD_URI_SCHEME_IPAD_FALLBACK_LINK",
|
||||
"BAD_DEBUG_PARAM",
|
||||
"BAD_AD_PARAM",
|
||||
"DEPRECATED_PARAM",
|
||||
"UNRECOGNIZED_PARAM",
|
||||
"TOO_LONG_PARAM",
|
||||
"NOT_URI_SOCIAL_IMAGE_LINK",
|
||||
"BAD_URI_SCHEME_SOCIAL_IMAGE_LINK",
|
||||
"NOT_URI_SOCIAL_URL",
|
||||
"BAD_URI_SCHEME_SOCIAL_URL",
|
||||
"LINK_LENGTH_TOO_LONG",
|
||||
"LINK_WITH_FRAGMENTS",
|
||||
"NOT_MATCHING_IOS_BUNDLE_ID_AND_STORE_ID"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Unknown code.",
|
||||
"The Android package does not match any in developer's DevConsole project.",
|
||||
@@ -159,6 +316,38 @@
|
||||
"Dynamic Link URL contains fragments.",
|
||||
"The iOS bundle ID does not match with the given iOS store ID."
|
||||
],
|
||||
"enum": [
|
||||
"CODE_UNSPECIFIED",
|
||||
"NOT_IN_PROJECT_ANDROID_PACKAGE_NAME",
|
||||
"NOT_INTEGER_ANDROID_PACKAGE_MIN_VERSION",
|
||||
"UNNECESSARY_ANDROID_PACKAGE_MIN_VERSION",
|
||||
"NOT_URI_ANDROID_LINK",
|
||||
"UNNECESSARY_ANDROID_LINK",
|
||||
"NOT_URI_ANDROID_FALLBACK_LINK",
|
||||
"BAD_URI_SCHEME_ANDROID_FALLBACK_LINK",
|
||||
"NOT_IN_PROJECT_IOS_BUNDLE_ID",
|
||||
"NOT_IN_PROJECT_IPAD_BUNDLE_ID",
|
||||
"UNNECESSARY_IOS_URL_SCHEME",
|
||||
"NOT_NUMERIC_IOS_APP_STORE_ID",
|
||||
"UNNECESSARY_IOS_APP_STORE_ID",
|
||||
"NOT_URI_IOS_FALLBACK_LINK",
|
||||
"BAD_URI_SCHEME_IOS_FALLBACK_LINK",
|
||||
"NOT_URI_IPAD_FALLBACK_LINK",
|
||||
"BAD_URI_SCHEME_IPAD_FALLBACK_LINK",
|
||||
"BAD_DEBUG_PARAM",
|
||||
"BAD_AD_PARAM",
|
||||
"DEPRECATED_PARAM",
|
||||
"UNRECOGNIZED_PARAM",
|
||||
"TOO_LONG_PARAM",
|
||||
"NOT_URI_SOCIAL_IMAGE_LINK",
|
||||
"BAD_URI_SCHEME_SOCIAL_IMAGE_LINK",
|
||||
"NOT_URI_SOCIAL_URL",
|
||||
"BAD_URI_SCHEME_SOCIAL_URL",
|
||||
"LINK_LENGTH_TOO_LONG",
|
||||
"LINK_WITH_FRAGMENTS",
|
||||
"NOT_MATCHING_IOS_BUNDLE_ID_AND_STORE_ID"
|
||||
],
|
||||
"description": "The warning code.",
|
||||
"type": "string"
|
||||
},
|
||||
"warningMessage": {
|
||||
@@ -168,6 +357,86 @@
|
||||
},
|
||||
"id": "DynamicLinkWarning"
|
||||
},
|
||||
"AndroidInfo": {
|
||||
"properties": {
|
||||
"androidLink": {
|
||||
"description": "If specified, this overrides the ‘link’ parameter on Android.",
|
||||
"type": "string"
|
||||
},
|
||||
"androidFallbackLink": {
|
||||
"description": "Link to open on Android if the app is not installed.",
|
||||
"type": "string"
|
||||
},
|
||||
"androidPackageName": {
|
||||
"description": "Android package name of the app.",
|
||||
"type": "string"
|
||||
},
|
||||
"androidMinPackageVersionCode": {
|
||||
"description": "Minimum version code for the Android app. If the installed app’s version\ncode is lower, then the user is taken to the Play Store.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "AndroidInfo",
|
||||
"description": "Android related attributes to the Dynamic Link.",
|
||||
"type": "object"
|
||||
},
|
||||
"NavigationInfo": {
|
||||
"description": "Information of navigation behavior.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"enableForcedRedirect": {
|
||||
"description": "If this option is on, FDL click will be forced to redirect rather than\nshow an interstitial page.",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"id": "NavigationInfo"
|
||||
},
|
||||
"IosInfo": {
|
||||
"description": "iOS related attributes to the Dynamic Link..",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"iosIpadFallbackLink": {
|
||||
"description": "If specified, this overrides the ios_fallback_link value on iPads.",
|
||||
"type": "string"
|
||||
},
|
||||
"iosIpadBundleId": {
|
||||
"description": "iPad bundle ID of the app.",
|
||||
"type": "string"
|
||||
},
|
||||
"iosCustomScheme": {
|
||||
"description": "Custom (destination) scheme to use for iOS. By default, we’ll use the\nbundle ID as the custom scheme. Developer can override this behavior using\nthis param.",
|
||||
"type": "string"
|
||||
},
|
||||
"iosBundleId": {
|
||||
"description": "iOS bundle ID of the app.",
|
||||
"type": "string"
|
||||
},
|
||||
"iosFallbackLink": {
|
||||
"description": "Link to open on iOS if the app is not installed.",
|
||||
"type": "string"
|
||||
},
|
||||
"iosAppStoreId": {
|
||||
"description": "iOS App Store ID.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "IosInfo"
|
||||
},
|
||||
"AnalyticsInfo": {
|
||||
"properties": {
|
||||
"itunesConnectAnalytics": {
|
||||
"description": "iTunes Connect App Analytics.",
|
||||
"$ref": "ITunesConnectAnalytics"
|
||||
},
|
||||
"googlePlayAnalytics": {
|
||||
"$ref": "GooglePlayAnalytics",
|
||||
"description": "Google Play Campaign Measurements."
|
||||
}
|
||||
},
|
||||
"id": "AnalyticsInfo",
|
||||
"description": "Tracking parameters supported by Dynamic Link.",
|
||||
"type": "object"
|
||||
},
|
||||
"CreateShortDynamicLinkRequest": {
|
||||
"description": "Request to create a short Dynamic Link.",
|
||||
"type": "object",
|
||||
@@ -181,280 +450,26 @@
|
||||
"type": "string"
|
||||
},
|
||||
"suffix": {
|
||||
"description": "Short Dynamic Link suffix. Optional.",
|
||||
"$ref": "Suffix"
|
||||
"$ref": "Suffix",
|
||||
"description": "Short Dynamic Link suffix. Optional."
|
||||
}
|
||||
},
|
||||
"id": "CreateShortDynamicLinkRequest"
|
||||
},
|
||||
"AnalyticsInfo": {
|
||||
"description": "Tracking parameters supported by Dynamic Link.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"googlePlayAnalytics": {
|
||||
"description": "Google Play Campaign Measurements.",
|
||||
"$ref": "GooglePlayAnalytics"
|
||||
},
|
||||
"itunesConnectAnalytics": {
|
||||
"description": "iTunes Connect App Analytics.",
|
||||
"$ref": "ITunesConnectAnalytics"
|
||||
}
|
||||
},
|
||||
"id": "AnalyticsInfo"
|
||||
},
|
||||
"Suffix": {
|
||||
"description": "Short Dynamic Link suffix.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"option": {
|
||||
"description": "Suffix option.",
|
||||
"enum": [
|
||||
"OPTION_UNSPECIFIED",
|
||||
"UNGUESSABLE",
|
||||
"SHORT"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"The suffix option is not specified, performs as NOT_GUESSABLE .",
|
||||
"Short Dynamic Link suffix is a base62 [0-9A-Za-z] encoded string of\na random generated 96 bit random number, which has a length of 17 chars.\nFor example, \"nlAR8U4SlKRZw1cb2\".\nIt prevents other people from guessing and crawling short Dynamic Links\nthat contain personal identifiable information.",
|
||||
"Short Dynamic Link suffix is a base62 [0-9A-Za-z] string starting with a\nlength of 4 chars. the length will increase when all the space is\noccupied."
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "Suffix"
|
||||
},
|
||||
"CreateShortDynamicLinkResponse": {
|
||||
"description": "Response to create a short Dynamic Link.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"previewLink": {
|
||||
"description": "Preivew link to show the link flow chart.",
|
||||
"type": "string"
|
||||
},
|
||||
"warning": {
|
||||
"description": "Information about potential warnings on link creation.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "DynamicLinkWarning"
|
||||
}
|
||||
},
|
||||
"shortLink": {
|
||||
"description": "Short Dynamic Link value. e.g. https://abcd.app.goo.gl/wxyz",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "CreateShortDynamicLinkResponse"
|
||||
},
|
||||
"IosInfo": {
|
||||
"description": "iOS related attributes to the Dynamic Link..",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"iosAppStoreId": {
|
||||
"description": "iOS App Store ID.",
|
||||
"type": "string"
|
||||
},
|
||||
"iosIpadFallbackLink": {
|
||||
"description": "If specified, this overrides the ios_fallback_link value on iPads.",
|
||||
"type": "string"
|
||||
},
|
||||
"iosBundleId": {
|
||||
"description": "iOS bundle ID of the app.",
|
||||
"type": "string"
|
||||
},
|
||||
"iosFallbackLink": {
|
||||
"description": "Link to open on iOS if the app is not installed.",
|
||||
"type": "string"
|
||||
},
|
||||
"iosIpadBundleId": {
|
||||
"description": "iPad bundle ID of the app.",
|
||||
"type": "string"
|
||||
},
|
||||
"iosCustomScheme": {
|
||||
"description": "Custom (destination) scheme to use for iOS. By default, we’ll use the\nbundle ID as the custom scheme. Developer can override this behavior using\nthis param.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "IosInfo"
|
||||
},
|
||||
"AndroidInfo": {
|
||||
"description": "Android related attributes to the Dynamic Link.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"androidMinPackageVersionCode": {
|
||||
"description": "Minimum version code for the Android app. If the installed app’s version\ncode is lower, then the user is taken to the Play Store.",
|
||||
"type": "string"
|
||||
},
|
||||
"androidLink": {
|
||||
"description": "If specified, this overrides the ‘link’ parameter on Android.",
|
||||
"type": "string"
|
||||
},
|
||||
"androidFallbackLink": {
|
||||
"description": "Link to open on Android if the app is not installed.",
|
||||
"type": "string"
|
||||
},
|
||||
"androidPackageName": {
|
||||
"description": "Android package name of the app.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "AndroidInfo"
|
||||
},
|
||||
"SocialMetaTagInfo": {
|
||||
"description": "Parameters for social meta tag params.\nUsed to set meta tag data for link previews on social sites.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"socialTitle": {
|
||||
"description": "Title to be displayed. Optional.",
|
||||
"type": "string"
|
||||
},
|
||||
"socialDescription": {
|
||||
"description": "A short description of the link. Optional.",
|
||||
"type": "string"
|
||||
},
|
||||
"socialImageLink": {
|
||||
"description": "An image url string. Optional.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "SocialMetaTagInfo"
|
||||
},
|
||||
"GooglePlayAnalytics": {
|
||||
"description": "Parameters for Google Play Campaign Measurements.\n[Learn more](https://developers.google.com/analytics/devguides/collection/android/v4/campaigns#campaign-params)",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"utmCampaign": {
|
||||
"description": "Campaign name; used for keyword analysis to identify a specific product\npromotion or strategic campaign.",
|
||||
"type": "string"
|
||||
},
|
||||
"utmTerm": {
|
||||
"description": "Campaign term; used with paid search to supply the keywords for ads.",
|
||||
"type": "string"
|
||||
},
|
||||
"gclid": {
|
||||
"description": "[AdWords autotagging parameter](https://support.google.com/analytics/answer/1033981?hl=en);\nused to measure Google AdWords ads. This value is generated dynamically\nand should never be modified.",
|
||||
"type": "string"
|
||||
},
|
||||
"utmSource": {
|
||||
"description": "Campaign source; used to identify a search engine, newsletter, or other\nsource.",
|
||||
"type": "string"
|
||||
},
|
||||
"utmMedium": {
|
||||
"description": "Campaign medium; used to identify a medium such as email or cost-per-click.",
|
||||
"type": "string"
|
||||
},
|
||||
"utmContent": {
|
||||
"description": "Campaign content; used for A/B testing and content-targeted ads to\ndifferentiate ads or links that point to the same URL.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "GooglePlayAnalytics"
|
||||
}
|
||||
},
|
||||
"revision": "20161118",
|
||||
"basePath": "",
|
||||
"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"
|
||||
},
|
||||
"version_module": "True",
|
||||
"protocol": "rest",
|
||||
"canonicalName": "Firebase Dynamic Links",
|
||||
"discoveryVersion": "v1",
|
||||
"baseUrl": "https://firebasedynamiclinks.googleapis.com/",
|
||||
"name": "firebasedynamiclinks",
|
||||
"parameters": {
|
||||
"access_token": {
|
||||
"description": "OAuth access token.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"default": "true",
|
||||
"type": "boolean",
|
||||
"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": {
|
||||
"description": "Pretty-print response.",
|
||||
"default": "true",
|
||||
"type": "boolean",
|
||||
"location": "query"
|
||||
},
|
||||
"fields": {
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"alt": {
|
||||
"description": "Data format for response.",
|
||||
"location": "query",
|
||||
"enum": [
|
||||
"json",
|
||||
"media",
|
||||
"proto"
|
||||
],
|
||||
"default": "json",
|
||||
"enumDescriptions": [
|
||||
"Responses with Content-Type of application/json",
|
||||
"Media download with context-dependent Content-Type",
|
||||
"Responses with Content-Type of application/x-protobuf"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"description": "V1 error format.",
|
||||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
],
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"oauth_token": {
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"uploadType": {
|
||||
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"upload_protocol": {
|
||||
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
"auth": {
|
||||
"oauth2": {
|
||||
"scopes": {
|
||||
"https://www.googleapis.com/auth/firebase": {
|
||||
"description": "View and administer all your Firebase data and settings"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"documentationLink": "https://firebase.google.com/docs/dynamic-links/",
|
||||
"ownerDomain": "google.com",
|
||||
"batchPath": "batch",
|
||||
"servicePath": "",
|
||||
"ownerName": "Google",
|
||||
"version": "v1",
|
||||
"rootUrl": "https://firebasedynamiclinks.googleapis.com/",
|
||||
"kind": "discovery#restDescription"
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/ijeguRXyVpN9uEUSOI4kjLGOD9E\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/ijeguRXyVpN9uEUSOI4kjLGOD9E\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "fitness:v1",
|
||||
"name": "fitness",
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/0FCdL0BWEx8yMtZQU6marCZhfgI\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/hYetPnobfGbbTDN2IyE3ld5RWXw\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "fusiontables:v1",
|
||||
"name": "fusiontables",
|
||||
"version": "v1",
|
||||
"revision": "20160526",
|
||||
"revision": "20170413",
|
||||
"title": "Fusion Tables API",
|
||||
"description": "API for working with Fusion Tables data.",
|
||||
"ownerDomain": "google.com",
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/QkjGIRroDT5nHgu1Wy3bp0C7GqA\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/p_O8VQ1GgwnmLUmXhlZf5JsJdkk\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "fusiontables:v2",
|
||||
"name": "fusiontables",
|
||||
"version": "v2",
|
||||
"revision": "20160526",
|
||||
"revision": "20170413",
|
||||
"title": "Fusion Tables API",
|
||||
"description": "API for working with Fusion Tables data.",
|
||||
"ownerDomain": "google.com",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/di4Um_ykilUe3tcpJDyVB0T7e64\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/xRU0iq97BVwEymZdT-IMpyJ394E\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "games:v1",
|
||||
"name": "games",
|
||||
"canonicalName": "Games",
|
||||
"version": "v1",
|
||||
"revision": "20161207",
|
||||
"revision": "20170511",
|
||||
"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": "\"tbys6C40o18GZwyMen5GMkdK-3s/xMP3-t2S3m8oLMTQw_TGyMQw30Y\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/xoUDLrOefVzVgtqG3x8wJuxbC_M\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "gamesConfiguration:v1configuration",
|
||||
"name": "gamesConfiguration",
|
||||
"canonicalName": "Games Configuration",
|
||||
"version": "v1configuration",
|
||||
"revision": "20161207",
|
||||
"revision": "20170511",
|
||||
"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": "\"tbys6C40o18GZwyMen5GMkdK-3s/YwPBC4iYbpIMphCGliTYOBhrujY\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/t5ojdIyqE9cj_9KmuahxNl9Z7R8\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "gamesManagement:v1management",
|
||||
"name": "gamesManagement",
|
||||
"canonicalName": "Games Management",
|
||||
"version": "v1management",
|
||||
"revision": "20161207",
|
||||
"revision": "20170511",
|
||||
"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": "\"tbys6C40o18GZwyMen5GMkdK-3s/p_Ki8ZAiDCpzN2N5osErTV2szew\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/sp6jQ8V0i8GKNN9WuCJbaCVJmmQ\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "gmail:v1",
|
||||
"name": "gmail",
|
||||
"version": "v1",
|
||||
"revision": "20161206",
|
||||
"revision": "20170510",
|
||||
"title": "Gmail API",
|
||||
"description": "Access Gmail mailboxes including sending user email.",
|
||||
"ownerDomain": "google.com",
|
||||
@@ -70,7 +70,7 @@
|
||||
"oauth2": {
|
||||
"scopes": {
|
||||
"https://mail.google.com/": {
|
||||
"description": "View and manage your mail"
|
||||
"description": "Read, send, delete, and manage your email"
|
||||
},
|
||||
"https://www.googleapis.com/auth/gmail.compose": {
|
||||
"description": "Manage drafts and send emails"
|
||||
@@ -669,6 +669,19 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"ListSmimeInfoResponse": {
|
||||
"id": "ListSmimeInfoResponse",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"smimeInfo": {
|
||||
"type": "array",
|
||||
"description": "List of SmimeInfo.",
|
||||
"items": {
|
||||
"$ref": "SmimeInfo"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ListThreadsResponse": {
|
||||
"id": "ListThreadsResponse",
|
||||
"type": "object",
|
||||
@@ -981,6 +994,43 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"SmimeInfo": {
|
||||
"id": "SmimeInfo",
|
||||
"type": "object",
|
||||
"description": "An S/MIME email config.",
|
||||
"properties": {
|
||||
"encryptedKeyPassword": {
|
||||
"type": "string",
|
||||
"description": "Encrypted key password, when key is encrypted."
|
||||
},
|
||||
"expiration": {
|
||||
"type": "string",
|
||||
"description": "When the certificate expires (in milliseconds since epoch).",
|
||||
"format": "int64"
|
||||
},
|
||||
"id": {
|
||||
"type": "string",
|
||||
"description": "The immutable ID for the SmimeInfo."
|
||||
},
|
||||
"isDefault": {
|
||||
"type": "boolean",
|
||||
"description": "Whether this SmimeInfo is the default one for this user's send-as address."
|
||||
},
|
||||
"issuerCn": {
|
||||
"type": "string",
|
||||
"description": "The S/MIME certificate issuer's common name."
|
||||
},
|
||||
"pem": {
|
||||
"type": "string",
|
||||
"description": "PEM formatted X509 concatenated certificate string (standard base64 encoding). Format used for returning key, which includes public key as well as certificate chain (not private key)."
|
||||
},
|
||||
"pkcs12": {
|
||||
"type": "string",
|
||||
"description": "PKCS#12 format containing a single private/public key pair and certificate chain. This format is only accepted from client for creating a new SmimeInfo and is never returned, because the private key is not intended to be exported. PKCS#12 may be encrypted, in which case encryptedKeyPassword should be set appropriately.",
|
||||
"format": "byte"
|
||||
}
|
||||
}
|
||||
},
|
||||
"SmtpMsa": {
|
||||
"id": "SmtpMsa",
|
||||
"type": "object",
|
||||
@@ -1080,7 +1130,7 @@
|
||||
},
|
||||
"restrictToDomain": {
|
||||
"type": "boolean",
|
||||
"description": "Flag that determines whether responses are sent to recipients who are outside of the user's domain. This feature is only available for Google Apps users."
|
||||
"description": "Flag that determines whether responses are sent to recipients who are outside of the user's domain. This feature is only available for G Suite users."
|
||||
},
|
||||
"startTime": {
|
||||
"type": "string",
|
||||
@@ -1513,6 +1563,24 @@
|
||||
"httpMethod": "GET",
|
||||
"description": "Lists the history of all changes to the given mailbox. History results are returned in chronological order (increasing historyId).",
|
||||
"parameters": {
|
||||
"historyTypes": {
|
||||
"type": "string",
|
||||
"description": "History types to be returned by the function",
|
||||
"enum": [
|
||||
"labelAdded",
|
||||
"labelRemoved",
|
||||
"messageAdded",
|
||||
"messageDeleted"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"repeated": true,
|
||||
"location": "query"
|
||||
},
|
||||
"labelId": {
|
||||
"type": "string",
|
||||
"description": "Only return messages with a label matching the ID.",
|
||||
@@ -1902,7 +1970,7 @@
|
||||
"parameters": {
|
||||
"deleted": {
|
||||
"type": "boolean",
|
||||
"description": "Mark the email as permanently deleted (not TRASH) and only visible in Google Apps Vault to a Vault administrator. Only used for Google Apps for Work accounts.",
|
||||
"description": "Mark the email as permanently deleted (not TRASH) and only visible in Google Vault to a Vault administrator. Only used for G Suite accounts.",
|
||||
"default": "false",
|
||||
"location": "query"
|
||||
},
|
||||
@@ -1959,7 +2027,7 @@
|
||||
"accept": [
|
||||
"message/rfc822"
|
||||
],
|
||||
"maxSize": "35MB",
|
||||
"maxSize": "50MB",
|
||||
"protocols": {
|
||||
"simple": {
|
||||
"multipart": true,
|
||||
@@ -1980,7 +2048,7 @@
|
||||
"parameters": {
|
||||
"deleted": {
|
||||
"type": "boolean",
|
||||
"description": "Mark the email as permanently deleted (not TRASH) and only visible in Google Apps Vault to a Vault administrator. Only used for Google Apps for Work accounts.",
|
||||
"description": "Mark the email as permanently deleted (not TRASH) and only visible in Google Vault to a Vault administrator. Only used for G Suite accounts.",
|
||||
"default": "false",
|
||||
"location": "query"
|
||||
},
|
||||
@@ -2025,7 +2093,7 @@
|
||||
"accept": [
|
||||
"message/rfc822"
|
||||
],
|
||||
"maxSize": "35MB",
|
||||
"maxSize": "50MB",
|
||||
"protocols": {
|
||||
"simple": {
|
||||
"multipart": true,
|
||||
@@ -2070,7 +2138,7 @@
|
||||
},
|
||||
"q": {
|
||||
"type": "string",
|
||||
"description": "Only return messages matching the specified query. Supports the same query format as the Gmail search box. For example, \"from:someuser@example.com rfc822msgid: is:unread\". Parameter cannot be used when accessing the api using the gmail.metadata scope.",
|
||||
"description": "Only return messages matching the specified query. Supports the same query format as the Gmail search box. For example, \"from:someuser@example.com rfc822msgid:\u003csomemsgid@example.com\u003e is:unread\". Parameter cannot be used when accessing the api using the gmail.metadata scope.",
|
||||
"location": "query"
|
||||
},
|
||||
"userId": {
|
||||
@@ -2402,7 +2470,7 @@
|
||||
"id": "gmail.users.settings.updateAutoForwarding",
|
||||
"path": "{userId}/settings/autoForwarding",
|
||||
"httpMethod": "PUT",
|
||||
"description": "Updates the auto-forwarding setting for the specified account. A verified forwarding address must be specified when auto-forwarding is enabled.",
|
||||
"description": "Updates the auto-forwarding setting for the specified account. A verified forwarding address must be specified when auto-forwarding is enabled.\n\nThis method is only available to service account clients that have been delegated domain-wide authority.",
|
||||
"parameters": {
|
||||
"userId": {
|
||||
"type": "string",
|
||||
@@ -2634,7 +2702,7 @@
|
||||
"id": "gmail.users.settings.forwardingAddresses.create",
|
||||
"path": "{userId}/settings/forwardingAddresses",
|
||||
"httpMethod": "POST",
|
||||
"description": "Creates a forwarding address. If ownership verification is required, a message will be sent to the recipient and the resource's verification status will be set to pending; otherwise, the resource will be created with verification status set to accepted.",
|
||||
"description": "Creates a forwarding address. If ownership verification is required, a message will be sent to the recipient and the resource's verification status will be set to pending; otherwise, the resource will be created with verification status set to accepted.\n\nThis method is only available to service account clients that have been delegated domain-wide authority.",
|
||||
"parameters": {
|
||||
"userId": {
|
||||
"type": "string",
|
||||
@@ -2661,7 +2729,7 @@
|
||||
"id": "gmail.users.settings.forwardingAddresses.delete",
|
||||
"path": "{userId}/settings/forwardingAddresses/{forwardingEmail}",
|
||||
"httpMethod": "DELETE",
|
||||
"description": "Deletes the specified forwarding address and revokes any verification that may have been required.",
|
||||
"description": "Deletes the specified forwarding address and revokes any verification that may have been required.\n\nThis method is only available to service account clients that have been delegated domain-wide authority.",
|
||||
"parameters": {
|
||||
"forwardingEmail": {
|
||||
"type": "string",
|
||||
@@ -2754,7 +2822,7 @@
|
||||
"id": "gmail.users.settings.sendAs.create",
|
||||
"path": "{userId}/settings/sendAs",
|
||||
"httpMethod": "POST",
|
||||
"description": "Creates a custom \"from\" send-as alias. If an SMTP MSA is specified, Gmail will attempt to connect to the SMTP service to validate the configuration before creating the alias. If ownership verification is required for the alias, a message will be sent to the email address and the resource's verification status will be set to pending; otherwise, the resource will be created with verification status set to accepted. If a signature is provided, Gmail will sanitize the HTML before saving it with the alias.",
|
||||
"description": "Creates a custom \"from\" send-as alias. If an SMTP MSA is specified, Gmail will attempt to connect to the SMTP service to validate the configuration before creating the alias. If ownership verification is required for the alias, a message will be sent to the email address and the resource's verification status will be set to pending; otherwise, the resource will be created with verification status set to accepted. If a signature is provided, Gmail will sanitize the HTML before saving it with the alias.\n\nThis method is only available to service account clients that have been delegated domain-wide authority.",
|
||||
"parameters": {
|
||||
"userId": {
|
||||
"type": "string",
|
||||
@@ -2781,7 +2849,7 @@
|
||||
"id": "gmail.users.settings.sendAs.delete",
|
||||
"path": "{userId}/settings/sendAs/{sendAsEmail}",
|
||||
"httpMethod": "DELETE",
|
||||
"description": "Deletes the specified send-as alias. Revokes any verification that may have been required for using it.",
|
||||
"description": "Deletes the specified send-as alias. Revokes any verification that may have been required for using it.\n\nThis method is only available to service account clients that have been delegated domain-wide authority.",
|
||||
"parameters": {
|
||||
"sendAsEmail": {
|
||||
"type": "string",
|
||||
@@ -2870,7 +2938,7 @@
|
||||
"id": "gmail.users.settings.sendAs.patch",
|
||||
"path": "{userId}/settings/sendAs/{sendAsEmail}",
|
||||
"httpMethod": "PATCH",
|
||||
"description": "Updates a send-as alias. If a signature is provided, Gmail will sanitize the HTML before saving it with the alias. This method supports patch semantics.",
|
||||
"description": "Updates a send-as alias. If a signature is provided, Gmail will sanitize the HTML before saving it with the alias.\n\nAddresses other than the primary address for the account can only be updated by service account clients that have been delegated domain-wide authority. This method supports patch semantics.",
|
||||
"parameters": {
|
||||
"sendAsEmail": {
|
||||
"type": "string",
|
||||
@@ -2905,7 +2973,7 @@
|
||||
"id": "gmail.users.settings.sendAs.update",
|
||||
"path": "{userId}/settings/sendAs/{sendAsEmail}",
|
||||
"httpMethod": "PUT",
|
||||
"description": "Updates a send-as alias. If a signature is provided, Gmail will sanitize the HTML before saving it with the alias.",
|
||||
"description": "Updates a send-as alias. If a signature is provided, Gmail will sanitize the HTML before saving it with the alias.\n\nAddresses other than the primary address for the account can only be updated by service account clients that have been delegated domain-wide authority.",
|
||||
"parameters": {
|
||||
"sendAsEmail": {
|
||||
"type": "string",
|
||||
@@ -2940,7 +3008,7 @@
|
||||
"id": "gmail.users.settings.sendAs.verify",
|
||||
"path": "{userId}/settings/sendAs/{sendAsEmail}/verify",
|
||||
"httpMethod": "POST",
|
||||
"description": "Sends a verification email to the specified send-as alias address. The verification status must be pending.",
|
||||
"description": "Sends a verification email to the specified send-as alias address. The verification status must be pending.\n\nThis method is only available to service account clients that have been delegated domain-wide authority.",
|
||||
"parameters": {
|
||||
"sendAsEmail": {
|
||||
"type": "string",
|
||||
@@ -2964,6 +3032,196 @@
|
||||
"https://www.googleapis.com/auth/gmail.settings.sharing"
|
||||
]
|
||||
}
|
||||
},
|
||||
"resources": {
|
||||
"smimeInfo": {
|
||||
"methods": {
|
||||
"delete": {
|
||||
"id": "gmail.users.settings.sendAs.smimeInfo.delete",
|
||||
"path": "{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}",
|
||||
"httpMethod": "DELETE",
|
||||
"description": "Deletes the specified S/MIME config for the specified send-as alias.",
|
||||
"parameters": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
"description": "The immutable ID for the SmimeInfo.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"sendAsEmail": {
|
||||
"type": "string",
|
||||
"description": "The email address that appears in the \"From:\" header for mail sent using this alias.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"userId": {
|
||||
"type": "string",
|
||||
"description": "The user's email address. The special value me can be used to indicate the authenticated user.",
|
||||
"default": "me",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"userId",
|
||||
"sendAsEmail",
|
||||
"id"
|
||||
],
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/gmail.settings.basic",
|
||||
"https://www.googleapis.com/auth/gmail.settings.sharing"
|
||||
]
|
||||
},
|
||||
"get": {
|
||||
"id": "gmail.users.settings.sendAs.smimeInfo.get",
|
||||
"path": "{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}",
|
||||
"httpMethod": "GET",
|
||||
"description": "Gets the specified S/MIME config for the specified send-as alias.",
|
||||
"parameters": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
"description": "The immutable ID for the SmimeInfo.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"sendAsEmail": {
|
||||
"type": "string",
|
||||
"description": "The email address that appears in the \"From:\" header for mail sent using this alias.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"userId": {
|
||||
"type": "string",
|
||||
"description": "The user's email address. The special value me can be used to indicate the authenticated user.",
|
||||
"default": "me",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"userId",
|
||||
"sendAsEmail",
|
||||
"id"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "SmimeInfo"
|
||||
},
|
||||
"scopes": [
|
||||
"https://mail.google.com/",
|
||||
"https://www.googleapis.com/auth/gmail.modify",
|
||||
"https://www.googleapis.com/auth/gmail.readonly",
|
||||
"https://www.googleapis.com/auth/gmail.settings.basic",
|
||||
"https://www.googleapis.com/auth/gmail.settings.sharing"
|
||||
]
|
||||
},
|
||||
"insert": {
|
||||
"id": "gmail.users.settings.sendAs.smimeInfo.insert",
|
||||
"path": "{userId}/settings/sendAs/{sendAsEmail}/smimeInfo",
|
||||
"httpMethod": "POST",
|
||||
"description": "Insert (upload) the given S/MIME config for the specified send-as alias. Note that pkcs12 format is required for the key.",
|
||||
"parameters": {
|
||||
"sendAsEmail": {
|
||||
"type": "string",
|
||||
"description": "The email address that appears in the \"From:\" header for mail sent using this alias.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"userId": {
|
||||
"type": "string",
|
||||
"description": "The user's email address. The special value me can be used to indicate the authenticated user.",
|
||||
"default": "me",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"userId",
|
||||
"sendAsEmail"
|
||||
],
|
||||
"request": {
|
||||
"$ref": "SmimeInfo"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "SmimeInfo"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/gmail.settings.basic",
|
||||
"https://www.googleapis.com/auth/gmail.settings.sharing"
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"id": "gmail.users.settings.sendAs.smimeInfo.list",
|
||||
"path": "{userId}/settings/sendAs/{sendAsEmail}/smimeInfo",
|
||||
"httpMethod": "GET",
|
||||
"description": "Lists S/MIME configs for the specified send-as alias.",
|
||||
"parameters": {
|
||||
"sendAsEmail": {
|
||||
"type": "string",
|
||||
"description": "The email address that appears in the \"From:\" header for mail sent using this alias.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"userId": {
|
||||
"type": "string",
|
||||
"description": "The user's email address. The special value me can be used to indicate the authenticated user.",
|
||||
"default": "me",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"userId",
|
||||
"sendAsEmail"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "ListSmimeInfoResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://mail.google.com/",
|
||||
"https://www.googleapis.com/auth/gmail.modify",
|
||||
"https://www.googleapis.com/auth/gmail.readonly",
|
||||
"https://www.googleapis.com/auth/gmail.settings.basic",
|
||||
"https://www.googleapis.com/auth/gmail.settings.sharing"
|
||||
]
|
||||
},
|
||||
"setDefault": {
|
||||
"id": "gmail.users.settings.sendAs.smimeInfo.setDefault",
|
||||
"path": "{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}/setDefault",
|
||||
"httpMethod": "POST",
|
||||
"description": "Sets the default S/MIME config for the specified send-as alias.",
|
||||
"parameters": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
"description": "The immutable ID for the SmimeInfo.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"sendAsEmail": {
|
||||
"type": "string",
|
||||
"description": "The email address that appears in the \"From:\" header for mail sent using this alias.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"userId": {
|
||||
"type": "string",
|
||||
"description": "The user's email address. The special value me can be used to indicate the authenticated user.",
|
||||
"default": "me",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"userId",
|
||||
"sendAsEmail",
|
||||
"id"
|
||||
],
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/gmail.settings.basic",
|
||||
"https://www.googleapis.com/auth/gmail.settings.sharing"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/HWdr3QolTxcnkwueTlDTCxOXBdE\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/HWdr3QolTxcnkwueTlDTCxOXBdE\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "groupsmigration:v1",
|
||||
"name": "groupsmigration",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/26Y5Yyn2D8WwxhPa2zJyQ3Axz8I\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/8JFCy9G09DiKop8V7jh2RwsOYyI\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "groupssettings:v1",
|
||||
"name": "groupssettings",
|
||||
@@ -72,7 +72,7 @@
|
||||
"oauth2": {
|
||||
"scopes": {
|
||||
"https://www.googleapis.com/auth/apps.groups.settings": {
|
||||
"description": "View and manage the settings of a Google Apps Group"
|
||||
"description": "View and manage the settings of a G Suite group"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/9lrbPxfnfcTzLSOgIxD2Vj83GmI\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/mRP2pwjx8HZNSfXtE0G7azflT_U\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "identitytoolkit:v3",
|
||||
"name": "identitytoolkit",
|
||||
"canonicalName": "Identity Toolkit",
|
||||
"version": "v3",
|
||||
"revision": "20161206",
|
||||
"revision": "20170425",
|
||||
"title": "Google Identity Toolkit API",
|
||||
"description": "Help the third party sites to implement federated login.",
|
||||
"ownerDomain": "google.com",
|
||||
@@ -138,7 +138,7 @@
|
||||
"DownloadAccountResponse": {
|
||||
"id": "DownloadAccountResponse",
|
||||
"type": "object",
|
||||
"description": "Respone of downloading accounts in batch.",
|
||||
"description": "Response of downloading accounts in batch.",
|
||||
"properties": {
|
||||
"kind": {
|
||||
"type": "string",
|
||||
@@ -717,6 +717,10 @@
|
||||
"type": "string",
|
||||
"description": "Instance id token of the app."
|
||||
},
|
||||
"localId": {
|
||||
"type": "string",
|
||||
"description": "Privileged caller can create user with specified user id."
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"description": "The new password of the user."
|
||||
@@ -787,6 +791,10 @@
|
||||
"type": "object",
|
||||
"description": "Request to verify the IDP assertion.",
|
||||
"properties": {
|
||||
"autoCreate": {
|
||||
"type": "boolean",
|
||||
"description": "When it's true, automatically creates a new account if the user doesn't exist. When it's false, allows existing user to sign in normally and throws exception if the user doesn't exist."
|
||||
},
|
||||
"delegatedProjectNumber": {
|
||||
"type": "string",
|
||||
"description": "GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration.",
|
||||
@@ -938,6 +946,22 @@
|
||||
"type": "object",
|
||||
"description": "Request of getting a code for user confirmation (reset password, change email etc.)",
|
||||
"properties": {
|
||||
"androidInstallApp": {
|
||||
"type": "boolean",
|
||||
"description": "whether or not to install the android app on the device where the link is opened"
|
||||
},
|
||||
"androidMinimumVersion": {
|
||||
"type": "string",
|
||||
"description": "minimum version of the app. if the version on the device is lower than this version then the user is taken to the play store to upgrade the app"
|
||||
},
|
||||
"androidPackageName": {
|
||||
"type": "string",
|
||||
"description": "android package name of the android app to handle the action code"
|
||||
},
|
||||
"canHandleCodeInApp": {
|
||||
"type": "boolean",
|
||||
"description": "whether or not the app can handle the oob code without first going to web"
|
||||
},
|
||||
"captchaResp": {
|
||||
"type": "string",
|
||||
"description": "The recaptcha response from the user."
|
||||
@@ -946,10 +970,22 @@
|
||||
"type": "string",
|
||||
"description": "The recaptcha challenge presented to the user."
|
||||
},
|
||||
"continueUrl": {
|
||||
"type": "string",
|
||||
"description": "The url to continue to the Gitkit app"
|
||||
},
|
||||
"email": {
|
||||
"type": "string",
|
||||
"description": "The email of the user."
|
||||
},
|
||||
"iOSAppStoreId": {
|
||||
"type": "string",
|
||||
"description": "iOS app store id to download the app if it's not already installed"
|
||||
},
|
||||
"iOSBundleId": {
|
||||
"type": "string",
|
||||
"description": "the iOS bundle id of iOS app to handle the action code"
|
||||
},
|
||||
"idToken": {
|
||||
"type": "string",
|
||||
"description": "The user's Gitkit login token for email change."
|
||||
@@ -1010,6 +1046,10 @@
|
||||
"type": "string",
|
||||
"description": "The email of the user."
|
||||
},
|
||||
"emailVerified": {
|
||||
"type": "boolean",
|
||||
"description": "If email has been verified."
|
||||
},
|
||||
"expiresIn": {
|
||||
"type": "string",
|
||||
"description": "If idToken is STS id token, then this field will be expiration time of STS id token in seconds.",
|
||||
@@ -1188,6 +1228,10 @@
|
||||
"description": "The timestamp when the password was last updated.",
|
||||
"format": "double"
|
||||
},
|
||||
"phoneNumber": {
|
||||
"type": "string",
|
||||
"description": "User's phone number."
|
||||
},
|
||||
"photoUrl": {
|
||||
"type": "string",
|
||||
"description": "The URL of the user profile photo."
|
||||
@@ -1210,6 +1254,10 @@
|
||||
"type": "string",
|
||||
"description": "User's identifier at IDP."
|
||||
},
|
||||
"phoneNumber": {
|
||||
"type": "string",
|
||||
"description": "User's phone number."
|
||||
},
|
||||
"photoUrl": {
|
||||
"type": "string",
|
||||
"description": "The user's photo url at the IDP."
|
||||
@@ -1324,6 +1372,10 @@
|
||||
"type": "string",
|
||||
"description": "It's the identifier param in the createAuthUri request if the identifier is an email. It can be used to check whether the user input email is different from the asserted email."
|
||||
},
|
||||
"isNewUser": {
|
||||
"type": "boolean",
|
||||
"description": "True if it's a new user sign-in, false if it's a returning user."
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"description": "The fixed string \"identitytoolkit#VerifyAssertionResponse\".",
|
||||
|
||||
@@ -1,184 +1,194 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/MyGIPHuwU0Ku04gaZJZTvYYLLEQ\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "kgsearch:v1",
|
||||
"name": "kgsearch",
|
||||
"version": "v1",
|
||||
"revision": "20151215",
|
||||
"title": "Knowledge Graph Search API",
|
||||
"description": "Knowledge Graph Search API allows developers to search the Google Knowledge Graph for entities.",
|
||||
"ownerDomain": "google.com",
|
||||
"ownerName": "Google",
|
||||
"icons": {
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
||||
},
|
||||
"documentationLink": "https://developers.google.com/knowledge-graph/",
|
||||
"protocol": "rest",
|
||||
"baseUrl": "https://kgsearch.googleapis.com/",
|
||||
"basePath": "",
|
||||
"rootUrl": "https://kgsearch.googleapis.com/",
|
||||
"servicePath": "",
|
||||
"batchPath": "batch",
|
||||
"version_module": true,
|
||||
"parameters": {
|
||||
"access_token": {
|
||||
"type": "string",
|
||||
"description": "OAuth access token.",
|
||||
"location": "query"
|
||||
},
|
||||
"alt": {
|
||||
"type": "string",
|
||||
"description": "Data format for response.",
|
||||
"default": "json",
|
||||
"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"
|
||||
},
|
||||
"bearer_token": {
|
||||
"type": "string",
|
||||
"description": "OAuth bearer token.",
|
||||
"location": "query"
|
||||
},
|
||||
"callback": {
|
||||
"type": "string",
|
||||
"description": "JSONP",
|
||||
"location": "query"
|
||||
},
|
||||
"fields": {
|
||||
"type": "string",
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"location": "query"
|
||||
},
|
||||
"key": {
|
||||
"type": "string",
|
||||
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
|
||||
"location": "query"
|
||||
},
|
||||
"oauth_token": {
|
||||
"type": "string",
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"location": "query"
|
||||
},
|
||||
"pp": {
|
||||
"type": "boolean",
|
||||
"description": "Pretty-print response.",
|
||||
"default": "true",
|
||||
"location": "query"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"type": "boolean",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"default": "true",
|
||||
"location": "query"
|
||||
},
|
||||
"quotaUser": {
|
||||
"type": "string",
|
||||
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
|
||||
"location": "query"
|
||||
},
|
||||
"upload_protocol": {
|
||||
"type": "string",
|
||||
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
|
||||
"location": "query"
|
||||
},
|
||||
"uploadType": {
|
||||
"type": "string",
|
||||
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
||||
"location": "query"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"type": "string",
|
||||
"description": "V1 error format.",
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
],
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"schemas": {
|
||||
"SearchResponse": {
|
||||
"id": "SearchResponse",
|
||||
"type": "object",
|
||||
"description": "Response message includes the context and a list of matching results which contain the detail of associated entities.",
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "any",
|
||||
"description": "The local context applicable for the response. See more details at http://www.w3.org/TR/json-ld/#context-definitions."
|
||||
},
|
||||
"type": {
|
||||
"type": "any",
|
||||
"description": "The schema type of top-level JSON-LD object, e.g. ItemList."
|
||||
},
|
||||
"itemListElement": {
|
||||
"type": "array",
|
||||
"description": "The item list of search results.",
|
||||
"items": {
|
||||
"type": "any"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"resources": {
|
||||
"entities": {
|
||||
"methods": {
|
||||
"search": {
|
||||
"id": "kgsearch.entities.search",
|
||||
"path": "v1/entities:search",
|
||||
"httpMethod": "GET",
|
||||
"description": "Searches Knowledge Graph for entities that match the constraints. A list of matched entities will be returned in response, which will be in JSON-LD format and compatible with http://schema.org",
|
||||
"parameters": {
|
||||
"query": {
|
||||
"type": "string",
|
||||
"description": "The literal query string for search.",
|
||||
"location": "query"
|
||||
},
|
||||
"ids": {
|
||||
"type": "string",
|
||||
"description": "The list of entity id to be used for search instead of query string.",
|
||||
"repeated": true,
|
||||
"location": "query"
|
||||
},
|
||||
"languages": {
|
||||
"type": "string",
|
||||
"description": "The list of language codes (defined in ISO 693) to run the query with, e.g. 'en'.",
|
||||
"repeated": true,
|
||||
"location": "query"
|
||||
},
|
||||
"types": {
|
||||
"type": "string",
|
||||
"description": "Restricts returned entities with these types, e.g. Person (as defined in http://schema.org/Person).",
|
||||
"repeated": true,
|
||||
"location": "query"
|
||||
},
|
||||
"indent": {
|
||||
"type": "boolean",
|
||||
"description": "Enables indenting of json results.",
|
||||
"location": "query"
|
||||
},
|
||||
"prefix": {
|
||||
"type": "boolean",
|
||||
"description": "Enables prefix match against names and aliases of entities",
|
||||
"location": "query"
|
||||
},
|
||||
"limit": {
|
||||
"type": "integer",
|
||||
"description": "Limits the number of entities to be returned.",
|
||||
"format": "int32",
|
||||
"location": "query"
|
||||
"version_module": "True",
|
||||
"resources": {
|
||||
"entities": {
|
||||
"methods": {
|
||||
"search": {
|
||||
"flatPath": "v1/entities: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",
|
||||
"response": {
|
||||
"$ref": "SearchResponse"
|
||||
},
|
||||
"parameterOrder": [],
|
||||
"httpMethod": "GET",
|
||||
"parameters": {
|
||||
"languages": {
|
||||
"repeated": true,
|
||||
"location": "query",
|
||||
"description": "The list of language codes (defined in ISO 693) to run the query with,\ne.g. 'en'.",
|
||||
"type": "string"
|
||||
},
|
||||
"ids": {
|
||||
"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",
|
||||
"repeated": true,
|
||||
"location": "query"
|
||||
},
|
||||
"limit": {
|
||||
"description": "Limits the number of entities to be returned.",
|
||||
"format": "int32",
|
||||
"type": "integer",
|
||||
"location": "query"
|
||||
},
|
||||
"prefix": {
|
||||
"description": "Enables prefix match against names and aliases of entities",
|
||||
"type": "boolean",
|
||||
"location": "query"
|
||||
},
|
||||
"query": {
|
||||
"description": "The literal query string for search.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"indent": {
|
||||
"type": "boolean",
|
||||
"location": "query",
|
||||
"description": "Enables indenting of json results."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"$ref": "SearchResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
"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"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
],
|
||||
"location": "query",
|
||||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
],
|
||||
"description": "V1 error format.",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"type": "string",
|
||||
"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"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"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": {
|
||||
"type": "boolean",
|
||||
"default": "true",
|
||||
"location": "query",
|
||||
"description": "Pretty-print response."
|
||||
},
|
||||
"oauth_token": {
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"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.",
|
||||
"type": "boolean",
|
||||
"default": "true"
|
||||
}
|
||||
},
|
||||
"schemas": {
|
||||
"SearchResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"@type": {
|
||||
"description": "The schema type of top-level JSON-LD object, e.g. ItemList.",
|
||||
"type": "any"
|
||||
},
|
||||
"@context": {
|
||||
"type": "any",
|
||||
"description": "The local context applicable for the response. See more details at\nhttp://www.w3.org/TR/json-ld/#context-definitions."
|
||||
},
|
||||
"itemListElement": {
|
||||
"description": "The item list of search results.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "any"
|
||||
}
|
||||
}
|
||||
},
|
||||
"id": "SearchResponse",
|
||||
"description": "Response message includes the context and a list of matching results\nwhich contain the detail of associated entities."
|
||||
}
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"version": "v1",
|
||||
"baseUrl": "https://kgsearch.googleapis.com/",
|
||||
"kind": "discovery#restDescription",
|
||||
"description": "Searches the Google Knowledge Graph for entities.",
|
||||
"servicePath": "",
|
||||
"rootUrl": "https://kgsearch.googleapis.com/",
|
||||
"basePath": "",
|
||||
"ownerDomain": "google.com",
|
||||
"name": "kgsearch",
|
||||
"batchPath": "batch",
|
||||
"id": "kgsearch:v1",
|
||||
"documentationLink": "https://developers.google.com/knowledge-graph/",
|
||||
"revision": "20170109",
|
||||
"title": "Knowledge Graph Search API",
|
||||
"ownerName": "Google",
|
||||
"discoveryVersion": "v1"
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,13 +1,13 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/FyUD9D0inmca5JWfAKYW1_Iol18\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/WD_dCFRiB71YKGuRij6Gw1Sn7dI\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "licensing:v1",
|
||||
"name": "licensing",
|
||||
"version": "v1",
|
||||
"revision": "20150901",
|
||||
"revision": "20170213",
|
||||
"title": "Enterprise License Manager API",
|
||||
"description": "Licensing API to view and manage license for your domain.",
|
||||
"description": "Views and manages licenses for your domain.",
|
||||
"ownerDomain": "google.com",
|
||||
"ownerName": "Google",
|
||||
"icons": {
|
||||
@@ -70,7 +70,7 @@
|
||||
"oauth2": {
|
||||
"scopes": {
|
||||
"https://www.googleapis.com/auth/apps.licensing": {
|
||||
"description": "View and manage Google Apps licenses for your domain"
|
||||
"description": "View and manage G Suite licenses for your domain"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -92,26 +92,34 @@
|
||||
},
|
||||
"productId": {
|
||||
"type": "string",
|
||||
"description": "Name of the product.",
|
||||
"description": "Id of the product.",
|
||||
"annotations": {
|
||||
"required": [
|
||||
"licensing.licenseAssignments.update"
|
||||
]
|
||||
}
|
||||
},
|
||||
"productName": {
|
||||
"type": "string",
|
||||
"description": "Display Name of the product."
|
||||
},
|
||||
"selfLink": {
|
||||
"type": "string",
|
||||
"description": "Link to this page."
|
||||
},
|
||||
"skuId": {
|
||||
"type": "string",
|
||||
"description": "Name of the sku of the product.",
|
||||
"description": "Id of the sku of the product.",
|
||||
"annotations": {
|
||||
"required": [
|
||||
"licensing.licenseAssignments.update"
|
||||
]
|
||||
}
|
||||
},
|
||||
"skuName": {
|
||||
"type": "string",
|
||||
"description": "Display Name of the sku of the product."
|
||||
},
|
||||
"userId": {
|
||||
"type": "string",
|
||||
"description": "Email id of the user.",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,97 +1,76 @@
|
||||
{
|
||||
"id": "manufacturers:v1",
|
||||
"auth": {
|
||||
"oauth2": {
|
||||
"scopes": {
|
||||
"https://www.googleapis.com/auth/manufacturercenter": {
|
||||
"description": "Manage your product listings for Google Manufacturer Center"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": "Public API for managing Manufacturer Center related data.",
|
||||
"protocol": "rest",
|
||||
"title": "Manufacturer Center API",
|
||||
"resources": {
|
||||
"accounts": {
|
||||
"resources": {
|
||||
"products": {
|
||||
"methods": {
|
||||
"get": {
|
||||
"id": "manufacturers.accounts.products.get",
|
||||
"response": {
|
||||
"$ref": "Product"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"parent",
|
||||
"name"
|
||||
],
|
||||
"description": "Gets the product from a Manufacturer Center account, including product\nissues.",
|
||||
"flatPath": "v1/accounts/{accountsId}/products/{productsId}",
|
||||
"httpMethod": "GET",
|
||||
"parameters": {
|
||||
"parent": {
|
||||
"description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account.",
|
||||
"required": true,
|
||||
"pattern": "^accounts/[^/]+$",
|
||||
"location": "path",
|
||||
"type": "string"
|
||||
},
|
||||
"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,
|
||||
"pattern": "^[^/]+$",
|
||||
"location": "path",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1/{+parent}/products/{+name}",
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/manufacturercenter"
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"id": "manufacturers.accounts.products.list",
|
||||
"response": {
|
||||
"$ref": "ListProductsResponse"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"parent"
|
||||
],
|
||||
"description": "Lists all the products in a Manufacturer Center account.",
|
||||
"flatPath": "v1/accounts/{accountsId}/products",
|
||||
"httpMethod": "GET",
|
||||
"parameters": {
|
||||
"pageSize": {
|
||||
"description": "Maximum number of product statuses to return in the response, used for\npaging.",
|
||||
"location": "query",
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
"parent": {
|
||||
"description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account.",
|
||||
"required": true,
|
||||
"pattern": "^accounts/[^/]+$",
|
||||
"location": "path",
|
||||
"type": "string"
|
||||
},
|
||||
"pageToken": {
|
||||
"description": "The token returned by the previous request.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1/{+parent}/products",
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/manufacturercenter"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveryVersion": "v1",
|
||||
"version_module": "True",
|
||||
"schemas": {
|
||||
"Product": {
|
||||
"description": "Product data.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"uploadedAttributes": {
|
||||
"$ref": "Attributes",
|
||||
"description": "Attributes of the product uploaded via the Manufacturer Center API or via\nfeeds."
|
||||
},
|
||||
"parent": {
|
||||
"type": "string",
|
||||
"description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account.\n@OutputOnly"
|
||||
},
|
||||
"manuallyProvidedAttributes": {
|
||||
"$ref": "Attributes",
|
||||
"description": "Attributes of the product provided manually via the Manufacturer Center UI.\n@OutputOnly"
|
||||
},
|
||||
"targetCountry": {
|
||||
"type": "string",
|
||||
"description": "The target country of the product as a CLDR territory code (for example,\nUS).\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"
|
||||
},
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"manuallyDeletedAttributes": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Names of the attributes of the product deleted manually via the\nManufacturer Center UI.\n@OutputOnly"
|
||||
},
|
||||
"finalAttributes": {
|
||||
"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": {
|
||||
"type": "string",
|
||||
"description": "The ID of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#id.\n@OutputOnly"
|
||||
}
|
||||
},
|
||||
"id": "Product"
|
||||
},
|
||||
"Capacity": {
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"id": "Capacity",
|
||||
"description": "The capacity of a product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#capacity.",
|
||||
"type": "object"
|
||||
},
|
||||
"ListProductsResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -109,167 +88,450 @@
|
||||
},
|
||||
"id": "ListProductsResponse"
|
||||
},
|
||||
"ProductDetail": {
|
||||
"description": "A product detail of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#productdetail.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"attributeValue": {
|
||||
"description": "The value of the attribute.",
|
||||
"type": "string"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"text": {
|
||||
"description": "A detailed description of the feature.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "FeatureDescription"
|
||||
},
|
||||
"Issue": {
|
||||
"description": "Product issue.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"timestamp": {
|
||||
"type": "string",
|
||||
"description": "The timestamp when this issue appeared.",
|
||||
"format": "google-datetime"
|
||||
},
|
||||
"severity": {
|
||||
"description": "The severity of the issue.",
|
||||
"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."
|
||||
],
|
||||
"type": "string"
|
||||
]
|
||||
},
|
||||
"description": {
|
||||
"description": "Description of the issue.",
|
||||
"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"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"Price": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"currency": {
|
||||
"description": "The currency in which the price is denoted.",
|
||||
"type": "string"
|
||||
},
|
||||
"amount": {
|
||||
"description": "The numeric value of the price.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "Price",
|
||||
"description": "A price."
|
||||
},
|
||||
"Image": {
|
||||
"description": "An image.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Type is unspecified. Should not be used.",
|
||||
"The image was crawled from a provided URL.",
|
||||
"The image was uploaded."
|
||||
],
|
||||
"enum": [
|
||||
"TYPE_UNSPECIFIED",
|
||||
"CRAWLED",
|
||||
"UPLOADED"
|
||||
],
|
||||
"description": "The type of the image, i.e., crawled or uploaded.\n@OutputOnly"
|
||||
},
|
||||
"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": [
|
||||
"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"
|
||||
],
|
||||
"description": "The status of the image.\n@OutputOnly",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "Image"
|
||||
},
|
||||
"Attributes": {
|
||||
"description": "Attributes of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"productPageUrl": {
|
||||
"description": "The URL of the manufacturer's detail page of the product. For more\ninformation, see\nhttps://support.google.com/manufacturers/answer/6124116#productpage.",
|
||||
"imageLink": {
|
||||
"$ref": "Image",
|
||||
"description": "The image of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#image."
|
||||
},
|
||||
"productType": {
|
||||
"description": "The category of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#producttype.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"format": {
|
||||
"description": "The format of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#format.",
|
||||
"type": "string"
|
||||
},
|
||||
"mpn": {
|
||||
"description": "The Manufacturer Part Number (MPN) of the product. For more information,\nsee https://support.google.com/manufacturers/answer/6124116#mpn.",
|
||||
"type": "string"
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"title": {
|
||||
"description": "The title of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#title.",
|
||||
"type": "string"
|
||||
"videoLink": {
|
||||
"description": "The videos of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#video.",
|
||||
"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.",
|
||||
"color": {
|
||||
"description": "The color of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#color.",
|
||||
"type": "string"
|
||||
},
|
||||
"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": {
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"size": {
|
||||
"description": "The size of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#size.",
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"description": "The title of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#title.",
|
||||
"type": "string"
|
||||
},
|
||||
"count": {
|
||||
"description": "The count of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#count.",
|
||||
"$ref": "Count"
|
||||
},
|
||||
"brand": {
|
||||
"description": "The brand name of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#brand.",
|
||||
"type": "string"
|
||||
},
|
||||
"productType": {
|
||||
"description": "The manufacturer's category of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#producttype.",
|
||||
"disclosureDate": {
|
||||
"description": "The disclosure date of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#disclosure.",
|
||||
"type": "string"
|
||||
},
|
||||
"material": {
|
||||
"type": "string",
|
||||
"description": "The material of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#material."
|
||||
},
|
||||
"scent": {
|
||||
"description": "The scent of the product. For more information, see\n https://support.google.com/manufacturers/answer/6124116#scent.",
|
||||
"type": "string"
|
||||
},
|
||||
"flavor": {
|
||||
"description": "The flavor of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#flavor.",
|
||||
"type": "string"
|
||||
},
|
||||
"productDetail": {
|
||||
"description": "The details of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#productdetail.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
"$ref": "ProductDetail"
|
||||
}
|
||||
},
|
||||
"ageGroup": {
|
||||
"type": "string",
|
||||
"description": "The target age group of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#agegroup."
|
||||
},
|
||||
"mpn": {
|
||||
"description": "The Manufacturer Part Number (MPN) of the product. For more information,\nsee https://support.google.com/manufacturers/answer/6124116#mpn.",
|
||||
"type": "string"
|
||||
},
|
||||
"productPageUrl": {
|
||||
"type": "string",
|
||||
"description": "The URL of the detail page of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#productpage."
|
||||
},
|
||||
"releaseDate": {
|
||||
"description": "The release date of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#release.",
|
||||
"type": "string"
|
||||
},
|
||||
"itemGroupId": {
|
||||
"type": "string",
|
||||
"description": "The item group id of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#itemgroupid."
|
||||
},
|
||||
"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": {
|
||||
"description": "The description of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#description.",
|
||||
"type": "string"
|
||||
},
|
||||
"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.",
|
||||
"type": "string"
|
||||
},
|
||||
"theme": {
|
||||
"description": "The theme of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#theme.",
|
||||
"type": "string"
|
||||
},
|
||||
"pattern": {
|
||||
"description": "The pattern of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#pattern.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "Attributes"
|
||||
},
|
||||
"Product": {
|
||||
"description": "Product data.",
|
||||
"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": {
|
||||
"parent": {
|
||||
"description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account.\n@OutputOnly",
|
||||
"value": {
|
||||
"type": "string",
|
||||
"description": "The numeric value of the number of products in a package.",
|
||||
"format": "int64"
|
||||
},
|
||||
"unit": {
|
||||
"description": "The unit in which these products are counted.",
|
||||
"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",
|
||||
"type": "string"
|
||||
},
|
||||
"manuallyDeletedAttributes": {
|
||||
"description": "Names of the attributes of the product deleted manually via the\nManufacturer Center UI.\n@OutputOnly",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"productId": {
|
||||
"description": "The ID of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#id.\n@OutputOnly",
|
||||
"type": "string"
|
||||
},
|
||||
"finalAttributes": {
|
||||
"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"
|
||||
},
|
||||
"issues": {
|
||||
"description": "A server-generated list of issues associated with the product.\n@OutputOnly",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "Issue"
|
||||
}
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"uploadedAttributes": {
|
||||
"description": "Attributes of the product uploaded via the Manufacturer Center API or via\nfeeds.",
|
||||
"$ref": "Attributes"
|
||||
},
|
||||
"manuallyProvidedAttributes": {
|
||||
"description": "Attributes of the product provided manually via the Manufacturer Center UI.\n@OutputOnly",
|
||||
"$ref": "Attributes"
|
||||
}
|
||||
},
|
||||
"id": "Product"
|
||||
"id": "Count"
|
||||
}
|
||||
},
|
||||
"revision": "20161028",
|
||||
"basePath": "",
|
||||
"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"
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
||||
},
|
||||
"version_module": "True",
|
||||
"canonicalName": "Manufacturer Center",
|
||||
"discoveryVersion": "v1",
|
||||
"baseUrl": "https://manufacturers.googleapis.com/",
|
||||
"auth": {
|
||||
"oauth2": {
|
||||
"scopes": {
|
||||
"https://www.googleapis.com/auth/manufacturercenter": {
|
||||
"description": "Manage your product listings for Google Manufacturer Center"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"rootUrl": "https://manufacturers.googleapis.com/",
|
||||
"ownerDomain": "google.com",
|
||||
"name": "manufacturers",
|
||||
"batchPath": "batch",
|
||||
"title": "Manufacturer Center API",
|
||||
"ownerName": "Google",
|
||||
"resources": {
|
||||
"accounts": {
|
||||
"resources": {
|
||||
"products": {
|
||||
"methods": {
|
||||
"list": {
|
||||
"parameterOrder": [
|
||||
"parent"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "ListProductsResponse"
|
||||
},
|
||||
"httpMethod": "GET",
|
||||
"parameters": {
|
||||
"pageToken": {
|
||||
"location": "query",
|
||||
"description": "The token returned by the previous request.",
|
||||
"type": "string"
|
||||
},
|
||||
"pageSize": {
|
||||
"description": "Maximum number of product statuses to return in the response, used for\npaging.",
|
||||
"format": "int32",
|
||||
"type": "integer",
|
||||
"location": "query"
|
||||
},
|
||||
"parent": {
|
||||
"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/[^/]+$",
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/manufacturercenter"
|
||||
],
|
||||
"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": {
|
||||
"response": {
|
||||
"$ref": "Product"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"parent",
|
||||
"name"
|
||||
],
|
||||
"httpMethod": "GET",
|
||||
"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.",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
"parent": {
|
||||
"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/[^/]+$",
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"flatPath": "v1/accounts/{accountsId}/products/{productsId}",
|
||||
"path": "v1/{+parent}/products/{+name}",
|
||||
"id": "manufacturers.accounts.products.get",
|
||||
"description": "Gets the product from a Manufacturer Center account, including product\nissues."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"access_token": {
|
||||
"description": "OAuth access token.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"default": "true",
|
||||
"type": "boolean",
|
||||
"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"
|
||||
"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."
|
||||
},
|
||||
"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.",
|
||||
@@ -278,52 +540,29 @@
|
||||
},
|
||||
"pp": {
|
||||
"description": "Pretty-print response.",
|
||||
"default": "true",
|
||||
"type": "boolean",
|
||||
"location": "query"
|
||||
},
|
||||
"fields": {
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"alt": {
|
||||
"description": "Data format for response.",
|
||||
"location": "query",
|
||||
"enum": [
|
||||
"json",
|
||||
"media",
|
||||
"proto"
|
||||
],
|
||||
"default": "json",
|
||||
"enumDescriptions": [
|
||||
"Responses with Content-Type of application/json",
|
||||
"Media download with context-dependent Content-Type",
|
||||
"Responses with Content-Type of application/x-protobuf"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"description": "V1 error format.",
|
||||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
],
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"type": "string",
|
||||
"default": "true",
|
||||
"location": "query"
|
||||
},
|
||||
"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."
|
||||
},
|
||||
"upload_protocol": {
|
||||
"type": "string",
|
||||
"location": "query",
|
||||
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\")."
|
||||
},
|
||||
"prettyPrint": {
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"type": "boolean",
|
||||
"default": "true",
|
||||
"location": "query"
|
||||
},
|
||||
"uploadType": {
|
||||
@@ -331,23 +570,37 @@
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"fields": {
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
"location": "query",
|
||||
"description": "Selector specifying which fields to include in a partial response."
|
||||
},
|
||||
"upload_protocol": {
|
||||
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
|
||||
"callback": {
|
||||
"location": "query",
|
||||
"description": "JSONP",
|
||||
"type": "string"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"description": "V1 error format.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
],
|
||||
"location": "query",
|
||||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
]
|
||||
}
|
||||
},
|
||||
"documentationLink": "https://developers.google.com/manufacturers/",
|
||||
"ownerDomain": "google.com",
|
||||
"batchPath": "batch",
|
||||
"servicePath": "",
|
||||
"ownerName": "Google",
|
||||
"version": "v1",
|
||||
"rootUrl": "https://manufacturers.googleapis.com/",
|
||||
"kind": "discovery#restDescription"
|
||||
"baseUrl": "https://manufacturers.googleapis.com/",
|
||||
"servicePath": "",
|
||||
"description": "Public API for managing Manufacturer Center related data.",
|
||||
"kind": "discovery#restDescription",
|
||||
"basePath": "",
|
||||
"revision": "20170412",
|
||||
"documentationLink": "https://developers.google.com/manufacturers/",
|
||||
"id": "manufacturers:v1"
|
||||
}
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/nxDdKsGKU-CGQ0rCYbUZuIhDXnY\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/WPRVY9WdjtlhnPeIWQ7gxByfU3U\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "mirror:v1",
|
||||
"name": "mirror",
|
||||
"version": "v1",
|
||||
"revision": "20160616",
|
||||
"revision": "20170419",
|
||||
"title": "Google Mirror API",
|
||||
"description": "Interacts with Glass users via the timeline.",
|
||||
"ownerDomain": "google.com",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user